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 co

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 ar

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 ansistring. > > This is IMO m

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) everything seems to be ok > but if I

Re: [Lazarus] Lazarus Release 1.8

2017-12-15 Thread coppolastudio via Lazarus
try to check the case of your .res files Inviato tramite il client di Posta WPSIl Andrea Mauri via Lazarus , 15/dic/2017 08:33 AM ha scritto: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 an

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 t

Re: [Lazarus] Lazarus Release 1.8

2017-12-13 Thread Salvatore Coppola via Lazarus
Now it's ok, thanks Salvatore 2017-12-13 12:25 GMT+01:00 Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org>: > 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 r

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 messa

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 is a similar problem with the f

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 > > and fpc_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 https://www.freepascal.org/docs-html/rtl/classe

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 th

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
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 the example here (mentioned in the bug report)

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 reluc

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 Raw

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 th

Re: [Lazarus] Lazarus Release 1.8

2017-12-09 Thread Luca Olivetti via Lazarus
El 09/12/17 a les 13:23, Juha Manninen via Lazarus ha escrit: On Sat, Dec 9, 2017 at 12:57 PM, Luca Olivetti via Lazarus wrote: 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. The automatic con

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 added by me. It is used only for fu

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 is

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 trunk I would be happy to go ahead

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Bart via Lazarus
On Fri, Dec 8, 2017 at 10:57 AM, Luca Olivetti via Lazarus wrote: > I guess I'll have to switch to fpc 3.0.4 but I still fear the unicode > changes in 3.0 will bite me. At some point you'll have to anyway. Better bite the bullet. I hardly had to make any adjustments at all. I had some callback

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 un

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 fault. I will upload the right versio

Re: [Lazarus] Lazarus Release 1.8

2017-12-07 Thread Victor Campillo via Lazarus
On 06/12/17 20:15, Mattias Gaertner via Lazarus wrote: The Lazarus team is glad to announce the release of Lazarus 1.8. Congrats to the Lazarus team for this expected released. I just downloaded the sources from sourceforge and after compile it, the splash window and the about dialog show ve

[Lazarus] Lazarus Release 1.8

2017-12-06 Thread Mattias Gaertner via Lazarus
The Lazarus team is glad to announce the release of Lazarus 1.8.The release was built with FPC 3.0.4.The previous release Lazarus 1.6.4 was built with FPC 3.0.2. Here is the list of changes for Lazarus and Free Pascal:http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_noteshttp://wiki.lazaru