Re: [Lazarus] Beyond Compare 4 built with Lazarus 1.2

2013-12-27 Thread Martin Schreiber
On Friday 27 December 2013 02:36:22 Marcos Douglas wrote: On Thu, Dec 26, 2013 at 6:06 AM, Martin Schreiber mse00...@gmail.com there are no implicit type conversions in MSElang. floatvariable:= floatvalue + integervalue; string8variable:= string8value + string16value; will not

[Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Chris Crori
Hi gyus, i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 truth is that i didn't have any time to examine and maybe i won't in the next few days so if anyone wants to look into it before the

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2013-12-27 Thread brian
On 12/24/2013 02:10 PM, Michael Van Ham wrote: On Mon, Dec 23, 2013 at 1:36 PM, Alexsander Rosa alexsander.r...@gmail.com wrote: Just ran the getlaz shell, it tried to install an old version: Os NOVOS pacotes a seguir serão instalados: fp-compiler fp-compiler-2.6.0 fpc fpc-2.6.0 fpc-source

Re: [Lazarus] OT: Re: Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Hans-Peter Diettrich
Sven Barth schrieb: The compiler can already parse UTF-8 files with strings and comments being real UTF-8 texts which can be seen as such inside an editor. AFAIK it can even handle UTF-16 files (though I'm not entirely sure about this). What it however does definitely not allow (and none of

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Hans-Peter Diettrich
Sven Barth schrieb: On 26.12.2013 17:02, Sven Barth wrote: Am 26.12.2013 12:30 schrieb Hans-Peter Diettrich drdiettri...@aol.com mailto:drdiettri...@aol.com: Sven Barth schrieb: Am 26.12.2013 02:19 schrieb Hans-Peter Diettrich drdiettri...@aol.com mailto:drdiettri...@aol.com

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Hans-Peter Diettrich
Juha Manninen schrieb: It happened again. The word Unicode was mentioned and the result is an endless debate of how it should be done. Now 100 messages and counting ... Now that we are in pre-release of strings with Encoding, the debate enters a very new round. I personally don't care

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Mark Morgan Lloyd
Chris Crori wrote: Hi gyus, i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 truth is that i didn't have any time to examine and maybe i won't in the next few days so if anyone wants to look

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Thu, Dec 26, 2013 at 12:28:54AM +0100, Hans-Peter Diettrich wrote: is dangerous if they are not all the same encoding. If there is any mismatch, it will be converted down to default encoding. Then the implementation is wrong. Wrong according to you. Wrong, or

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Thu, Dec 26, 2013 at 04:48:34PM +0200, Juha Manninen wrote: It happened again. The word Unicode was mentioned and the result is an endless debate of how it should be done. Now 100 messages and counting ... This is because still nothing definitive is chosen, after 4+ years of discussion

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Thu, Dec 26, 2013 at 11:53:38PM -0200, Marcos Douglas wrote: If you totally drop Delphi compatibility you can do whatever you want. But IMHO that is more something for the Graeme's and Martin (MSEGUI's) of the world, not Lazarus. Ok... but if FPC, on Windows, will be UTF-16 and Lazarus

Re: [Lazarus] Application Information

2013-12-27 Thread Reinier Olislagers
On 26/12/2013 17:54, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: On 26/12/2013 10:11, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: On 26/12/2013 09:26, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: I think the first example has lost its bit about being based on fcl-res,

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Some questions: 1) Did you use the same FPC versions? FPC Trunk has had some major changes

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Also as Mark mentioned... Some test code with expected results would be very valuable in debugging

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Reinier Olislagers
On 27/12/2013 13:01, Graeme Geldenhuys wrote: On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Also as Mark mentioned... Some test code with

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 09:16, Hans-Peter Diettrich wrote: But when string becomes UTF-16, as in recent Delphi versions, Lazarus and the LCL deserves heavy refactoring. That's the top discussion topic right now. Personally I think FPC and Lazarus should get rid of string altogether! It should be a

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2013-12-27 Thread Mattias Gaertner
On Thu, 26 Dec 2013 23:54:05 + Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-12-26 17:29, Alexsander Rosa wrote: Target OS: Linux for i386 Compiling lazcontrols.pas Compiling treefilteredit.pas treefilteredit.pas(28,48) Error: Illegal expression treefilteredit.pas(28,48)

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2013-12-27 Thread Alexsander Rosa
make[2]: Entrando no diretório `/home/alexsander/fontes/ambiente/lazarus/components/lazcontrols' /bin/rm -f lib/i386-linux/nogui/lazcontrols.ppu /usr/bin/ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -dLCL -dLCLnogui -Fu../../lcl/units/i386-linux/nogui -Fu../../lcl/units/i386-linux

Re: [Lazarus] Building trunk Lazarus with trunk FPC

2013-12-27 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Marco van de Voort wrote: On Sat, Dec 21, 2013 at 05:11:29PM +, Mark Morgan Lloyd wrote: I know that this is not a supported combination, but I've just been trying to build trunk Lazarus (r43576) with trunk FPC (r26258) to see if I can work around a couple of

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Chris Crori
On Fri, 27 Dec 2013 15:35:12 +0200, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Graeme Geldenhuys wrote: On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Jürgen Hestermann
Am 2013-12-27 12:21, schrieb Marco van de Voort: The current situation really worries me, since at work I invested in FPC/Lazarus in the assumption that compatibility would increase, not decrease. I think that's the root cause of the discussion: Some want to make FPC/Lazarus into a (possibly

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 17:11, Jürgen Hestermann wrote: Some want to make FPC/Lazarus into a (possibly exact) clone of Delphi (which means to follow every sh*t that is and will be put into this product) and others (like me) hope for a more Pascal like programming environment which at least avoids

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 13:42, Marco van de Voort wrote: Please read 4 years of discussion backlog. It is not all language, there is something called libraries, and they are generally installed precompiled. I don't know of a single ISV that ships precompiled *.ppu files for FPC or Lazarus. They all

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Reinier Olislagers
On 27/12/2013 18:34, Graeme Geldenhuys wrote: On 2013-12-27 13:42, Marco van de Voort wrote: Please read 4 years of discussion backlog. It is not all language, there is something called libraries, and they are generally installed precompiled. I don't know of a single ISV that ships

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 12:10, Reinier Olislagers wrote: Especially if those are FPCUnit... pardon FPTest (I suppose) tests ;) Either of those will be great, but just having a few lines of sample code with expected results would also suffice. OT: Graeme, have you read this:

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Reinier Olislagers
On 27/12/2013 19:10, Graeme Geldenhuys wrote: On 2013-12-27 12:10, Reinier Olislagers wrote: Especially if those are FPCUnit... pardon FPTest (I suppose) tests ;) Either of those will be great, but just having a few lines of sample code with expected results would also suffice. Noticed

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 18:12, Reinier Olislagers wrote: Noticed there's a selftest built into Rijndael, so that's something Ah yes, definitely a start. A set of standard unit tests seems like a good thing to add too. I also see I need to update the project's README file. It's way out of date, and

Re: [Lazarus] OT: Re: Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Sven Barth
Am 27.12.2013 11:42 schrieb Hans-Peter Diettrich drdiettri...@aol.com: Sven Barth schrieb: The compiler can already parse UTF-8 files with strings and comments being real UTF-8 texts which can be seen as such inside an editor. AFAIK it can even handle UTF-16 files (though I'm not entirely

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Fri, Dec 27, 2013 at 05:34:33PM +, Graeme Geldenhuys wrote: Please read 4 years of discussion backlog. It is not all language, there is something called libraries, and they are generally installed precompiled. I don't know of a single ISV that ships precompiled *.ppu files for FPC

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Fri, Dec 27, 2013 at 06:11:31PM +0100, J?rgen Hestermann wrote: I think that's the root cause of the discussion: Some want to make FPC/Lazarus into a (possibly exact) clone of Delphi (which means to follow every sh*t that is and will be put into this product) I always think it is

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marcos Douglas
On Fri, Dec 27, 2013 at 3:38 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-12-27 17:11, Jürgen Hestermann wrote: Some want to make FPC/Lazarus into a (possibly exact) clone of Delphi (which means to follow every sh*t that is and will be put into this product) and others (like

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Fri, Dec 27, 2013 at 06:39:38PM -0200, Marcos Douglas wrote: If we continue to follow Delphi, means that we are always one step behind. If we stop following delphi, we are multiple steps behind. Most of the antis only agree on being anti, they only have simplistic topdown proposals and talk

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 21:12, Marco van de Voort wrote: Fact is that the extensions of FPC are used much less than the Delphi compatibility aspect. And would you mind sharing how you came to that conclusion? Can you share the data on that research? From my personal experience of using FPC since

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Fri, Dec 27, 2013 at 10:43:16PM +, Graeme Geldenhuys wrote: Fact is that the extensions of FPC are used much less than the Delphi compatibility aspect. And would you mind sharing how you came to that conclusion? Can you share the data on that research? Just look on e.g. the forums.

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Juha Manninen
perjantai 27. joulukuuta 2013 Marcos Douglas kirjoitti: I think Lazarus team did not think the same. Lazarus team has not thought it much. The question is not acute yet and we already have a working Unicode system in LCL. Thinking of it now when --

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 22:49, Marco van de Voort wrote: Just look on e.g. the forums. All people are asking about Delphi packages. And once those Delphi packages are ported to Free Pascal, nobody needs Delphi any more. ;-) Point is if you make conversion harder PEOPLE WILL NOT EVEN TRY! Converting

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Juha Manninen
Lazarus team has not thought it much. The question is not acute yet and we already have a working Unicode system in LCL. Thinking of it now when FPC behavior is not decided would be waste of time. My comment about UTF-8 was based on poor knowledge and maybe wishfull thinking. Some other Lazarus

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Fri, Dec 27, 2013 at 06:39:38PM -0200, Marcos Douglas wrote: If we continue to follow Delphi, means that we are always one step behind. If we stop following delphi, we are multiple steps behind. FPC/Lazarus always was in front of Delphi. It had Unicode support

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Fri, Dec 27, 2013 at 11:07:02PM +, Graeme Geldenhuys wrote: Just look on e.g. the forums. All people are asking about Delphi packages. And once those Delphi packages are ported to Free Pascal, nobody needs Delphi any more. ;-) Somehow there is still more Delphi use than Lazarus, so

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-27 Thread Marco van de Voort
On Sat, Dec 28, 2013 at 12:42:22AM +0100, Hans-Peter Diettrich wrote: If we continue to follow Delphi, means that we are always one step behind. If we stop following delphi, we are multiple steps behind. FPC/Lazarus always was in front of Delphi. It had Unicode support (UTF-8) since