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 lazarus@lists.laz

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. Yes,

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 > th

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 implemen

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 > ove

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: https://bugs.freepascal.org/view

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 virtu

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Juha Manninen via lazarus
On Mon, Nov 4, 2019 at 7:18 AM Ondrej Pokorny via lazarus wrote: > 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 > we

[Lazarus] Size, bounds and style of a Form

2019-11-03 Thread Juha Manninen via lazarus
Regarding issue: https://bugs.freepascal.org/view.php?id=36127 "TForm's bounds and restored bounds are inconsistent" I have applied 2 patches by Joeny Ang already some time ago. No complaints so far, thus I am hopefull there are no regressions caused by them. The issue have many related issues. C

Re: [Lazarus] DBNavigator: why is the refresh button enabled only if the dataset is modifiable?

2019-10-16 Thread Juha Manninen via lazarus
On Wed, Oct 16, 2019 at 6:11 PM Luca Olivetti via lazarus wrote: > In lcl/include/dbcustomnavigator.inc, method > TDBCustomNavigator.EditingChanged > > CanModify:=Enabled and FDataLink.Active and FDataLink.DataSet.CanModify; > ... > Buttons[nbRefresh].Enabled:=CanModify; I don't know DBNavigator

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Juha Manninen via lazarus
On Wed, Oct 16, 2019 at 7:18 PM Werner Pamler via lazarus wrote: > Hmmh - I never thought about this, I always thought this is a "new > feature" and should stay in trunk. ATM, I cannot focus on merging VTV to > fixes. It isn't a show-stopper, isn't it? Not a show-stopper. If I remember right, it

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Juha Manninen via lazarus
On Wed, Oct 16, 2019 at 4:41 PM Werner Pamler via lazarus wrote: > I don't know what you are referring to, here. In r61814 I had added the > "System" namespace here in VTV because fpc 3.2+ has a Move method in > TCollection which conflicts with the old code. r61814 in fixes branch seems to a merg

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Juha Manninen via lazarus
On Sun, Oct 13, 2019 at 4:10 PM Luca Olivetti via lazarus wrote: > In my copy of lazarus 2.0.4 I have the fix for bug > https://bugs.freepascal.org/view.php?id=35716 I added it to the list to be merged for 2.0.6. > and the patch for the still opened > https://bugs.freepascal.org/view.php?id=3571

Re: [Lazarus] LCL Controls.pp needs 'inline'

2019-10-06 Thread Juha Manninen via lazarus
I inlined the non-deprecated one liners in r62000. BTW, ChangeBiDiModeAlignment is not a one liner. You must be careful with "inline". The effect may become negative if the function has more code. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-i

Re: [Lazarus] Merge request (Attn Juha)

2019-09-20 Thread Juha Manninen via lazarus
On Fri, Sep 6, 2019 at 7:17 PM Martin Frb via lazarus wrote: > Hi Juha, > can you have a quick look if this commit of yours can be merged to 2.0 branch? > r60719 IDE: Call DoCallBuildingFinishedHandler after ToolState is reset. > Issue #0035240 > > On 06/09/2019 12:33, Pascal Riekenberg via lazar

Re: [Lazarus] TLabel accelerator "&:" don't work since 2018

2019-08-22 Thread Juha Manninen via lazarus
On Sun, Aug 4, 2019 at 1:30 PM Alexey Tor. via lazarus wrote: > User of CudaText says that he sees not working accelerator (TLabel) for > ":" char in his addons (Label1.Caption:= "Enter string&:" ). That is an unusual accelerator, ':' requires Shift and that apparently does not work. It is not re

Re: [Lazarus] Running using lazbuild

2019-08-11 Thread Juha Manninen via lazarus
On Wed, Jul 24, 2019 at 7:33 PM Ryan Joseph via lazarus wrote: > Can the “lazbuild” tool be used to run a project exactly like if I press the > run button in Lazarus? > I have project which runs in Lazarus but doing “lazbuild project.lpi” gives > me errors suggesting it didn’t do exactly the sam

