[lazarus] Sockets and Lazarus + WinCE
Can I use the *sockets* components to make an application for WinCE? Regards.
Re: Re: [lazarus]
I'll change it (but it is a bad idea to save text files only in utf-8 in linux, but in ansi in windows, besides, utf8 is very rarely used in final Russian files, when for internal functions it is well). Lazarus-ccr may be a good place (it is in one of my sf.net projects, but it is a little part). _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Configuring IDE Message Window
Hello, How to configure Message Window to show more that one message. After compile only one message is showed. -- Att, Wanderlan Santos dos Anjos (061) 3345-5496; 9133-3804
Re: [lazarus] Latest reviosn fails on Windows
- Original Message - From: "Marc Weustink" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 21, 2007 02:30 Subject: Re: [lazarus] Latest reviosn fails on Windows Jeff Steinkamp wrote: C:\lazarus>make makefile:3434: warning: overriding commands for target `examples' makefile:3394: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `C:/lazarus/lcl' C:/lazarus/fpc/bin/i386-win32/rm.exe -f units/i386-win32/alllclunits.ppu C:/lazarus/fpc/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset -Fiinclu de -FE. -FUunits/i386-win32 -di386 alllclunits.pp Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp alllclunits.pp(31,1) Fatal: Can't find unit System used by AllLCLUnits Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 Make sure that your fpc.cfg is pointing to the right version of the fpc units. (If the system unit cannot be found, you're using the the wrong version of units) Marc How or why would this change from one revision to another when doing an SVN update since it work previously, albeit an SVN from about a month ago. I'll look at this when I get home from work this evening. Jeff _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Tips for lazarus projects and Subversion
Luiz Americo Pereira Camara wrote: Vincent Snijders wrote: Damien Gerard schreef: I use SVn with my projects in lazarus. I added the file project.lpi. This file is sent nearly at each commit and always provides conflicts with others team members. However I believe the file is needed due to there are some settings for the project. Is there a way to avoid this ? Do you store session information in a different file (.lps). Don't add this file to svn. See project options -> Session. Another problem i face is that when you open a project saved in Win32 in a Linux machine the lpi file is changed because of the PathDelim even if you don't change the project options. The inverse (Linux > win32) is also true. This leads to unnecessary file commits. From some time i always check the changes in lpi files to see if worth commiting Luiz What if inside project would be used only one PathDelim and IDE resolve it into correct one on each platform ? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE, howto open a networkpath?
> With the INet components, I managed to use a UDP-component to frequently > ask an internetserver for some data. I guess you can try synapse and indy too, they might provide better system for getting the info you need. Razvan _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Cutting too long strings
On Nov 21, 2007, at 3:06 PM, Damien Gerard wrote: As I could not find a function into the RTL to do that, here is a function to cut too long strings. The advantage is to have the right part of the string in the same time. It is usefull to me to display long paths. I don't know if it will be usefull to you but I share it, just in case. Sorry I copy/paste the old one... function CutString(const s: UTF8String; const maxLen: integer = 30; const rightSide: boolean = false; const rightSideLen: integer = 8) : UTF8String; var i : integer; begin if (0 = maxLen) or (length(s) < maxLen) or (rightSideLen > maxLen - 4) then begin result := s; exit; end; if rightSide then begin i := maxLen - (rightSideLen + 3); result := TrimRight(leftStr(s, i)) + '...' + TrimLeft(rightStr(s, rightSideLen)); end else begin result := leftStr(s, maxLen - 3) + '...'; end; end; -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Cutting too long strings
As I could not find a function into the RTL to do that, here is a function to cut too long strings. The advantage is to have the right part of the string in the same time. It is usefull to me to display long paths. I don't know if it will be usefull to you but I share it, just in case. program piko; {$mode objfpc} uses sysUtils; function CutString(const s: UTF8String; const maxLen: integer = 30; const rightSide: boolean = false; const rightSideLen: integer = 8) : UTF8String; var l, i : integer; begin l := length(s); if (0 = maxLen) or (l < maxLen) or (rightSideLen > maxLen - 4) then begin result := s; exit; end; if rightSide then begin i := l - (rightSideLen + 3); result := TrimRight(leftStr(s, i)) + '...' + TrimLeft(rightStr(s, rightSideLen)); end else begin result := leftStr(s, maxLen - 3) + '...'; end; end; const TEXT_TO_REDUCE = 'here is a very long text and it would nice to cut it !'; begin writeln(CutString(TEXT_TO_REDUCE));// here is a very long text an... writeln(CutString(TEXT_TO_REDUCE, 30, true)); // here is a very long text and it would nice...cut it ! end. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Tips for lazarus projects and Subversion
Vincent Snijders wrote: Damien Gerard schreef: I use SVn with my projects in lazarus. I added the file project.lpi. This file is sent nearly at each commit and always provides conflicts with others team members. However I believe the file is needed due to there are some settings for the project. Is there a way to avoid this ? Do you store session information in a different file (.lps). Don't add this file to svn. See project options -> Session. Another problem i face is that when you open a project saved in Win32 in a Linux machine the lpi file is changed because of the PathDelim even if you don't change the project options. The inverse (Linux > win32) is also true. This leads to unnecessary file commits. From some time i always check the changes in lpi files to see if worth commiting Luiz _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
Selon Andrey Gusev <[EMAIL PROTECTED]>: > * fedorax <[EMAIL PROTECTED]> [Wed, 21 Nov 2007 11:13:51 +0100]: > > Selon Andrey Gusev <[EMAIL PROTECTED]>: > > > fpc 9275 > > > lazarus 12952 > > Same thing with FPC 9290 downgrade to lazarus 12945 to avoid it. > lazarus 12955 not give , > but problem with spoltaneous exiting maybe left. > 12955 work fine for me. > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Tips for lazarus projects and Subversion
On Nov 21, 2007, at 1:02 PM, Vincent Snijders wrote: Damien Gerard schreef: I use SVn with my projects in lazarus. I added the file project.lpi. This file is sent nearly at each commit and always provides conflicts with others team members. However I believe the file is needed due to there are some settings for the project. Is there a way to avoid this ? Do you store session information in a different file (.lps). Don't add this file to svn. See project options -> Session. Yeah ! Thanks a lot ! Vincent -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
In practice the fpc fixes branch is also the development branch between major releases. A lot of minor features are also merged into it. Yes. But, as you said, new features are minor. According to my own experience using fpc's fixes branch, I saw them pretty consistent to not break the stability. For me, this is the reason why I personally prefer fixes branch over stable releases and development branches. Besides, one who choose to use fixes branch should know the consequences, both good and bad. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Tips for lazarus projects and Subversion
Damien Gerard schreef: I use SVn with my projects in lazarus. I added the file project.lpi. This file is sent nearly at each commit and always provides conflicts with others team members. However I believe the file is needed due to there are some settings for the project. Is there a way to avoid this ? Do you store session information in a different file (.lps). Don't add this file to svn. See project options -> Session. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Bee schreef: Nope, that are moving targets, it will be 0.9.24.2 and 2.2.2 (or 2.2.0) I know. I'd discussed about this with Paul Ishenin on the other previous thread. :) (Personally I prefer stability and not a moving target where you have to find out what surprised tomorrow will bring) Fixes branch is different from development branch. I believe fixes branch has relative smaller risk of surprise factors, though somehow it still possible. This is due fixes branch (as the name implies) is to fix bugs which are still left in stable release. In practice the fpc fixes branch is also the development branch between major releases. A lot of minor features are also merged into it. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Tips for lazarus projects and Subversion
I use SVn with my projects in lazarus. I added the file project.lpi. This file is sent nearly at each commit and always provides conflicts with others team members. However I believe the file is needed due to there are some settings for the project. Is there a way to avoid this ? -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Nope, that are moving targets, it will be 0.9.24.2 and 2.2.2 (or 2.2.0) I know. I'd discussed about this with Paul Ishenin on the other previous thread. :) (Personally I prefer stability and not a moving target where you have to find out what surprised tomorrow will bring) Fixes branch is different from development branch. I believe fixes branch has relative smaller risk of surprise factors, though somehow it still possible. This is due fixes branch (as the name implies) is to fix bugs which are still left in stable release. Fixes branch should not introduce new features or any changes that might break its stability. Giuliano Colla said he is in charge to maintain this branch. I learn this concept from fpc's versioning scheme. I think it won't harm anybody if lazarus follows it as well. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Marc Weustink schreef: Bee wrote: The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. Great job! Congratulations! :) Then I assume this will be shortly followed by fixes branch of this latest stable release (v.0.9.24.1?) using the latest fpc's fixes branch of the latest stable release (v.2.2.1). Nope, that are moving targets, it will be 0.9.24.2 and 2.2.2 (or 2.2.0) I agree with Marc. *IF* there ever will be a 0.9.24.2 release, which the maintainer of the fixes branch has to decide and find the manpower for, then it will be based on the latest fpc release. Therefore *possible* snapshots will be based on the fpc release too. But you can get the sources from svn yourself and try to compile every possible combination. I don't know which fpc version Guilo wants to support on the fixes branch, but certainly the latest fpc release. I personally prefer fixes branch (of stable release) than the stable release itself. Why ? (Personally I prefer stability and not a moving target where you have to find out what surprised tomorrow will bring) Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
* fedorax <[EMAIL PROTECTED]> [Wed, 21 Nov 2007 11:13:51 +0100]: Selon Andrey Gusev <[EMAIL PROTECTED]>: > fpc 9275 > lazarus 12952 Same thing with FPC 9290 downgrade to lazarus 12945 to avoid it. lazarus 12955 not give , but problem with spoltaneous exiting maybe left. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Congratulations, it's major step forward. Regards, Gerard. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Bee wrote: The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. Great job! Congratulations! :) Then I assume this will be shortly followed by fixes branch of this latest stable release (v.0.9.24.1?) using the latest fpc's fixes branch of the latest stable release (v.2.2.1). Nope, that are moving targets, it will be 0.9.24.2 and 2.2.2 (or 2.2.0) I personally prefer fixes branch (of stable release) than the stable release itself. Why ? (Personally I prefer stability and not a moving target where you have to find out what surprised tomorrow will bring) -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
Andrey Gusev wrote: * Paul Ishenin <[EMAIL PROTECTED]> [Wed, 21 Nov 2007 17:19:04 +0700]: Andrey Gusev wrote: > fpc 9275 > lazarus 12952 Why you think it is crash? Just an exception which handled by lazarus. But I'll reimplement things to prevent exceptions. IDE spontaneous exits after brings message box, - when only i try to mouse move. This exception brings only after rebuilding IDE from itself inside. Lazreport, Printer4lazarus, rx, rxnew, sqldblaz, have installed. I fixed exception in r12954 Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
All French are happy ;) Thanks to all involved in the development of Lazarus... and more ! -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php
Re: [lazarus] 0.9.24 released
The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. Great job! Congratulations! :) Then I assume this will be shortly followed by fixes branch of this latest stable release (v.0.9.24.1?) using the latest fpc's fixes branch of the latest stable release (v.2.2.1). I personally prefer fixes branch (of stable release) than the stable release itself. -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
* Paul Ishenin <[EMAIL PROTECTED]> [Wed, 21 Nov 2007 17:19:04 +0700]: Andrey Gusev wrote: > fpc 9275 > lazarus 12952 Why you think it is crash? Just an exception which handled by lazarus. But I'll reimplement things to prevent exceptions. IDE spontaneous exits after brings message box, - when only i try to mouse move. This exception brings only after rebuilding IDE from itself inside. Lazreport, Printer4lazarus, rx, rxnew, sqldblaz, have installed. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus]
On Tue, 20 Nov 2007 10:30:44 +0300 "Vasily I. Volchenko" <[EMAIL PROTECTED]> wrote: > I need to use mathematical plots in my programs quite often. Delphi > has a TeeChart which theoretically can be used for such purposes (but > it is not so good). Lazarus' replacements of TeeChart can't do it at > all. Quite long times ago I made a plots package, and now it is > updated for current lazarus. It supports both 2d and 3d plots, but > not so good as it may be wanted. Anyway, it may be a good idea to > share with it. Nice. Can you change the license encoding to UTF-8 or replace it with an english text? TCanvas3D.Paint: Canvas.Color was deleted from LCL. It was formerly an alias for Canvas.Brush.Color. But in this case I think you need Canvas.Font.Color. Where do you plan to upload it? lazarus-ccr? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Windows XP and Windows CE installation
Pierre schreef: Hi, I noticed that the archive for Windows and the Windows CE are in the download section of sourceforge. My questions are: I want to develop for windows and for windows CE. How to install these archives? In the same directory? Each version in separate directory? In the same directory. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff
Mattias Gaertner wrote: Please concentrate on the public or published properties - anyway, these are the only ones that MakeSkel will have put into the skeleton XML file. Would it hurt, if other tools add entries for private and protected members? No, absolutely not. It would be great to have access to some of the protected/private entries, particularly in the Chris Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Windows XP and Windows CE installation
Hi, I noticed that the archive for Windows and the Windows CE are in the download section of sourceforge. My questions are: I want to develop for windows and for windows CE. How to install these archives? In the same directory? Each version in separate directory? -- Pierre http://datalinkwristapps.free.fr http://dpsite.free.fr _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Anchors editor, BorderSpacing limited to 100
On Nov 21, 200 Thanks ! Yes I think 200 is really enough. In fact, I have been asked this kind of layout : Title << here was my problem text text text 1 : text text text All caption for all label never change, and it is for a specific platform. I know it is not the better solution :) If everything is static, then why do you use BorderSpacing? Their size are, not their position. I know it is a strange case :) Mattias -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
On Nov 21, 2007, at 11:08 AM, Mattias Gaertner wrote: The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. This release can be downloaded from the sourceforge download page: http://sourceforge.net/project/showfiles.php?group_id=89339 Highlights / Major changes: - The win32 widgetset interface can be used on win64 too and has been relabeled win32/win64 - First stable releases of the Windows CE and i386-darwin (IntelMac) versions - Huge improvements to QT, Carbon and Gtk2 widgetset interfaces - Due to a name conflict under Linux with the tct package the link '/usr/bin/lazarus' was renamed to '/usr/bin/lazarus-ide'. This means the IDE can no longer be started by typing 'lazarus' in a terminal but with 'startlazarus' or 'lazarus-ide'. The detailed list of changes can be found here: http://wiki.lazarus.freepascal.org/Lazarus_0.9.24_release_notes And several hundred fixes and minor improvements. Great job ! -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Pierre a écrit : Hi, Great job, thanks to developers. Hello, Great job too ! Chris _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] 0.9.24 released
Hi, Great job, thanks to developers. -- Pierre http://datalinkwristapps.free.fr http://dpsite.free.fr Selon Mattias Gaertner <[EMAIL PROTECTED]>: > The Lazarus team is glad to announce the 0.9.24 release. This release > is based on fpc 2.2.0. > > This release can be downloaded from the sourceforge download page: > http://sourceforge.net/project/showfiles.php?group_id=89339 > > Highlights / Major changes: > - The win32 widgetset interface can be used > on win64 too and has been relabeled win32/win64 > - First stable releases of the > Windows CE and i386-darwin (IntelMac) versions > - Huge improvements to QT, Carbon and Gtk2 widgetset interfaces > - Due to a name conflict under Linux with the tct package the link > '/usr/bin/lazarus' was renamed to '/usr/bin/lazarus-ide'. This means > the IDE can no longer be started by typing 'lazarus' in a terminal but > with 'startlazarus' or 'lazarus-ide'. > > > The detailed list of changes can be found here: > http://wiki.lazarus.freepascal.org/Lazarus_0.9.24_release_notes > > > And several hundred fixes and minor improvements. > > > Mattias > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
Selon Andrey Gusev <[EMAIL PROTECTED]>: > fpc 9275 > lazarus 12952 > Same thing with FPC 9290 downgrade to lazarus 12945 to avoid it. Output error: --- "IDE" completed TMainIDE.DoRestart TMainIDE.DoCloseEditorFile A PageIndex=0 TCustomFormEditor.DeleteComponent Form1:TForm1 IsJITComponent=True FreeComponent=True TMainIDE.DoCloseEditorFile end LAZARUS END - cleaning up ... [TMainIDE.Destroy] A [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END TLazarusManager.Run starting /usr/local/src/lazarus/trunk/lazarus ... TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE : fichier de configuration codetools non trouvé. Valeurs par défaut utilisées. NOTE: help options config file not found - using defaults [TMainIDE.Destroy] A [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END [FORMS.PP] ExceptionOccurred Sender=EResNotFound Exception=Resource "TODBCConnection" not found Stack trace: $081457A6 TLAZARUSRESOURCESTREAM__INITIALIZE, line 4511 of lresources.pp $0814587E TLAZARUSRESOURCESTREAM__CREATE, line 4518 of lresources.pp $081287EF LOADBITMAPFROMLAZARUSRESOURCE, line 1481 of graphics.pp $084C7CEB TPKGCOMPONENT__GETICONCOPY, line 3411 of /usr/local/src/lazarus/trunk/packager/packagedefs.pas $084C7C5D TPKGCOMPONENT__ICON, line 3403 of /usr/local/src/lazarus/trunk/packager/packagedefs.pas $082F6EB7 TCOMPONENTPALETTE__UPDATENOTEBOOKBUTTONS, line 554 of componentpalette.pas $082F5E29 TCOMPONENTPALETTE__SETNOTEBOOK, line 221 of componentpalette.pas $0832C3DE TPKGMANAGER__UPDATEVISIBLECOMPONENTPALETTE, line 1916 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $0832712D TPKGMANAGER__IDECOMPONENTPALETTEENDUPDATE, line 518 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $082F8E6E TBASECOMPONENTPALETTE__DOENDUPDATE, line 434 of componentreg.pas $082F62D2 TCOMPONENTPALETTE__DOENDUPDATE, line 326 of componentpalette.pas $082F91D3 TBASECOMPONENTPALETTE__ENDUPDATE, line 516 of componentreg.pas $0832C356 TPKGMANAGER__LOADINSTALLEDPACKAGES, line 1897 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $0809011B TMAINIDE__CREATE, line 1149 of main.pp $0805C023 main, line 93 of lazarus.pp TApplication.HandleException Resource "TODBCConnection" not found Stack trace: $081457A6 TLAZARUSRESOURCESTREAM__INITIALIZE, line 4511 of lresources.pp $0814587E TLAZARUSRESOURCESTREAM__CREATE, line 4518 of lresources.pp $081287EF LOADBITMAPFROMLAZARUSRESOURCE, line 1481 of graphics.pp $084C7CEB TPKGCOMPONENT__GETICONCOPY, line 3411 of /usr/local/src/lazarus/trunk/packager/packagedefs.pas $084C7C5D TPKGCOMPONENT__ICON, line 3403 of /usr/local/src/lazarus/trunk/packager/packagedefs.pas $082F6EB7 TCOMPONENTPALETTE__UPDATENOTEBOOKBUTTONS, line 554 of componentpalette.pas $082F5E29 TCOMPONENTPALETTE__SETNOTEBOOK, line 221 of componentpalette.pas $0832C3DE TPKGMANAGER__UPDATEVISIBLECOMPONENTPALETTE, line 1916 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $0832712D TPKGMANAGER__IDECOMPONENTPALETTEENDUPDATE, line 518 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $082F8E6E TBASECOMPONENTPALETTE__DOENDUPDATE, line 434 of componentreg.pas $082F62D2 TCOMPONENTPALETTE__DOENDUPDATE, line 326 of componentpalette.pas $082F91D3 TBASECOMPONENTPALETTE__ENDUPDATE, line 516 of componentreg.pas $0832C356 TPKGMANAGER__LOADINSTALLEDPACKAGES, line 1897 of /usr/local/src/lazarus/trunk/packager/pkgmanager.pas $0809011B TMAINIDE__CREATE, line 1149 of main.pp $0805C023 main, line 93 of lazarus.pp [FORMS.PP] ExceptionOccurred _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Crash: Exception=Resource "TODBCConnection" not found
Andrey Gusev wrote: fpc 9275 lazarus 12952 Why you think it is crash? Just an exception which handled by lazarus. But I'll reimplement things to prevent exceptions. Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff
On Wed, 21 Nov 2007 09:49:21 + Chris Kirkpatrick <[EMAIL PROTECTED]> wrote: > Hi Wanderlan - > > A standard patch from a Diff would be fine. Yu can either post it on > the mailing list, or you can avoid annoying all the other recipients > (!) by sending direct to me at the above email. If you like I can > make minor alterations before committing. > > Earliest undocumented ancestor of TStringGrid is TCustomGrid, so that > would be a good place to start. Please concentrate on the public or > published properties - anyway, these are the only ones that MakeSkel > will have put into the skeleton XML file. Would it hurt, if other tools add entries for private and protected members? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] 0.9.24 released
The Lazarus team is glad to announce the 0.9.24 release. This release is based on fpc 2.2.0. This release can be downloaded from the sourceforge download page: http://sourceforge.net/project/showfiles.php?group_id=89339 Highlights / Major changes: - The win32 widgetset interface can be used on win64 too and has been relabeled win32/win64 - First stable releases of the Windows CE and i386-darwin (IntelMac) versions - Huge improvements to QT, Carbon and Gtk2 widgetset interfaces - Due to a name conflict under Linux with the tct package the link '/usr/bin/lazarus' was renamed to '/usr/bin/lazarus-ide'. This means the IDE can no longer be started by typing 'lazarus' in a terminal but with 'startlazarus' or 'lazarus-ide'. The detailed list of changes can be found here: http://wiki.lazarus.freepascal.org/Lazarus_0.9.24_release_notes And several hundred fixes and minor improvements. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Anchors editor, BorderSpacing limited to 100
On Wed, 21 Nov 2007 09:27:42 +0100 Damien Gerard <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2007, at 11:24 PM, Mattias Gaertner wrote: > > > On Tue, 20 Nov 2007 22:34:24 +0100 > > Damien Gerard <[EMAIL PROTECTED]> wrote: > > > >> > >> On Nov 20, 2007, at 9:04 PM, Mattias Gaertner wrote: > >> > >>> On Tue, 20 Nov 2007 20:53:04 +0100 > >>> Damien Gerard <[EMAIL PROTECTED]> wrote: > >>> > > On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote: > > > On Tue, 20 Nov 2007 16:19:19 +0100 > > Damien Gerard <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi ! > >> > >> Could someone tell me why all BorderSpacing is limited to 100 > >> in the Anchors Editor ? > > > > Because the developers have not enough imagination to think > > about a case where more than 100 is needed, but have enough > > imagination to think about typing mistakes resulting in > > controls hidden far away. > > > > lol > > But 100 is for sure too short :) > >>> > >>> Can you give an example? > >>> > >> > >> The project is a closed source one but due to long caption the GUI > >> looks like nicer (and in fact it is a request from my chief... How > >> boring they can be sometimes...) if it is set to 120, or something > >> like this > > > > I don't understand why a 'long caption' requires a 'BorderSpacing' > > of 120, but I increased the max to 200. > > > > Thanks ! Yes I think 200 is really enough. In fact, I have been > asked this kind of layout : > > Title << here was my problem >text text text 1 : text text text > > All caption for all label never change, and it is for a specific > platform. > I know it is not the better solution :) If everything is static, then why do you use BorderSpacing? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Search engine for Lazarus and Free Pascal concerned stuff
Hi Wanderlan - A standard patch from a Diff would be fine. Yu can either post it on the mailing list, or you can avoid annoying all the other recipients (!) by sending direct to me at the above email. If you like I can make minor alterations before committing. Earliest undocumented ancestor of TStringGrid is TCustomGrid, so that would be a good place to start. Please concentrate on the public or published properties - anyway, these are the only ones that MakeSkel will have put into the skeleton XML file. Regards - Chris Wanderlan Santos dos Anjos wrote: Ok Chris, I have noticed that you like to write ... I will take the deepest ancestor to TStringGrid, not documented yet, and will begin documenting from there. This approach is ok? How would you prefer to receive the material to review it? Is a standard patch ok? Or not? Perhaps XML, HTML, plain text...What will be more productive for you? TIA Wanderlan On 11/20/07, Chris Kirkpatrick <[EMAIL PROTECTED]> wrote: Hi Wanderlan - I have started at the 'ancestor' level of the LCL, and have produced documentation for several of the Classes in Controls, mainly TControl, TWinControl, TCustomControl; then I did some work on Dialogs, Forms (TForm, TApplication, TScreen and TScrollBox) and Graphics (TBitMap, TBrush, TCanvas, TPen). I have tried to concentrate on those public or published properties and methods that are regularly found in descendant classes, so that once defined in the ancestor the inherited property need not be defined again (unless the descendant needs to override the inherited property). I then started to work on StdCtrls and Buttons, to describe the widgets that are most frequently used in forms. I had already done some work on StdCtrls, ComCtrls and ExtCtrls about two years ago, and Mattijs Willemstein had also written some documentation, but then I got very busy at work and was unable to do anything for a while. I am now back in production! I would be very grateful for your contributions to Grids, particularly as this is an area that I understand only poorly! I should be more than happy to help with 'English' problems, and our objective should be to write code that will be easily translatable into other languages, once we have got the basic information correct. I look forward to a fruitful collaboration. Regards - Chris Wanderlan Santos dos Anjos wrote: Hi Chris, What you already documented? You are alone in this? What are your priorities? What should be documented next? How english is not my native language, my texts' style can look a bit convoluted...;} Wanderlan _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] WinCE, howto open a networkpath?
Sorry if I go a little out of the topic... but WinCE is not discussed much here so I take the occasion to ask: is there someway to manage the dialogs of WinCE? I would need, for example, a way to force the keyboard to appear and disappear... Sorry, didn't get that far yet, so I don't know. However, since Lazarus is becoming more popular, I think the discussion about WinCE will increase... regards, John Thank you for the code about the networkpath, I also needed that. Cheers, Adrian. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Crash: Exception=Resource "TODBCConnection" not found
fpc 9275 lazarus 12952 lll.txt.bz2 Description: BZip2 compressed data
Re: [lazarus] Latest reviosn fails on Windows
Jeff Steinkamp wrote: C:\lazarus>make makefile:3434: warning: overriding commands for target `examples' makefile:3394: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `C:/lazarus/lcl' C:/lazarus/fpc/bin/i386-win32/rm.exe -f units/i386-win32/alllclunits.ppu C:/lazarus/fpc/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset -Fiinclu de -FE. -FUunits/i386-win32 -di386 alllclunits.pp Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp alllclunits.pp(31,1) Fatal: Can't find unit System used by AllLCLUnits Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 Make sure that your fpc.cfg is pointing to the right version of the fpc units. (If the system unit cannot be found, you're using the the wrong version of units) Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Latest reviosn fails on Windows
Jeff Steinkamp пишет: C:\lazarus>make try make clean all Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Latest reviosn fails on Windows
On Nov 21, 2007, at 10:13 AM, Jeff Steinkamp wrote: C:\lazarus>make makefile:3434: warning: overriding commands for target `examples' makefile:3394: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `C:/lazarus/lcl' C:/lazarus/fpc/bin/i386-win32/rm.exe -f units/i386-win32/ alllclunits.ppu C:/lazarus/fpc/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms - Fuwidgetset -Fiinclu de -FE. -FUunits/i386-win32 -di386 alllclunits.pp Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp alllclunits.pp(31,1) Fatal: Can't find unit System used by AllLCLUnits Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 C:\lazarus> it might be intresting to note that I have a similar problem on my Linux Box with GTK2 and gettng the following on that box. gtkwidgetset.inc(618,48) Error identifer not found panjo_layout_set_font_description With the lastest snapshot under Windows (Lazarus-0.9.25- fpc-2.2.1-20071121-win32.exe) I have the following error : Ressource "TIFileDataProvider" not found. A screenshot is available if needed. -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Mac OS X : Bitmap ScanLine....
Dominique Louis wrote: I know I've labeled this as Mac OS X, it's probably not specific to that OS. I've looked at the scanline demo and it works fine on Mac OS X. My question is when I try to use the code in my project using Delphi compatability mode, I get the error listed below... var lRow : Pointer; ScanLineImage : TLazIntfImage; begin for j := 0 to Height - 1 do begin lRow := ScanLineImage.GetDataLineStart( j ); i := 0; while ( i < Width - 1 ) do begin PByte(lRow)[i] := 0; // Error : Array type required end; end; end; Why and is there a fix for this? in objfpc mode you can access any typed pointer as an array like: var p: PWord; begin ... p[someindex] := 12345; Should I define lRow as a PByteArray? In delphi mode, Yes. Unless you want to compile this in Delphi, there is no reason to use delphi mode. You can, if needed, use a different mode per unit. Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Latest reviosn fails on Windows
C:\lazarus>make makefile:3434: warning: overriding commands for target `examples' makefile:3394: warning: ignoring old commands for target `examples' make -C lcl all make[1]: Entering directory `C:/lazarus/lcl' C:/lazarus/fpc/bin/i386-win32/rm.exe -f units/i386-win32/alllclunits.ppu C:/lazarus/fpc/bin/i386-win32/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset -Fiinclu de -FE. -FUunits/i386-win32 -di386 alllclunits.pp Free Pascal Compiler version 2.2.0 [2007/09/09] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp alllclunits.pp(31,1) Fatal: Can't find unit System used by AllLCLUnits Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `C:/lazarus/lcl' make: *** [lcl] Error 2 C:\lazarus> it might be intresting to note that I have a similar problem on my Linux Box with GTK2 and gettng the following on that box. gtkwidgetset.inc(618,48) Error identifer not found panjo_layout_set_font_description Jeff Steinkamp - N7YG Tucson, AZ SCUD Missile Coordinates N32-13-55.01 W110-50-51.91 http://n7yg.net http://home.earthlink.net/~jksteinkamp Linux User #420428 Skype : jeff_steinkamp Yahoo Messenger: n7yg ___ Don't drink. You might shoot at tax collectors and miss. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Anchors editor, BorderSpacing limited to 100
On Nov 20, 2007, at 11:24 PM, Mattias Gaertner wrote: On Tue, 20 Nov 2007 22:34:24 +0100 Damien Gerard <[EMAIL PROTECTED]> wrote: On Nov 20, 2007, at 9:04 PM, Mattias Gaertner wrote: On Tue, 20 Nov 2007 20:53:04 +0100 Damien Gerard <[EMAIL PROTECTED]> wrote: On Nov 20, 2007, at 8:47 PM, Mattias Gaertner wrote: On Tue, 20 Nov 2007 16:19:19 +0100 Damien Gerard <[EMAIL PROTECTED]> wrote: Hi ! Could someone tell me why all BorderSpacing is limited to 100 in the Anchors Editor ? Because the developers have not enough imagination to think about a case where more than 100 is needed, but have enough imagination to think about typing mistakes resulting in controls hidden far away. lol But 100 is for sure too short :) Can you give an example? The project is a closed source one but due to long caption the GUI looks like nicer (and in fact it is a request from my chief... How boring they can be sometimes...) if it is set to 120, or something like this I don't understand why a 'long caption' requires a 'BorderSpacing' of 120, but I increased the max to 200. Thanks ! Yes I think 200 is really enough. In fact, I have been asked this kind of layout : Title << here was my problem text text text 1 : text text text All caption for all label never change, and it is for a specific platform. I know it is not the better solution :) Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Damien Gerard [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives