[Lazarus] Mac OS X : Latest Lazarus Revision : 15598 Does not work :(
When using the Carbon IDE which was just compiled from SVN source revision 15598, it is impossible to change projects as you get a "Range check error". Similarly, Projects built using the latest Lazaurs code base cannot load Glyph data. For example the error I get is... Error reading CanclBtn.Glyph.Data:Range check error Dominique. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Java's Document & Elements model
Am Freitag, den 27.06.2008, 09:09 +0200 schrieb Graeme Geldenhuys: > On 27/06/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > Please try something like fpc/packages/univint/src/MacOSAll.pas. > > Jump to the end of the file and see what happens to the highlighting > > and your CPU. > > That is impressive. SynEdit handles a 10.2Mb file without problems. > Even Gnomes gEdit slows down on that file, but it's way better that > KDE's Kate or KWrite editors. The latter two are quite slow, until > it's all caches. Even Midnight Commanders internal 'mcedit' editor > works quicker than KDE's ones. That's clearly something the KDE > developers screwed up - seeing that Qt rates performance quite high. FWIW: I tried that in JEdit (a Java editor having pascal syntax highlighting using the swing toolkit). It appears that: - I had to increase the java heap size to get that file loaded (in a session having 15 or so other files, some small, some big) from 32MB to 64 MB - other programs would not have this limit but suck in system memory at will - loading the file took some time (~1-3 seconds) amongst all other files - when hitting CTRL-Down the first time the CPU usage goes up a noticable step and a short pause occured (~2s) - when browsing around by keyboard after the first move to the eof I did *not* note any slow down or extraordinary load - when scrolling the file using mouse and scrollbar the cpu load does go up, but it works without delay Concluding I'd say JEdit handles this file without problems. Marc ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unmoveable forms?
En/na Felipe Monteiro de Carvalho ha escrit: > Just use the same code you were using in Delphi. It will work in Windows only. > > What you wish is impossible to implement anywhere else. BTW, the window manager I'm currently using (the default one under kde, I think it's kwin) has a bunch of options, among them there's one to keep a window in a fixed position, so in theory it should possible (if not 100% guaranteed with all wm) to do it under Linux. See: http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507474 Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] procedure TMainIDE.DoRestart; and parameters
Hello, I tried to use lazarus under Xnext, and when I recompiled Lazarus (to install a component), I found out that the --display parameter never passed. So after a search, I found the TMainIDE.DoRestart; procedure, and it passes only hard-coded parameters and not all the parameters passed to the original Lazarus instance. Is there a reason for this, or should I send a patch that uses all of the parameters existed, including the hard-coded ? Thanks, Ido -- http://ik.homelinux.org/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't complile
Thanks!!! It's working fine again... :-) Eduardo. - Mensaje original De: Jesus Reyes <[EMAIL PROTECTED]> Para: General mailing list Enviado: viernes 27 de junio de 2008, 15:36:39 Asunto: Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't complile --- El mié 25-jun-08, Eduardo Lopez <[EMAIL PROTECTED]> escribió: > De:: Eduardo Lopez <[EMAIL PROTECTED]> > Asunto: Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't > complile > A: "General mailing list" > Fecha: miércoles, 25 junio, 2008, 7:25 pm > I'm sorry for the omission, the fpc version is 2.2.0 > > Eduardo. > Fixed in r15598. Jesus Reyes A. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.com.mx/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus ¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro http://ar.mobile.yahoo.com/onesearch ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] graphic changes / mouse pointers on windows
I updated to the lates SVN version - Lazarus SVN as of 19:00 today - FPC 2.3.1 as of about a week ago - Window Vista 32 Bit Home (both: with Aero enable and disabled) - NVidia GFX (after and before driver update) See Image (also reported as http://bugs.freepascal.org/view.php?id=11569) Paul Ishenin wrote: Martin Friebe wrote: No I am talking windows Vista 32bit home edition. I do need to check (when I am home in the evening), if it is related to my global windows theme setting (as I disabled AERO ). Just tested: -Using this night Snapshot (FPC 2.2.0) on XP SP2 => all looks fine -Using SVN trunc (1 or 2 days old by now; will verify with the latest tonight) with fpc 2.3.1 on Vista => issue There was indeed changes related to cursors about 2 days ago. Best regards, Paul Ishenin. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus <>___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't complile
--- El mié 25-jun-08, Eduardo Lopez <[EMAIL PROTECTED]> escribió: > De:: Eduardo Lopez <[EMAIL PROTECTED]> > Asunto: Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't > complile > A: "General mailing list" > Fecha: miércoles, 25 junio, 2008, 7:25 pm > I'm sorry for the omission, the fpc version is 2.2.0 > > Eduardo. > Fixed in r15598. Jesus Reyes A. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.com.mx/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Java's Document & Elements model
On Fri, 27 Jun 2008 09:09:31 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: >[...] > > Please try something like fpc/packages/univint/src/MacOSAll.pas. > > Jump to the end of the file and see what happens to the > > highlighting and your CPU. > > That is impressive. SynEdit handles a 10.2Mb file without problems. > Even Gnomes gEdit slows down on that file, but it's way better that > KDE's Kate or KWrite editors. The latter two are quite slow, until > it's all caches. Even Midnight Commanders internal 'mcedit' editor > works quicker than KDE's ones. That's clearly something the KDE > developers screwed up - seeing that Qt rates performance quite high. It's the same for some commercial editors. > > Do you mean you want to write a complete HTML viewer? > > A basic HTML viewer yes - no CSS etc. What I am interrested in at the > moment is something that can display styled text (be that HTML, RTF or > something custom). At the moment I'm only interested in text > attributes like bold, italics, underline and different fonts and > different size characters. That will do - all the others features > will be bonus extras. Something simple I can use to display basic help > to users - better than plain text. ok. And the concurrency support? > The best solution would obviously be to embed Mozilla into a Free > Pascal application. I still don't have success with that, but continue > trying. If anybody has had success, please let me know. Ask Michael VC. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] graphic changes / mouse pointers on windows
Martin Friebe wrote: > No I am talking windows Vista 32bit home edition. > > I do need to check (when I am home in the evening), if it is related to > my global windows theme setting (as I disabled AERO ). > > Just tested: > -Using this night Snapshot (FPC 2.2.0) on XP SP2 => all looks fine > -Using SVN trunc (1 or 2 days old by now; will verify with the latest > tonight) with fpc 2.3.1 on Vista => issue > There was indeed changes related to cursors about 2 days ago. Best regards, Paul Ishenin. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Publishing a Lazarus project - including the binary file
Mattias Gärtner <[EMAIL PROTECTED]> writes: >> 'Use Include Filter': >> >> * Use Include Filter >> * Simple Syntax >> >> .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po) > > This mask does not fit for lptinterface1. One solution: append: > ,lptinterface1 .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po|lptinterface1) This is the simplest solution. Thanks! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unmoveable forms?
En/na Luca Olivetti ha escrit: > En/na Felipe Monteiro de Carvalho ha escrit: >> Just use the same code you were using in Delphi. It will work in Windows >> only. > > No, the same code doesn't work, I don't receive the messages, probably > the LCL isn't forwarding them. > I tried both with WM_NCHITTEST and LM_NCHITTEST. > > What I got mostly working is to use SetWindowProc as per > http://wiki.lazarus.freepascal.org/Win32/64_Interface#Processing_non-user_messages_in_your_window I added what I did as an example in the wiki > at least for WM_NCHITTEST, not yet for WM_INITMENUPOPUP. I cannot make it work, I put this code in my handler: if uMsg=WM_INITMENUPOPUP then begin if hi(LParam)<>0 then begin EnableMenuItem(HMENU(WParam), SC_MOVE, MF_BYCOMMAND or MF_GRAYED); result:=0; exit; end end; I get the message, LParam indicates it's the system menu, I call EnableMenuItem but the "move" command is still there enabled. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unmoveable forms?
En/na Felipe Monteiro de Carvalho ha escrit: > Just use the same code you were using in Delphi. It will work in Windows only. No, the same code doesn't work, I don't receive the messages, probably the LCL isn't forwarding them. I tried both with WM_NCHITTEST and LM_NCHITTEST. What I got mostly working is to use SetWindowProc as per http://wiki.lazarus.freepascal.org/Win32/64_Interface#Processing_non-user_messages_in_your_window at least for WM_NCHITTEST, not yet for WM_INITMENUPOPUP. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] graphic changes / mouse pointers on windows
No I am talking windows Vista 32bit home edition. I do need to check (when I am home in the evening), if it is related to my global windows theme setting (as I disabled AERO ). Just tested: -Using this night Snapshot (FPC 2.2.0) on XP SP2 => all looks fine -Using SVN trunc (1 or 2 days old by now; will verify with the latest tonight) with fpc 2.3.1 on Vista => issues I'll update this tonight. I first wanted to confirm this change was not intended. But seeing it under XP all working, did answer that part. Best Regards Martin Paul Ishenin wrote: > Martin Friebe wrote: > >> I noted that the most recent version from SVN, has a "new"? set of Mouse >> pointers? And I guess they are *not* new by intention. >> >> Unfortunately I couldn't get a screenshoot, as the default windows >> scree-grabber, doesn't take pictures of the mouse... >> (Suggestions/Instructions welcome) >> >> a few examples (haven't tested too many): >> >> - The "Hand" cursur (it appears when the mouse hovers over a word in >> Synedit, and CTRL is pressed (that is, when the word is highlighted as link) >> It used to be a black contur/border (shaped as a hand) and white inside. >> Now it is all black. >> >> - The "double-arrow" / "move a splitter" cursor, it looks like painted >> in bold. >> >> Also both of this cursors would have a one line white outer border >> around there shape, so the do distinguish them self from black text. >> This also seems to be missing. >> >> I know this is currently under process, just want to make sure this part >> is known? >> >> > Are you talking about carbon? On other widgetsets that should not > happen. I know that currently on carbon we have some unimplemented parts. > > Best regards, > Paul Ishenin. > ___ > Lazarus mailing list > Lazarus@lazarus.freepascal.org > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] graphic changes / mouse pointers on windows
Martin Friebe wrote: > I noted that the most recent version from SVN, has a "new"? set of Mouse > pointers? And I guess they are *not* new by intention. > > Unfortunately I couldn't get a screenshoot, as the default windows > scree-grabber, doesn't take pictures of the mouse... > (Suggestions/Instructions welcome) > > a few examples (haven't tested too many): > > - The "Hand" cursur (it appears when the mouse hovers over a word in > Synedit, and CTRL is pressed (that is, when the word is highlighted as link) > It used to be a black contur/border (shaped as a hand) and white inside. > Now it is all black. > > - The "double-arrow" / "move a splitter" cursor, it looks like painted > in bold. > > Also both of this cursors would have a one line white outer border > around there shape, so the do distinguish them self from black text. > This also seems to be missing. > > I know this is currently under process, just want to make sure this part > is known? > Are you talking about carbon? On other widgetsets that should not happen. I know that currently on carbon we have some unimplemented parts. Best regards, Paul Ishenin. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Publishing a Lazarus project - including the binary file
Zitat von Csányi Pál <[EMAIL PROTECTED]>: > Mattias Gärtner <[EMAIL PROTECTED]> writes: > >[...] > > No file has a mask. Your file has no extension. > > The binary file 'lptinterface1' has a mask? No. Well, at least not in this context. It is the same as asking 'has an apple an apple basket'? > > That's why you must use the right mask in the 'include filter'. > > OK > > Now I have these setup: > > >> When I am publishing this project I have the following setup at: > >> > >> (_ mean that the box is not set, > >> * mean that the box is set) > >> > >> 'Files': > >> > >> _ Ignore binaries > >> > >> 'Use Include Filter': > >> > >> * Use Include Filter > >> * Simple Syntax > >> > >> .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po) > > *;*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po|mo) The * fits any file. This the same as disabling 'Use Include filter'. > > This mask does not fit for lptinterface1. One solution: append: > > ,lptinterface1 > > > > > >> 'Exclude Filter': > >> > >> * Use Exclude Filter > >> * Simple Syntax > >> > >> .(bak|ppu|ppw|o|so);*~;backup > > *.(compiled|rst|lrt|bak|ppu|ppw|o|so);*~;backup ... and that's why you must exclude a lot more files. > It works! Thank you! Many roads lead to Rome. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unmoveable forms?
Just use the same code you were using in Delphi. It will work in Windows only. What you wish is impossible to implement anywhere else. The best solution would be doing like I said in the first time: Make a borderless window and draw your own title and border if you really need them. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Dragging a window freezes threads using synchronize [was Unmoveable forms?]
On 27/06/2008, Luca Olivetti <[EMAIL PROTECTED]> wrote: > Do you see any adverse effect of this workaround? > I mean, I think the timer fires in the context of the main thread > (otherwise checksynchronize would raise an exception) but outside the > main application loop. I can't see any issue with that workaround. As for the LCL internals, I'm not very knowledable about that, sorry. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Publishing a Lazarus project - including the binary file
Mattias Gärtner <[EMAIL PROTECTED]> writes: > Zitat von Csányi Pál <[EMAIL PROTECTED]>: > >> Mattias Gaertner <[EMAIL PROTECTED]> writes: >> >> > On Thu, 26 Jun 2008 22:21:49 +0200 >> > [EMAIL PROTECTED] (Csányi Pál) wrote: >> > >> >> Now I want to include the binary file too in to the published >> >> project.tar.bz2 but I can't to get it, however I leave blank the box >> >> before Files / Ignore binaries. >> > >> > Maybe your file mask is incorrect? >> >> My system is Debian GNU/Linux Etch so the executable binaries hasn't a >> file mask. > > No file has a mask. Your file has no extension. The binary file 'lptinterface1' has a mask? > That's why you must use the right mask in the 'include filter'. OK Now I have these setup: >> When I am publishing this project I have the following setup at: >> >> (_ mean that the box is not set, >> * mean that the box is set) >> >> 'Files': >> >> _ Ignore binaries >> >> 'Use Include Filter': >> >> * Use Include Filter >> * Simple Syntax >> >> .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po) *;*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po|mo) > This mask does not fit for lptinterface1. One solution: append: > ,lptinterface1 > > >> 'Exclude Filter': >> >> * Use Exclude Filter >> * Simple Syntax >> >> .(bak|ppu|ppw|o|so);*~;backup *.(compiled|rst|lrt|bak|ppu|ppw|o|so);*~;backup It works! Thank you! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot rebuild IDE
Zitat von Dave Coventry <[EMAIL PROTECTED]>: > In an attempt to get my Postgres database app running I have tried to > install the SQL db components as follows: > > I've gone into Components->Installed Packages. > > I have selected SQLDBLaz 1.0 and Selected 'Install Selection'. > > Then, when I click 'Save and Rebuild IDE', it says: > /usr/lib/lazarus/components/sqldb/registersqldb.pas(1,1) FATAL: > Cannot find unit GRIDS used by PropEdits > > Is there something I need to have done? Where is the unit Grids? Grids is a LCL unit. The error message 'cannot find the unit' is often misleading. The compiler has probably found the grids.ppu (the compiled unit), but for some reason it does not like it. For example it looks older than some dependent units. Please delete or rename the directory ~/.lazarus/lib, restart the IDE and try install sqldblaz again. If this does not work: As far as I remember there was a problem with the 0.9.24 debian packages and installing components. I don't remember the details, but maybe you are unlucky. The easiest way is to copy lazarus to your home directory: http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Example_2_:_A_normal_installed_lazarus_plus_a_copy_in_the_home_directory > I'm using 0.9.24 Beta Date: 1-4-08, on Ubuntu Hardy. > > The machine is not connected to the Internet. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Dragging a window freezes threads using synchronize [was Unmoveable forms?]
En/na Luca Olivetti ha escrit: > En/na Graeme Geldenhuys ha escrit: > >>> This is *really* bad, since a user could inadvertently stop the >>> background threads. >>> I could try some workaround (i.e not using synchronize but set some >>> variables in the main form and use a timer to update the visual >>> compnents) but it's ugly and error-prone. >> >> I don't think it's just Lazarus. I think Windows is to blame as well. > > Maybe, but the same problem with delphi (or with lazarus under Linux) > doesn't stop my thread. I've been debugging the lcl and effectively it's windows that's blocking the main loop (I've added that information to the bug report). However timers doesn't suffer the same fate, so, as a simple workaround, I can put a timer on the main form that in turn calls CheckSynchronize. Do you see any adverse effect of this workaround? I mean, I think the timer fires in the context of the main thread (otherwise checksynchronize would raise an exception) but outside the main application loop. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Dragging a window freezes threads using synchronize [was Unmoveable forms?]
En/na Luca Olivetti ha escrit: > En/na Graeme Geldenhuys ha escrit: > >>> This is *really* bad, since a user could inadvertently stop the >>> background threads. >>> I could try some workaround (i.e not using synchronize but set some >>> variables in the main form and use a timer to update the visual >>> compnents) but it's ugly and error-prone. >> >> I don't think it's just Lazarus. I think Windows is to blame as well. > > Maybe, but the same problem with delphi (or with lazarus under Linux) > doesn't stop my thread. I meant "the same program" Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] graphic changes / mouse pointers on windows
I noted that the most recent version from SVN, has a "new"? set of Mouse pointers? And I guess they are *not* new by intention. Unfortunately I couldn't get a screenshoot, as the default windows scree-grabber, doesn't take pictures of the mouse... (Suggestions/Instructions welcome) a few examples (haven't tested too many): - The "Hand" cursur (it appears when the mouse hovers over a word in Synedit, and CTRL is pressed (that is, when the word is highlighted as link) It used to be a black contur/border (shaped as a hand) and white inside. Now it is all black. - The "double-arrow" / "move a splitter" cursor, it looks like painted in bold. Also both of this cursors would have a one line white outer border around there shape, so the do distinguish them self from black text. This also seems to be missing. I know this is currently under process, just want to make sure this part is known? Best Regards Martin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Cannot rebuild IDE
In an attempt to get my Postgres database app running I have tried to install the SQL db components as follows: I've gone into Components->Installed Packages. I have selected SQLDBLaz 1.0 and Selected 'Install Selection'. Then, when I click 'Save and Rebuild IDE', it says: /usr/lib/lazarus/components/sqldb/registersqldb.pas(1,1) FATAL: Cannot find unit GRIDS used by PropEdits Is there something I need to have done? Where is the unit Grids? I'm using 0.9.24 Beta Date: 1-4-08, on Ubuntu Hardy. The machine is not connected to the Internet. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Publishing a Lazarus project - including the binary file
Zitat von Csányi Pál <[EMAIL PROTECTED]>: > Mattias Gaertner <[EMAIL PROTECTED]> writes: > > > On Thu, 26 Jun 2008 22:21:49 +0200 > > [EMAIL PROTECTED] (Csányi Pál) wrote: > > > >> Now I want to include the binary file too in to the published > >> project.tar.bz2 but I can't to get it, however I leave blank the box > >> before Files / Ignore binaries. > > > > Maybe your file mask is incorrect? > > My system is Debian GNU/Linux Etch so the executable binaries hasn't a > file mask. No file has a mask. Your file has no extension. That's why you must use the right mask in the 'include filter'. > After I compiled a Lazarus project I get the following files in the > project directory: > > lptinterface1.hu.mo > lptinterface1.po > lptinterfaceunit1.o > interfaces.o > lptinterface1.hu.po > lptinterface1.sr.mo > lptinterfaceunit1.pas > interfaces.pas > lptinterface1.lpi > lptinterface1.sr.po > lptinterfaceunit1.ppu > interfaces.ppu > lptinterface1.lpr > lptinterfaceunit1.lfm > lptinterfaceunit1.rst > lptinterface1 < This is the binary file. > lptinterface1.mo > lptinterfaceunit1.lrs > lptinterface1.compiled > lptinterface1.o > lptinterfaceunit1.lrt > > > I can to run the 'lptinterface1' binary file in the xterm window with > the > > ./lptinterface1 > > command. > > > This file: lptinterface1 hasn't a file mask, right? > > When I am publishing this project I have the following setup at: > > (_ mean that the box is not set, > * mean that the box is set) > > 'Files': > > _ Ignore binaries > > 'Use Include Filter': > > * Use Include Filter > * Simple Syntax > > .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po) This mask does not fit for lptinterface1. One solution: append: ,lptinterface1 > 'Exclude Filter': > > * Use Exclude Filter > * Simple Syntax > > .(bak|ppu|ppw|o|so);*~;backup > > Is my file mask incorrect? > > What am I doing wrong? Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Java's Document & Elements model
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > On 27/06/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > Please try something like fpc/packages/univint/src/MacOSAll.pas. > > Jump to the end of the file and see what happens to the highlighting > > and your CPU. > > This brings up another point. The thumb button size in scrollbars. Why > the hell must the thumb button be 7 pixels in size. My laptop has a > 1600x1200 display, that means I need to *precision click* on something > 0.43% (horizontal) or 0.58% (vertical) of my screen size. That's 7 > pixel big!!! Even my mouse cursor is bigger than that! See attached > screenshot. > > Why can't the minimum size of the scrollbar thumb button be something > like 50-70 pixels. It will have no affect on the scrolling ability. > I'm sure it's another native widgetset limitation, but something fpGUI > has already overcome. fpGUI can dynamically resizes the thumb button > based on the parents content size, but will not go smaller than the > set minimum size (definately not 7 pixels). Just choose a theme appropriate for your resolution and mouse skills/preferences. I seldom use the scroll buttons, so I like them to be small. I think a widgetset supporting themes is a good thing. And that I can change the biggest part of my applications with one theme manager is a good thing too. So for me this is a pro for native widgetsets. Of course the own widgetset is always superior to all others. The same is true for me and lazarus as an IDE. Mattias ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Dragging a window freezes threads using synchronize [was Unmoveable forms?]
En/na Graeme Geldenhuys ha escrit: >> This is *really* bad, since a user could inadvertently stop the >> background threads. >> I could try some workaround (i.e not using synchronize but set some >> variables in the main form and use a timer to update the visual >> compnents) but it's ugly and error-prone. > > > I don't think it's just Lazarus. I think Windows is to blame as well. Maybe, but the same problem with delphi (or with lazarus under Linux) doesn't stop my thread. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Unmoveable forms?
En/na Kostas Michalopoulos ha escrit: > Thats a hack, but it will probably work: > 1. Save the size/position in a TRect when onShow event occurs > 2. Put a timer that periodically (say, every 50ms or so) checks if the size > or position changed and restore it if so Already tried it (used OnChangeBounds instead of a timer) and the effect is horrible. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Java's Document & Elements model
On 27/06/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > Please try something like fpc/packages/univint/src/MacOSAll.pas. > Jump to the end of the file and see what happens to the highlighting > and your CPU. This brings up another point. The thumb button size in scrollbars. Why the hell must the thumb button be 7 pixels in size. My laptop has a 1600x1200 display, that means I need to *precision click* on something 0.43% (horizontal) or 0.58% (vertical) of my screen size. That's 7 pixel big!!! Even my mouse cursor is bigger than that! See attached screenshot. Why can't the minimum size of the scrollbar thumb button be something like 50-70 pixels. It will have no affect on the scrolling ability. I'm sure it's another native widgetset limitation, but something fpGUI has already overcome. fpGUI can dynamically resizes the thumb button based on the parents content size, but will not go smaller than the set minimum size (definately not 7 pixels). Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ <>___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Publishing a Lazarus project - including the binary file
Mattias Gaertner <[EMAIL PROTECTED]> writes: > On Thu, 26 Jun 2008 22:21:49 +0200 > [EMAIL PROTECTED] (Csányi Pál) wrote: > >> Now I want to include the binary file too in to the published >> project.tar.bz2 but I can't to get it, however I leave blank the box >> before Files / Ignore binaries. > > Maybe your file mask is incorrect? My system is Debian GNU/Linux Etch so the executable binaries hasn't a file mask. After I compiled a Lazarus project I get the following files in the project directory: lptinterface1.hu.mo lptinterface1.po lptinterfaceunit1.o interfaces.o lptinterface1.hu.po lptinterface1.sr.mo lptinterfaceunit1.pas interfaces.pas lptinterface1.lpi lptinterface1.sr.po lptinterfaceunit1.ppu interfaces.ppu lptinterface1.lpr lptinterfaceunit1.lfm lptinterfaceunit1.rst lptinterface1 < This is the binary file. lptinterface1.mo lptinterfaceunit1.lrs lptinterface1.compiled lptinterface1.o lptinterfaceunit1.lrt I can to run the 'lptinterface1' binary file in the xterm window with the ./lptinterface1 command. This file: lptinterface1 hasn't a file mask, right? When I am publishing this project I have the following setup at: (_ mean that the box is not set, * mean that the box is set) 'Files': _ Ignore binaries 'Use Include Filter': * Use Include Filter * Simple Syntax .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po) 'Exclude Filter': * Use Exclude Filter * Simple Syntax .(bak|ppu|ppw|o|so);*~;backup Is my file mask incorrect? What am I doing wrong? -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Java's Document & Elements model
On 27/06/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > 1Mb = 1 mega byte? > That's not very impressive. I meant 1 mega byte into a TEdit. It's actually amazing howmany toolkits can't handle that. > Please try something like fpc/packages/univint/src/MacOSAll.pas. > Jump to the end of the file and see what happens to the highlighting > and your CPU. That is impressive. SynEdit handles a 10.2Mb file without problems. Even Gnomes gEdit slows down on that file, but it's way better that KDE's Kate or KWrite editors. The latter two are quite slow, until it's all caches. Even Midnight Commanders internal 'mcedit' editor works quicker than KDE's ones. That's clearly something the KDE developers screwed up - seeing that Qt rates performance quite high. > Do you mean you want to write a complete HTML viewer? A basic HTML viewer yes - no CSS etc. What I am interrested in at the moment is something that can display styled text (be that HTML, RTF or something custom). At the moment I'm only interested in text attributes like bold, italics, underline and different fonts and different size characters. That will do - all the others features will be bonus extras. Something simple I can use to display basic help to users - better than plain text. The best solution would obviously be to embed Mozilla into a Free Pascal application. I still don't have success with that, but continue trying. If anybody has had success, please let me know. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus