[ANN] RDE 1.0.0 released

Hi.

I released RDE 1.0.0.
RDE is the development environment for ruby on windows.
You can edit, run and debug your scripts quickly and easily.
RDE debugger is the GUI wrapper of debug.rb.
RDE editor has functions that syntax coloring, autocomplete and etc.

Please try it.
http://homepage2.nifty.com/sakazuki/rde_e.html

Changes is below.

Ok, here are the first thoughts of a first time user:
(ruby 1.8.2 (2004-12-25) [i386-mswin32])

* the syntax highlighting is ugly (ok, that's very personal and of
  cause it can be changed, nice!)

* it looks overloaded, which can also be changed, nice!

* the console window does not store it's editor settings.

* if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
  (also happens with various other combinations of adjacent letters)

* the highlighting of regexp work fine. nice!

* if a word starts with 's' it gets underlined?? why?
  (even inside strings)

* I found at least 3 different dialogs that seem to define the
  colouring of the main edit view (and nowhere found the underline)

* if there is a unsaved file and I want to exit, the dialog box has
  the following options: ??(Y), ???(N), ???

* the toolbars behave strange, sometimes I can drag them sometimes not,
  if they overlap sometimes there is a '>>' indicator sometimes not.

* the debuger fails on

...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

  I haven't looked any further yet, rubygems should be there (gem
  install works)

* the ARGV dialog (and other) does not respond to the escape key.

* ah, I tried Menu->Ruby->EndOfDefun, now all 'end's are underlined,
  still have no clue (but the words starting with 's' are normal now)

* Some menu items have strange names (like the EndOfDefun above)

* There is a macro function, very nice! could you please add a
  default key mapping (at least) for KeyMacroPlay ?

* The RDE-Help (Ctrl-F1) does nothing.

Ok, dispite this list I think it looks very promissing, just a few
edges left. We realy need a good ruby editor so your effort is very
appreciated.

cheers

Simon

Hello, Mr. Simon.

> Hi.
>
> I released RDE 1.0.0.
> RDE is the development environment for ruby on windows.
> You can edit, run and debug your scripts quickly and easily.
> RDE debugger is the GUI wrapper of debug.rb.
> RDE editor has functions that syntax coloring, autocomplete and etc.
>
> Please try it.
> http://homepage2.nifty.com/sakazuki/rde_e.html
>
> Changes is below.

Ok, here are the first thoughts of a first time user:
(ruby 1.8.2 (2004-12-25) [i386-mswin32])

* the syntax highlighting is ugly (ok, that's very personal and of
  cause it can be changed, nice!)

Hm.

* it looks overloaded, which can also be changed, nice!

I also think so.

* the console window does not store it's editor settings.

Yes, cosole window store the font, window size, colors only.
I plan to store edtior setting in console window in future version.

* if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
  (also happens with various other combinations of adjacent letters)

Have you installed RDE1.0.0beta3 version ? I had added FindMark property
in 'Editor Property' form temporary, and I had hided it in RDE1.0.0.
Maybe this property is checked in the registry.

* the highlighting of regexp work fine. nice!

Thanks.

* if a word starts with 's' it gets underlined?? why?
  (even inside strings)

Maybe it is a FindMark.

* I found at least 3 different dialogs that seem to define the
  colouring of the main edit view (and nowhere found the underline)

Yes, I hide FindMark in RDE1.0.0, it exists in beta3

* if there is a unsaved file and I want to exit, the dialog box has
  the following options: ??(Y), ???(N), ???

Please set English_1000.xml or else in [Options] - [Config File] -
[TranslationFile].

* the toolbars behave strange, sometimes I can drag them sometimes not,
  if they overlap sometimes there is a '>>' indicator sometimes not.

I will research this behavior.

* the debuger fails on

...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

  I haven't looked any further yet, rubygems should be there (gem
  install works)

Check that the same errors occur, when you run the target script with
debugger on console.

* the ARGV dialog (and other) does not respond to the escape key.

Thanks, I will fix them in next version.

* ah, I tried Menu->Ruby->EndOfDefun, now all 'end's are underlined,
  still have no clue (but the words starting with 's' are normal now)

FindMark works....

* Some menu items have strange names (like the EndOfDefun above)

Please suggest the naming them in English.
You can also rewrite them in TranslationFile.

* There is a macro function, very nice! could you please add a
  default key mapping (at least) for KeyMacroPlay ?

I will do it future version.

* The RDE-Help (Ctrl-F1) does nothing.

This menu try to open http://rubyde.sourceforge.net/hiki/en/\.
On my PC, this works well.
If this don't work well, All menus in [Help] except 'Ruby Help' will
not work well.

FindMark setting in registry make the problems.
Please check off FindMark setting by beta3.

···

Ok, dispite this list I think it looks very promissing, just a few
edges left. We realy need a good ruby editor so your effort is very
appreciated.

cheers

Simon

--
sakazuki <qzs01353@nifty.com>

I had the RDE 0.990 installed I didn't uninstall or nothing...
ran install of RDE 1.b2 installing in same old dir as RDE 0.990
without uninstalling beta 2, I installed 1.0 release and:

Kroeger Simon (ext) wrote:

Hi.

I released RDE 1.0.0.
RDE is the development environment for ruby on windows.
You can edit, run and debug your scripts quickly and easily.
RDE debugger is the GUI wrapper of debug.rb.
RDE editor has functions that syntax coloring, autocomplete and etc.

Please try it.
http://homepage2.nifty.com/sakazuki/rde_e.html

Changes is below.

Ok, here are the first thoughts of a first time user:
(ruby 1.8.2 (2004-12-25) [i386-mswin32])

* the syntax highlighting is ugly (ok, that's very personal and of cause it can be changed, nice!)

Matter of taste, I try to emulate the coloring(custom I like lite yellow background) in RDE in scite and crimson editor, not as good as RDE

* it looks overloaded, which can also be changed, nice!

* the console window does not store it's editor settings.

* if I put my cursor on 'self' the 'e' and 'f' are highlighted, weird.
  (also happens with various other combinations of adjacent letters)

not happening here...

* the highlighting of regexp work fine. nice!

* if a word starts with 's' it gets underlined?? why?
  (even inside strings)

no it doesn't in my setup... I tried but no underlining

* I found at least 3 different dialogs that seem to define the
  colouring of the main edit view (and nowhere found the underline)

Tool->Editor Property->Fountain

* if there is a unsaved file and I want to exit, the dialog box has
  the following options: ??(Y), ???(N), ???

uh minor detail, Applied English_1000.xml and now is perfect

* the toolbars behave strange, sometimes I can drag them sometimes not,
  if they overlap sometimes there is a '>>' indicator sometimes not.

* the debuger fails on

...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

I never use debug but after trying i got:
Debug.rb
Emacs support available.
RDE Extention

C:/Dev/Rubies/CD_FIT_00.rb:1:require 'find'
(rdb:1) l 1-10

abnormal program termination
C:/usr/local/lib/ruby/site_ruby/1.8/debug2.rb:70: [BUG] Segmentation fault
ruby 1.8.2 (2005-01-21) [i386-mingw32]

Completed(3)
running ruby -rdebug works...

  I haven't looked any further yet, rubygems should be there (gem install works)

* the ARGV dialog (and other) does not respond to the escape key.

* ah, I tried Menu->Ruby->EndOfDefun, now all 'end's are underlined,
  still have no clue (but the words starting with 's' are normal now)

Nothing gets underlined, it travels thru the code ctrl+alt+RIGHT looks like is by keywords... so is ctrl+RIGHT, looks quite useful

* Some menu items have strange names (like the EndOfDefun above)

* There is a macro function, very nice! could you please add a default key mapping (at least) for KeyMacroPlay ?

* The RDE-Help (Ctrl-F1) does nothing.

You have to bind to something file/url

Ok, dispite this list I think it looks very promissing, just a few
edges left. We realy need a good ruby editor so your effort is very
appreciated.

You forgot the mouse gestures

cheers

Simon

Actually my personal problem with RDE is whenever i forgot to add \n to printf statements and run it from RDE it becomes very slow...but the origin of it being me well...

Great update Sakazuki
Now about an explorer-like window...:wink:
or a binding to terminate process (mostly for my problem above (no \n)

sakazuki wrote:

Hello, Mr. Simon.

> > Hi.
> >
> > I released RDE 1.0.0. [...]

Real thanks sakazuki-san - I can see you've put a lot of work in !
I'm glad you haven't abandonded this excellent project.

Now one-click install !!!

RDE's so convenient for testing scripts posted here ... I
don't have to think of a name or where to save it on disk -
just paste it in and hit F5 ... quicker than IRB !!
I haven't found another editor which allows this and it
seems such an easy feature to provide.
The YAGNI competitors will follow, eventually.

I found beta3 accidentally just yesterday and I've been playing
for the whole day ... must sleep soon :wink:

To Simon,

>
> Ok, here are the first thoughts of a first time user:
> (ruby 1.8.2 (2004-12-25) [i386-mswin32])
>
> * the syntax highlighting is ugly (ok, that's very personal and of
> cause it can be changed, nice!)

Hm.

>
> * it looks overloaded, which can also be changed, nice!

I also think so.

Hm.reverse ...
I think it's too plain :-))) (?underloaded?)
http://www.d10.karoo.net/ruby/rde_pics.html

> * if there is a unsaved file and I want to exit, the dialog box has
> the following options: ??(Y), ???(N), ???

Please set English_1000.xml or else in [Options] - [Config File] -
[TranslationFile].

I understand he's saying reload the internal translation file by
entering a non-existent filename.
beta3 came with the old tanslation .XML files - they're not in
1.0.0 and they've gone from the home page.

Almost all the visible text in menus and such can be changed via
an external translation file. The one I did for 0.9.9.1 still
works for me but I'll get round to updating for this release soon.

I know what quite a few of the cursor settings in the Editor
Properties do and I could probably describe them but it's hard
to give a brief hint next to the checkbox without it turning
into something like an End-User License Agreement.

> * the toolbars behave strange, sometimes I can drag them sometimes not,
> if they overlap sometimes there is a '>>' indicator sometimes not.

I will research this behavior.

A toolbar lock/unlock would be useful (with default locked) so that
newbies don't become vexed when a toolbar is snapped off (undocks).
That might prevent the initialization code provided by the widget
from doing this kind of realignment.

>
> * the debuger fails on
>
> ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>
> I haven't looked any further yet, rubygems should be there (gem
> install works)
>

Check that the same errors occur, when you run the target script with
debugger on console.

In other words, this has nothing to do with RDE.
The pervasive rubygems is under anaesthesia on my machine.
I run six verions of ruby and only one has rubygems installed
via the one-click ruby.
RUBYOPT could almost be called an Environment Variable but
"set RUBYOPT=rubygems" turns an Application Variable into
something much more narrow. All the other rubys need dummy
"ubygems.rb" files with just a sarcastic comment in them.

BTW, another great feature of RDE is that I can switch
between versions with a couple of clicks -- I think RDE
remembers the last five in its drop-down menu.

[sakazuki: RDE remembers ?infinite? Find/Replace strings
- they don't get cleared. I have a script that edits the
registry entry, occasionally :wink: ]

> * Some menu items have strange names (like the EndOfDefun above)

Please suggest the naming them in English.
You can also rewrite them in TranslationFile.

As I said above, I'll probably attend to the English one.

> * The RDE-Help (Ctrl-F1) does nothing.

This menu try to open http://rubyde.sourceforge.net/hiki/en/\.
On my PC, this works well.
If this don't work well, All menus in [Help] except 'Ruby Help' will
not work well.

Doesn't work for me but I still like the 0.9.9.1 .chm file.
I'll investigate the wiki and I only found the forum on
sourceforge today.

FindMark setting in registry make the problems.
Please check off FindMark setting by beta3.

Beta version users should be aware that it's usually
advisable to *uninstall* beta releases before installing
the final -- because of debug flags etc.
Unless I'm wrong, the RDE registry entry consists of
delphi encoded objects rather than separate entries,
- so Good Luck if you try to find that setting.
(Uninstall :wink:

>
> Ok, dispite this list I think it looks very promissing, just a few
> edges left. We realy need a good ruby editor so your effort is very
> appreciated.
>

"This list" was a little repetitive and, reading it quickly,
suggested a negative tone even though you seem to have reached
a favourable conclusion.

> cheers
>
> Simon

--
sakazuki <qzs01353@nifty.com>

Yes, very many thanks.
I need 3 things ... 1) Ruby 2) PickAxe 3) RDE

daz

OK.. I get exactly the same error.. and I didn't understand the replies here. Can anyone be a little clearer please?

Again - I think RDE looks promising too, but once again, the ONLY IDE for Ruby which actually works out of the box for me (on Windows XP) is ArachnoRuby, and they all appear equally unfinished. :frowning:
Graham

···

On Fri, 23 Sep 2005 18:09:31 +0100, daz <dooby@d10.karoo.co.uk> wrote:

>
> * the debuger fails on
> ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
> I haven't looked any further yet, rubygems should be there (gem
> install works)
Check that the same errors occur, when you run the target script with
debugger on console.

In other words, this has nothing to do with RDE.

Hello, Mr. daz.

[sakazuki: RDE remembers ?infinite? Find/Replace strings
- they don't get cleared. I have a script that edits the
registry entry, occasionally :wink: ]

Auch! Yes, infinite. These are bug. I will fix these in next release.

Beta version users should be aware that it's usually
advisable to *uninstall* beta releases before installing
the final -- because of debug flags etc.
Unless I'm wrong, the RDE registry entry consists of
delphi encoded objects rather than separate entries,
- so Good Luck if you try to find that setting.
(Uninstall :wink:

Current Uninstaller does not clear registry.
So you maybe need to rename or delete HKEY_CURRENT_USER\Software\RubyDE
with regedit.exe.

···

--
sakazuki <qzs01353@nifty.com>

daz wrote:

Real thanks sakazuki-san - I can see you've put a lot of work in ! I'm glad you haven't abandonded this excellent project.

Now one-click install !!!

RDE's so convenient for testing scripts posted here ... I don't have
to think of a name or where to save it on disk - just paste it in and
hit F5 ... quicker than IRB !! I haven't found another editor which
allows this and it seems such an easy feature to provide. The YAGNI
competitors will follow, eventually.

Don't want to be a spoilsport (RDE is pretty nice), but to test out the ruby-talk snippets I use something that loads a lot faster and also runs the script on F5 : Scite.
There's just no comparison in loading speed.
Cheers,
V.-

···

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.

Graham Foster wrote:

>> >
>> > * the debuger fails on
>> > ...ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>> > I haven't looked any further yet, rubygems should be there (gem
>> > install works)
>> Check that the same errors occur, when you run the target script with
>> debugger on console.
>
> In other words, this has nothing to do with RDE.

OK.. I get exactly the same error.. and I didn't understand the replies
here. Can anyone be a little clearer please?

Again - I think RDE looks promising too, but once again, the ONLY IDE for
Ruby which actually works out of the box for me (on Windows XP) is
ArachnoRuby, and they all appear equally unfinished. :frowning:
Graham

Hi Graham,

It's so difficult to know what /finished/ software looks like :stuck_out_tongue:

Using the same script which gave the error, try running it
from a command window (I still call it a DOS box). That'll
probably work because your script has doesn't call 'require' (?).

When you use the debugger, ... :
http://phrogz.net/ProgrammingRuby/trouble.html#rubydebugger

.... with 'ruby -rdebug hello.rb', it's 'require'-ing
the debug library. However, you have rubygems installed
so it has taken responsibility for the 'require' and it
calls in its own library 'rubygems.rb' first. However (again),
before all that, when ruby starts up, another library
called 'ubygems.rb' is 'require'-d to redefine the 'require'
method.
(I'm subconsciously trying to make that sound complicated;
here's how your simple script effectively appears ...)

## (prologue)
require 'ubygems.rb' # RUBYOPT=rubygems [environment variable]
require 'rubygems.rb' # because 'require' is now a gems method
require 'debug.rb' # this line triggers the one above
## hello.rb
puts 'Hello World'

So, when you run your one-line hello script with:
  ruby -rdebug hello.rb

- do you get an error or does the debugger start/continue OK ?

If an error, which directory(s) contain debug.rb and debug2.rb
- debug2.rb is a slightly modified version for RDE.

Did you use the RDE installer(.exe) or the .zip file ?

Did you install any of the RDE 1.0.0 beta releases
before the final ?

···

On Fri, 23 Sep 2005 18:09:31 +0100, daz wrote:

----------
RDE just calls ruby.exe, ruby & gems set up the $LOAD_PATH
I doubt whether RDE is to blame.

<Ready to eat own words/>

daz

Damphyr wrote:

daz wrote:
>
> RDE's so convenient for testing scripts posted here ... I don't have
> to think of a name or where to save it on disk - just paste it in and
> hit F5 ... quicker than IRB !! I haven't found another editor which
> allows this and it seems such an easy feature to provide. The YAGNI
> competitors will follow, eventually.

Don't want to be a spoilsport (RDE is pretty nice), but to test out the
ruby-talk snippets I use something that loads a lot faster and also runs
the script on F5 : Scite.
There's just no comparison in loading speed.
Cheers,
V.-

Start it up, paste your snippet into [Untitled] ...

Press F5 ... *nothing* happens ... it's disabled ... you have to save
the file and it has to know what file type it is otherwise it'd be just
as appropriate to do a C++ compile on it?

You're describing what you think it does - not what it /does/ (?)

SciTE is nice as a substitute for Notepad.
I have RDE running all the time -- don't need to wait for it to load :slight_smile:

daz

It's so difficult to know what /finished/ software looks like :stuck_out_tongue:

:slight_smile: I agree.. but it should be closer than this. Perhaps it is just too many assumptions in the installer package, and once I figure out what needs fixing up, all will be well.

Your explanation is detailed and helpful - here is what I found:-

C:\DOCUME~1\Graham>set rubyopt
RUBYOPT=rubygems rubygems

I'm not sure what it should say - should rubygems be duplicated?

So, when you run your one-line hello script with:
  ruby -rdebug hello.rb

- do you get an error or does the debugger start/continue OK ?

C:\DOCUME~1\Graham>ruby -rdebug hello.rb
Debug.rb
Emacs support available.

g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

Which is exactly like RDE

Perhaps my problem is a conceptual one. I don't WANT to step through / see all the required libraries.. I want to debug _my_ program

If an error, which directory(s) contain debug.rb and debug2.rb
- debug2.rb is a slightly modified version for RDE.

Did you use the RDE installer(.exe) or the .zip file ?

EXE

Did you install any of the RDE 1.0.0 beta releases
before the final ?

Yes - 0.94 (I think) - but I was sure I had un-installed it first. perhaps the beta didn't uninstall correctly? (I've subsequently moved Ruby to a different drive which would change old paths - might this be an issue?)

Thanks for helping
Graham

···

On Fri, 23 Sep 2005 23:48:38 +0100, daz <dooby@d10.karoo.co.uk> wrote:

daz wrote:

Damphyr wrote:

daz wrote:

RDE's so convenient for testing scripts posted here ... I don't have to think of a name or where to save it on disk - just paste it in and hit F5 ... quicker than IRB !! I haven't found another editor which allows this and it seems such an easy feature to provide. The YAGNI competitors will follow, eventually.

Don't want to be a spoilsport (RDE is pretty nice), but to test out
the ruby-talk snippets I use something that loads a lot faster and
also runs the script on F5 : Scite. There's just no comparison in loading speed. Cheers, V.-

Start it up, paste your snippet into [Untitled] ...

Press F5 ... *nothing* happens ... it's disabled ... you have to save
the file and it has to know what file type it is otherwise it'd be just as appropriate to do a C++ compile on it?

You're describing what you think it does - not what it /does/ (?) SciTE is nice as a substitute for Notepad. I have RDE running all the
time -- don't need to wait for it to load :slight_smile:

Nope, just like everyone else, I have my own ways of working with my
favorite tools. See, it's not 'untitled' when it starts up because I
have an empty test.rb file where I do all my snippet testing.
Tricks, like you do with an always open RDE to avoid loading time.
I prefer not having open windows all the time (my quirk) so I appreciate quick programs. Given that I also work with C++ on a monster MDA tool with no real editor in parallel, Scite works form me on a much better level than Notepad :).
I've learned not to make assumptions on tool usage patterns, probably because my most productive tool usage is so much different from everyone else's :slight_smile:
Cheers,
V.-

···

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.

Graham Foster wrote:

[...]
Perhaps it is just too many assumptions in the installer package,
and once I figure out what needs fixing up, all will be well.

You're not on your own worrying about assumptions :wink:
All the installer needs to know is the path to your ruby.exe -
it prompts for that and I'm reasonably confident that it's OK.

C:\DOCUME~1\Graham>set rubyopt
RUBYOPT=rubygems rubygems

I'm not sure what it should say - should rubygems be duplicated?

No - and it would be interesting to find out how that happened.
It should read:
   RUBYOPT=rubygems

C:\DOCUME~1\Graham>ruby -rdebug hello.rb
Debug.rb
Emacs support available.

g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

Which is exactly like RDE

Which is why Sakazuki-san suggested to try it :slight_smile:
It's *not* an RDE problem.

[...] (I've subsequently moved Ruby to a different drive
which would change old paths - might this be an issue?)

Ruby can cope with that.

You need to establish why there's a :
   g:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb
- but no :
   g:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb

They should be together in that directory.
On my system, they both have the same 'modified' date & time.

See if this ruby line will find it. If it does - you could
try moving it to the right place, although you could find
other installation problems which would make it easier to
start from scratch.

   puts Dir['G:/ruby/**/*ubygems.rb']

   #-> G:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb
   #-> G:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb

Good luck,

daz