Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-07 Thread Paul Ishenin
James Chandler Jr wrote: I need to go back and look more closely, but cursor-setting (for both controls whose cursors work and controls whose cursors don't work) eventually passes thru a SetTempCursor(). But there may be more than one instance of a SetTempCursor() method in there somewhere. Wo

Re: [lazarus] App Localization

2007-10-07 Thread Luis Rodrigues
Just tried to being implementing this for but it to work there would have to be a function TLRSObjectReader.GetStackPath(Root: TComponent): string; for me to use in procedure TDefaultTranslator.TranslateStringProperty to get the component path Ideias? please Luís On Mon, 2007-10-08 at 01:39

Re: [lazarus] App Localization

2007-10-07 Thread Luis Rodrigues
> > ... > Good questions. > > In big project using third party packages you will easily get value > > clashes. And the same value must be translated differently depending > > on the context. So merging would be fatal. > > I'm not sure, how the lcltranslator should know, where to lookup up > > the

Re: [lazarus] App Localization

2007-10-07 Thread Luis Rodrigues
Great thanks for your fixes. My knowledge if the Lazarus internals is not that good :( Before going on to packages I still have a problem: several components (including my TChat) have TStrings properties that should also be on the translation list. Should this be done for all od add a option in Pr

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-07 Thread Marco Ciampa
On Fri, Oct 05, 2007 at 01:14:23PM +0200, Luca Olivetti wrote: > En/na [EMAIL PROTECTED] ha escrit: > >> * WideString allows indexed "[]" accessing individual chars. >> This does not seem to be correct. I read that utf16 can be 4 byte long.. >> Then calculation is needed sometimes... > > Unless yo

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-07 Thread Dominique Louis
Great! I'll grab a snapshot tomorrow night. Peter Gannon wrote: I downloaded and installed the latest build of Lazarus, and can confirm that the SpeedButton transparency is working great in our Carbon program. Thanks again Peter

Re: [lazarus] Patch: codetools/directorycacher.pas (fixes finding files)

2007-10-07 Thread Tobias Giesen
Hello Matthias, I'm afraid it is not fixed. I had spent hours to verify the validity of my submission. It really really is the wrong search function. With this search function, you just don't find some files. The list has been sorted with a different search function. Also, the binary search algor

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Joost van der Sluis
Please create a bug report for fpc (not lazarus) (http://www.freepascal.org/mantis) and attach your files to the bug-report. Joost. Op zondag 07-10-2007 om 23:05 uur [tijdzone +0200], schreef Tobias Giesen: > Hello, > > there are one or two bugs in xmlreg.pp that can cause crashes. > > I am tal

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Felipe Monteiro de Carvalho
There are detailed instructions about how to create a patch here: http://wiki.lazarus.freepascal.org/Creating_A_Patch They are mostly about lazarus, but should apply to fpc too. In you case you should download the fpc source code from subversion, substitute your file on the currect place, and the

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Tobias Giesen
Hello, there are one or two bugs in xmlreg.pp that can cause crashes. I am talking about the xmlreg.pp in fpcsrc\packages\fcl-registry\src. Around line 355, it is not verified whether Node.FirstChild is nil. Around line 720, the function does not return any value. I have copied the file into m

Re: [lazarus] Mac FPC/Lazarus project, SpeedButtons with Transparency

2007-10-07 Thread Peter Gannon
I downloaded and installed the latest build of Lazarus, and can confirm that the SpeedButton transparency is working great in our Carbon program. Thanks again Peter - Original Message - From: "Peter Gannon" <[EMAIL PROTECTED]> To: Sent: Saturday, October 06, 2007 10:12 AM Subject: Re:

[lazarus] r12175/gtk1 doublebuffering causes huge slowdowns

2007-10-07 Thread Joost van der Sluis
Since revision r12175 Lazarus/synedit responds very slow on each keypress. (approx 5 sec) I'm using linux/gtk1 through vnc. I didn't test locally, but since I didn't hear anybody else about this problem, I guess the problem is only noticeable through vnc. Joost ___

[lazarus] Strange Parameter being passed to .app on startup...

2007-10-07 Thread Dominique Louis
Hi all, The basic conversion is now over, so the debugging begins. When the application is started via the Application Bundle a strange parameter is passed to the executable as the first parameter. The parameter looks like this "-psn_0_", where the ns represent some number value that

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-07 Thread Felipe Monteiro de Carvalho
Hi, I was surfing wikipedia and I found a good reason why not to use UCS-2. It seams to be prohibited to distribute software in mainland china that only partially supports the chinese characters (like is the case for UCS-2). Source: http://en.wikipedia.org/wiki/GB18030 "In a move of historic si