Re: [Lazarus] LHelp memory leak

2021-02-15 Thread Juha Manninen via lazarus
On Mon, Feb 15, 2021 at 1:36 PM Juha Manninen wrote: > I downloaded Marco's CHM snapshots linked here: > https://forum.lazarus.freepascal.org/index.php/topic,52437.0.html > There are 2 updates from Andrey Sobol. I downloaded them, too. > Now I learned they are also in Lazarus binaries SVN

Re: [Lazarus] LHelp memory leak

2021-02-15 Thread Juha Manninen via lazarus
On Mon, Feb 15, 2021 at 2:16 PM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Some memory leaks were fixed FPC side, retest with a stable branch > compiler. > Ok, I was using FPC 3.2 release. Do you mean testing with the 3.2.1 fixes branch? BTW, people are anxiously

[Lazarus] LHelp memory leak

2021-02-15 Thread Juha Manninen via lazarus
I finally configured LHelp as a CHM help viewer in my development Lazarus. I downloaded Marco's CHM snapshots linked here: https://forum.lazarus.freepascal.org/index.php/topic,52437.0.html There are 2 updates from Andrey Sobol. I downloaded them, too. LHelp opens correctly, although slowly for

Re: [Lazarus] Lazarus configuration - portable between versions?

2021-02-07 Thread Juha Manninen via lazarus
LazarusDirectory tag indeed has version dependent paths. I don't remember what exactly it is used for. The Recent file lists are not important. They are updated dynamically and old entries will go away. So, you can copy the whole configuration if you do some minor editing. Juha --

Re: [Lazarus] Lazarus configuration - portable between versions?

2021-02-06 Thread Juha Manninen via lazarus
On Sat, Feb 6, 2021 at 1:00 PM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > By looking inside the file on my old installationm I see clearly that this > is > not the file I can modify, lots of version dependent paths inside... > What paths are version dependent? Juha --

Re: [Lazarus] How to find out which version of Lazarus was used to build last?

2021-01-23 Thread Juha Manninen via lazarus
On Sat, Jan 23, 2021 at 5:40 PM Luca Olivetti via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I know because I had to do it recently and the answer is: a lot. > And I wasn't even using a really old version (I last modified the > program 3 years ago). > That is unexpected. Was it related to

Re: [Lazarus] How to find out which version of Lazarus was used to build last?

2021-01-23 Thread Juha Manninen via lazarus
On Sat, Jan 23, 2021 at 4:02 PM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > And I do not want some auto-upgrade function launched from a newer Lazarus > destroy the sources if I need to go back to an earlier version. > There are no auto-upgrade functions. If a new library

Re: [Lazarus] How to find out which version of Lazarus was used to build last?

2021-01-23 Thread Juha Manninen via lazarus
On Sat, Jan 23, 2021 at 1:18 AM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I don't want to modify too much so I would like to use the same version > now... > How many and what kind of modifications are needed? All libraries try to stay backwards compatible. As a general

[Lazarus] Profiling with Valgrind and KCacheGrind

2021-01-10 Thread Juha Manninen via lazarus
I am profiling and optimizing code in Lazarus IDE. Valgrind profiler + KCacheGrind visualizer tool make a very nice combination. A picture of KCacheGrind in real action : https://photos.app.goo.gl/YGn3uiNgciWPKSGx7 KCacheGrind is part of KDE project and thus integrates well with KDE Plasma

Re: [Lazarus] Component-View Presets

2021-01-05 Thread Juha Manninen via lazarus
In r64336 I made the selected tab (PageIndex) persistent. I also added a test for define NoComponentListTreeExpand. Build Lazarus with it and the trees will not open as expanded. The define can be replaced with a proper option if you find a good place for it. Please test. Juha --

Re: [Lazarus] Component-View Presets

2021-01-04 Thread Juha Manninen via lazarus
On Sun, Jan 3, 2021 at 1:59 PM R.Smith via lazarus < lazarus@lists.lazarus-ide.org> wrote: > ..., but it is a pain in an otherwise flawless environment. > Lazarus project has over 2000 open bug reports, but yes it is *almost* flawless. :) Is there any way I could achieve that in a setting or

Re: [Lazarus] Issues getting sources from the repository

2020-12-26 Thread Juha Manninen via lazarus
On Sat, Dec 26, 2020 at 11:41 AM Лев Бронштейн via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hmmm... You are probably right. I recently changed my wifi router and > internet provider > It would be nice to know why only the FPC's Subversion installation is so sensitive. Now at least 3

Re: [Lazarus] Issues getting sources from the repository

2020-12-26 Thread Juha Manninen via lazarus
On Sat, Dec 26, 2020 at 2:49 AM Leyba Bronstain via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Somebody tell me pls, what happened? > It might be the same problem that I had earlier this year. On my Linux I got : svn: E120106: ra_serf: The server sent a truncated HTTP response body. again

[Lazarus] Feedback for a patch supporting of EUDC to PUA for Microsoft mapping

2020-12-16 Thread Juha Manninen via lazarus
Regarding issue : https://bugs.freepascal.org/view.php?id=38206 The latest patch for asiancodepagefunctions.inc compiles OK. Anybody who has knowledge of those encodings, please test and give feedback. I don't know how to test it myself. Regards, Juha --

Re: [Lazarus] TBitbtn

2020-12-15 Thread Juha Manninen via lazarus
On Mon, Dec 14, 2020 at 11:59 PM Larry Dalton via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I am trying to create a tcomponent that will be a tpanel with align set at > albottom that will have several tbitbtns, the first of which will be kind > bkclose. I want to set that button’s onclick

Re: [Lazarus] Package requirement dialog & OLPM ?

2020-12-12 Thread Juha Manninen via lazarus
On Sat, Dec 12, 2020 at 5:14 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > On my Mac, the "new package requirement" dialog shows the IDEIntf package > as an online > package (see attached screenshot req.png). As a result, I can't select it > without > 'installing'

Re: [Lazarus] Profiling with Valgrind

2020-12-09 Thread Juha Manninen via lazarus
There is another wiki page about Valgrind : https://wiki.freepascal.org/Debugging_with_Valgrind It is not very good. It does not even mention the callgrind tool. What more, the page name is "Debugging with Valgrind" while it should be "Profiling with Valgrind". If somebody wants to improve

Re: [Lazarus] Lazarus (idescout) cannot be compiled after 64182

2020-12-09 Thread Juha Manninen via lazarus
On Wed, Dec 9, 2020 at 4:39 PM Vojtěch Čihák via lazarus < lazarus@lists.lazarus-ide.org> wrote: > property Comps: TRegisteredComponentList read fComps; > > was removed (accidentaly? because the private field fComps is still there). > Oops, yes. I restored it in r64190. Regards, Juha --

Re: [Lazarus] Designer speedup, issue #37706, Sven Barth

2020-12-09 Thread Juha Manninen via lazarus
On Wed, Dec 9, 2020 at 2:56 AM Juha Manninen wrote: > I want to optimize function TPkgManager.GetUnitsAndDepsForComps. > Actually that function is OK. I finally understood what it does. In r64188 I changed MainIDE.PropHookPersistentAdded so that it gets dependencies only for the newly added

[Lazarus] Designer speedup, issue #37706, Sven Barth

2020-12-08 Thread Juha Manninen via lazarus
Partly inspired by issue https://bugs.freepascal.org/view.php?id=37706 I profiled Lazarus code with Valgrind to find what could cause such a slowdown in form designer. I didn't see any serious slowdown myself but clearly the designer eats more resources than it should. Registered components were

Re: [Lazarus] Is TForm.LastActiveControl working correctly?

2020-12-06 Thread Juha Manninen via lazarus
On Sun, Dec 6, 2020 at 1:22 PM frans via lazarus < lazarus@lists.lazarus-ide.org> wrote: > ActiveControl and lastActiveControl always point to the same control. > > Is this a bug or is my understanding of lastActiveControl wrong? > That is how it is implemented. It is set to ActiveControl

Re: [Lazarus] Issues with apps on Linux...

2020-11-30 Thread Juha Manninen via lazarus
On Mon, Nov 30, 2020 at 3:34 PM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I have two questions regarding Lazarus applications on Linux (Ubuntu > 18 Mate): > > 2) Is there a way to make forms transparent on Linux? > Using the AlphaBlend and AlphaBlendValue do not wor while

Re: [Lazarus] Issues with apps on Linux...

2020-11-30 Thread Juha Manninen via lazarus
On Mon, Nov 30, 2020 at 8:12 PM Andreas Schneider via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I also only learned this quite recently and was surprised by this, but > yes, that is unfortunately how it works on X11. Pasting basically asks > the application that "copied" it to get the

Re: [Lazarus] Profiling with Valgrind

2020-11-25 Thread Juha Manninen via lazarus
Actually it is : $ valgrind --tool=callgrind --instr-atstart=no ./lazarus & The tool must be defined there. I fixed the wiki page. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Profiling with Valgrind

2020-11-25 Thread Juha Manninen via lazarus
There is a wiki page about profiling, edited by many people: https://wiki.freepascal.org/Profiling It explains the usage of Valgrind among other profilers. There is a section: --- You can also profile only specific parts of your program. For example you can start the program with valgrind

Re: [Lazarus] Lazarus totally destroyed... :(

2020-11-20 Thread Juha Manninen via lazarus
On Fri, Nov 20, 2020 at 12:32 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > - Updated Lazarus from SVN. > - Lazarus no longer compiles (FPC 3.2) > > - Managed to fix that: > > home:~/lazarus> svn diff ide/ideoptionsdlg.pas > Index: ide/ideoptionsdlg.pas >

Re: [Lazarus] Default project ?

2020-11-19 Thread Juha Manninen via lazarus
On Wed, Nov 18, 2020 at 8:51 PM Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Especially since Lazarus crashes greatly if there is a problem with > the last project ... > Report all such crashes please. Test with Lazarus trunk and include a minimal test project to reproduce.

[Lazarus] Project Group error ?

2020-11-14 Thread Juha Manninen via lazarus
Regarding issue : https://bugs.freepascal.org/view.php?id=38011 People with easy access to Windows, please check if you can reproduce the problem? Regards, Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] AutoCommit

2020-11-13 Thread Juha Manninen via lazarus
On Fri, Nov 13, 2020 at 6:19 PM Larry Dalton via lazarus < lazarus@lists.lazarus-ide.org> wrote: > So we lose some backwards portability? > IIRC it has been called "forward compatibility" as opposed to "backward compatibility". Backward compatibility means your old code works in new versions of

Re: [Lazarus] RegisterWSComponent documentation?

2020-11-11 Thread Juha Manninen via lazarus
FYI, the TTreeView in LCL is custom drawn. It does not map to a native widget unlike LCL controls typically do. There are empty classes TWSCustomTreeView and TWSTreeView and I guess you can derive from them as Dmitry explained. Replacing the current TTreeView in LCL is not realistic though. Juha

Re: [Lazarus] Request for merge to 2.0

2020-11-03 Thread Juha Manninen via lazarus
On Tue, Nov 3, 2020 at 6:02 PM Martok via lazarus < lazarus@lists.lazarus-ide.org> wrote: > may I ask to merge rev 62042 into fixes_2_0 for the next patch release? > There was an attempt to merge it to 2.0.10 but conflicts prevented it. I did not study deeply how to solve them. There will be no

[Lazarus] Object Inspector, FValueFont and FDefaultValueFont

2020-10-26 Thread Juha Manninen via lazarus
Regarding issue : https://bugs.freepascal.org/view.php?id=37901 I improved the property name/value hints in OI. I had to comment out code that selects FValueFont or FDefaultValueFont. The relevant code is below. Q: How to get a font with negated color? Does it even make sense to tweak it? The

Re: [Lazarus] GUI for package dependency properties in Project Inspector

2020-10-03 Thread Juha Manninen via lazarus
Package dependencies = Required Packages node in the Project Inspector. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] GUI for package dependency properties in Project Inspector

2020-10-03 Thread Juha Manninen via lazarus
FYI In Lazarus trunk I implemented a GUI pane in Project Inspector, similar to what Package Editor has. Now only package dependencies have properties with GUI, the project member files have not. The GUI controls and some code are reused. Please test. Regards, Juha --

Re: [Lazarus] App for PinePhone

2020-08-30 Thread Juha Manninen via lazarus
On Sun, Aug 30, 2020 at 8:59 AM SteveG via lazarus wrote: > Dont mind if has to be QT5 / Gtk3 / fpGui / etc QT5 widgetset is rather complete and stable. AFAIK it does not require X11. That's the number 1 choice. GTK3 is still buggy and features are missing but it may be enough for some

Re: [Lazarus] weird error message

2020-08-21 Thread Juha Manninen via lazarus
On Fri, Aug 21, 2020 at 7:14 PM duilio foschi via lazarus wrote: > In Delphi you write > qryMain.AfterOpen:=TB_DPTAfterOpen; > > but whatever works is ok to me :) It works also with FPC when using {$mode delphi} Juha -- ___ lazarus mailing list

Re: [Lazarus] TextHint in TComboBox

2020-08-14 Thread Juha Manninen via lazarus
On Fri, Aug 14, 2020 at 9:32 AM Ondrej Pokorny via lazarus wrote: > Why have you removed the (FTextHint <> '') check in CanShowEmulatedTextHint? > Why should the emulated text hint be shown if there is none? It was restored later as I noticed the same error. First I planned to make it generic

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
On Thu, Aug 13, 2020 at 9:54 PM Ondrej Pokorny via lazarus wrote: > So for TMemo we need the emulated code, which works now with a minor bug > (the TextHint is not visible when the form is shown the first time). > Strangely the bug is present only in a themed application, not in an > unthemed

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
Please test with r63734. The 3-state type TEmulatedTextHintStatus and its thsChanging was needed after all. Should have tested still more. :( At least here it works now. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
On Thu, Aug 13, 2020 at 6:56 PM Vojtěch Čihák via lazarus wrote: > something went wrong. When I open IDE Options or Project Options and I click > on any item of TreeView, everything disappear. Content of the filter become > "(filter)". When I change it (i.e. non-empty string), content is back.

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
On Thu, Aug 13, 2020 at 6:50 PM Juha Manninen wrote: > AFAIK it is not emulated on Windows. LCL-Win32 reports LCLCapability > flag lcTextHint. Actually it is emulated for older Windows versions. function TWin32WidgetSet.GetLCLCapability has : ... lcTextHint: begin if

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
On Thu, Aug 13, 2020 at 6:40 PM Ondrej Pokorny via lazarus wrote: > Emulated TMemo.TextHint (r63708) works perfectly on Win32 (Windows 10). > I haven't checked your more recent changes. WinAPI doesn't support > TMemo.TextHint natively. AFAIK it is not emulated on Windows. LCL-Win32 reports

Re: [Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
On Thu, Aug 13, 2020 at 3:23 PM Ondrej Pokorny via lazarus wrote: > If I am not mistaken, TEdit has TextHint-emulation for WidgetSets > without native support. There is no reason why the same emulation > shouldn't work with TMemo. It does not. Actually it never worked. Nobody has tested it maybe

[Lazarus] TextHint in TComboBox

2020-08-13 Thread Juha Manninen via lazarus
Regarding issue : https://bugs.freepascal.org/view.php?id=30682 I added TextHint to TComboBox in r63731. QT5 now works with native TextHint, GTK2 with emulated one. Native support for Win32 is not implemented yet. Somebody please implement it. Other widgetsets that natively support this feature

Re: [Lazarus] SIGEGV crash when a hint displays under certain circumstances, qt5

2020-08-11 Thread Juha Manninen via lazarus
On Mon, Aug 10, 2020 at 12:21 PM Julius via lazarus wrote: > Hi, for anyone following this thread: it is fixed in Trunk. Good :) Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Treeview Question

2020-06-30 Thread Juha Manninen via lazarus
On Tue, Jun 30, 2020 at 2:10 AM Martin via lazarus wrote: > In Lazarus there seems to be no disabled property for nodes, ... It could be implemented in TreeNode. However property "Enabled" instead of "Disabled" would be more consistent with other controls. Juha --

Re: [Lazarus] Cannot find inc file from a registered package...

2020-06-26 Thread Juha Manninen via lazarus
On Thu, Jun 25, 2020 at 9:51 PM Bo Berglund via lazarus wrote: > On Wed, 24 Jun 2020 11:44:29 +0300, Juha Manninen via lazarus > wrote: > >I installed Indy10 and checked. "Include files (-Fi)" says : > > .;Core;Protocols;System > >So the System directory is

Re: [Lazarus] Cannot find inc file from a registered package...

2020-06-24 Thread Juha Manninen via lazarus
On Tue, Jun 23, 2020 at 10:40 PM Juha Manninen wrote: > Is the path containing the include file (Indy10\System or similar) in > Indy package's include search path? Bo, why don't you just answer my question? Juha -- ___ lazarus mailing list

Re: [Lazarus] Cannot find inc file from a registered package...

2020-06-23 Thread Juha Manninen via lazarus
On Tue, Jun 23, 2020 at 10:10 PM Bo Berglund via lazarus wrote: > I have added indylaz as a "Required Package" for the project but it > does not solve this problem even though it solved a few other Indy > related errors. Is the path containing the include file (Indy10\System or similar) in Indy

Re: [Lazarus] SQLdb Tab lost

2020-05-30 Thread Juha Manninen via lazarus
On Sat, May 30, 2020 at 1:17 PM Special via lazarus wrote: > On a Raspberry Pi 4B 4GB, I installed Lazarus Trunc with fpcupdeluxe. > All seemed well, but then I discovered the SQLdb tab is lost. So I > cannot compile my SQLite Applications. How to fix? Install package sqldblaz. > Version #

Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Juha Manninen via lazarus
On Sat, May 30, 2020 at 4:40 PM Brian via lazarus wrote: > Unless you have some reason to believe that the QT5 version of > fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already > tried this idea and still seen the same problem. Yes, I deleted back > EVERYTHING except for the

Re: [Lazarus] Keyboard mapping probelm

2020-05-29 Thread Juha Manninen via lazarus
On Fri, May 29, 2020 at 5:40 PM Bart via lazarus wrote: > It is a Lazarus/LCL/WS issue though, since other programs don't have that > issue. Yes, let's hope GTK3 bindings will be better. Now it is alpha but already usable for many applications. For Brian I recommend using QT5 bindings. It has

Re: [Lazarus] Keyboard mapping probelm

2020-05-28 Thread Juha Manninen via lazarus
On Thu, May 28, 2020 at 7:38 PM Brian via lazarus wrote: > Thanks, but I have also tried various .DEBs from Sourceforge (I think > I stated that in an earlier message, but not 100% certain) with no > change in the problem. The .deb packages provide a released version. If something is fixed in

Re: [Lazarus] IDE "Rename identifier" misfeature

2020-05-26 Thread Juha Manninen via lazarus
On Tue, May 26, 2020 at 10:49 AM Pascal Riekenberg via lazarus wrote: > Well, IDE doesn't check for conflicts. It's up to you! Actually it should check. There is also different pieces of code for different rename functions behaving a little differently. There are some related issues. See:

Re: [Lazarus] Fwd: Consulta sobre Lazarus Ide

2020-05-22 Thread Juha Manninen via lazarus
On Thu, May 21, 2020 at 8:12 PM Alexander Nava via lazarus wrote: > I have some questions: What are the actual questions? What means "... and nothing that allows us to port the application." The libraries that come with FPC and Lazarus are cross-platform. For example an LCL GUI application can

Re: [Lazarus] Lazarus crashes when opening project under conversion, how to fix?

2020-05-22 Thread Juha Manninen via lazarus
On Fri, May 22, 2020 at 12:39 AM Bo Berglund via lazarus wrote: > ... I get to an access violation and Lazarus crashes! That is bad. Please copy a compressed project which crashes the IDE. I will look at it. Juha -- ___ lazarus mailing list

[Lazarus] GTK3, OnKeyDown

2020-05-16 Thread Juha Manninen via lazarus
Strange. With LCL-GTK3 a Form.OnKeyDown handler is not called. The test app from issue : https://bugs.freepascal.org/view.php?id=37073 can be used. It has a splashscreen but have tested with a normal form, too. Same effect. The attached patch takes out a test if Widget^.has_focus then in

Re: [Lazarus] Keyboard mapping probelm

2020-05-16 Thread Juha Manninen via lazarus
On Sat, May 16, 2020 at 2:49 PM Brian via lazarus wrote: > I tried that. Now *every* keypress is duplicated. It was allegedly fixed in trunk r63089 less than 3 weeks ago. See: https://bugs.freepascal.org/view.php?id=30863 If nobody gets the duplicate key problem with trunk any more, that issue

Re: [Lazarus] Where to define conditionals for FPC

2020-05-11 Thread Juha Manninen via lazarus
On Fri, May 8, 2020 at 7:03 PM Bo Berglund via lazarus wrote: > > All of this works OK in Delphi 2007 when I use the GUI to set the > conditional variables. You must have separate projects for Delphi and Lazarus in any case. Maintaining those variables in the Delphi project should not be a

Re: [Lazarus] TComboBox.ReadOnly

2020-05-02 Thread Juha Manninen via lazarus
On Sat, May 2, 2020 at 11:37 AM Ondrej Pokorny via lazarus < 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. Juha -- ___ lazarus mailing list

Re: [Lazarus] TComboBox.ReadOnly

2020-05-02 Thread Juha Manninen via lazarus
On Sat, May 2, 2020 at 9:09 AM Ondrej Pokorny via lazarus < 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 have it anymore if it was > deprecated for 3 years. Not even in the public

Re: [Lazarus] TComboBox.ReadOnly

2020-05-01 Thread Juha Manninen via lazarus
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. Juha -- ___

[Lazarus] TComboBox.ReadOnly

2020-05-01 Thread Juha Manninen via lazarus
Regarding issue: https://bugs.freepascal.org/view.php?id=36978 TComboBox ReadOnly was deprecated in r55243 by Ondrej at 2017-06-05. No reason is mentioned but I believe it had good reasons. The deprecated message was updated in r59467 by Mattias at 2018-11-06. The deprecated message says: "use

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-15 Thread Juha Manninen via lazarus
On Wed, Apr 15, 2020 at 12:22 AM Erwin van den Bosch via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I build FPC 3.20 RC1 on my Kubuntu 19.10 and I can confirm that the > segfault does not happen anymore. I created a simple project with button > and opendialog and all worked fine. > > So

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-13 Thread Juha Manninen via lazarus
On Mon, Apr 13, 2020 at 10:01 PM Erwin van den Bosch via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Just did a fresh install of kubuntu 18.04 LTS and all my Lazarus QT5 > projects works fine. No access violation error on application close. So > there must be something wrong/incompatible

Re: [Lazarus] Online Package Manager question

2020-04-13 Thread Juha Manninen via lazarus
On Mon, Apr 13, 2020 at 8:47 PM silvioprog via lazarus < lazarus@lists.lazarus-ide.org> wrote: > What do you think about to create a new project "OPM" > at bugs.freepascal? ☺ This way, the package's author just opens an new > issue categorized with "OPM" providing steps/requirements he wants to >

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-11 Thread Juha Manninen via lazarus
On Sat, Apr 11, 2020 at 2:06 AM Martin Frb via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I haven't gotten to test gdb 8.3 myself yet. So I do not know how it > compares to other gdb versions. > gdb 8.3 is old! Manjaro has already version 9.1. Maybe it contributed to my solid debugging

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-10 Thread Juha Manninen via lazarus
On Fri, Apr 10, 2020 at 11:46 AM C Western via lazarus < lazarus@lists.lazarus-ide.org> wrote: > The current FPC 3.2.0RC1 / 2.0.8 release works fine for me, though I > would comment that debugging with gdb seemed particularly crash prone; I > am using: > > GNU gdb (GDB) Fedora

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-03 Thread Juha Manninen via lazarus
On Fri, Apr 3, 2020 at 11:35 AM Rolf Wetjen via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I wanted to ask for https://bugs.freepascal.org/view.php?id=35362 and > https://bugs.freepascal.org/view.php?id=36798. > OK, that makes more sense. :) Issue #35362 is a regression. If your patch

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-03 Thread Juha Manninen via lazarus
On Fri, Apr 3, 2020 at 10:58 AM Rolf Wetjen via lazarus < lazarus@lists.lazarus-ide.org> wrote: > can you please check for r35362 and r36798 and probably include them too? > Those are from February and April 2012. Eight years ago. Are you surely looking at Lazarus commit history? Juha --

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-02 Thread Juha Manninen via lazarus
On Thu, Apr 2, 2020 at 12:40 PM Luca Olivetti via lazarus < lazarus@lists.lazarus-ide.org> wrote: > It's not urgent (because I use my local copy with the patch) but there > is this: > > https://bugs.freepascal.org/view.php?id=35715 > I took care of it. It can safely be merged. Juha --

Re: [Lazarus] RFC: Selection Editors to extend handling of object inspector selections

2020-03-31 Thread Juha Manninen via lazarus
On Sun, Nov 10, 2019 at 11:26 PM Sven Barth via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I've got a RFC for a feature that allows to extend the IDE. It's based > on something that Delphi supports as well: Selection Editors. > I finally took a proper look at this. First remark without

Re: [Lazarus] Close all menu item ?

2020-03-27 Thread Juha Manninen via lazarus
On Tue, Mar 24, 2020 at 5:54 PM Juha Manninen wrote: > Ok, project inspector showing the closed project is clearly a bug. > I fixed this in r62813. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Juha Manninen via lazarus
On Fri, Mar 27, 2020 at 10:09 AM Anthony Walter via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I was looking at the Unity tray icon code I submitted a while back and it > had stopped working on my desktop environment. > David Bannon, forum name dbannon, made a version for GTK3 based on

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Juha Manninen via lazarus
On Tue, Mar 24, 2020 at 4:58 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Note the project inspector is still open, and the package editors as well. > Ok, project inspector showing the closed project is clearly a bug. Juha --

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Juha Manninen via lazarus
On Tue, Mar 24, 2020 at 11:39 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > To any normal human being, *Close All* means close *ALL*. > But when it is under File menu, it means "Close All Files". :-) -- ___ lazarus

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Juha Manninen via lazarus
On Tue, Mar 24, 2020 at 10:56 AM Ondrej Pokorny via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I though "Close Project" does the thing, or isn't this good enough? > +1 Exactly. As a bonus the editor files session of the closed project is remembered and reopened next time. Please remember

Re: [Lazarus] IdeIntf was split to BuildIntf

2020-03-24 Thread Juha Manninen via lazarus
On Tue, Mar 24, 2020 at 9:47 AM Juha Manninen wrote: > The easiest cure is to open components/buildide.lpk in the IDE. > Oops :( It should be "components/buildintf/buildintf.lpk" obviously. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] IdeIntf was split to BuildIntf

2020-03-24 Thread Juha Manninen via lazarus
IdeIntf package was refactored, non-GUI parts were moved to a new BuildIntf package. Commit r62795 by Mattias (although I did the actual split). Rebuilding the sources after r62795 using a Lazarus executable built before it gives an error. The old IDE does not know where the BuildInf package is.

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Juha Manninen via lazarus
On Mon, Mar 23, 2020 at 2:35 PM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Personally I hate the mandatory open project (or else the modal > options). E.g. you want to open a .lpk and you have to create a project > first to open the menu item. > Not really because a

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

2020-03-20 Thread Juha Manninen via lazarus
On Thu, Mar 19, 2020 at 10:11 AM Ondrej Pokorny via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Well, generics may cause an internal error on a simple compile. A clean > rebuild is needed to compile even after a small change. > It may be true when a generics class definition changes.

Re: [Lazarus] Question about TCheckBox

2020-03-16 Thread Juha Manninen via lazarus
On Mon, Mar 16, 2020 at 4:34 PM Jean SUZINEAU via lazarus < lazarus@lists.lazarus-ide.org> wrote: > May be you can create a new component class, based on TPanel, in which > you place a TCheckbox with empty text and a TLabel at the position you > want ? > For temporary use you could just anchor a

Re: [Lazarus] lazarus (2.0.6) on ubuntu 19.10 fails

2020-03-07 Thread Juha Manninen via lazarus
On Thu, Mar 5, 2020 at 3:15 PM Евгений Кадисов via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Lazarus writes that it compiles and builds with "sucess" but is 'unable to > run "/home/eugen/aux/lmarka/project1"' > Can you run the executable from console? If not, what is the error message?

[Lazarus] Application.Title and .Scaled automation + logic fix

2020-02-27 Thread Juha Manninen via lazarus
Application.Title in project's main unit is updated automatically based on a project title setting. Unchecking the option "Main unit has Application.Title statement" was originally meant as an alternative in case the automation failed. The text was misleading. If automation was turned off, the

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

2020-02-27 Thread Juha Manninen via lazarus
On Thu, Feb 27, 2020 at 7:59 AM Michael Thompson via lazarus < 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 hitting this error on Windows. fpc 3.0.4 > I built Lazarus with

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

2020-02-25 Thread Juha Manninen via lazarus
On Tue, Feb 25, 2020 at 8:05 PM AlexeyT via lazarus < lazarus@lists.lazarus-ide.org> wrote: > pkgmanager.pas(77,78) Error (5000) Id not found TObjectArray$2 > The line is: TPackagePackageArray = specialize TObjectArray; I turned TObjectArray into a generics container to reduce typecasts. It

Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread Juha Manninen via lazarus
On Tue, Feb 25, 2020 at 1:35 PM John Landmesser via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Use yay as user instead of pamac and most trouble with pamac are gone :-) I have used yay _once_ when installing drivers for a Brother printer by following written instructions. Anyway, good to

Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread Juha Manninen via lazarus
On Tue, Feb 25, 2020 at 11:53 AM Andrea Mauri via lazarus wrote: > I get the same error on MacOS There is a fix/workaround in r62671, commit by Ondrej this morning. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] svn update can't be compiled

2020-02-25 Thread Juha Manninen via lazarus
On Mon, Feb 24, 2020 at 10:22 PM John Landmesser via lazarus wrote: > For Manjaro (ArchLinux) i installed fpc-svn and fpc-src-svn from AUR > with yay and now i have a running: > > Lazarus 2.1.0 r62669 FPC 3.3.1 x86_64-linux-gtk2 I also run Manjaro Linux but I didn't know that AUR has FPC trunk.

Re: [Lazarus] svn update can't be compiled

2020-02-24 Thread Juha Manninen via lazarus
On Mon, Feb 24, 2020 at 5:24 PM John Landmesser via lazarus wrote: > Lazarus 2.1.0 r62571M FPC 3.0.4 x86_64-linux-gtk2 > ... > screen.inc(438,26) Error: Call by var for arg no. 1 has to match exactly: Got > "TScreen.{Dynamic} Array Of TCursor" expected "UnicodeString" It is reported :

Re: [Lazarus] IDE PackageManager crash on placing ATSynEdit on a form

2020-02-24 Thread Juha Manninen via lazarus
On Mon, Feb 24, 2020 at 1:21 PM AlexeyT via lazarus wrote: > https://forum.lazarus.freepascal.org/index.php/topic,48617.0.html See my forum post. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] Oracle support in FPC

2020-01-30 Thread Juha Manninen via lazarus
On Thu, Jan 30, 2020 at 12:07 PM Michael Van Canneyt via lazarus wrote: > That is indeed correct. Oracle support for Win64 appeared later than for > other platforms. I suspect a typo was made. Thanks! I fixed it. The same test was in 3 places. Juha --

[Lazarus] Oracle support in FPC

2020-01-30 Thread Juha Manninen via lazarus
Hello DB experts. Regarding issue https://bugs.freepascal.org/view.php?id=36635 What is the right compiler version test for Oracle support? FPC 3.0.2 maybe? Thus: {$IF FPC_FULLVERSION>=30002} Regards, Juha -- ___ lazarus mailing list

Re: [Lazarus] Which Lazarus version that uses FPC v3.2?

2020-01-30 Thread Juha Manninen via lazarus
On Thu, Jan 30, 2020 at 8:33 AM Mr Bee via lazarus wrote: > Which Lazarus version that uses FPC v3.2? Lazarus trunk? fixes? fixes2.0? "Trunk" and "fixes_2_0" are branches in Lazarus revision control system. You must download them and build yourself. You can use FPC which you build from their 3.2

Re: [Lazarus] Unneeded Paint calls from LCL

2020-01-15 Thread Juha Manninen via lazarus
On Mon, Jan 13, 2020 at 10:51 AM Marc Weustink via lazarus wrote: > IMO paint should be never called directly. When resizing, invalidate > should be called (so one pain message is issued after the resize) I understood that Paint gets called by LCL excessively when a form is created or shown.

Re: [Lazarus] Install packages dialog on MacOS

2019-12-14 Thread Juha Manninen via lazarus
On Fri, Dec 13, 2019 at 4:19 PM Michael Van Canneyt via lazarus wrote: > The 'Install packages' dialog has 2 edit boxes to filter the list of > installed or not yet installed packages. On MacOS, I can type in the left > edit field to filter the list of installed packages. But I cannot type in >

Re: [Lazarus] Gtk3 high resolution issues on Linux

2019-12-09 Thread Juha Manninen via lazarus
On Mon, Dec 9, 2019 at 7:48 PM Ryan Joseph via lazarus wrote: > no problems on gtk2. Is this a known issue on gtk3? I'm just starting from a > basic application > with a form and single button. The window size and the button size is wrong. LCL-GTK3 is still alpha. I guess it is just not

Re: [Lazarus] Gtk3 high resolution issues on Linux

2019-12-09 Thread Juha Manninen via lazarus
On Mon, Dec 9, 2019 at 4:29 PM Ryan Joseph via lazarus wrote: > I'm implementing the OpenGL control for Gtk3/Linux and noticed that on high > resolution display the widgets are all scaled wrong. Is this a known bug with > the Gtk3 widget? I have very limited Lazarus experience so I may be >

Re: [Lazarus] Find in files crashes Cinnamon

2019-11-16 Thread Juha Manninen via lazarus
Find in Files has some problem although it has not frozen the whole desktop earlier. There was a report from Jonas years ago: https://bugs.freepascal.org/view.php?id=24351 but it could not be reproduced and was finally resolved. There is also a more recent report:

Re: [Lazarus] Reworked ReadFileToString to support Linux virtual files

2019-11-09 Thread Juha Manninen via lazarus
On Fri, Nov 8, 2019 at 11:09 PM AlexeyT via lazarus wrote: > Last attached demo contains my reworked function (after the fix it works > pretty fast, i tested it). Can you apply at least this function? The > issue can be opened - issue is about IDE. The function is reworked to > support Linux

<    1   2   3   4   5   >