Re: [Lazarus] Lazarus Release 1.8

2017-12-18 Thread Andrea Mauri via Lazarus
same user. only one user on my Mac, I suppose I am admin (I am a OS X newbie). I opened using launchpad and directly from finder. Here the text of IDE menu: Lazarus version: 1.8.0 Lazarus svn revision: exported Lazarus build date: 2017/12/04 Lazarus was compiled for i386-darwin Lazarus was

Re: [Lazarus] Lazarus Release 1.8

2017-12-15 Thread Kostas Michalopoulos via Lazarus
On Fri, Dec 15, 2017 at 1:41 PM, Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > At compile time it is CP_NONE, at runtime it can be any codepage. > My understanding (which, if it is wrong, sorry but not my fault since the docs are a bit vague and all the names involved

Re: [Lazarus] Lazarus Release 1.8

2017-12-15 Thread Mattias Gaertner via Lazarus
On Fri, 15 Dec 2017 13:32:24 +0200 Kostas Michalopoulos via Lazarus wrote: > On Sun, Dec 10, 2017 at 4:17 PM, Luca Olivetti via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > > https://www.freepascal.org/docs-html/rtl/system/rawbytestring.html > > > > it's an

Re: [Lazarus] Lazarus Release 1.8

2017-12-15 Thread Kostas Michalopoulos via Lazarus
On Sun, Dec 10, 2017 at 4:17 PM, Luca Olivetti via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > https://www.freepascal.org/docs-html/rtl/system/rawbytestring.html > > it's an ansistring. This is IMO misleading since nowadays AnsiString has codepage information and a plain AnsiString as shown

Re: [Lazarus] Lazarus Release 1.8

2017-12-15 Thread Mattias Gaertner via Lazarus
On Wed, 13 Dec 2017 12:44:19 +0100 Andrea Mauri via Lazarus wrote: > I am trying to update to lazarus 1.8 on my OSX (I was using 1.6.4). > I downloaded and installed, fpc, fpc src and lazarus. > First run is ok. > Then if I recompile lazarus (clean build all)

Re: [Lazarus] Lazarus Release 1.8

2017-12-14 Thread Andrea Mauri via Lazarus
Anyone has suggestions? Il 13/12/2017 12:44, Andrea Mauri ha scritto: I am trying to update to lazarus 1.8 on my OSX (I was using 1.6.4). I downloaded and installed, fpc, fpc src and lazarus. First run is ok. Then if I recompile lazarus (clean build all) everything seems to be ok but if I try

Re: [Lazarus] Lazarus Release 1.8

2017-12-13 Thread Andrea Mauri via Lazarus
I am trying to update to lazarus 1.8 on my OSX (I was using 1.6.4). I downloaded and installed, fpc, fpc src and lazarus. First run is ok. Then if I recompile lazarus (clean build all) everything seems to be ok but if I try to start lazarus I got an error message. See message1. I close the

Re: [Lazarus] Lazarus Release 1.8

2017-12-13 Thread Mattias Gaertner via Lazarus
On Wed, 13 Dec 2017 00:28:14 +0100 Mattias Gaertner via Lazarus wrote: >[...] > > /usr/bin/ld: /usr/lib/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: > > unrecognized relocation (0x2a) in section `.text' > > /usr/bin/ld: link finale non riuscito: Bad value > > There

Re: [Lazarus] Lazarus Release 1.8

2017-12-12 Thread Mattias Gaertner via Lazarus
On Wed, 13 Dec 2017 00:06:45 +0100 Salvatore Coppola via Lazarus wrote: > As usual after istalled fpc packages (fpc-src_3.0.4-1_amd64.deb >

Re: [Lazarus] Lazarus Release 1.8

2017-12-12 Thread Salvatore Coppola via Lazarus
As usual after istalled fpc packages (fpc-src_3.0.4-1_amd64.deb and fpc_3.0.4-1_amd64.deb

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
El 11/12/17 a les 16:14, Michael Van Canneyt ha escrit: On Mon, 11 Dec 2017, Luca Olivetti wrote: El 11/12/17 a les 13:43, Michael Van Canneyt ha escrit: [*] I don't know if freeing a thread in OnTerminate is allowed. FPC documentation here

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Michael Van Canneyt via Lazarus
On Mon, 11 Dec 2017, Luca Olivetti wrote: El 11/12/17 a les 13:43, Michael Van Canneyt ha escrit: [*] I don't know if freeing a thread in OnTerminate is allowed. FPC documentation here https://www.freepascal.org/docs-html/rtl/classes/tthread.onterminate.html says nothing about it, but

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Michael Van Canneyt via Lazarus
On Mon, 11 Dec 2017, Luca Olivetti via Lazarus wrote: El 09/12/17 a les 11:57, Luca Olivetti via Lazarus ha escrit: I know I'll have to upgrade to fpc 3 someday, but what worries me about it is my (and other 3rd party units) use of ansistrings as binary buffers. I did some quick tests some

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
El 09/12/17 a les 11:57, Luca Olivetti via Lazarus ha escrit: I know I'll have to upgrade to fpc 3 someday, but what worries me about it is my (and other 3rd party units) use of ansistrings as binary buffers. I did some quick tests some time ago an nothing seemed broken, but I'm somewhat

Re: [Lazarus] Lazarus Release 1.8

2017-12-10 Thread Luca Olivetti via Lazarus
El 10/12/17 a les 15:02, Kostas Michalopoulos via Lazarus ha escrit: > I think I had this discussion before: I'm not going to use TBytes until it offers the same convenience as an ansistring (i.e. easy concatenation, insertion and deletion, not to mention search and replace, etc.). Isn't

Re: [Lazarus] Lazarus Release 1.8

2017-12-10 Thread Kostas Michalopoulos via Lazarus
> I think I had this discussion before: I'm not going to use TBytes until it offers the same convenience as an ansistring (i.e. easy concatenation, insertion and deletion, not to mention search and replace, etc.). Isn't RawByteString a more suited replacement then? In the few places i relied on

Re: [Lazarus] Lazarus Release 1.8

2017-12-09 Thread Juha Manninen via Lazarus
On Sat, Dec 9, 2017 at 1:41 AM, Werner Pamler via Lazarus wrote: > Tested on Win32 where it fails in interfaces\win32\win32int because unit > "character" is not found. It is in rtl\objpas of fpc3.04, but not of fpc > 2.6.4, it came in with fpc 3.0.0 Damn, it is

Re: [Lazarus] Lazarus Release 1.8

2017-12-09 Thread Luca Olivetti via Lazarus
El 09/12/17 a les 00:41, Werner Pamler via Lazarus ha escrit: Am 08.12.2017 um 22:32 schrieb Juha Manninen via Lazarus: How does it fail? Lazarus 1.8 was meant to still compile with FPC 2.6.4. However with Lazarus trunk I would be happy to go ahead and forget 2.6.4. If the fix for Lazarus 1.8

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Werner Pamler via Lazarus
Am 08.12.2017 um 22:32 schrieb Juha Manninen via Lazarus: How does it fail? Lazarus 1.8 was meant to still compile with FPC 2.6.4. However with Lazarus trunk I would be happy to go ahead and forget 2.6.4. If the fix for Lazarus 1.8 is easy, please upload a patch. Tested on Win32 where it fails

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Juha Manninen via Lazarus
On Fri, Dec 8, 2017 at 11:57 AM, Luca Olivetti via Lazarus wrote: > I see that, while under linux there's no problem, under windows it cannot be > built with fpc-2.6.4. How does it fail? Lazarus 1.8 was meant to still compile with FPC 2.6.4. However with Lazarus

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Luca Olivetti via Lazarus
El 06/12/17 a les 20:15, Mattias Gaertner via Lazarus ha escrit: The Lazarus team is glad to announce the release of Lazarus 1.8. I see that, while under linux there's no problem, under windows it cannot be built with fpc-2.6.4. Now I managed to build it by transplanting the missing unicode

Re: [Lazarus] Lazarus Release 1.8

2017-12-07 Thread Mattias Gaertner via Lazarus
> Victor Campillo via Lazarus hat am 7. > Dezember 2017 um 10:53 geschrieben: >[...] > I just downloaded the sources from sourceforge and after compile it, the > splash window and the about dialog show version 1.9.0, I tried the next > downloads. Oops. My