Re: [Lazarus] Subject line with TAB characters inserted
2011/3/10 Graeme Geldenhuys graemeg.li...@gmail.com: Anybody know where one files a bug report with Google? Or if this has already been done? I think the place is the help forum: http://www.google.com/support/forum/p/gmail Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More menu changes
Am 09.03.2011 22:31, schrieb Juha Manninen: One idea: Options could be moved to Tools-Options or Edit-Preferences. The other settings could go there, too. Scan FPC directory would go to Tools. Enviroment menu would go away. If you move the Options, then I'd vote for Tools-Options, because that sounds more reasonable to look for configuration than the Edit menu... (just my opinion) On the other hand some packages can register their settings into a menu. It makes sense to have one dedicated menu for settings. Maybe the packages should be modified to register their settings in the Options dialog then (the JCF does that afaik). To prevent something like this maybe a best practices guide for IDE packages should be made (or is there already one?), which could contain something like register settings in the Options dialog instead of creating a custom menu item Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Subject line with TAB characters inserted
On 03/10/2011 08:19 AM, Graeme Geldenhuys wrote: Anybody know where one files a bug report with Google? Or if this has already been done? Supposedly they will declare that this is not a bug but a feature. Maybe it's more likely that you can talk the maintainers of the mailing list software into converting Tabs to spaces. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More menu changes
Sven Barth pascaldra...@googlemail.com hat am 10. März 2011 um 10:52 geschrieben: Am 09.03.2011 22:31, schrieb Juha Manninen: One idea: Options could be moved to Tools-Options or Edit-Preferences. The other settings could go there, too. Scan FPC directory would go to Tools. Enviroment menu would go away. If you move the Options, then I'd vote for Tools-Options, because that sounds more reasonable to look for configuration than the Edit menu... (just my opinion) On the other hand some packages can register their settings into a menu. It makes sense to have one dedicated menu for settings. Maybe the packages should be modified to register their settings in the Options dialog then (the JCF does that afaik). Only very few packages use this yet (afaik jcf and educationlaz), because the interface for this ability is new and not very stable yet. It was introduced in 0.9.28 and changed in 0.9.30. I am not sure it is stable yet. To prevent something like this maybe a best practices guide for IDE packages should be made (or is there already one?), which could contain something like register settings in the Options dialog instead of creating a custom menu item AFAIK it is not documented yet. Mattias-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More menu changes
I think* tools -- options *means configuration for lazarus tools and not for lazarus environment... William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/3/10 Mattias Gaertner nc-gaert...@netcologne.de Sven Barth pascaldra...@googlemail.com hat am 10. März 2011 um 10:52 geschrieben: Am 09.03.2011 22:31, schrieb Juha Manninen: One idea: Options could be moved to Tools-Options or Edit-Preferences. The other settings could go there, too. Scan FPC directory would go to Tools. Enviroment menu would go away. If you move the Options, then I'd vote for Tools-Options, because that sounds more reasonable to look for configuration than the Edit menu... (just my opinion) On the other hand some packages can register their settings into a menu. It makes sense to have one dedicated menu for settings. Maybe the packages should be modified to register their settings in the Options dialog then (the JCF does that afaik). Only very few packages use this yet (afaik jcf and educationlaz), because the interface for this ability is new and not very stable yet. It was introduced in 0.9.28 and changed in 0.9.30. I am not sure it is stable yet. To prevent something like this maybe a best practices guide for IDE packages should be made (or is there already one?), which could contain something like register settings in the Options dialog instead of creating a custom menu item AFAIK it is not documented yet. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] MDI Child form goes behind MDI main form
hi enviroment: win7 64x, lazarus 32bit version 0.9.31; date: 2011-02-05; SVN:29379 problem arises when having form style MDIform and others mdiChild if you create form on run time forms normaly shows but if you click on mainForm then child form goes behind mainForm ..which is annoying anyway it is for me as this differs from delphi ..child forms should stay on top(infront) of mdiForm.. Best regards Edo P.S. if i should report this to somekind of bug-tracker...please advise howto ... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
10.03.2011 19:04, Eduard Filipas wrote: hi enviroment: win7 64x, lazarus 32bit version 0.9.31; date: 2011-02-05; SVN:29379 problem arises when having form style MDIform and others mdiChild This is not implemented in Lazarus. Only qt has some mdi support at the moment. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
huhwhen can we aproximately aspect solution? S, Paul Ishenin piše: 10.03.2011 19:04, Eduard Filipas wrote: hi enviroment: win7 64x, lazarus 32bit version 0.9.31; date: 2011-02-05; SVN:29379 problem arises when having form style MDIform and others mdiChild This is not implemented in Lazarus. Only qt has some mdi support at the moment. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
submitted, i only forgot to say how i've installed it William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/3/9 Mattias Gaertner nc-gaert...@netcologne.de On Wed, 9 Mar 2011 14:24:02 -0300 William Oliveira Ferreira bdexterholl...@gmail.com wrote: Touching in *Think about this thread from a absolute beginners point of view. *Well, a strange thing (as i think) is try to run [F9] a unsaved project (i think it happens on build to but i didn´t test), compiler raises a Linking Fail error, but if you saves the project in some folder than compiler buids the project nicely. I think lazarus should temporary saves a unsaved project to a temp path to compile, beginner users won't get suprised with The IDE saves the project to a temporary directory and compiles it there. Please report the bug together with your fpc, lazarus, OS version and how you installed Lazarus (svn, snapshot, ...) Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
Am 10.03.2011 13:34, schrieb Eduard Filipas: huhwhen can we aproximately aspect solution? It's not a high priority. For an alternative you can take a look at MultiDoc: http://wiki.lazarus.freepascal.org/MultiDoc Also Zeljko wrote here http://wiki.lazarus.freepascal.org/User:Zeljan that he's working on a MDI emulator for platforms that don't support MDI (everything except Win32 and QT). So maybe you might want to keep a look on his page. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
On Thursday 10 of March 2011 13:34:12 Eduard Filipas wrote: huhwhen can we aproximately aspect solution? First code is almost ready to commit with: 1.Native MDI support for: win32 and qt (linux,win32,mac) 2.LCL emulator for: gtk, gtk2 and carbon (only gtk2 works atm). So I need still some spare time to test gtk and carbon, and introduce first MDI commits ... I guess in next few weeks it will be ready. Note that MDI support will be in alpha/beta stage until raised bugs are fixed. Also do not expect 1/1 MDI support inside MDI emulator (gtk, gtk2, carbon). Win32 and Qt have full support (like you have in Delphi). zeljko S, Paul Ishenin piše: 10.03.2011 19:04, Eduard Filipas wrote: hi enviroment: win7 64x, lazarus 32bit version 0.9.31; date: 2011-02-05; SVN:29379 problem arises when having form style MDIform and others mdiChild This is not implemented in Lazarus. Only qt has some mdi support at the moment. Best regards, Paul Ishenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
Am 10.03.2011 14:07, schrieb zeljko: On Thursday 10 of March 2011 13:34:12 Eduard Filipas wrote: huhwhen can we aproximately aspect solution? First code is almost ready to commit with: 1.Native MDI support for: win32 and qt (linux,win32,mac) 2.LCL emulator for: gtk, gtk2 and carbon (only gtk2 works atm). So I need still some spare time to test gtk and carbon, and introduce first MDI commits ... I guess in next few weeks it will be ready. Note that MDI support will be in alpha/beta stage until raised bugs are fixed. Also do not expect 1/1 MDI support inside MDI emulator (gtk, gtk2, carbon). Win32 and Qt have full support (like you have in Delphi). Nice surprise :) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More menu changes
William Oliveira Ferreira kirjoitti torstai 10 maaliskuu 2011 13:16:25: I think* tools -- options *means configuration for lazarus tools and not for lazarus environment... I am not moving the Options menu item now. It is controversial as we notice. Besides the Environment menu still has other items. If the other setting dialogs are integrated into Options dialog, then Environment menu will have 2 items left which can be moved and Environment menu removed. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
William Oliveira Ferreira kirjoitti torstai 10 maaliskuu 2011 14:43:13: submitted, i only forgot to say how i've installed it You really should test with a more recent Lazarus, either 0.9.30 or 0.9.31. 0.9.28.2 is over a year old. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] MDI Child form goes behind MDI main form
Zeljko thank you i cant say how much i anticipate to see it done...i think ill go with multidoc for now but ill keep my eyes wide open for your updates.. Regards Edo S, Sven Barth piše: Am 10.03.2011 14:07, schrieb zeljko: On Thursday 10 of March 2011 13:34:12 Eduard Filipas wrote: huhwhen can we aproximately aspect solution? First code is almost ready to commit with: 1.Native MDI support for: win32 and qt (linux,win32,mac) 2.LCL emulator for: gtk, gtk2 and carbon (only gtk2 works atm). So I need still some spare time to test gtk and carbon, and introduce first MDI commits ... I guess in next few weeks it will be ready. Note that MDI support will be in alpha/beta stage until raised bugs are fixed. Also do not expect 1/1 MDI support inside MDI emulator (gtk, gtk2, carbon). Win32 and Qt have full support (like you have in Delphi). Nice surprise :) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] problem with ORACLE
I encountered a problem working with ORACLE: data resulting from a SQL not match thrown by the same SQL executed with TOAD. The problem occurs with a calculated field. There is also an error message referring to the metadata. Oracle version: 10g CodeTyphon 1.4 Lazarus 0.9.31 Source from SVN 24-01-2011 Rev 29208 (Plus) FreePascal 2.5.1 Source from SVN 24-02-2011 Rev 16995 http://dl.dropbox.com/u/1172938/files.zip -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] problem with ORACLE
On Thu, 2011-03-10 at 11:30 -0300, Héctor S. Ponce wrote: I encountered a problem working with ORACLE: data resulting from a SQL not match thrown by the same SQL executed with TOAD. The problem occurs with a calculated field. There is also an error message referring to the metadata. What is the sql-statment, how is the calculated field defined, what do you expect (ie: what gives TOAD) and what do you get. And finally: (the one thing you should always mention, on every question involving an error-message) what is the exact error message. Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
I use only final releases, that's available for common users... William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/3/10 Juha Manninen juha.mannine...@gmail.com William Oliveira Ferreira kirjoitti torstai 10 maaliskuu 2011 14:43:13: submitted, i only forgot to say how i've installed it You really should test with a more recent Lazarus, either 0.9.30 or 0.9.31. 0.9.28.2 is over a year old. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
On 10/03/2011 19:53, William Oliveira Ferreira wrote: I use only final releases, that's available for common users... a reasonable decision... for working with it. However you can always install another version in parallel (just ensure you start it with --primary-config-path=C:\someplace to keep it's own conf) That allows you to test snapshots. btw: your issue was known soon after release: http://wiki.lazarus.freepascal.org/Lazarus_0.9.28.2_release_notes and back then I believe there may have even been a snapshot from a 0.9.28.2 fixes branch (but I can't be 100% sure of it) Anyway, you can wait a bit 0.9.30 is soon to be released. or download the current 0.9.29 fixes snapshot = that should be 99.9% identical with the will be release. 2011/3/10 Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com William Oliveira Ferreira kirjoitti torstai 10 maaliskuu 2011 14:43:13: submitted, i only forgot to say how i've installed it You really should test with a more recent Lazarus, either 0.9.30 or 0.9.31. 0.9.28.2 is over a year old. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] problem with ORACLE
Sorry, it seems the link http://dl.dropbox.com/u/1172938/files.zip to get all related png files was ommited. The link is still alive and the file can be downloaded. The problem is as follows: I have a very simple form with a dbgrid, sqlquery, oracleconnection, datasource, ... the result of execution is shown in dbgrid ... The SQL.text property of sqlquery is set as: select c.D10027_TIPO_CONV as tipo, C.D10027_NRO_SOL as nro, c.D10027_AMORT as deuda, c.D10027_CREDITO as credito, c.D10027_AMORT - c.D10027_CREDITO as dif from sigem.d10027 c where c.D10027_TIPO_CONV = 80 and c.D10027_AMORT - c.D10027_CREDITO 0.1 and c.D10027_AMORT - c.D10027_CREDITO 0 when I run the same sql inside TOAD, I get this result: tiponrodeudacreditodif 80 6043 1.83 0.90 0.93 but from my program the result is tiponrodeudacreditodif 80 6043 1.83 0.90 (dif field is not retrieved) if I change SQL in sqlquery to: ... to_char(c.D10027_AMORT - c.D10027_CREDITO, '0.00') as dif ... to get dif as string, the result is correct, as from TOAD. If the connection at design time is open when I try to change sql statement in sqlquery, one window error message appears: The metadata is not available for this type of database. The table can by created with this script: CREATE TABLE SIGEM.D10027 ( D10027_TIPO_CONVNUMBER(2) NOT NULL, D10027_NRO_SOL NUMBER(7) NOT NULL, D10027_NRO_CUOTANUMBER(3) NOT NULL, D10027_CONCEPTO NUMBER(3) NOT NULL, D10027_CCAJANUMBER(4), D10027_F_VTO_ NUMBER(4), D10027_F_VTO_MM NUMBER(2), D10027_F_VTO_DD NUMBER(2), D10027_AMORTNUMBER(9,2), D10027_INTERES NUMBER(9,2), D10027_PAGADO NUMBER(9,2), D10027_F_PAGO_ NUMBER(4), D10027_F_PAGO_MMNUMBER(2), D10027_F_PAGO_DDNUMBER(2), D10027_ESTADO NUMBER(1), D10027_LEGALNUMBER(1), D10027_REFERENCIA NUMBER(7), D10027_LUGAR_PAGO NUMBER(1), D10027_RECIBO NUMBER(12), D10027_PAGO_ADELANTADO NUMBER(5,2), D10027_CREDITO NUMBER(9,2), D10027_EXIM NUMBER(5,2), D10027_IVA_TIPO CHAR(2 BYTE), D10027_IVA_CUIT CHAR(11 BYTE), D10027_FACTURADONUMBER(1), D10027_FILLER CHAR(7 BYTE) ) Oracle version: 10g CodeTyphon 1.4 Lazarus 0.9.31 Source from SVN 24-01-2011 Rev 29208 (Plus) FreePascal 2.5.1 Source from SVN 24-02-2011 Rev 16995 http://dl.dropbox.com/u/1172938/files.zip El 10/03/2011 01:53 p.m., Joost van der Sluis escribió: On Thu, 2011-03-10 at 11:30 -0300, Héctor S. Ponce wrote: I encountered a problem working with ORACLE: data resulting from a SQL not match thrown by the same SQL executed with TOAD. The problem occurs with a calculated field. There is also an error message referring to the metadata. What is the sql-statment, how is the calculated field defined, what do you expect (ie: what gives TOAD) and what do you get. And finally: (the one thing you should always mention, on every question involving an error-message) what is the exact error message. Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] More to discuss about Main-Menu
But it's that version i iuse... The bug is marked as fixed but it still heappens to me... btw: your issue was known soon after release: http://wiki.lazarus.freepascal.org/Lazarus_0.9.28.2_release_notes and back then I believe there may have even been a snapshot from a 0.9.28.2 fixes branch (but I can't be 100% sure of it) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Off topic maths question with real constant and trunc() statement.
Hi All, I have a slightly off-topic maths question based on the following of my Delphi legacy code. var max_x, max_y, max_loop : integer;begin max_x := 35; max_y := 90; max_loop := trunc( max_x * max_y / 1.575 ); // gives 2000 for 35 x 90[...] Is 1.575 represented as a fraction? It does not seem to be. It (for what it's worth) is the square_root( 2.480625 )... but it does not seem to have any relevance. What is the significance of the magic number. Max_x and Max_y are the dimensions of a 2D array and max_loop is the target population which I will filling the array with. This code goes back to year 2000 and I have no idea where the number 1.575 comes from... but it seems to work as the comment suggests. E.g. the max_loop assignment in that example gives 2000. Any ideas as to the meaning of the constant? And can this be simplified? I don't think so. NB - No correlation between max_loop and year 2000... just a coincidence :-) Best Regards,PEW -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus