Re: [Lazarus] New Image Lists question

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 19:18, Vojtěch Čihák via Lazarus wrote: Thanks, I saw the demos, I see now how it works. But how can I add multiple resolution to ImageList? Is it possible only with suffixes and all images must be in the same directory? I need to push 10 resolution to one ImageList. Default res

Re: [Lazarus] New Image Lists question

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 19:29, Vojtěch Čihák via Lazarus wrote: But I need to add images at design-time via Image List Editor. I have my images at *.svg format and I use script for converting (I use rsvg tool). So I need to know where to store transfered images (one or more directories) and what name

Re: [Lazarus] New Image Lists question

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 19:35, Ondrej Pokorny via Lazarus wrote: On 23.05.2018 19:29, Vojtěch Čihák via Lazarus wrote: But I need to add images at design-time via Image List Editor. I have my images at *.svg format and I use script for converting (I use rsvg tool). So I need to know where to store

Re: [Lazarus] New Image Lists question

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 21:11, Vojtěch Čihák via Lazarus wrote: I have one more question: do I understand well that ImageList stores basic resolution uncompressed in node Bitmap and all other resolutions compressed in node BitmapAdv? Yes, this is due to forward compatibility with 1.8 and starting wi

Re: [Lazarus] Cross-compile Linux -> Win fails in win32lclintf.inc

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 21:07, Torsten Bonde Christiansen via Lazarus wrote: On 2018-05-23 15:35, Martok via Lazarus wrote: SameStr was introduced in FPC 3.0.2. I'm pretty sure Lazarus trunk requires 3.0.4 anyway? Where was that documented, again? That may very well be the case... i haven't been payin

Re: [Lazarus] Strange code in fpc syscodepages.inc

2018-05-23 Thread Ondrej Pokorny via Lazarus
On 23.05.2018 12:00, AlexeyT via Lazarus wrote: //break after exit function CodePageToCodePageName(cp: TSystemCodePage): AnsiString; You wrote to wrong mailing list. The above code and unit is in FPC, thus one of the FPC mailing list is more appropriate because FPC developers read them. On

Re: [Lazarus] "End of source not found" error in Trunk.

2018-05-24 Thread Ondrej Pokorny via Lazarus
On 22.05.2018 16:54, Mattias Gaertner via Lazarus wrote: On Tue, 22 May 2018 16:57:19 +0300 Sergey Bodrov via Lazarus wrote: I got annoing "End of source not found" when use autocompletion (Ctrl-Space) on random places of code. After adding/removing empty line in such place, autocompletion wor

Re: [Lazarus] "End of source not found" error in Trunk.

2018-05-24 Thread Ondrej Pokorny via Lazarus
Here the screenshot. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TApplication.DoubleBuffered

2018-06-03 Thread Ondrej Pokorny via Lazarus
On 03.06.2018 22:48, AlexeyT via Lazarus wrote: TApplicationType = (     atDefault, // The widgetset will attempt to auto-detect the device type     atDesktop, // For common desktops and notebooks   TApplicationExceptionDlg = (     aedOkCancelDialog,  // Exception handler window will b

Re: [Lazarus] Can Lazarus 1.8 import Delphi XE5 project from dproj file?

2018-06-08 Thread Ondrej Pokorny via Lazarus
On 08.06.2018 10:31, Bo Berglund via Lazarus wrote: And how can I tell Lazarus not to try to build a 64 bit program? If you want to go the simple way, install the 32bit Lazarus installer. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.o

Re: [Lazarus] Can Lazarus 1.8 import Delphi XE5 project from dproj file?

2018-06-08 Thread Ondrej Pokorny via Lazarus
On 08.06.2018 10:39, Bo Berglund via Lazarus wrote: On Fri, 8 Jun 2018 10:32:57 +0200, Ondrej Pokorny via Lazarus wrote: On 08.06.2018 10:31, Bo Berglund via Lazarus wrote: And how can I tell Lazarus not to try to build a 64 bit program? If you want to go the simple way, install the 32bit

Re: [Lazarus] Cannot make IDE after patch for "uses GraphType"

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 13:05, AlexeyT via Lazarus wrote: checklst.pas(24,46) Fatal: Cannot find GraphType used by CheckLst, incompatible ppu=/home/user/lazarus/components/lazutils/lib/x86_64-linux/graphtype.ppu, multiple packages: LazUtils, LCLBase maybe it's some bug? i just updated from trunk. and u

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do with Ctrl+Click? AFAIK Lazarus IDE cannot change mouse mappings, only key mappings. Or am I wrong? Ondrej --

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Ondrej Pokorny via Lazarus
On 19.06.2018 19:42, Martin Frb via Lazarus wrote: On 19/06/2018 19:26, Ondrej Pokorny via Lazarus wrote: On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Ondrej Pokorny via Lazarus
>  On my Linux + KDE system however icons of the IDE's main menuitems do not scale. > In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is about 150%. I remember I worked on it: 1.) Gtk2: I added support for Gtk2. See screenshot. It works well for me if I use "xra

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Ondrej Pokorny via Lazarus
On 19.10.2018 11:43, zeljko wrote: QProxyStyle can return any size for PM_SmallIconSize, but in that case we should know what's the current size of "normal" icons in LCL. The current size of "normal" icons in LCL is perfectly known, as well as the size of any menu icon in LCL. Call the TMenuIt

[Lazarus] IDE Ctrl+W key

2019-03-19 Thread Ondrej Pokorny via lazarus
On Mon Mar 18 00:35:32 CET 2019 Mattias Gaertner nc-gaertnma at netcologne.de wrote: On Sun, 17 Mar 2019 19:16:40 -0400 Dmitry Boyarintsev via lazarus https://lists.lazarus-ide.org/listinfo/lazarus>> wrote: >/On Sun, Mar 17, 2019 at 4:58 PM Mattias Gaertner via lazarus < /> >/lazarus at lists.

[Lazarus] New XML format for project info files - disabled by default

2019-03-24 Thread Ondrej Pokorny via lazarus
Hello Juha & Werner, I see you disabled the new item format for project info files by default on Werner's request. I understand that the first version wasn't ideal - if you needed to open a project in 2.1 and 2.0/1.8 you always had to check the compatibility mode when opened in 2.1. But the

Re: [Lazarus] New XML format for project info files - disabled by default

2019-03-24 Thread Ondrej Pokorny via lazarus
On 24.03.2019 17:25, Juha Manninen via lazarus wrote: On Sun, Mar 24, 2019 at 5:06 PM Werner Pamler via lazarus wrote: Yes, sounds reasonable. +1 The report is actually https://bugs.freepascal.org/view.php?id=35267 As Werner noted earlier, the package .lpk files and parts of project .lpi fi

Re: [Lazarus] IDE Ctrl+W key

2019-03-25 Thread Ondrej Pokorny via lazarus
There is no need to discuss this. As I said before both your points are customizable. On 25.03.2019 11:40, Kostas Michalopoulos via lazarus wrote: I always saw the cursor jumping due to a syntax error as a bug, not a feature and has always been an annoyance that breaks my code flow. Honestly, i

Re: [Lazarus] IDE trunk update broke my project build modes

2019-03-25 Thread Ondrej Pokorny via lazarus
On 26.03.2019 05:14, Alexey Tor. via lazarus wrote: all 10 builds modes are erased. github shows it: https://github.com/Alexey-T/CudaText/commit/3265afe97eb279038cc06c77fc40c89057eed2f1#diff-3c136f54a3b789d5a1bf3d633bd76906 Thanks for reporting - my mistake. I uploaded a patch: https://bugs.

Re: [Lazarus] New XML format for project info files

2019-04-03 Thread Ondrej Pokorny via lazarus
On 03.04.2019 22:42, Werner Pamler via lazarus wrote: Unfortunately this does not solve the issue for me personally. I post a lot of code in the forum, and since I normally work with Laz-trunk and, of course, forget to activate the compatibility option the code will be useless for users of lega

Re: [Lazarus] Event with changed signature can be loaded without error

2019-04-12 Thread Ondrej Pokorny via lazarus
On 12.04.2019 19:35, Werner Pamler via lazarus wrote: I don't know: is this changed or am I fooled by my memory? I was rather sure that when the signature of a published event is changed, forms saved with the old signature cannot be read without error. But now I notice that this is not true any

Re: [Lazarus] Event with changed signature can be loaded without error

2019-04-13 Thread Ondrej Pokorny via lazarus
On 12.04.2019 22:29, Werner Pamler via lazarus wrote: Am 12.04.2019 um 20:23 schrieb Ondrej Pokorny via lazarus: I hope you will have more understanding for breaking changes in the future after this experience :) Don't worry, it will be changed shorty, but I wanted to have an example

Re: [Lazarus] Bug when using frames

2019-04-15 Thread Ondrej Pokorny via lazarus
On 15.04.2019 09:52, Michael Van Canneyt via lazarus wrote: Before I dive in the bugtracker and create 3 bug reports, are these known issues ? I don't know if there are bug reports about it but I have been facing the same issues ever since as well. I didn't have the motivation to work on the

Re: [Lazarus] DesignPPI property in TDataModule