Re: [Lazarus] I found an AnchorDockingDsgn package bug?

2019-08-11 Thread Juha Manninen via lazarus
On Mon, Jun 17, 2019 at 12:43 AM Michael W. Vogel via lazarus wrote: > Can you please open a bug report on Mantis?! There is one opened by Andrew Zenin. https://bugs.freepascal.org/view.php?id=35242 Regards, Juha P.S. Sorry for answering an old post. I am reading them now after a pause. -- __

Re: [Lazarus] Mantis application error

2019-04-22 Thread Juha Manninen via lazarus
On Mon, Apr 22, 2019 at 12:30 PM Juha Manninen wrote: > Strange. Now I looked at the issue again and the note is there. > It got stored when I resolved the issue despite the error message. Ah damn, forget that. I was looking at a wrong issue. The note was not there but now I was able to add it be

Re: [Lazarus] Mantis application error

2019-04-22 Thread Juha Manninen via lazarus
Strange. Now I looked at the issue again and the note is there. It got stored when I resolved the issue despite the error message. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] FpDebug apps do not compile

2019-04-22 Thread Juha Manninen via lazarus
Also "components/fpdebug/test/dwarfviewer/" gives an error: Error: Illegal parameter: -WC Juha P.S. Sent the first mail too soon accidentally. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] FpDebug apps do not compile

2019-04-22 Thread Juha Manninen via lazarus
Are the projects under "components/fpdebug/app/" directory supposed to compile? They don't. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Mantis application error

2019-04-22 Thread Juha Manninen via lazarus
Oh boy. When resolving this issue: https://bugs.freepascal.org/view.php?id=35415 I also tried to include a note but got the error message below. The issue got resolved without the note. Trying to add the same note afterwards leads to the same error again. Maybe it will work again after 3600 second

Re: [Lazarus] Website/Mantis back online

2019-04-21 Thread Juha Manninen via lazarus
Thanks for the update! It is already MantisBT 2.20.0. I am OK with changed appearance. Life is about changes... I will study the details later. Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Bug when using frames

2019-04-15 Thread Juha Manninen via lazarus
On Mon, Apr 15, 2019 at 10:52 AM Michael Van Canneyt via lazarus wrote: > When you work with frames, you cannot change the frame in the designer when > the frame is used in other frames/forms. Maybe related to : https://bugs.freepascal.org/view.php?id=20026 or https://bugs.freepascal.org/view.p

Re: [Lazarus] Treeview bug

2019-04-15 Thread Juha Manninen via lazarus
On Mon, Apr 15, 2019 at 11:00 AM Michael Van Canneyt via lazarus wrote: > When you set Multiselect = True, the treeview (Linux, GTK) sends OnChange > messages with Nil node. > > procedure TCustomTreeView.OnChangeTimer(Sender: TObject); The name OnChangeTimer hints the handler is for a timer. Is i

Re: [Lazarus] Compilation error Lazarus r.60828

2019-04-04 Thread Juha Manninen via lazarus
On Thu, Apr 4, 2019 at 4:01 PM leyba bronstain via lazarus wrote: > Pls, fix it. Fixed. Please test with latest trunk. See also: https://bugs.freepascal.org/view.php?id=35310 Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://list

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

2019-03-24 Thread Juha Manninen via lazarus
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 files should also be changed. Namely: - RequiredPackages -

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

2019-03-17 Thread Juha Manninen via lazarus
On Mon, Mar 18, 2019 at 1:12 AM Werner Pamler via lazarus wrote: > I saw that you activated legacy compatibility mode by default, thank > you. But now the checkbox in the project options is out of sync. > Shouldn't it be checked now by default, too? Here it is checked now by default both in exist

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

2019-03-17 Thread Juha Manninen via lazarus
On Sun, Mar 17, 2019 at 2:08 PM Werner Pamler via lazarus wrote: > project. It would be a bit better if there were a global option of setting > the default for the compatibility box. > And I see more trouble: package lpk files still use the old format of > numbered nodes. When you once decide to

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

2019-03-17 Thread Juha Manninen via lazarus
On Sun, Mar 17, 2019 at 12:58 PM Werner Pamler via lazarus wrote: > I think we have a big mess now. This option must be ON at least until > the release of the next version. The way it is now the current release > version cannot read any project modified by trunk. That is perfectly OK because ther

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

2019-03-15 Thread Juha Manninen via lazarus
On Fri, Mar 15, 2019 at 7:09 PM Alexey via lazarus wrote: > Great, thanks. I hope that old files will be read ok and then saved to new > format. I hope so, too. :) Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-i

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

2019-03-15 Thread Juha Manninen via lazarus
On Fri, Mar 15, 2019 at 6:35 PM Mattias Gaertner via lazarus wrote: > Sadly, it fails with some tools and I have to open projects in > Lazarus 2.0. Is it possible to store some projects in the old format? Yes, there is option : Maximize compatibility of project files (LPI and LPS) in Project Op

[Lazarus] New XML format for project info files

2019-03-15 Thread Juha Manninen via lazarus
I finally changed the XML format for Lazarus projects. It means the list of units and buildmodes etc. The format was not ideal because adding or removing an item resulted a big diff and potential merge problems. See this report for details: https://bugs.freepascal.org/view.php?id=22752 The patch i

Re: [Lazarus] Universal FontDialog for LCL

2019-03-08 Thread Juha Manninen via lazarus
On Fri, Mar 8, 2019 at 1:01 PM Alexey via lazarus wrote: > Juha, I wanted to hook new dialog (ok, separate component) into TFontDialog. I also feel a separate dialog, TLazFontDialog or whatever, is better. It should be put into a package and then provided through OPM. I think you should create a

Re: [Lazarus] How to increase the font size of the content of Project Inspector

2019-03-08 Thread Juha Manninen via lazarus
Sorry for the late reply. On Wed, Jan 16, 2019 at 5:42 AM Anthony Walter via lazarus wrote: > Get it from here: > https://github.com/sysrpl/Lazarus.AppExplore The best way is to get it from the Online Package Manager in Lazarus. I guess Anthony has provided it there. I tested now with a non-dock

Re: [Lazarus] Universal FontDialog for LCL

2019-03-08 Thread Juha Manninen via lazarus
On Thu, Mar 7, 2019 at 3:09 PM zeljko via lazarus wrote: > Not as default TFontDialog. Maybe as TLazFontDialog or similar. +1 AlexeyT, what is wrong in having a separate component for those who need it? If the current native dialogs have bugs (Carbon etc.) they should be fixed obviously. That is

Re: [Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-06 Thread Juha Manninen via lazarus
The implementation part is missing "stdcall;" You also need to match the parameters and return types of functions between interface and implementation parts. Actually the implementation part is not needed (I think). Just give the external DLL name in the interface. Juha -- ___

Re: [Lazarus] TIFF in LazIntfimage.pas

2019-02-08 Thread Juha Manninen via lazarus
On Fri, Feb 8, 2019 at 11:23 AM AlexeyT via lazarus wrote: > Why not split TIFF classes from %subj% into new unit? This allows to > skip using of this unit by define DisableLCLTIFF. What is the benefit? Saving mamory maybe? Juha -- ___ lazarus mailing

Re: [Lazarus] How to increase the font size of the content of Project Inspector

2019-01-15 Thread Juha Manninen via lazarus
On Tue, Jan 15, 2019 at 3:38 PM Anthony Walter via lazarus wrote: > Try doing this: > https://cache.getlazarus.org/videos/font-size.mp4 Wow, actually it is a very handy addon! Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://list

Re: [Lazarus] How to increase the font size of the content of Project Inspector

2019-01-14 Thread Juha Manninen via lazarus
It is Tools > Options > Editor > Display but there you can only adjust the font for code editor. The question was about Project Inspector. You cannot adjust the font size for such IDE windows. You can however use the scaling features of your OS. Then all text in all application get bigger. Juha

Re: [Lazarus] Fwd: TRadioGroup not found error

2019-01-02 Thread Juha Manninen via lazarus
On Tue, Jan 1, 2019 at 4:44 AM Thomas Crone via lazarus wrote: > Errors seem to pop up, go away , and come back for no apparent reasons. (some > of that, > of course, could be windows problems…) It can also be that your Lazarus installation is screwed by some old leftover installations. Please r

Re: [Lazarus] BeginFormUpdate/EndFormUpdate should be public?

2018-12-24 Thread Juha Manninen via lazarus
On Mon, Dec 24, 2018 at 11:42 AM AlexeyT via lazarus wrote: > I dont think so. It is ATGroups component (in ATTabs repo). This call > is needed for me to hide flickering of controls. When ATGroups changes > Mode prop. W/o this call, i see how child panels rearrange for 0.N seconds. See what TCus

Re: [Lazarus] BeginFormUpdate/EndFormUpdate should be public?

2018-12-23 Thread Juha Manninen via lazarus
On Sun, Dec 23, 2018 at 6:57 PM AlexeyT via lazarus wrote: > > %subj - they are not public so I must use now dirty code: > > procedure DoControlLock(Ctl: TWinControl); > begin > {$ifdef fpc} > if Application.MainForm<>nil then > TFormHack(Application.MainForm).BeginFormUpdate; > {$else}

Re: [Lazarus] typo in LCL comment

2018-12-23 Thread Juha Manninen via lazarus
On Sun, Dec 23, 2018 at 6:48 PM AlexeyT via lazarus wrote: > {-- >procedure TCustomForm.BeginFormUpdate; > >Called after all children handles are created. > >

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-21 Thread Juha Manninen via lazarus
Was this a MLM Vibes advertisement all the time? Oh boy! Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-19 Thread Juha Manninen via lazarus
On Wed, Dec 19, 2018 at 5:58 PM Edivando via lazarus wrote: > I think it is a very worthwhile initiative to seek out stakeholders for a > restructuring of a new foundation that I have set as the main goal of the > community's interests. I am not sure if I understand the translation correctly. Any

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-18 Thread Juha Manninen via lazarus
On Wed, Dec 19, 2018 at 2:08 AM Michael Van Canneyt via lazarus wrote: > So if someone wants the job of webmaster/webdesigner: > he can have it. +1 Such a person would be important to raise the foundation's visibility and perception to a new level. I do not volunteer now for various reasons but I

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-18 Thread Juha Manninen via lazarus
On Wed, Dec 19, 2018 at 1:19 AM Michael Van Canneyt via lazarus wrote: > Of course it is, it's even in the menu. > https://foundation.freepascal.org/projects/pastojs Yes, sorry. Somehow I missed it. > I have not seen such a request. At least, I have no recollection of it. Maybe it was only me

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-18 Thread Juha Manninen via lazarus
On Wed, Dec 19, 2018 at 12:24 AM Jy V via lazarus wrote: > My donations still appears as active and I am happy with the current status: > > https://foundation.freepascal.org/projects/pastojs > https://foundation.freepascal.org/projects/webassembly-support Ah damn, it is listed as "Pascal to Javas

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-18 Thread Juha Manninen via lazarus
On Mon, Dec 17, 2018 at 9:17 PM Michael Van Canneyt via lazarus wrote: > Why do you need a separate crowdfunding effort, if the Free Pascal and > Lazarus foundation has been created specially for this ? Pas2JS was supported by the foundation more than any other project, if I understood right. Now

Re: [Lazarus] Bug on CodeTools to find unit using in `../path/unit.pas`

2018-12-09 Thread Juha Manninen via lazarus
On Sun, Dec 9, 2018 at 2:06 PM Marcos Douglas B. Santos via lazarus wrote: > Instead, can I add it on Search Path but using a macro or custom > definition, to get the path accordingly to Build Mode choose? Why? The "Other unit files (-Fu)" setting is part of Build Modes. You can set a different p

Re: [Lazarus] Donate function ShortenStringEx to LCL

2018-12-06 Thread Juha Manninen via lazarus
On Thu, Dec 6, 2018 at 12:40 PM AlexeyT via lazarus wrote: > I want to donate this func. it can truncate text on canvas with 3 modes: > dots at begin/ at middle of text/ at end of text. Tested in ATTabs demo. > Code-- > > https://github.com/Alexey-T/ATTabs/blob/master/attabs/attabs.pas#L894 Why i

Re: [Lazarus] Proud to announce..

2018-12-06 Thread Juha Manninen via lazarus
This is impressive. Yes. Thanks! Juha -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-28 Thread Juha Manninen via Lazarus
On Sun, Oct 28, 2018 at 1:50 AM Sven Barth via Lazarus wrote: > That something is pulling in unit Interfaces is proof that something tries to > use GUI units. So either find out what unit that is (it could either be one > of yours or maybe an Indy one) or try to set the LCLWidgetType to NoGUI.

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-27 Thread Juha Manninen via Lazarus
On Sat, Oct 27, 2018 at 7:11 PM Bo Berglund via Lazarus wrote: > In the converted Delphi project I started with a .dpr file that > contained all active code except for two units to read Ini files mor > easily and to create Unix style hashed passwords. When it > was done it still used the dpr file

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-27 Thread Juha Manninen via Lazarus
On Sat, Oct 27, 2018 at 4:35 PM Bo Berglund via Lazarus wrote: > Had to fix sections etc in the old dpr file so it now is a proper unit. You have a .lpr file in the Lazarus project, right? Not .dpr? > But once done it built OK and worked as expected in Ubuntu 18.04. > The stripped size of this p

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-27 Thread Juha Manninen via Lazarus
On Sat, Oct 27, 2018 at 2:03 PM Bo Berglund via Lazarus wrote: > I had LCL there as Required package, but I removed it. So you know how to remove a dependency! How did the LCL dependency come there if you created a console program? Juha -- ___ Lazarus

Re: [Lazarus] Lazarus tooltips do not work properly in Indy10 on Unix

2018-10-26 Thread Juha Manninen via Lazarus
BTW, what you call a tooltip is actually an identifier completion window. A tooltip is just a hint window for a ToolButton or similar. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus tooltips do not work properly in Indy10 on Unix

2018-10-26 Thread Juha Manninen via Lazarus
If a syntax is accepted by FPC then it should be accepted also by CodeTools. Please open a bug report with a minimal example code. Do not include units from Indy. Just reduce the problematic line into its simplest form that triggers the bug. Juha -- ___

Re: [Lazarus] Remove unmatched vars in published

2018-10-25 Thread Juha Manninen via Lazarus
Fabio Luis Girardi, if there is a systematic way to reproduce the error using the latest Lazarus (trunk or 2.0RC1) then please report in bug tracker. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/l

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 10:16 PM Brian via Lazarus wrote: > ... and errors from deep inside code libraries tend to throw me, > especially when it's object oriented code (yes, I'm that old). ValidUTF8String and Utf8EscapeControlChars are global functions. Nothing object oriented there. :) Looking

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 10:16 PM Brian via Lazarus wrote: > Maybe not, but my point is that I was running the 1.8.4 .DEBs from > SourceForge with no problems. Yes but you are confusing unrelated things now. You were running Lazarus 1.8.4 with no problems because it had only deprecated ValidUTF8St

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 8:52 PM Bo Berglund via Lazarus wrote: > I have always been using the tags list: > https://svn.freepascal.org/svn/lazarus/tags/ > and here are only immutable snapsots where I select the latest not set as RCx. > Is that a bad practice? It is not bad but I think using the HE

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 4:22 PM Bo Berglund via Lazarus wrote: > >Why old Lazarus 1.8.4? Why don't you use the new 2.0 branch? > Because it was the latest release tag I found... You found the release tag in fixes_1_8 branch? Ok, 2.0 has not been released yet but it will be soon(?). I dare to say

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 3:21 PM Brian via Lazarus wrote: > I can't speak for why other people won't do it, but before I retired, > I worked for a division of an extremely large company with a 'managed > PC' environment, where we were strictly forbidden to install anything > which could be regarded

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 1:19 PM Bo Berglund via Lazarus wrote: > No, I decided to go the route of checking out the release sources and > build from them. Needed the seed compiler 3.0.0 but advice here led me > to where that could be fetched (important: It must be the 64 bit seed > compiler!). Why

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 11:21 AM Brian via Lazarus wrote: > FWIW, all that I've done (using Ubuntu 18.04, but also with previous > versions of Ubuntu and Debian) is to lock all the FPC and Lazarus > packages against upgrade from the repositories. When a new version > comes out, I just download the

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 8:40 AM Brian via Lazarus wrote: > Just out of curiosity, might I ask how you feel about running the > .DEBs downloaded from SourceForge? Apparently you have not read the forum threads about the issues caused by .DEBs. :) There are literally hundreds of them. Here is one:

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Juha Manninen via Lazarus
On Wed, Oct 24, 2018 at 4:57 AM Teresa Williams via Lazarus wrote: > I have done this several times on opensuse Leap 14 and 15. Each time I have > had fpc installed first: is that what you meant? Or does the svn repository > include fpc now? Yes, FPC must be installed first. Version 3.02 is eno

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-23 Thread Juha Manninen via Lazarus
On Tue, Oct 23, 2018 at 8:43 PM Bo Berglund via Lazarus wrote: > lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus. Ubuntu's Lazarus package is faulty. Just get the sources directly from Subversion server and build them. svn co https://svn.freepascal.org/svn/lazarus/branches/fix

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Juha Manninen via Lazarus
On Fri, Oct 19, 2018 at 11:16 AM Ondrej Pokorny via Lazarus wrote: > Your settings revealed a bug in Gtk2 bindings. Patch is attached. Applied in r59325. It works now with GTK2. Very nice, thanks! Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus

Re: [Lazarus] IDE Restriction Browser layout patch

2018-10-19 Thread Juha Manninen via Lazarus
On Fri, Oct 19, 2018 at 8:55 AM AlexeyT via Lazarus wrote: > Patch adds BorderSpacing (6) for 3 main controls on the form. Applied in r59326. Thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo

Re: [Lazarus] IDE Scout issue

2018-10-14 Thread Juha Manninen via Lazarus
On Sun, Oct 14, 2018 at 7:55 PM Michael Van Canneyt via Lazarus wrote: > Most if not all commands in the editor are registered, but do not do > anything. The source editor simply looks up the key combination in the > commands, and then invokes the main menu. > The TIDECommand.Execute does method n

Re: [Lazarus] Scaling of menuitem icons

2018-10-14 Thread Juha Manninen via Lazarus
On Sun, Oct 14, 2018 at 10:10 AM Martin Schreiber via Lazarus wrote: > Do you use a delay? > https://userbase.kde.org/Spectacle#Screenshot_delay Yes I did. I tried all variations including the rectangular area that Vojtěch Čihák used. Strangely enough, I remember I could include menus in a screen

[Lazarus] Scaling of menuitem icons

2018-10-13 Thread Juha Manninen via Lazarus
Hi When higher DPI setting is used on Windows, Lazarus IDE appears to obey nicely. All icons are also scaled, together with texts. 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 abo

Re: [Lazarus] Compiler can't use pfcrc resource compiler

2018-10-11 Thread Juha Manninen via Lazarus
The revision I had in mind was r59269 which fixed a hickup about generating resources. It may not be relevant because it could not cause the error shown in your subject line. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.l

Re: [Lazarus] Compiler can't use pfcrc resource compiler

2018-10-11 Thread Juha Manninen via Lazarus
On Thu, Oct 11, 2018 at 5:37 AM Pedro Restrepo via Lazarus wrote: > Lazarus 2.1.0 That is trunk which is a "rolling" version. It changes all the time. We also need the revision. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://li

Re: [Lazarus] Package -> New Component ...

2018-09-29 Thread Juha Manninen via Lazarus
One clarification: The InitialDirectory for selecting images is set when the unit directory changes. Usually it is the package directory. When an icon is selected from another directory, the code relies on OS / widgetset to remember the new path and use it next time the dialog opens. It works with

Re: [Lazarus] Package -> New Component ...

2018-09-28 Thread Juha Manninen via Lazarus
On Fri, Sep 28, 2018 at 12:34 PM Werner Pamler via Lazarus wrote: > Playing with the "New component" dialog a bit more I noticed that it is > possible to select a 32x32 image although the 24x24 button has been > pressed. My first thoughts were: Shouldn't the routine check for the > image size? But

Re: [Lazarus] Package -> New Component ...

2018-09-28 Thread Juha Manninen via Lazarus
One more issue: Are the labels 'Icon 24x24:', 'Icon 36x36:' and 'Icon 48x48:' good or should they mention the percentages 150% and 200%? I have the resizable button code ready and will comit it soon. Juha -- ___ Lazarus mailing list Lazarus@lists.lazar

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Juha Manninen via Lazarus
On Thu, Sep 27, 2018 at 3:19 PM Werner Pamler via Lazarus wrote: > Once all images are loaded into the dialog the 32x32 and 48x48 images > are truncated because the three buttons have the same size. Wouldn't it > be better to adapt the size of the buttons to the size of the images, or > make the b

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Juha Manninen via Lazarus
On Thu, Sep 27, 2018 at 2:13 AM Maxim Ganetsky via Lazarus wrote: > Hurrying and rushing features at the last moment is never good. Chances > are the dialog will have regressions and it may turn out that further > significant rework will be needed. In general that is true. However my changes were

[Lazarus] Package -> New Component ...

2018-09-26 Thread Juha Manninen via Lazarus
Hello I improved the New Component feature and its GUI in r59170. Now it accepts 3 icons for different resolutions. The higher resolution icons will be picked automatically if their file names have '_150' and '_200' suffix. They can be selected manually, too. Parts of the GUI were dummy. For examp

Re: [Lazarus] Lazarus Release Candidate 1 of 2.0

2018-09-26 Thread Juha Manninen via Lazarus
On Wed, Sep 26, 2018 at 6:43 PM Andrea Mauri via Lazarus wrote: > I didn't tested on Lazarus 2.0 RC1. Well, this theread is about Lazarus 2.0 RC1. Maybe you should write about it elsewhere. Cocoa is under construction. It will not be stable in Lazarus 2.0. Juha -- __

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Juha Manninen via Lazarus
On Mon, Sep 24, 2018 at 11:51 AM Michael Van Canneyt via Lazarus wrote: > I applied a possible fix; Please test and report. The Subversion server and bug tracker are down. I will try later again. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-

Re: [Lazarus] IDE Spotter

2018-09-24 Thread Juha Manninen via Lazarus
Tested IDE Spotter on Linux / GTK2. Looks promising although it leaks memory. Regards, Juha --- Heap dump by heaptrc unit 4466835 memory blocks allocated : 800495659/813452344 4464534 memory blocks freed : 800391839/813341848 2301 unfreed memory blocks : 103820 True heap size : 4259840 True f

Re: [Lazarus] typo in IDE popup tooltip

2018-09-21 Thread Juha Manninen via Lazarus
On Fri, Sep 21, 2018 at 8:29 PM AlexeyT via Lazarus wrote: > function StringToColor( const S: shortstring ): TColor; > /home/user/lazarus/lcl/graphics.pp(1901,10) > Description > StringToColor > - given a colour name like 'Blue', returns the corresponding colour value > > --> fix to 'clBlue' o

Re: [Lazarus] Custom control with stepwise size adjustment

2018-09-20 Thread Juha Manninen via Lazarus
On Wed, Sep 19, 2018 at 3:29 PM gabor via Lazarus wrote: > How to properly create a control with step-size adjustment? You can override procedures CalculatePreferredSize and GetPreferredSize, defined in TControl. TWinControl has more virtual methods that you should check out. Juha -- __

Re: [Lazarus] IDE icon "defaults", old icon "browse"

2018-09-01 Thread Juha Manninen via Lazarus
On Sun, Sep 2, 2018 at 12:05 AM AlexeyT via Lazarus wrote: > Now fpc 3.0.4 shows ide compile err. Yes sorry. Fixed in r58814. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] IDE icon "defaults", old icon "browse"

2018-09-01 Thread Juha Manninen via Lazarus
On Sat, Sep 1, 2018 at 1:49 PM AlexeyT via Lazarus wrote: > new icon "defaults", pls use it also in: > - Obj Inspector - 2 "use default" buttons > - Messages window - "lazarus default" button Done in r58812 Juha -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] How do I export Lazarus IDE Options to a file to be used by another Lazarus

2018-08-08 Thread Juha Manninen via Lazarus
On Tue, Aug 7, 2018 at 7:01 PM Dennis via Lazarus wrote: > I have an old Lazarus with some changed settings in the Lazarus IDE options > (e.g. keyboard shortcut and editor coloring). > I have installed a new a Lazarus and would like to copy all those settings > from the old Lazarus. > How can I

Re: [Lazarus] new installation.

2018-08-01 Thread Juha Manninen via Lazarus
On Wed, Aug 1, 2018 at 10:36 PM Larry Dalton via Lazarus wrote: > I then tried to rebuild the ide, and now when I try to open it the splash > screen comes up and then disappears, closing out the application. Start the IDE from console and see the error message. Juha --

Re: [Lazarus] Unix Select Printer dlg: tab-order fix

2018-07-27 Thread Juha Manninen via Lazarus
On Fri, Jul 27, 2018 at 2:22 PM Maxim Ganetsky via Lazarus wrote: > The patch looks good, please apply it too. Ok, applied in r58641. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Unix Select Printer dlg: tab-order fix

2018-07-27 Thread Juha Manninen via Lazarus
On Thu, Jul 26, 2018 at 12:52 PM AlexeyT via Lazarus wrote: > this fixes weird tab-order. I applied this one in r58640. Thanks. I leave the i18n patch for Maxim. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.

Re: [Lazarus] Unix Printer Props dlg: empty Margins tab

2018-07-26 Thread Juha Manninen via Lazarus
On Thu, Jul 26, 2018 at 1:52 AM AlexeyT via Lazarus wrote: > this tab is a mistake, it is not filled in this dialog. Tiny patch > removes it. AFAIK- Unix CUPS don't support margins at all. I applied the patch in r58637. Thanks. Juha -- ___ Lazarus mai

Re: [Lazarus] TESTERS NEEDED / ALL PLATFORMS / COPY AND PASTE / Re: Copy to clipboard from synedit

2018-07-15 Thread Juha Manninen via Lazarus
On Sun, Jul 15, 2018 at 3:39 PM Vojtěch Čihák via Lazarus wrote: > 2) I don't know what is "Column Mode Selection" Alt-Shift with arrow keys select a column. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/

Re: [Lazarus] TESTERS NEEDED / ALL PLATFORMS / COPY AND PASTE / Re: Copy to clipboard from synedit

2018-07-15 Thread Juha Manninen via Lazarus
Amazing! It is clear when looking at your commit but I did not understand the clipboard issues enough when adding the workaround and GTK_REMOVE_CLIPBOARD_NULL define. I guess the define can be removed at some point. Martin, please do that when all is proven to work. Juha -- __

<    1   2   3   4   5   >