From kari.laine at ...605... Tue Jul 1 22:07:01 2008 From: kari.laine at ...605... (Kari Laine) Date: Tue, 01 Jul 2008 23:07:01 +0300 Subject: [Gambas-devel] Compiling Gambas3 Message-ID: <486A8E65.8060507@...605...> Hi, I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I get this error ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't include ." I don't know QT enough to solve this - could someone help? On Debian machine all compiles nicely..... Best Regards Kari Laine From david_villalobos_c at ...7... Wed Jul 2 17:37:31 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 2 Jul 2008 08:37:31 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <418500.30173.qm@...557...> Hi Beno?t: I have made some changes in the gb.db.mysql component, now provides more functions, and some others like Confirm are disabled, my question is, how can I update the page: http://www.gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 to updated with the new changes? Best regards David From gambas at ...1... Wed Jul 2 19:27:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jul 2008 19:27:41 +0200 Subject: [Gambas-devel] Update wiki pages for gb.db.mysql In-Reply-To: <418500.30173.qm@...557...> References: <418500.30173.qm@...557...> Message-ID: <200807021927.41587.gambas@...1...> On mercredi 02 juillet 2008, David Villalobos Cambronero wrote: > Hi Beno?t: > > I have made some changes in the gb.db.mysql component, now provides more > functions, and some others like Confirm are disabled, my question is, how > can I update the page: > http://www.gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 to updated with > the new changes? > > Best regards > > David > I just have to upload the new component information files to the wiki server. I will do it as soon as possible. At the moment, I am busy with theatre and job until next week! Regards, -- Benoit Minisini From david_villalobos_c at ...7... Wed Jul 2 20:06:23 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 2 Jul 2008 11:06:23 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <483838.17209.qm@...556...> Ups... I'm making some pages, will they be affected? ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Wednesday, July 2, 2008 11:27:41 AM Subject: Re: [Gambas-devel] Update wiki pages for gb.db.mysql On mercredi 02 juillet 2008, David Villalobos Cambronero wrote: > Hi Beno?t: > > I have made some changes in the gb.db.mysql component, now provides more > functions, and some others like Confirm are disabled, my question is, how > can I update the page: > http://www.gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 to updated with > the new changes? > > Best regards > > David > I just have to upload the new component information files to the wiki server. I will do it as soon as possible. At the moment, I am busy with theatre and job until next week! Regards, -- Benoit Minisini ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas at ...1... Wed Jul 2 20:18:31 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jul 2008 20:18:31 +0200 Subject: [Gambas-devel] Update wiki pages for gb.db.mysql In-Reply-To: <483838.17209.qm@...556...> References: <483838.17209.qm@...556...> Message-ID: <200807022018.31139.gambas@...1...> On mercredi 02 juillet 2008, David Villalobos Cambronero wrote: > Ups... I'm making some pages, will they be affected? > No, just that you can't make the documentation page of new symbols before the updated information files are uploaded to the server. -- Benoit Minisini From david_villalobos_c at ...7... Wed Jul 2 20:20:52 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 2 Jul 2008 11:20:52 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <415463.30089.qm@...556...> ahhh, there is no problem ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Wednesday, July 2, 2008 12:18:31 PM Subject: Re: [Gambas-devel] Update wiki pages for gb.db.mysql On mercredi 02 juillet 2008, David Villalobos Cambronero wrote: > Ups... I'm making some pages, will they be affected? > No, just that you can't make the documentation page of new symbols before the updated information files are uploaded to the server. -- Benoit Minisini ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From kari.laine at ...605... Wed Jul 2 21:18:14 2008 From: kari.laine at ...605... (Kari Laine) Date: Wed, 02 Jul 2008 22:18:14 +0300 Subject: [Gambas-devel] Compiling Gambas3 In-Reply-To: <486A8E65.8060507@...605...> References: <486A8E65.8060507@...605...> Message-ID: <486BD476.8010109@...605...> Kari Laine wrote: > Hi, > > I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I > get this error > > ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED > -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT > -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g > -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF > .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp > CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't > include ." > > I don't know QT enough to solve this - could someone help? > > On Debian machine all compiles nicely..... > Same Problem with SUSE 11.0 - Hopefully someone would give me pointers what to try. Maybe I should ditch SUSE for Debian... Best Regards Kari Laine From gambas at ...1... Wed Jul 2 21:25:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jul 2008 21:25:04 +0200 Subject: [Gambas-devel] Compiling Gambas3 In-Reply-To: <486BD476.8010109@...605...> References: <486A8E65.8060507@...605...> <486BD476.8010109@...605...> Message-ID: <200807022125.04401.gambas@...1...> On mercredi 02 juillet 2008, Kari Laine wrote: > Kari Laine wrote: > > Hi, > > > > I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I > > get this error > > > > ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED > > -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT > > -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall > > -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g > > -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF > > .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp > > CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't > > include ." > > > > I don't know QT enough to solve this - could someone help? > > > > On Debian machine all compiles nicely..... > > Same Problem with SUSE 11.0 - Hopefully someone would give me pointers > what to try. > Maybe I should ditch SUSE for Debian... > > > Best Regards > Kari Laine > Can you send me the *full* output of ./configure & make? And can you tell us if you solve the problem? -- Benoit Minisini From kari.laine at ...605... Thu Jul 3 15:10:27 2008 From: kari.laine at ...605... (Kari Laine) Date: Thu, 03 Jul 2008 16:10:27 +0300 Subject: [Gambas-devel] Compiling Gambas3 In-Reply-To: <200807022125.04401.gambas@...1...> References: <486A8E65.8060507@...605...> <486BD476.8010109@...605...> <200807022125.04401.gambas@...1...> Message-ID: <486CCFC3.1000105@...605...> Benoit Minisini wrote: > On mercredi 02 juillet 2008, Kari Laine wrote: > >> Kari Laine wrote: >> >>> Hi, >>> >>> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I >>> get this error >>> >>> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED >>> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT >>> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall >>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g >>> -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF >>> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp >>> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't >>> include ." >>> >>> I don't know QT enough to solve this - could someone help? >>> >>> On Debian machine all compiles nicely..... >>> >> Same Problem with SUSE 11.0 - Hopefully someone would give me pointers >> what to try. >> Maybe I should ditch SUSE for Debian... >> >> >> Best Regards >> Kari Laine >> >> > > Can you send me the *full* output of ./configure & make? And can you tell us > if you solve the problem? > > Hi, I sended them over to your mail. Let me know if you did not receive them. Best Regards Kari Laine From kari.laine at ...605... Sat Jul 5 01:25:37 2008 From: kari.laine at ...605... (Kari Laine) Date: Sat, 05 Jul 2008 02:25:37 +0300 Subject: [Gambas-devel] Compiling Gambas3 In-Reply-To: <486BD476.8010109@...605...> References: <486A8E65.8060507@...605...> <486BD476.8010109@...605...> Message-ID: <486EB171.3020407@...605...> Kari Laine wrote: > Kari Laine wrote: > >> Hi, >> >> I try to compile today version 2008/07/01 version on SUSE 10.3 X86 and I >> get this error >> >> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED >> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT >> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall >> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g >> -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF >> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp >> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't >> include ." >> >> I don't know QT enough to solve this - could someone help? >> >> On Debian machine all compiles nicely..... >> >> > Same Problem with SUSE 11.0 - Hopefully someone would give me pointers > what to try. > Maybe I should ditch SUSE for Debian... > > > Best Regards > Kari Laine > No I am going to tell you howto shoot youself in the foot in SUSE.... This problem was caused by the fact that I had both Qt3-devel and Qt4-devel installed. I removed Qt4-devel and reinstalled Qt3-devel and Qt3-devel-tools with force to overwrite among others the moc-compiler with Qt3-version. After that ./configure and make and all was fine. This problem took me a day to figure out - I must be darn stupid :-) Best Regards Kari Laine From patrik at ...603... Sat Jul 12 17:29:49 2008 From: patrik at ...603... (Patrik Karlsson) Date: Sat, 12 Jul 2008 17:29:49 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE Message-ID: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> Hi, here are a few ideas that I think would make the Gambas IDE a little bit nicer. 1.Replace "[Modified]" with a "*". Why? It takes less space and you dont have do browse with hte arrows when having many open tabs/files. 2.Add a "Close all tabs" feature. Why? It's quicker with one click instead of two. 3.Add a Keyboard shortcut for "Stop". Why? So one can use keyboard instead of the mouse. 4.Fix tool tip or window title for search list. Tool tip is Searchlist, Window title is FindList. Why? It's nice if they are the same. 5."Close all other tabs" and "Close current tab" takes the open file as the current and not the tab you right clicked on. Why? Konqueror and every other program I know does the later. 6.Add minimize IDE on run option. Why? Im used to it in delphi :) and the desktop gets cleaner. 7.Add "Reverse statement command". A selceted a=b would be b=a after a reverse. Why? It's quick and nice. 8.Fix so that Tab on selected text does a DELETE (of the selection) and insert TAB (space) Why? Every program I know do it this way. 9.Add Bold the current argument input in a procedure argument hint. Why? When there are many arguments it's easy to keep track of what input I'm on. 10.And finally, a GTK app started from the IDE starts behind the IDE. This is just my ideas, use them if you like, and keep up the good work! PS I'm using 2.7.0 -- Patrik Karlsson From rospolosco at ...29... Sun Jul 13 18:11:08 2008 From: rospolosco at ...29... (Stefano Palmeri) Date: Sun, 13 Jul 2008 18:11:08 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE In-Reply-To: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> References: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> Message-ID: <200807131811.09024.rospolosco@...29...> Il sabato 12 luglio 2008 17:29:49 Patrik Karlsson ha scritto: > 8.Fix so that Tab on selected text does a ?DELETE (of the selection) > and insert TAB (space) > Why? Every program I know do it this way. On my system the Tab key insert a TAB. Instead the "Space Bar" key, the "Backspace" key and the "Enter" key delete the selected text in the IDE editor. I think that the only key that should delete a selection is the "Delete" key. My 2 euro cents. Stefano From gambas at ...1... Mon Jul 14 17:42:43 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 14 Jul 2008 17:42:43 +0200 Subject: [Gambas-devel] Error in Default Event for ValueBox In-Reply-To: <918561.5881.qm@...588...> References: <918561.5881.qm@...588...> Message-ID: <200807141742.43964.gambas@...1...> On samedi 28 juin 2008, David Villalobos Cambronero wrote: > Hi all, > > There is an error in the default event for ValueBox, when you DblClick into > it the IDE crash, to reproduce the error just place a ValueBox in a form > and DblClick it. > > I use Mandriva 2008.1 64bits and Ubuntu 8.04 32bits. > > Can someone validate? > > Regards > > David > The reason is the default event "Change" you specified in the ValueBox class, and that is not implemented. Regards, -- Benoit Minisini From gambas at ...1... Mon Jul 14 17:53:48 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 14 Jul 2008 17:53:48 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE In-Reply-To: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> References: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> Message-ID: <200807141753.48638.gambas@...1...> On samedi 12 juillet 2008, Patrik Karlsson wrote: > Hi, Hi, > here are a few ideas that I think would make the Gambas IDE a > little bit nicer. > > 1.Replace "[Modified]" with a "*". > Why? It takes less space and you dont have do browse with hte arrows > when having many open tabs/files. OK. > > 2.Add a "Close all tabs" feature. > Why? It's quicker with one click instead of two. You can use the "Close all windows" menu entry, don't you? > > 3.Add a Keyboard shortcut for "Stop". > Why? So one can use keyboard instead of the mouse. ALT + PAUSE! > > 4.Fix tool tip or window title for search list. Tool tip is > Searchlist, Window title is FindList. > Why? It's nice if they are the same. Yeah. > > 5."Close all other tabs" and "Close current tab" takes the open file > as the current and not the tab you right clicked on. > Why? Konqueror and every other program I know does the later. I don't know if it is possible, because TabStrip in Qt are not the same as the ones used in Konqueror. I don't know for "every other program you know". > > 6.Add minimize IDE on run option. > Why? Im used to it in delphi :) and the desktop gets cleaner. Good idea, I note it in the TODO list. > > 7.Add "Reverse statement command". A selceted a=b would be b=a after a > reverse. Why? It's quick and nice. What is the use of that? > > 8.Fix so that Tab on selected text does a DELETE (of the selection) > and insert TAB (space) > Why? Every program I know do it this way. TAB tabulates. If you want to delete, use the delete key. > > 9.Add Bold the current argument input in a procedure argument hint. > Why? When there are many arguments it's easy to keep track of what input > I'm on. I know that, but it is difficult to implement, so I have never did that. But if I find time and courage, who knows? :-) > > 10.And finally, a GTK app started from the IDE starts behind the IDE. Mmm. I don't think I'm guilty. Only the window manager decides where a new window appears on the desktop. Which one do you use? > > This is just my ideas, use them if you like, and keep up the good work! > > PS I'm using 2.7.0 Thanks for the suggestions. -- Benoit Minisini From patrik at ...603... Tue Jul 15 10:08:46 2008 From: patrik at ...603... (Patrik Karlsson) Date: Tue, 15 Jul 2008 10:08:46 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE In-Reply-To: <200807141753.48638.gambas@...1...> References: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> <200807141753.48638.gambas@...1...> Message-ID: <577069a50807150108x2525168co6700e74b71d028ed@...178...> 2008/7/14 Benoit Minisini : >> 2.Add a "Close all tabs" feature. >> Why? It's quicker with one click instead of two. > > You can use the "Close all windows" menu entry, don't you? Yes, now I can see it, up in the main menu, I was looking in the pop up menu. >> 3.Add a Keyboard shortcut for "Stop". >> Why? So one can use keyboard instead of the mouse. > > ALT + PAUSE! Great! Is it possible to add the "missing" short cuts to their menu items? There are a couple more without short cuts in the menues. >> 5."Close all other tabs" and "Close current tab" takes the open file >> as the current and not the tab you right clicked on. >> Why? Konqueror and every other program I know does the later. > > I don't know if it is possible, because TabStrip in Qt are not the same as the > ones used in Konqueror. I don't know for "every other program you know". Quanta Plus and FireFox for example. >> 7.Add "Reverse statement command". A selceted a=b would be b=a after a >> reverse. Why? It's quick and nice. > > What is the use of that? For example, when you have many lines you have to reverse, let's say between Form_Open & Form_Close I can copy this line, and many more from Form_Open to Form_Close and reverse it. Settings["View/Max"] = ME.PrefsViewMax It works for many set/get situations. >> 8.Fix so that Tab on selected text does a DELETE (of the selection) >> and insert TAB (space) >> Why? Every program I know do it this way. > > TAB tabulates. If you want to delete, use the delete key. I don't agree. Any input deletes the current selection, just select a word and hit a key. But I just noticed that the Gambas TAB is an indent of the line, and not an insertion of a tab, so for the indent finction I guess this is ok, but then I dont like when program does not behave in a standard way. Tab should insert a tab at current pos, and CTRL-I or what ever should do the indent. And again, this is just what I think. ;-) >> 10.And finally, a GTK app started from the IDE starts behind the IDE. > > Mmm. I don't think I'm guilty. Only the window manager decides where a new > window appears on the desktop. Which one do you use? I'm using KDE's kwin. I noticed this behaviour yesterday in the Lazarus IDE too, so I dont think you are quilty. :) -- Patrik Karlsson From david_villalobos_c at ...7... Tue Jul 15 17:30:02 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 15 Jul 2008 08:30:02 -0700 (PDT) Subject: [Gambas-devel] New controls Message-ID: <46050.93129.qm@...584...> Hi Benoit: I have written two classes that provide two controls, we can add it to gb.form One of them is called: MessageLabel, its goal is to provides a ?Status Label?, so, you can send a message and say if this message is Error type (red background), Info (green background), etc. I wrote it because is a good practice to inform the user about the ?events? that happens in the program like Gambas IDE does, so I added a color background to call the attention of the user. The other one is called MemInfo, its goal is to provide a label that return the memory used by the application. I think in some programs we will need to know the amount of memory used. In the project has a form to show how it works, so, install the component and then uncomment all the code and run it. So, please take a look and please tell me what do you think. Best regards David -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.Extras-2.99.50.tar.gz Type: application/x-gzip Size: 14442 bytes Desc: not available URL: From gambas at ...1... Wed Jul 16 00:59:09 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jul 2008 00:59:09 +0200 Subject: [Gambas-devel] Error in GridView in Gambas3 In-Reply-To: <250173.19327.qm@...556...> References: <250173.19327.qm@...556...> Message-ID: <200807160059.09834.gambas@...1...> On vendredi 27 juin 2008, David Villalobos Cambronero wrote: > Hi All, > > I found a bug in the gb.qt the GridView.Clear() does not clears the grid, > for TableView happens the same thing. > > But it works for gb.gtk, I didn't try it in Gambas 2. > > Attached is an exmple. > > Can someone validate, plese? > > By the way, I use Mandriva 2008.1 64bits and Ubuntu 8.04 32bits. > > Best regards > > David This is just a refresh problem. I will fix it in a next revision. Regards, -- Benoit Minisini From gambas at ...1... Fri Jul 18 01:45:58 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Jul 2008 01:45:58 +0200 Subject: [Gambas-devel] Error in gb.db.form In-Reply-To: <836663.35219.qm@...556...> References: <836663.35219.qm@...556...> Message-ID: <200807180145.58106.gambas@...1...> On samedi 21 juin 2008, David Villalobos Cambronero wrote: > Hi here it is > > David > Wow. This was a stupid and vicious bug in inheritance management... It has been fixed in revision #1462. Regards, -- Benoit Minisini From gambas at ...1... Sat Jul 19 12:38:31 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Jul 2008 12:38:31 +0200 Subject: [Gambas-devel] New controls In-Reply-To: <46050.93129.qm@...584...> References: <46050.93129.qm@...584...> Message-ID: <200807191238.31903.gambas@...1...> On mardi 15 juillet 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I have written two classes that provide two controls, we can add it to > gb.form > > One of them is called: MessageLabel, its goal is to provides a ?Status > Label?, so, you can send a message and say if this message is Error type > (red background), Info (green background), etc. I wrote it because is a > good practice to inform the user about the ?events? that happens in the > program like Gambas IDE does, so I added a color background to call the > attention of the user. > > The other one is called MemInfo, its goal is to provide a label that return > the memory used by the application. I think in some programs we will need > to know the amount of memory used. > > In the project has a form to show how it works, so, install the component > and then uncomment all the code and run it. > > So, please take a look and please tell me what do you think. > > > Best regards > > David Hi David, I looked at both controls, and I'm not really convinced by MemInfo. The MemInfo won't tell you the real memory used by the process. There are two good ways to do that, depending on what you want to know. None of them is really accurate. The first one is what does the Gambas script example on the wiki: calculate the memory used by the system without I/O caches before starting the program, and during its execution. The difference is the actual memory used by the program. The second one is analysing the memory used by *all* processes with the 'pmap' program, and then calculating the memory used by the examined process by giving a weight to each memory segment. A non-shared memory section is fully attributed to the process, a shared memory section is given a weight inversely proportional to the number of processes using it. Anyway, I'm not sure putting this control in a common component is useful, even if it would give the right information, because it is very rarely used. The MessageLabel is more useful. But it needs some work: * The MessageLabel should have an AutoResize property, like the Label. * The standard background must be used for "normal" messages. * Why do you use "Export Optional"? * The MsgXXXX properties should be renamed to XXXXColor. This is far more readable. * A Clear() method to clear the label, and stop the internal timer. * Why is there a Default property? * Did you try to implement the control by directly inherit Label? Your MessageLabel makes me think... If you are brave, here is another thing that you could implement: It is a sort of internal message box like Firefox uses. It should be a component that exports a Message class to replace the old one, and a MessagePanel control that the user put inside its main form. Only one MessagePanel by application should be enough. The MessagePanel should not actually be needed, if you can insert it automatically in the main form by using some Reparent() magic, and let the user specifying where it should be inserted (on top/bottom of a specified control). Tell me what you think abot that! Regards, -- Benoit Minisini From gambas at ...1... Sat Jul 19 15:29:06 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Jul 2008 15:29:06 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE In-Reply-To: <200807141753.48638.gambas@...1...> References: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> <200807141753.48638.gambas@...1...> Message-ID: <200807191529.06728.gambas@...1...> On lundi 14 juillet 2008, Benoit Minisini wrote: > On samedi 12 juillet 2008, Patrik Karlsson wrote: > > 9.Add Bold the current argument input in a procedure argument hint. > > Why? When there are many arguments it's easy to keep track of what input > > I'm on. > > I know that, but it is difficult to implement, so I have never did that. > But if I find time and courage, who knows? :-) > I found the courage and the time. You get it in revision #1467. Regards, -- Benoit Minisini From david_villalobos_c at ...7... Mon Jul 21 18:40:28 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Mon, 21 Jul 2008 09:40:28 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <477565.5083.qm@...557...> Hi Benoit, Did you have time to do this? --- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Wednesday, July 2, 2008 11:27:41 AM Subject: Re: [Gambas-devel] Update wiki pages for gb.db.mysql On mercredi 02 juillet 2008, David Villalobos Cambronero wrote: > Hi Beno?t: > > I have made some changes in the gb.db.mysql component, now provides more > functions, and some others like Confirm are disabled, my question is, how > can I update the page: > http://www.gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 to updated with > the new changes? > > Best regards > > David > I just have to upload the new component information files to the wiki server. I will do it as soon as possible. At the moment, I am busy with theatre and job until next week! Regards, -- Benoit Minisini ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas at ...1... Mon Jul 21 18:56:34 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 21 Jul 2008 18:56:34 +0200 Subject: [Gambas-devel] Update wiki pages for gb.db.mysql In-Reply-To: <477565.5083.qm@...557...> References: <477565.5083.qm@...557...> Message-ID: <200807211856.34734.gambas@...1...> On lundi 21 juillet 2008, David Villalobos Cambronero wrote: > Hi Benoit, > > Did you have time to do this? > > --- > > > David > I forgot... I do it NOW! -- Benoit Minisini From gambas at ...1... Mon Jul 21 19:04:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 21 Jul 2008 19:04:04 +0200 Subject: [Gambas-devel] Update wiki pages for gb.db.mysql In-Reply-To: <200807211856.34734.gambas@...1...> References: <477565.5083.qm@...557...> <200807211856.34734.gambas@...1...> Message-ID: <200807211904.04861.gambas@...1...> On lundi 21 juillet 2008, Benoit Minisini wrote: > On lundi 21 juillet 2008, David Villalobos Cambronero wrote: > > Hi Benoit, > > > > Did you have time to do this? > > > > --- > > > > > > David > > I forgot... I do it NOW! Done. But you must edit your previous pages and save it again to see the symbol definitions. Regards, -- Benoit Minisini From david_villalobos_c at ...7... Tue Jul 22 18:11:47 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 22 Jul 2008 09:11:47 -0700 (PDT) Subject: [Gambas-devel] New controls Message-ID: <360864.76866.qm@...591...> Hi Benoit, You are right about the MemInfo. I'll will make the changes in the MessageLabel and send it again to review. Let me think about the message box, and how to implement it and I'll tell you, it is a good idea to have something similar. Maybe we can add a log file to store all the messages. Please let me know any idea you have related with this. Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Saturday, July 19, 2008 4:38:31 AM Subject: Re: [Gambas-devel] New controls On mardi 15 juillet 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I have written two classes that provide two controls, we can add it to > gb.form > > One of them is called: MessageLabel, its goal is to provides a ?Status > Label?, so, you can send a message and say if this message is Error type > (red background), Info (green background), etc. I wrote it because is a > good practice to inform the user about the ?events? that happens in the > program like Gambas IDE does, so I added a color background to call the > attention of the user. > > The other one is called MemInfo, its goal is to provide a label that return > the memory used by the application. I think in some programs we will need > to know the amount of memory used. > > In the project has a form to show how it works, so, install the component > and then uncomment all the code and run it. > > So, please take a look and please tell me what do you think. > > > Best regards > > David Hi David, I looked at both controls, and I'm not really convinced by MemInfo. The MemInfo won't tell you the real memory used by the process. There are two good ways to do that, depending on what you want to know. None of them is really accurate. The first one is what does the Gambas script example on the wiki: calculate the memory used by the system without I/O caches before starting the program, and during its execution. The difference is the actual memory used by the program. The second one is analysing the memory used by *all* processes with the 'pmap' program, and then calculating the memory used by the examined process by giving a weight to each memory segment. A non-shared memory section is fully attributed to the process, a shared memory section is given a weight inversely proportional to the number of processes using it. Anyway, I'm not sure putting this control in a common component is useful, even if it would give the right information, because it is very rarely used. The MessageLabel is more useful. But it needs some work: * The MessageLabel should have an AutoResize property, like the Label. * The standard background must be used for "normal" messages. * Why do you use "Export Optional"? * The MsgXXXX properties should be renamed to XXXXColor. This is far more readable. * A Clear() method to clear the label, and stop the internal timer. * Why is there a Default property? * Did you try to implement the control by directly inherit Label? Your MessageLabel makes me think... If you are brave, here is another thing that you could implement: It is a sort of internal message box like Firefox uses. It should be a component that exports a Message class to replace the old one, and a MessagePanel control that the user put inside its main form. Only one MessagePanel by application should be enough. The MessagePanel should not actually be needed, if you can insert it automatically in the main form by using some Reparent() magic, and let the user specifying where it should be inserted (on top/bottom of a specified control). Tell me what you think abot that! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From david_villalobos_c at ...7... Tue Jul 22 18:18:47 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 22 Jul 2008 09:18:47 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <382570.89277.qm@...582...> Hi, Benoit, I try to save the pages to see the new changes, but the new classes do no appear. For example the page: http://gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 should have more classes, i.e "Routines" and do no appear. Am I doing something wrong? Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Monday, July 21, 2008 11:04:04 AM Subject: Re: [Gambas-devel] Update wiki pages for gb.db.mysql On lundi 21 juillet 2008, Benoit Minisini wrote: > On lundi 21 juillet 2008, David Villalobos Cambronero wrote: > > Hi Benoit, > > > > Did you have time to do this? > > > > --- > > > > > > David > > I forgot... I do it NOW! Done. But you must edit your previous pages and save it again to see the symbol definitions. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas at ...1... Tue Jul 22 18:26:18 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jul 2008 18:26:18 +0200 Subject: [Gambas-devel] Update wiki pages for gb.db.mysql In-Reply-To: <382570.89277.qm@...582...> References: <382570.89277.qm@...582...> Message-ID: <200807221826.18031.gambas@...1...> On mardi 22 juillet 2008, David Villalobos Cambronero wrote: > Hi, Benoit, > > I try to save the pages to see the new changes, but the new classes do no > appear. For example the page: > http://gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 should have more > classes, i.e "Routines" and do no appear. > > Am I doing something wrong? > > > Regards > > > David > > It's my fault, I forgot to recompile gb.db.mysql before regenerating the *.info files. This should be ok now! Regards, -- Benoit Minisini From david_villalobos_c at ...7... Tue Jul 22 18:47:15 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 22 Jul 2008 09:47:15 -0700 (PDT) Subject: [Gambas-devel] Update wiki pages for gb.db.mysql Message-ID: <441571.99323.qm@...555...> Ohh, Now it works... thanks a lot Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Tuesday, July 22, 2008 10:26:18 AM Subject: Re: [Gambas-devel] Update wiki pages for gb.db.mysql On mardi 22 juillet 2008, David Villalobos Cambronero wrote: > Hi, Benoit, > > I try to save the pages to see the new changes, but the new classes do no > appear. For example the page: > http://gambasdoc.org/help/comp/gb.db.mysql/_mysql?v3 should have more > classes, i.e "Routines" and do no appear. > > Am I doing something wrong? > > > Regards > > > David > > It's my fault, I forgot to recompile gb.db.mysql before regenerating the *.info files. This should be ok now! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From david_villalobos_c at ...7... Wed Jul 23 00:57:21 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Tue, 22 Jul 2008 15:57:21 -0700 (PDT) Subject: [Gambas-devel] New controls Message-ID: <738831.62931.qm@...582...> Hi Benoit, I tried to inherits TextLabel, but How Can I pass the container. I mean, Private hMessageLabel As New TextLabel( Container ) Please, what do I have to put in the container section. Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Saturday, July 19, 2008 4:38:31 AM Subject: Re: [Gambas-devel] New controls On mardi 15 juillet 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I have written two classes that provide two controls, we can add it to > gb.form > > One of them is called: MessageLabel, its goal is to provides a ?Status > Label?, so, you can send a message and say if this message is Error type > (red background), Info (green background), etc. I wrote it because is a > good practice to inform the user about the ?events? that happens in the > program like Gambas IDE does, so I added a color background to call the > attention of the user. > > The other one is called MemInfo, its goal is to provide a label that return > the memory used by the application. I think in some programs we will need > to know the amount of memory used. > > In the project has a form to show how it works, so, install the component > and then uncomment all the code and run it. > > So, please take a look and please tell me what do you think. > > > Best regards > > David Hi David, I looked at both controls, and I'm not really convinced by MemInfo. The MemInfo won't tell you the real memory used by the process. There are two good ways to do that, depending on what you want to know. None of them is really accurate. The first one is what does the Gambas script example on the wiki: calculate the memory used by the system without I/O caches before starting the program, and during its execution. The difference is the actual memory used by the program. The second one is analysing the memory used by *all* processes with the 'pmap' program, and then calculating the memory used by the examined process by giving a weight to each memory segment. A non-shared memory section is fully attributed to the process, a shared memory section is given a weight inversely proportional to the number of processes using it. Anyway, I'm not sure putting this control in a common component is useful, even if it would give the right information, because it is very rarely used. The MessageLabel is more useful. But it needs some work: * The MessageLabel should have an AutoResize property, like the Label. * The standard background must be used for "normal" messages. * Why do you use "Export Optional"? * The MsgXXXX properties should be renamed to XXXXColor. This is far more readable. * A Clear() method to clear the label, and stop the internal timer. * Why is there a Default property? * Did you try to implement the control by directly inherit Label? Your MessageLabel makes me think... If you are brave, here is another thing that you could implement: It is a sort of internal message box like Firefox uses. It should be a component that exports a Message class to replace the old one, and a MessagePanel control that the user put inside its main form. Only one MessagePanel by application should be enough. The MessagePanel should not actually be needed, if you can insert it automatically in the main form by using some Reparent() magic, and let the user specifying where it should be inserted (on top/bottom of a specified control). Tell me what you think abot that! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From patrik at ...603... Fri Jul 25 15:08:22 2008 From: patrik at ...603... (Patrik Karlsson) Date: Fri, 25 Jul 2008 15:08:22 +0200 Subject: [Gambas-devel] Some ideas for the Gambas IDE In-Reply-To: <200807191529.06728.gambas@...1...> References: <577069a50807120829r15e8b337x11ef31f1b43f14b8@...178...> <200807141753.48638.gambas@...1...> <200807191529.06728.gambas@...1...> Message-ID: <577069a50807250608w88f19celed6c456ae52fba1f@...178...> 2008/7/19 Benoit Minisini : >> > 9.Add Bold the current argument input in a procedure argument hint. >> > Why? When there are many arguments it's easy to keep track of what input >> > I'm on. >> >> I know that, but it is difficult to implement, so I have never did that. >> But if I find time and courage, who knows? :-) >> > > I found the courage and the time. You get it in revision #1467. Great! I am looking forward to use it. Thank you! -- Patrik Karlsson From david_villalobos_c at ...7... Wed Jul 30 14:15:34 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 30 Jul 2008 05:15:34 -0700 (PDT) Subject: [Gambas-devel] Aling images in tableview Message-ID: <664400.23353.qm@...587...> Hi All, I got an error when try to aling pictures in a table view, always are centered. Is it correct? Attached an example. --- David -------------- next part -------------- A non-text attachment was scrubbed... Name: TableView.Error-0.0.1.tar.gz Type: application/gzip Size: 7812 bytes Desc: not available URL: From david_villalobos_c at ...7... Wed Jul 30 14:16:47 2008 From: david_villalobos_c at ...7... (David Villalobos Cambronero) Date: Wed, 30 Jul 2008 05:16:47 -0700 (PDT) Subject: [Gambas-devel] New controls Message-ID: <305850.41397.qm@...584...> Sorry for be late, here is the project. Please take a look and tell me. Regards David ----- Original Message ---- From: David Villalobos Cambronero To: mailing list for gambas developers Sent: Tuesday, July 22, 2008 4:57:21 PM Subject: Re: [Gambas-devel] New controls Hi Benoit, I tried to inherits TextLabel, but How Can I pass the container. I mean, Private hMessageLabel As New TextLabel( Container ) Please, what do I have to put in the container section. Regards David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas developers Sent: Saturday, July 19, 2008 4:38:31 AM Subject: Re: [Gambas-devel] New controls On mardi 15 juillet 2008, David Villalobos Cambronero wrote: > Hi Benoit: > > I have written two classes that provide two controls, we can add it to > gb.form > > One of them is called: MessageLabel, its goal is to provides a ?Status > Label?, so, you can send a message and say if this message is Error type > (red background), Info (green background), etc. I wrote it because is a > good practice to inform the user about the ?events? that happens in the > program like Gambas IDE does, so I added a color background to call the > attention of the user. > > The other one is called MemInfo, its goal is to provide a label that return > the memory used by the application. I think in some programs we will need > to know the amount of memory used. > > In the project has a form to show how it works, so, install the component > and then uncomment all the code and run it. > > So, please take a look and please tell me what do you think. > > > Best regards > > David Hi David, I looked at both controls, and I'm not really convinced by MemInfo. The MemInfo won't tell you the real memory used by the process. There are two good ways to do that, depending on what you want to know. None of them is really accurate. The first one is what does the Gambas script example on the wiki: calculate the memory used by the system without I/O caches before starting the program, and during its execution. The difference is the actual memory used by the program. The second one is analysing the memory used by *all* processes with the 'pmap' program, and then calculating the memory used by the examined process by giving a weight to each memory segment. A non-shared memory section is fully attributed to the process, a shared memory section is given a weight inversely proportional to the number of processes using it. Anyway, I'm not sure putting this control in a common component is useful, even if it would give the right information, because it is very rarely used. The MessageLabel is more useful. But it needs some work: * The MessageLabel should have an AutoResize property, like the Label. * The standard background must be used for "normal" messages. * Why do you use "Export Optional"? * The MsgXXXX properties should be renamed to XXXXColor. This is far more readable. * A Clear() method to clear the label, and stop the internal timer. * Why is there a Default property? * Did you try to implement the control by directly inherit Label? Your MessageLabel makes me think... If you are brave, here is another thing that you could implement: It is a sort of internal message box like Firefox uses. It should be a component that exports a Message class to replace the old one, and a MessagePanel control that the user put inside its main form. Only one MessagePanel by application should be enough. The MessagePanel should not actually be needed, if you can insert it automatically in the main form by using some Reparent() magic, and let the user specifying where it should be inserted (on top/bottom of a specified control). Tell me what you think abot that! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.Extras-2.99.50.tar.gz Type: application/gzip Size: 12573 bytes Desc: not available URL: