Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread wkitty42
On 12/13/2015 05:43 PM, Juha Manninen wrote: On Sun, Dec 13, 2015 at 11:18 PM, wrote: i don't because i'm just barely dipping my toes into the UTF-8 pool... one of my first tasks was to convert today's mess back to CP437 for posting in pure text environments... it wasn't too hard but it was te

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 11:18 PM, wrote: > i don't because i'm just barely dipping my toes into the UTF-8 pool... one > of my first tasks was to convert today's mess back to CP437 for posting in > pure text environments... it wasn't too hard but it was tedious with tables > for converting quoted-

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread wkitty42
On 12/12/2015 05:28 PM, Juha Manninen wrote: On Sat, Dec 12, 2015 at 8:38 PM, wrote: especially those readers from the ancient past (TP/BP days) who are trying to catch up to the modern future... LCL has supported UTF-8 for > 10 years. As a long time Lazarus user you should know it. i don'

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Bart
On 12/13/15, Marc Santhoff wrote: > Good to know, thank you. Is there a matching wiki page where this > implicit information can and should be published? It's here: http://wiki.lazarus.freepascal.org/Version_Numbering (Since today.) Bart -- ___ Lazar

Re: [Lazarus] Install FPC and Lazarus from source

2015-12-13 Thread Sven Barth
On 13.12.2015 20:01, Bo Berglund wrote: On Sat, 12 Dec 2015 18:23:19 +0100, Sven Barth wrote: strip removes the debug information stored in the binary. So in that case you won't get detailed exception information (stack trace) inside Lazarus if an exception occurs there. So it means that I

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Sven Barth
On 13.12.2015 10:55, Jürgen Hestermann wrote: > For most cases things did not change very much. Earlier you had to use > the explicit UTF8...() functions, now you don't need them. What does this mean? If I use DELETE on a String type (that is an UTF-8 string) does it now use UTF8Delete interna

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Sven Barth
On 12.12.2015 18:40, Jürgen Hestermann wrote: Am 2015-12-12 um 18:20 schrieb Sven Barth: Yes, internally Windows uses UTF-16, but if you set your Windows Ansi code page or at least the current thread's locale to UTF-8 (indirectly by choosing a locale that has UTF-8 as code page, I don't know one

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Sven Barth
On 13.12.2015 11:37, Jürgen Hestermann wrote: > And hence, at that point in time, there would (for programmers using > Lazarus) bee no need to use the type Utf8String at all. Then I would suggest to remove this type. Utf8String is part of the FPC RTL and is just a shorthand for AnsiString

Re: [Lazarus] Install FPC and Lazarus from source

2015-12-13 Thread Bo Berglund
On Sat, 12 Dec 2015 18:23:19 +0100, Sven Barth wrote: > >strip removes the debug information stored in the binary. So in that >case you won't get detailed exception information (stack trace) inside >Lazarus if an exception occurs there. So it means that I could not debug inside the Lazarus cod

Re: [Lazarus] Install FPC and Lazarus from source

2015-12-13 Thread Bo Berglund
On Sun, 13 Dec 2015 01:35:02 +0100, Mattias Gaertner wrote: >On Sat, 12 Dec 2015 15:32:15 +0100 >Bo Berglund wrote: > >> What is the difference between useride and bigide? > >See 'make help' for the parameters. Learning every day! Good call. -- Bo Berglund Developer in Sweden -- ___

Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Ondrej Pokorny
On 13.12.2015 17:59, Jürgen Hestermann wrote: Am 2015-12-13 um 16:52 schrieb Ondrej Pokorny: On 13.12.2015 16:38, Jürgen Hestermann wrote: Also, the escape key no longer selects mrAbort. I cannot exit from the dialog with escape. Is this intended? The escape key selects mrCancel now (this was c

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Marc Santhoff
On So, 2015-12-13 at 19:43 +0200, Juha Manninen wrote: > On Sun, Dec 13, 2015 at 7:17 PM, Marc Santhoff wrote: > > I suggest making at least a tagged version in svn and maybe a > > branch and executable that clearly states "last working version for > > Win9x" or similar. > > The Lazarus SVN branc

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 7:17 PM, Marc Santhoff wrote: > I suggest making at least a tagged version in svn and maybe a > branch and executable that clearly states "last working version for > Win9x" or similar. The Lazarus SVN branch "fixes_1_6" will always support Win9x. The last release will be 1

Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 5:38 PM, Jürgen Hestermann < juergen.hesterm...@gmx.de> wrote: > The idea of using a TMemo is not bad but then it should have the width of > the > window so that my text is not broken into more lines than neseccary. > Mattias committed in r50570 : LCL: default QuestionDl

Re: [Lazarus] Phasing out support for Windows 98 and Windows ME

2015-12-13 Thread Marc Santhoff
On Mi, 2015-12-09 at 14:36 +0100, Bart wrote: > Dear Lazarus users, > > The Lazarus team has decided to finally phase out support for the > Windows 9x platform. > > Reasons for doing so are: > 1) The platform is not supported anymore by Microsoft. > 2) The platform is hardly in use anymore. It i

Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Jürgen Hestermann
Am 2015-12-13 um 16:52 schrieb Ondrej Pokorny: On 13.12.2015 16:38, Jürgen Hestermann wrote: Also, the escape key no longer selects mrAbort. I cannot exit from the dialog with escape. Is this intended? The escape key selects mrCancel now (this was changed) - but you should definitely be able t

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Mattias Gaertner
On Sun, 13 Dec 2015 12:46:40 +0100 Bart wrote: > On 12/13/15, Mattias Gaertner wrote: > > >> If you write a program in Lazarus which uses the LCL (which in turn > >> uses LazUtils) then this is done for you by the LazUtils package at > >> initialization of the fpcadds unit. > > > > To be exact:

Re: [Lazarus] Release Candidate 1 of Lazarus 1.6

2015-12-13 Thread Anthony Walter
I updated the previously mentioned issue with information from gdb. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Maxim Ganetsky
13.12.2015 18:49, Werner Pamler пишет: Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: It does not look nice. You are hacking around const specifier. Isn't this what the translation system is doing, replace a "constant" string by a translated one? As I wrote earlier, we translate captions by a

Re: [Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Ondrej Pokorny
On 13.12.2015 16:38, Jürgen Hestermann wrote: Also, the escape key no longer selects mrAbort. I cannot exit from the dialog with escape. Is this intended? The escape key selects mrCancel now (this was changed) - but you should definitely be able to exit the dialog with escape. See http://bugs

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Werner Pamler
Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: It does not look nice. You are hacking around const specifier. Isn't this what the translation system is doing, replace a "constant" string by a translated one? -- ___ Lazarus mailing list Lazarus@lists

[Lazarus] Lazarus 1.6 and QuestionDLG

2015-12-13 Thread Jürgen Hestermann
I just saw that with Lazarus 1.6 QuestionDLG has been changed (too). My code: Answer := QuestionDlg('File overwrite',S2, mtConfirmation,[mrNo, '&No','IsDefault', mrYes, '&Yes', mrI

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Maxim Ganetsky
13.12.2015 0:54, Werner Pamler пишет: Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: The basic method to solve this is to move these assignments (or assign these values for a second time) to a later stage, e.g. OnCreate event of the GUI designer form. I could solve it in the meantime by modifyi

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Bart
On 12/13/15, Jürgen Hestermann wrote: > > And hence, at that point in time, there would (for programmers using > > Lazarus) bee no need to use the type Utf8String at all. > > Then I would suggest to remove this type. No, it is there for Delphi compatibility, so it should not be removed. > It

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Bart
On 12/13/15, Mattias Gaertner wrote: >> If you write a program in Lazarus which uses the LCL (which in turn >> uses LazUtils) then this is done for you by the LazUtils package at >> initialization of the fpcadds unit. > > To be exact: It is the unit LazUTF8 of package LazUtils that sets > the UTF

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Alexander Klenin
On Sun, Dec 13, 2015 at 7:54 AM, Werner Pamler wrote: > Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: >> >> The basic method to solve this is to move these assignments (or assign >> these values for a second time) to a later stage, e.g. OnCreate event of the >> GUI designer form. > > I could solv

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Juha Manninen
On Sun, Dec 13, 2015 at 12:37 PM, Jürgen Hestermann wrote: > Then I would suggest to remove this type. FPC and Lazarus are 2 different projects. Please make such requests in FPC's lists if you must. Repeating the same whining again and again about Lazarus Unicode choice does not help anybody. Th

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Jürgen Hestermann
Am 2015-12-12 um 19:34 schrieb Bart: > There is no need for such a tone, please! That's what I thought too as I read Juha's answer telling me that I was just too "dummy" to have used UTF8Strings. > Grasping the concepts of the new CP aware strings and all it's > implications is not that easy.

Re: [Lazarus] UTF8String and UTF8Delete

2015-12-13 Thread Jürgen Hestermann
Am 2015-12-12 um 23:28 schrieb Juha Manninen: > On Sat, Dec 12, 2015 at 8:38 PM, wrote: >> especially those readers from the ancient past (TP/BP days) who are trying >> to catch up to the modern future... > LCL has supported UTF-8 for > 10 years. As a long time Lazarus user you should know it.