Re: [Lazarus] INVALID_* consts

2013-06-27 Thread Juha Manninen
On Thu, Jun 27, 2013 at 3:15 AM, waldo kitty wkitt...@windstream.net wrote: converted from delphi to lazarus... as such, things like uses windows; are replaced with uses LCLIntf, LCLType, LMessages; It is only replaced when Cross-platform is checked, although I believe the right way is to

Re: [Lazarus] Unicode branch

2013-06-27 Thread Graeme Geldenhuys
On 2013-06-26 16:59, Hans-Peter Diettrich wrote: I don't see any relationship to COM here. Java has managed objects, C++ has, .NET has, so why not OPL too? I wasn't referring to COM explicitly. But having objects being freed when the developer didn't expect it (because that was not the

[Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Juha Manninen
Looking at issue #24662, Cyrax has studied lot's of code for the patch. Cool! I was not happy with the data structure, I believe it is better now. I removed the generics type TTreeNodeList and replaced it with TList. It's only purpose was to prevent type-casts but they are now needed anyways. ***

Re: [Lazarus] Unicode branch

2013-06-27 Thread Marco van de Voort
On Wed, Jun 26, 2013 at 05:59:06PM +0200, Hans-Peter Diettrich wrote: Yeah, that change is going to be a nightmare to lots of existing code. I hope Delphi developers enjoy debugging! I don't see any relationship to COM here. Java has managed objects, C++ has, .NET has, so why not OPL too?

Re: [Lazarus] Unicode branch

2013-06-27 Thread Marco van de Voort
On Wed, Jun 26, 2013 at 09:12:42AM +0200, Michael Schnell wrote: On 06/25/2013 03:16 PM, Marco van de Voort wrote: As far as I know that was all to be limited to their mobile offering. As stated earlier by several contributors, splitting the language into two separate branches for different

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Vincent Snijders
2013/6/27 Juha Manninen juha.mannine...@gmail.com Looking at issue #24662, Cyrax has studied lot's of code for the patch. Cool! I was not happy with the data structure, I believe it is better now. I removed the generics type TTreeNodeList and replaced it with TList. It's only purpose was to

Re: [Lazarus] Unicode branch

2013-06-27 Thread Michael Schnell
On 06/26/2013 05:59 PM, Hans-Peter Diettrich wrote: I don't see any relationship to COM here. Delphi interfaces mostly are seen as COM thingies, even though they are just straight forward language constructs that _can_ be used to attach to COM objects. but they can be happily be used for

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Mattias Gaertner
  Vincent Snijders vincent.snijd...@gmail.com hat am 27. Juni 2013 um 13:30 geschrieben:   2013/6/27 Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com     Looking at issue #24662, Cyrax has studied lot's of code for the patch. Cool!     I was not happy with the

Re: [Lazarus] Unicode branch

2013-06-27 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 2013-06-26 16:59, Hans-Peter Diettrich wrote: I don't see any relationship to COM here. Java has managed objects, C++ has, .NET has, so why not OPL too? I wasn't referring to COM explicitly. But having objects being freed when the developer didn't expect it

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Martin
On 27/06/2013 12:52, Mattias Gaertner wrote: Vincent Snijders vincent.snijd...@gmail.com hat am 27. Juni 2013 um 13:30 geschrieben: 2013/6/27 Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com Looking at issue #24662, Cyrax has studied lot's of code for

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Mattias Gaertner
Martin laza...@mfriebe.de hat am 27. Juni 2013 um 14:57 geschrieben: On 27/06/2013 12:52, Mattias Gaertner wrote: Vincent Snijders vincent.snijd...@gmail.com hat am 27. Juni 2013 um 13:30 geschrieben: 2013/6/27 Juha Manninen juha.mannine...@gmail.com

Re: [Lazarus] System Font Dir for Font Manager Search Path

2013-06-27 Thread Edilson Vieira
Ok Graeme. Thanks a lot! 2013/6/26 Graeme Geldenhuys gra...@geldenhuys.co.uk On 25/06/13 19:12, Edilson Vieira wrote: My question is How do I get the system font directory on Windows and Linux? I has the same problem when I wrote a font cache system for AggPas in fpGUI. Under Windows

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Juha Manninen
Amazing. I did not realize there are such issues. I don't know how important it is to map commits with Mantis reports. It would be nice for tracking reasons for a certain commit and for statistics later. Should we instead use a separate tool for it? No because nobody would use it. I would prefer

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Sven Barth
Am 27.06.2013 16:28 schrieb Juha Manninen juha.mannine...@gmail.com: Amazing. I did not realize there are such issues. I don't know how important it is to map commits with Mantis reports. It would be nice for tracking reasons for a certain commit and for statistics later. Should we instead

Re: [Lazarus] Unicode branch

2013-06-27 Thread Graeme Geldenhuys
On 2013-06-27 11:45, Hans-Peter Diettrich wrote: Automatic reference counting works pretty well, doing it manually is asking for trouble. Sometimes it becomes trick (at least with reference counted interfaces). eg: I have code where I pass a interface around, but don't want the reference

Re: [Lazarus] Unicode branch

2013-06-27 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Wed, Jun 26, 2013 at 05:59:06PM +0200, Hans-Peter Diettrich wrote: Yeah, that change is going to be a nightmare to lots of existing code. I hope Delphi developers enjoy debugging! I don't see any relationship to COM here. Java has managed objects, C++ has, .NET

Re: [Lazarus] Unicode branch

2013-06-27 Thread Sven Barth
Am 27.06.2013 22:11 schrieb Hans-Peter Diettrich drdiettri...@aol.com: Marco van de Voort schrieb: On Wed, Jun 26, 2013 at 05:59:06PM +0200, Hans-Peter Diettrich wrote: Yeah, that change is going to be a nightmare to lots of existing code. I hope Delphi developers enjoy debugging! I don't

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: *** Please all developers add the tracker issue number and name of the patch author to a commit message when such info exists! *** Some years ago I did that, but then we had to change the license and there were some strange copyright laws in Germany and other

Re: [Lazarus] Unicode branch

2013-06-27 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 2013-06-27 11:45, Hans-Peter Diettrich wrote: Automatic reference counting works pretty well, doing it manually is asking for trouble. Sometimes it becomes trick (at least with reference counted interfaces). eg: I have code where I pass a interface around, but