Re: [lazarus] 0.9.20 released

2006-11-10 Thread Mattias Gaertner
On Thu, 09 Nov 2006 16:31:19 +0100
Søren Ager [EMAIL PROTECTED] wrote:

 On 2006-11-09 16:21, Marc Weustink wrote:
 
  I downloaded and installed the .deb (on top of 0.9.18) - but is 
  still says 0.9.18 in the caption and about?
  
  Did you install packages in 0.9.18 ? And do you start lazarus using 
  startlazarus ?
  
  if so, remove ~/.lazarus/bin/lazarus
 
 A - that did it. Thanks a lot.

Thanks Marc.
Vincent, maybe startlazarus should check for the FileAge of the lazarus
executable and warn the user that the custom built lazarus is older
than the regular one (plus the hint, what file to remove)?

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Mattias Gaertner
On Thu, 09 Nov 2006 05:14:40 -0700
John Meyer [EMAIL PROTECTED] wrote:

 I'm still getting the error that the kde/gnome lazarus icon fails to
 start lazarus and when I type lazarus in the alt+f2, it gives me an
 error.  Incidentally, when I start it either from the command line or
 from an icon on the desktop there are no problems starting it.

What error? This seems to be a different bug.
I will check later.

Mattias


 
 Mattias Gaertner wrote:
  On Wed, 8 Nov 2006 18:20:33 +0100
  Sebastian Kraft [EMAIL PROTECTED] wrote:
 

  Am Mittwoch, 8. November 2006 09:52 schrieb Mattias Gaertner:
  
  The Lazarus team is glad to announce the 0.9.20 release. This
  release is based on fpc 2.0.4.
 

  Mhm... with new release the editor looks strange. everything is a 
  bit squeezed. font is small and ugly. With the svn some days
  before it was excellent...
  
 
  I don't remember any such change. At least not since 0.9.18.
  Please create a bug report.
 
 
  Mattias
 
  _
   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


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Mattias Gaertner
On Thu, 9 Nov 2006 10:28:35 -0400
Luis R. Hilario B. [EMAIL PROTECTED] wrote:

 2006/11/9, Graeme Geldenhuys [EMAIL PROTECTED]:
  On 09/11/06, Luis R. Hilario B. [EMAIL PROTECTED] wrote:
Which files are enormous?
  
   The final result of the programs created with MSEide + MSEgui
 
  Isn't that just because of the debug information inside the
  executables.  This is covered in the Free Pascal or Lazarus FAQ.
  Use the 'strip' command, to remove the debug information from the
  executable.
 
  For example:
   I compile a app with Lazarus and the executable is 12Mb.  After
  using 'strip appname.exe' it shrinks down to 4Mb.
 
 I know.
 You consider that 4MB is small?
 
 joke
 It is verified that the size yes imports. :)
 joke

There are two solutions: 
- Improve LCL for smart linking
- Improve compiler and lazarus for dynamic lib.

Improving smart linking is not a complex task. Just start with the less
commonly used controls like TSpinEdit and see where it is used in the
LCL and the widgetset you prefer. Then make a proposal how to improve
it. Once this process and the techniques are described in the wiki on a
few examples, others will help.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Mattias Gaertner
On Thu, 9 Nov 2006 13:47:22 +0300
Al Boldi [EMAIL PROTECTED] wrote:

 Mattias Gaertner wrote:
  Al Boldi [EMAIL PROTECTED] wrote:
   Vincent Snijders wrote:
Al Boldi schreef:
 Vincent Snijders wrote:
 Al Boldi schreef:

 But I don't have svn.
   
Get it, it is worth it.
   
 Plus, I am on dial-up; does svn resume on lost connections?
   
This diff command doesn't.
  
   So maybe someone can do me a favor, if the diff isn't too big?
  
   I am on laz-0.9.15, and fpc-2.0.2.
 
  0.9.15 was never released, it was a developer version. If eventually
  there will be diffs, they will be the diffs from release to release
  (e.g. 0.9.18 - 0.9.20).
 
 So what I need is a diff from the 0.9.15 daily tarball snapshot from 
 2006.05.10 to the 0.9.16 release.  Is this possible?

To create the diff, you need the revision number of that tarball. There
are 2 changes on that day. 

 
 If so, can someone provide this for me?
 
  The svn can create diffs with the following command:
  svn diff -r 9933:10175.
  This is the diff between 0.9.18 and 0.9.20 and creates a diff
  of 4.7mb, gzipped: 0.8mb.
  But there were less changes than normal. For comparison the diff
  between 0.9.16 and 0.9.18 is 7mb, gzipped 1.4mb.
 
 Great!  bz2 could possibly provide even higher compression.

Yes, but then our work does not look so impressive. ;)

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Vincent Snijders

Mattias Gaertner schreef:

On Thu, 09 Nov 2006 16:31:19 +0100
Søren Ager [EMAIL PROTECTED] wrote:


On 2006-11-09 16:21, Marc Weustink wrote:

I downloaded and installed the .deb (on top of 0.9.18) - but is 
still says 0.9.18 in the caption and about?
Did you install packages in 0.9.18 ? And do you start lazarus using 
startlazarus ?


if so, remove ~/.lazarus/bin/lazarus

A - that did it. Thanks a lot.


Thanks Marc.
Vincent, maybe startlazarus should check for the FileAge of the lazarus
executable and warn the user that the custom built lazarus is older
than the regular one (plus the hint, what file to remove)?



Good idea.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Graeme Geldenhuys

On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:

 I downloaded and installed the .deb (on top of 0.9.18) - but is
 still says 0.9.18 in the caption and about?
 Did you install packages in 0.9.18 ? And do you start lazarus using
 startlazarus ?

 if so, remove ~/.lazarus/bin/lazarus
 A - that did it. Thanks a lot.

 Thanks Marc.
 Vincent, maybe startlazarus should check for the FileAge of the lazarus
 executable and warn the user that the custom built lazarus is older
 than the regular one (plus the hint, what file to remove)?


Good idea.

Vincent


Yes, a very good idea!  I got caught by that same problem a few days
ago on a new install.  Rebuilt Lazarus and when it restarted, couldn't
figure out why the changes where not there!  In the end I created a
symlink from /opt/lazarus/lazarus to ~/.lazarus/lazarus

Can you user select where the compiled units and lazarus executable
gets placed? I would prefer /opt/lazarus/ directory.

Regards,
 - Graeme -

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Vincent Snijders

Graeme Geldenhuys schreef:

On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:

 I downloaded and installed the .deb (on top of 0.9.18) - but is
 still says 0.9.18 in the caption and about?
 Did you install packages in 0.9.18 ? And do you start lazarus using
 startlazarus ?

 if so, remove ~/.lazarus/bin/lazarus
 A - that did it. Thanks a lot.

 Thanks Marc.
 Vincent, maybe startlazarus should check for the FileAge of the lazarus
 executable and warn the user that the custom built lazarus is older
 than the regular one (plus the hint, what file to remove)?


Good idea.

Vincent


Yes, a very good idea!  I got caught by that same problem a few days
ago on a new install.  Rebuilt Lazarus and when it restarted, couldn't
figure out why the changes where not there!  In the end I created a
symlink from /opt/lazarus/lazarus to ~/.lazarus/lazarus


I don't understand your setup. Where is startlazarus, where is the original lazarus, 
where is the new lazarus, which of those directories are read-only for you?


Vincent.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Mattias Gaertner
On Fri, 10 Nov 2006 11:47:08 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:

 On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:
   I downloaded and installed the .deb (on top of 0.9.18) - but
   is still says 0.9.18 in the caption and about?
   Did you install packages in 0.9.18 ? And do you start lazarus
   using startlazarus ?
  
   if so, remove ~/.lazarus/bin/lazarus
   A - that did it. Thanks a lot.
  
   Thanks Marc.
   Vincent, maybe startlazarus should check for the FileAge of the
   lazarus executable and warn the user that the custom built
   lazarus is older than the regular one (plus the hint, what file
   to remove)?
  
 
  Good idea.
 
  Vincent
 
 Yes, a very good idea!  I got caught by that same problem a few days
 ago on a new install.  Rebuilt Lazarus and when it restarted, couldn't
 figure out why the changes where not there!  In the end I created a
 symlink from /opt/lazarus/lazarus to ~/.lazarus/lazarus
 
 Can you user select where the compiled units and lazarus executable
 gets placed? I would prefer /opt/lazarus/ directory.