2019-04-15 Thread Ondrej Pokorny via lazarus
On 15.04.2019 13:07, Sergey Bodrov via lazarus wrote: What sense in PPI for non-visual design-time component? What do you mean? There is no PPI property in non-visual design-time components. If it used by child DPI-aware components like TImageList, then IMHO better get PPI from TApplicatio

Re: [Lazarus] DesignPPI property in TDataModule

2019-04-15 Thread Ondrej Pokorny via lazarus
On 15.04.2019 13:24, Ondrej Pokorny via lazarus wrote: On 15.04.2019 13:07, Sergey Bodrov via lazarus wrote: TDataModule.DesignPPI property cause error popups in Lazarus/Delphi multiplatform project. Yes, there is TDataModule.DesignPPI that makes sure the positions (Left/Top properties) of

Re: [Lazarus] DesignPPI property in TDataModule

2019-04-16 Thread Ondrej Pokorny via lazarus
On 15.04.2019 14:35, Sergey Bodrov via lazarus wrote: пн, 15 апр. 2019 г. в 14:42, Ondrej Pokorny via lazarus mailto:lazarus@lists.lazarus-ide.org>>: > Yes, there is TDataModule.DesignPPI that makes sure the positions > (Left/Top properties) of the non-visual component

Re: [Lazarus] Website/Mantis back online

2019-04-23 Thread Ondrej Pokorny via lazarus
Hello Michael, is the "Summary" in "Viewing Issues" table centered for a purpose? Could you make it aligned to the left? https://bugs.freepascal.org/view_all_bug_page.php Thanks Ondrej -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https

Re: [Lazarus] Website/Mantis back online

2019-04-24 Thread Ondrej Pokorny via lazarus
On 24.04.2019 08:17, Michael Van Canneyt wrote: On Wed, 24 Apr 2019, Ondrej Pokorny via lazarus wrote: Hello Michael, is the "Summary" in "Viewing Issues" table centered for a purpose? Could you make it aligned to the left? https://bugs.freepascal.org/view_all_bug_page.

Re: [Lazarus] css Re: Website/Mantis back online

2019-04-24 Thread Ondrej Pokorny via lazarus
On 24.04.2019 12:05, Graeme Geldenhuys via lazarus wrote: On 24/04/2019 10:54, Bo Berglund via lazarus wrote: When copying text from webpages, dev IDE's and emails to paste somewhere I always first paste in Notepad++ Some background info: That's because the original content is considered "rich

Re: [Lazarus] Cross platform font from file?

2019-04-30 Thread Ondrej Pokorny via lazarus
On 01.05.2019 03:10, Anthony Walter via lazarus wrote: Does anyone know if the LCL contains a wrapper to allow for loading and using a font from a file across Windows, Mac, and Linux platforms? Lazarus: http://wiki.freepascal.org/LazFreeType FPC has fpTTF: https://forum.lazarus.freepascal.org

Re: [Lazarus] Lazarus throws error when trying to open an event procedure from the form

2019-05-12 Thread Ondrej Pokorny via lazarus
On 11.05.2019 23:57, Bo Berglund via lazarus wrote: Do I need to file a bug report or is this just a natural thing like restarting Windows to fix issues? It's already been reported: https://bugs.freepascal.org/view.php?id=35289 Ondrej -- ___ lazarus

Re: [Lazarus] TBitBtn image, how to make background transparent?

2019-05-13 Thread Ondrej Pokorny via lazarus
On 13.05.2019 22:36, Bo Berglund via lazarus wrote: I am trying to make a bitmap image for a TBitBtn button such that the background of the image will be transpoarent and therefore the button color will be visible. What OS and WidgetSet? If you are on win32 - AFAIR a PNG works just fine. Ondre

Re: [Lazarus] TBitBtn image, how to make background transparent?

2019-05-13 Thread Ondrej Pokorny via lazarus
On 13.05.2019 23:42, Bo Berglund via lazarus wrote: I have tried creating a png image (24x24 pixels) with a gray background equal to the shade at the bottom of the TBitBtn. When I assign this image as the glyph of the TBitBtn I can see the image square against the button since the button's gray c

Re: [Lazarus] TProgressbar moves slowly, is there a hidden setting for faster response?

2019-05-15 Thread Ondrej Pokorny via lazarus
On 15.05.2019 13:34, Bo Berglund via lazarus wrote: Why is the TProgressBar doing this when the TTrackBar I used before displays an instant move? Because WinAPI developers wanted it so - the drawing of TProgressBar is fully in charge of the OS. Ondrej -- ___

Re: [Lazarus] TProgressbar moves slowly, is there a hidden setting for faster response?

