[Lazarus] Cross Codebot surface drawing examples

2015-03-20 Thread Anthony Walter
Here is a brief overview of some of custom rendering which can be done with Cross Codebot graphics interfaces. A few videos are embedded in the page below: http://www.getlazarus.org/forums/viewtopic.php?f=18&t=35&p=150#p150 Here is a listing of the interfaces and their methods: http://www.getlaz

Re: [Lazarus] MaskEdit and Unexpected Message Order

2015-03-20 Thread Bart
On 3/20/15, Tony Whyman wrote: > Please ignore - beware latest Thunderbird upgrade seems to set encrypt > on even when there is no key set up! But do you experience a problem with TMaskEdit? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

[Lazarus] How to download + install latest svn for TRichMemo?

2015-03-20 Thread Bob B.
I have a 64 bit Windows 7 laptop but, in accordance with advice, the Win32 version of Laz. SVN is sure difficult and confusing! I need TRichMemo so that I can have WholeWord and CaseSensitive options with FindDialog, I can't seem to be able to do that with TMemo (no FindText method).  Thanks. B

Re: [Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-20 Thread vfclists .
On 20 March 2015 at 12:30, Mattias Gaertner wrote: > On Fri, 20 Mar 2015 12:08:11 + > "vfclists ." wrote: > > > I am using a library which uses a lot of it own related files and > whenever > > I recompile all those units are always recompiled. > > What do you mean with "whenever I recompile"

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
I did it and tested in lazarus r48432 Set custom option "-vn-h-i-" then move this line to "Store in IDE" in command line result not changed, I mean : before ending lazbuild job, last hints, (I'm not count all messages) opt/lazarus/ide/main.pp(485,37) Hint: (5024) Parameter "Sender" not used this

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Graeme Geldenhuys
On Fri, 20 Mar 2015 14:48:26 -, Mattias Gaertner wrote: Please add more subjects and objects. Otherwise your sentences are ambiguous. Just to make in clear for non-native English speakers Definition of AMBIGUOUS [am·big·u·ous] capable of being understood in two or more possible sen

[Lazarus] Building IDE setting don't ripple to packages

2015-03-20 Thread Graeme Geldenhuys
Hi, Just scanned through the lazbuild thread happening today and it reminded me of something I noticed yesterday. I ran Lazarus from the command line so I could see lots of compiler output. If I rebuild the IDE via the "Tools -> Configure Build Lazarus" menu option, and then add the "O3 -

Re: [Lazarus] GroupBox AutoSize issues

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 04:23:44PM +0100, Mattias Gaertner wrote: > On Fri, 20 Mar 2015 12:21:57 + > Henry Vermaak wrote: > > OK, so then the use of GetGTKDefaultWidgetSize() in the groupbox is > > wrong, since that's what is looping through all the child controls. > > I've attached a patch th

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 15:19:16 + Henry Vermaak wrote: >[...] > > How to pass options to all packages: > > > > http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages > > I'm building the IDE, though, and the options I add in the "Configure > Buil

Re: [Lazarus] GroupBox AutoSize issues

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 12:21:57 + Henry Vermaak wrote: > On Fri, Mar 20, 2015 at 12:57:47PM +0100, Mattias Gaertner wrote: > > On Fri, 20 Mar 2015 11:31:07 + > > Henry Vermaak wrote: > > > > >[...] > > > > The gtk2 interface only knows the current size of the child > > > > control(s). It d

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 03:49:49PM +0100, Mattias Gaertner wrote: > On Fri, 20 Mar 2015 14:16:07 + > Henry Vermaak wrote: > > > On Fri, Mar 20, 2015 at 02:00:11PM +, Henry Vermaak wrote: > > > On Fri, Mar 20, 2015 at 03:45:49PM +0200, FreeMan wrote: > > > > lcl widget type= qtTarget O

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
-dUSE_QT_45 -g -gl -vn-h-i- this is my OPT parameter been now. I added your suggestion "-vn-h-i-" I talked about this. But lazbuild not get this parameters :( so lazbuild print many hints Thank you Henry On 20.03.2015 16:40, Henry Vermaak wrote: It adds it only to the IDE build command line.

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 14:16:07 + Henry Vermaak wrote: > On Fri, Mar 20, 2015 at 02:00:11PM +, Henry Vermaak wrote: > > On Fri, Mar 20, 2015 at 03:45:49PM +0200, FreeMan wrote: > > > lcl widget type= qtTarget OS : Darwin Target CPU: x86_64 > > > no options > > > > Well, what do you expe

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 16:06:57 +0200 FreeMan wrote: > On 20.03.2015 15:43, Mattias Gaertner wrote: > > FreeMan, English requires subjects and objects. > I wrote before, I'm not english and I'm not from english colony. I'm > using dictionary. And I'm not teenage, I can not learn quickly after 46

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 04:28:42PM +0200, FreeMan wrote: > Thank you Henry, but nothing change on command line result, after > add -vh -vn in "options:" It adds it only to the IDE build command line. For instance, I use "-O2 -g- -Xs -vn-h-i- -l-" to build an optimised IDE and this is what I see a

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
Thank you Henry, but nothing change on command line result, after add -vh -vn in "options:" On 20.03.2015 16:00, Henry Vermaak wrote: Well, what do you expect then? Try to add -vh- -vn- if you don't want to see hints or notes. Henry -- ___ Lazaru

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
what is last the max process count ? my test results: --max-process-count=1 -> 3minutes, 1 seconds --max-process-count=8 -> 1minutes 29 seconds --max-process-count=12 -> 1minutes 31 seconds --max-process-count=16 -> 1minutes 29 seconds On 20.03.2015 15:58, Henry Vermaak wrote: It just sit

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 02:00:11PM +, Henry Vermaak wrote: > On Fri, Mar 20, 2015 at 03:45:49PM +0200, FreeMan wrote: > > lcl widget type= qtTarget OS : Darwin Target CPU: x86_64 > > no options > > Well, what do you expect then? Try to add -vh- -vn- if you don't want > to see hints or not

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
On 20.03.2015 15:43, Mattias Gaertner wrote: FreeMan, English requires subjects and objects. I wrote before, I'm not english and I'm not from english colony. I'm using dictionary. And I'm not teenage, I can not learn quickly after 46 years old sorry. For example, this is my guess what you mea

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 03:45:49PM +0200, FreeMan wrote: > lcl widget type= qtTarget OS : Darwin Target CPU: x86_64 > no options Well, what do you expect then? Try to add -vh- -vn- if you don't want to see hints or notes. Henry -- ___ Lazarus mail

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 02:44:02PM +0100, Mattias Gaertner wrote: > On Fri, 20 Mar 2015 13:29:15 + > Henry Vermaak wrote: > > >[...] > > It freezes for me, too. > > It freezes only with --quiet? Without --quiet: hcv@technical09:~/source/lazarus$ ./lazbuild --verbose --verbose --build-ide=

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
lcl widget type= qtTarget OS : Darwin Target CPU: x86_64 no options On 20.03.2015 15:29, Henry Vermaak wrote: On Fri, Mar 20, 2015 at 02:53:12PM +0200, FreeMan wrote: >in osx yosemite > >./lazbuild --quiet -> hints still showing billion "sender not used" >massage. Not counting line but wit

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 13:29:15 + Henry Vermaak wrote: >[...] > It freezes for me, too. It freezes only with --quiet? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazar

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 14:53:12 +0200 FreeMan wrote: > in osx yosemite > > ./lazbuild --quiet -> hints still showing billion "sender not used" > massage. Not counting line but with --quit parameter or without this > parameter not change output lines As already mentioned --quiet only makes lazbu

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 02:53:12PM +0200, FreeMan wrote: > in osx yosemite > > ./lazbuild --quiet -> hints still showing billion "sender not used" > massage. Not counting line but with --quit parameter or without this > parameter not change output lines What did you add to your compiler options

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread FreeMan
in osx yosemite ./lazbuild --quiet -> hints still showing billion "sender not used" massage. Not counting line but with --quit parameter or without this parameter not change output lines if not add "--max-process-count=8" parameter, show this line, and freezing. only one line SetPrimaryConfi

Re: [Lazarus] sockets.pp(20, 5) Error: include file not found "osdefs.inc"

2015-03-20 Thread FreeMan
fpc r30263 lazarus r48429 yosemite qt x64 in /opt/freepascal/3.1.1/packages/rtl-extra/src/unix/sockets.pp unit Sockets; Interface {$ifdef Unix} Uses baseunix,UnixType; {$endif} {$i osdefs.inc} { Compile time defines } this file is not in /opt/freepascal/3.1.1/packages/rtl-extra/src/un

Re: [Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 12:08:11 + "vfclists ." wrote: > I am using a library which uses a lot of it own related files and whenever > I recompile all those units are always recompiled. What do you mean with "whenever I recompile"? Compile (Ctrl-F9), Build (Shift-F9), Clean up and build, ... cha

Re: [Lazarus] GroupBox AutoSize issues

2015-03-20 Thread Henry Vermaak
On Fri, Mar 20, 2015 at 12:57:47PM +0100, Mattias Gaertner wrote: > On Fri, 20 Mar 2015 11:31:07 + > Henry Vermaak wrote: > > >[...] > > > The gtk2 interface only knows the current size of the child > > > control(s). It does not know the preferred size of the child control(s). > > > > So how

[Lazarus] Is adding all the related files to a package the way to stop units proliferating in the output directory?

2015-03-20 Thread vfclists .
I am using a library which uses a lot of it own related files and whenever I recompile all those units are always recompiled. Is adding the other additional files into a package the way to avoid this recompilation and the presence of lots of unrelated ppus and object files? -- Frank Church =

Re: [Lazarus] GroupBox AutoSize issues

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 11:31:07 + Henry Vermaak wrote: >[...] > > The gtk2 interface only knows the current size of the child > > control(s). It does not know the preferred size of the child control(s). > > So how do we fix this? If the groupbox code is changed so that it only > evaluates its

Re: [Lazarus] sockets.pp(20, 5) Error: include file not found "osdefs.inc"

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 13:24:05 +0200 FreeMan wrote: > That's a configuration problem in your lazarus. Please ask for help on > the fora or mailing lists. > Jonas Maebe (manager) wrote this that link. > is this problem from fpc or lazarus? What Lazarus version? Check your FPC source directory and

Re: [Lazarus] GroupBox AutoSize issues

2015-03-20 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 06:20:32PM +0100, Mattias Gaertner wrote: > On Tue, 17 Mar 2015 17:05:30 + > Henry Vermaak wrote: > > >[...] > > > The LCL gtk2 interface computed the preferred size of a groupbox > > > including the child controls, which lead to a loop. > > > We need another way to co

Re: [Lazarus] sockets.pp(20, 5) Error: include file not found "osdefs.inc"

2015-03-20 Thread FreeMan
That's a configuration problem in your lazarus. Please ask for help on the fora or mailing lists. Jonas Maebe (manager) wrote this that link. is this problem from fpc or lazarus? On 19.03.2015 23:24, FreeMan wrote: http://bugs.freepascal.org/view.php?id=27693 /opt/freepascal/3.1.1/packages/rtl

Re: [Lazarus] Another conditional defines dialog question

2015-03-20 Thread Mattias Gaertner
On Fri, 20 Mar 2015 13:02:59 +0200 Juha Manninen wrote: > On Fri, Mar 20, 2015 at 10:02 AM, Graeme Geldenhuys > wrote: > > Why are there two Conditional Defines dialogs in Lazarus IDE? > > > > ide/condef.pas > > ide/CustomDefines.pas >[...] > Maybe the unit CustomDefines should be renamed to

Re: [Lazarus] Another conditional defines dialog question

2015-03-20 Thread Juha Manninen
On Fri, Mar 20, 2015 at 10:02 AM, Graeme Geldenhuys wrote: > Why are there two Conditional Defines dialogs in Lazarus IDE? > > ide/condef.pas > ide/CustomDefines.pas They have different purpose and usage. Unit condef implements the Source -> Enclose in $IFDEF feature. Unit CustomDefines hel

[Lazarus] TCustomEdit and LM Messages Ordering

2015-03-20 Thread Tony Whyman
I have been investigating why TCustomEdit descendents (such as TDBDateEdit) do not appear to obey AutoSelect when selected using a mouse click. On the other hand, AutoSelect appears to work when tab is used to select the control. I am using Linux Mint 17/AMD64/GTK2 and, if you read on, the issu

Re: [Lazarus] MaskEdit and Unexpected Message Order

2015-03-20 Thread Tony Whyman
Please ignore - beware latest Thunderbird upgrade seems to set encrypt on even when there is no key set up! On 20/03/15 10:27, Tony Whyman wrote: -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailm

[Lazarus] MaskEdit and Unexpected Message Order

2015-03-20 Thread Tony Whyman
binZohN8vMW6E.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] suggestion for lazbuild

2015-03-20 Thread Mehmet Erol Sanliturk
On Wed, Mar 18, 2015 at 6:06 PM, Mattias Gaertner wrote: > On Wed, 18 Mar 2015 17:22:25 -0700 > Mehmet Erol Sanliturk wrote: > > >[...] > > > > but it is not taken into consideration the record type changes > mentioned > > > > above . > > > > > > Are the altered units in the project or in a pack

[Lazarus] Another conditional defines dialog question

2015-03-20 Thread Graeme Geldenhuys
Why are there two Conditional Defines dialogs in Lazarus IDE? ide/condef.pas ide/CustomDefines.pas Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list

[Lazarus] Button Default not working in IDE dialog

2015-03-20 Thread Graeme Geldenhuys
Hi, In the Condition Defines dialog (ide/condef.pas) the btnOK has the Default = True property set, yet when I trigger the dialog in the IDE via Ctrl+Shift+D (while programming) and simply hit ENTER (because the default selection is correct) the dialog closes but the btnOK onclick was never trigge