Re: [Lazarus] Missing components in Lazarus 1.6 DEB
On Fri, 29 Apr 2016 17:20:54 +0100 Denis Kozlovwrote: > Nobody else noticed randomly missing files from Lazarus 1.6 distribution > for Linux? Debian ships its own version of Lazarus .deb packages. They are split into many small packages. We need to create a debian bug report for the missing .lpk files. The sourceforge site of Lazarus itself contains a single Lazarus package, which does contain the .lpk files. It also contains a package for fpc and the fpc sources. You might want to install these three packages instead. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Missing components in Lazarus 1.6 DEB
Nobody else noticed randomly missing files from Lazarus 1.6 distribution for Linux? On 25 April 2016 at 12:43, Denis Kozlovwrote: > Why many components have missing *.lpk files in Lazarus 1.6 DEB installer? > Is this deliberate or a packaging problem? > > Tried installing using `lazarus_1.6-0_amd64.deb` and via `apt install > lazarus` on Ubuntu 16. Tree structure of components in DEB is quite > different to Windows or SVN structure. > > For example, it is missing: > \components\anchordocking\anchordocking.lpk > \components\anchordocking\design\anchordockingdsgn.lpk > \components\customdrawn\customdrawn.lpk > \components\education\educationlaz.lpk > (and hundreds other files) > > Denis > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Editor tabs and opening new files
On 4/29/16, Graeme Geldenhuyswrote: > I'm using Lazarus v1.7 (quite recent) compile with LCL-GTK2. Is there an > option in the IDE to open a new file (eg: 'File -> Open' and a file from > any directory) always as the last tab in the editor window? That would indeed be a nice option. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Editor tabs and opening new files
Hello, I'm using Lazarus v1.7 (quite recent) compile with LCL-GTK2. Is there an option in the IDE to open a new file (eg: 'File -> Open' and a file from any directory) always as the last tab in the editor window? The current behaviour is to open the new file just after the current tab. I don't want that if possible. I use tab ordering extensively, as I work with lots of open files. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Problem with non-ascii chars fpc-3.0.0 vs fpc-3.1.1 under Windows
On 04/28/2016 02:26 PM, Bart wrote: Example with set zeljko=äëï Result of StringCodePage in sqaure brackets: GetEnvironmentVariableUtf8: zeljko = $C3 $A4 $C3 $AB $C3 $AF [0] GetEnvironmentVariable with UnicodeString: zeljko = $00E4 $00EB $00EF [1200] UTF16ToUTF8 on result of previous line: zeljko = $C3 $A4 $C3 $AB $C3 $AF [65001] GetAppConfigDirUtf8: [65001] As a workaround you may try to use the Unicode variant of GetEnvironmentVariable and convert it to Utf8 with UTF16ToUtf8(). The resulting string (on my system) then has stringCodePage = CP_UTF8 again. Thanks, that workaround works, but with 2.6.4 have another type of problem: 1.Home dir is C:\Users\Željko 2.DirectoryExistsUTF8, any file inside $HOME FileExistsUTF8 and other file routines from LazFileUtils works like a charm. 3.IniFiles - TMemIniFile uses UpdateFile, and of course eg. C:\Users\Željko\myinifile.ini fails to update because UpdateFile inifiles uses ForceDirectories() ... 4.I said ok, let's create it with: a) UTF8ToSys(AFileName) - does not work b) UTF8ToConsole(AFileName) - does not work c) UTF8ToAnsi(AFIleName) - does not work d) LConvEncoding.UTF8ToCp1250(AFIleName) WORKS So, have I missed something about UTF8ToSys() and others in case of fpc-2.6.4 ? NOTE: I'm talking about fpc-2.6.4 ! fpc-3.0.0 works correct in this case zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus