Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Patrick Chevalley
Hi, > There is your answer... > If the desktop environments start to break standards, there is little we can > do. There is an explanation here: http://blog.martin-graesslin.com/blog/2014/03/system-tray-in-plasma-next/ and

Re: [Lazarus] Application slow shutting down

2015-09-30 Thread Patrick Chevalley
> Very few overall, and I thought they were safely freed. But heaprtc shows 66 > unfreed memory blocks, so that is something I shall check tomorrow (it's > late in NZ)   Resolve this errors and then try without heaptrc, it is expected that memory analysis take at lot of time when the

Re: [Lazarus] Application slow shutting down

2015-09-30 Thread Patrick Chevalley
Hi Graeme, > TIP: > Also develop your programs with -gh -gl (memory leak detection) I agree and always use heaptrc for my development projects. My suggestion to try without heaptrc is only to check if this is the reason for "slow shutting down". In this case the

Re: [Lazarus] Storing projects in subversion (or git etc.)

2015-09-21 Thread Patrick Chevalley
> > No FreePascal or Lazarus entries there... ? https://github.com/github/gitignore/blob/master/Global/Lazarus.gitignore -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] PrinterSetupDialog1.Execute won't work.

2015-08-26 Thread Patrick Chevalley
Hi, I don't use win64 a lot but this remember me a problem I have a few years ago. Try to add the following at the start of your project .lpr file: {$ifdef win64} {$IMAGEBASE $40} {$endif} For me this fixed both debugging and printing on win64. Patrick

Re: [Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-08-19 Thread Patrick Chevalley
Hi, Ok, here it is gtk 2.24.23. Any known workarounds? I tried changing the GTK theme in KDE but no effect. Probably a Kwin problem. A workaround is to open the KDE system settings, Desktop effects, All effects. On the Focus block uncheck Dialog parent. Patrick --

Re: [Lazarus] DateDif function needed

2013-11-13 Thread Patrick Chevalley
Hi, So the difference between 2007-01-01 12:00 and 2008-01-01 12:00 ist *not* one year? No, the base definition of the year is not a digit change, but the time it take to the Earth to return at the same point of its orbit around the Sun. This is actually 365.2422 days, and this is named

Re: [Lazarus] Regressions in GTK2 interface ?

2013-05-13 Thread Patrick Chevalley
I also use a KDE desktop and Lazarus Gtk2. If using the default Gtk theme oxygen-gtk there is no icon. By setting another theme (Clearlooks, qtcurve) all the menu have an icon. Patrick    -- ___ Lazarus mailing list

Re: [Lazarus] My Lazarus Dream: Cross Compile Linux64 - Linux32 on Ubuntu 12.04

2012-08-23 Thread Patrick Chevalley
I also have this problem since I upgrade Ubuntu to 12.04, it used to work fine with all the previous version. The problem is because of the new multiarch system used by Ubuntu 12.04 you cannot install an i386-dev package on a x86_64 system. This is why in the solution given by Dibo you need this

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-10 Thread Patrick Chevalley
GLScene use Delphi mode, so if I understand, it never need the generic prefix? In this case I don't understand why this ifdef to include it in the GLScene source. Do an older FPC version need it also for Delphi mode? For me svn 6018 as no problem at this point with FPC 2.6 and Lazarus

Re: [Lazarus] Lazarus 0.9.30.4RC2 available for download

2012-03-09 Thread Patrick Chevalley
Hi, The problem is because GLScene wrongly define GLS_GENERIC_PREFIX depending on LCL_RELEASE instead of FPC_RELEASE. I submitted a patch for that a few time ago and it is now available in the GLScene trunk. http://glscene.svn.sourceforge.net/viewvc/glscene?view=revisionrevision=6008 {$IFDEF

Re: [Lazarus] Lazarus 0.9.30.4 release candidate 1 available for download

2012-03-04 Thread Patrick Chevalley
Hi, At the moment 0.9.30.4 do not work on Ubuntu 12.04 and Fedora 17. Can you merge the revision 35051 that fix this problem? see http://bugs.freepascal.org/view.php?id=21129 Patrick -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] glscene error

2012-02-08 Thread Patrick Chevalley
I have submitted a patch for GLScene trunk to make it work with FPC 2.6: http://sourceforge.net/apps/phpbb/glscene/viewtopic.php?f=11t=921 It is now available with the GLScene trunk on Sourceforge: http://sourceforge.net/scm/?type=svngroup_id=29749 I don't know if this work with the version in

Re: [Lazarus] MDI implementation

2011-04-04 Thread Patrick Chevalley
Hi, You can get the last version for Multidoc from the svn for my skychart application, see http://wiki.lazarus.freepascal.org/MultiDoc It work with Lazarus 0.9.30 and svn trunk. But the zeljko way look much better, so I eagerly await I can trash it :-) Patrick --

Re: [Lazarus] Cross compiling

2010-04-02 Thread Patrick Chevalley
Read: http://wiki.lazarus.freepascal.org/Cross_compiling http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux and don't miss http://wiki.lazarus.freepascal.org/Multiplatform_Programming_Guide -- ___ Lazarus mailing list

Re: [Lazarus] Astronomy Software

2009-11-16 Thread Patrick Chevalley
Hi Terry, Because you could start 2.76 with the -f switch and it would start up viewing a specific object. That has not been implemented in the SkyChart 3.x as far as I know. I am skychart author :-) It is easy to add the -f switch to skychart v3 because the function are already implemented

Re: [Lazarus] Astronomy Software

2009-11-16 Thread Patrick Chevalley
Oops! sorry, just noticed Databases/Messier.txt - do you have a script to create the mysql database ? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus