Re: [Lazarus] Tray icon not working on Ubunut
El 06/10/15 a les 23:08, Michael Van Canneyt ha escrit: On Tue, 6 Oct 2015, Anthony Walter wrote: What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been broken for years. It works just fine on Kubuntu. But only with the qt widgetset Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] High-DPI aware LCL ?
On 07.10.2015 00:09, Michael Van Canneyt wrote: Hello, Out of curiosity: Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu) is OK if you only need to edit code, but as soon as you need to use buttons (any toolbutton or even component palette button), it becomes very difficult. The editor toolbar is next to useless on high DPI. Michael. I do write High-DPI aware LCL application with Lazarus without problems. The IDE itself should at some point in the future support it as well (IMO by default, without any extension). But I don't know if there are some plans about it. I haven't bought a 4K display because of High-DPI problems in Delphi and Lazarus IDEs. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] High-DPI aware LCL ?
Hello, Out of curiosity: Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu) is OK if you only need to edit code, but as soon as you need to use buttons (any toolbutton or even component palette button), it becomes very difficult. The editor toolbar is next to useless on high DPI. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Tray icon not working on Ubunut
On Tue, 6 Oct 2015, Anthony Walter wrote: What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been broken for years. It works just fine on Kubuntu. It's more likely that unity has been broken for years... :) Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Tray icon not working on Ubunut
What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been broken for years. Also there is no systray-whitelist to set to 'all' in gconf any longer. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Strange interaction between combox and IniPropStorage
On Tue, Oct 6, 2015 at 4:15 PM, Luca Olivetti wrote: > I see that the patch hasn't been merged in 1.4.4. > Please keep it in mind for 1.4.6 I aded it now here: http://wiki.freepascal.org/Lazarus_1.4_fixes_branch You can add commits there, too, in the "Submitted by others" section. Often it is difficult to decide what fixes need more time testing in trunk and which ones are crucial enough to be merged. Usually I add only fixes that I feel are important, which is very subjective of course. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )
On Tue, 6 Oct 2015 16:06:29 +0100 Martin Frb wrote: > On 06/10/2015 15:56, Mattias Gaertner wrote: >[...] > >> You may try the following setting: > >> http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working > >> > >> Or (32 bit) download an alternative GDB: > >> https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Alternative%20GDB/ >[...] > > Should it be added to the announcement? > Maybe > > It is in the sourceforge Readme. But feedback indicates that it is not > getting noticed there. That is a lot of maybe. I would prefer something simple like Windows 7 and above: If you get debugger errors see here ... Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Desktops and IDECoolbar
Sorry for the delay with this answer. On Tue, Sep 8, 2015 at 11:31 AM, patspiper wrote: > Desktops and IDECoolbar support are welcome additions to Lazarus. I suppose > a package can now add a dropdown button to the IDECoolbar. Is there an > example on how to add such a dropdown button? Yes, it is now part of the JumpToImplementation example program. See r49799. > On another note, clicking added Find or About buttons to the coolbar has no > effect. Switching desktops then triggers several AV's. Is this a known > issue? Not really but the command systerm must be revamped anyway. It does not work as it should now. See : http://bugs.freepascal.org/view.php?id=28777 Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] UTF-16 to hexadecimal string output
On 2015-10-06 15:53, Mattias Gaertner wrote: > Maybe dbgMemRange of LazLoggerBase helps: Many thanks, that is very helpful. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )
On 06/10/2015 15:56, Mattias Gaertner wrote: On Tue, 6 Oct 2015 13:44:54 +0100 Martin Frb wrote: On 06/10/2015 12:56, Mattias Gaertner wrote: The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Windows users with Windows 7 or up may in some cases need to change the debugger: You may try the following setting: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working Or (32 bit) download an alternative GDB: https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Alternative%20GDB/ Is this new? Its been around for a while. It seems that it depends on other software installed on those systems (mainly shell extensions => usually problems happen when debugging Open/Save-dialog) Should it be added to the announcement? Maybe It is in the sourceforge Readme. But feedback indicates that it is not getting noticed there. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )
On Tue, 6 Oct 2015 13:44:54 +0100 Martin Frb wrote: > On 06/10/2015 12:56, Mattias Gaertner wrote: > > The Lazarus team is glad to announce the release of Lazarus 1.4.4. > > > > This release was built with FPC 2.6.4, same as the previous > > release Lazarus 1.4.2. > > > > Windows users with Windows 7 or up may in some cases need to change the > debugger: > > You may try the following setting: > http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working > > Or (32 bit) download an alternative GDB: > https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Alternative%20GDB/ Is this new? Should it be added to the announcement? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] UTF-16 to hexadecimal string output
On Tue, 6 Oct 2015 15:35:41 +0100 Graeme Geldenhuys wrote: > Hi > > Does Lazarus have a function that can convert UnicodeString (UTF-16 > encoding) to hexadecimal string output? > > > some_utf16_text -->> 4E6F762073686D6F7A206B Maybe dbgMemRange of LazLoggerBase helps: ws:='some_utf16_text'; debugln('ws=',dbgMemRange(Pointer(ws),length(ws)*2)); ws=73006F006D0065005F00750074006600310036005F007400650078007400 Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] UTF-16 to hexadecimal string output
Hi Does Lazarus have a function that can convert UnicodeString (UTF-16 encoding) to hexadecimal string output? some_utf16_text -->> 4E6F762073686D6F7A206B Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Strange interaction between combox and IniPropStorage
El 13/08/15 a les 09:24, Luca Olivetti ha escrit: El 12/08/15 a les 16:37, Luca Olivetti ha escrit: Definitely a regression: I just had to modify an old program (where this feature worked) and it doesn't work anymore :-( At least the workaround seems to do the job. It's not a regression, it's probably always been there, but I manually called SaveProperties previously, but since the IniPropstorage does it automatically, I removed my call. *However* it calls it when the form is being freed, and in that case the combobox returns the previous itemindex, not the changed one. I added a comment and a couple of possible patches in the bugreport. http://bugs.freepascal.org/view.php?id=28514 I see that the patch hasn't been merged in 1.4.4. Please keep it in mind for 1.4.6 Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default
Thanks. I look into making small enhancements shortly. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Lazarus Release 1.4.4 (debugging on some versions of Windows )
On 06/10/2015 12:56, Mattias Gaertner wrote: The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Windows users with Windows 7 or up may in some cases need to change the debugger: You may try the following setting: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working Or (32 bit) download an alternative GDB: https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Alternative%20GDB/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] changing DPI values and Lazarus Forms Designer
Hi, Why doesn't Lazarus write the TCustomForm.DesignedDPI value to the LFM files (like Delphi or Kylix does)? Currently that property is public, not published. The problem being that say forms were designed at 96dpi (could be anything really), and then opened by other developers that run 72, 140, 200 dpi etc, the forms are screwed (mostly). Because DesignedDPI is not written to the LFM file, the Form Designer has no idea how to scale/adapt the form for further modifications. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus Release 1.4.4
The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Here is the list of fixes for Lazarus 1.4.4: http://wiki.freepascal.org/Lazarus_1.4_fixes_branch#Merged_revisions_for_1.4.4 Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_1.4.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_2.6.4 Important note for Mac OS X: OS X 10.10 Yosemite no longer supports the default debugging format of FPC 2.6.4 (-g stabs). Lazarus now uses -gw (dwarf) instead on darwin. The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 1.4.4" directory. Windows x64 users: please use the 32 bit installer if possible. See http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29 for more details. Minimum requirements: Windows: 98, 2k, XP, Vista, 7, 32 or 64bit. On 64bit it is recommended to use the 32bit IDE. Win98 and WinNT IDE needs building with flag -dWIN9XPLATFORM. FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit. Mac OS X: 10.5 to 10.10, 10.9+ debugging requires -gw, LCL only 32bit, non LCL apps can be 64bit. The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_4_4 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
Re: [Lazarus] "Checkbox for Booleans" in Object Inspector now used as default
On Tue, 6 Oct 2015 08:49:32 +0300 Juha Manninen wrote: > On Tuesday, October 6, 2015, Anthony Walter wrote: > > > > As it stands right now, I believe it's pretty much impossible separate the > > object inspector source code from the IDE source code. Please correct me if > > I am wrong in this matter. > > > > Yes you are wrong. Object Inspector is part of IdeIntf package. And there is an example how to use it in your own programs in lazarus/examples/objectinspector/oiexample.lpi It was a bit outdated though. I updated it now. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] lazcontrols filters
Patch is posted: http://bugs.freepascal.org/view.php?id=28781 I hope I did not miss something... 2015-10-05 18:40 keltezéssel, Bart írta: > Please post patches (in bugtracker) for controls (TCustomEdit > descendants or compound controls that have a TCustomEdit in it) that > do not pubish these properties. -- Péter Gábor p...@freemail.hu -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus