[Lazarus] Writing >1000 TBufDataset records to file is extremely slow

2017-03-26 Thread Werner Pamler via Lazarus
Trying to extend the import/export example of fpspreadsheet from a dBase table to a TBufDataset I came across this issue with TBufDataset: While data are posted to the database as quickly as usual writing to file takes extremely long if there are more than a few thousand records. Run the demo

Re: [Lazarus] Writing >1000 TBufDataset records to file is extremely slow

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 09:07 schrieb Marc Santhoff via Lazarus: I didn't count, but you make extensive use of the Random() function. Could that be the cause of slowness? No, Random() is called only while records are populated - this step is completed without any noticable delay. Time is measured af

Re: [Lazarus] Writing >1000 TBufDataset records to file is extremely slow

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 00:53 schrieb Howard Page-Clark via Lazarus: I can get small performance increases by - avoiding FieldByName() calls and using AppendRecord No, at least not for the issue I am referring to. Like in the answer to Marc's comment: This happens while the table is populated, but the

Re: [Lazarus] Writing >1000 TBufDataset records to file is extremely slow

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 10:13 schrieb LacaK via Lazarus: Try call FExportDataset.MergeChangeLog before: WriteLn('Saving...'); Does anything in your timing changed ? Ah - that's it. TBufDataset saves the records instantly now. Probably, this should go into the official wiki site for TBufDataset.

Re: [Lazarus] Strange problem compiling IDE

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 10:29 schrieb C Western via Lazarus: On 26/03/17 23:13, Martin Frb via Lazarus wrote: On 26/03/2017 22:11, C Western via Lazarus wrote: I am having a strange problem when compiling the IDE (current svn for both IDE and FPC). The compilation stops with Warning: Recompiling Ex

Re: [Lazarus] Writing >1000 TBufDataset records to file is extremely slow

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 10:59 schrieb LacaK via Lazarus: But now another issue is coming up: If I increase the number of records to 40,000 population of records slows down after about 10,000 records, speeds up again, and comes to an apparant stand-still for 32900 records. After waiting some time the r

Re: [Lazarus] Strange problem compiling IDE

2017-03-27 Thread Werner Pamler via Lazarus
Am 27.03.2017 um 21:37 schrieb C Western via Lazarus: But nevertheless, as mentioned in the beginning, I don't think that these files are the reason of the compilation issues that you mention. If that were true then anybody would have them - at least I don't. I can't claim to be an expert on th

Re: [Lazarus] Change in source editor behaviour ?

2017-03-30 Thread Werner Pamler via Lazarus
Am 30.03.2017 um 22:44 schrieb Michael Van Canneyt via Lazarus: Hello, I just updated my Lazarus - after quite some time (I was at 52983) to the latest SVN version (54501). It seems the editor behaviour regarding selection has changed. In a *major* annoying way, I might add. Before the upda

Re: [Lazarus] Online Package Manager

2017-03-31 Thread Werner Pamler via Lazarus
Am 31.03.2017 um 14:06 schrieb Alexey via Lazarus: GetMem, it would be very good, if all Json files, for components, will be hosted on one Github repo. Now they are distributed (on NNN servers, etc). You can make repo for them. Alexey I don't see any advantage. Someone (GetMem?, you?) would h

Re: [Lazarus] LCL Grids: AscImageIndex/DescImageIndex

2017-04-27 Thread Werner Pamler via Lazarus
Am 27.04.2017 um 16:48 schrieb Alexey via Lazarus: I like when props almost sorted by name. AscII / DescII will be not sorted, other props will mess it. So suggestion: names - SortAscImageIndex, SortDescImageIndex or - ImageIndexSortAsc, ImageIndexSortDesc Yes, this makes sense. Renamed to Ima

Re: [Lazarus] Wiki page "Unicode Support in Lazarus" improved

2017-05-13 Thread Werner Pamler via Lazarus
Am 13.05.2017 um 15:17 schrieb Juha Manninen via Lazarus: I have simplified and improved the page http://wiki.freepascal.org/Unicode_Support_in_Lazarus I tried to move relevant information to the top and remove duplicate information. For example there is a short "Usage" section with simple rul

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Werner Pamler via Lazarus
Am 17.05.2017 um 23:08 schrieb Andreas Frieß via Lazarus: I see with the last patches something goes wrong after r54880 with frames and grid (specially TsWorkSheetGrid). Lazarus claims, the is no valid parent and didnot load and crash. It is only happen if you use frames ? The trouble is, i ca

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Werner Pamler via Lazarus
An issue with the installer for 1.8RC1 32bit Windows (I hope it has not been discussed already...): the checkbox to create a desktop icob is disabled. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/laz

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Werner Pamler via Lazarus
Am 18.05.2017 um 00:41 schrieb Werner Pamler via Lazarus: Am 17.05.2017 um 23:08 schrieb Andreas Frieß via Lazarus: I see with the last patches something goes wrong after r54880 with frames and grid (specially TsWorkSheetGrid). Lazarus claims, the is no valid parent and didnot load and crash

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-19 Thread Werner Pamler via Lazarus
Am 18.05.2017 um 23:45 schrieb Werner Pamler via Lazarus: An issue with the installer for 1.8RC1 32bit Windows (I hope it has not been discussed already...): the checkbox to create a desktop icob is disabled. This happens when "Create a seconary installation" is checked. And I

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-27 Thread Werner Pamler via Lazarus
Am 27.05.2017 um 15:16 schrieb Luca Olivetti via Lazarus: El 19/05/17 a les 01:30, Werner Pamler via Lazarus ha escrit: Andreas, could you try r5868 of fpspreadsheet? I fixed a "Window has no parent" error with frames which had crept in, again... I just discovered that with thi

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-28 Thread Werner Pamler via Lazarus
Forum user "handoko" reports some issues with RC1 in http://forum.lazarus.freepascal.org/index.php/topic,37022.msg247603.html#msg247603 (and http://forum.lazarus.freepascal.org/index.php/topic,36907.msg247608.html#msg247608), among them the "double-keyboard" error under Ubuntu again. Maybe some

Re: [Lazarus] True/False in Object Inspector

2017-06-11 Thread Werner Pamler via Lazarus
Am 11.06.2017 um 22:04 schrieb Juha Manninen via Lazarus: I wonder what kapibara's problem was. Checkboxes never required a double-click. Comboboxes still work with it. ??? He probably had a very old Lazarus from the times when the OI displayed boolean values as true/false, without a checkbox

Re: [Lazarus] Comment about new LCL diff

2017-07-03 Thread Werner Pamler via Lazarus
Am 03.07.2017 um 14:37 schrieb Alexey via Lazarus: 1) name IsCanNNN, and even worse IsCanBeNNN. Pls rename to CanStartDragging 2) end of func: replace to Result:= not PtInRect(..); Done (r55428). -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.

Re: [Lazarus] Which HTML render component better?

2017-07-05 Thread Werner Pamler via Lazarus
Am 05.07.2017 um 14:08 schrieb Alexey via Lazarus: Which of these two: THtmlPort, TurboPower, is better rendering complex HTML files, with CSS included, etc? Seems THtmlPort wiki page is big, so it is better/bigger maybe? TurboPower is not ok at rendeding my homepage w/o JS (cannot test 2nd y

Re: [Lazarus] TAChart unit names

2017-07-06 Thread Werner Pamler via Lazarus
Am 07.07.2017 um 01:23 schrieb Alexey via Lazarus: @Werner, To make no confusions of unit names (with some other units from _big_ app) i suggest to rename all units in TAChart like: tachart_animatedsource tachart_types tachart_bgra tachart_geometry . with same prefix. AlexeyT Huuuh?

[Lazarus] Scaling of toolbar icons

2017-07-08 Thread Werner Pamler via Lazarus
Ondrej, you implemented scaling of the images used for the toolbar and menu of the IDE. Where can I find these methods? Are they available for standard imagelists for non-IDE usage? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lis

Re: [Lazarus] Scaling of toolbar icons

2017-07-09 Thread Werner Pamler via Lazarus
Am 09.07.2017 um 07:18 schrieb Ondrej Pokorny via Lazarus: On 09.07.2017 0:22, Werner Pamler via Lazarus wrote: Ondrej, you implemented scaling of the images used for the toolbar and menu of the IDE. Where can I find these methods? IDEImagesIntf.pas Are they available for standard

Re: [Lazarus] FCL DOM [vs] laz2_DOM, and more

2017-07-30 Thread Werner Pamler via Lazarus
Am 30.07.2017 um 10:29 schrieb Michalis Kamburelis via Lazarus: I often read UTF8 XML files (like X3D, Collada 3D models). But I don't want the "core" CGE to depend on LCL The Lazarus xml procedures are in package LazUtils which is a prerequisite for, but not part of, LCL. So, you can use thes

[Lazarus] Code outline feature of the IDE

2017-10-20 Thread Werner Pamler via Lazarus
The new outline feature of the IDE in Laz 1.8 and trunk is extremely helpful in locating code block inconsistencies. I cannot imagine how I could have lived without it in older versions. In my opinion, however, it is not always working correctly: A "for" loop with a "begin"/"end" block ("for .

Re: [Lazarus] Code outline feature of the IDE

2017-10-20 Thread Werner Pamler via Lazarus
Am 20.10.2017 um 14:05 schrieb Michael Van Canneyt via Lazarus: On Fri, 20 Oct 2017, Vojtěch Čihák via Lazarus wrote: I even didn't know this feature, but... so much colors, I almost collapsed :-) Personally, I disabled it at once. I find it more disturbing than helpful. This was my initial r

Re: [Lazarus] Who is using Object Pascal in production?

2017-10-29 Thread Werner Pamler via Lazarus
Am 29.10.2017 um 14:01 schrieb Carlos E. R. via Lazarus: B) Examples that work out of the box. ( when I choose examples in Lazarus, half of them do not work). This is sadly true. Certainly not. I spent the previous hours checking all demos in the examples folder under Windows 10, and the va

Re: [Lazarus] Fpsreadsheet bug?

2017-10-30 Thread Werner Pamler via Lazarus
Could you post one of the files causing the error? Or send me a mail with such a file attached. How were these files created? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Fpsreadsheet bug?

2017-10-30 Thread Werner Pamler via Lazarus
Thanks for sharing the file and for your pre-analysis which helped me to find the bug quickly. It is fixed in fpspreadsheet r6047. If you want to stick to your currently installed version 1.8.4 you must patch the function TsSpreadBiffReader.Fixfont in unit xlscommon by adding these lines immedi

[Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Werner Pamler via Lazarus
Trying to update my VirtualTreeViews version 4 to version 5 I ran into the problem that the registration unit seems to be duplicate now. I hope to be able to fix this, but what I want to say is that the message dialog telling me of this issue is not very helpful - the interesting parts are hidd

Re: [Lazarus] "Ambiguous unit found" message

2017-11-06 Thread Werner Pamler via Lazarus
Am 06.11.2017 um 13:47 schrieb Ondrej Pokorny via Lazarus: A secret insider tip: use Ctrl+C to copy the full text into clipboard. I just had that beast again, and, Ondrej, you tip is magnificent! This is the first time that I saw in which folder the duplicate ppu's are. -- ___

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 10:55 schrieb Alexey via Lazarus: https://bugs.freepascal.org/view.php?id=32653 wp wrote: >>Sorry I will not fix this one because it opens another Pandora to add features well-established in TAChart. Pls apply the patch. it makes several plots on one panel. What Pandora?? I

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 11:53 schrieb Michael Van Canneyt via Lazarus: Are you going to make sure TAChart can do the plot during design-time ? I am working at it, there are issues with registration of the new TExpressionSeries from a separate package (it's not in trunk, yet). But anyway: why is the

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 12:50 schrieb Michael Van Canneyt via Lazarus: I see that I missed to commit a patch to plotpanel, because here sin(x) works. I have too many unfinished patches in my source tree :/ Should I still commit it, or it is not necessary any more ? Please commit it. I think we shoul

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 14:11 schrieb Alexey via Lazarus: I couldn't find fpexprparser folders in FPC 3.0.2 and Laz- where is it? (fpc)\source\packages\fcl-base\src\fpexprpars.pp -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazaru

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 13:42 schrieb Michael Van Canneyt via Lazarus: I don't see why you would need a separate package. fpexprparser is in the FCL since 10 years or so. A separate unit is definitely good so as to minimize the dependencies of the basic tachart unit, but a package ? Seems overkill to

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Werner Pamler via Lazarus
Am 07.11.2017 um 15:11 schrieb Alexey via Lazarus: Can you add to FPC some example which uses this engine? (fpc)\source\packages\fcl-base\src\fpexprpars.pp http://wiki.lazarus.freepascal.org/How_To_Use_TFPExpressionParser And, of course, the TPlotExpressionPanel (the other component in the p

Re: [Lazarus] String Grid Component

2017-11-27 Thread Werner Pamler via Lazarus
Am 27.11.2017 um 13:43 schrieb Torsten Bonde Christiansen via Lazarus: I am looking for grid component that can display string. Simple enought and i know of a few already, but the ones i know of cannot do both of the following requirements i have: a) Fast (very low delay on 100.000+ lines of t

Re: [Lazarus] String Grid Component

2017-11-27 Thread Werner Pamler via Lazarus
Am 27.11.2017 um 17:51 schrieb Torsten Bonde Christiansen via Lazarus: [...]  so that i can copy/paste the data to the clipboard. Hmm... You must be aware that the DrawGrid does not own any data. Therefore it cannot copy anything to the clipboard. You'll have to write clipboard access by your

Re: [Lazarus] OnlinePM wish about folder

2017-12-08 Thread Werner Pamler via Lazarus
Am 08.12.2017 um 06:45 schrieb Alexey via Lazarus: It will be good, of OPM install all packages into subdir lazarus/components/_user. Now it uses very deep subdir which is hard to find in file manager. _user (with _ char so it will be first in filemanager) is easy to find. Or you can use _opm

Re: [Lazarus] CHM help package

2017-12-08 Thread Werner Pamler via Lazarus
Am 08.12.2017 um 14:02 schrieb Alexey via Lazarus: > FPC package 'chm' contain LZX compression routines in some files - paslzx.pas, paslzxcomp.pas, paslznonslide.pas, lzxcompressthread.pas It makes sense to move them to new package, and rename files! to lzx_*.pas. I like such names with _. N

Re: [Lazarus] CHM help package

2017-12-08 Thread Werner Pamler via Lazarus
Am 08.12.2017 um 13:23 schrieb Sergey Bodrov via Lazarus: I did some fixes and improvements to chm package, LHelp and chmmaker - https://github.com/serbod/lazhelp I contacted with maintainer, Andrew Haines, but then he disappear. There is too many changes in many files, and that can't be poste

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Werner Pamler via Lazarus
Am 08.12.2017 um 22:32 schrieb Juha Manninen via Lazarus: How does it fail? Lazarus 1.8 was meant to still compile with FPC 2.6.4. However with Lazarus trunk I would be happy to go ahead and forget 2.6.4. If the fix for Lazarus 1.8 is easy, please upload a patch. Tested on Win32 where it fails

Re: [Lazarus] Note to new high-DPI icons

2017-12-09 Thread Werner Pamler via Lazarus
Am 09.12.2017 um 16:18 schrieb Vojtěch Čihák via Lazarus: Hi, I tried to run Lazarus with dark theme and icons for TLabel and TStaticText are not visible. I propose to use that blue color used with the old icons instead of black. V. PS: I have no direct contact to author of icons, FTurtl

Re: [Lazarus] Note to new high-DPI icons

2017-12-10 Thread Werner Pamler via Lazarus
Am 09.12.2017 um 23:50 schrieb Vojtěch Čihák via Lazarus: I mean dark OS theme. See attached screeenshot. It was blue before, it can be found on the wiki: http://wiki.freepascal.org/Lazarus_Tutorial#The_Component_Palette Such blueish theme is IMO unusual, the most common themes are light an

Re: [Lazarus] Note to new high-DPI icons

2017-12-11 Thread Werner Pamler via Lazarus
Am 11.12.2017 um 07:39 schrieb Sergey Bodrov via Lazarus: But can icons for TButton and TToggleBox be more visually different? I contacted Ally (the author of the palette icons) about this, too. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.o

Re: [Lazarus] Note to new high-DPI icons

2017-12-11 Thread Werner Pamler via Lazarus
Am 10.12.2017 um 11:39 schrieb Werner Pamler via Lazarus: I contacted Ally and asked him to modify these icons. Done in r56689 (incl the TToggleBox). Still not perfectly visible on black background, but visible at least...  If you want the text brighter you should create your own png icons

Re: [Lazarus] CHM help package

2017-12-11 Thread Werner Pamler via Lazarus
I cloned your repo on my HD, and went through it step by step while always trying to build lhelp, I could remove everything from the folder chm except for these units: chmfifimain, chmreader, chmsitemap, chmtypes (and chmobjinstance.inc). I think it is possible to extract the essential changes

Re: [Lazarus] CHM help package

2017-12-11 Thread Werner Pamler via Lazarus
Am 11.12.2017 um 18:32 schrieb Werner Pamler via Lazarus: I think it is possible to extract the essential changes from these units to get at least the new reading functionality. I can try this [,.,] And Sergey, you should explain which features are new? What do I have to do to see the new

Re: [Lazarus] CHM help package

2017-12-11 Thread Werner Pamler via Lazarus
Am 11.12.2017 um 18:32 schrieb Werner Pamler via Lazarus: I cloned your repo on my HD, and went through it step by step while always trying to build lhelp, I could remove everything from the folder chm except for these units: chmfifimain, chmreader, chmsitemap, chmtypes (and chmobjinstance.inc

Re: [Lazarus] CHM help package

2017-12-11 Thread Werner Pamler via Lazarus
Am 11.12.2017 um 20:53 schrieb Marco van de Voort via Lazarus: On Mon, Dec 11, 2017 at 06:32:45PM +0100, Werner Pamler via Lazarus wrote: I cloned your repo on my HD, and went through it step by step while always trying to build lhelp, I could remove everything from the folder chm except for

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 08:39 schrieb Sergey Bodrov via Lazarus:  iso-8859-1 encoding have not relation to MS Locale ID. It HTML-specific, and must handled by HTML viewer. I do dirty hack with HTML codepage coversion just because don't ready to make fixes in TIpHtmlPanel. But this specification occu

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 11:01 schrieb Sergey Bodrov via Lazarus: BTW,  in ipcss.inc TCSSProps.ReadCommands() lack of Args.Count checking for 'border-width', 'border-color' and 'border-style' cause Args[0] out-of-range errors. Instead of tons checks for Args.Count, I propose single local function, that

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 14:46 schrieb Sergey Bodrov via Lazarus: Maybe, you confused with ACommands loop? There is no loops for Args. Ah, of course. Thanks. I'll fix it. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 08:57 schrieb Sergey Bodrov via Lazarus: - full-text search works properly Can you explain where full-text search does not work properly? I need an example to work with, give detailed instructions how to reproduce this error. I did not look into this feature in detail yet:

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 10:35 schrieb Ondrej Pokorny via Lazarus: On 11.12.2017 18:32, Werner Pamler via Lazarus wrote: I cloned your repo on my HD, and went through it step by step while always trying to build lhelp, I could remove everything from the folder chm except for these units: chmfifimain

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 15:58 schrieb Sergey Bodrov: Can you explain where full-text search does not work properly? I need an example to work with, give detailed instructions how to reproduce this error. It can find wrong pages, where no keywords in page body. For example - 'writeln' in rtl.chm I do

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 18:24 schrieb Sergey Bodrov via Lazarus: On Dec 12, 2017 6:52 PM, "Werner Pamler" > wrote: If you don't mind I'll write a bug report for this part of your code. But a question before doing so: The original function ReadWLCEntries 

Re: [Lazarus] CHM help package

2017-12-13 Thread Werner Pamler via Lazarus
Am 13.12.2017 um 08:35 schrieb Sergey Bodrov via Lazarus: I personally greteful, that you helps me. But I don't understand whole situation with code formatting, it looks like a some 'social bug' for me. If code formatting of existing code is prohibited, then must be some public warning in wiki.

Re: [Lazarus] CHM help package

2017-12-13 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 08:57 schrieb Sergey Bodrov via Lazarus: 2017-12-11 21:34 GMT+03:00 Werner Pamler via Lazarus mailto:lazarus@lists.lazarus-ide.org>>: And Sergey, you should explain which features are new? What do I have to do to see the new features in lhelp? - 'Copy ra

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Werner Pamler via Lazarus
Am 05.01.2018 um 18:12 schrieb AlexeyT via Lazarus: 1. packager/globallinks/lclextensions_package-0.6.1.lpl 2. +1 −0

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-10 Thread Werner Pamler via Lazarus
Am 10.01.2018 um 20:21 schrieb Gabor Boros via Lazarus: I don't know. Attached a simple example. With it I can reproduce the problem on Windows too. So the problem is not Qt specific. You did not assign a Datasource to the DBLookupCombo. This is where the value picked from the combo is stored

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-10 Thread Werner Pamler via Lazarus
Am 10.01.2018 um 21:57 schrieb Werner Pamler via Lazarus: Am 10.01.2018 um 20:21 schrieb Gabor Boros via Lazarus: I don't know. Attached a simple example. With it I can reproduce the problem on Windows too. So the problem is not Qt specific. You did not assign a Datasource t

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-11 Thread Werner Pamler via Lazarus
Am 11.01.2018 um 10:14 schrieb Gabor Boros via Lazarus: From my POV, unacceptable if a fix broke a feature in a fixes_* branch after x.y.0 version released from it. Sorry for the inconvenience. Call it "unacceptable" or not - that's the way things are, nobody is perfect. Please open "dblooku

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-12 Thread Werner Pamler via Lazarus
Am 12.01.2018 um 01:43 schrieb Michael Thompson: On 11 January 2018 at 19:22, Werner Pamler via Lazarus <mailto:lazarus@lists.lazarus-ide.org>> wrote: Please open "dblookupcombobox.inc" (in (lazarus)/lcl/include), find the method TDBLookupCombobox.Select an

[Lazarus] Sharing translations between Lazarus and Delphi versions of the same project

2018-01-26 Thread Werner Pamler via Lazarus
Currently I am porting the component TMoon to Lazarus (https://github.com/Ahoerstemeier/delphimoon). A goal is to be able to compile package and demo with Lazarus AND Delphi. The original demo is a multi-language application which achieves translation using resource strings in a (I guess) Delph

Re: [Lazarus] Sharing translations between Lazarus and Delphi versions of the same project

2018-01-26 Thread Werner Pamler via Lazarus
Am 26.01.2018 um 11:33 schrieb Maxim Ganetsky via Lazarus: 26.01.2018 12:54, Werner Pamler via Lazarus пишет: Maybe you can use adapted copies of translations.pas unit (from LazUtils) and lcltranslator.pas unit (from LCL). They will need to be ported for Delphi, though. Hmm... A lot of work

Re: [Lazarus] Sharing translations between Lazarus and Delphi versions of the same project

2018-01-26 Thread Werner Pamler via Lazarus
Am 26.01.2018 um 12:05 schrieb Werner Pamler via Lazarus: Wouldn't it be better to have a menu command "Clean po file" which just rebuilds the rsj and po files? Ah - there's a checkbox "Force update po files after next compile" for this purpose. But this is

Re: [Lazarus] Sharing translations between Lazarus and Delphi versions of the same project

2018-01-27 Thread Werner Pamler via Lazarus
Am 26.01.2018 um 16:22 schrieb Maxim Ganetsky via Lazarus: 26.01.2018 14:24, Werner Pamler via Lazarus пишет: Ah - there's a checkbox "Force update po files after next compile" for this purpose. But this is not working. It requires a Run > Build instead of Run > Compile. I

Re: [Lazarus] High-DPI TImageList

2018-01-28 Thread Werner Pamler via Lazarus
Am 27.01.2018 um 19:59 schrieb Ondrej Pokorny via Lazarus: I merged the High-DPI (multi-resolution) ImageList into trunk. I'll document the changes in http://wiki.lazarus.freepascal.org/TImageList soon (tomorrow) and also in http://wiki.freepascal.org/Lazarus_1.10.0_release_notes Porting the

Re: [Lazarus] High-DPI TImageList

2018-01-29 Thread Werner Pamler via Lazarus
Am 29.01.2018 um 11:29 schrieb Ondrej Pokorny via Lazarus: On 29.01.2018 0:18, Werner Pamler via Lazarus wrote: Porting the TurboPower SysTools library to Lazarus, I noticed today (after having updated trunk to contain the new imagelist) that their palette icons no longer have a transparent

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Werner Pamler via Lazarus
The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains only standard-resolution images? The problem is that once a form with an image list has been opened by Laz trunk it cannot be opened by L

Re: [Lazarus] High-DPI TImageList

2018-02-05 Thread Werner Pamler via Lazarus
Am 05.02.2018 um 19:45 schrieb Ondrej Pokorny via Lazarus: On 05.02.2018 14:07, Werner Pamler via Lazarus wrote: The high-DPI imagelist adds a new entry to the lfm file, "BitmapAdv". Is this really absolutely necessary in all cases, for example if the imagelist contains onl

Re: [Lazarus] High-DPI TImageList

2018-02-06 Thread Werner Pamler via Lazarus
Am 06.02.2018 um 07:00 schrieb Ondrej Pokorny via Lazarus: Lazarus is perfectly backwards compatible. E.g. If you want to support 1.6, write your demos in 1.6 -> 1.8 and 1.9 will open your project without problems. This is correct. But unrealistic. Even if I write a demo for 1.8 I must test i

Re: [Lazarus] TAChart cannot compile with fpc 3.0.0 after rev. 57277

2018-02-21 Thread Werner Pamler via Lazarus
Am 21.02.2018 um 08:51 schrieb Torsten Bonde Christiansen via Lazarus: After rev. 57277 there is a statement (line 536, pos 24) in tachartaxis.pas which uses the overloaded operater "+" for TPoint. I don't think this exist in fpc 3.0.0 and hence trunk no longer compiles. Is this on purpose - i

[Lazarus] TToolButton:.Marked

2018-03-02 Thread Werner Pamler via Lazarus
Does anybody know what the property "Marked" of TToolButton is good for? I never realized it, but it's been there at least since Laz 1.0, and in Delphi at least since D7. And it does not do anything, even in Delphi. Delphi's help (http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009

Re: [Lazarus] TToolButton:.Marked

2018-03-03 Thread Werner Pamler via Lazarus
Thanks. Something like an additional boolean Tag, then. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Color and transparancy selection ?

2018-03-22 Thread Werner Pamler via Lazarus
Am 22.03.2018 um 21:36 schrieb Ondrej Pokorny via Lazarus: Not in the LCL itself. Maybe you can try to build one using http://wiki.lazarus.freepascal.org/mbColorLib#RGB_color_pickers I did the port to Lazarus. But no - none of them supports an alpha channel, they focus on color selection bas

Re: [Lazarus] Changes to bugreport #33331 completely changes long standing behaviour

2018-04-04 Thread Werner Pamler via Lazarus
Am 03.04.2018 um 14:41 schrieb Maxim Ganetsky via Lazarus: I reopened this bug report. Please comment there. But since other opinions are required we should discuss here - the bug tracker is not the place for discussion. I applied the change leading to this issue would like to hear other opin

Re: [Lazarus] Changes to bugreport #33331 completely changes long standing behaviour

2018-04-04 Thread Werner Pamler via Lazarus
Am 04.04.2018 um 09:32 schrieb Torsten Bonde Christiansen via Lazarus: OnI can understand the need for being Delphi compatible, but I'm not a fan of changing a behaviour (which IMHO is not a bug) like this which can potentially affect a lot of places in user code. Sometimes when Delphi has a b

Re: [Lazarus] Drag (and show) images

2018-04-11 Thread Werner Pamler via Lazarus
Am 12.04.2018 um 00:02 schrieb Donald Ziesig via Lazarus: I am trying to write an app that allows me to drag images and show them while they are being dragged (like the cards in Solitaire). I have been able to drag images (showing only the drag cursor) and drop them appropriately, but I haven'

[Lazarus] Component editors and related

2018-04-25 Thread Werner Pamler via Lazarus
Hi all, currently I am porting those JVCL components which look interesting to me (https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/jvcllaz/), but at the moment I am stuck with the component editor of the TJvOutlookBar. This is some kind of two-level vertical menu. The top leve

Re: [Lazarus] Component editors and related

2018-04-25 Thread Werner Pamler via Lazarus
Am 25.04.2018 um 20:40 schrieb Vojtěch Čihák via Lazarus: ad 1: I never tried two level collection. Are they all published (both collections and their items)? Yes. And both collections are accessible in the object inspector: The JvOutlookBar has a property "Pages", the ellipsis button next

Re: [Lazarus] Component editors and related

2018-04-26 Thread Werner Pamler via Lazarus
Am 25.04.2018 um 22:07 schrieb Werner Pamler via Lazarus: Am 25.04.2018 um 20:40 schrieb Vojtěch Čihák via Lazarus: ad 1: I never tried two level collection. Are they all published (both collections and their items)? Yes. And both collections are accessible in the object inspector: The

Re: [Lazarus] Component editors and related

2018-05-01 Thread Werner Pamler via Lazarus
Am 01.05.2018 um 20:54 schrieb Juha Manninen via Lazarus: Please test with r57763. Excellent, works perfectly! Thank you. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus win32 with fpc-3.0.4 no memory left problem

2018-05-13 Thread Werner Pamler via Lazarus
Am 13.05.2018 um 12:00 schrieb zeljko via Lazarus: Hi, Using trunk lazarus r57911 and fpc-3.0.4 (32 bit), Windows 10. When rebuilding ide from lazarus got "No memory left" while linking IDE. I have bunch of 3rd party packages so I guess that too many units triggers this error since "make bigide"

Re: [Lazarus] Lazarus-ccr Access

2018-05-18 Thread Werner Pamler via Lazarus
Am 17.05.2018 um 13:20 schrieb John Landmesser via Lazarus: is that a candidate for ccr and can i get access to it? It was Felipe who gave me commit rights for ccr, just contact him directly referring to this thread. You'll find his mail address by seeking his posts in this mailing list. Bu

Re: [Lazarus] Package/New Package broken

2018-05-18 Thread Werner Pamler via Lazarus
Am 18.05.2018 um 20:05 schrieb John Landmesser via Lazarus: No it occurs because of my german locale. Issue is gone with english and -> "NewPackage.lpk" There are spaces in "PackageEditor_Neues Package1" and thats not possible for package names! Too tired now to write the bug report :-(

Re: [Lazarus] new lcl CHMs.

2018-05-20 Thread Werner Pamler via Lazarus
Am 20.05.2018 um 19:09 schrieb Marco van de Voort via Lazarus: Hello, I generated trunk CHMs for LCL as a testcase after fixing bug #32325. Hopefully 4000+ cases of this issue (TStringgrid.align redirection in the index failed) were fixed. Experimental CHMs are at http:/www.stack.nl/~marcov/ne

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Werner Pamler via Lazarus
Am 08.06.2018 um 20:08 schrieb Bo Berglund via Lazarus: On Fri, 8 Jun 2018 10:17:00 -0700 (MST), leledumbo via Lazarus wrote: Or is it just the converter that is havíng problems? In the package dialog, check "Register unit" for units containing Register procedure. I didn't remember the last t

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Werner Pamler via Lazarus
Is this MustangPeak's EasyListView https://github.com/TurboPack/MustangpeakEasyListview)? I was trying to convert it myself, but did not even get this far. I got lost in the dependence on another package which did not want to resolve - very windows-specific stuff. If it is a non-closed packaged

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

2018-09-27 Thread Werner Pamler via Lazarus
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 buttons as large as the largest image so that truncating is avoided?

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

2018-09-27 Thread Werner Pamler via Lazarus
Am 27.09.2018 um 17:10 schrieb Juha Manninen via Lazarus: Do the icons work OK in component palette after a component got installed? Yes, I tested on a VM with 150% resolution, and the icon of the newly created test component looked as crisp as the others. -- _

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

2018-09-28 Thread Werner Pamler via Lazarus
Am 28.09.2018 um 09:07 schrieb 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'd keep it like this. 48x48 is clear to everybody, 200% maybe not. And it also makes clear that th

Re: [Lazarus] Donate function ShortenStringEx to LCL

2018-12-06 Thread Werner Pamler via lazarus
Am 06.12.2018 um 11:40 schrieb AlexeyT via lazarus: 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 char $2026 is elli

Re: [Lazarus] Extending the IDE auto-coding functionality

2018-12-17 Thread Werner Pamler via lazarus
I'd turn these features off in the same way I turn off most of the features when the IDE pretends to be able to guess what I am thinking. What if my fingers are too slow and I type "TChekbox" instead of "TCheckbox"? According to your idea the IDE will pollute my source code and add the skeleton

Re: [Lazarus] Can't start lazarus trunk

2019-01-02 Thread Werner Pamler via lazarus
Am 02.01.2019 um 16:51 schrieb silvioprog via lazarus: The same problem here. In my case, 'Executable not found: "/home/silvioprog/fpc-3.0.4/lib/fpc/../../bin/fpc"'. Today I saw the "Could not find a fpc executable in the PATH" error when starting Lazarus. It came in in r59934, the preceding

Re: [Lazarus] Unexpected TAChart's axis scaling

2019-01-06 Thread Werner Pamler via lazarus
Am 06.01.2019 um 18:00 schrieb Valdas Jankūnas via lazarus: Hello, in Test Project I have a Chart with several LineSeries and one AreaSeries. AutoScaleAxisTransform in each Axis is used. I noticed some unexplainable behavior:  - in fig_A you can see Chart in "all is OK" state,  - if I do Char

Re: [Lazarus] Unexpected TAChart's axis scaling

2019-01-06 Thread Werner Pamler via lazarus
Am 06.01.2019 um 19:17 schrieb Valdas Jankūnas via lazarus: I attached in my first mail. Sorry. When I scrolled down I only saw the screenshots. Yes, this looks strange, and it could be a bug - I'll have to investigate. In the meantime you can work around by releasing the Range lock of the

Re: [Lazarus] Lazarus 2 RC3 Bug or my fault?

2019-02-06 Thread Werner Pamler via lazarus
Am 04.02.2019 um 23:28 schrieb Joe via lazarus: I have a TListBox called LogBox in a test project and write strings with LogBox.Items.Add(stringvar) to LogBox. But the lines don't follow each other without space. There is space with approximately a half line hight between them. In Delphi, the

  1   2   3   >