[Lazarus] File open dialog doesn't work on an user account in Mac OS X

2009-02-17 Thread ghf03464
Hello, folks, I like to program in Pascal for so many years, dating back to th
e Pascal/MT+, and greatly appreciate the FPC and Lazarus.

Now I have a problem in using Lazarus on an user account in Mac OS X 10.4.11 (
Japanese).  If I log-in on the administrator account, Lazarus and applications
 built by Lazarus work well.  But if I use daily user account, Lazarus itself 
and Lazarus-made applications make an error at opening the file dialog.  For e
xample on the IDE, clicking the right button at the lazarus directory entry (a
t Enviromnent - Options) arises a floating point exception and IDE goes to di
e.  I guess it may do something with perivilege system but cannot troubleshoot
 further.  Would you like to tell me any idea to solve the problem ?

I tried Lazarus 0.9.26 for Mac OS X PPC,  and recent snapshots (lazarus-0.9.26
.1.18700-20090216-powerpc-macosx.dmg and lazarus-0.9.27.18700-20090216-powerpc
-macosx.dmg), in vain.

Haruo

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mercurial mirror not updating

2009-02-17 Thread Florian Klaempfl
Alexander Klenin schrieb:
 Since SVN r18698, about 35 hours ago.

Fixed.


___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Saving the user's form and component sizes

2009-02-17 Thread Reenen Laurie
Is there an easy way to save and load the user's form size and
components that were resized using splitters?

-- 
o__
,_./ _
(_)_\(_)___
...speed is good
___
I believe five out of four people have a problem with fractions.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Delphi5 - Lazarus issues

2009-02-17 Thread jokraut...@bluemail.ch
Just recently I (Lazarus newcomer) converted a 4'500 lines tool for Finite 
Element mesh manipulations from Delphi 5 to 
Lazarus. 99.9% went extremely well (a big compliment to all contributers!), but 
4 small differences made a little bit 
of headaches:
1. After finalisation of For I:=B To E Do... in Delphi is I=E+1, in Lazarus 
it is I=E. (I remember, that using a 
For loop counter after finalisation is not recommended, but...)
2. Starting the program's form with wsNormal and when increasing it later 
manually, the clipping limits of a 
TPaintBox.Canvas are not updated. Only forcing a repaint by covering it with 
another program's form and taking it away 
again helps.
3. The OnClick event of a ComboBox in Delphi happens only, when an Item is 
selected, in Lazarus it is already issued 
after a click for opening the Items list.
4. The stack seems to be limited to approx. 220 kB and to date I did not find 
the way to increase it ( (*$M,
MinStackSize, MaxStackSize*) ?). A procedure trying to initialise approx. 800 
kB for arrays caused a SIGSEGV.

Best regards
Jochen

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SQLdb tab

2009-02-17 Thread David W Noon
I am running Lazarus 0.9.26 under Gentoo Linux 2.6.27 using gtk2
widgets.

The Lazarus IDE did not have a SQLdb tab when I first installed it
(using a Gentoo ebuild). I looked in /usr/share/lazarus[/components,
etc.] and found that the units had not been built; after some
experimentation I managed to get the bigidecomponents target built.
This caused the SQLDBlaz package in the Installed Packages dialogue to
change from a version of 0.0 to 1.0.1, so I had hoped that installing it
from the dialogue and restarting Lazarus would cause the SQLdb tab to
appear. It didn't.

I noticed that the .o  .ppu files built by the make bigidecomponents
were not copied or moved to /usr/share/lazarus/units/i386-linux. Since
the IDE picked up the version change correctly, I have assumed that it
was not necessary to copy them there.

So, what have I missed?

-- 
Regards,

Dave  [RLU #314465]
===
david.w.n...@ntlworld.com (David W Noon)
===
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Delphi5 - Lazarus issues

2009-02-17 Thread Marco van de Voort
On Tue, Feb 17, 2009 at 09:00:38PM +, jokraut...@bluemail.ch wrote:
 Just recently I (Lazarus newcomer) converted a 4'500 lines tool for Finite 
 Element mesh manipulations from Delphi 5 to 
 Lazarus. 99.9% went extremely well (a big compliment to all contributers!), 
 but 4 small differences made a little bit 
 of headaches:
 1. After finalisation of For I:=B To E Do... in Delphi is I=E+1, in Lazarus 
 it is I=E. (I remember, that using a 
 For loop counter after finalisation is not recommended, but...)

The latter is correct, you shouldn't. Worse it varies in Delphi too
depending on version and optimization level.

(2 and 3 skipped)

 4. The stack seems to be limited to approx. 220 kB and to date I did not
 find the way to increase it ( (*$M, MinStackSize, MaxStackSize*) ?). A
 procedure trying to initialise approx. 800 kB for arrays caused a SIGSEGV.

I cannot reproduce this with a small tests, millions of bytes in size. Do
you have an example?
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Delphi5 - Lazarus issues

2009-02-17 Thread Hans-Peter Diettrich
jokraut...@bluemail.ch schrieb:

 1. After finalisation of For I:=B To E Do... in Delphi is I=E+1, in
 Lazarus it is I=E. (I remember, that using a For loop counter after
 finalisation is not recommended, but...)

The for loop counter is undefined after exit from the loop. Depending on
optimizations, it may be near the begin or end value, or the variable is
unchanged.

DoDi

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] How long/far are we with a TRichText?

2009-02-17 Thread Reenen Laurie
Hi,

I guess the subject says it all.  I'd like to have a component that supports
*bold **italics* *underline* sizes and... well, maybe smileys (embedded
images) etc.

Is it part of the plan to have one, or will Lazarus not get one?

Regards,
-Reenen

-- 
o__
,_./ _
(_)_\(_)___
...speed is good
___
I believe five out of four people have a problem with fractions.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] TAChart: Delphi mode removal planned

2009-02-17 Thread Alexander Klenin
I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code,
since it is useless for Delphi anyway.

Is there any objection?

-- 
Alexander S. Klenin
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart: Delphi mode removal planned

2009-02-17 Thread waldo kitty
Alexander Klenin wrote:
 I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code,
 since it is useless for Delphi anyway.
 
 Is there any objection?
 

i can't speak to objections but what, if any, side-effects might there be?? ;)

-- 
NOTE: NEW EMAIL ADDRESS!!

_\/
   (@@)  Waldo Kitty, Waldo's Place USA
__ooO_( )_Ooo_ telnet://bbs.wpusa.dynip.com
_|_|_|_|_|_|_ http://www.wpusa.dynip.com
|_|_|_|_|_| ftp://ftp.wpusa.dynip.com
_|_Eat_SPAM_to_email_me!_YUM!__|_ wkitty42 -at- windstream.net


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 090217-0, 02/17/2009
Tested on: 2/18/09 01:27:31
avast! - copyright (c) 1988-2009 ALWIL Software.
http://www.avast.com



___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How long/far are we with a TRichText?

2009-02-17 Thread dmitry boyarintsev
 I guess the subject says it all.  I'd like to have a component that supports
 bold italics underline sizes and... well, maybe smileys (embedded images)
 etc.

 Is it part of the plan to have one, or will Lazarus not get one?
There's RichView component available at Lazarus-CCR

http://wiki.lazarus.freepascal.org/RichView
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart: Delphi mode removal planned

2009-02-17 Thread Alexander Klenin
On Wed, Feb 18, 2009 at 16:27, waldo kitty wkitt...@windstream.net wrote:
 Alexander Klenin wrote:
 I plan to remove {$MODE DELPHI} and {$IFDEF fpc} from TAChart code,
 since it is useless for Delphi anyway.

 Is there any objection?


 i can't speak to objections but what, if any, side-effects might there be?? 
 ;)

There should be none from POV of Lazarus users.
TAChart source code will be converted from Delphi syntax to FPC syntax,
wich will make it more uniform with the rest of LCL.

-- 
Alexander S. Klenin
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus