Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Alex Shishkin
06.10.2011 22:41, Reinier Olislagers пишет: On 6-10-2011 17:04, Alex Shishkin wrote: 06.10.2011 18:59, Reinier Olislagers пишет: Thanks Alex, I already fiddled with that. I'll try again with core.autocrlf set to true and false to make sure it doesn't work... not "true" not "false", but "input

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Reinier Olislagers
On 6-10-2011 17:04, Alex Shishkin wrote: > 06.10.2011 18:59, Reinier Olislagers пишет: >> Thanks Alex, I already fiddled with that. I'll try again with >> core.autocrlf set to true and false to make sure it doesn't work... >> > not "true" not "false", but "input". Read this if have not yet : > http

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Reinier Olislagers
On 6-10-2011 17:04, Alex Shishkin wrote: > 06.10.2011 18:59, Reinier Olislagers пишет: >> Thanks Alex, I already fiddled with that. I'll try again with >> core.autocrlf set to true and false to make sure it doesn't work... >> >> > not "true" not "false", but "input". Read this if have not yet : > h

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Reinier Olislagers
On 6-10-2011 17:07, Graeme Geldenhuys wrote: > On 06/10/2011, Reinier Olislagers wrote: >> >> Git: >> https://github.com/graemeg/freepascal/raw/7026b7669fd422f88ffe33174dac1725c0295427/packages/fcl-extra/src/win/ServiceManager.pas >> => Unix line endings >> via git pull etc >> => Unix line end

Re: [fpc-pascal] What about complex numbers?

2011-10-06 Thread Carlos Avila
Thanks! I recently downloaded the rtl source code, and confirmed this 2011/10/5 Jeppe Græsdal Johansen > Den 06-10-2011 00:30, Carlos Avila skrev: > > Hello > Is complex number arithmetic possible in FPC? Another post recommends use > unit so named ucomplex, but i can't find any detailed infor

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Alex Shishkin
06.10.2011 19:15, Graeme Geldenhuys пишет: As far as I know, Git will only do the conversion when you clone a new repository, or when you pull new changes. If you had the setting wrong at the time you did the clone, the problem is on you. Simply change the setting, and get another clone (use --

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Graeme Geldenhuys
On 06/10/2011, Reinier Olislagers wrote: > > Thanks Alex, I already fiddled with that. I'll try again with > core.autocrlf set to true and false to make sure it doesn't work... As far as I know, Git will only do the conversion when you clone a new repository, or when you pull new changes. If you

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Graeme Geldenhuys
On 06/10/2011, Reinier Olislagers wrote: > > Git: > https://github.com/graemeg/freepascal/raw/7026b7669fd422f88ffe33174dac1725c0295427/packages/fcl-extra/src/win/ServiceManager.pas > => Unix line endings > via git pull etc > => Unix line endings > not surprising... > > Seems the SVN client is

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Alex Shishkin
06.10.2011 18:59, Reinier Olislagers пишет: Thanks Alex, I already fiddled with that. I'll try again with core.autocrlf set to true and false to make sure it doesn't work... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Reinier Olislagers
On 6-10-2011 16:56, Alex Shishkin wrote: > 06.10.2011 16:37, Reinier Olislagers пишет: >> On 4-10-2011 14:41, Reinier Olislagers wrote: >>> On 4-10-2011 13:14, Marco van de Voort wrote: In our previous episode, Reinier Olislagers said: > Having some trouble creating patches that actually w

Re: [fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Alex Shishkin
06.10.2011 16:37, Reinier Olislagers пишет: On 4-10-2011 14:41, Reinier Olislagers wrote: On 4-10-2011 13:14, Marco van de Voort wrote: In our previous episode, Reinier Olislagers said: Having some trouble creating patches that actually work. (On Windows) I've been using git to get FPC trunk a

[fpc-pascal] Git line endings leading to patch problems - was [Semi-OT] Git format patches don't seem to work

2011-10-06 Thread Reinier Olislagers
On 4-10-2011 14:41, Reinier Olislagers wrote: > On 4-10-2011 13:14, Marco van de Voort wrote: >> In our previous episode, Reinier Olislagers said: >>> Having some trouble creating patches that actually work. >>> (On Windows) >>> I've been using git to get FPC trunk and >>> git diff --no-prefix > %t

Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Tomas Hajny
On Thu, October 6, 2011 10:21, Thomas Young wrote: > > Thank you for the article. It was very helpful. > > Why is it I can read and write a string that contains characters in the > upper 128 but can't read & write them as individual char? This is most probably due to the fact that your platform us

Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Thomas Young
Thank you for the article. It was very helpful. Why is it I can read and write a string that contains characters in the upper 128 but can't read & write them as individual char? Specifically I need to read the copyright (169), trademark (170) and registration (168) characters. Any suggestions

Re: [fpc-pascal] freetype unit + unicode

2011-10-06 Thread David Emerson
On Thu 6 Oct 2011, michael.vancann...@wisa.be wrote: > On Wed, 5 Oct 2011, David Emerson wrote: > > On Tue 4 Oct 2011, michael.vancann...@wisa.be wrote: > >> If you need some UTF8 extensions to the freetype unit, feel free to make > >> some suggestions, and we'll see what we can do. > > > > I copie

Re: [fpc-pascal] freetype unit + unicode

2011-10-06 Thread michael . vancanneyt
On Wed, 5 Oct 2011, David Emerson wrote: On Tue 4 Oct 2011, michael.vancann...@wisa.be wrote: If you need some UTF8 extensions to the freetype unit, feel free to make some suggestions, and we'll see what we can do. When the unit was made, unicode support was a thing of the distant future. (a

Re: [fpc-pascal] Reading and writing char

2011-10-06 Thread Marco van de Voort
In our previous episode, Thomas Young said: > For some reason I'm not able to read and write ascii characters above > ascii 127 with FPC. Can someone explain this to me? This is very logical, since ASCII only defines +/- 127 chars. The upper 128 were used for vendor specific characters (aka code