[Lazarus] Speed of build process

2009-05-26 Thread Roland Turcan
Hello lazarus project! What could I set to get "Hello World" (I mean simple test) application which uses my big package built faster, because it always compiles nearly everything and it takes like "never ending story". Thanks for all hist. -- Best regards, TRoland http://www.rotursoft.sk http:/

Re: [Lazarus] Cannot build r20222, because of error in CarbonThemes.pas

2009-05-26 Thread dmitry boyarintsev
please update to r20226 (reverting your changes) thanks, dmitry ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] data export components

2009-05-26 Thread Andrea Mauri
I have few questions about the Data Export components, (e.g. TCSVExporter). I create a database at runtime, then I create queries and I would like to save the resulting datasets. Is it possible to save the datasets using as field headers something different than the field names? Have I to use

Re: [Lazarus] Cannot build r20222, because of error in CarbonThemes.pas

2009-05-26 Thread Roland Turcan
Hello Dmitry, Thanks. TRoland; <<< 26.5.2009 10:33 - dmitry boyarintsev "skalogryz.li...@gmail.com" >>> db> please update to r20226 (reverting your changes) db> thanks, db> dmitry -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk __

Re: [Lazarus] data export components

2009-05-26 Thread Michael Van Canneyt
On Tue, 26 May 2009, Andrea Mauri wrote: I have few questions about the Data Export components, (e.g. TCSVExporter). I create a database at runtime, then I create queries and I would like to save the resulting datasets. Is it possible to save the datasets using as field headers something d

Re: [Lazarus] Speed of build process

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 10:28:25 +0200 Roland Turcan wrote: > Hello lazarus project! > > What could I set to get "Hello World" (I mean simple test) application > which uses my big package built faster, because it always compiles > nearly everything and it takes like "never ending story". It should

[Lazarus] Communication USB, Lazarus et MAC OS X

2009-05-26 Thread Sébastien FLOURETTE
Hi, I need again help !! I have create a simple library in C compiled with GCC in mylibusb.o The code is : #include myusb_open(usb_dev_handle *udev) { struct usb_bus *bus; struct usb_device *dev; char buff[64]; int i; //Initialisation du bus USB usb_init(); usb_find_buss

Re: [Lazarus] Size of TToolBar buttons

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 05:10:21 +0200 Hans-Peter Diettrich wrote: > In my examples\dockmanager\easytree\easydocking project I have > problems with the width of the toolbar buttons. The button captions > are displayed, but the button width is insufficient. AutoSize seems > not to work? I tried 20238

Re: [Lazarus] Communication USB, Lazarus et MAC OS X

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 13:58:14 +0200 Sébastien FLOURETTE wrote: > Hi, > > I need again help !! > > I have create a simple library in C compiled with GCC in mylibusb.o > > The code is : > #include > > > myusb_open(usb_dev_handle *udev) > { >struct usb_bus *bus; >struct usb_device *dev;

Re: [Lazarus] BidiMode improvments patch

2009-05-26 Thread Zaher Dirkey
Paul Ishenin wrote: > I would leave class hierarchi as is. It is not a big problem to copy > property BidiMode to the TMenu, TTrayIcon or anything else. Not just copy the code. When TForm or TApplication has BidiMode changed it pass to owned components to change the BidiMode --- p

Re: [Lazarus] Communication USB, Lazarus et MAC OS X

2009-05-26 Thread Yan Chengyuan
I'm sorry,but what does 'cdecl' mean? in fact i know nothing about how to import functions from external compiled library. 在 2009-05-26二的 14:15 +0200,Mattias Gaertner写道: > On Tue, 26 May 2009 13:58:14 +0200 > Sébastien FLOURETTE wrote: > > > Hi, > > > > I need again help !! > > > > I have creat

[Lazarus] Creating databases via code and non-default character set is not possible

2009-05-26 Thread Graeme Geldenhuys
Hi, Just as a word of caution. Due to a bug in FPC (2.3.x and 2.2.x) you cannot create a database via code (using the .CreateDB call) and specify a default character set via the CharSet property. http://bugs.freepascal.org/view.php?id=13835 After a lot of debugging I finally found why my appli

Re: [Lazarus] Communication USB, Lazarus et MAC OS X

2009-05-26 Thread Henry Vermaak
2009/5/26 Yan Chengyuan : > I'm sorry,but what does 'cdecl' mean? > in fact i know nothing about how to import functions from external > compiled library. http://freepascal.org/docs-html/prog/progse22.html i think osx has only one calling convention defined (per arch), so presumably it isn't nece

[Lazarus] linker error when I try to compile library

2009-05-26 Thread Grizzly(Francis Smit)
Yeah I get the following error message: unitcmdline.pas(15,24) Hint: Parameter "value" not used unitcmdline.pas(16,24) Hint: Parameter "index" not used unitcmdline.pas(16,41) Hint: Parameter "value" not used cmdline.lpr(10,1) Error: Can't call the linker, switching to external linking cmdline.lpr(

Re: [Lazarus] data export components

2009-05-26 Thread Andrea Mauri
Dear Michael, I entered a bug report (ID 0013837 [Packages] Database). How can I assign it to you? Another question related to the exporter, both demoes do not work. I get these error messages: C:\Programmi\Lazarus_svn\components\dbexport\demo\gendata.pp(127,32) Error: Identifier not found "U

Re: [Lazarus] data export components

2009-05-26 Thread Michael Van Canneyt
On Tue, 26 May 2009, Andrea Mauri wrote: Dear Michael, I entered a bug report (ID 0013837 [Packages] Database). How can I assign it to you? Another question related to the exporter, both demoes do not work. I get these error messages: C:\Programmi\Lazarus_svn\components\dbexport\demo\genda

Re: [Lazarus] linker error when I try to compile library

2009-05-26 Thread Vincent Snijders
Grizzly(Francis Smit) schreef: Yeah I get the following error message: unitcmdline.pas(15,24) Hint: Parameter "value" not used unitcmdline.pas(16,24) Hint: Parameter "index" not used unitcmdline.pas(16,41) Hint: Parameter "value" not used cmdline.lpr(10,1) Error: Can't call the linker, switching

[Lazarus] Highlighter/line-Remainder patch [Re: [Fwd: A few hacky patches (resent)]]

2009-05-26 Thread Martin
Brad Campbell wrote laz-synpatch-007.patch This is another gross hack, but in a highlighter I've written I use this to enable me to ensure the remainder of a line is painted in the right background colour. Synedit calls this "GetLineRemainder" routine (if assigned in the highlighter) to get th

Re: [Lazarus] data export components

2009-05-26 Thread Andrea Mauri
I use Lazarus 0.9.27 r20243 FPC 2.2.4 i386-win32-win32/win64. Best regards, Andrea Michael Van Canneyt ha scritto: On Tue, 26 May 2009, Andrea Mauri wrote: Dear Michael, I entered a bug report (ID 0013837 [Packages] Database). How can I assign it to you? Another question related to the ex

[Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
So I've been tinkering with DLLs and Lazarus.. and I came across a problem. It won't let me import graphics. If I do "uses graphics" it says it can't find it. If I include the LCL in the compiler options, it gets an error with other pascal files. If I add graphics as the only compiler option, it'll

Re: [Lazarus] Communication USB, Lazarus et MAC OS X

2009-05-26 Thread Sébastien FLOURETTE
I'm going to try to add 'Var' in the declaration of my procedure. myusb_open is a procedure and not a fonction I have do an error of cut and paste.. I have always use 'cdecl' to declare external function but I'm not a pascal expert. If you need more details to help me don't hesitate to ask me. I

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 12:14:06 -0400 matt shaffer wrote: > So I've been tinkering with DLLs and Lazarus.. and I came across a > problem. It won't let me import graphics. If I do "uses graphics" it > says it can't find it. If I include the LCL in the compiler options, > it gets an error with other p

Re: [Lazarus] data export components

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 16:15:45 +0200 (CEST) Michael Van Canneyt wrote: > > > On Tue, 26 May 2009, Andrea Mauri wrote: > > > Dear Michael, > > I entered a bug report (ID 0013837 [Packages] Database). How can I > > assign it to you? > > > > Another question related to the exporter, both demoes do

Re: [Lazarus] Console application in Mac OS X 10.5

2009-05-26 Thread Mattias Gaertner
On Mon, 25 May 2009 17:39:00 +0200 Roland Turcan wrote: > Hello lazarus project! > > I have created a small application which I use to exchange files > before the main application starts and afterwards it starts the main > one. > > I have two question: > > 1. ExecuteProcess function waits unti

[Lazarus] How to move editor using IDEintf

2009-05-26 Thread Funky Beast
Hi, I've written a tool/plugin to help me navigate between editors (screenshot attached) I can click on a desired unit in the list and source notebook will switch to the correct editor. And I can close files with it via a popup menu. Now I want to be able to arrange the order of the editors by d

Re: [Lazarus] [Fwd: Re: Clicking in editor preview doesn't select Element Attributes]

2009-05-26 Thread Martin
Hi, I added the gutter + parts (Line-numbers, coder-fold-tree, change-indicator). Gutter-Separator line doesn't seem to have an entry. "Current line highlight" conflicts with all the other tokens (includding "bracket-highlight" ) on the line. I added it to be detected if clicked past EOL onl

Re: [Lazarus] linker error when I try to compile library

2009-05-26 Thread Grizzly(Francis Smit)
Vincent Snijders wrote: > Grizzly(Francis Smit) schreef: > >> Yeah I get the following error message: >> >> unitcmdline.pas(15,24) Hint: Parameter "value" not used >> unitcmdline.pas(16,24) Hint: Parameter "index" not used >> unitcmdline.pas(16,41) Hint: Parameter "value" not used >> cmdline.lpr

Re: [Lazarus] linker error when I try to compile library

2009-05-26 Thread Vincent Snijders
Grizzly(Francis Smit) schreef: Vincent Snijders wrote: Grizzly(Francis Smit) schreef: Yeah I get the following error message: unitcmdline.pas(15,24) Hint: Parameter "value" not used unitcmdline.pas(16,24) Hint: Parameter "index" not used unitcmdline.pas(16,41) Hint: Parameter "value" not us

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
Compiler options as in:Project -> Compiler options . But on second glance, it doesn't appear that that would help anything. Well what you suggested (Project inspector dependencies) seemed to work. It recognized the graphics unit and let me have a tcanvas variable, and the quick compile worked fine

Re: [Lazarus] [Fwd: Re: Clicking in editor preview doesn't select Element Attributes]

2009-05-26 Thread Graeme Geldenhuys
2009/5/26 Martin : > > I added the gutter + parts (Line-numbers, coder-fold-tree, > change-indicator). Thank you Martin, this is excellent! I'll give it a try tomorrow at work. Thanks again for all your effort. :-) Regards, - Graeme - ___ fpGUI - a

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread Paul Ishenin
matt shaffer wrote: Compiler options as in: Project -> Compiler options . But on second glance, it doesn't appear that that would help anything. Well what you suggested (Project inspector dependencies) seemed to work. It recognized the graphics unit and let me have a tcanvas variable, and th

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
Adding interfaces prevents the errors I was getting previously, but a few remain:project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBOPEN project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBSAVE project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBU

Re: [Lazarus] linker error when I try to compile library

2009-05-26 Thread Grizzly(Francis Smit)
Vincent Snijders wrote: > Grizzly(Francis Smit) schreef: > >> Vincent Snijders wrote: >> >>> Grizzly(Francis Smit) schreef: >>> >>> Yeah I get the following error message: unitcmdline.pas(15,24) Hint: Parameter "value" not used unitcmdline.pas(16,24) Hint: Para

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread Paul Ishenin
matt shaffer wrote: Adding interfaces prevents the errors I was getting previously, but a few remain: project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBOPEN project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBSAVE project1.lpr(209,1) Error: Undefined symbol: R

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
Doing a clean build worked, thanks. On Tue, May 26, 2009 at 8:17 PM, Paul Ishenin wrote: > matt shaffer wrote: > >> Adding interfaces prevents the errors I was getting previously, but a few >> remain: >> project1.lpr(209,1) Error: Undefined symbol: RESSTR_LCLSTRCONSTS_RSMBOPEN >> project1.lpr(20

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread Felipe Monteiro de Carvalho
The LCL works inside DLLs, I have managed to wrap it and use it in C this way. Basically if either only the library or only the main program use LCL it works, but if both use the LCL, then there are problems with connecting both parts. -- Felipe Monteiro de Carvalho

Re: [Lazarus] Size of TToolBar buttons

2009-05-26 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: In my examples\dockmanager\easytree\easydocking project I have problems with the width of the toolbar buttons. The button captions are displayed, but the button width is insufficient. AutoSize seems not to work? I tried 20238: The fonts are tiny. Probably they are not

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
Ah ok, thanks for clearing that up On Tue, May 26, 2009 at 9:17 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > The LCL works inside DLLs, I have managed to wrap it and use it in C this > way. > > Basically if either only the library or only the main program use LCL

Re: [Lazarus] Highlighter/line-Remainder patch [Re: [Fwd: A few hacky patches (resent)]]

2009-05-26 Thread Brad Campbell
Martin wrote: However this is/was more be evolution as specific design. It is quite reasonable to say that some text-formats/languages want to use full line markup to highlight language features. (Pascal uses Divider-Lines instead). It also does not interfere with any other functionality, and