From curt at hibbs.com Tue Feb 15 19:27:40 2005 From: curt at hibbs.com (Curt Hibbs) Date: Tue Feb 15 19:24:07 2005 Subject: [FR-devel] RE: Ruby on Windows: debugger questions and comments In-Reply-To: <7k35115g05b2d3i6u1s53g3uf9mncv0l93@4ax.com> Message-ID: tony summerfelt wrote: > > On Mon, 14 Feb 2005 07:47:47 +0900, you wrote: > > >The latest version of FreeRide, and the version of FreeRIDE that > comes with > >the One-Click Ruby Installer for Windows, both have working debuggers. > > has there been a later version of freeride released. i've been using > (sort of) v0.9.2. > > threads still don't show up in the 'threads's tab while debugging... that's the most recent version. I'm forwarding this to the FreeRIDE ML to make sure Laurent is aware of this. Curt From curt at hibbs.com Wed Feb 16 06:51:04 2005 From: curt at hibbs.com (Curt Hibbs) Date: Wed Feb 16 06:47:34 2005 Subject: [FR-devel] FW: Ruby on Windows: debugger questions and comments Message-ID: -----Original Message----- From: tony summerfelt [mailto:snowzone5@hotmail.com] Sent: Tuesday, February 15, 2005 10:05 PM To: ruby-talk ML Subject: Re: Ruby on Windows: debugger questions and comments On Wed, 16 Feb 2005 09:27:52 +0900, you wrote: >that's the most recent version. I'm forwarding this to the FreeRIDE ML to >make sure Laurent is aware of this. other than that the debugging works well... the only other problem i have with freeride is that i can't see the cursor :) i prefer dark/black backgrounds, so i adjust all the editor items to reflect that...unfortunately the cursor becomes almost impossible to see on my lcd with the brightness turned down (which i have to do because the monitor is so bright to start with). even taking away the blinking doesn't really help... freeride is now my ruby ide of choice... http://home.cogeco.ca/~tsummerfelt1 telnet://ventedspleen.dyndns.org -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From laurent at moldus.org Fri Feb 18 15:30:33 2005 From: laurent at moldus.org (Laurent Julliard) Date: Fri Feb 18 15:26:47 2005 Subject: [FR-devel] RE: Ruby on Windows: debugger questions and comments In-Reply-To: References: Message-ID: <42165069.4080403@moldus.org> Curt Hibbs wrote: > tony summerfelt wrote: > >>On Mon, 14 Feb 2005 07:47:47 +0900, you wrote: >> >> >>>The latest version of FreeRide, and the version of FreeRIDE that >> >>comes with >> >>>the One-Click Ruby Installer for Windows, both have working debuggers. >> >>has there been a later version of freeride released. i've been using >>(sort of) v0.9.2. >> >>threads still don't show up in the 'threads's tab while debugging... > > > that's the most recent version. I'm forwarding this to the FreeRIDE ML to > make sure Laurent is aware of this. > > Curt > That's right the threads tab is empty. It is still to be implemented and I agree it should say something like "to be done". In the mean time you can always look at the various threads through the Frames tab (see the right hand side pull down menu) Laurent From laurent at moldus.org Fri Feb 18 15:32:14 2005 From: laurent at moldus.org (Laurent Julliard) Date: Fri Feb 18 15:28:28 2005 Subject: [FR-devel] FW: Ruby on Windows: debugger questions and comments In-Reply-To: References: Message-ID: <421650CE.6050508@moldus.org> Curt Hibbs wrote: > > -----Original Message----- > From: tony summerfelt [mailto:snowzone5@hotmail.com] > Sent: Tuesday, February 15, 2005 10:05 PM > To: ruby-talk ML > Subject: Re: Ruby on Windows: debugger questions and comments > > > On Wed, 16 Feb 2005 09:27:52 +0900, you wrote: > > >>that's the most recent version. I'm forwarding this to the FreeRIDE ML to >>make sure Laurent is aware of this. > > > other than that the debugging works well... > > the only other problem i have with freeride is that i can't see the > cursor :) > > i prefer dark/black backgrounds, so i adjust all the editor items to > reflect that...unfortunately the cursor becomes almost impossible to > see on my lcd with the brightness turned down (which i have to do > because the monitor is so bright to start with). even taking away the > blinking doesn't really help... > Could you send me your exact color settings so that I can reproduce thew problem on my side? > freeride is now my ruby ide of choice... I'm glad to hear that... And it's mine too! -- Laurent JULLIARD http://www.moldus.org/~laurent From laurent at moldus.org Sat Feb 19 16:19:31 2005 From: laurent at moldus.org (Laurent Julliard) Date: Sat Feb 19 16:16:02 2005 Subject: [FR-devel] fxirb 0.1.4 in FreeRIDE Message-ID: <4217AD63.9020303@moldus.org> Martin, (and Lyle -> see c) ) Thanks for this new version of FXIRB that you just announced. I have already integrated it in FreeRIDE and it will be released in 0.9.3 (soon!) A couple of remarks on the changes you have made a) It would be nice to isolate the processing of all exit commands (like typing CTRL-D or exit) in a specific method By doing so I could override the method in FreeRIDE to do the appropriate processing. Right now if you type CTRL-D in IRB it's the entire FreeRIDE app that exits !! and if you type exit FreeRIDE enters in an endless loop (I don't quite understand why...) b) are you sure you need the STDOUT.sync = true at the beginning? c) running with FXruby 1.2.3 (or 1.2.2) with FOX 1.2.11 or 1.2.13 causes a segfault on Linux when running fxirb.rb as a standalone application. Commenting the line: application.init(ARGV) makes the problem vanish. I have seen this rpoblem several times that between 1.0 and 1.2 one has to either re-order the lines that start the FOX application or comment out some statements to make it work properly. Lyle if you can find what the problem is that would be great!!! It seems to be related to a timing problem (??) as running with the debugger on (ruby -rdebug fxirb.rb) runs fine Thanks again Martin for all the good work! Laurent -- Laurent JULLIARD http://www.moldus.org/~laurent From laurent at moldus.org Sat Feb 19 17:11:41 2005 From: laurent at moldus.org (Laurent Julliard) Date: Sat Feb 19 17:08:05 2005 Subject: [FR-devel] Re: fxirb 0.1.4 in FreeRIDE In-Reply-To: References: <4217AD63.9020303@moldus.org> Message-ID: <4217B99D.8090500@moldus.org> Martin DeMello wrote: > On Sat, 19 Feb 2005 22:19:31 +0100, Laurent Julliard wrote: > >>b) are you sure you need the STDOUT.sync = true at the beginning? > > > This one I can answer right away - I'm pretty sure it's just a relic > of the time I was printing debug messages to the console, and can be > safely splatted. I'll look into the other issues - a unified exit > mechanism is definitely a good idea (freeride exits 'cause somewhere > in there is an explicit call to 'exit'; I'm not sure where the > infinite loop comes from). > > I've not done any testing on linux yet, since I'm mostly booted into > windows these days. Also, won't the whole if __FILE__==$0 block need > to be reexamined if you're running this inside FreeRide? The call to > threadsEnabled = true looks iffy, for instance. > > martin > When fxirb.rb ins required in FreeRIDE the __FILE__ == $0 block isn't executed. It;s only when running in standalone mode that the crash occurs. One thing: the infinite loop happens only when running inside freeride . So you may want to disregard this problem for now. For 0.1.5 make sure you have an exit_irb method somewhere that I can override to define what exit does for FreeRIDE. Thanks a lot! Laurent -- Laurent JULLIARD http://www.moldus.org/~laurent From lyle at knology.net Sat Feb 19 20:06:00 2005 From: lyle at knology.net (Lyle Johnson) Date: Sat Feb 19 20:02:19 2005 Subject: [FR-devel] fxirb 0.1.4 in FreeRIDE In-Reply-To: <4217AD63.9020303@moldus.org> References: <4217AD63.9020303@moldus.org> Message-ID: On Feb 19, 2005, at 3:19 PM, Laurent Julliard wrote: > c) running with FXruby 1.2.3 (or 1.2.2) with FOX 1.2.11 or 1.2.13 > causes a segfault on Linux when running fxirb.rb as a standalone > application. Commenting the line: > > application.init(ARGV) > > makes the problem vanish. I found this one myself about a week ago (although it doesn't show up in FXRuby's bug list). It is fixed for FXRuby 1.2.4, which I hope to get out soon. From laurent at moldus.org Sun Feb 20 09:04:49 2005 From: laurent at moldus.org (Laurent Julliard) Date: Sun Feb 20 09:01:10 2005 Subject: [FR-devel] [ANN] FreeRide 0.9.3 - The Free Ruby IDE Message-ID: <42189901.4020400@moldus.org> Version 0.9.3 of FreeRIDE has been released and is available for download! For details and downloads, go to: http://freeride.rubyforge.org/ 0.9.3 is a bug fix release (view menu out of sync, font preferences broken...) and also introduces a new plugin IRB (interactive shell plugin) based on Martin Demello fxirb. Have fun! And, as always, feedback and contributions are welcome. NOTE: If you experience troubles (e.g. crashes) at startup time, delete your FreeRIDE configuration directory in $HOME/.freeride for Linux users or %USERPROFILE%\freeride on Windows to restart from a fresh setting. === FreeRIDE Overview === FreeRIDE aims to be a full-featured, first-class IDE on a par with those available for other languages, with all the best-of-breed features that you would expect in a high-end IDE. Some of FreeRIDE's features include: * Multi-file editing * Syntax highlighting * Auto-indenting * Code Folding * Source navigation by module, class, method, etc. * Integrated debugging * Written in Ruby for easy extension Some planned features include: * Full internationalization * High-end refactoring support * Remote pair programming In its current state, FreeRIDE cannot yet be called a real IDE. What is does have is a stable infrastructure with all the working plumbing needed for the hordes of anxious Ruby developers that want to create plugins to extend the functionality of FreeRIDE. The FreeRIDE team will be working on such FreeRIDE plugins that we will individually release to incrementally improve the FreeRIDE system. Periodically we will rollup these added plugins into new releases of FreeRIDE. Even if you have not officially joined the FreeRIDE team you can still create plugins for you own use, share them with others, or send them to us and we will make them available for download from our project wiki. We may even ask for your permission to include them in the FreeRIDE core distribution. -- Laurent JULLIARD http://www.moldus.org/~laurent From laurent at moldus.org Sun Feb 20 17:44:29 2005 From: laurent at moldus.org (Laurent Julliard) Date: Sun Feb 20 17:40:49 2005 Subject: [FR-devel] FXri in FreeRIDE Message-ID: <421912CD.9000901@moldus.org> Martin, I just saw your posting on ruby-talk and found your fxri application a really nice one! One that we have been thinking of developping for FreeRIDE, the free Ruby IDE. And rather than reinventing the wheel I'd rather reuse your code (exactly like we did for fxirb which is integrated in FreeRIDE since 0.9.3) Please find attached a patch that applies to fxri and lib/Globals.rb that will keep fxri running normally but will make our life much easier to integrate it in FreeRIDE. The patch basically consist of: a) Renaming the class Main_Window to class FXri and make it inherit from horizontal frame so that it can be instantiated (and docked) in FreeRIDE. The main widow is now created at the end of the fxri file in the 'if __FILE__ = $0' block b) There is a new property in Globals.rb that dictate whether fxirb must be run or not. In FreeRIDE fxirb is already a plugin in itself and we don't want to run it twice. Finally, renaming fxri to fxri.rb is also a request from the FreeRIDE team otherwise the fxri file cannot be required from another file. Again this patch doesn't affect your standalone application and would allow us to eaisly integrate with FreeRIDE. Hope you'll like this idea and accept our patch for the next version Any question, please feel free to ask. Thanks again for this great peice of work. This is going to be a great addition to FreeRIDE, really! Laurent -- Laurent JULLIARD http://www.moldus.org/~laurent -------------- next part -------------- *** fxri.orig 2005-02-20 19:35:26.568251570 +0100 --- fxri 2005-02-20 23:24:26.575396482 +0100 *************** *** 44,54 **** require 'lib/fxirb' # Responsible for application initialization ! class Main_Window < FXMainWindow # Initializes the XDCC-application. ! def initialize(app) ! super(app, $cfg.app.name, nil, nil, DECOR_ALL, 0, 0, $cfg.app.width, $cfg.app.height) set_default_font # load icons icon_loader = Icon_Loader.new(FXApp::instance) --- 44,54 ---- require 'lib/fxirb' # Responsible for application initialization ! class FXri < FXHorizontalFrame # Initializes the XDCC-application. ! def initialize(parent) ! super(parent, FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y,0,0,0,0,0,0,0,0) set_default_font # load icons icon_loader = Icon_Loader.new(FXApp::instance) *************** *** 76,82 **** # Automatically called when the Fox application is created def create super ! show(PLACEMENT_SCREEN) # load items load_items @search_engine.update_search_status_text --- 76,82 ---- # Automatically called when the Fox application is created def create super ! show # load items load_items @search_engine.update_search_status_text *************** *** 133,151 **** end end ! ! FXSplitter.new(base, SPLITTER_TRACKING|LAYOUT_FILL_X|LAYOUT_FILL_Y|SPLITTER_VERTICAL) do |split| ! FXHorizontalFrame.new(split, FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0,0,0) do |right| ! @gui.text = FXText.new(right, nil, 0, TEXT_READONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y) ! end ! ! FXHorizontalFrame.new(split, FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0,0,0) do |irb_frame| ! @irb_frame = irb_frame ! @gui.irb = FXIrb.init(irb_frame, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y|TEXT_WORDWRAP|TEXT_SHOWACTIVE) ! @gui.irb.setFont(@font) if @font ! end ! split.setSplit(0, $cfg.irb_height) ! end font = load_font($cfg.ri_font) @gui.text.font = font if font font.create --- 133,148 ---- end end ! split = FXSplitter.new(base, SPLITTER_TRACKING|LAYOUT_FILL_X|LAYOUT_FILL_Y|SPLITTER_VERTICAL) if $cfg.launch_irb ! right = FXHorizontalFrame.new(($cfg.launch_irb ? split : base), FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0,0,0) ! @gui.text = FXText.new(right, nil, 0, TEXT_READONLY|TEXT_WORDWRAP|LAYOUT_FILL_X|LAYOUT_FILL_Y) ! if $cfg.launch_irb ! irb_frame = FXHorizontalFrame.new(split, FRAME_SUNKEN|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0,0,0) ! @irb_frame = irb_frame ! @gui.irb = FXIrb.init(irb_frame, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y|TEXT_WORDWRAP|TEXT_SHOWACTIVE) ! @gui.irb.setFont(@font) if @font ! split.setSplit(0, $cfg.irb_height) ! end font = load_font($cfg.ri_font) @gui.text.font = font if font font.create *************** *** 281,292 **** end ! Thread.abort_on_exception= true ! # move to directory of this file, so that icons can load correctly. ! Dir.chdir(File.dirname(File.expand_path(__FILE__))) ! $app = FXApp.new($cfg.app.name, $cfg.app.name) ! $main_window = Main_Window.new($app) ! $app.create ! $app.run --- 278,295 ---- end ! if __FILE__ == $0 ! Thread.abort_on_exception= true ! # move to directory of this file, so that icons can load correctly. ! Dir.chdir(File.dirname(File.expand_path(__FILE__))) ! application = FXApp.new($cfg.app.name, $cfg.app.name) ! application.threadsEnabled = true ! application.init(ARGV) ! window = FXMainWindow.new(application, $cfg.app.name, nil, nil, DECOR_ALL, 0, 0, $cfg.app.width, $cfg.app.height) ! FXri.new(window) ! application.create ! window.show(PLACEMENT_SCREEN) ! application.run ! end *** lib/Globals.rb.orig 2005-02-20 11:12:20.000000000 +0100 --- lib/Globals.rb 2005-02-20 23:23:05.797749091 +0100 *************** *** 29,34 **** --- 29,36 ---- $cfg.text.search_field = "What do you want to know?" $cfg.text.method_name = "name" + # IRB + $cfg.launch_irb = true $cfg.text.help = %|This is fxri, a graphical interface to the Ruby documentation. Fxri comes with a search engine with quite a few features. Here are several examples: 'Array': Lists all classes with the name Array. Note that upcase words are treated case sensitive, lowercase words insensitive. From curt at hibbs.com Mon Feb 21 10:08:13 2005 From: curt at hibbs.com (Curt Hibbs) Date: Mon Feb 21 10:04:27 2005 Subject: [FR-devel] testing -- please ignore Message-ID: I'm having email trouble... i just wanted to see if this made it through. Curt From Laurent.Julliard at xrce.xerox.com Mon Feb 21 14:01:56 2005 From: Laurent.Julliard at xrce.xerox.com (Laurent Julliard) Date: Mon Feb 21 14:04:18 2005 Subject: [FR-devel] FXRi in FreeRIDE (done!) Message-ID: <421A3024.4020004@xrce.xerox.com> For fun: here is a screenshot of the FXRI plugin integrated in FreeRIDE. 3 hours of work total... Hasn't FreeRIDE a nice plugin architecture? This will be in 0.9.4 for sure. laurent -- Laurent JULLIARD Xerox Global Services Business Process Services Manager, Smart Documents Platforms Tel: +33 (0)4 76 61 50 48 Fax: +33 (0)4 76 61 51 99 -------------- next part -------------- A non-text attachment was scrubbed... Name: fxri.png Type: image/png Size: 30153 bytes Desc: not available Url : http://rubyforge.org/pipermail/freeride-devel/attachments/20050221/9fff096b/fxri-0001.png From curt at hibbs.com Mon Feb 21 14:11:27 2005 From: curt at hibbs.com (Curt Hibbs) Date: Mon Feb 21 14:07:39 2005 Subject: [FR-devel] FXRi in FreeRIDE (done!) In-Reply-To: <421A3024.4020004@xrce.xerox.com> Message-ID: Very, very nice! Curt PS I'm going to post this to ruby-talk. > -----Original Message----- > From: freeride-devel-bounces@rubyforge.org > [mailto:freeride-devel-bounces@rubyforge.org]On Behalf Of Laurent Julliard > Sent: Monday, February 21, 2005 1:02 PM > To: FreeRIDE Developers > Subject: [FR-devel] FXRi in FreeRIDE (done!) > > > For fun: here is a screenshot of the FXRI plugin integrated in > FreeRIDE. 3 hours of work total... Hasn't FreeRIDE a nice plugin > architecture? > > This will be in 0.9.4 for sure. > > laurent > > > -- > Laurent JULLIARD > Xerox Global Services > Business Process Services > Manager, Smart Documents Platforms > Tel: +33 (0)4 76 61 50 48 > Fax: +33 (0)4 76 61 51 99 > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005 > From Laurent.Julliard at xrce.xerox.com Mon Feb 28 08:00:37 2005 From: Laurent.Julliard at xrce.xerox.com (Laurent Julliard) Date: Mon Feb 28 07:57:11 2005 Subject: [FR-devel] FreeRIDE project - Call for help Message-ID: <422315F5.1070308@xrce.xerox.com> All, Since its inception in September 2001, FreeRIDE, the 100% Ruby IDE, has made a lot of progress (http://freeride.rubyforge.org). The current version has quite a large number features and, above all, the underlying plugin architecture (FreeBASE databus) has proven to be stable and perfectly suited for this type of application. As of today, Curt Hibbs and I are the only active project members with Curt focusing on the delivery of the Windows installer and myself on the software development activities. FreeRIDE has reached a point where it has plenty of nice features that makes it appealing but it also has weaknesses that can be (really) annoying. Most notably we are looking for help in the following areas: - Documentation: FreeRIDE has a user guide but it is quite outdated. I have just started revamping it but I definitely need help in this area. It's not a big thing as FreeRIDE is quite easy to use. In a second step the user guide needs a better integration in FreeRIDE. This means deciding on a format that is suitable for online publishing and viewing within the FOX framework. - Windows platform: this is where the most urgent need is. I am mostly a Linux developer and although I'm doing some testing on Win XP (through VMware), FreeRIDE is less stable on Windows than on Linux. For instance we need to improve the debugger, the script runner by making a batter use of the Windows Operating system capabilities, removing slowness in some places... Win2K and Win XP are the target platforms. - MacOSX platform: there has been some attempt lately to deliver a FreeRIDE installer for MacOSX but I need an active person in the core team responsible for driving the MacOSX community and organizing the work and/or building the MacOSX installer like Curt does for Windows and I do for Linux. - Testing, testing, testing...: testers are badly needed. By testers I mean people that use FreeRIDE but are also willing to identify the root cause of a bug and fix it. I use FreeRIDE myself for FreeRIDE development but I tend to always do the same operations which is not o good way of testing. If you are interested in helping us then drop me a mail telling me where you want to contribute and subscribe to the FreeRIDE developers mailing list (see http://rubyforge.org/mail/?group_id=31). Working on FreeRIDE is a lot of fun and it is extremelly rewarding because as a Ruby developer you'll be improving a tool that makes Ruby programming even more fun. Thanks for all your help! Laurent Julliard From bmoelk at brainendeavor.com Mon Feb 28 19:47:51 2005 From: bmoelk at brainendeavor.com (Brian Moelk) Date: Mon Feb 28 19:43:39 2005 Subject: [FR-devel] FreeRIDE project - Call for help In-Reply-To: <422315F5.1070308@xrce.xerox.com> Message-ID: <0MKz1m-1D5vY31G39-0008NZ@mrelay.perfora.net> > - Windows platform: this is where the most urgent need is. I am mostly > a Linux developer and although I'm doing some testing on Win XP > (through VMware), FreeRIDE is less stable on > Windows than on Linux. For instance we need to improve the debugger, > the script runner by making a batter use of the Windows Operating > system capabilities, removing slowness in some places... Win2K > and Win XP are the target platforms. I'm a Windows developer with background in C++ and Delphi. I would love to have a full featured IDE for Ruby. Unfortunately, I am *just* learning Ruby; but would love to help out in any way I can. > If you are interested in helping us then drop me a mail telling me > where you want to contribute and subscribe to the FreeRIDE developers > mailing list (see http://rubyforge.org/mail/?group_id=31). Working on > FreeRIDE is a lot of fun and it is extremelly rewarding because as a > Ruby developer you'll be improving a tool that makes Ruby programming > even more fun. I'm definitely interested. It may make sense for me to start by testing and helping out in documentation. Regards, Brian Moelk http://www.brainendeavor.com From adelle at bullet.net.au Mon Feb 28 22:32:33 2005 From: adelle at bullet.net.au (Adelle Hartley) Date: Mon Feb 28 21:28:16 2005 Subject: [FR-devel] FreeRIDE project - Call for help In-Reply-To: <0MKz1m-1D5vY31G39-0008NZ@mrelay.perfora.net> Message-ID: Brian Moelk wrote: > I'm a Windows developer with background in C++ and Delphi. I > would love to have a full featured IDE for Ruby. > Unfortunately, I am *just* learning Ruby; but would love to > help out in any way I can. What he said. I've noticed the instability myself - to the point that I have (for the time being) stopped using FreeRide in favour of the text editor that gets installed with the one-click ruby install (at least until I get ruby working on linux). I've had a look at the free-ride source code but can't make much sense out of it, so I don't really know where to start. If the "intellisense" feature were ready, that would be enough to make me put up with the instability :-) Adelle.