Re: [lazarus] is svn server down?
Bee schreef: No, it is not down. What are you trying to do? I'm sorry. I meant the svn web sites. I used to look at this url: http://www.freepascal.org/cgi-bin/viewcvs.cgi/?root=lazarus before I update my lazarus's local svn repository. Apparently, the SVN server itself is up since I'm able to get update from the svn. But, not the svn web site. I got 404 respond on the above url. That url doesn't work anymore. If you want to have information from the svn server use: http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] The Fixes Branch
Vincent Snijders schreef: Bee schreef: I request for PNG support and fcl-db improvement to be applied/backported from fpc 2.2.1+2.3.1 and laz 9.25. What fcl-db things are you missing in 0.9.24.1, if you compile it with fpc 2.3.1? What Lazarus revisions do you request to be merged? All component images and the datadictionary and the dataexporter have been merged. I also merged most of my bug fixes. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] laz svn error on tform event handler creation
Bee schreef: Lately I got Error: unit custapp unit not found on Lazarus from SVN. It only happens if the IDE try to create TForm's events from the Form Designer, for example if I double click the form which should create TForm's OnCreate event. The same attempt is alright, means successfully create the event, if it is done over other components, for example TButton. After digging deeper, I found that Lazarus couldn't any units that lay in $fpc_source_dir/packages/fcl-base/src/inc, not just CustApp unit. I copied some files from that folder to other folders in order to IDE could find them, but I got no luck. :( I don't have this problem with r13413 on windows. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] The Fixes Branch
Bee schreef: Very wisely, Felipe suggested that instead of trying and apply all fixes and/or enhancements which appear reasonable, we should concentrate on what's actually needed. I can understand the problem. It's because laz 9.25 has so many bug fixes, enhancements and improvements, even some are on basic level (file names, folder structures, etc). Those make maintaining a fix branch become so hard, though it's not impossible. Besides, this is our first attempt to provide a fix branch. ;) User requests are therefore welcome. If possible (i.e. if fixes can be either directly applied or backported with a reasonable confidence) they'll be honored. I request for PNG support and fcl-db improvement to be applied/backported from fpc 2.2.1+2.3.1 and laz 9.25. What fcl-db things are you missing in 0.9.24.1, if you compile it with fpc 2.3.1? What Lazarus revisions do you request to be merged? Or, I have another idea though it sounds pretty crazy. We speed up 9.25 to release 9.26. Before the release, make sure 9.26 somehow is more fix branch friendly. So, next fix branch can be maintained in easier way. ;) Maybe this sounds crazy, but the only way I see to make the 0.9.26 more fix branch friendly is to stop development on 0.9.27. Vincnet _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Working with different versions of lazarus
ik schreef: On Dec 21, 2007 12:27 AM, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like that ? You can tell lazarus what configuration directory to use. The default is ~/.lazarus (on *nix), but you can change this by using the --pcp parameter: ./lazarus --pcp= See also ./lazarus --help Thanks, that worked. It seems though that if Lazarus restart itself (like after recompiling Lazarus from inside the menu options), it will not pass the command line parameters. Good point. It probably should. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] REQ: include LazReport and VirtualTV in bigide
Damien Gerard schreef: On Dec 20, 2007, at 9:28 AM, Bee wrote: Hi all, I propose to Lazarus developers to include LazReport and VirtualTreeView as included default components in make bigide. Both are very useful components to users. I agree with you. My policy is to only use the default provided set of components in order to be sure components work :) Yes, and to accomplish that (being sure that components work), the default provided set should be as small as possible :-) Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] REQ: include LazReport and VirtualTV in bigide
Bee schreef: The IDE can only use standard components, that are maintained by the lazarus developers. Currently, there are some components that don't meet your 'standard' criteria. For example: IPro, SynEdit, and TDBF. Should we exclude them on next release? ;) TDBF is maintained by Micha Nelissen, who happens to be a Lazarus developer. The synedit version used is Lazarus has had so many changes you cannot say we don't maintain it. IPro has had many changes too, by at least three different persons, so the Lazarus team is able to maintain that too. So all three meet the criteria of maintained by Lazarus developers. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] New icon for lazarus
Marc Weustink schreef: wile64 wrote: I propose a new icon for lazarus, It can be used for whatever you want :) huh... this is a grey dot. Any meaning/thoughts ? I thought it was a pawn print of a cheetah. But it is not very clear, you have to 'know' it to see it. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] OnIdle event is effective only on last (last created?) form ?!
Al Boldi schreef: Mattias Gaertner wrote: TApplicationProperties now uses handler lists instead of global events. That means for example, two TApplicationProperties can now both set OnIdle and both are called. Which version had this change? http://www.freepascal.org/cgi-bin/viewcvs.cgi?root=lazarusdiff_format=lrev=13358view=rev Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Failed to build LCL
Antonio Sanguigni schreef: Hi all, after my last svn up (sunday 16.12.2007) I'm not able to build Lazarus under Linux anymore. I got this error: synhighlighterlfm.pas(53,34) Fatal: Can't find unit SynHighlighterPas used by EditorOptions Fixed. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] A Thread in DLL
Al Boldi schreef: Michael Van Canneyt wrote: On Sat, 15 Dec 2007, Al Boldi wrote: melchiorre caruso wrote: I found an article that explains why my code does not work on Windows: Actually, I had a closer look at synchronize, and it turns out to be dependent on the GUI, which probably means that you need to include 'Interfaces' in your library uses clause. Can you try this on windows? No. Synchronize does not depend on the GUI, it does depend on the main thread calling CheckSynchronize from time to time. The problem is that synchronize depends on calling WakeMainThread, but that only gets set when you include the Interfaces unit. WakeMainThread is just one way to make sure that the calling thread calls CheckSynchronize from time to time. Synchronize does not depend on how the main thread call CheckSynchronize, just that it is accomplished. melchiorre caruso wrote: libthread.dpr(4,3) Fatal: Can't find unit Interfaces used by libthread I add manually $(LazarusDir)\lcl\interfaces\$(TargetOS) to the paths but an other error occours: Fatal: Can't find unit InterfaceBase used by Interfaces The dog bites the tail I use WinXp Sp2 Lazarus svn Fcp 2.2.0 Try adding the LCL to your project. But, you could instead just try setting WakeMainThread in your lib yourself, and let the handler post a message to the mainthread. That's what the Interfaces unit does. Can you try this? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] latest svn fails to start
Mario R. Carro schreef: On Thursday 13 December 2007 12:22:43 Vincent Snijders wrote: Mario R. Carro schreef: TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 [FORMS.PP] ExceptionOccurred Sender=Ecompressionerror Exception=buffer error Stack trace: Any hint? Don't use fpc 2.1.1: http://www.freepascal.org/mantis/view.php?id=10347 Vincent I'm using fpc 2.2.1, not 2.1.1. Sorry, a typo. I meant 2.2.1. Mmm, my previous mail lacks context information: I'm boostraping lazarus on a new box with Debian unstable. I installed fpc from Debian (version 2.2.0-2 at this moment) and downloaded the latest fpc and Lazarus from svn (fpc from the fixes_2_2 branch). I compiled fpc-svn with fpc-debian, uninstalled (purged in fact) fpc-debian and then compiled Lazarus with fpc-svn. Do you use r9450 of fpc or later. It is suposedly fixed. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] cross compile deb status and next problem
Al Boldi schreef: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Sam Liddicott [EMAIL PROTECTED] wrote: THAT much works; so merely installing a cross-compiler deb will let lazarus just pick it up and run Nice. Just like the existing fpc_crosswin32 package, but finally for more platforms. :) I had a look at fpc_crosswin32. It's huge, ~25MB. It contains tools and ppu. What parts should be left out? It would be nice to only have the absolute minimum needed to enable cross-compile. The tools should be in another package. Why are the ppu's in there? Can't they be compiled locally? So can the binutils. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] latest svn fails to start
Mario R. Carro schreef: TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 [FORMS.PP] ExceptionOccurred Sender=Ecompressionerror Exception=buffer error Stack trace: Any hint? Don't use fpc 2.1.1: http://www.freepascal.org/mantis/view.php?id=10347 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Lazarus not cross compiling
Sam Liddicott schreef: Please could a wise chap help me see why lazarus is calling ppc386 even when I select to compile for powerpc. The search paths are powerpc but the wrong compiler is called. What does Environment - Environment Options - Files - Compiler Path say? The compiler name should be ppcppc or (as I prefer) fpc. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Lazarus not cross compiling
Sam Liddicott schreef: * Vincent Snijders wrote, On 12/12/07 13:53: Sam Liddicott schreef: Please could a wise chap help me see why lazarus is calling ppc386 even when I select to compile for powerpc. The search paths are powerpc but the wrong compiler is called. What does Environment - Environment Options - Files - Compiler Path say? The compiler name should be ppcppc or (as I prefer) fpc. That's what I was looking for. Thanks FYI, this information is also in the last paragraph of http://wiki.lazarus.freepascal.org/index.php?title=Unit_not_found_-_How_to_find_unitscurid=2724diff=25651oldid=25512#Case_3.3:_The_wrong_compiler_is_being_used Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] r 13300
Ger Remmers schreef: In this last revision Lazarus doesn't clean the objectinspector window and the messages window anymore. See also: http://www.freepascal.org/mantis/view.php?id=10406 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] r 13300
Ger Remmers schreef: On Wednesday 12 December 2007, Vincent Snijders wrote: See also: http://www.freepascal.org/mantis/view.php?id=10406 Vincent There it's reported for gtk2, I recompiled Lazarus for gtk and the same thing happens One of the notes says it is for gtk1 too. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] lazarus.app
Hess, Philip J schreef: It seems odd that the Lazarus Windows installer creates the lazarus.app bundle folder used on OS X. Maybe changing the first lines of the [Files] section of lazarus.iss would exclude this folder from the Windows installation: Source: {#BuildDir}\*.*; Excludes: lazarus.app; DestDir: {app}; Flags: recursesubdirs We want windows user to edit files for mac os x too. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Launch Lazarus under Windows
Damien Gerard schreef: With the last snapshot or the last revision the launch of startlazarus.exe or lazarus.exe produces nothing. Is it normal (I guess) or I miss something ? This is 'normal' if you are using fpc 2.2.1: http://svn.freepascal.org/mantis/view.php?id=10347 If you use another compiler version, use the Lazarus (debug) shortcut and send the debug.log in the lazarus directory. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Printing a unit from Lazarus
Antonio Sanguigni schreef: Hi all, is there a way to print a unit from Lazarus ? I was not able to find a File | Print option. I have that menu. It is provided by the printers4lazaruside package. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Problem compiling last SVN
Graeme Geldenhuys schreef: On 06/12/2007, Guadagnini David [EMAIL PROTECTED] wrote: Have a problem during compile last SVN version (13080) You have 100 revisions old version, not the latest. I have v0.9.25 r13179 i386-linux-gtk and it compiled fine with FPC 2.2.0. I deleted all .ppu files in windows explorer. After that compilation suceeded. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] New splash screen issues
Graeme Geldenhuys schreef: Minor problem: - Selecting File|Restart I see the 'old' splash screen. Rebuild startlazarus: make starter Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] latest svn compiled but can't be run
Bee schreef: Hi all, I just update my lazarus 9.25 from svn. Then I compiled it using fpc 2.2.1. The compilation went well, but lazarus quit after execution with buffer error exception. See http://www.freepascal.org/mantis/view.php?id=10327 Use fpc 2.2.0 or 2.3.1 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] GUID generator in Lazarus
Graeme Geldenhuys schreef: at the cursor position. This it what I want to implement. I've customized a lot of my keyboard shortcuts in Lazarus, so have no idea if there is a default action already associated with Ctrl+Shift+G Anybody know? Ctrl-Shift-G shows the procedure list (whatever that is ;-) Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] FPC unit in Lazarus
SteveG schreef: Awhile ago I found that the following 2nd line (C:\lazarus\fpc\2.2.1\source\rtl\objpas\fmtbcd.pas) causes problems when using database access units in a dll. (note the space at front of line) {$r+,q+,s+} { $r-,q-,s-} Removing the space fixes the problem for me, though may cause others yet unknown. Question 1 - How would I determine if this has been fixed without downloading a full snapshot ?. I can use the WebSvn interface to check Lazarus source, but not the fpc used by Lazarus (which I am assuming to be different to the current FPC source - patches etc). FPC 2.2.1 is from the fixes_2_2 branch, unmodified. Question 2 - How could I fix this for myself ? I have the latest svn from FPC, compiled ok - but how do I use this with Lazarus? - paths etc are all different - and will this negate any Laz specific patches applied by the Laz developers ? We don't apply any specific patches at this moment. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Patch for Forms in Forms or MDI
Guadagnini David schreef: In attach You can found the patch modified. Now is not lost focus on the window. Could you check it? If this is committed, may I suggest some name changes? IncludeForm - ContainsForm (note the s, so no imperative) Founded - Found Vincent Index: customform.inc === --- customform.inc (revision 13136) +++ customform.inc (working copy) @@ -873,6 +873,34 @@ var FocusHandle : HWND; MenuItem : TMenuItem; + + {--- + Return if the control contain a form + ---} + function IncludeForm(Control : TWinControl) : Boolean; + var +I : Integer; +Founded : Boolean; + begin +Founded := False; +if Control Nil then +begin + I := 1; + while (I = Control.ControlCount) And (Not Founded) do + begin +if (Control.Controls[I-1] Is TCustomForm) +then + Founded := True +else + If (Control.Controls[I-1] Is TWinControl) + then +Founded := IncludeForm(Control.Controls[I-1] As TWinControl); +Inc(I); + end; +end; +Result := Founded; + end; + begin with TheMessage do case Msg of @@ -917,7 +945,7 @@ DebugLn('[TCustomForm.WndProc] ',Name,':',ClassName); {$ENDIF} LCLIntf.SetFocus(FocusHandle); -exit; +if not IncludeForm(Self) then exit; end; end; end; _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] [Leopard][Carbon] Buffer Error
Damien Gerard schreef: The last snapshot for OS X (12/03) re-compiled with the Carbon Widgetset produces a buffer error at launch time. See http://www.freepascal.org/mantis/view.php?id=10327 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] FPC unit in Lazarus
SteveG schreef: If I can use FPC (svn) and compile myself, is there a method / application which will extract the necessary files from the FPC build and create a tree structure to suit Lazarus? Or is there a reference describing how to edit Lazarus pathings to use the FPC build directly ? make install INSTALL_PREFIX=c:\directory\of\your\choice in the environment options, set the compiler path to c:\directory\of\your\choice\fpc.exe run c:\directory\of\your\choice\fpmkcfg.exe Optional: write this down in the wiki for future reference after testing. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] New bitmap :-)
Bee schreef: Thanks, commited in r13199. Can we these applied onto laz 9.24.1 (fixes branch) as well? Unlikely, because these changes involve a lot of file movement. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Startlazarus.exe now useless, or may be even harmful !?
Andrey Gusev schreef: * Vincent Snijders [EMAIL PROTECTED] [Fri, 30 Nov 2007 13:58:11 +0100]: Andrey Gusev schreef: Lazarus 13085. I try to rebuild lazarus from IDE itself. Got: --- C:\Works-FPC\lazarus-snap\ide\startlazarus.lpr(51,1) Error: Can't create object file: ..\startlazarus.exe C:\Works-FPC\lazarus-snap\ide\startlazarus.lpr(51,1) Fatal: Can't create executable ..\startlazarus.exe --- You should not build the starter from the IDE, if you started lazarus with startlazarus. I only take Clean Up + Build All from Quick Build Options, Starter clean+build was acts from there. I guess the Build All was too simplistic. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on a Windows without admin privileges
Damien Gerard schreef: When running the windows installer, the libqt4intf.dll can not be installed in the system32 folder. It is a problem for all windows accounts without admin privileges. You can uncheck that option, can't you? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Patch for Forms in Forms or MDI
Mattias Gaertner schreef: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into the Panel1 (in Form1) but the form1 it's locked Applied. Thanks. This patch was also part of the patch submitted with http://www.freepascal.org/mantis/view.php?id=1052 Can this issue be closed now? Or is IncludeForm still needed? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Patch for Forms in Forms or MDI
Mattias Gaertner schreef: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into the Panel1 (in Form1) but the form1 it's locked Applied. Thanks. Are you aware that the place of exit changed? http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/lcl/include/customform.inc?r1=13128r2=12925rev=12925root=lazarus Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TProcess.Input problem
Malcolm Poole schreef: Henry Vermaak wrote: On 29/11/2007, Vincent Snijders [EMAIL PROTECTED] wrote: Maybe you can use dar_slave instead? http://dar.linux.free.fr/doc/man/dar_slave.html I'll have to reread the docs for dar-slave again: I don't think I fully grasped its relationship to dar. To me it seemed dar-slave is the backend doing all the work. dar is just the terminal front end, just like you are making a gui front end. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Before After Compilation Comandline Execute
Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will actually be executed before. The inverse is true for Execute Before. Should I log this? I did a couple of cursory searches on mantis and didn't see anything. Yes, please create a bug report. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Before After Compilation Comandline Execute
Marc Weustink schreef: Vincent Snijders wrote: Lee Jenkins schreef: Lazarus 0.9.24 Referring to Project Compiler Options Compilation..., When I place a command in Execute After, it will actually be executed before. The inverse is true for Execute Before. Should I log this? I did a couple of cursory searches on mantis and didn't see anything. Yes, please create a bug report. HUH, when did this happen ? I used Execute before a lot when working to .24 (and it worked) I just tried with Lazarus 0.9.25, added c:\\lazarus\examples\hello.exe to the execute before, and the form was shown before the compilation started. So, not reproducible by me. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Startlazarus.exe now useless, or may be even harmful !?
Andrey Gusev schreef: Lazarus 13085. I try to rebuild lazarus from IDE itself. Got: --- C:\Works-FPC\lazarus-snap\ide\startlazarus.lpr(51,1) Error: Can't create object file: ..\startlazarus.exe C:\Works-FPC\lazarus-snap\ide\startlazarus.lpr(51,1) Fatal: Can't create executable ..\startlazarus.exe --- You should not build the starter from the IDE, if you started lazarus with startlazarus. That strange !! Well... Run lazarus.exe directly, try to rebuild. OK, lazarus.old.exe on itself place! Strange. Normally this fails, because you cannot replace the new lazarus.exe. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] printer4lazarus lazarus rebuild error
Mattias Gaertner schreef: It's a todo to get rid of the libc dependency in printers4lazarus. I think it is has been done in Lazarus 0.9.25. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus version for about box
Mark Morgan Lloyd schreef: Is there a macro or variable which exposes the version of lazarus in use so that it can be incorporated into code? I've just put the compilation date/time and FPC version into a dialogue box to help cross-platform debugging but can't see how to incorporate the equivalent IDE info. Not yet. Maybe this will be possible when http://www.freepascal.org/mantis/view.php?id=10250 is implemented. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] fixes branch changelog
There is now a seperate changelog for the fixes branch: http://svn.freepascal.org/svn/logs/lazarus-fixes_0_9_24.log There already existed a change log for the complete lazarus repository at http://svn.freepascal.org/svn/logs/lazarus-all.log Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TProcess.Input problem
Michael Van Canneyt schreef: On Thu, 29 Nov 2007, Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program dar ( http://dar.linux.free.fr/ ) Is it possible that it is ignoring stdin because it is not being run from a terminal? Thats possible too. But maybe it isn't reading stdin at all. I was beginning to suspect that this was possible (*sighs*). Looking again at the dar source I found the following: // we do not use anymore standart input but open a new descriptor // from the controlling terminal. This allow in some case to keep use // standart input for piping data while still having user interaction // possible. Apart from the fact that it doesn't use stdin for interaction I'm afraid this is all a bit above me. I suspect that this means that I am not going to be able to interact with dar using TProcess. Is this correct? This is correct. If it uses accesses the terminal directly, there is little you can do, except opening the terminal and trying to control it yourself, but that's outside the scope of TProcess. Maybe you can use dar_slave instead? http://dar.linux.free.fr/doc/man/dar_slave.html Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Actual SVN-Tree compiles, but won't start...
Lukas Gradl schreef: Tried today installing the latest SVN tree (13063) using a 0.9.25 snapshot as a base and the latest FPC-SVN as a compiler and using Win2K as an OS. Everything compiled fine, but when starting lazarus the splash-screen appears and after some seconds it disappears and lazarus.exe disappears from task-list without any errormessage... Anyone else that problem? Or anyone with a hint how to proceed? See http://www.freepascal.org/mantis/view.php?id=10235 and http://www.freepascal.org/mantis/view.php?id=10232. IOW, fpc 2.3.1 is unusable for Lazarus ATM. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] win32 snapshot
Hess, Philip J schreef: Today's win32 snapshot is about 25 MB smaller than yesterday's. Did something get left out? I noticed I got a network disconnect at 9:30, which is most likely at the time of the upload. Good chance, the snapshot is just a partial upload. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus-0.9.24: SIGSEGV in TOpenDialog
Igor Zakhrebetkov schreef: I've installed Lazarus-0.9.24-fpc-2.2.0-20071114-win32.exe on Windows XP SP2 with some components like TDBF . After trying to pick up any file I've got an error with message: Project project1 raised exception class 'External: SIGSEGV'. Sometimes it simply hangs. There were no such problems with previous version. Is this when you run the application in the IDE or from the command line? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Primitive classes in fpc/lazarus
Mattias Gaertner schreef: It would be nice if the fpcdoc xml files could be easily installed via packages. What do you mean? What is missing? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Primitive classes in fpc/lazarus
Mattias Gaertner schreef: On Tue, 27 Nov 2007 12:09:17 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: It would be nice if the fpcdoc xml files could be easily installed via packages. What do you mean? What is missing? For example: I don't see any of the xml files in the debian packages. I see. I thought you were talking about lazarus packages with .lpk files. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] update screenshot to latest release
Bee schreef: Hi all, I found Lazarus screenshot (http://wiki.lazarus.freepascal.org/Screenshots) is out-dated. I can manage to have latest Lazarus screenshot on Ubuntu gtk2 and WindowsXP. How and to whom should I send the screenshot images? Is it okay to send them to this list? Or should I have an account on the wiki and edit the page? Create an account on the wiki, upload the new screenshots and replace them on http://wiki.lazarus.freepascal.org/Screenshots Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] OpenGLContext doesn't recognize the widgetset
Marco Alvarado schreef: Hmm, there doesn't seem to exist an LCL unit, but there are several LCL units. I'm using win32 at the moment. Thanks :) 2007/11/27, Mattias Gaertner [EMAIL PROTECTED]: On Tue, 27 Nov 2007 11:42:32 -0600 Marco Alvarado [EMAIL PROTECTED] wrote: I'm creating the component dynamically. The example that comes with this component works for me, but I can't make it compile in my application. Do you know where the LCL is defined? Maybe I have to include another unit. The define comes from the LCL package. What target platform do you use? I can compile the package on win32 and I can add the package as a requirement to an application and compile that. Does your application has the LCL as requirement? Do you compile in the Lazarus IDE or from the command line? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] OpenGLContext doesn't recognize the widgetset
Marco Alvarado schreef: I just added all the template paths in the Compiler Options, and now it works :D Thanks! Huh, template paths? What are those? I opened the project inspector to edit the required packages. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus on OS X
Damien Gerard schreef: On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find wslclasses.pp, check in path Projects-Compiler Options-Search Paths - Other Unit files You got this when compiling ? How did you create your new project ? It is the new new project when you first launch Lazarus. The same with Project/ New In fact, in order to compile an empty project, I have to add by hand all needed paths into the fpc.cfg. I did not find such a thing in the wiki. Where I am wrong ? For compilation of your apps, you don't need to add paths to lazarus or LCl sources in your fpc.cfg. It only needs a path to the LCL unit dirs. (and that only if you compile form the commandline) Consequently, if you just install fpc-src, fpc then lazarus you can not compile a default new project (in my case). I think there is some fpc - lazarus version conflict. Did you install both a new fpc and a new lazarus snapshot? Is the compiler in the environment options the new fpc compiler? Does the used fpc.cfg file point to the newly installed fpc unit directory? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)
Marco Alvarado schreef: I need to create my forms dynamically. In Delphi I just remove the designed form from the main program, so it looks like this: ... begin Application.Initialize; Application.Run; end. Later on, I just create new instances of my forms and assign it's properties, i.e.: ... AForm := TMyForm.Create(Application); AForm.Caption := 'This is my form'; AForm.Left := X; AForm.Top := Y; AForm.Width := Width; AForm.Height := Height; AForm.Show; ... How is this code entered? I cannot imagine Application.Initialize or Application.Run; do that. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)
Marco Alvarado schreef: Oh, forgot to tell, this part: ... begin Application.Initialize; Application.Run; end. is inside an unit's initilization section. So the main program still runs, creating the form. :D Until you do Application.Initialize, some widget set call might not work. So Form.Show maybe doesn't do a thing. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Save IDE Settings?
Graeme Geldenhuys schreef: Old versions of Lazarus stored those settings (*.xml files) in the Lazarus directory. Newer versions store that information in the users profile/home directory. Under Windows that is somewhere in C:\Documents and Settings\ This has not yet been done on windows, but it is planned to test. Problem might be that the path contains spaces and it is unclear if compiler and its tools can handle that. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] is laz 9.24 fixes on svn ready to be used?
Paul Ishenin schreef: Bee пишет: Please suggest I got the list from Change Logs. I suggest these: 0008029: [Database] Ctrl+C and Ctrl+Z don't work in a TDBMemo 0010248: [IDE] Some icons aren't showed into the component palette iirc all graphic issues I want to merge into stable branch are there 0010198: [LCL] OnMouseWheel WheelDelta is opposite in sign for Win32 and GTK2 yes 0010178: [LCL] Wrong RoundRect drawing with QT yes 0010170: [IDE] More appropriate window's title text 634: [-] TStaticText.BorderStyle no - big rewrite of TStaticText under gtk 0010008: [Widgetset] TPageControl.GetImageIndex never gets called on Win32 yes 0009996: [Patch] PageControl.TabVisible works incorrectly yes Please consider. :) Anyway, this is only my minds. Which revisions are these? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TTodoItem : Not found
Gerard N/A schreef: You had me looking at it, thou.g It was probably caused by the extension change from .pp to pas in r13011, Damian had both the old .pp file and the new .pas file. The compiler prefers .pp files. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] FPC Lazarus wiki sites
Graeme Geldenhuys schreef: Hi, I'm a bit confused with the domain names for the wiki site... Is wiki.freepascal.org now the same as wiki.lazarus.freepascal.org? eg: http://wiki.freepascal.org/SQLdb_Package http://wiki.lazarus.freepascal.org/SQLdb_Package Are these now the same. If I edit one, the changes will appear in the other? Yes. Since last februari. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Google's Android OS :)
willem schreef: _ 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 _ 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 How many links to th archive does one need? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus 0.9.24 LiveCD
Jury Azovtzev schreef: As soon as in local college begun to study It with OpenSource software we (NNLUG) and system administrators of NNTC (Nizhny Novgorod Technical College) made a Live CD with Lazarus for student. I hope it'll be intresting for you too. I would like to say my big THENX to Knittl - for the world wide hosting of the cd (Austrian Univeristy of Applied Sciences) Alex_5252 - for the uploading of the image Viktor Bondarenko and Vladimir Slugin for partisipation and tests (Nizhny novgorod Technical College) You can get LiveCD from Austrian Univeristy of Applied Sciences hosting http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso and md5sum file is here http://www.sigma-server.com/liveCD/Ubuntu-7.10-NTC-Lazarus.iso.md5 Good news. Can you create a news item on the Lazarus site? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus]
Vasily I. Volchenko schreef: And lazarus team is trying to force UTF8 introduction with a revolution without supporting neither old project nor saving files (and only saving) in compartible with other projects format. Besides, that revolutionary process begins when the other version of the same product doesn't support such utf8. OK, I'll try to do something... Fortunately Lazarus is still beta, breaking things can be expected. Other versions of Lazarus (for linux-gtk2, windows-qt) already use UTF8. Vincent P.S. Please remove the reply too header. _ 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
Mattias Gaertner schreef: .res files: I don't know. I think they can be removed. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus]
Vasily I. Volchenko schreef: And now disadvantages of UTF-8 text files. 1. 1-byte text is stable for both byte errors and byte losses (just spoiled byte will be a spoiled char). Unicode (2 or 4 byte) is stable for byte spoilage. Large part of UTF-8 file can be spoiled both with byte loss and byte spoilage. Besides, spoiled file (or partially text-partially-binary files) can break working with some soft (like iconv). UTF8 can be resynced. So if you loose one char (partially) software can detect it and restart at the next char. At last, the fact that Lazarus compiled for windows, uses ansi (cp1251) while lazarus for linux uses UTF-8 is completely inacceptible. This will change before 0.9.26. Lazarus will use UTF8 on windows too. Vincent P.S. Please remove the reply too header _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Changes for targa read (FPC team)
Michael Van Canneyt schreef: On Thu, 22 Nov 2007, wile64 wrote: Hi, This change allows you to read any file formats TARGA. I send the complete file, I am not a developer FPC ;) Thank you very much. I committed the file to SVN. Something went wrong: http://www.freepascal.org/mantis/view.php?id=10245 Vincent _ 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] 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] IDE Crashes on Mac OS (gtk)
Damien Gerard schreef: I use the last snapshot for OS X i386 and followed http://wiki.lazarus.freepascal.org/Carbon_Interface I've got this : [...] Error: Error while linking TExternalToolList.Run Exception: Error: Error while linking TMainIDE.DoBuildLazarus: Build Lazarus without linking failed. Under Mac OS X 10.5.1 I think for Mac OS X 10.5 you need fpc 2.2.1 or later. See http://lists.freepascal.org/lists/fpc-pascal/2007-October/015365.html Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Slash dot effect?
Michael A. Hess schreef: On Tue, 20 Nov 2007, Alexsander Rosa wrote: http://en.wikipedia.org/wiki/Slashdot_effect http://slashdot.org 2007/11/20, Leonardo M. Ram� [EMAIL PROTECTED]: What means Slash dot effect? In case no one noticed some of the major sites such as LinuxToday posted a link to the following site: http://itmanagement.earthweb.com/entdev/article.php/3711476 It talks about 49 Open Source Projects in the Spotlight In the Develoment Tools section 'Lazarus' is the first one listed. It took several days but it appears the link finally caused some problems. The link itself went to SourceForge but people eventually ended up coming to the web site. Strange. I did not expect such a strong effect. If you look at http://sourceforge.net/project/stats/detail.php?group_id=89339ugn=lazarusmode=weektype=sfweb then I inteprete the green line as hits to www.lazarus.freepascal.org and the blue line as hist to the lazarus related pages on sourceforge.net. The blue line doesn't seem to be significantly higher than the last couple of days. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] LAZARUS Buffer error at start with FPC 2.3.1
fedorax schreef: Hello, With lazarus SVN 12943 and FPC 2.3.1 9386 startlazarus return a buffer error but work if i compile with fpc 2.2.0 ( Linux fedora 8 GTK or GTK 2) This error is caused by the ztream rewrite. Jesus Reyes confirmed that this bug exists since r9291 and has not been fixed since. For a more complete backtrace see: http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1485 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus IDE revamp
Florian Klaempfl schreef: Ciprian Mustiata schrieb: The top of reason of forking is: Lazarus itself as IDE, has *not* that goals, and wanting to achieve that plans in Lazarus development today has no sense, so instead arguing and fight for every new extra change, is easier to redesign places where is considered more to be in that way, Then starting coding instead of lengthy mails :) Is there already a public svn? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] last svn problems under fpc 2.0.4
Mattias Gaertner schreef: On Sun, 18 Nov 2007 13:14:42 + Giulio Bernardi [EMAIL PROTECTED] wrote: A little bit off topic... but does lazarus still need to support fpc 2.0.4? AFAIK fpc 2.2.0 runs on all platforms supported by lazarus... or am I missing something? The released fpc 2.2.0 has a bug on MacOSX. A patched fpc 2.2.0 is available for download on the http://sourceforge.net/project/showfiles.php?group_id=89339package_id=252481release_id=554263 Yesterday or Friday these files have been tested by Karl-Michael Schindler. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus 0.9.24
CHRIS schreef: Hello, In sourceforge web, In Lazarus download section 0.9.24 Win32, there are lazarus 0.9.23 15 minutes ago I deleted the 0.9.23 version and I am builing the 0.9.24 version currently. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
Damien Gerard schreef: Maybe interesting too: http://wiki.lazarus.freepascal.org/TSubForm Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Clone objects
Mattias Gaertner schreef: On Mon, 12 Nov 2007, Damien Gerard wrote: I use this : http://wiki.lazarus.freepascal.org/Streaming_components However I ve got an exception error : Class not found (I put only a panel). snip Maybe this helps: lazarus/examples/componentstreaming/ http://wiki.lazarus.freepascal.org/Streaming_components Maybe it didn't work. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: XML and UTF-8
Valdas Jankūnas schreef: I realize if i want unicode support i must use units Laz_DOM, Laz_XMLRead, Laz_XMLWrite instead of FP DOM, XMLRead, XMLWrite. Which is contrary to what I would expect (although I think it may be true). The FP units use widestring internally, the Lazarus units ansistring, which may hold UTF-8 encoded strings. Did you use UTF8Decode / UTF8Encode when you passed your UTF8 encoded strings to the widestring properties of the FP units? Vincent P.S. please remove the reply to header. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Set output file on Windows?
Lee Jenkins schreef: Lee Jenkins wrote: wile64 wrote: 2007/11/5, Lee Jenkins [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi all, Where in lazarus can I set the path to output the generated executable file to? I thought it might be Project Project Objects Target File Name, but that It's good, example ..\..\myprojectexe and for files compiled : Project Compiler Options Unit Output directory Hmm. I tried this and it didn't work, unfortunately. The odd thing is now my local Firebird server won't run. I get a freepascal runtime error message when I try to run FirebirdSQL !!! Anyone have any idea what would cause that? Not sure if its related or not, but didn't manifest itself until after I was playing with lazarus and file output path. I uninstalled FPC/Lazarus to see that would fix it, but no luck. -- Here's a screenshot of the error in case any can offer a suggestion, otherwise, I might have to reinstall Windows xp (2cd time in 5 months)... http://www.leebo.dreamhosters.com/images/misc/error_start_firebird.png Just guessing, I don't have the source of the dynpwu unit, maybe there is a cange of the working directory. Where is the dll located? Can you put it in the same directory as the lpi? Think up further tests yourself. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Bug in recompiling IDE
Michael Van Canneyt schreef: When you recompile the 32-bit lazarus IDE for 64-bit, you get the following error: TLazPackageGraph.CheckIfPackageNeedsCompilation Compiler filename changed for SDFLaz 0.1.1 Old=/usr/local/bin/ppc386 Now=/usr/local/bin/ppcx64 [TExternalToolList.Run] CmdLine=/usr/local/bin/ppcx64 -S2cgi -OG1 -Tlinux -gl -vewnhi -l -Fu../../lcl/units/i386-linux/ -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/ -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk sdflaz.pas WorkDir=/home/michael/projects/lazarus/components/sdf/ As you can see, the IDE passes the 32-bit paths to the packages. Steps to reproduce: - Load 32-bit Lazarus. - Set compiler to 64-bit compiler - Build Lazarus Voila... Solution: use make to build initial 64-bit IDE, then use this ide to do build lazarus. Did you change the target CPU in the build lazarus dialog? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] IDE build problem
Mark Morgan Lloyd schreef: I've spent some time tearing what little remains of my hair out over this one :-) I've got 0.9.22 on several machines- Win-32 (NT4), Linux-x86 (Debian Etch) and Linux-SPARC. I'd be nearer the bleeding edge if I had more time and if I wasn't already chasing some elusive SPARC bugs. Underlying compiler is 2.2.0 in all cases. If I do a complete rebuild from inside the IDE everything works OK on Win-32 and Linux-x86. If on the other hand I do a make clean followed by make all or make bigide from the command line I get an IDE that appears to work and generates good programs but if I try to edit a menu (main or pulldown) item list I get an error dialogue: 0 is not a valid component name Once the system is in that state rebuilding inside the IDE no longer fixes it- it's a start-over job. I think you should try newer source. The menu editor is an area where fixes have been made since 0.9.22. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Adding AllowFractionalPositioning to TCarbonDeviceContext
Tobias Giesen schreef: There's a Font property, Pitch ... fpfixed That sounds promising. I would like to try and submit a patch which disables the fractional spacing only when the Pitch is fpfixed. Then Philip can try if his component still works. I read somewhere that if TCarbonDeviceContext.BeginTextRender was broken after 0.9.22, then it must be fixed before the next official release. Right now I am not sure when it was broken. But it is definitely broken right now. Well, I am not sure it worked in 0.9.22. And carbon is still in development, so these rules don't apply to it. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Announcement: Poll about required windows version for Lazarus
zaher dirkey schreef: What is the oldest Windows version you run Lazarus on This Ask for to customers or to developers (We)?. It is for developers, so on which OS do you run lazarus. Not for users, then the question would be: on which OS do you want to run LCL applications, or something similar. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Emulate keyboard input like Windows Screen Keyboard
12 12 schreef: * Marc Santhoff [EMAIL PROTECTED] [Thu, 01 Nov 2007 22:19:44 +0100]: Am Donnerstag, den 01.11.2007, 17:03 +0300 schrieb 12 12: Is there any cross-platform way to implement subj? Suppose I need from Form2 to add some letter into TEdit which placed on Form1. Except of WinAPI's SendInput. At least for all X Windows platforms you can use the Xtst extension to the X server. That one allows to send keyboard events from your application. Making a Form showing key buttons should be straightforward, the only thing a little hairy is getting the encoding right. But with that I could help. I have done something similar using the technique from one of xautomation's tools (translated to pascal). Isn't really impossible to use LCL-only tools? I don't need to send key events to another application, only to another form or control of the same app! As far as I know, this is not yet possible. But feel free to write something that emulates: http://wiki.lazarus.freepascal.org/LCL_Key_Handling As you see, a lot of things happen when a key is pressed, so this is not trivial. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] French mirror
Milipili Houbi schreef: It is now available for frenchies and others at this address : http://snapshots.lazarus.shikami.org If any there is any problem, send an email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Notes (1) : It will be removed if the lazarus team ask for it No problem. Please keep it. As far as I am concerned you can remove the unofficial. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] svn r 12675 fails to compile
Mattias Gaertner schreef: Yes, now (r 12678) it compiles and doesn't complain So, it works now under 2.0.4, 2.3.1 and 2.2.1, but not under 2.2.0? Can someone with 2.2.0 confirm? R12678 compiles on windows with fpc 2.2.0. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Announcement: Poll about required windows version for Lazarus
Read about it at http://lazarus-dev.blogspot.com/2007/10/new-poll-on-lazarus-site-about-windows.html Cast your votes at http://www.lazarus.freepascal.org/modules.php?op=modloadname=NS-Pollsfile=indexpollID=11 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus/FPC and SDL on W32 and Linux
bembulak schreef: Is there some kind of userbase/community on game-programming and lazarus/FPC? http://www.pascalgamedevelopment.com/ Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] can't find libc
Andrea Mauri schreef: Dear All, I just installed fpc (2.2) and lazarus (svn) on an Ubuntu linux machine (i386). I added to the uses clause libc but when I try to compile it I got the error message libc not found. Libc is in the fpc source directory in: /rtl/netwlibc/ This one is for netware. and in /packages/base/libc/ This is the source of the unit, you might want to use (note, that is an i386-linux kylix compatibility unit only, no other processors, no other *nix). But also manually adding it to my project the compiler doesn't find it. What can I do? I think it is in a seperate deb package on Ubuntu. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] can't find libc
Andrea Mauri schreef: I tried the -vt option, looking at the messages I found that all the units are searched in /usr/lib/fpc/2.2.0/ and subdirectory but never in the fpc source directory I have set in the lazarus environment options that is (/home/myhome/programmi/lazarus/fpcsrc/fpc-2.2.0/) Lazarus is able to find all the units (system.ppu etc) that are located in /usr/lib/fpc/2.2.0/ but in that directory there isn't any libc.pp or libc.ppu Did you install: ftp://ftp.freepascal.org/fpc/dist/i386-linux-2.2.0/deb/fp-units-i386_2.2.0-1_i386.deb Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] latest SVN revision
Mattias Gaertner schreef: On Thu, 25 Oct 2007 12:42:43 +0100 Chris Kirkpatrick [EMAIL PROTECTED] wrote: Hi all - Attempting to recompile lazarus from command line with 'make'. (Same problem previously occurred when I tried to rebuild from lazarus ide). Latest SVN revision for lazarus (12586) Latest SVN for fpc (3925) - re-compiled/installed OK (have even deleted local version of lazarus and done a new checkout) Only one version of fpc.cfg (in /etc/) with correct links to /usr/local/lib/fpc/2.3.1/ OS: Mepis-32 version 6.5 (a variant of debian linux) Any ideas? checksum changed means, the compiler found an old ppu. This can happen, if some files were renamed. Therefore it is recommended to use 'make clean all' or even 'make cleanall all' after an svn update. If this does not work, compile with 'make OPT=-vut log.txt'. Then explore the created log.txt. This was a fpc 2.3.1 bug. AFAIK it has been fixed two days ago. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Gradient button fill
Graeme Geldenhuys schreef: On 26/10/2007, 12 12 [EMAIL PROTECTED] wrote: Is there any component like JEDI's buttons for displaying button with gradient? I don't think there are any part of LCL, but I did find some yesterday on Torry's website. They should be relatively easy to port. Or just port the JEDI ones. For some ideas: http://wiki.lazarus.freepascal.org/SMNetGradient Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] windres.exe: no resources
12 12 schreef: I tried to follow Vincent's advise and looked at http://wiki.lazarus.freepascal.org/SMNetGradient. When recompiled IDE I get following error: snip Compiling resource lazarus.rc gcc: installation problem, cannot exec `cpp': No such file or directory D:\lazarus\fpc\2.2.0\bin\i386-win32\windres.exe: no resources lazarus.pp(115,1) Error: Error while linking lazarus.pp(115,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make.exe[2]: *** [lazarus.exe] Error 1 make.exe[2]: Leaving directory `D:/lazarus/ide' make.exe[1]: *** [ide] Error 2 make.exe[1]: Leaving directory `D:/lazarus/ide' fpc\2.2.0\bin\i386-win32\make.exe: *** [ide] Error 2 There are four solutions. 1. Use a newer lazarus version (I think i workaround this bug in fpc 2.2.0) 2. Use fpc 2.2.1 or later to compile lazarus 3. Add D:\lazarus\fpc\2.2.0\bin\i386-win32 to the path or 4. Copy D:\lazarus\fpc\2.2.0\bin\i386-win32\cpp.exe to c:\lazarus\ide Option 2 and 4 are the only options available if you are using win95, win98 or winME. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] TJvXPBar still collapsed
12 12 schreef: I found link to TJvXPBar on http://wiki.lazarus.freepascal.org/JvXPBar and decided to try it. I found it buggy: It collapses and then never uncollapses! Tested on Win32 with Lazarus 0.9.23. How can i compain to author? This is his profile on the Lazarus Forums: http://www.lazarus.freepascal.org/index.php?name=PNphpBB2file=profilemode=viewprofileu=2653 Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] How to handle bugs?
ajv schreef: Hello, I found a bug and its cure in the class TSqlConnection of unit sqldb.pp What do I do with it? 1) publish it on this list (lazarus@miraclec.com) 2) notify the author (Joost v.d. Sluis) 3) register it in the Lazarus bug tracker 4) register it in the fpc bug tracker The best option is 4) with category database. It will notify Joost. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Dominique Louis schreef: Hi Philip, I have a project that looks like this... program MyProg; uses {$IFDEF UNIX}{$IFDEF Use Cthreads} cthreads, {$ENDIF}{$ENDIF} Interfaces; begin end; Not end. ? As you can see the project is rather empty, but I'm using the 20th and now the 21st build and when I try to compile it, I still get the TCarbonPrinter error. Could it be a lazarus IDE setting? Not sure if this makes any difference either, I did not delete the previous lazarus install before installing the newer one. any ideas? An idea: Take a look at the project inspector and check what packages are required. For this program only LCL should be enough (no printers4lazarus). Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Dominique Louis schreef: Vincent Snijders wrote: You must use printers4lazarus, otherwise you cannot have a printdialog. PrintDialog is not part of the LCL. If I add printers4lazarus to the project this then takes me full circle back to to my original problem and error. If I remove printers4lazarus I get the PrintDialog error, if I include printers4lazarus I get the missing implementation error. So what should I do? As far as I can see you have three options: 1. Don't use TPrintDialog in your application 2. Don't use carbon widgetset, but gtk widgetset 3. Implement a carbon widgetset backend for printers4lazarus. Maybe Jesus Reyes just committed a workaround in r12545. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Error when Updgrading to lastest ( 20/10 ) snapshot...
Dominique Louis schreef: Gracias Jesus, Do you happen to know at roughly what time the snapshots are done? Look here to see the times, which match the upload time pretty accurate: ftp://ftp.hu.freepascal.org/pub/lazarus/ Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] wiki help
Marco Ciampa schreef: Sorry for boring with trivial questions... I'm trying to translate the wiki in Italian On the first page I see (in Italian): http://wiki.lazarus.freepascal.org/Main_Page/it On the right on the Navigazione (Navigation) link I see (first item): http://wiki.lazarus.freepascal.org/Pagina_principale That is incorrectly linking to an nonexistent page. It should be http://wiki.lazarus.freepascal.org/Main_Page/it and in general I would like to correctly translate the left menubar to link to the correct translated version of Index, Documentation, FAQ etc... How can I do it? I don't know. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Changes in Makefile.fpc for fpc 2.2.0
Burkhard Carstens schreef: Am Mittwoch, 17. Oktober 2007 00:48 schrieb Mattias Gaertner: On Tue, 16 Oct 2007 19:09:17 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Hi all, If you run 'fpcmake -Tall' in the lazarus-directory to create a new Makefile, it will fail if you use fpc 2.2.0. That's because the Makefile.fpc says it needs the package 'fcl', but that package doesn't exist anymore. Replacing it by fcl-base, fcl-db, fcl-etcetc could fix it, but then it won't work with fpc-2.0.4 anymore. (It will compile, you only can't update the Makefile) Maybe it's an idea to remove the fcl-dependency alltogether, since every fpc-installation has the fcl installed by default. It's not really needed there. (I tried, lazarus does compile with a makefile generated without the fcl-dependency) Done. Don't know why, but this commit (r12495) breaks make all on linux (i386, fpc-2.2.1-r8822): Linking ../lazarus /usr/bin/ld: cannot find -lglib lazarus.pp(114,1) Error: Error while linking r12494 builds fine .. I don't understand what triggered this change in ide/Makefile: @@ -1569,37 +1548,6 @@ else CROSSBINDIR= endif -ifeq ($(OS_SOURCE),linux) -ifndef GCCLIBDIR -ifeq ($(CPU_TARGET),i386) -ifneq ($(findstring x86_64,$(shell uname -a)),) -ifeq ($(BINUTILSPREFIX),) -GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) -endif -endif -endif -ifeq ($(CPU_TARGET),powerpc64) -ifeq ($(BINUTILSPREFIX),) -GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`) -endif -endif -endif -ifndef GCCLIBDIR -CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH -ifneq ($(CROSSGCC),) -GCCLIBDIR:=$(shell dirname `$(CROSSGCC) -print-libgcc-file-name`) -endif -endif -ifndef OTHERLIBDIR -OTHERLIBDIR:=$(shell grep -v ^\# /etc/ld.so.conf | awk '{ ORS= ; print $1 }') -endif -endif -ifdef inUnix -ifeq ($(OS_SOURCE),netbsd) -OTHERLIBDIR+=/usr/pkg/lib -endif -export GCCLIBDIR OTHERLIB -endif BATCHEXT=.bat LOADEREXT=.as EXEEXT=.exe Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Changes in Makefile.fpc for fpc 2.2.0
Mattias Gaertner schreef: On Wed, 17 Oct 2007 10:27:38 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Burkhard Carstens schreef: Don't know why, but this commit (r12495) breaks make all on linux (i386, fpc-2.2.1-r8822): Linking ../lazarus /usr/bin/ld: cannot find -lglib lazarus.pp(114,1) Error: Error while linking r12494 builds fine .. It works here. I used suse and its libpath is not completely in the fpc.cfg. I don't understand what triggered this change in ide/Makefile: Strange indeed. I used the 2.2.1 fpcmake and 2.2.1 sources to create the Makefile. You need to add the following lines to Makefile.fpc. [require] libc=y Fixed in r12500. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Changes in Makefile.fpc for fpc 2.2.0
Mattias Gaertner schreef: Thanks. This should be added to examples and tools too. Done in r12502. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] beginners questions on handling lazarus
Joost van der Sluis schreef: Op dinsdag 16-10-2007 om 08:43 uur [tijdzone +0800], schreef Paul Ishenin: Marc Santhoff wrote: Getting HEAD or trunk is no problem, but I have to support FreeBSD 4 and thus fpc 2.0.4 for a while. This requirement leads to checking out the last version of lazarus compilable and working flawlessly with this version of fpc. If someone could tell me the svn revision for lazarus 0.9.23 this would do (I think). Lazarus 0.9.24 will be (and ofcource 0.9.23 is) compilable with fpc 2.0.4. So you can get trunk. Lazarus support for 2.0.4 will be stoped with fpc 2.2.2 (as I think). Just out of curiosity, what is the problem in fpc 2.2.0 that someone would still use fpc 2.0.4? See http://www.freepascal.org/mantis/view.php?id=9480 Vincnet _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] beginners questions on handling lazarus
Paul Ishenin schreef: Marc Santhoff wrote: Getting HEAD or trunk is no problem, but I have to support FreeBSD 4 and thus fpc 2.0.4 for a while. This requirement leads to checking out the last version of lazarus compilable and working flawlessly with this version of fpc. If someone could tell me the svn revision for lazarus 0.9.23 this would do (I think). There is no svn revision for 0.9.23: http://wiki.lazarus.freepascal.org/Version_Numbering Lazarus 0.9.24 will be (and ofcource 0.9.23 is) compilable with fpc 2.0.4. So you can get trunk. Lazarus support for 2.0.4 will be stoped with fpc 2.2.2 (as I think). This is only true for darwin, other platforms may stop working earlier and windows already stopped support for fpc 2.0.4. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives