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

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

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

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

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

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] 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.

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

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

[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

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

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

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

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

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

[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

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 -

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

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

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-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] 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 sugge

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 not workin

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

[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)

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 <lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>> wrote: Please open "dblookupcombobox.inc" (in (lazarus)/lcl/include

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

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

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] 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] 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 <lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>>: And Sergey, you should explain which features are new? What do I have to do to see the

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

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

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

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

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,

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

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

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

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

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,

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

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 _.

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

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

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

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

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

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

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] "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] 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] 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

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

[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] 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

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

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

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

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

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

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

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

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

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

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

[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

[Lazarus] Cannot commit to ccr

2017-02-20 Thread Werner Pamler via Lazarus
Hi I am having a bunch of updates for ccr, but all of a sudden I cannot commit anything to sourceforge any more since yesterday. The error message is: "Commit failed (details follow): Unable to connect to a repository at URL

Re: [Lazarus] When will the lazarus archive been gzip'd again?

2017-02-16 Thread Werner Pamler via Lazarus
Am 16.02.2017 um 08:26 schrieb Landmesser John via Lazarus: the gzip'd archive stops at May 2016. When will the Lazarus archives afterwards be gzip'd ? I use the very useful "Lazarus Mailinglist Reader" and that needs these gzip'd archives. Isn't that done automatic? Does the gzip'd stops

Re: [Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-14 Thread Werner Pamler via Lazarus
Am 13.02.2017 um 20:25 schrieb John Landmesser via Lazarus: Hi, i searched some time for such a component ... in vain! So i developed myself a TStringGrid, that sorts columns with TDate, TTime, TFloat ... I can't believe that this doesn't allready exists for Lazarus?! For example i found

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-12 Thread Werner Pamler via Lazarus
Am 11.01.2017 um 15:58 schrieb Mattias Gaertner via Lazarus: AddAscendingSequence can be slower than a normal Add. You need to check common cases, not uncommon cases like generating a 5000x5000. I did not intend to write a general test which covers all "common" cases, but a test for the

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-10 Thread Werner Pamler via Lazarus
I think that may not be possible. Your data may be ordered already, but that does not guerantee that there is not already data inside the tree that must be ordered "inside" the group you add? I am thinking of loading a spreadsheet from file. Initially the sheet (= tree) is empty. The cells

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-09 Thread Werner Pamler via Lazarus
An empty cell occupies only a nil pointer. It may sum up, though, if the table is large and sparsely populated. Mind you that when you do not know the dimensions of the table AND you have to increase ColCount several times whilst filling the table, then I suspect things will slow down

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-09 Thread Werner Pamler via Lazarus
Amazing. I tried the AVLTree used by fpspreadsheet and it needs 0.37 sec for 1000x1000 and 10.3 sec for 5000x5000. My tests were all "in memory", no disk access whatsoever. Bart Mine as well. I would be tempted to implement such a table in fpspreadsheet, but its problem is that it

Re: [Lazarus] In search of a component for holding a table of strings

2017-01-09 Thread Werner Pamler via Lazarus
Am 05.01.2017 um 16:35 schrieb Bart via Lazarus: filling a 1000x1000 TStringTable just cost me 76 ms. A 5000x5000 table however cost me 1248 ms. Amazing. I tried the AVLTree used by fpspreadsheet and it needs 0.37 sec for 1000x1000 and 10.3 sec for 5000x5000. --

Re: [Lazarus] In search of a component for holding a table of strings

2016-12-29 Thread Werner Pamler via Lazarus
Am 29.12.2016 um 16:59 schrieb Bart via Lazarus: Hi, I am in need of a component/clas that can hold a 2 dimensional "table" of strings. The dimensions are unknown at designtime: I read the data from a HTML table. The HTML reader provides events that give me the data of each cell, and that tell

Re: [Lazarus] Why is SAX so slow?

2016-12-26 Thread Werner Pamler via Lazarus
Sorry to not answer your question, but, fpspreadsheet looks very intereresting and first time I really looked.. So it is a spreadsheet without using any MS COM or activex to utilize ms excel? A native spreadsheet for lazarus? Cool! Something I'll probably need some time. Any crashes or major

Re: [Lazarus] "Some files have changed on disk"

2016-12-02 Thread Werner Pamler via Lazarus
Am 02.12.2016 um 23:02 schrieb Mattias Gaertner via Lazarus: Fixed. Please test. Working correctly again. Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] "Some files have changed on disk"

2016-12-02 Thread Werner Pamler via Lazarus
For some time, the IDE of trunk is displaying an annyoing message "Some files have changed on disk" and prompts to select either "Ignore all disk changes" or "Reload checked files from disk" if an unsaved new project is compiled. Steps to reproduce: - Create new project, add components and

Re: [Lazarus] Clarification about VirtualTreeView repositories (lazarus-ccr/virtualtreeview-new deprecation)

2016-11-22 Thread Werner Pamler via Lazarus
Am 22.11.2016 um 19:05 schrieb Luiz Americo Pereira Camara via Lazarus: 2016-11-22 14:44 GMT-03:00 Werner Pamler via Lazarus <lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>>: Luiz, I like your idea to add a non-commented hint to the main source fi

Re: [Lazarus] Clarification about VirtualTreeView repositories (lazarus-ccr/virtualtreeview-new deprecation)

2016-11-22 Thread Werner Pamler via Lazarus
Am 22.11.2016 um 18:28 schrieb Luiz Americo Pereira Camara via Lazarus: Currently there are three repositories of VirtualTreeView LCL port. In Lazarus-CCR: virtualtreeview: first port, long unmaintained virtualtreeview-new: original repository of the current port In GitHub:

Re: [Lazarus] Help System with Chromium Embedded component

2016-11-08 Thread Werner Pamler via Lazarus
Am 08.11.2016 um 15:56 schrieb Martok via Lazarus: Hi, I may have missed this point in the discussion, but would it not make more sense to get a native HTML component (either from IPro or the THTML port) to the point where it can provide everything needed? THTML (my favourite) already has

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

2016-11-02 Thread Werner Pamler via Lazarus
I tested on Win 10 (using the code of the first post in this thread): - 23 sec on Laz trunk / fpc 3.0 - 23 sec on Laz 1.6 / fpc 3.0 - 23 sec Laz trunk / fpc 2.6.4 - 2.2 sec on Laz 1.44 / fpc 2.6.4 - 1.4 sec on Delphi Berlin 10.1 Using Lazarus trunk I could get a good boost by adding the strings

<    1   2   3   >