M30W Programming Forum

M30W is a text-based version of Scratch

You are not logged in.

Announcement

This is the development forum for M30W (also known as Emerald, do not confuse with Emerald Programming Language).
Our Non-development forums are available here

M30W(Emerald) 0.3 is out! (Download) Requires Python 2.6 or higher.
Opal 0.3(A better command line M30W) is out! (Download) Requires Python 2.6 or higher.
M30W 0.3.6 GUI barebones (Download) Requires Python 2.6 or higher and wxPython
Diamond-2 RED2 GUI Barebones (Fancy M30W editor) s out! (Download) Requires .NET Framework 3.5 or higher, does not require Python
M30W++ GUI barebones (Java M30W) Alpha 1 is out! (Download) Requires Java.


Gershmer.net, our hosting, will close in February 2011. We have not fully decided what to do with our hosting after that, but we will tell you when we decide.

Adverts

Adverts

#1 2009-10-28 23:04:48

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Current Release (Really Early Development rel. 2) -- adds syntax highlighting and some fine-tuning.

from filo5: ^Might not run. Bugfixing in progress

Old Versions:
Really Early Development rel. 1 (actually works for everyone)


-Report any bugs to us
-Emerald+ Editor requires 3.5 SP1 of the .NET framework from Microsoft.

Emerald On! :P (not as good as Scratch On!, I guess)

from Gershmer: Other mods, feel free to edit my post with more info/deleting wrong info.

All Emerald programs (c) under MintRiver and MinkoSoft

Last edited by filo5 (2010-02-22 20:58:23)


http://card.ly/images/vcard-green-small.png

Offline

 

2009-10-28 23:04:48

AdBot
Advertisements

#2 2009-10-29 06:37:35

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

[removed because of a stupid question]

Last edited by floppy_gunk (2009-11-14 02:25:07)


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#3 2009-10-29 11:18:59

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

floppy_gunk wrote:

I don't get why it only runs on windows.

it only runs on windows because that is the version filo is making.

ask him for the source code and compile it yourself.


http://card.ly/images/vcard-green-small.png

Offline

 

#4 2009-10-29 12:08:11

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Well, it actually could run on Linux with Mono (dunno if works, probably pain in butt), or on Wine with installed .NET 3.5 (IDK how to get .NET on wine).

Yes, I can pass you an archive with source code, but it's really for Windows with .NET 3.5 - I don't know cross-platform C#. For those who want to start their own Diamond development for their platforms - do it yourself. It's probably possible to make ribbonbar in GTK+, or you can make your own GUI. You can use my icon (it's actually based on Crystal iconset (modified ksokoban.png)).

And, if you didn't read the first sentence, Diamond requires .NET 3.5 (Recommended Service Pack 1, security fixes) from Microsoft: http://www.microsoft.com/downloads/deta … laylang=en


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#5 2009-10-29 21:56:12

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

I made a "Hello World" program in C# and tried to run it in Mono, but all it did was compile it into a .exe


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#6 2009-10-30 12:20:18

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

You do it in MonoDevelop? Read docs, maybe try find something on the project website etc.

Compiled another Diamond.
* Highlighting (finally)
* Minor interface changes
* Almost intelligent saving system

http://filesocial.com/3drfkx - English installer


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#7 2009-10-30 18:49:16

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

filo5 wrote:

You do it in MonoDevelop? Read docs, maybe try find something on the project website etc.

Compiled another Diamond.
* Highlighting (finally)
* Minor interface changes
* Almost intelligent saving system

http://filesocial.com/3drfkx - English installer

You know you can edit my posts on these forums, Filo.


http://card.ly/images/vcard-green-small.png

Offline

 

#8 2009-10-31 10:16:57

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

I just didn't want to change your stuff. Anyway, what do you reckon about that second version?


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#9 2009-10-31 11:58:55

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

filo5 wrote:

I just didn't want to change your stuff. Anyway, what do you reckon about that second version?

It crashes when I open it.
And yes, I have .NET 3.5.


http://card.ly/images/vcard-green-small.png

Offline

 

#10 2009-11-07 10:49:10

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Then, if you get an error message you described on Scratch forums, try clicking "What data does this error report contain?" link and then make a screenshot. Maybe I just didn't include some libraries or references.


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#11 2009-11-07 13:36:06

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

filo5 wrote:

Then, if you get an error message you described on Scratch forums, try clicking "What data does this error report contain?" link and then make a screenshot. Maybe I just didn't include some libraries or references.

I forgot to tell you, when I get the error message, the computer slows down like hell (not a swear) until I manage to click "Don't Send" or "Send Error Report". Even the mouse slows down. I'll try, but it probably won't be able to comprehend the printscreen key when it's going that slow.


http://card.ly/images/vcard-green-small.png

Offline

 

#12 2009-11-07 21:29:52

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Alright, libraries (DLLs, etc) in Diamond versions...


Diamond 0.1 Prebeta Build 1 (the one that works):

ComponentFactory.Krypton.Toolkit.DLL
Diamond.exe.config
Diamond.exe.manifest
Diamond.pdb
Diamond.vshost.exe
Diamond.vshost.exe.config
MinkoSoft Diamond.vshost.exe.config
MinkoSoft Diamond.vshost.exe.manifest
SciLexer.dll
scintilla.dll
scintilla.pdb
uielem.dll
uielem.pdb
uirctl.dll
uirctl.pdb

Diamond 0.1 Prebeta Build 2 (the one that doesn't work):

ComponentFactory.Krypton.Toolkit.DLL
Diamond.exe.config
Diamond.exe.manifest
Diamond.pdb
Diamond.vshost.exe
Diamond.vshost.exe.config
HL_DESCRIPTOR.xml
SciLexer.dll
scintilla.dll
scintilla.pdb
uirctl.dll
uirctl.pdb



The second build is definitely missing some stuff...


http://card.ly/images/vcard-green-small.png

Offline

 

#13 2009-11-11 07:26:04

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

uielem.dll (and therefore uielem.pdb) is missing because it's merged with Diamond main assembly (this stuff compiled into Diamond.exe). I still strongly recommend to send me the contents of error report (really may help a lot). Also, if you have some C# IDE, I can send you source code to debug it yourself (so any exceptions will be seen in the real-time, just get a list of 'em and PM it)(Well, if you're bit into C#, I invite you to work on Diamond). I'll also link the references once again to make sure it doesn't happen again. And yes, I know that this is Programmer's Third Excuse, but Diamond works for me.

Plus, if it's your computer is going that slow, it might be either OutOfMemoryException or IndexOutOfRangeException. Once again, it'd be really helpful if you somehow manage to get the error report data. As far as I remember, it's a normal, turned-off texbox. Copy the text and kill Diamond (click "don't send"). Sending reports won't help because it sends report to Microsoft, not to me.

Last edited by filo5 (2009-11-11 07:33:21)


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#14 2009-11-11 13:26:43

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

filo5 wrote:

uielem.dll (and therefore uielem.pdb) is missing because it's merged with Diamond main assembly (this stuff compiled into Diamond.exe). I still strongly recommend to send me the contents of error report (really may help a lot). Also, if you have some C# IDE, I can send you source code to debug it yourself (so any exceptions will be seen in the real-time, just get a list of 'em and PM it)(Well, if you're bit into C#, I invite you to work on Diamond). I'll also link the references once again to make sure it doesn't happen again. And yes, I know that this is Programmer's Third Excuse, but Diamond works for me.

Plus, if it's your computer is going that slow, it might be either OutOfMemoryException or IndexOutOfRangeException. Once again, it'd be really helpful if you somehow manage to get the error report data. As far as I remember, it's a normal, turned-off texbox. Copy the text and kill Diamond (click "don't send"). Sending reports won't help because it sends report to Microsoft, not to me.

Don't know what an IndexOutOfRangeException, but my computer does have 3GB memory, so I doubt OutOfMemoryException(Well 4GB, but I have a 1GB video card on a 32-bit operating system)

And yeah, I'll see if I can get the error report...



P.S. My computer is only slow when the crash box is still open, once I manage to close it, my computer is back up to speed. And oh yeah, when I click on a button to close it (either send error report or don't send) my hard drive makes a beeping sound. (yes, computers actually have the capability to play audible sound without speakers, I have a DOS game that plays music through the hard drive, not the speakers :rolleyes:)


http://card.ly/images/vcard-green-small.png

Offline

 

#15 2009-11-11 21:28:25

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

You mean motherboard's internal speaker...

But try to get the report.


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#16 2009-11-12 12:20:51

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Never mind. I've found it. NullReferenceException. Should have predicted it.

Code:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at MinkoSoft_Diamond.MainWindow.AddNode(XmlNode& inXmlNode, TreeNode& inTreeNode) in C:\Documents and Settings\Filip\Moje dokumenty\Visual Studio 2008\Projects\MinkoSoft Diamond\MinkoSoft Diamond\MainWindow.cs:line 417
   at MinkoSoft_Diamond.MainWindow.BuildTreeView() in C:\Documents and Settings\Filip\Moje dokumenty\Visual Studio 2008\Projects\MinkoSoft Diamond\MinkoSoft Diamond\MainWindow.cs:line 376
   at MinkoSoft_Diamond.MainWindow.MainWindow_Load(Object sender, EventArgs e) in C:\Documents and Settings\Filip\Moje dokumenty\Visual Studio 2008\Projects\MinkoSoft Diamond\MinkoSoft Diamond\MainWindow.cs:line 357
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Diamond
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Filip/Moje%20dokumenty/Visual%20Studio%202008/Projects/MinkoSoft%20Diamond/MinkoSoft%20Diamond/bin/Release/Diamond.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
uirctl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Filip/Moje%20dokumenty/Visual%20Studio%202008/Projects/MinkoSoft%20Diamond/MinkoSoft%20Diamond/bin/Release/uirctl.DLL
----------------------------------------
scintilla
    Assembly Version: 2.2.3589.34899
    Win32 Version: 2.2.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Filip/Moje%20dokumenty/Visual%20Studio%202008/Projects/MinkoSoft%20Diamond/MinkoSoft%20Diamond/bin/Release/scintilla.DLL
----------------------------------------
ComponentFactory.Krypton.Toolkit
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Filip/Moje%20dokumenty/Visual%20Studio%202008/Projects/MinkoSoft%20Diamond/MinkoSoft%20Diamond/bin/Release/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Ascend.Windows.Forms
    Assembly Version: 1.0.0.6
    Win32 Version: 1.0.0.6
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Ascend.Windows.Forms/1.0.0.6__ecd86ece2d3eb46d/Ascend.Windows.Forms.dll
----------------------------------------
Ascend
    Assembly Version: 1.0.0.6
    Win32 Version: 1.0.0.6
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Ascend/1.0.0.6__25c7a393ba3f37cd/Ascend.dll
----------------------------------------

That's what you'd find in the report data. Shall fix it soon. Something to do with Emerald help.


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#17 2009-11-12 20:09:44

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Thanks...


http://card.ly/images/vcard-green-small.png

Offline

 

#18 2009-11-13 16:51:15

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

What's expected in RED* 3 (or 4)?

1. Diamond is no longer. It's Emerald+ Editor now! :cool:
2. Help system - I quit struggling with XMLs. :rolleyes: Instead, there'll be PHP-based system (just like Wikipedia). This change will add 30~50 megs to the installation (well, I must throw in a server, PHP and a database). If you can't afford this (eg. disk or ram too small), there will be an option to connect to the online documentation based on Google Sites or something like that.
3. In-place help will be really in-place -- Select some text in the editor and press Ctrl+F1 to get help on the selection.

* Really Early Development release

So now you see the hard work that's awaiting me. Other ideas:

Alt.2) Just get a folder view of /help, like the Explorer has...
Possibly.4) .emrld file metadata - author and version of the script.

Gersh, is your server capable of ASP.Net and database (like MSSQL)?


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#19 2009-11-13 21:07:22

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

It seems as if it is capable of
ASP.Net 2.0, 3.0, & 3.5. It also seems it is capable of MySQL 4.1 & 5.0, SQL Server v2005, and Access database.


Any of these sound good to you?

Oh yeah, PHP 5.x, IIS 7.0.


http://card.ly/images/vcard-green-small.png

Offline

 

#20 2009-11-14 01:27:54

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Oh yeah... what exactly do you need ASP.NET and a database for...?


http://card.ly/images/vcard-green-small.png

Offline

 

#21 2009-11-14 08:10:12

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Just wondering... I have Web Developer too, so I think I could make you some sort of website... A better one. Gersh, it it your computer or some hired server? If it's yours, could you upgrade the database server to 2008?


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#22 2009-11-14 08:18:33

filo5
Diamond Creator
From: Catford, London, UK
Registered: 2009-10-08
Posts: 253
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

And I thought we're doing Emerald under a creative commons license... Or at least some GNU... Well, we can always stick with MIT, because if it's open-source, you'll have to give it a license.


http://img8.imageshack.us/img8/429/filo5newsigsg1planf.png

Offline

 

#23 2009-11-14 13:02:06

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

filo5 wrote:

Just wondering... I have Web Developer too, so I think I could make you some sort of website... A better one. Gersh, it it your computer or some hired server? If it's yours, could you upgrade the database server to 2008?

It's web hosting.

Not powered by my omputer.


I was thinking (along with you, proobably) that eventually, we could use it as some kind of project-sharing site, like Scratch's. (Chances are we couldn't make a web based Emerald Player, I guess a download link would be fine)


http://card.ly/images/vcard-green-small.png

Offline

 

#24 2009-11-14 14:22:58

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Yes, I was thinking about that too, but we would need a lot more space that 1500 mega bytes, but the best place to put projects are on the Wiki. ( 1.5 GB )


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#25 2009-11-14 15:08:34

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Diamond (Foremly Emerald+ Editor (Foremly Diamond))

Sorry, but fail.

1500MB = ~1.5GB.



And I actually have no idea what my hosting limit is.


You must be thinking of site90/t35. (t35 was a suggestion a while back)


http://card.ly/images/vcard-green-small.png

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting