Re: [MSEide-MSEgui-talk] Using external tools
On 27 February 2012 12:55, Martin Schreiber wrote: > > Probably a race condition with multi-core CPU's. My CPU at home is a P4 2.4Ghz (single core). It had the problem too. Oh well, at least it seems to be fixed. I haven't had a failed detection today yet. :) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Monday 27 February 2012 10:12:00 Graeme Geldenhuys wrote: > On 27 February 2012 09:38, Martin Schreiber wrote: > > Did you test on your 64bit machine too? > > Yes, tested on both a 32-bit Linux and 64-bit Linux PC. > > So what was ultimately the cause of the problem? Probably a race condition with multi-core CPU's. Martin -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/27 Martin Schreiber > On Sunday, 26. February 2012 13.07:42 Julio Jiménez wrote: > > > > Probably Martin can add new macros and the possibility of key > accelerators. > > > Please use "&" in order to define hotkeys in 'Project'-'Tools'-'Menu'. > > Yes I know, but I meant something more direct like Ctrl+something, Ctrl+Shift+something... -- Julio Jiménez Borreguero -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 27 February 2012 09:38, Martin Schreiber wrote: > > Did you test on your 64bit machine too? Yes, tested on both a 32-bit Linux and 64-bit Linux PC. So what was ultimately the cause of the problem? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Monday, 27. February 2012 08.35:01 Graeme Geldenhuys wrote: > On 25 February 2012 13:27, Martin Schreiber wrote: > > Git master 4699e2b82933eaa92bc51c0f93f7b381a7238e7f has some changes, > > please try again. > > Thanks Martin. I pulled the latest code this morning. The IDE now > seems to detect external file changes without fail. Did you test on your 64bit machine too? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 25 February 2012 13:27, Martin Schreiber wrote: >> > Git master 4699e2b82933eaa92bc51c0f93f7b381a7238e7f has some changes, please > try again. Thanks Martin. I pulled the latest code this morning. The IDE now seems to detect external file changes without fail. :-) Thanks for all your trouble. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Sunday, 26. February 2012 13.07:42 Julio Jiménez wrote: > > Probably Martin can add new macros and the possibility of key accelerators. > Please use "&" in order to define hotkeys in 'Project'-'Tools'-'Menu'. Martin -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 26 February 2012 14:07, Julio Jiménez wrote: > 2012/2/26 IvankoB for-mse >> >> What does it mean "external tool" ? Can it be code helper, Ctrl+Space >> identifier expander etc ? >> > > Project->Options->Tools > > It allows you to execute external programs. There are a few macros you can > use. I'm my case I added a code formatter (JCF or ptop). And I use MSEide to develop fpGUI applications. I use the External Tools menu to launch fpGUI's visual forms designer. I also use it to launch DocView - a offline context sensitive help viewer for Free Pascal Language reference, RTL and FCL help. > Probably Martin can add new macros and the possibility of key accelerators. > :) Key Accelerators for the external tool menu items would be a HUGE bonus for me in MSEide. I already use the & symbol in the external tool name, but that simply allows navigating the IDE menus. I'd like a keyboard shortcut like F11 (or Ctrl+F11) - which is currently not possible. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/26 IvankoB for-mse > What does it mean "external tool" ? Can it be code helper, Ctrl+Space > identifier expander etc ? > > Project->Options->Tools It allows you to execute external programs. There are a few macros you can use. I'm my case I added a code formatter (JCF or ptop). For now it adds a new menu to main menu (Tools). Probably Martin can add new macros and the possibility of key accelerators. :) -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
What does it mean "external tool" ? Can it be code helper, Ctrl+Space identifier expander etc ? 2012/2/25, Julio Jiménez : >> Git master 4699e2b82933eaa92bc51c0f93f7b381a7238e7f has some changes, >> please >> try again. >> >> > For me it's working fine. > > Thank you! > > -- > Julio Jiménez Borreguero > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
> Git master 4699e2b82933eaa92bc51c0f93f7b381a7238e7f has some changes, > please > try again. > > For me it's working fine. Thank you! -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday 24 February 2012 04:32:44 pm Julio Jiménez wrote: > Hi Martin > > I have been testing with a new project, only two files main.pas and > projectname.pas > > If I open *only* a file IE main.pas I can edit, save and reformat. > Always are detected the changes. > > If I have the two files open (main.pas and projectname.pas) then all is > working fine untill I edit/save one of the files. > > If I close one file then all is fine again. > > It seems the problem is when you have more than one file open. > Git master 4699e2b82933eaa92bc51c0f93f7b381a7238e7f has some changes, please try again. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Julio, Du schriebst am Fri, 24 Feb 2012 09:52:41 +0100: > I don't know what "registry" are you talking about. JCF uses a config file The one mentioned by that very program itself (from your posting on Thu, 23 Feb 2012 10:26:31 +0100): Syntax: jcf [options] path/filename Parameters to the command-line program: Mode of operation: ... When neither is specified, registry setting will be used. ... Mode of source: ... When no file mode is specified, registry setting will be used. Mode of output: ... If no output mode is specified, registry setting will be used. > that you can change for your needs (in part) like other programs (linux > and windows). Yes, Graeme detailed on this already. It uses cleartext encryption, aka XML (eXtremely Missleading Lettering). I won't comment on this. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hi Martin I have been testing with a new project, only two files main.pas and projectname.pas If I open *only* a file IE main.pas I can edit, save and reformat. Always are detected the changes. If I have the two files open (main.pas and projectname.pas) then all is working fine untill I edit/save one of the files. If I close one file then all is fine again. It seems the problem is when you have more than one file open. Cheers. 2012/2/24 Martin Schreiber > On Friday, 24. February 2012 14.08:55 Graeme Geldenhuys wrote: > > On 24 February 2012 14:52, Martin Schreiber wrote: > > > Please check if > > > apps/ide/sourceform.pas:593 (tsourcefo.onfilechanged) is called. > > > > No, never gets executed. > > Please place a breakpoint to > lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) > step though the code, check if tdirinfo.changed() calls > application.postevent(), if not, why not. > > Martin > > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 14.08:55 Graeme Geldenhuys wrote: > On 24 February 2012 14:52, Martin Schreiber wrote: > > Please check if > > apps/ide/sourceform.pas:593 (tsourcefo.onfilechanged) is called. > > No, never gets executed. Please place a breakpoint to lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) step though the code, check if tdirinfo.changed() calls application.postevent(), if not, why not. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 14:52, Martin Schreiber wrote: >> > Please check if > apps/ide/sourceform.pas:593 (tsourcefo.onfilechanged) is called. No, never gets executed. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Martin Schreiber wrote: > On Friday, 24. February 2012 13.39:21 Graeme Geldenhuys wrote: >> On 24 February 2012 14:24, Martin Schreiber wrote: >> > Please open a single file in MSEide source editor, check if >> > lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) >> > is called after the tool run. >> >> Yes it did. I used fpGUI's debug server - so as not to be intrusive to >> GDB etc. >> > Please check if > apps/ide/sourceform.pas:593 (tsourcefo.onfilechanged) is called. > I must go now, back in about one hour. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 13.39:21 Graeme Geldenhuys wrote: > On 24 February 2012 14:24, Martin Schreiber wrote: > > Please open a single file in MSEide source editor, check if > > lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) is > > called after the tool run. > > Yes it did. I used fpGUI's debug server - so as not to be intrusive to GDB > etc. > Please check if apps/ide/sourceform.pas:593 (tsourcefo.onfilechanged) is called. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 14:24, Martin Schreiber wrote: > > Please open a single file in MSEide source editor, check if > lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) is > called after the tool run. Yes it did. I used fpGUI's debug server - so as not to be intrusive to GDB etc. As soon as I saved the file with my external tool (fpGUI's UI Designer), the event was triggered, but when I returned to the IDE, MSEide did not prompt for a reload. See attached screenshot. I output the afd value too, if that helps. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net <>-- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 13.09:47 Graeme Geldenhuys wrote: > > If you can give me some hints as to what I must try and debug or what > variables I must watch etc, then I'll give it a go. Anything to help > fix this issue. I know it is very hard to fix a bug you cannot > reproduce. So while I can reproduce it on demand, I'll try and help > debug it for you. Please open a single file in MSEide source editor, check if lib/common/sysutils/msefilechange.pas:363 (tdirchangethread.dochange) is called after the tool run. It is possible that 'Project'-'Options'-'Debugger'-'Call GUI_DEBUGBEGIN/GUI_DEBUGEND' must be switched of in order to prevent gdb from crashing in the separate thread. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 14:06, Graeme Geldenhuys wrote: > > There is some progress. If I don't make any changes in the editor, but > simply launch the external tools (after I loaded the IDE), then it > detects the changes the external tool made. This works every time. And > it works with or without the S option in external tools. I spoke too soon. Reloaded the IDE, and now this doesn't work again. :-( If you can give me some hints as to what I must try and debug or what variables I must watch etc, then I'll give it a go. Anything to help fix this issue. I know it is very hard to fix a bug you cannot reproduce. So while I can reproduce it on demand, I'll try and help debug it for you. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 11:16, Martin Schreiber wrote: > > OK, that is what i suspected yesterday. Should already be fixed in git master, > please get an update. HEAD is 17b7b92dae41a97b182abdba33214eb6bd5aeeb5 at the > moment. There is some progress. If I don't make any changes in the editor, but simply launch the external tools (after I loaded the IDE), then it detects the changes the external tool made. This works every time. And it works with or without the S option in external tools. But, as soon as I make a change in the editor and save the file, then launch the external tool, then no more external changes are detected. :-( I can launch the external tool multiple times, and no changes are detected. So as soon as the IDE editor made any changes, then it is broken until I restart the IDE. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 12.30:42 Graeme Geldenhuys wrote: > > @Martin, > I haven't had a look at the specific MSEide code yet, but how > difficult do you think (off the top of your head) would it be to > replace the current "file changed detection" code with a different > implementation (eg: what I did in my experimental IDE, as I described > before). This is not for official use, purely as an "yet another > Graeme customisation" for the IDE. If you don't think it would be too > much work, I might give this a try - at least it could solve one of > the long outstanding MSEide issues for me - until the real bug is > resolved. > As you can reproduce the problem(s) every time there should be no problem to fix the bug(s). Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 11:11, Julio Jiménez wrote: > > Ini file?. May be are we using different JCF versions? > > Mine uses by default a config file in XML format (JCFSettings.cfg): Oops, I was mistaken - probably got confused with another tool. My *.cfg file is also a XML file. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 11:05, Julio Jiménez wrote: > About this issue I confirm what I said before. If I don't use MSEide save > option (file->save o 'S' Column) all si running fine.. changes are detected > for every file I reformat. If I save a file.. no matter what file I save Again, for some reason that doesn't work for me. @Martin, I haven't had a look at the specific MSEide code yet, but how difficult do you think (off the top of your head) would it be to replace the current "file changed detection" code with a different implementation (eg: what I did in my experimental IDE, as I described before). This is not for official use, purely as an "yet another Graeme customisation" for the IDE. If you don't think it would be too much work, I might give this a try - at least it could solve one of the long outstanding MSEide issues for me - until the real bug is resolved. > BTW ptop (included in freepascal) is not bad because it allows you to change I tried ptop a long time ago. It just wasn't flexible enough for my needs. So now I stay with JCF. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Yes, if I close the file and reopen it I se the code reformatted 2012/2/24 Martin Schreiber > On Friday, 24. February 2012 10.27:58 Julio Jiménez wrote: > > Not it's a bit better.. Sometimes it detects the changes :( but only > > sometimes. > > > Are you sure the external tool actually changes the file? > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 10.27:58 Julio Jiménez wrote: > Not it's a bit better.. Sometimes it detects the changes :( but only > sometimes. > Are you sure the external tool actually changes the file? Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Not it's a bit better.. Sometimes it detects the changes :( but only sometimes. 2012/2/24 Martin Schreiber > On Friday, 24. February 2012 10.05:16 Julio Jiménez wrote: > > > > About this issue I confirm what I said before. If I don't use MSEide save > > option (file->save o 'S' Column) all si running fine.. changes are > > detected for every file I reformat. If I save a file.. no matter what > file > > I save then changes are no longer detected. So something happens in > MSEide > > with save option and file changes detection. I don't know if Graeme can > > confirm this too. > > > OK, that is what i suspected yesterday. Should already be fixed in git > master, > please get an update. HEAD is 17b7b92dae41a97b182abdba33214eb6bd5aeeb5 at > the > moment. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Friday, 24. February 2012 10.05:16 Julio Jiménez wrote: > > About this issue I confirm what I said before. If I don't use MSEide save > option (file->save o 'S' Column) all si running fine.. changes are > detected for every file I reformat. If I save a file.. no matter what file > I save then changes are no longer detected. So something happens in MSEide > with save option and file changes detection. I don't know if Graeme can > confirm this too. > OK, that is what i suspected yesterday. Should already be fixed in git master, please get an update. HEAD is 17b7b92dae41a97b182abdba33214eb6bd5aeeb5 at the moment. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/24 Graeme Geldenhuys > On 24 February 2012 03:02, Sieghard wrote: > > emulated "registry" on Linux, at least your formatter seems to do so. > > It's nice to know that they should compile on Linux also, but this > reliance > > on a "registry" bothers me somewhat. > > I use JCF, and all settings are stored in a *.ini file. I haven't > looked at the code to see what it uses though. But there is clearly an > option in my copy of JCF (I use the original Windows version under > Linux with WINE) that says, do you want to use the Registry or INI > file for storing settings. > > Ini file?. May be are we using different JCF versions? Mine uses by default a config file in XML format (JCFSettings.cfg): 2.44 39387.7118126273 JEDI Code Format Settings False 1 True True True True ... ... Cheers -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/24 Martin Schreiber > On Thursday, 23. February 2012 22.23:42 Graeme Geldenhuys wrote: > > On 23 February 2012 17:22, Julio Jiménez wrote: > > > and git pull gives me all is up to date. > > > > > > But I see your commit at MSEide+MSEgui gitorious page. > > > > Possible options > > > > 3) Martin did a commit, but he simply forgot to push those changes to > > the public repository. :) > > Nope, Gitorious website lists pushed commits only. It does not look into my > computer I hope. ;-) > > Are you sure? ;) About this issue I confirm what I said before. If I don't use MSEide save option (file->save o 'S' Column) all si running fine.. changes are detected for every file I reformat. If I save a file.. no matter what file I save then changes are no longer detected. So something happens in MSEide with save option and file changes detection. I don't know if Graeme can confirm this too. BTW ptop (included in freepascal) is not bad because it allows you to change the default config file, but the included format your code with an oldish style.. heh :) Probably I'll play with it to check if I can make it working for my needs, because lot of stuff in JCF is hardcoded. Cheers. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hi Graeme I use master brank, all was fine since I used git. It happened only yesterdat, in fact when I went at home it was working fine (at home). Today (at work) it's ok too so I get the last changes. Really I don't know what happened :) Cheers 2012/2/23 Graeme Geldenhuys > On 23 February 2012 17:22, Julio Jiménez wrote: > > and git pull gives me all is up to date. > > > > But I see your commit at MSEide+MSEgui gitorious page. > > > Possible options > > > 1) Do you have multiple repositories setup. If so, is gitorious the > default. If not, you have to specify which repository it should pull > from. > > 2) Are you in the "master" (a tracking branch), or a local (non > tracking branch). If the latter, git will update the master branch, > but not touch your local branch (that is what "tracking" means). So > you might not see the change in your current branch, but it is there > in the master branch. Do a 'gitk --all' to see. > > 3) Martin did a commit, but he simply forgot to push those changes to > the public repository. :) > > > -- > Regards, > - Graeme - > > > ___ > fpGUI - a cross-platform Free Pascal GUI toolkit > http://fpgui.sourceforge.net > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/24 Sieghard > > I know about the Jedi components, although I never used any. They > definitely stem from the Windows world, and they possibly even use an > emulated "registry" on Linux, at least your formatter seems to do so. > It's nice to know that they should compile on Linux also, but this reliance > on a "registry" bothers me somewhat. > Anyway, I hope your proceedings go well and you decide for the optimal > choice. > > Hallo Sieghard I don't know what "registry" are you talking about. JCF uses a config file that you can change for your needs (in part) like other programs (linux and windows). Regards. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 03:02, Sieghard wrote: > emulated "registry" on Linux, at least your formatter seems to do so. > It's nice to know that they should compile on Linux also, but this reliance > on a "registry" bothers me somewhat. I use JCF, and all settings are stored in a *.ini file. I haven't looked at the code to see what it uses though. But there is clearly an option in my copy of JCF (I use the original Windows version under Linux with WINE) that says, do you want to use the Registry or INI file for storing settings. Anyway, FPC does include a "registry" unit, which simply emulates the windows registry layout, but stores settings in a XML file. Other than the emulation bit, it has no dependencies on the actual Windows Registry. So the FPC 'registry' unit should be fine to use - though I would not recommend it or use it myself. I much prefer INI files for storing settings (I don't like XML at all). -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/24 Sieghard > Hallo Julio, > > Du schriebst am Thu, 23 Feb 2012 20:45:27 +0100: > > > > "registry", which is a defining earmark for windows based software. > ... > > If you read up, you'll discover I'm using Debian testing (Sid in this > > Fine for you, did you mention that before? > > Yes, that's why I said "if you read up" 8th message in this topic: " I'm using Debian testing, i386 and Freepascal 2.6.0 I can reproduce everytime... :( why not a 'R' column (like 'S') but for reloading files after the command has been executed :D Cheers. " I'm not JCF author and because this tool runs under Delphi and Freepascal, probably the author used windows. But this is out of topic :) Actually I only take a look at windows, for testing purposes. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 24 February 2012 07:41, Martin Schreiber wrote: > > Nope, Gitorious website lists pushed commits only. It does not look into my > computer I hope. ;-) Sorry, I slipped-up on that one. ;-) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Thursday, 23. February 2012 22.23:42 Graeme Geldenhuys wrote: > On 23 February 2012 17:22, Julio Jiménez wrote: > > and git pull gives me all is up to date. > > > > But I see your commit at MSEide+MSEgui gitorious page. > > Possible options > > 3) Martin did a commit, but he simply forgot to push those changes to > the public repository. :) Nope, Gitorious website lists pushed commits only. It does not look into my computer I hope. ;-) Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Julio, Du schriebst am Thu, 23 Feb 2012 20:45:27 +0100: > > "registry", which is a defining earmark for windows based software. ... > If you read up, you'll discover I'm using Debian testing (Sid in this Fine for you, did you mention that before? > machine) i386 + freepascal 2.6.0. JCF has nothing to do with windows, it's > Jedy Code Format. I compiled it from lazarus components examples. It does I know about the Jedi components, although I never used any. They definitely stem from the Windows world, and they possibly even use an emulated "registry" on Linux, at least your formatter seems to do so. It's nice to know that they should compile on Linux also, but this reliance on a "registry" bothers me somewhat. Anyway, I hope your proceedings go well and you decide for the optimal choice. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 17:22, Julio Jiménez wrote: > and git pull gives me all is up to date. > > But I see your commit at MSEide+MSEgui gitorious page. Possible options 1) Do you have multiple repositories setup. If so, is gitorious the default. If not, you have to specify which repository it should pull from. 2) Are you in the "master" (a tracking branch), or a local (non tracking branch). If the latter, git will update the master branch, but not touch your local branch (that is what "tracking" means). So you might not see the change in your current branch, but it is there in the master branch. Do a 'gitk --all' to see. 3) Martin did a commit, but he simply forgot to push those changes to the public repository. :) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Lars, Du schriebst am Wed, 22 Feb 2012 19:59:19 -0600: > > Wasn't the Unix "philosophy" once "one task, one tool"? > > Yes, it is good in theory, and i like that idea. But in practice sharing > code between processes is too hard, which is why people use dll/dso's or > threading. Yes, and what's the problem with these? > Imagine if Firefox didn't have any flash video capability and just parsed > plain HTML and nothing else (one tool, one job).. then youtube.com would > be broken and people would need a separate video tool to see youtube Yes, that would be very desireable. Mournfully, firefox is so bloated, and even more sadly there are multiple viewers for flash, which makes this pest even more prone to become ubiquitous. > videos, and the videos wouldn't be embedded in the web page, you'd have to > download the video first and then watch the video in VLC/windows media > player. Yes, that's what I would want to do anyway - but there are many who want to prohibit it - that way, it could be downloaded automatically and viewed if time was available, and not even waste _my_ bandwidth when I'm online. (But I hardly ever watch online videos anyway.) > > user add more functions as plug-ins. And eclipse certainly isn't a > > frugal piece of software. > > Firefox also has extensions for lots of junk that most people don't need, Firefos isn't an IDE, never meant to be close. And still there are efforts to provide similar functions via a browser as an interface to those high touted new cloud services - a misty development indeed. > The problem with external processes (the unix way) is that sharing code is > difficult. I never found IPC (interprocess communication) or piping to be > as easy to use as dll/dso communication. Using sockets (tcp/ip) to That's maybe caused by the fact that "dll/dso communication" isn't "communication" at all, it is simply _using_ functions directly. (What,BTW, does "dso" mean here? I seem to remember that abbreviation in conjunction with oscilloscopes.) Communication involves data transfer, sometimes called "message passing", via predefined and usage independent transfer channels. Even the channels might change without affecting the function of the communicating parts. > the higher level IPC stuff available (fpc now has IPC, but I still found > it to be kind of arcane/low level compared to using DLL's where the code > is shared directly). Fine, go ahead and build a dll style communication system to share code between processes, operating systems, machines, networks and so forth. You know that there are several attempts at such stuff, none of which has come into widespread use yet? You certainly know the acronym "CORBA", which is an application interface layer for such a communication system - it's weird, slow and bloated, although it _does_ work and it _is_ used. Probabely also for cloud services... ];-> -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Martin, Du schriebst am Thu, 23 Feb 2012 07:06:10 +0100: > > BTW, _how_does it detect it? That might give clue as to when a change ... > On Linux it uses signals on directory change by fcntl(dirfilehandle, > F_NOTIFY). That's the older method, though that probabely doesn't mean a thing. Bt it _could_ mean that there are other clients to the service, e.g. such as a window / desktop / session ... manager, that somehow blocks or modifies the signals, so your IDE doesn't get or recognize them. This occured to me because I'm using a rather basic windows manager (openbox, still;), while others might use a full blown destop system. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Sieghard > > But then, Julio seems to not use Linux at all, as his formatter uses a > "registry", which is a defining earmark for windows based software. > And that's certain to be different. > > Hallo Sieghard If you read up, you'll discover I'm using Debian testing (Sid in this machine) i386 + freepascal 2.6.0. JCF has nothing to do with windows, it's Jedy Code Format. I compiled it from lazarus components examples. It does work under linux, windows and probably Mac. You can find it here too: http://jedicodeformat.sourceforge.net/ BTW I'm only testing tools, tried ptop, JCF.. still didn't decided nothing. JCF fits my needs I guess. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Graeme, Du schriebst am Thu, 23 Feb 2012 09:35:11 +0200: > :-) Well, that is exactly what Julio and I are reporting. External > changes to a openned file is not always detected by the IDE. Not quite - for me, the IDE seems to _detect_ the change most of the time, for you, it ssems to _miss_ it most of the time. > It has nothing to do with speed. I use a external UI Designer to ... Yes, I realize from the turmoil of testing and suggesting that it must be a more complex issue. But that leads me to another consideration: Martin mentioned that he used the fnotify mechanism of Linux; this is the older of the existing methods, but that probabely doesn't mean a thing. What I'm suspecting is whether it may be the case that these signals are _also_ registered to a window / desktop / session ... manager that somehow "exhausts" them, so no further processing is done on them. This occurs to me as I'm using a very basic window manager only (openbox), while you probabely use one of the more advanced (aka bloated;) desktop environments. But then, Julio seems to not use Linux at all, as his formatter uses a "registry", which is a defining earmark for windows based software. And that's certain to be different. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Martin Schreiber > > Steps: > - load test.txt in editor, the tab must be active at least one time. > - run in a shell > " > cp test.txt.copy test.txt > " > - MSEide asks for reloading the changed file. > > Right. Now the nex test.txt file is detected After doing another test I have discovered: If I do not save the file with MSEide and run the tool, it detects the file has changed and askes to reload it. If you do save the file in MSEide (or activate S column) then there is nothing to do.. changes aren't detected, so it seems MSEide save file does/changes something Cheers -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Thursday, 23. February 2012 16.22:00 Julio Jiménez wrote: > Weird.. does gitorious have delay? > > git log > commit b4cbd8992dfdd17b051ef8d331f81430b6984f08 > Author: Martin Schreiber > Date: Wed Feb 22 08:34:06 2012 +0100 > > * Fixed designer component move mode after copy. > > and git pull gives me all is up to date. > > But I see your commit at MSEide+MSEgui gitorious page. > This file is current: http://gitorious.org/mseide-msegui/mseide-msegui/blobs/master/apps/ide/sourcepage.pas Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Weird.. does gitorious have delay? git log commit b4cbd8992dfdd17b051ef8d331f81430b6984f08 Author: Martin Schreiber Date: Wed Feb 22 08:34:06 2012 +0100 * Fixed designer component move mode after copy. and git pull gives me all is up to date. But I see your commit at MSEide+MSEgui gitorious page. 2012/2/23 Martin Schreiber > On Thursday, 23. February 2012 10.57:25 Julio Jiménez wrote: > > > > If I have a file IE main.pas and MSEide and this file open, I execute > in a > > shell touch main.pas and then when I click MSEide editor.. it detects the > > file has changed. > > > > It doesn't detect if you replace the file by another. > > There was a problem with in editor modified files, fixed in git master > 24abd2d532b6ce0cf0f2c6535a79936fa2bb324e. It probably will not help you > because you write there is no difference if you save a changed editor > file "by hand" and wait 10 seconds before calling the external tool. > My MSEide detects overwritten files by cp command. > Steps: > - load test.txt in editor, the tab must be active at least one time. > - run in a shell > " > cp test.txt.copy test.txt > " > - MSEide asks for reloading the changed file. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Thursday, 23. February 2012 10.57:25 Julio Jiménez wrote: > > If I have a file IE main.pas and MSEide and this file open, I execute in a > shell touch main.pas and then when I click MSEide editor.. it detects the > file has changed. > > It doesn't detect if you replace the file by another. There was a problem with in editor modified files, fixed in git master 24abd2d532b6ce0cf0f2c6535a79936fa2bb324e. It probably will not help you because you write there is no difference if you save a changed editor file "by hand" and wait 10 seconds before calling the external tool. My MSEide detects overwritten files by cp command. Steps: - load test.txt in editor, the tab must be active at least one time. - run in a shell " cp test.txt.copy test.txt " - MSEide asks for reloading the changed file. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 13:22, Martin Schreiber wrote: > > 64 bit? Yes. I'll try and recompile MSEide for 32-bit Linux and see if there is any difference on my system. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Thursday, 23. February 2012 12.16:29 Graeme Geldenhuys wrote: > On 23 February 2012 11:57, Julio Jiménez wrote: > > What do you mean for 'doesn't work for me'? > > > > If I have a file IE main.pas and MSEide and this file open, I execute in > > a shell touch main.pas and then when I click MSEide editor.. it detects > > the file has changed. > > > > It doesn't detect if you replace the file by another. > > Exactly what I said. :) I tried to use the 'touch ' from a > shell prompt or replace the filename with a modified one, or edit the > existing file and saving (using gEdit) - all while MSEide is running > hand has that file openned. MSEide never detects that the file has > changed. The 'touch' method might work for you, but it doesn't work > here. 64 bit? -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 11:57, Julio Jiménez wrote: >> > What do you mean for 'doesn't work for me'? > > If I have a file IE main.pas and MSEide and this file open, I execute in a > shell touch main.pas and then when I click MSEide editor.. it detects the > file has changed. > > It doesn't detect if you replace the file by another. Exactly what I said. :) I tried to use the 'touch ' from a shell prompt or replace the filename with a modified one, or edit the existing file and saving (using gEdit) - all while MSEide is running hand has that file openned. MSEide never detects that the file has changed. The 'touch' method might work for you, but it doesn't work here. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
I'll be more explicit :) If you execute 'touch file.pas', MSEide doesn't detect the change? in my case, it detects it. The problem is when the edited file is replaced by another one, or it seems so. I'm not sure if JCF -inplace does replace the edited file or not. Cheers. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Graeme Geldenhuys > On 23 February 2012 11:46, Julio Jiménez wrote: > > replacing the file?) if you replace the file by another, mseide doesn't > > detect it. if you 'touch' the file, yes. > > > That doesn't work for me. > > > > What do you mean for 'doesn't work for me'? If I have a file IE main.pas and MSEide and this file open, I execute in a shell touch main.pas and then when I click MSEide editor.. it detects the file has changed. It doesn't detect if you replace the file by another. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 11:46, Julio Jiménez wrote: > replacing the file?) if you replace the file by another, mseide doesn't > detect it. if you 'touch' the file, yes. That doesn't work for me. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 11:33, Martin Schreiber wrote: >> > What if you wait 10 seconds after saving the editor file manually before > running the tool? Made no difference here. I disabled the "auto save" option in external tools. Made a change in the editor and saved. Waited 15 seconds, then launched the external tool where I made a change and saved. Returned to the ide - no reload. I waited another 15 seconds without doing anything in the IDE. Still no reload. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Martin Schreiber > On Thursday, 23. February 2012 10.10:03 Julio Jiménez wrote: > > 2012/2/23 Martin Schreiber > > > > > > I have a suspicion. Does it happen if the file has been changed in > source > > > editor? Is there a difference if the changed file already has been > saved > > > in IDE before running the tool? > > > > I had 'S' column marked so the file is saved before being reformatted. I > > tried with S, without S, editing file.. not editing file... In my case > > MSEide doesn't detect the file has been changed almost always (in fact > only > > detected once). > > > > MSEide only detected the file changed in this way: S marked, open MSEide > > and did some changes in a file, then I close and open MSEide again, > execute > > reformat tool.. then it detected the file was changed and ask to reload > it. > > > > If I edit the file and save it in the editor or with S option.. no > changed > > detected after the code is formatted. I tried JCF with all the options.. > > backup, inline.. and nothing. > > > What if you wait 10 seconds after saving the editor file manually before > running the tool? > > Nothing happens.. the change isn't detected. (have you read my test about replacing the file?) if you replace the file by another, mseide doesn't detect it. if you 'touch' the file, yes. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Graeme Geldenhuys > On 22 February 2012 22:28, Julio Jiménez wrote: > > > > Of course, MSEide Tools system is a good option too, > > Indeed. I too, use the JCF to do code formatting. Unfortunately the > JCF is getting a bit outdated with the language features and syntax of > FPC. Luckily it still works most of the times on my code without > problems. > > My main problem using JCF is not managing properly generics, in my case inheriting from specialized generic class. I have to take a look at the default JCF config file, probably I can add 'specialize' token/rules or report a bug. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 11:10, Julio Jiménez wrote: > tried with S, without S, editing file.. not editing file... In my case > MSEide doesn't detect the file has been changed almost always (in fact only > detected once). Same here. I ran about 10 variations of saved and not saved scenarios, and MSEide only once detected and reloaded for me. Repeating that "successful reload" test immediately again - it didn't reload. So the detections is totally random, but way more failures than successes. > About using a Reload option.. from my point of view, if I run a tool that > modifies a file, to reload the file is required always, so an option to do > it looks the simple way to do it. True, a good point about the Save option. So having a Reload option is probably the safest and easiest way of making sure files get reloaded. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Thursday, 23. February 2012 10.10:03 Julio Jiménez wrote: > 2012/2/23 Martin Schreiber > > > > I have a suspicion. Does it happen if the file has been changed in source > > editor? Is there a difference if the changed file already has been saved > > in IDE before running the tool? > > I had 'S' column marked so the file is saved before being reformatted. I > tried with S, without S, editing file.. not editing file... In my case > MSEide doesn't detect the file has been changed almost always (in fact only > detected once). > > MSEide only detected the file changed in this way: S marked, open MSEide > and did some changes in a file, then I close and open MSEide again, execute > reformat tool.. then it detected the file was changed and ask to reload it. > > If I edit the file and save it in the editor or with S option.. no changed > detected after the code is formatted. I tried JCF with all the options.. > backup, inline.. and nothing. > What if you wait 10 seconds after saving the editor file manually before running the tool? Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Graeme Geldenhuys > On 22 February 2012 19:57, Martin Schreiber wrote: > >> why not a 'R' column (like 'S') but for reloading files after the > >> command has been executed :D > > > > Maybe, but first the bug must be fixed. > > > I must agree with Martin. The best option would be to fix the bug > first. If the bug really cannot be found, then as a last resort, add > the Reload option. > > Yes, of course.. but what happens if the bug is a wrong way/strategy to detect file changes? Thats why I said.. using the logic, if you change a file.. you have to reload it.. simple. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Martin Schreiber > On Wednesday, 22. February 2012 19.10:15 Sieghard wrote: > > > BTW, _how_does it detect it? That might give clue as to when a change may > > get lost. According to Julio's reports, it seems that this happens > > perferentially if a change is made fast, like his external formatter. > > On Linux it uses signals on directory change by fcntl(dirfilehandle, > F_NOTIFY). > > I'm using JCF for now, the sintax is: JEDI Code Format V2.44 August 2009 A Delphi Object-Pascal Source code formatter A GUI version of this program is also available Latest version at http://jedicodeformat.sourceforge.net/ Syntax: jcf [options] path/filename Parameters to the command-line program: Mode of operation: -obfuscate Obfuscate mode or -clarify Clarify mode When neither is specified, registry setting will be used. This normally means clarify. Mode of source: -F Format a file. The file name must be specified. -D Format a directory. The directory name must be specified. -R Format a directory tree. The root directory name must be specified. When no file mode is specified, registry setting will be used. Mode of output: -inplace change the source file without backup -out output to a new file -backup change the file and leave the original file as a backup If no output mode is specified, registry setting will be used. Other options: -config=filename To specify a named configuration file -y Overwrite files without confirmation. -? Display this help I tried: -inplace change the source file without backup and -backup change the file and leave the original file as a backup if I do IE 'touch main.pas' then a shell, mseide detects the file change every time.. weird. May be the file is replaced and MSEide can't detect it? Well.. I respond myself :) I did a copy of main.pas file edited and reformatted it.. then I did 'cp backup.pas main.pas' and MSEide was happily ignoring the changes.. or may be this is what is happening (or one of the cases). -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/23 Martin Schreiber > On Wednesday, 22. February 2012 18.05:55 Julio Jiménez wrote: > > I'm using > > Debian testing, i386 and Freepascal 2.6.0 > > > > I can reproduce everytime... :( > > > I have a suspicion. Does it happen if the file has been changed in source > editor? Is there a difference if the changed file already has been saved in > IDE before running the tool? > > I had 'S' column marked so the file is saved before being reformatted. I tried with S, without S, editing file.. not editing file... In my case MSEide doesn't detect the file has been changed almost always (in fact only detected once). MSEide only detected the file changed in this way: S marked, open MSEide and did some changes in a file, then I close and open MSEide again, execute reformat tool.. then it detected the file was changed and ask to reload it. If I edit the file and save it in the editor or with S option.. no changed detected after the code is formatted. I tried JCF with all the options.. backup, inline.. and nothing. About using a Reload option.. from my point of view, if I run a tool that modifies a file, to reload the file is required always, so an option to do it looks the simple way to do it. Probably the reason is the same you argued when added S column to save the file. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 10:09, Martin Schreiber wrote: >> > I have a suspicion. Does it happen if the file has been changed in source > editor? Is there a difference if the changed file already has been saved in > IDE before running the tool? I just tested this a couple of times. Make so difference here. :-( -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 03:59, Lars wrote: > > Yes, it is good in theory, and i like that idea. But in practice sharing > code between processes is too hard, which is why people use dll/dso's or > threading. [...totally off-topic...] There are people in the Lazarus mailing list that might be interested in your LUFDOC tool, for use with Lazarus documentation. You mentioned on your website that you were going to release the tool, but never did. If you are interested, maybe you should pop into the Lazarus mailing list for a while. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Wednesday, 22. February 2012 18.05:55 Julio Jiménez wrote: > I'm using > Debian testing, i386 and Freepascal 2.6.0 > > I can reproduce everytime... :( > I have a suspicion. Does it happen if the file has been changed in source editor? Is there a difference if the changed file already has been saved in IDE before running the tool? Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 23 February 2012 08:06, Martin Schreiber wrote: >> BTW, _how_does it detect it? That might give clue as to when a change may >> get lost. According to Julio's reports, it seems that this happens >> perferentially if a change is made fast, like his external formatter. > > On Linux it uses signals on directory change by fcntl(dirfilehandle, > F_NOTIFY). For my "experimental" IDE in fpGUI, I kept it simple and cross-platform. When a file is loaded or saved, I generate a reference SHA1 value. Then in the IDE I have separate thread running that rechecks the SHA1 value of the current open files. If a difference is found, the file is reloaded. My implementation is simple and can obviously be extended to support more features. It might not be as "optimal" as Linux signals or Windows whatever, but it was simple to implement, works consistently across all platforms, uses no noticeable CPU load, and has never failed to detect an external change yet. So if the bug really can't be found, or continues not to be reproducible by you, maybe this is an alternative file-change-detection implementation you can think of using. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 19:17, Martin Schreiber wrote: > > True. git master a02588dc77d17b08a6963c0729614ee3fe278555 has it. Thanks. I am sure many would find that very useful. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 22:28, Julio Jiménez wrote: > > Of course, MSEide Tools system is a good option too, Indeed. I too, use the JCF to do code formatting. Unfortunately the JCF is getting a bit outdated with the language features and syntax of FPC. Luckily it still works most of the times on my code without problems. @Sieghard I actually use the JCF code formatter a lot when I get code contributions for fpGUI. I don't restrict contributors to use my code formatting style while they are code. So instead, I will apply there patch, then run JCF over the code to suite my style before I commit. This saves me a huge amount of time. > MSEide that I find in others are some code refactoring, auto-completion and > the reformat code options. auto-completion, as in showing me a list of available methods or properties of a class, would be very handy! I like MSEide a lot, and used it often, but I do find that it slows me down a bit. I now have to always have DocView open, while I am working with MSEide. That way I can quickly search the RTL, FCL and fpGUI docs for a method or property name I can't remember. What I do like about MSEide is that it doesn't auto generate to much code, is very fast, compact user interface, excellent debugging, console output window support, and I'm actually starting to like the per-project compiler and editor settings. :) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 19:57, Martin Schreiber wrote: >> why not a 'R' column (like 'S') but for reloading files after the >> command has been executed :D > > Maybe, but first the bug must be fixed. I must agree with Martin. The best option would be to fix the bug first. If the bug really cannot be found, then as a last resort, add the Reload option. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 19:03, Martin Schreiber wrote: >> > It has been reported by Graeme on 64 bit Linux too, I never could reproduce. Well, at least I am glad to see two other people are experiencing the same issue as I - so I'm not going crazy. :) -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 20:10, Sieghard wrote: > > Well, I cannot _reproduce_ that either, but I can report also that the IDE > doen't _always_ detect an external file change. :-) Well, that is exactly what Julio and I are reporting. External changes to a openned file is not always detected by the IDE. > BTW, _how_does it detect it? That might give clue as to when a change may > get lost. According to Julio's reports, it seems that this happens > perferentially if a change is made fast, like his external formatter. It has nothing to do with speed. I use a external UI Designer to design my forms. Once I save those files (no matter how long I was editing them), and return to the IDE, 90% of the time it doesn't detect that the file was changed by an external tool. I then have to close the file and reopen it - otherwise I loose all my changes (which unfortunately happens from time to time). -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 17:29, Julio Jiménez wrote: > Well, to be precise.. sometimes MSEide detects the file has been changed and > ask to reload it.. but only sometimes.. weird :( I have been having the same problems for over a year. Using 64-bit Linux version of MSEide. I tried to debug it, but it is rather hard with code I don't know at all. Unfortunately Martin wasn't able to reproduce the issue, so it hasn't been fixed yet. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Wednesday, 22. February 2012 19.10:15 Sieghard wrote: > BTW, _how_does it detect it? That might give clue as to when a change may > get lost. According to Julio's reports, it seems that this happens > perferentially if a change is made fast, like his external formatter. On Linux it uses signals on directory change by fcntl(dirfilehandle, F_NOTIFY). Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
> For these things, there are specific tools available. > Wasn't the Unix "philosophy" once "one task, one tool"? Yes, it is good in theory, and i like that idea. But in practice sharing code between processes is too hard, which is why people use dll/dso's or threading. Imagine if Firefox didn't have any flash video capability and just parsed plain HTML and nothing else (one tool, one job).. then youtube.com would be broken and people would need a separate video tool to see youtube videos, and the videos wouldn't be embedded in the web page, you'd have to download the video first and then watch the video in VLC/windows media player. > I.e. if you want to use an IDE, it should not also include all the other > tools you might want to use already, but instead provide a means to add > them via external programs, as MSEIDE does. > Even eclipse doesn't include everything from the start, it instead lets > the > user add more functions as plug-ins. And eclipse certainly isn't a frugal > piece of software. > Firefox also has extensions for lots of junk that most people don't need, but useful stuff for people who do need that extra junk. Delphi also has the open tools api to install extra junk, some of it useful junk, some of it useless junk. Total commander has a good plugin system too. The problem with external processes (the unix way) is that sharing code is difficult. I never found IPC (interprocess communication) or piping to be as easy to use as dll/dso communication. Using sockets (tcp/ip) to comminicate between processes is low level and painful compared to using a dll or a thread. I would prefer it if there were no Threads, and people could share between processes instead of threading. Unix people call threaded programs "too chubby" and prefer it if people used processes. I however find processes to be too hard to share between, even with some of the higher level IPC stuff available (fpc now has IPC, but I still found it to be kind of arcane/low level compared to using DLL's where the code is shared directly). -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Julio, Du schriebst am Wed, 22 Feb 2012 21:28:25 +0100: > I'm not saying turning on by default, it's only an option. You can use it > or not. Ok, then there's no problem. > Usually you can configure the code formatter rules adapting it to your > needs. Within limits. > Of course, MSEide Tools system is a good option too, but what I miss in > MSEide that I find in others are some code refactoring, auto-completion > and the reformat code options. For these things, there are specific tools available. Wasn't the Unix "philosophy" once "one task, one tool"? I.e. if you want to use an IDE, it should not also include all the other tools you might want to use already, but instead provide a means to add them via external programs, as MSEIDE does. Even eclipse doesn't include everything from the start, it instead lets the user add more functions as plug-ins. And eclipse certainly isn't a frugal piece of software. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
2012/2/22 Martin Schreiber > Am 22.02.2012 18:05, schrieb Julio Jiménez: > > I'm using > > Debian testing, i386 and Freepascal 2.6.0 > > > > I can reproduce everytime... :( > > > Super! Then there is no problem for you to debug, no? ;-) > Ok :) > > > why not a 'R' column (like 'S') but for reloading files after the > > command has been executed :D > > > Maybe, but first the bug must be fixed. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hi Sieghard. I'm not saying turning on by default, it's only an option. You can use it or not. Usually you can configure the code formatter rules adapting it to your needs. Of course, MSEide Tools system is a good option too, but what I miss in MSEide that I find in others are some code refactoring, auto-completion and the reformat code options. Cheers. 2012/2/22 Sieghard > Hallo Julio, > > Du schriebst am Wed, 22 Feb 2012 13:19:49 +0100: > > > an input file and an output file (that can be the same). I wonder why > > MSEide doesn't use it by default. (almost any IDE out there have a code > > formatter. > > Even _if_ many IDEs had a code formatter (I doubt that anyway), there's > Anjuta: http://developer.gnome.org/anjuta-manual/3.0/editing-files.html.en#autoformat NetBeans: Alt+Shift+F Eclipse: CTRL + Shift + F Lazarus: (needs JCF component installed) Ctrl + D KDevelop: "Edit > Reformat Source" (IIRC) ... > probabely a reason why this is commonly turned _off_ by default, or at > least _can_ be turned off. There may be many reasons, one e.g. being that > the formatter cannot be set up in a way some person likes it best. > (Others might just prefer to _not_ have their code messed up with, or they > dislike the always equal notation of some language elements, or whatever.) > > -- > (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung > nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) > --- > Mit freundlichen Grüßen, S. Schicktanz > --- > > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Julio, Du schriebst am Wed, 22 Feb 2012 13:19:49 +0100: > an input file and an output file (that can be the same). I wonder why > MSEide doesn't use it by default. (almost any IDE out there have a code > formatter. Even _if_ many IDEs had a code formatter (I doubt that anyway), there's probabely a reason why this is commonly turned _off_ by default, or at least _can_ be turned off. There may be many reasons, one e.g. being that the formatter cannot be set up in a way some person likes it best. (Others might just prefer to _not_ have their code messed up with, or they dislike the always equal notation of some language elements, or whatever.) -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hallo Martin, Du schriebst am Wed, 22 Feb 2012 18:03:48 +0100: > > Well, to be precise.. sometimes MSEide detects the file has been changed ... > It has been reported by Graeme on 64 bit Linux too, I never could > reproduce. Well, I cannot _reproduce_ that either, but I can report also that the IDE doen't _always_ detect an external file change. BTW, _how_does it detect it? That might give clue as to when a change may get lost. According to Julio's reports, it seems that this happens perferentially if a change is made fast, like his external formatter. -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) --- Mit freundlichen Grüßen, S. Schicktanz --- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Am 22.02.2012 18:05, schrieb Julio Jiménez: > I'm using > Debian testing, i386 and Freepascal 2.6.0 > > I can reproduce everytime... :( > Super! Then there is no problem for you to debug, no? ;-) > why not a 'R' column (like 'S') but for reloading files after the > command has been executed :D > Maybe, but first the bug must be fixed. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Wednesday 22 February 2012 15:54:13 Graeme Geldenhuys wrote: > > By the way, these macros are not mentioned anywhere in the readme.txt > file I found in the repository (the only documentation included with > MSEgui). True. git master a02588dc77d17b08a6963c0729614ee3fe278555 has it. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
I'm using Debian testing, i386 and Freepascal 2.6.0 I can reproduce everytime... :( why not a 'R' column (like 'S') but for reloading files after the command has been executed :D Cheers. 2012/2/22 Martin Schreiber > On Wednesday 22 February 2012 16:29:18 Julio Jiménez wrote: > > Well, to be precise.. sometimes MSEide detects the file has been changed > > and ask to reload it.. but only sometimes.. weird :( > > > It has been reported by Graeme on 64 bit Linux too, I never could > reproduce. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Wednesday 22 February 2012 16:29:18 Julio Jiménez wrote: > Well, to be precise.. sometimes MSEide detects the file has been changed > and ask to reload it.. but only sometimes.. weird :( > It has been reported by Graeme on 64 bit Linux too, I never could reproduce. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Well, to be precise.. sometimes MSEide detects the file has been changed and ask to reload it.. but only sometimes.. weird :( 2012/2/22 Martin Schreiber > On Wednesday 22 February 2012 13:19:49 Julio Jiménez wrote: > > Hi Martin > > > > I would like to use a code formatter with MSEide. I've seen it can be > done > > in Project options -> Tools, but I'm not sure how to use it. > > > Please use macros in the commandline. Possible values: > ${CURSOURCEFILE} current source file. > ${CURMODULEFILE} current *.mfm file. > ${CURSSELECTION} selected text in source editor. > ${CURSWORD} word at cursor in text editor > ${CURSDEFINITION} definition of the current token at cursor (Ctrl+LClick > destination), needs activated P-column (Parse source before call) to be > current. > ${CURCOMPONENTCLASS} current selected component class in form editor. > ${CURPROPERTY} current selected property in object inspector. > > I'll add expanding the project macros, could be useful sometimes. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Hi! I'm testing tool options using JCF (command line tool for Jedi Code Formatter) and all is working fine except the file is not reloaded after changed. I check 'S' (Save file) column. For File I use: /home/jujibo/Dev/jcf/JCF and for Parameters: ${CURSOURCEFILE} -backup If I close and reopen the file all is fine. Is there a way to reload the file after being changed? AFAIK 'JFD inputfile -backup' try to reformat the code.. if no errors.. rename inputfile to inputfile.bak and then save the new formatted file to inputfile 2012/2/22 Martin Schreiber > On Wednesday 22 February 2012 13:19:49 Julio Jiménez wrote: > > Hi Martin > > > > I would like to use a code formatter with MSEide. I've seen it can be > done > > in Project options -> Tools, but I'm not sure how to use it. > > > Please use macros in the commandline. Possible values: > ${CURSOURCEFILE} current source file. > ${CURMODULEFILE} current *.mfm file. > ${CURSSELECTION} selected text in source editor. > ${CURSWORD} word at cursor in text editor > ${CURSDEFINITION} definition of the current token at cursor (Ctrl+LClick > destination), needs activated P-column (Parse source before call) to be > current. > ${CURCOMPONENTCLASS} current selected component class in form editor. > ${CURPROPERTY} current selected property in object inspector. > > I'll add expanding the project macros, could be useful sometimes. > > Martin > > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On 22 February 2012 15:44, Martin Schreiber wrote: >> > Please use macros in the commandline. Possible values: > ${CURSOURCEFILE} current source file. > ${CURMODULEFILE} current *.mfm file. > ${CURSSELECTION} selected text in source editor. > ${CURSWORD} word at cursor in text editor > ${CURSDEFINITION} definition of the current token at cursor (Ctrl+LClick > destination), needs activated P-column (Parse source before call) to be > current. > ${CURCOMPONENTCLASS} current selected component class in form editor. > ${CURPROPERTY} current selected property in object inspector. By the way, these macros are not mentioned anywhere in the readme.txt file I found in the repository (the only documentation included with MSEgui). I had to setup a new external tool the other day, but couldn't remember the macro to use. I had to search the IDE source code to find the macros. It might be worth adding them to the readme.txt file, or adding a button (or popup menu) which inserts the available macros in the various edit fields. Just a thought. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
Martin Schreiber wrote: > > I'll add expanding the project macros, could be useful sometimes. > Done, git master d2112d242bb2c105d14da816ba4c4aeaa1a97321. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Using external tools
On Wednesday 22 February 2012 13:19:49 Julio Jiménez wrote: > Hi Martin > > I would like to use a code formatter with MSEide. I've seen it can be done > in Project options -> Tools, but I'm not sure how to use it. > Please use macros in the commandline. Possible values: ${CURSOURCEFILE} current source file. ${CURMODULEFILE} current *.mfm file. ${CURSSELECTION} selected text in source editor. ${CURSWORD} word at cursor in text editor ${CURSDEFINITION} definition of the current token at cursor (Ctrl+LClick destination), needs activated P-column (Parse source before call) to be current. ${CURCOMPONENTCLASS} current selected component class in form editor. ${CURPROPERTY} current selected property in object inspector. I'll add expanding the project macros, could be useful sometimes. Martin -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] Using external tools
Hi Martin I would like to use a code formatter with MSEide. I've seen it can be done in Project options -> Tools, but I'm not sure how to use it. One option is to use the tool ptop (included in FreePascal). It requires an input file and an output file (that can be the same). I wonder why MSEide doesn't use it by default. (almost any IDE out there have a code formatter. Thanks in advance. -- Julio Jiménez Borreguero -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk