Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Kamen Ketev
Many thanks,
Mattias!
Regards,
Kamen
 








 > Оригинално писмо 

 >От: Mattias Gaertner nc-gaert...@netcologne.de

 >Относно: Re: [Lazarus] Lazarus Release 1.6

 >До: lazarus@lists.lazarus.freepascal.org

 >Изпратено на: 24.02.2016 12:01


On Wed, 24 Feb 2016 11:46:05 +0200 (EET)

Kamen Ketev  kamenl...@abv.bg > wrote:



> In which modul are

>  WinCPToUTF8 or CP1251ToUTF8? (   Error: Identifier not found "WinCPToUTF8")  



WinCPToUTF8 from unit LazUTF8 or CP1251ToUTF8 from unit LConvEncoding



 

> I want to make my application both on Windows and Linux.



The encoding of text files depends on what program you used to create

it. Windows applications usually create either system code page or

UTF-8, sometimes UTF-16 LE. Linux apps mostly UTF-8.

Maybe the function GuessEncoding from LConvEncoding can help.



> In Linux can I use the same functions or have any other? 

>  

> Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works. 



You can use WinCPToUTF8 under Linux too. It simply keeps the UTF-8

there.



Mattias



--

___

Lazarus mailing list

 Lazarus@lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 11:46:05 +0200 (EET)
Kamen Ketev  wrote:

> In which modul are
>  WinCPToUTF8 or CP1251ToUTF8? (   Error: Identifier not found "WinCPToUTF8")  

WinCPToUTF8 from unit LazUTF8 or CP1251ToUTF8 from unit LConvEncoding

 
> I want to make my application both on Windows and Linux.

The encoding of text files depends on what program you used to create
it. Windows applications usually create either system code page or
UTF-8, sometimes UTF-16 LE. Linux apps mostly UTF-8.
Maybe the function GuessEncoding from LConvEncoding can help.

> In Linux can I use the same functions or have any other? 
>  
> Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works. 

You can use WinCPToUTF8 under Linux too. It simply keeps the UTF-8
there.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Kamen Ketev
In which modul are
 WinCPToUTF8 or CP1251ToUTF8? (   Error: Identifier not found "WinCPToUTF8")  

I want to make my application both on Windows and Linux.
In Linux can I use the same functions or have any other? 
 
Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works. 
Regards,
Kamen
 








 > Оригинално писмо 

 >От: Mattias Gaertner nc-gaert...@netcologne.de

 >Относно: Re: [Lazarus] Lazarus Release 1.6

 >До: lazarus@lists.lazarus.freepascal.org

 >Изпратено на: 24.02.2016 11:20


On Wed, 24 Feb 2016 08:39:40 +0200 (EET)

Kamen Ketev  kamenl...@abv.bg > wrote:



> 

> "What encoding has the text file? CP1251?"

> ANSI. Only this encoding worked with Lazarus 1.4. 

> "What function do you use for converting the strings to UTF-8?"

> SysToUtf8(s) 



SysToUTF8 was changed, because in the majority of cases it was used for

talking to the RTL.



You can use WinCPToUTF8 or CP1251ToUTF8 instead.



Mattias



--

___

Lazarus mailing list

 Lazarus@lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 08:39:40 +0200 (EET)
Kamen Ketev  wrote:

> 
> "What encoding has the text file? CP1251?"
> ANSI. Only this encoding worked with Lazarus 1.4. 
> "What function do you use for converting the strings to UTF-8?"
> SysToUtf8(s) 

SysToUTF8 was changed, because in the majority of cases it was used for
talking to the RTL.

You can use WinCPToUTF8 or CP1251ToUTF8 instead.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev

"What encoding has the text file? CP1251?"
ANSI. Only this encoding worked with Lazarus 1.4. 
"What function do you use for converting the strings to UTF-8?"
SysToUtf8(s) 
Regards,
Kamen
 








 > Оригинално писмо 

 >От: Mattias Gaertner nc-gaert...@netcologne.de

 >Относно: Re: [Lazarus] Lazarus Release 1.6

 >До: lazarus@lists.lazarus.freepascal.org

 >Изпратено на: 23.02.2016 17:07


On Tue, 23 Feb 2016 14:25:01 +0200 (EET)

Kamen Ketev  kamenl...@abv.bg > wrote:



> Windows 7 64bit. Lazarus 1.6 32bit. 

>[...]

> > I have ComboBox which 

> > takes information about filling from a text file. On Lazarus 1.6 cyrillic 
> > symbols are like this:?-??, . How can I correct this? In 
> > Lazarus 1.4 they was correct. 



What encoding has the text file? CP1251?

What function do you use for converting the strings to UTF-8?





Mattias



--

___

Lazarus mailing list

 Lazarus@lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Mattias Gaertner
On Tue, 23 Feb 2016 14:25:01 +0200 (EET)
Kamen Ketev  wrote:

> Windows 7 64bit. Lazarus 1.6 32bit. 
>[...]
> > I have ComboBox which 
> > takes information about filling from a text file. On Lazarus 1.6 cyrillic 
> > symbols are like this:?-??, . How can I correct this? In 
> > Lazarus 1.4 they was correct. 

What encoding has the text file? CP1251?
What function do you use for converting the strings to UTF-8?


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev

Windows 7 64bit. Lazarus 1.6 32bit. 
Regards,
Kamen
 








 > Оригинално писмо 

 >От: Mattias Gaertner nc-gaert...@netcologne.de

 >Относно: Re: [Lazarus] Lazarus Release 1.6

 >До: lazarus@lists.lazarus.freepascal.org

 >Изпратено на: 23.02.2016 14:22


On Tue, 23 Feb 2016 14:10:25 +0200 (EET)

Kamen Ketev  kamenl...@abv.bg > wrote:



> 

> I have ComboBox which

> takes information about filling from a text file. On Lazarus 1.6 cyrillic 
> symbols are like this:?-??, . How can I correct this? In 
> Lazarus 1.4 they was correct. 



What platform?



Mattias



--

___

Lazarus mailing list

 Lazarus@lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Mattias Gaertner
On Tue, 23 Feb 2016 14:10:25 +0200 (EET)
Kamen Ketev  wrote:

> 
> I have ComboBox which
> takes information about filling from a text file. On Lazarus 1.6 cyrillic 
> symbols are like this:?-??, . How can I correct this? In 
> Lazarus 1.4 they was correct. 

What platform?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-23 Thread Kamen Ketev

I have ComboBox which
takes information about filling from a text file. On Lazarus 1.6 cyrillic 
symbols are like this:?-??, . How can I correct this? In 
Lazarus 1.4 they was correct. 
Regards,
Kamen
 








 > Оригинално писмо 

 >От: Bart bartjun...@gmail.com

 >Относно: Re: [Lazarus] Lazarus Release 1.6

 >До: Lazarus mailing list  

 >Изпратено на: 22.02.2016 20:21


On 2/22/16, Kostas Michalopoulos  badsectorac...@gmail.com > wrote:



> Hm, i might be missing something, but where is the option that enables the

> compiler progress status?



That (compiler progress status) has been removed, quit some time ago.



Bart



--

___

Lazarus mailing list

 Lazarus@lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-22 Thread Bart
On 2/22/16, Kostas Michalopoulos  wrote:

> Hm, i might be missing something, but where is the option that enables the
> compiler progress status?

That (compiler progress status) has been removed, quit some time ago.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-22 Thread Kostas Michalopoulos
Hm, i might be missing something, but where is the option that enables the
compiler progress status?

On Thu, Feb 18, 2016 at 5:16 PM, Mattias Gaertner  wrote:

> The Lazarus team is glad to announce the release of Lazarus 1.6.
>
> This release was built with FPC 3.0.0.
> The previous release Lazarus 1.4.4 was built with FPC 2.6.4.
>
> Here is the list of changes for Lazarus and Free Pascal:
> http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes
> http://wiki.lazarus.freepascal.org/User_Changes_3.0.0
>
> The release is available for download on SourceForge:
> http://sourceforge.net/projects/lazarus/files/
>
> Choose your CPU, OS, distro and then the "Lazarus 1.6" directory.
>
> Checksums for the SourceForge files:
> http://www.lazarus-ide.org/index.php?page=checksums#1_6
>
> Minimum requirements:
>
> Windows:
>   98, 2000, XP, Vista, 7, 8/8.1, 10, 32 or 64 bit.
>   Win98 and WinNT IDE needs FPC 2.6.4 and building with flag
> -dWIN9XPLATFORM.
>
> FreeBSD/Linux:
>   gtk 2.8 or qt4.5, 32 or 64bit.
>
> Mac OS X:
>   10.5 to 10.11, LCL only 32bit, non LCL apps can be 64bit.
>
> The svn tag is
> http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6
>
> Here is the list of fixes for Lazarus 1.6:
> http://wiki.freepascal.org/Lazarus_1.6_fixes_branch
>
> For people who are blocked by SF, the Lazarus releases from SourceForge
> are mirrored at:
> ftp://freepascal.dfmk.hu/pub/lazarus/releases/
> and later at (after some time for synchronization)
> http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
> and
> http://mirrors.iwi.me/lazarus/
>
> Mattias
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-19 Thread Bo Berglund
On Thu, 18 Feb 2016 13:43:07 -0300, silvioprog 
wrote:

>(SF still "Looking for the latest version? Download
>lazarus-1.4.4-fpc-2.6.4-win32.exe")

svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6
This is rev 51666


-- 
Bo Berglund
Developer in Sweden


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus Release 1.6

2016-02-18 Thread silvioprog
On Thu, Feb 18, 2016 at 12:16 PM, Mattias Gaertner <
nc-gaert...@netcologne.de> wrote:

> The Lazarus team is glad to announce the release of Lazarus 1.6.

[...]

Great job! \o/

(SF still "Looking for the latest version? Download
lazarus-1.4.4-fpc-2.6.4-win32.exe")

-- 
Silvio Clécio
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus Release 1.6

2016-02-18 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.6.

This release was built with FPC 3.0.0.
The previous release Lazarus 1.4.4 was built with FPC 2.6.4.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.0

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.6" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_6

Minimum requirements:

Windows:
  98, 2000, XP, Vista, 7, 8/8.1, 10, 32 or 64 bit.   
  Win98 and WinNT IDE needs FPC 2.6.4 and building with flag
-dWIN9XPLATFORM. 

FreeBSD/Linux:
  gtk 2.8 or qt4.5, 32 or 64bit.

Mac OS X:
  10.5 to 10.11, LCL only 32bit, non LCL apps can be 64bit.

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6

Here is the list of fixes for Lazarus 1.6:
http://wiki.freepascal.org/Lazarus_1.6_fixes_branch

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored at: 
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization)
http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
and
http://mirrors.iwi.me/lazarus/

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus