Re: [Lazarus] Package filenames with _package

2018-01-07 Thread leledumbo via Lazarus
> It is good filenames, with _package suffix, easy to see filenames from all filenames in big dir I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. -- Sent from:

Re: [Lazarus] lazarus-ccr (or other) TBufDataSet Documentation?

2018-01-07 Thread leledumbo via Lazarus
> So far I have had no success. Do I have to use the source alone? I think there's none officially, but google gives me these: - http://wiki.lazarus.freepascal.org/How_to_write_in-memory_database_applications_in_Lazarus/FPC - http://www.pp4s.co.uk/main/tu-db-bufdataset.html -- Sent from:

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Graeme Geldenhuys via Lazarus
On 2018-01-07 08:35, leledumbo via Lazarus wrote: I don't agree, that's what file extension is for. Fully agree. I feel I should also add that DOS is not the mainstream OS any more like it was in the early 90's (some 26 years ago), so why is everybody still limiting file extensions to 3

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 7 Jan 2018 20:08:31 +0700 Ondrej Pokorny via Lazarus wrote: >[...] > >> The package unit can have a different name as the package. See > >> for example synedit. > > > > I didn't know this, and this is good to know ! > > I didn't know this either. Where

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Martin Frb via Lazarus
On 07/01/18 14:35, Ondrej Pokorny via Lazarus wrote: On 07.01.2018 20:29, Vojtěch Čihák via Lazarus wrote: Hi, click Package->New Package... it immediately opens Save dialog, where you choose filname. It saves xyz.lpk Then click Compile and xyz.pas is autogenerated. :D The question

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 7 Jan 2018 10:42:33 +0100 (CET) Michael Van Canneyt via Lazarus wrote: >[...] > The "problem" is that the pascal unit generated for a package has the > same name as the package and often conflicts with a unit in the package. The package unit can have a

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
I am glad to read this, I also think the _package is completely redundant. many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] GTK2/X Appcrash when TPen.Pattern has invalid value

2018-01-07 Thread Marc Weustink via Lazarus
On January 6, 2018 8:14:30 PM GMT+01:00, Alexander Hofmann via Lazarus wrote: >Dear all, > >I spend some time debugging a programming error (read: >misinterpretation >of available documentation) and though I should share my findings... > >I wanted to have a

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, Mattias Gaertner via Lazarus wrote: On Sun, 7 Jan 2018 10:42:33 +0100 (CET) Michael Van Canneyt via Lazarus wrote: [...] The "problem" is that the pascal unit generated for a package has the same name as the package and often conflicts

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Ondrej Pokorny via Lazarus
On 07.01.2018 20:29, Vojtěch Čihák via Lazarus wrote: Hi, click Package->New Package... it immediately opens Save dialog, where you choose filname. It saves xyz.lpk Then click Compile and xyz.pas is autogenerated. :D The question was: it saves xyz.lpk, where can I define that abc.pas

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Vojtěch Čihák via Lazarus
I noticed: if the main package file has the same name as the lpk than it is not listed in that lpk, right? V. __ Od: Mattias Gaertner via Lazarus Komu: lazarus@lists.lazarus-ide.org Datum: 07.01.2018

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, leledumbo via Lazarus wrote: It is good filenames, with _package suffix, easy to see filenames from all filenames in big dir I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. I am

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
I don't agree, that's what file extension is for. Filtering and sorting should easily be done to distinguish package files from others. There is one moment: ATSynedit has - atsynedit.pas (main unit) - atsynedit_package.pas (with suffix) You see suffix is useful here. -- Regards, Alexey

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Michael Van Canneyt via Lazarus
On Sun, 7 Jan 2018, AlexeyT via Lazarus wrote: I am glad to read this, I also think the _package is completely redundant. many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. True. And this is unfortunate, because it is not functional at all. The "problem" is that the

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] Package filenames with _package

2018-01-07 Thread Graeme Geldenhuys via Lazarus
On 2018-01-07 09:42, Michael Van Canneyt via Lazarus wrote: many Laz packages have suffix anyway: Dsgn, Pkg, pkg, maybe others. True. And this is unfortunate, because it is not functional at all. Well, I think it is very important to distinguish between "runtime" and "design time" packages.

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread AlexeyT via Lazarus
conflicts with a unit in the package. IMO it would be better to prefix it automatically. I agree: better to auto add prefix or suffix (i like suffix _package). good wish. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] Strip symbols in IDE

2018-01-07 Thread Vojtěch Čihák via Lazarus
Hi,   does the checkbox [X] Strip symbols from executble works well for you? It does nothing here. If I then do: >strip project1 in xterm, it works. I have "strip" installed in /usr/bin. It seems that other options have no efect to it, except -Xg [X] Use external debug file.   V. --

Re: [Lazarus] GTK2/X Appcrash when TPen.Pattern has invalid value

2018-01-07 Thread Alexander Hofmann via Lazarus
Hi, Am 07.01.2018 um 11:39 schrieb Marc Weustink via Lazarus: > Imo the QT implementation should be adapted to behave the same. > Wat does Delphi in this case? Thank's for your reply. I only have an old Delphi 7 version here - they all don't have the Pattern option for TPen. When done manually,

Re: [Lazarus] lazarus-ccr (or other) TBufDataSet Documentation?

2018-01-07 Thread Donald Ziesig via Lazarus
On 01/07/2018 03:33 AM, leledumbo via Lazarus wrote: So far I have had no success. Do I have to use the source alone? I think there's none officially, but google gives me these: - http://wiki.lazarus.freepascal.org/How_to_write_in-memory_database_applications_in_Lazarus/FPC -

Re: [Lazarus] lazarus-ccr (or other) TBufDataSet Documentation?

2018-01-07 Thread Donald Ziesig via Lazarus
On 01/07/2018 03:32 AM, Michael Van Canneyt via Lazarus wrote: On Sat, 6 Jan 2018, Donald Ziesig via Lazarus wrote: Hi All! I have been trying to find documentation for the TBufDataSet (or TMemDataSet) as is available for most other components in the Lazarus Code and Component Repository

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-07 Thread Martin Frb via Lazarus
On 07/01/18 22:31, Bo Berglund via Lazarus wrote: In another code line if I do the same and put the cursorat the end ); between the last chars, then the highlight comes on and boxes the last ) paired with a ( on 7 lines above when there are a lot of both ( and ) inbetween Clearly an

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-07 Thread Bo Berglund via Lazarus
On Sat, 6 Jan 2018 12:33:43 +0100, Martin Frb via Lazarus wrote: >On 06/01/18 10:25, Bo Berglund via Lazarus wrote: >> Not working: >> ( ): Controlled by what? >Should be the same as () > >Just remember, I think there is a bug in 1.8 (already fixed for the not

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Mattias Gaertner via Lazarus
On Sun, 07 Jan 2018 15:02:18 +0100 Vojtěch Čihák via Lazarus wrote: > I noticed: if the main package file has the same name as the lpk than it is > not listed in that lpk, right? Correct. Not every package needs such a file. Mattias --