/opt/lazarus is normally not writable for normal users.
The IDE puts every global new file in the primary config path. By
default this is ~/.lazarus. But you change it with a command line
parameter.
If you want a custom install, use 'make install'.
The binary packages will try to follow the standards.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Graeme Geldenhuys

On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:

 Yes, a very good idea!  I got caught by that same problem a few days
 ago on a new install.  Rebuilt Lazarus and when it restarted, couldn't
 figure out why the changes where not there!  In the end I created a
 symlink from /opt/lazarus/lazarus to ~/.lazarus/lazarus

I don't understand your setup. Where is startlazarus, where is the original 
lazarus,
where is the new lazarus, which of those directories are read-only for you?

Vincent.


Ok, sorry...

/opt/lazarus
 This is where I have Lazarus installed and is read/write to me.  I'm
the only user in my PC, so don't mind the permissions.

/opt/lazarus/lazarus
/opt/lazaurs/startlazarus
 This is normally where these two executables live.  I have my
desktop shortcut setup to point to /opt/lazarus/lazarus  (or was that
'startlazarus' - I can't remember, I am no on a different PC now).
What is the purpose of 'startlazarus' anyhow?

~/.lazarus/*.xml
 This is where my personal settings live.  I never knew that! I have
*.xml files in /opt/lazarus/ as well, but see now that there dates are
old, so deleted them. I'm sure lazarus used to store my settings in
/opt/lazarus/ but it doesn't matter.

Scenario 1:
Now on my current PC (main development PC at work), when I rebuild
Lazarus, new executable are created in /opt/lazarus/ and the compiled
units end in /opt/lazarus/units/ directory.

Scenario 2:
At home on my newly installed Lazarus (same SVN version and FPC), I
have the same directory layout. But, when I rebuild Lazarus there, the
new executables end up in ~/.lazarus/units and the compiled .ppu files
end up there as well.


I prefer Scenario 1, as that is what I am used to.  So my question is,
how to I tell my computer at home (Scenario 2) that the newly created
executable must end up in /opt/lazarus/ directory?

Regards,
 - Graeme -

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Al Boldi
Mattias Gaertner wrote:
 Al Boldi [EMAIL PROTECTED] wrote:
  Mattias Gaertner wrote:
   Al Boldi [EMAIL PROTECTED] wrote:
Vincent Snijders wrote:
 Al Boldi schreef:
  Vincent Snijders wrote:
  Al Boldi schreef:
 
  But I don't have svn.

 Get it, it is worth it.

  Plus, I am on dial-up; does svn resume on lost connections?

 This diff command doesn't.
   
So maybe someone can do me a favor, if the diff isn't too big?
   
I am on laz-0.9.15, and fpc-2.0.2.
  
   0.9.15 was never released, it was a developer version. If eventually
   there will be diffs, they will be the diffs from release to release
   (e.g. 0.9.18 - 0.9.20).
 
  So what I need is a diff from the 0.9.15 daily tarball snapshot from
  2006.05.10 to the 0.9.16 release.  Is this possible?

 To create the diff, you need the revision number of that tarball. There
 are 2 changes on that day.

2006-05-10 15:12:34 +0300 lazarus-0.9.15-20060510-src.tar.bz2

  If so, can someone provide this for me?
 
   The svn can create diffs with the following command:
   svn diff -r 9933:10175.
   This is the diff between 0.9.18 and 0.9.20 and creates a diff
   of 4.7mb, gzipped: 0.8mb.
   But there were less changes than normal. For comparison the diff
   between 0.9.16 and 0.9.18 is 7mb, gzipped 1.4mb.
 
  Great!  bz2 could possibly provide even higher compression.

 Yes, but then our work does not look so impressive. ;)

Small is beautiful!


Thanks!

--
Al

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Graeme Geldenhuys

On 10/11/06, Mattias Gaertner [EMAIL PROTECTED] wrote:

/opt/lazarus is normally not writable for normal users.


Maybe I'm not a 'normal user' :-)  Actually, on my system /opt is a
separate hard drive and I setup as read/write for myself.  That way,
if I want to reinstall the Linux OS (new release) all my work is safe
and I can wipe the OS drive without worries.  Oh, I normally backup my
$HOME directory as well, just in case.



If you want a custom install, use 'make install'.
The binary packages will try to follow the standards.


I have never installed from a binary package.  I always build from the SVN code.

Regards,
 - Graeme -

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Vincent Snijders

Graeme Geldenhuys schreef:

On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:

 Yes, a very good idea!  I got caught by that same problem a few days
 ago on a new install.  Rebuilt Lazarus and when it restarted, couldn't
 figure out why the changes where not there!  In the end I created a
 symlink from /opt/lazarus/lazarus to ~/.lazarus/lazarus

I don't understand your setup. Where is startlazarus, where is the 
original lazarus,
where is the new lazarus, which of those directories are read-only for 
you?


Vincent.


Ok, sorry...

/opt/lazarus
 This is where I have Lazarus installed and is read/write to me.  I'm
the only user in my PC, so don't mind the permissions.

/opt/lazarus/lazarus
/opt/lazaurs/startlazarus
 This is normally where these two executables live.  I have my
desktop shortcut setup to point to /opt/lazarus/lazarus  (or was that
'startlazarus' - I can't remember, I am no on a different PC now).
What is the purpose of 'startlazarus' anyhow?

~/.lazarus/*.xml
 This is where my personal settings live.  I never knew that! I have
*.xml files in /opt/lazarus/ as well, but see now that there dates are
old, so deleted them. I'm sure lazarus used to store my settings in
/opt/lazarus/ but it doesn't matter.

Scenario 1:
Now on my current PC (main development PC at work), when I rebuild
Lazarus, new executable are created in /opt/lazarus/ and the compiled
units end in /opt/lazarus/units/ directory.

Scenario 2:
At home on my newly installed Lazarus (same SVN version and FPC), I
have the same directory layout. But, when I rebuild Lazarus there, the
new executables end up in ~/.lazarus/units and the compiled .ppu files
end up there as well.


This should only happen if the directories mentioned in scenario 1 cannot be written 
to. Do you have an idea why Lazarus thinks they are readonly?


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Graeme Geldenhuys

On 10/11/06, Vincent Snijders [EMAIL PROTECTED] wrote:

This should only happen if the directories mentioned in scenario 1 cannot be 
written
to. Do you have an idea why Lazarus thinks they are readonly?


No idea!  I will double check my permissions from Work with the ones
from Home tonight and see if anything in different.  Group vs User
permissions maybe? All I can say in that I can write/modify files in
/opt/lazarus and /opt/fpc on both PC's, as that is how I create
patches for Lazarus and FPC.

Regards,
 - Graeme -

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] WinCE Patch

2006-11-10 Thread Felipe Monteiro de Carvalho

On 11/10/06, Christian Ulrich [EMAIL PROTECTED] wrote:

I think the best solution for this is an seperate interface.


I don't agree. There aren't that many differences between different
windows ce devices. Better make it a settable property.

And while we are at it, why not create a public field on TWidgetSet
with a enumerated type?

Something like:

TApplicationType = (atDesktop, atMobile, atPDA);

The default would be atDesktop, except for Windows CE, where it could be atPDA.

This would probably make access much easier to the property, and
create a compatible interface in case we see this problem on the
future again (like on Gtk PDAs, or Qt PDAs).

--
Felipe Monteiro de Carvalho

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] WinCE Patch

2006-11-10 Thread Razvan Adrian Bogdan

Is it possible to autodetect the platform ?

On 11/10/06, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:

On 11/10/06, Christian Ulrich [EMAIL PROTECTED] wrote:
 I think the best solution for this is an seperate interface.

I don't agree. There aren't that many differences between different
windows ce devices. Better make it a settable property.

And while we are at it, why not create a public field on TWidgetSet
with a enumerated type?

Something like:

TApplicationType = (atDesktop, atMobile, atPDA);

The default would be atDesktop, except for Windows CE, where it could be atPDA.

This would probably make access much easier to the property, and
create a compatible interface in case we see this problem on the
future again (like on Gtk PDAs, or Qt PDAs).

--
Felipe Monteiro de Carvalho

_
 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


Re: [lazarus] 0.9.20 released

2006-11-10 Thread John Meyer
When I bring up the alt+f2 command and type lazarus, it gives me the
following error:
KDEInit could not launch /usr/share/lazarus/startlazarus

Also, the icon in the start menu won't work, but creating an icon on the
desktop to run lazarus, as well as invoking it from the command line, will

Running OpenSuse 10.1 with KDE 3.5 (latest version).  Also the version
of KDE that was bundled with OS 10.1 had the same error.
Mattias Gaertner wrote:
 On Thu, 09 Nov 2006 05:14:40 -0700
 John Meyer [EMAIL PROTECTED] wrote:

   
 I'm still getting the error that the kde/gnome lazarus icon fails to
 start lazarus and when I type lazarus in the alt+f2, it gives me an
 error.  Incidentally, when I start it either from the command line or
 from an icon on the desktop there are no problems starting it.
 

 What error? This seems to be a different bug.
 I will check later.

 Mattias


   
 Mattias Gaertner wrote:
 
 On Wed, 8 Nov 2006 18:20:33 +0100
 Sebastian Kraft [EMAIL PROTECTED] wrote:

   
   
 Am Mittwoch, 8. November 2006 09:52 schrieb Mattias Gaertner:
 
 
 The Lazarus team is glad to announce the 0.9.20 release. This
 release is based on fpc 2.0.4.

   
   
 Mhm... with new release the editor looks strange. everything is a 
 bit squeezed. font is small and ugly. With the svn some days
 before it was excellent...
 
 
 I don't remember any such change. At least not since 0.9.18.
 Please create a bug report.


 Mattias

 _
  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


Re: [lazarus] WinCE Patch

2006-11-10 Thread Christian Ulrich



I tried simple programs on my mobile (Windows Mobile 5).
  





I have strange problems with the tbitmap implementation on my Pocket pc 3.0



Can you post some sample project?
  
No not at time its in Virtualtreeview and it runs fine in Arm Emulator 
with Windows Mobile 5.0

Please can you try the cvs Version of VTV on windows Mobile 5 ?
I can send you an precompiled test app if you want.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] WinCE Patch

2006-11-10 Thread Christian Ulrich


@Felipe

Yes i agree. Can anyone implement this in twidgetset ? I will make an 
new implementation for wince interface.
Maybe its an good idea to implement an Option for this in the roject 
compiler options and lazarus include the line automatically in the lpr ?!



Is it possible to autodetect the platform ?


I think thats possible partially on windows ce but on an linux pda i 
dont see any way.

And maybe in windwos ce its for some devices also dificult.
I think its an good solution to have this property and maybe an 
Autodetect routine is runned when it is set to

atDefault ?!

so we would have (atDefault,atDesktop,atHandheld,atPDA,atSmartphone) ?!

or atDefault is named atAuto(detect)



On 11/10/06, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:

On 11/10/06, Christian Ulrich [EMAIL PROTECTED] wrote:
 I think the best solution for this is an seperate interface.

I don't agree. There aren't that many differences between different
windows ce devices. Better make it a settable property.

And while we are at it, why not create a public field on TWidgetSet
with a enumerated type?

Something like:

TApplicationType = (atDesktop, atMobile, atPDA);

The default would be atDesktop, except for Windows CE, where it could 
be atPDA.


This would probably make access much easier to the property, and
create a compatible interface in case we see this problem on the
future again (like on Gtk PDAs, or Qt PDAs).

--
Felipe Monteiro de Carvalho

_
 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


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Vincent Snijders

Mattias Gaertner schreef:

On Thu, 09 Nov 2006 16:31:19 +0100
Søren Ager [EMAIL PROTECTED] wrote:


On 2006-11-09 16:21, Marc Weustink wrote:

I downloaded and installed the .deb (on top of 0.9.18) - but is 
still says 0.9.18 in the caption and about?
Did you install packages in 0.9.18 ? And do you start lazarus using 
startlazarus ?


if so, remove ~/.lazarus/bin/lazarus

A - that did it. Thanks a lot.


Thanks Marc.
Vincent, maybe startlazarus should check for the FileAge of the lazarus
executable and warn the user that the custom built lazarus is older
than the regular one (plus the hint, what file to remove)?


So if I find both files and the ~/.lazarus/bin/lazarus (which is 
normally used is older than write protected one installed by a for 
instance a rpm, I should display a message.


What should the message be?

The custom build lazarus at ~/.lazarus/bin/lazarus is older than the 
regular lazarus at /usr/share/lazarus/lazarus. Do you want to delete the 
custom build lazarus and start the regular lazarus?


[Yes] [No] [Abort]

Yes: deletes ~/.lazarus/bin/lazarus and starts /usr/share/lazarus/lazarus.

No: starts ~/.lazarus/bin/lazarus

Abort: exists without starting lazarus.

Would this be ok?

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [PATCH] gtk2 listview images

2006-11-10 Thread Marc Weustink
Sebastian Kraft wrote:
 Am Sonntag, 5. November 2006 14:03 schrieb Sebastian Kraft:
 Hi,

 this patch should correct gtk2wscustomlistview.inc so that listview now
 shows images from an imagelist.
 
 What about this? Has anyone looked into. 

Not yet

 If there's something wrong with it 
 please tell, so I can solve the problem. 

Patch looks ok, unfortunately my gtk2 tree is broken so I cannot commit
there.

Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] new qt patches

2006-11-10 Thread Marc Weustink
zeljko wrote:
 I have to resend this mail (sended this morning) because it seem that qt 
 mailing list doesn't work. Anyway here is LCL qt update.

QT ppl, whats the status of this one ?

Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] new qt patches

2006-11-10 Thread Felipe Monteiro de Carvalho

On 11/10/06, Marc Weustink [EMAIL PROTECTED] wrote:

QT ppl, whats the status of this one ?


Applied. This discussion moved to the Qt mailling list, that's
probably why you did notice it's already applied.

thanks,
--
Felipe Monteiro de Carvalho

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] ANN: ZipFile component

2006-11-10 Thread Darius Blaszijk
I would like to announce the beta release of the TZipFile component. 
TZipFile is a component written from scratch with platform independcy in 
mind. It encapsulates a zipfile and provides all nescesary methods to access 
files stored internally as if they were stored uncompressed on the 
filesystem. The component can for instance be used as an interface to open 
document type files.
Currently compression is not supported yet, but this feature is under 
construction and will be implemented anytime soon.


More information on how to get the component can be found: 
http://wiki.lazarus.freepascal.org/ZipFile


Darius 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] ANN: ZipFile component

2006-11-10 Thread Michael Van Canneyt


On Sat, 11 Nov 2006, Darius Blaszijk wrote:

 I would like to announce the beta release of the TZipFile component. TZipFile
 is a component written from scratch with platform independcy in mind. It
 encapsulates a zipfile and provides all nescesary methods to access files
 stored internally as if they were stored uncompressed on the filesystem. The
 component can for instance be used as an interface to open document type
 files.
 Currently compression is not supported yet, but this feature is under
 construction and will be implemented anytime soon.

Ehm...

TZipper exists in the FCL since some time ? (fcl/inc/zipper)
It compresses one or more files to a zip file.

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 05:32 -0700 schrieb John Meyer:
 When I bring up the alt+f2 command and type lazarus, it gives me the
 following error:
 KDEInit could not launch /usr/share/lazarus/startlazarus
 
 Also, the icon in the start menu won't work, but creating an icon on the
 desktop to run lazarus, as well as invoking it from the command line, will
 
 Running OpenSuse 10.1 with KDE 3.5 (latest version).  Also the version
 of KDE that was bundled with OS 10.1 had the same error.

$ which startlazarus

or

$ which lazarus

is your friend

HTH,
Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread John Meyer
[EMAIL PROTECTED]:~ which startlazarus
/usr/bin/startlazarus
[EMAIL PROTECTED]:~ which lazarus
/usr/bin/lazarus
[EMAIL PROTECTED]:~

Helps?

Marc Santhoff wrote:
 Am Freitag, den 10.11.2006, 05:32 -0700 schrieb John Meyer:
   
 When I bring up the alt+f2 command and type lazarus, it gives me the
 following error:
 KDEInit could not launch /usr/share/lazarus/startlazarus

 Also, the icon in the start menu won't work, but creating an icon on the
 desktop to run lazarus, as well as invoking it from the command line, will

 Running OpenSuse 10.1 with KDE 3.5 (latest version).  Also the version
 of KDE that was bundled with OS 10.1 had the same error.
 

 $ which startlazarus

 or

 $ which lazarus

 is your friend

 HTH,
 Marc


 _
  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


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 17:10 -0700 schrieb John Meyer:
 [EMAIL PROTECTED]:~ which startlazarus
 /usr/bin/startlazarus

Look at this path ...

 [EMAIL PROTECTED]:~ which lazarus
 /usr/bin/lazarus
 [EMAIL PROTECTED]:~
 
 Helps?
 
 Marc Santhoff wrote:
  Am Freitag, den 10.11.2006, 05:32 -0700 schrieb John Meyer:

  When I bring up the alt+f2 command and type lazarus, it gives me the
  following error:
  KDEInit could not launch /usr/share/lazarus/startlazarus

.. and compare to what the kde launcher searches for.

  Also, the icon in the start menu won't work, but creating an icon on the
  desktop to run lazarus, as well as invoking it from the command line, will
 
  Running OpenSuse 10.1 with KDE 3.5 (latest version).  Also the version
  of KDE that was bundled with OS 10.1 had the same error.

I don't know if this is a lazarus installation error or something in
your personal setup of the kde environment, but you as user (I'm still
happy with windowmaker, cannot comment on kde) and maybe system
administrator can correct it.

Helps? ;)

Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] 0.9.20 released

2006-11-10 Thread John Meyer
Good catch on that, I'll look at the menu item, now as far as what KDE
searches for when I bring up the alt+f2 menu, how do I change that?
Marc Santhoff wrote:
 I don't know if this is a lazarus installation error or something in
 your personal setup of the kde environment, but you as user (I'm still
 happy with windowmaker, cannot comment on kde) and maybe system
 administrator can correct it.

 Helps? ;)

 Marc


 _
  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


Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 21:05 -0700 schrieb John Meyer:
 Okay, changed that in the KDE environment and now pulls up like a
 charm.  It's not that much of an obvious solution (namely, didn't know
 the alt+f2 didn't just go to that executable), but I should have checked
 there.

The question is how the kde config got the idea of searching for
executables in /usr/share/. Normally that's the place for installing
docs, examples and the like.

I think (but haven't checked) the installation path of lazarus is
configurable. If you used some package, the path would have to be
adjusted when preparing the package, otherwise the makefile or some
config file would be the target. But /usr/bin or /usr/local/bin is the
perfect place for system wide accessible executables.

Marc


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Printer Routines

2006-11-10 Thread Terry A Haimann
Is there a problem with the Printer Objects in Lazarus. 

I took a procedure that was working in Delphi and tried running it in
Lazarus and got a Access Violation which turned out to be the 

Printer.BeginDoc; 

I also tried a 

PrinterCB.Items := Printer.Printers; 

Which should load the printer list into a TCombobox, it also gave me a
Access Violation 

I am running Lazarus 0.9.18 Beta on fc4.
-- 
Terry A Haimann [EMAIL PROTECTED]

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Printer Routines

2006-11-10 Thread Jesús Reyes A.


- Original Message - 
From: Terry A Haimann [EMAIL PROTECTED]

To: Lazarus Mailing List lazarus@miraclec.com
Sent: Friday, November 10, 2006 10:43 PM
Subject: [lazarus] Printer Routines



Is there a problem with the Printer Objects in Lazarus.

I took a procedure that was working in Delphi and tried running it in
Lazarus and got a Access Violation which turned out to be the

Printer.BeginDoc;

I also tried a

PrinterCB.Items := Printer.Printers;

Which should load the printer list into a TCombobox, it also gave me a
Access Violation

I am running Lazarus 0.9.18 Beta on fc4.
--
Terry A Haimann [EMAIL PROTECTED]


Add Printer4Lazarus package requirement to your project: Project-Project
Inspector-Add-Add New Requirement.

Open your project.lpr file (Project-View Source), exchange Printer4Lazarus
unit by OsPrinters in uses clause, then it should work.

Jesus Reyes A. 


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] ANN: ZipFile component

2006-11-10 Thread Vincent Snijders

Michael Van Canneyt schreef:


On Sat, 11 Nov 2006, Darius Blaszijk wrote:


I would like to announce the beta release of the TZipFile component. TZipFile
is a component written from scratch with platform independcy in mind. It
encapsulates a zipfile and provides all nescesary methods to access files
stored internally as if they were stored uncompressed on the filesystem. The
component can for instance be used as an interface to open document type
files.
Currently compression is not supported yet, but this feature is under
construction and will be implemented anytime soon.


Ehm...

TZipper exists in the FCL since some time ? (fcl/inc/zipper)
It compresses one or more files to a zip file.



Lack of docs and no lpk. :-)

At least TZipFile has a wiki page

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives