Re: [Lazarus] Multi-framework (Embarcadero/Lazarus) property editor for TCollection: best practices?

2011-10-19 Thread Gregory M. Turner
Wow, is that what I really sound like? tl;dr,ldo What I meant to say was: I am developing a Delphi+Lazarus TCollection descendant that needs a fancy designer window. What is the best approach to get one's Designer into both IDE's? Thanks, and sorry for so many words. -gmt - Original

Re: [Lazarus] Progress on Ubuntu 11.10 Gnome shell

2011-10-19 Thread Felipe Monteiro de Carvalho
I use neither Ubuntu nor Gnome nor Unity, but I'm curious: 1 Are other applications broken too? 2 Using LCL-Qt the problems appear too? 3 Using LCL-fpgui (but obviously not in the IDE) the problems appear too? -- Felipe Monteiro de Carvalho -- ___

Re: [Lazarus] Multi-framework (Embarcadero/Lazarus) property editor for TCollection: best practices?

2011-10-19 Thread Mattias Gaertner
Gregory M. Turner g...@malth.us hat am 19. Oktober 2011 um 08:10 geschrieben: Wow, is that what I really sound like?  tl;dr,ldo What I meant to say was: I am developing a Delphi+Lazarus TCollection descendant that needs a fancy designer window.  What is the best approach to get one's

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On Mon, Oct 3, 2011 at 4:35 PM, Henry Vermaak henry.verm...@gmail.com wrote: That's good news, thanks! Hello, Could you test the very latest Pascal Widestring Manager? Just disable cwstring and then add paswstring as the first unit in your projects uses clause. The Pascal Widestring Manager is

Re: [Lazarus] Multi-framework (Embarcadero/Lazarus) property editor for TCollection: best practices?

2011-10-19 Thread Gregory M. Turner
- Original Message - Gregory M. Turner g...@malth.us hat am 19. Oktober 2011 um 08:10 geschrieben: Wow, is that what I really sound like? tl;dr,ldo What I meant to say was: I am developing a Delphi+Lazarus TCollection descendant that needs a fancy designer window. What is

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Marco van de Voort
On Mon, Oct 03, 2011 at 04:31:20PM +0200, Felipe Monteiro de Carvalho wrote: Ok, I changed the define in rev 32655. But you should note that when paswstring gets finished it will phase out cwstrings. Not that I know. And btw, I also use arm-linux without android, so please keep that target

[Lazarus] LCL Message handling

