Re: [Lazarus] Can some fix this "make" issue? Pi related.

2016-04-01 Thread Henry Vermaak
On Fri, Apr 01, 2016 at 09:12:10AM +, Mark Morgan Lloyd wrote: > Henry Vermaak wrote: > >On Fri, Apr 01, 2016 at 12:39:15AM -0400, Anthony Walter wrote: > >>My question is can someone look into this issue so that building Lazarus in > >>environments where free me

Re: [Lazarus] Can some fix this "make" issue? Pi related.

2016-04-01 Thread Henry Vermaak
On Fri, Apr 01, 2016 at 12:39:15AM -0400, Anthony Walter wrote: > My question is can someone look into this issue so that building Lazarus in > environments where free memory is than 700MB does not result in Lazarus > build failures? I've come across ld running out of memory when linking the lazar

Re: [Lazarus] Raspberry Pi 3 Now Available

2016-02-29 Thread Henry Vermaak
On Mon, Feb 29, 2016 at 12:53:28PM -0300, Leonardo M. Ramé wrote: > Does anyone know if this version includes a Gigabit nic? or allows USB > 3 (to let ethernet-usb conversion) ?. I've read version 2 had slow > network transfer because of only allowing USB2. Specs here says no gigabit and no USB3:

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Henry Vermaak
On Tue, Feb 09, 2016 at 10:10:05AM +0100, Bo Berglund wrote: > 'man kill' indicates that I need a value but 'man pid' returns > nothing. `killall` takes the name of the process, and tab completion works on most systems I've tried. Henry -- ___ Lazarus

Re: [Lazarus] Safe temp file name

2015-11-25 Thread Henry Vermaak
On Wed, Nov 25, 2015 at 05:51:41AM -0800, Aradeonas wrote: > Hi, > > I used GetTempFileName in a multi thread system and it causes problems > as you guess already. So the best way in my mind is using GUID and maybe > use it in a loop for checking not existing for extra safety. But I want > to know

Re: [Lazarus] Fast file reading using file cache

2015-11-20 Thread Henry Vermaak
On Fri, Nov 20, 2015 at 09:56:19AM +0100, Michael Schnell wrote: > On 11/19/2015 05:05 PM, Graeme Geldenhuys wrote: > >Indeed, it is terrible. ;-) > No problem here. (with Thunderbird) The mails are decently threaded. This is not about threading but about context, as Michael vC said. I.e. which p

Re: [Lazarus] annoying *SPAM* (attn: Michael Schnell)

2015-10-23 Thread Henry Vermaak
On Fri, Oct 23, 2015 at 08:19:53AM -0400, Dmitry Boyarintsev wrote: > Hello Michael > > It seems like your email client is adding "*SPAM*" to the subject of emails > coming from lazarus mailing list. > Could you please add Lazarus@lists.lazarus.freepascal.org to the white list? > > Otherwise gett

Re: [Lazarus] fast mathematical matrix operations

2015-06-08 Thread Henry Vermaak
On Mon, Jun 08, 2015 at 10:57:11AM +0200, Andrea Mauri wrote: > Dear all, > > I am looking for units/packages to deal with numerical matrix > manipulation (typical double type numerical matrices). > I need code able to perform typical matrix operations (e.g. matrix > multiplication, inversion, det

Re: [Lazarus] [TIP] LazSqlX!

2015-06-03 Thread Henry Vermaak
On Wed, Jun 03, 2015 at 05:22:06PM +0200, Michael Van Canneyt wrote: > On Wed, 3 Jun 2015, silvioprog wrote: > >Hello, > > > >Do you know LazSqlX?: > > > >https://lazsqlx.wordpress.com/ > > > >I found it yesterday on Google, and now it will be one of my working > >tools, because its quality is very

Re: [Lazarus] ShellExecute and german umlauts

2015-05-21 Thread Henry Vermaak
On Thu, May 21, 2015 at 10:06:28AM +0200, John Landmesser wrote: > i want to send a mail on windows using shellexecute with german > Umlauts ( ö,å,ü .. ) in the body of the mail. > > This Code doesn't work: > > var s: string; > > s := 'öö' > > > shellexecute(Application.Mainform.handle, 'open',

Re: [Lazarus] Release of Lazarus 1.4

2015-04-23 Thread Henry Vermaak
On Thu, Apr 23, 2015 at 10:28:24AM +, Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > >On Wed, 22 Apr 2015 16:40:02 +0200 > >Michael Schnell wrote: > > > >>On 04/22/2015 02:07 PM, Mattias Gaertner wrote: > >>>Why downgrade? You can install both and switch any time in the IDE. > >>Thanks !

Re: [Lazarus] BreakIf

2015-03-27 Thread Henry Vermaak
On Fri, Mar 27, 2015 at 01:45:31PM +0100, JuuS wrote: > Good morning, all... > > >From my Delphi days we had the following procedure: > > procedure BreakIf( b : Boolean ); > begin > if b then > asm >INT 3<==debugger would then stop here > and one could then F8 step to th

Re: [Lazarus] Align/Anchor to widest label

2015-03-25 Thread Henry Vermaak
On Wed, Mar 25, 2015 at 10:52:01AM +0100, Torsten Bonde Christiansen wrote: > Is it possible by using align, anchor, or some third option, to > always make the two edits and the drop-down box align with the > widest of the three labels. > > Since these labels will be translated to many languages I

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. &g

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: > > >

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 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

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 --ve

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] 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

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 l

Re: [Lazarus] suggestion for lazbuild

2015-03-18 Thread Henry Vermaak
On 18 March 2015 at 21:18, Mattias Gaertner wrote: > On Tue, 17 Mar 2015 14:39:59 + > Henry Vermaak wrote: > >>[...] >> What annoys me is the "TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile" >> messages, despite the --quiet option passed. > > F

Re: [Lazarus] lazbuild parameter --max-process-count

2015-03-18 Thread Henry Vermaak
On 18 March 2015 at 22:14, Mattias Gaertner wrote: > Hi, > > I added a new parameter to lazbuild. > > --max-process-count= > Maximum number of threads for compiling in > parallel. Default is 0, which guesses the number of > cores in

Re: [Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 05:46:01PM +0100, Mattias Gaertner wrote: > On Tue, 17 Mar 2015 16:12:30 + > Henry Vermaak wrote: > > > Hi > > > > A while ago we managed to fix the GroupBox auto sizing not taking the > > length of the caption into account. I'

Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 06:03:15PM +0200, FreeMan wrote: > make -s clean ... > this my compiler make command line. Eh? You're using lazbuild, why are you talking about make? If you are building lazarus with lazbuild, you can add compiler options, under Tools->Configure "Build Lazarus", see "

[Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Henry Vermaak
Hi A while ago we managed to fix the GroupBox auto sizing not taking the length of the caption into account. I've been using the fixes_1_2 branch and that's working OK. I switched to fixes_1_4 and started seeing some strange behaviour. Initially it appears that the auto sizing works correctly (s

Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 02:39:59PM +, Henry Vermaak wrote: > What annoys me is the "TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile" > messages, despite the --quiet option passed. And "TFPCTargetConfigCache..." and "RunTool..." and "TProject.DoLoadSt

Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 05:38:03PM +0200, FreeMan wrote: > On 17.03.2015 16:39, Henry Vermaak wrote: > >Hide these hints by setting the options in the Verbosity section of the > >compiler options. You can make a quiet build mode and use --build-mode > >to select it from the

Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 04:28:06PM +0200, FreeMan wrote: > Is it possible add parameter for hide verbose " not used" hint I > don't need see every build, a lot off sender not used info on > terminal. > --quiet parameter not hide this hints. Hide these hints by setting the options in the Verb

Re: [Lazarus] Embedded/small database

2015-02-17 Thread Henry Vermaak
On Tue, Feb 17, 2015 at 07:54:00AM -0700, leledumbo wrote: > Tested, it can't even manage 50,000 rows efficiently. Searching a > string takes minutes, while it takes a fraction of second in real > dbms. Interesting. I've seen benchmarks where sqlite query times for a full-text search on 12+ r

Re: [Lazarus] Examples of CairoCanvas usage

2015-02-10 Thread Henry Vermaak
On Tue, Feb 10, 2015 at 03:19:23PM +0100, Michael Van Canneyt wrote: > On Tue, 10 Feb 2015, Juha Manninen wrote: > >On Tue, Feb 10, 2015 at 2:27 PM, Michael Van Canneyt > > wrote: > >>It is a completely reworked version of the one in fpGUI, without > >>external dependencies but with serious improve

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Henry Vermaak
On Fri, Sep 26, 2014 at 05:11:58PM +0200, Michael Van Canneyt wrote: > > > On Fri, 26 Sep 2014, "Leonardo M. Ramé" wrote: > > >El 26/09/14 a las 10:52, William Ferreira escibió: > >>On IDE Options, try to enable 'Show single button in TaskBar'. Maybe > >>could help... > >> > > > >Yes, I tried th

Re: [Lazarus] StrToDate and DefaultFormatSettings

2014-09-12 Thread Henry Vermaak
On Fri, Sep 12, 2014 at 08:18:36AM -0300, "Leonardo M. Ramé" wrote: > Hi, I need to convert strings with format "d-mmm-y" to TDateTime. > > For example: '12-Sep-14' > > Here's my code: > > DefaultFormatSettings.DateSeparator:='-'; > DefaultFormatSettings.ShortDateFormat:='D-MMM-Y'; > DefaultForm

Re: [Lazarus] Cannot find -lpthread

2014-08-22 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 03:52:10PM -0300, "Leonardo M. Ramé" wrote: > El 21/08/14 a las 14:44, Péter Gábor escibió: > >Hello! > > > >If you try static linking with a library you need the development > >package of it which contains the required binary > >statements/codes/records for the static linki

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 12:38:02PM -0300, "Leonardo M. Ramé" wrote: > Here's the result, apparently it is already installed: > > libc6: /lib/x86_64-linux-gnu/libpthread.so.0 > libc6-arm64-cross: /usr/aarch64-linux-gnu/lib/libpthread.so.0 > libc6-armel-armhf-cross: /usr/arm-linux-gnueabihf/libsf/li

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 04:34:03PM +0100, Henry Vermaak wrote: > On Thu, Aug 21, 2014 at 12:22:45PM -0300, "Leonardo M. Ramé" wrote: > > Hi, I'm trying to build fpc and lazarus from sources in XUbuntu > > 14.04. While trying to link fpc I get this: > > >

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Henry Vermaak
On Thu, Aug 21, 2014 at 12:22:45PM -0300, "Leonardo M. Ramé" wrote: > Hi, I'm trying to build fpc and lazarus from sources in XUbuntu > 14.04. While trying to link fpc I get this: > > /usr/bin/ld: aviso: link.res contiene secciones de salida. ¿Olvidó -T? > /usr/bin/ld: no se puede encontrar -lpthr

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-07 Thread Henry Vermaak
On Sun, Jul 06, 2014 at 01:40:53PM +0100, Henry Vermaak wrote: > On Sat, Jul 05, 2014 at 01:03:19PM +0100, Henry Vermaak wrote: > > On Sat, Jul 05, 2014 at 02:05:10PM +0300, Juha Manninen wrote: > > > I applied the patch from Henry. I hope we get LCL-Win fixed, too. > >

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-06 Thread Henry Vermaak
On Sat, Jul 05, 2014 at 01:03:19PM +0100, Henry Vermaak wrote: > On Sat, Jul 05, 2014 at 02:05:10PM +0300, Juha Manninen wrote: > > I applied the patch from Henry. I hope we get LCL-Win fixed, too. > > Thanks. I'll look into lcl-win, it'll need a GetPreferredSize with &g

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-05 Thread Henry Vermaak
On Sat, Jul 05, 2014 at 02:05:10PM +0300, Juha Manninen wrote: > I applied the patch from Henry. I hope we get LCL-Win fixed, too. Thanks. I'll look into lcl-win, it'll need a GetPreferredSize with MeasureText and some more magic to take the borders into account. Henry -- __

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Henry Vermaak
On Fri, Jul 04, 2014 at 03:19:33PM +0200, zeljko wrote: > On 07/04/2014 03:13 PM, Vojtěch Čihák wrote: > >Hi, > > > >Delphi has no TGroupBox.Autosize but it has TPanel.AutoSize. > > > >When I put children on Panel, set very long Panel.Caption and > >Panel.AutoSize:=True then panel shrinks to the sm

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Henry Vermaak
On Fri, Jul 04, 2014 at 03:13:19PM +0200, Vojtěch Čihák wrote: > Hi, >   > Delphi has no TGroupBox.Autosize but it has TPanel.AutoSize. I really don't care about Delphi. If I did I would be using it. > When I put children on Panel, set very long Panel.Caption and > Panel.AutoSize:=True then pane

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Henry Vermaak
On Fri, Jul 04, 2014 at 01:03:56PM +0100, Henry Vermaak wrote: > On Fri, Jul 04, 2014 at 12:39:12PM +0100, Henry Vermaak wrote: > > Hi > > > > The GroupBox auto size doesn't work very well, because it doesn't take > > the label width into account.

Re: [Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Henry Vermaak
On Fri, Jul 04, 2014 at 12:39:12PM +0100, Henry Vermaak wrote: > Hi > > The GroupBox auto size doesn't work very well, because it doesn't take > the label width into account. If the label is wider than all of the > children, it will get clipped. Any reason why GetGTKD

[Lazarus] GTK2 GroupBox auto size

2014-07-04 Thread Henry Vermaak
Hi The GroupBox auto size doesn't work very well, because it doesn't take the label width into account. If the label is wider than all of the children, it will get clipped. Any reason why GetGTKDefaultWidgetSize wasn't used, like virtually everywhere else in gtk2wsstdctrls.pp? I attach a patch

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Henry Vermaak
On Fri, Jun 20, 2014 at 12:38:22PM +0100, Lukasz Sokol wrote: > On 20/06/14 11:53, Michael Schnell wrote: > > On 06/18/2014 04:03 PM, Lukasz Sokol wrote: > >> I think this vdso time thing is so fresh, it'll be great if you contact > >> the maintainer (Andy Lutomirski) or the guy that wrote it (Ste

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-18 Thread Henry Vermaak
On Wed, Jun 18, 2014 at 02:53:21PM +0200, Michael Schnell wrote: > Checking with a 64 Bit program (after overcoming the shock that with > 64 fpc "Integer" is 32 bit =-O ): > > On Kernel 3.2.0 64 bit, using a 64 Bit testing program: > - I do find the vDSO ELF structure at (e.g. at 7FFF5D2C900

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-18 Thread Henry Vermaak
On Wed, Jun 18, 2014 at 12:27:03PM +0200, Michael Schnell wrote: > On 06/06/2014 12:25 PM, Michael Van Canneyt wrote: > > > > > >if you do a vDSO implementation, please do not limit the > >implementation to the clock_gettime, but implement all calls that > >support it. > > > > First testing result

Re: [Lazarus] How to program with time in milliseconds?

2014-05-15 Thread Henry Vermaak
On Thu, May 15, 2014 at 11:41:32AM +0200, Michael Schnell wrote: > On 05/15/2014 11:18 AM, Michael Van Canneyt wrote: > > > > > >fpGetTimeOfDay is used to implement Now(). This should not be changed. > > Why not, If there are better ways ? "Better" needs to be defined here. If you mean "faster",

Re: [Lazarus] How to program with time in milliseconds?

2014-05-15 Thread Henry Vermaak
On Thu, May 15, 2014 at 12:12:06PM +0200, Michael Schnell wrote: > On 05/15/2014 11:43 AM, Henry Vermaak wrote: > >Only the speed can be improved by calling into the vDSO, not the > >precision. You need to use clock_gettime() for nanosecond > >precision > > I see

Re: [Lazarus] How to program with time in milliseconds?

2014-05-15 Thread Henry Vermaak
On Thu, May 15, 2014 at 09:40:44AM +0200, Michael Schnell wrote: > At best, fpgettimeofday itself should be improved (maybe using > "Performance counter" register if the Arch allows for or vDSO if the > OS allows for). Only the speed can be improved by calling into the vDSO, not the precision. Yo

Re: [Lazarus] How to program with time in milliseconds?

2014-05-13 Thread Henry Vermaak
On Tue, May 13, 2014 at 09:51:39AM +0200, Michael Schnell wrote: > On 05/12/2014 10:37 PM, Henry Vermaak wrote: > >On linux, glibc (and others) will route gettimeofday() (and > >clock_gettime() for certain clock IDs) via vDSO and no syscall > >will be called, so it's ve

Re: [Lazarus] How to program with time in milliseconds?

2014-05-12 Thread Henry Vermaak
On Mon, May 12, 2014 at 08:12:45PM +0200, Sven Barth wrote: > On 12.05.2014 15:33, Michael Schnell wrote: > >On 05/12/2014 02:47 PM, Reinier Olislagers wrote: > >>Do you mean direct access to the hardware bypassing the OS? I > >>thought that wasn't possible in Windows? > > > >I don't know how the d

Re: [Lazarus] Better implementation of GetTickcount using clock_gettime

2014-04-01 Thread Henry Vermaak
On Tue, Apr 01, 2014 at 12:45:54PM +0200, zeljko wrote: > On 04/01/2014 12:20 PM, Luca Olivetti wrote: > > >For linux a more accurate implementation could be > > > >function GetTickCount64: QWord; > >var > > tp: timespec; > >begin > > clock_gettime(CLOCK_MONOTONIC, @tp); > > Result := (Int64

Re: [Lazarus] Compiling on OpenBSD

2014-02-27 Thread Henry Vermaak
On Wed, Feb 26, 2014 at 10:16:01PM -0300, Leonardo Rame wrote: > Hi, I'm playing with OpenBsd 5.4 amd64 (with XFCE4) and found it has > an fpc 2.6.2 package, so I tried compiling Lazarus trunk. > > -- >8 -- > > 4) When I've tried to run ./lazarus, I got this: > > (lazarus:14292): GLib-GObject-CRIT

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-16 Thread Henry Vermaak
On Wed, Jan 15, 2014 at 05:16:56PM +, Martin wrote: > On 15/01/2014 17:09, Henry Vermaak wrote: > >On Wed, Jan 15, 2014 at 12:45:46PM +0000, Henry Vermaak wrote: > >>>That has already been fixed in r43703 in trunk and merged to 1.2. > >>I can't see it in fixe

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-15 Thread Henry Vermaak
On Wed, Jan 15, 2014 at 12:45:46PM +, Henry Vermaak wrote: > On Wed, Jan 15, 2014 at 01:34:58PM +0100, Bart wrote: > > On 1/15/14, Henry Vermaak wrote: > > > > > lazbuild crashes for me, though: > > > > That has already been fixed in r43703 in trunk and m

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-15 Thread Henry Vermaak
On Wed, Jan 15, 2014 at 01:34:58PM +0100, Bart wrote: > On 1/15/14, Henry Vermaak wrote: > > > lazbuild crashes for me, though: > > That has already been fixed in r43703 in trunk and merged to 1.2. I can't see it in fixes_1_2? --

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-15 Thread Henry Vermaak
On Wed, Jan 15, 2014 at 12:26:24PM +, Henry Vermaak wrote: > On Mon, Jan 13, 2014 at 06:34:19PM +0100, Mattias Gaertner wrote: > > The Lazarus team would like to announce the second Release Candidate > > for the upcoming Version 1.2. > > Well done! I'd lo

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-15 Thread Henry Vermaak
On Mon, Jan 13, 2014 at 06:34:19PM +0100, Mattias Gaertner wrote: > The Lazarus team would like to announce the second Release Candidate > for the upcoming Version 1.2. Well done! I'd love to stick to this branch. lazbuild crashes for me, though: hcv@technical09:~/source/lazarus$ ./lazbuild --h

Re: [Lazarus] Lazarus 1.2RC1 Ctrl-F9 not working

2013-11-14 Thread Henry Vermaak
On Wed, Nov 13, 2013 at 11:17:59PM +0100, Bart wrote: > On 11/13/13, Mattias Gaertner wrote: > > > Check your short cuts in your system settings. They take precedence > > over any normal application like the IDE. > > On my Fedora 18 / KDE Ctrl+F9 does something weird to the windows that > I cann

Re: [Lazarus] Lazarus 1.2RC1 Ctrl-F9 not working

2013-11-13 Thread Henry Vermaak
On Wed, Nov 13, 2013 at 04:38:28PM +0100, Mattias Gaertner wrote: > On Wed, 13 Nov 2013 15:05:20 + > Richard Mace wrote: > > > Hi All, > > Running the latest RC in stock Xubutu 12.04 and Ctrl-F9 doesn't work, but > > if you select compile from the menu, it works fine. > > > > Any ides? > >

Re: [Lazarus] Proposal for changing fpc version on the fly in the IDE

2013-08-22 Thread Henry Vermaak
On Thu, Aug 22, 2013 at 05:12:04PM +0300, patspiper wrote: > On 22/08/13 16:23, Mark Morgan Lloyd wrote: > >I usually add a couple of symlinks in /usr/local/bin e.g. ppcsparc > >-> ppcsparc-2.6.2 and ppcsparc-2.6.2 -> > >/usr/local/lib/fpc/2.6.2/ppcsparc. The fpc binary will be the one > >installed

Re: [Lazarus] Shell notifications

2013-08-22 Thread Henry Vermaak
On Thu, Aug 22, 2013 at 01:49:28PM +0200, Sven Barth wrote: > Am 22.08.2013 13:33, schrieb Antonio Fortuny: > >See the code in attachment > > > >I changed the code a little bit adding the OVERLAP parameter and > >events to use the async method. > >Now the same function returns error code 6 > Error

Re: [Lazarus] Shell notifications

2013-08-21 Thread Henry Vermaak
On Wed, Aug 21, 2013 at 12:36:56PM +, Mark Morgan Lloyd wrote: > Michael Schnell wrote: > >On 08/20/2013 02:56 PM, Henry Vermaak wrote: > >>... together with select().. > > > >In Object Pascal I think this should be encapsulated in a thread > >and

Re: [Lazarus] Shell notifications

2013-08-20 Thread Henry Vermaak
On Tue, Aug 20, 2013 at 03:21:01PM +0200, Antonio Fortuny wrote: > Le 20/08/2013 14:56, Henry Vermaak a écrit : > >On Tue, Aug 20, 2013 at 02:22:02PM +0200, Antonio Fortuny wrote: > >>Hi Folks. > >> > >>Do you know any component / tool to allow an application to

Re: [Lazarus] Shell notifications

2013-08-20 Thread Henry Vermaak
On Tue, Aug 20, 2013 at 02:22:02PM +0200, Antonio Fortuny wrote: > Hi Folks. > > Do you know any component / tool to allow an application to be > notified by the host OS when something changes in a disk directory ? > Both Windows & Linux. inotify on linux (together with select()). I'm told FindF

Re: [Lazarus] Path that .exe file is running from

2013-08-02 Thread Henry Vermaak
On Fri, Aug 02, 2013 at 10:58:02AM +0200, Michael Schnell wrote: > On 08/02/2013 10:32 AM, Michael Van Canneyt wrote: > >On Fri, 2 Aug 2013, Michael Schnell wrote: > >>On 08/01/2013 08:56 PM, Richard Mace wrote: > >>"Application" is only available when using appropriate > >>"WidgetTypes". Not when

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-17 Thread Henry Vermaak
On Wed, Jul 17, 2013 at 09:49:48AM +0200, Reinier Olislagers wrote: > On 16/07/2013 18:18, Henry Vermaak wrote: > > On Tue, Jul 16, 2013 at 12:23:10PM +0200, Reinier Olislagers wrote: > >> On 16-7-2013 11:53, Henry Vermaak wrote: > >>> Ranting from a position of ig

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-16 Thread Henry Vermaak
On 16 Jul 2013 20:39, "Mark Morgan Lloyd" wrote: > > Henry Vermaak wrote: >> >> On Tue, Jul 16, 2013 at 12:23:10PM +0200, Reinier Olislagers wrote: >>> >>> On 16-7-2013 11:53, Henry Vermaak wrote: >>>> >>>> Ranting from a po

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-16 Thread Henry Vermaak
On Tue, Jul 16, 2013 at 12:23:10PM +0200, Reinier Olislagers wrote: > On 16-7-2013 11:53, Henry Vermaak wrote: > > Ranting from a position of ignorance seriously dilutes your credibility > > in my book. > > I'm just saying the rants may be justified if mysql cannot be

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-16 Thread Henry Vermaak
On Tue, Jul 16, 2013 at 11:28:38AM +0200, Michael Schnell wrote: > On 07/16/2013 11:17 AM, Henry Vermaak wrote: > >Probably not, no, given that it's used by ... > > I seem to find out that this discussion is about experts making fun > on each other, just wasting some bandwi

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-16 Thread Henry Vermaak
On Tue, Jul 16, 2013 at 11:22:44AM +0200, Reinier Olislagers wrote: > On 16-7-2013 11:17, Henry Vermaak wrote: > > On Tue, Jul 16, 2013 at 08:33:45AM +, Mark Morgan Lloyd wrote: > >> If it really is so bad, why have so many developers- in particularly > >> web deve

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-16 Thread Henry Vermaak
On Tue, Jul 16, 2013 at 08:33:45AM +, Mark Morgan Lloyd wrote: > Reinier Olislagers wrote: > > >It's not a bug, it's a feature: MySQL accepts data other DBs wouldn't > >touch with a 10 foot pole ;) > >(Don't ask about it proceeding and mangling that data - that's beside > >the point ;) ) > >

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-15 Thread Henry Vermaak
On Mon, Jul 15, 2013 at 04:37:35PM +0200, Michael Van Canneyt wrote: > On Mon, 15 Jul 2013, Henry Vermaak wrote: > >Could you explain why the above is bad for those of us that aren't DB > >experts? To my untrained eye it looks fairly plausible, so I'm > >obviously

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-15 Thread Henry Vermaak
On Mon, Jul 15, 2013 at 03:44:42PM +0100, Graeme Geldenhuys wrote: > On 2013-07-15 15:06, Henry Vermaak wrote: > > Could you explain why the above is bad for those of us that aren't DB > > experts? To my untrained eye it looks fairly plausible, so I'm > > obviously

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-15 Thread Henry Vermaak
On Mon, Jul 15, 2013 at 04:53:25PM +0100, Graeme Geldenhuys wrote: > The case sensitivity in the table names is also crazy, especially if > the database gets moved. I had to modify quite a lot of SQL statements > because of that. For MySQL support I had to look up the table name (as > MySQL has it)

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-15 Thread Henry Vermaak
On Mon, Jul 15, 2013 at 02:49:06PM +0100, Graeme Geldenhuys wrote: > On 2013-07-15 13:43, leledumbo wrote: > > > > Or if they insist on using MySQL (compatible alternative): MariaDB > > Nope, still not! I'll not touch MySQL, MariaDB or anything based on > those with a 10 foot pole! If you value y

Re: [Lazarus] FPC source index

2013-06-20 Thread Henry Vermaak
On Thu, Jun 20, 2013 at 10:17:51AM +0100, Henry Vermaak wrote: > It's gtk2, on some recent flavour of Ubuntu. Without the source index, > it seems like I can't even double click on events in the object > inspector to create handlers, since it tells me that Classes can't

Re: [Lazarus] FPC source index

2013-06-20 Thread Henry Vermaak
On Wed, Jun 19, 2013 at 07:49:27PM +0200, Mattias Gaertner wrote: > On Wed, 19 Jun 2013 15:16:33 +0100 > Henry Vermaak wrote: > > > Hi list > > > > Is there a way to force the "Rescan FPC Source Directory" to not run in > > OnIdle? > > >

[Lazarus] FPC source index

2013-06-19 Thread Henry Vermaak
Hi list Is there a way to force the "Rescan FPC Source Directory" to not run in OnIdle? I've got an ARM computer with slow storage and I thought I'd leave the IDE for a while to wait for this operation to finish, only to realise that nothing happens when I'm not moving the mouse around/typing. T

Re: [Lazarus] New competition for Lazarus

2013-05-30 Thread Henry Vermaak
On Thu, May 30, 2013 at 08:40:14AM -0300, William Oliveira Ferreira wrote: > Seems to be in a good path. They're fork Will be open source? No choice, the Lazarus IDE is GPL, so all derivative work needs to be supplied. Henry -- ___ Lazarus mailing list

Re: [Lazarus] New competition for Lazarus

2013-05-30 Thread Henry Vermaak
On Thu, May 30, 2013 at 11:58:29AM +0100, Graeme Geldenhuys wrote: > Hi, > > I just saw this thread. The PilotLogic guys (creators of the CodeTyphoon > project) has finally decided to fork Lazarus IDE and go their own route. > Here are some "early days" screenshots. > > http://www.pilotlogic.com/

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Henry Vermaak
On 5 April 2013 10:43, Alexander Klenin wrote: > On Fri, Apr 5, 2013 at 7:32 PM, Mattias Gaertner > wrote: >> >> This is independent of the IDE directive {%H-}. It only works on the file >> position given by the compiler. >> >> Newer compilers might warn at different places within an expression,

Re: [Lazarus] Is Mantis bad as i thought

2013-04-05 Thread Henry Vermaak
On 5 April 2013 10:12, Zaher Dirkey wrote: > On Thu, Apr 4, 2013 at 11:38 PM, Bart wrote: >> >> I don't want mail from Mantis, but it insists on sending it to me anyway. > > > You can stop it from your account options, because it is sending mails for > all bugs not just you monitored. Yes, ther

Re: [Lazarus] Menu key brings up wrong menu in source code editor

2013-03-14 Thread Henry Vermaak
On Thu, Mar 14, 2013 at 11:03:22PM +0100, Sven Barth wrote: > On 13.03.2013 19:08, Frank Church wrote: > > > >https://forums.embarcadero.com/message.jspa?messageID=535727 > > > >Graeme was rather mild in that discussion, not the usual Graeme :). > >The Embarcadero guys were just laughable, not conf

Re: [Lazarus] Signal handling

2013-02-20 Thread Henry Vermaak
On Feb 20, 2013 9:16 AM, "Mark Morgan Lloyd" < markmll.laza...@telemetry.co.uk> wrote: > > Mark Morgan Lloyd wrote: >>> >>> If I want to poll a variable set by an asynchronous unix-style signal, i.e. that doesn't have an OS-level handle and where the latency should probably be of the order of 100mS

Re: [Lazarus] Signal handling

2013-02-20 Thread Henry Vermaak
On Feb 20, 2013 8:36 AM, "Mark Morgan Lloyd" < markmll.laza...@telemetry.co.uk> wrote: > > If I want to poll a variable set by an asynchronous unix-style signal, i.e. that doesn't have an OS-level handle and where the latency should probably be of the order of 100mSec, what's the most effective tec

Re: [Lazarus] Finding out how a program's being terminated

2013-02-16 Thread Henry Vermaak
On Sat, Feb 16, 2013 at 06:43:51PM +0100, Michael Van Canneyt wrote: > On Sat, 16 Feb 2013, waldo kitty wrote: > >On 2/16/2013 08:30, Hans-Peter Diettrich wrote: > >>Procedures even may be different for Linux and Windows, depending on the > >>signal/message types. Even if a program can ignore SIGTE

Re: [Lazarus] Converting pence into pounds and then to string

2012-12-12 Thread Henry Vermaak
On Wed, Dec 12, 2012 at 11:23:46AM +, Richard Mace wrote: > Hi All, > Got a simple question that has stumped me, which tends to happen if I don't > do development for a couple of months. > > How's the best way of converting an integer number "208" (that is pence) > into a string value that is

Re: [Lazarus] 2nd call (PPC needed for MAc) [Re: Beta testers needed / Lazarus with Editor-Macro-Script]

2012-12-07 Thread Henry Vermaak
On 7 December 2012 15:15, Martin wrote: > On 07/12/2012 09:43, Henry Vermaak wrote: >> The code only worked for darwin, unless someone added support for linux >> procedure call. There isn't much difference between the two (iirc). >> > > Lets see if it works fo

Re: [Lazarus] 2nd call (PPC needed for MAc) [Re: Beta testers needed / Lazarus with Editor-Macro-Script]

2012-12-07 Thread Henry Vermaak
On 07/12/12 09:23, Mark Morgan Lloyd wrote: > Martin wrote: >> - intel/amd : Looks like they should work now. >> - ARM is known NOT to work >> - PPC is known only to compile for Mac (but not tested) >> >> So I need someone to test on a PPC Mac, please. > > Hosted on what OS? I can do Linux but was

Re: [Lazarus] lazbuild changes

2012-12-06 Thread Henry Vermaak
On 6 December 2012 16:29, Mattias Gaertner wrote: > > Mattias Gaertner hat am 6. Dezember 2012 um 17:26 > geschrieben: > >> Hi, >> >> Two changes to lazbuild: >> >> 1. When compiling a project it does the same check as the IDE. If the >> project >> is uptodate it does not invoke the compiler.

Re: [Lazarus] Cross-compiling -> MIPS

2012-10-22 Thread Henry Vermaak
On 22/10/12 10:02, Mark Morgan Lloyd wrote: > Henry Vermaak wrote: >> I built lazarus with fpc 2.7.1 for armhf this weekend. Why do you say >> 2.6.0 is needed? > > Because of the feeling with which most developers insist that 2.6.0 is > the one true way :-) Yes, I ten

Re: [Lazarus] Cross-compiling -> MIPS

2012-10-22 Thread Henry Vermaak
On 22/10/12 09:20, Mark Morgan Lloyd wrote: > SkyDiablo wrote: >> hiho! >> >> i search a solution to build my "hello world" source from my windows >> x64 system to a openWRT (linux) with a MIPS CPU system -> >> cross-compiling? >> >> i do not find a working solution :( now i'm trying to build with

Re: [Lazarus] Lazarus and Ubuntu 12.10

2012-09-25 Thread Henry Vermaak
On 25/09/12 00:38, Andrew Brunner wrote: > Is anyone running Lazarus 1.1 on Ubuntu 12.10x64? > > I'm having problems getting lazarus to startup. Is anyone else having > success or confirmed problems? Do you have more information? Back traces? Maybe unity is causing more problems (remember libo

Re: [Lazarus] "Defeating" a screen saver

2012-09-25 Thread Henry Vermaak
On 25/09/12 11:01, Mark Morgan Lloyd wrote: > I appreciate that there might be no guaranteed portable answer to this > one, and FWIW I'm primarily interested in the Linux+X+KDE combination. > > If a program knows that something's going on that it might later need to > tell the user about, e.g. tha

Re: [Lazarus] Debugging shared libraries

2012-09-19 Thread Henry Vermaak
On 16/09/12 14:26, Mark Morgan Lloyd wrote: > I've developed a useful convention which allows me to either load a > library on demand (via Dynlibs) or to link it statically. This > combination allows me to use standard Lazarus debugging techniques to > sort out most problems. > > However, yesterda

Re: [Lazarus] Process ID

2012-09-13 Thread Henry Vermaak
On 13/09/12 17:04, Marco van de Voort wrote: > On Thu, Sep 13, 2012 at 09:08:19AM +, Mark Morgan Lloyd wrote: >>> So be fair, I don't think I have ever come across a Linux distro that >>> doesn't include the ps binary as standard. And I have used Linux since >>> 1996. Even *BSD and *Solaris i

  1   2   3   4   5   >