2019-05-15 Thread Ondrej Pokorny via lazarus
On 15.05.2019 17:11, Bo Berglund via lazarus wrote: On Wed, 15 May 2019 13:38:19 +0200, Ondrej Pokorny via lazarus wrote: Because WinAPI developers wanted it so - the drawing of TProgressBar is fully in charge of the OS. Strangely just discovered that the progressbar is painted "fast e

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.07.2019 17:46, Michael Van Canneyt via lazarus wrote: The IDE now has proper support for Project groups. Hello, I started to use Project groups and also added the .lpg file to my repository. I found out that the XML format is unusual (wrong). The nodes are not subnodes to :      

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.08.2019 12:23, Mattias Gaertner via lazarus wrote: I suggest to fix the old file format without backwards-compatibility:             That would mean that the Compile flags for build modes get lost and the user must set them again. Are you fine with it? (

Re: [Lazarus] It is a beautiful day...

2019-08-11 Thread Ondrej Pokorny via lazarus
On 11.08.2019 13:12, Mattias Gaertner via lazarus wrote: On Sun, 11 Aug 2019 12:54:48 +0200 Ondrej Pokorny via lazarus wrote: The issue is that the new format is done with forwards-compatibility so that people can decide if they want to open the new file in an older Lazarus version. (The

[Lazarus] Project Groups are saving LPI files

2019-08-15 Thread Ondrej Pokorny via lazarus
Hello (Mattias)! Project groups are saving my LPI files upon loading the project group. This is a problem because they resave LPIs without BOM and then all LPIs are marked as modified in SVN because they were saved with BOM. (Lazarus IDE saves my project files with BOM.) I searched the reaso

Re: [Lazarus] Project Groups are saving LPI files

2019-08-28 Thread Ondrej Pokorny via lazarus
On 17.08.2019 16:53, Mattias Gaertner via lazarus wrote: On Thu, 15 Aug 2019 13:43:58 +0200 Ondrej Pokorny via lazarus wrote: [...] Project groups are saving my LPI files upon loading the project group. Huh? Do you really mean, merely opening a lpg touches some lpi files? Yes, this is

Re: [Lazarus] Project Groups are saving LPI files

2019-08-31 Thread Ondrej Pokorny via lazarus
On 28.08.2019 09:23, Ondrej Pokorny via lazarus wrote: On 17.08.2019 16:53, Mattias Gaertner via lazarus wrote: On Thu, 15 Aug 2019 13:43:58 +0200 Ondrej Pokorny via lazarus wrote: [...] Project groups are saving my LPI files upon loading the project group. Huh? Do you really mean, merely

[Lazarus] LazDataDesktop: transaction handling

2019-09-04 Thread Ondrej Pokorny via lazarus
Hello (Michael)! I started to use LazDataDesktop because PgAdmin4 is horrible. I have a problem with transactions with Postgres connection (well I tested only Postgres connection). I found out that when using the SQL editor, I can type "COMMIT" and "ROLLBACK" - so far so good. (Well I would

Re: [Lazarus] LazDataDesktop: transaction handling

2019-09-04 Thread Ondrej Pokorny via lazarus
On 05.09.2019 8:20, Michael Van Canneyt via lazarus wrote: The grid was never meant to be editable. I simply forgot to disable that. (I myself never ever edit in a grid, it didn't appear in my head that someone would do this) But I will : a) Add the sqoAutoApplyUpdates option. b) Add buttons for

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-01 Thread Ondrej Pokorny via lazarus
On 01.11.2019 23:03, Martin Frb via lazarus wrote: Well and a "autosave" feature might be nice, but needs to be written... The project is always automatically saved when you compile it. Ondrej -- ___ lazarus mailing list lazarus@lists.lazarus-ide.or

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Ondrej Pokorny via lazarus
On 02.11.2019 11:23, Michael Van Canneyt via lazarus wrote: TStrings has a property     property Values[const Name: string]: string read GetValue write SetValue; The setter is defined as: procedure SetValue(const Name, Value: string); Note that both arguments are 'const' When adding a new

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Ondrej Pokorny via lazarus
On 03.11.2019 17:49, Sven Barth via lazarus wrote: Ondrej Pokorny via lazarus <mailto:lazarus@lists.lazarus-ide.org>> schrieb am So., 3. Nov. 2019, 11:21: On 02.11.2019 11:23, Michael Van Canneyt via lazarus wrote: > TStrings has a property > >     property

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Ondrej Pokorny via lazarus
On 03.11.2019 23:31, Sven Barth via lazarus wrote: Maybe Michael should file a bug report then... (and I should collect my annoyances as well :P) Yes, that is definitely a good idea. I face myself 1-2 annoyances as well that I haven't fixed yet. Ondrej -- ___

[Lazarus] ProjectGroups: fixed LPG XML structure

2019-11-15 Thread Ondrej Pokorny via lazarus
Hello, I just fixed the XML structure of LPG project group files. Old files will be loaded correctly but the new LPG file cannot be opened in a legacy Lazarus installation. AFAIK project groups are usable only in trunk so this does not matter (?) Otherwise we would need some legacy option ch

Re: [Lazarus] ProjectGroups: fixed LPG XML structure

2019-11-15 Thread Ondrej Pokorny via lazarus
On 15.11.2019 21:53, Mattias Gaertner via lazarus wrote: On Fri, 15 Nov 2019 21:29:10 +0100 Ondrej Pokorny via lazarus wrote: Hello, I just fixed the XML structure of LPG project group files. What was the bug? 1.) The elements were not placed within the element. 2.) I updated the

Re: [Lazarus] Patch for Screen.BeginWaitCursor

2020-02-23 Thread Ondrej Pokorny via lazarus
Where is the patch? Maybe you forgot to attach it? Ondrej -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Multiple type helpers not support by CodeTools

2020-02-28 Thread Ondrej Pokorny via lazarus
On 28.02.2020 17:59, Anthony Walter via lazarus wrote: I was creating a library with uses the new {$modeswitch multihelpers} with multiple type helpers and it would seems CodeTools has not been updated to support this switch or the functionality of multiple type helpers per type. When you use t

[Lazarus] MDI support for win32

2020-02-28 Thread Ondrej Pokorny via lazarus
Hello, I added MDI support for win32 based on patch by Kostas Michalopoulos: https://bugs.freepascal.org/view.php?id=36582 Please report any regressions or problems. Ondrej -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.laz

Re: [Lazarus] IDE trunk cannot build on fpc 3.0.2

2020-03-19 Thread Ondrej Pokorny via lazarus
On 27.02.2020 10:03, Juha Manninen via lazarus wrote: On Thu, Feb 27, 2020 at 7:59 AM Michael Thompson via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: >> On Tue, Feb 25, 2020 at 8:05 PM AlexeyT wrote >> pkgmanager.pas(77,78) Error (5000) Id not found TObjectArray$2 I'm h

Re: [Lazarus] IDE trunk cannot build on fpc 3.0.2

2020-03-20 Thread Ondrej Pokorny via lazarus
On 20.03.2020 12:05, Juha Manninen via lazarus wrote: On Thu, Mar 19, 2020 at 10:11 AM Ondrej Pokorny via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: It is really frustrating when this happens every 10 minutes :/ I really don't see a point to change working code

Re: [Lazarus] ApplicationProperties

2020-03-21 Thread Ondrej Pokorny via lazarus
On 21.03.2020 14:11, Michael Van Canneyt via lazarus wrote: The TApplicationProperties component provides access to the TApplication events and properties. It is missing OnActionExecute. Can this be added or is there a reason for not adding it ? Surely it can be added. Should I file an issu

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Ondrej Pokorny via lazarus
On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really closes "all". Hello, yes this difference is by design. To close the

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Ondrej Pokorny via lazarus
On 23.03.2020 10:59, Michael Van Canneyt via lazarus wrote: On Mon, 23 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Ondrej Pokorny via lazarus
On 23.03.2020 20:26, Michael Van Canneyt via lazarus wrote: Well, I think it does need to be closed from time to time. Namely: I want to be sure that all is closed before doing an svn update or git pull. Although many bugs have been fixed, still from time to time when you do an update of files

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Ondrej Pokorny via lazarus
On 24.03.2020 9:08, Michael Van Canneyt wrote: So as far as I am concerned, the case for actually closing everything still stands. I though "Close Project" does the thing, or isn't this good enough? Ondrej -- ___ lazarus mailing list lazarus@lists.l

Re: [Lazarus] Enhancements to ToDoList

2020-03-31 Thread Ondrej Pokorny via lazarus
On 31.03.2020 14:33, Kevin Jesshope via lazarus wrote: Is it best submitted via the bug tracker as one large patch or a separate patch per file in a compressed archive? Best is several patches separated by features and refactorings. Ondrej -- ___ la

Re: [Lazarus] TComboBox.ReadOnly

2020-05-01 Thread Ondrej Pokorny via lazarus
On 01.05.2020 23:36, Juha Manninen via lazarus wrote: I applied my own patch. It removes the deprecated published property so it will be gone in Lazarus 2.2. A public ReadOnly property remains but is cannot be assigned any more. Thus ReadOnly property is itself readonly. :) Please test. From

Re: [Lazarus] TComboBox.ReadOnly

2020-05-02 Thread Ondrej Pokorny via lazarus
On 02.05.2020 09:00, Juha Manninen via lazarus wrote: On Sat, May 2, 2020 at 9:09 AM Ondrej Pokorny via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: From what I can see the ReadOnly property is still published. I would remove it completely, there is no reason to h

Re: [Lazarus] TComboBox.ReadOnly

2020-05-02 Thread Ondrej Pokorny via lazarus
On 02.05.2020 16:15, Juha Manninen via lazarus wrote: On Sat, May 2, 2020 at 11:37 AM Ondrej Pokorny via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: Yes, sorry - you are right. I missed that. I would just remove it. Ok, I removed it in r63112. Great, thank you, Juha!

Re: [Lazarus] Hide in "code completion" text non involved in code (not stated)

2020-05-03 Thread Ondrej Pokorny via lazarus
On 03.05.2020 20:22, Mattias Gaertner via lazarus wrote: On Sun, 3 May 2020 18:41:54 +0200 Salvatore Coppola via lazarus wrote: Hi, is there a way to avoid listing the items labeled with "text" in "code completion"? See the attached screenshot Settings: IDE Options / Codetools / Identifier Co

Re: [Lazarus] How many timers available on Linux (Raspberry Pi)?

2020-07-22 Thread Ondrej Pokorny via lazarus
On 22.07.2020 11:44, Michael Van Canneyt via lazarus wrote: Probably the NNTP mirror is still using the old address in that case. Unfortunately, I don't know who maintains it... I do not maintain it, but I requested an email address update for the lazarus mailing list on https://admin.gmane.io

Re: [Lazarus] TColor and Alpha channel support

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 13:33, Mattias Gaertner via Lazarus wrote: The idea is to use the FPColor property for alpha, but that is not implemented yet by the LCL interfaces. Hmm, I wonder how hard it would be... Speaking from my experince, nearly impossible :( It doesn't really make sense for me anyway b

Re: [Lazarus] TColor and Alpha channel support

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 14:15, Mattias Gaertner via Lazarus wrote: On Mon, 26 Sep 2016 13:09:30 +0100 Graeme Geldenhuys via Lazarus wrote: [...] The idea is to use the FPColor property for alpha, but that is not implemented yet by the LCL interfaces. Hmm, I wonder how hard it would be... Does that als

Re: [Lazarus] TColor and Alpha channel support

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 14:41, Mattias Gaertner via Lazarus wrote: On Mon, 26 Sep 2016 14:25:14 +0200 Ondrej Pokorny via Lazarus wrote: [...] In this case maybe this property pair would be more appropriate (?): Color := ...; Alpha := ...; // property Alpha: Byte A property "Alpha" sounds li

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 16:01, Aradeonas via Lazarus wrote: Hi, In Lazarus 1.6 when I used code creation for procedures and events they will be made in private part of class and I had an option in Codetool named "Insert new event methods to section" but now in Lazarus trunk I cant find that and methods

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 16:34, Aradeonas via Lazarus wrote: Thanks Ondrej but Ctrl+Shift+X will show the message and I set it on private but problem is how can I set Ctrl+Shift+c default? You cannot. +C is always without dialog (predefined hard-coded settings), whereas +X is always with dialog. Also I

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 16:45, Aradeonas via Lazarus wrote: > I want my old behavior back, its a pain to see a dialog every time. Well not a pain for me. But you can raise a discussion about the default section for methods for +C. I always use +X for methods; the same if I want to declare an object varia

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 17:01, Aradeonas via Lazarus wrote: Cause we had an option before, can we have it back for Ctrl+C ? just like 1.6 and no hard coded option so anyone can choose what he like? Well I don't know if we should make an option for every tiny feature that can be easily compensated with a

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 18:45, Mattias Gaertner via Lazarus wrote: On Mon, 26 Sep 2016 16:26:06 +0200 Ondrej Pokorny via Lazarus wrote: On 26.09.2016 16:01, Aradeonas via Lazarus wrote: Hi, In Lazarus 1.6 when I used code creation for procedures and events they will be made in private part of class

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 19:10, Aradeonas via Lazarus wrote: I dont know who changed it but here is a screen shot from 1.6 I implemented the option in 1.5 trunk and I extended it in 1.7. During this extension I decided to delete the option because now there are much more options and it doesn't make sens

Re: [Lazarus] New methods code creation

2016-09-26 Thread Ondrej Pokorny via Lazarus
On 26.09.2016 20:24, Mattias Gaertner via Lazarus wrote: I personally prefer to use private as default. I will add the option. Good. I add most methods to the private section as well. It looks like more people do: http://mantis.freepascal.org/view.php?id=13994 :) Ondrej -- __

Re: [Lazarus] TLazIntfImage.Assign ?

2016-09-29 Thread Ondrej Pokorny via Lazarus
On 29.09.2016 10:01, Juha Manninen via Lazarus wrote: On Wed, Sep 28, 2016 at 8:39 AM, LacaK via Lazarus wrote: Why we set Desc.Width and Height to 0 and later we do not use "Desc" , but "Src.DataDescription" ? Yes, now the Desc is unused and DataDescription is assigned as is. What could be th

Re: [Lazarus] lazarus 1.6+fpc 2.6.4, win32, crashes in iphtml.pas

2016-09-30 Thread Ondrej Pokorny via Lazarus
On 30.09.2016 12:27, Luca Olivetti via Lazarus wrote: If I compile the old turbopower_ipro with this directive (even if it doesn't need it) it doesn't work (the information box doesn't show anything, though I didn't manage to crash lazarus yet), while if I rewrite the new iphtml.pas in order to

Re: [Lazarus] lazarus 1.6+fpc 2.6.4, win32, crashes in iphtml.pas

2016-09-30 Thread Ondrej Pokorny via Lazarus
On 30.09.2016 12:57, Luca Olivetti via Lazarus wrote: El 30/09/16 a les 12:51, Ondrej Pokorny via Lazarus ha escrit: On 30.09.2016 12:27, Luca Olivetti via Lazarus wrote: If I compile the old turbopower_ipro with this directive (even if it doesn't need it) it doesn't work (the infor

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Ondrej Pokorny via Lazarus
On 02.10.2016 14:39, Aradeonas via Lazarus wrote: Can I have or make helper for arrays? like making Count property so I can use it instead of Length ? Yes, you can. FPC 3.0 supports it and Lazarus CodeTools support them as well. Ondrej -- ___ Lazar

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Ondrej Pokorny via Lazarus
On 02.10.2016 16:00, Aradeonas via Lazarus wrote: I know I can make helper for array of integer This is what I thought you want to. but I want some helpers for all type of arrays. Hmmm :( I don't know either. Maybe you can raise a discussion / feature request in the fpc-devel mailing list

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Ondrej Pokorny via Lazarus
On 03.10.2016 19:01, Michael W. Vogel via Lazarus wrote: Hi, we want to discuss a bug report http://bugs.freepascal.org/view.php?id=25554 here, not in Mantis (hope, I understand Bart right). Today, the TPageControl.OnChange event behave different in Lazarus than in Delphi. In Delphi it is o

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-05 Thread Ondrej Pokorny via Lazarus
On 05.10.2016 11:37, Michael W. Vogel via Lazarus wrote: But I'm not sure, would such a property be accepted by the Lazarus developer? I am against. LCL is designed to be Delphi-compatible so the default events are what they are and they behave how they behave. Furthermore it would be quite

Re: [Lazarus] TThread.Synchronize

2016-10-25 Thread Ondrej Pokorny via Lazarus
On 25.10.2016 13:21, LacaK via Lazarus wrote: I have form on which is button. When user clicks button OnClick event handler is called (it is method of form). Processing of this method takes some time say 1 minute. In the background is operating another thread which every 10 seconds calls Synchr

Re: [Lazarus] TThread.Synchronize

2016-10-25 Thread Ondrej Pokorny via Lazarus
On 25.10.2016 14:12, LacaK via Lazarus wrote: I do not call CheckSynchronize nor ProcessMessages in my application. So only any LCL component or widget set can call it in background ? It should be easy for you to set a breakpoint into MyForm.MyMethod and check the call stack. Ondrej -- _

Re: [Lazarus] Online Package Manager

2016-10-28 Thread Ondrej Pokorny via Lazarus
Very nice work! On 28.10.2016 8:20, Balázs Székely via Lazarus wrote: Suggestions are welcome. Just a note: please mind the image policy of Lazarus - see trunk\images\README.txt (if you haven't done it already). Especially please keep track of image sources you use (e.g. in some kind of INF

Re: [Lazarus] LazarusIDE - Component Palette - OnMouseWheel

2016-10-28 Thread Ondrej Pokorny via Lazarus
On 28.10.2016 9:26, Sandro Cumerlato via Lazarus wrote: Hello, I've noticed that the Component Palette is not rendered properly after an OnMouseWheel event over it. Look at the attached image to see what I mean. Bart, maybe it's caused by your recent change of TPageControl.OnChange event (?)

Re: [Lazarus] Online Package Manager

2016-10-28 Thread Ondrej Pokorny via Lazarus
On 28.10.2016 9:56, Balázs Székely via Lazarus wrote: I only download/use free icons(free as a free beer :) ) Be aware that CC license is not "free as a free beer" :) from sites like this one: https://www.iconfinder.com/iconsets/32x32-free-design-icons It clearly states: "License: Free for co

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-04 Thread Ondrej Pokorny via Lazarus
On 03.11.2016 22:46, Michael W. Vogel via Lazarus wrote: 1. TextHint in Delphi is theme dependent and OS dependent (available for Windows Vista, Windows 7, or later), in Lazarus not. What is the desired behaviour? TextHint in Lazarus should be OS independent (it was decided long time ago). 2.

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-04 Thread Ondrej Pokorny via Lazarus
On 04.11.2016 10:38, Michael W. Vogel via Lazarus wrote: Thats also fine. So it can be implemented for TComboBox (as in Delphi) too. Yes, exactly. So for now, the speed and paint issue should be fixed, later the redesign. If the issue is a direct cause of introducing the TextHint property t

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-04 Thread Ondrej Pokorny via Lazarus
On 04.11.2016 13:16, Luiz Americo Pereira Camara via Lazarus wrote: In the last trunk, the slow issue is fixed regardless of usage of TextHint in TMemo or not. Fixed also not being reset after text changed / added I see that r53292, r53293 and r53296 are all about TextHint - all this code wil

Re: [Lazarus] Exception in OnResize event handler

2016-11-06 Thread Ondrej Pokorny via Lazarus
On 06.11.2016 13:03, Jürgen Hestermann via Lazarus wrote: BTW: The wording of the help is misleading. It says: "Common mistake: Keep in mind that ClientWidth and ClientHeight can change even when Width, Height stays the same" but it also says: "This event is triggered after the Width, Height

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-06 Thread Ondrej Pokorny via Lazarus
On 04.11.2016 16:18, zeljko wrote: On 11/04/2016 03:32 PM, Ondrej Pokorny via Lazarus wrote: On 04.11.2016 13:16, Luiz Americo Pereira Camara via Lazarus wrote: In the last trunk, the slow issue is fixed regardless of usage of TextHint in TMemo or not. Fixed also not being reset after text

Re: [Lazarus] Exception in OnResize event handler

2016-11-06 Thread Ondrej Pokorny via Lazarus
On 06.11.2016 16:24, Jürgen Hestermann via Lazarus wrote: Am 2016-11-06 um 16:08 schrieb Ondrej Pokorny via Lazarus: > On 06.11.2016 13:03, Jürgen Hestermann via Lazarus wrote: >> The wording of the help is misleading. >> It says: >> "Common mistake: Keep in

Re: [Lazarus] Fwd: Re: Exception in OnResize event handler

2016-11-07 Thread Ondrej Pokorny via Lazarus
Please send a patch through Mantis so that it can be reviewed and applied. It's useless to argue without a patch :) Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] ctrl-c code completion

2016-11-08 Thread Ondrej Pokorny via Lazarus
On 08.11.2016 14:49, Graeme Geldenhuys via Lazarus wrote: On 2016-11-08 13:14, Mattias Gaertner via Lazarus wrote: In this case codetools don't have enough information. Because it does not know the former connection. By why does it work if I do them one at a time. eg: Change the first interface

Re: [Lazarus] missing "LCLWidgetType" drop down menu

2016-11-09 Thread Ondrej Pokorny via Lazarus
On 09.11.2016 9:56, Michael Schnell via Lazarus wrote: Version 1.6 on Windows: Project -> Project Options -> Additions and Overrides -> Set "LCLWidgetType" -> Drop Down selection Value "fpgui". Sadly in my compiled "trunk" version 1.7 on Linux (revision 53324), the <"LCLWidgetType"> drop

Re: [Lazarus] missing "LCLWidgetType" drop down menu

2016-11-09 Thread Ondrej Pokorny via Lazarus
On 09.11.2016 11:16, Michael Schnell via Lazarus wrote: On 09.11.2016 10:01, Ondrej Pokorny via Lazarus wrote: Strange, here it is (Win10 - it shouldn't be OS-dependent). Please recheck. Graeme pointed me to the cause. I did not define the project as an "LCL project" (as this

Re: [Lazarus] persistent bookmarks in the IDE?

2016-11-09 Thread Ondrej Pokorny via Lazarus
On 09.11.2016 14:31, Graeme Geldenhuys via Lazarus wrote: Hi, Is it possible for Lazarus (trunk) to remember bookmark locations between restarts? Or save bookmarks per project? At the moment I loose all my bookmarks while doing a restart, or quickly switching to another project to lookup somet

<    1   2   3   4   5   >