2011-10-19 Thread Hans-Peter Diettrich
Can somebody explain the purpose of e.g. WindowProc, WndProc and MainWndProc, in the LCL? What's the purpose of TWinControl.MainWndProc, when it's never called or used otherwise, does nothing, and is not virtual? In Delphi MainWndProc calls the handler assigned to WindowProc, enclosed in

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 12:06 PM, Marco van de Voort mar...@stack.nl wrote: Not that I know. And btw, I also use arm-linux without android, so please keep that target intact and aligned with normal linux ports. What is the difference between using cwstring and paswstring? Any reason for not

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Martin Schreiber
On Wednesday 19 October 2011 13.14:50 Felipe Monteiro de Carvalho wrote: On Wed, Oct 19, 2011 at 12:06 PM, Marco van de Voort mar...@stack.nl wrote: Not that I know. And btw, I also use arm-linux without android, so please keep that target intact and aligned with normal linux ports. What

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 1:56 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Can somebody explain the purpose of e.g. WindowProc, WndProc and MainWndProc, in the LCL? Delphi compatibility. AFAIK WndProc works for messages = WM_USER In Delphi MainWndProc calls the handler assigned to

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Mon, Oct 03, 2011 at 04:31:20PM +0200, Felipe Monteiro de Carvalho wrote: Ok, I changed the define in rev 32655. But you should note that when paswstring gets finished it will phase out cwstrings. Not that I know. And btw, I also use arm-linux without android,

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 1:24 PM, Martin Schreiber mse00...@gmail.com wrote: Where is paswstring? http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/lazutils/paswstring.pas?view=markuproot=lazarus It uses lazutf8 (which includes most importantly UTF16ToUTF8 and viceversa and

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Wed, Oct 19, 2011 at 1:56 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Can somebody explain the purpose of e.g. WindowProc, WndProc and MainWndProc, in the LCL? Delphi compatibility. AFAIK WndProc works for messages = WM_USER WndProc can

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 2:52 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: WndProc can preprocess *any* kind of messages, which must be handled in a non-standard way in a specific control, e.g. the TripleClick messages. WndProc finally calls Dispatch, to invoke the implemented message

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Vincent Snijders
2011/10/19 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: On Wed, Oct 19, 2011 at 2:52 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: WndProc can preprocess *any* kind of messages, which must be handled in a non-standard way in a specific control, e.g. the TripleClick

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Sven Barth
Am 19.10.2011 14:08, schrieb Hans-Peter Diettrich: Marco van de Voort schrieb: On Mon, Oct 03, 2011 at 04:31:20PM +0200, Felipe Monteiro de Carvalho wrote: Ok, I changed the define in rev 32655. But you should note that when paswstring gets finished it will phase out cwstrings. Not that I

[Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
Hi, I'm trying to compile Trunk with fpc 2.7.1 (also from trunk), and I'm getting this while trying to do a make clean all: lconvencoding.pas(6123,8) Hint: Conversion between ordinals and pointers is not portable lconvencoding.pas(6163,8) Hint: Conversion between ordinals and pointersis not

Re: [Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
On 2011-10-19 11:13:13 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to compile Trunk with fpc 2.7.1 (also from trunk), and I'm getting this while trying to do a make clean all: lconvencoding.pas(6123,8) Hint: Conversion between ordinals and pointers is not portable

Re: [Lazarus] Cannot compile trunk

2011-10-19 Thread Felipe Monteiro de Carvalho
Does it compile with rev 32982 (latest svn)? -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
On 2011-10-19 16:44:50 +0200, Felipe Monteiro de Carvalho wrote: Does it compile with rev 32982 (latest svn)? Yes, thanks!. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Hans-Peter Diettrich
Vincent Snijders schrieb: What I was against, is letting all windows messages bubble up from the win32 widgetset interface into the LCL. I am more a proponent of only passing those messages to the LCL what are handled by the LCL, not all and very messages that the win32 widget generate. IMO

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: I also don't understand the parallel or different WM..., LM..., CM... and CN... message IDs. Is that separation related to messages handled (or not handled) by widgets or by the LCL? Or have the LM... message IDs been added only to prevent cyclic unit

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Marco van de Voort
On Wed, Oct 19, 2011 at 01:14:50PM +0200, Felipe Monteiro de Carvalho wrote: On Wed, Oct 19, 2011 at 12:06 PM, Marco van de Voort mar...@stack.nl wrote: Not that I know. And btw, I also use arm-linux without android, so please keep that target intact and aligned with normal linux ports.

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 6:47 PM, Marco van de Voort mar...@stack.nl wrote: Moreover you are stating something as a fact here that was not discussed at all. I am confused by your statements, the discussion here is about the usage of cwstring in the LCL, then I said that I want to replace

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Vincent Snijders
2011/10/19 Hans-Peter Diettrich drdiettri...@aol.com: Vincent Snijders schrieb: What I was against, is letting all windows messages bubble up from the win32 widgetset interface into the LCL. I am more a proponent of only passing those messages to the LCL what are handled by the LCL, not all

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Martin Schreiber
On Wednesday 19 October 2011 18.59:06 Felipe Monteiro de Carvalho wrote: On Wed, Oct 19, 2011 at 6:47 PM, Marco van de Voort mar...@stack.nl wrote: Moreover you are stating something as a fact here that was not discussed at all. I am confused by your statements, the discussion here is

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Marco van de Voort
On Wed, Oct 19, 2011 at 06:59:06PM +0200, Felipe Monteiro de Carvalho wrote: I am confused by your statements, the discussion here is about the usage of cwstring in the LCL, then I said that I want to replace cwstring with paswstring in the LCL (after making sure it is completely equivalent).

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Vincent Snijders
2011/10/19 Marco van de Voort mar...@stack.nl: On Wed, Oct 19, 2011 at 06:59:06PM +0200, Felipe Monteiro de Carvalho wrote: I am confused by your statements, the discussion here is about the usage of cwstring in the LCL, then I said that I want to replace cwstring with paswstring in the LCL

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On Wed, Oct 19, 2011 at 6:33 PM, Martin Schreiber mse00...@gmail.com wrote: Does it use locale specific collation in PasUnicodeCompareStr and PasUnicodeCompareText? Good point, no, not yet. But this affects only turkish, azeri and lithuanian AFAIK Adding turkish and azeri is trivial, because

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
On 10/19/11, Vincent Snijders vincent.snijd...@gmail.com wrote: I guess Felipe gave up waiting on a Unicode RTL for the time being and goes for a full UTF8 pseudo RTL in LazUtils. Well, after a lot of discussion I got convinced that Lazarus should give a try at the UTF-8 mode of the RTL when

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Michael Van Canneyt
On Wed, 19 Oct 2011, Felipe Monteiro de Carvalho wrote: On 10/19/11, Vincent Snijders vincent.snijd...@gmail.com wrote: I guess Felipe gave up waiting on a Unicode RTL for the time being and goes for a full UTF8 pseudo RTL in LazUtils. Well, after a lot of discussion I got convinced that

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Vincent Snijders
2011/10/19 Michael Van Canneyt mich...@freepascal.org: On Wed, 19 Oct 2011, Felipe Monteiro de Carvalho wrote: On 10/19/11, Vincent Snijders vincent.snijd...@gmail.com wrote: I guess Felipe gave up waiting on a Unicode RTL for the time being and goes for a full UTF8 pseudo RTL in LazUtils.

Re: [Lazarus] LCL Message handling

2011-10-19 Thread Hans-Peter Diettrich
Vincent Snijders schrieb: What I was against, is letting all windows messages bubble up from the win32 widgetset interface into the LCL. I am more a proponent of only passing those messages to the LCL what are handled by the LCL, not all and very messages that the win32 widget generate. IMO

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Žilvinas Ledas
Hello, On 2011-10-19 21:03, Felipe Monteiro de Carvalho wrote: On Wed, Oct 19, 2011 at 6:33 PM, Martin Schreibermse00...@gmail.com wrote: Does it use locale specific collation in PasUnicodeCompareStr and PasUnicodeCompareText? Good point, no, not yet. But this affects only turkish, azeri and

Re: [Lazarus] cwstring in arm-linux

2011-10-19 Thread Felipe Monteiro de Carvalho
Hello, 2011/10/19 Žilvinas Ledas zilvinas.le...@dict.lt: I am native Lithuanian so I think can help at least providing info, but I must understand what is the problem first. I am mostly interested in LowerCase / UpperCase. Could you explain how it works in Lithuanian and provide test cases for