Re: [Lazarus] Generics diffence between Lazarus and Delphi Berlin

2017-02-28 Thread Sven Barth via Lazarus
Am 28.02.2017 09:37 schrieb "Andreas Frieß via Lazarus" < lazarus@lists.lazarus-ide.org>: > > I have found some interesting working Generics construct. I want to translate this code to Lazarus, but there are Generics often used. > In Delphi Berlin the following ist working, the inner array of

Re: [Lazarus] $IF for Linux and FreeBSD platforms?

2017-02-28 Thread Sven Barth via Lazarus
Am 28.02.2017 20:37 schrieb "Lars via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-02-16 05:35, Graeme Geldenhuys via Lazarus wrote: >> >> On 2017-02-16 11:18, Ondrej Pokorny via Lazarus wrote: >>> >>> Well, you mixed up DEFINED and DECLARED macros. >> >> > > Sorry newbie question

Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-26 Thread Sven Barth via Lazarus
Am 26.02.2017 18:01 schrieb "Vojtěch Čihák via Lazarus" < lazarus@lists.lazarus-ide.org>: > > I use Inkscape for icons. I use some template 64*64 px (although px means nothing in vector format, it is moreless for help-grid only). Then I use rsv-convert tool to convert icons to *.png. The icons

Re: [Lazarus] Terminal window while debugging

2017-03-05 Thread Sven Barth via Lazarus
Am 05.03.2017 11:58 schrieb "Darius Blaszyk via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Linux I don't get the terminal to show when debugging a command line application. How can I instruct the IDE to display the terminal? There is the console window, but I prefer to see the terminal

Re: [Lazarus] Breaking change

2017-07-29 Thread Sven Barth via Lazarus
Am 23.07.2017 12:50 schrieb "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org>: > > Hello, > > I have fixed bug 28760: > > https://bugs.freepascal.org/view.php?id=28760 > > This will cause compilation of win32wsdialogs.pp to fail, in particular in > > class procedure

Re: [Lazarus] Status of namespace

2017-08-13 Thread Sven Barth via Lazarus
Am 13.08.2017 12:18 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-08-02 20:39, Juha Manninen via Lazarus wrote: >> >> he dotted names support may be quite perfect now. > > > So does FPC or Lazarus already support the ability to specify the default namespace

Re: [Lazarus] String vs WideString

2017-08-14 Thread Sven Barth via Lazarus
Am 14.08.2017 16:11 schrieb "Tony Whyman via Lazarus" < lazarus@lists.lazarus-ide.org>: > If nothing else, FPC Lazarus could do with a clean-up of both terminology and string types. Indeed, why isn't there a single container string type for all character sets where the encoding whether a legacy

Re: [Lazarus] String vs WideString

2017-08-16 Thread Sven Barth via Lazarus
Am 17.08.2017 04:16 schrieb "wkitty42--- via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 08/16/2017 06:46 PM, Luca Olivetti via Lazarus wrote: >> >> I started using strings as communication buffers since delphi 2. There >> weren't even dynamic arrays then... > > > really? delphi came from

Re: [Lazarus] String vs WideString

2017-08-17 Thread Sven Barth via Lazarus
Am 17.08.2017 11:21 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 16.08.2017 22:40, Sven Barth via Lazarus wrote: >> >> Trunk supports Insert() and Delete() on dynamic arrays, Concat() and + are on the near term ToDo lis

Re: [Lazarus] dynamic string proposal

2017-08-17 Thread Sven Barth via Lazarus
Am 17.08.2017 11:11 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: > > Maybe, Sven could answer to this mail in the other thread... > I provided an example in my answer to Tony Whyman in the same subbranch of the thread. Regards, Sven --

Re: [Lazarus] String vs WideString

2017-08-17 Thread Sven Barth via Lazarus
Am 17.08.2017 14:32 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 17.08.2017 12:09, Bart via Lazarus wrote: >> >> >> Variables of the ordinal type Char are used to store ASCII characters." >> >> > According to this wording, using Windows with ANSI character set

Re: [Lazarus] String vs WideString

2017-08-17 Thread Sven Barth via Lazarus
Am 17.08.2017 12:17 schrieb "Bart via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 8/17/17, Sven Barth via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > > >> really? delphi came from TP/BP... i was (still am, actually) using > > dynamic array

Re: [Lazarus] Congrats to the FPC/Lazarus projects - job well done!

2017-07-20 Thread Sven Barth via Lazarus
Am 20.07.2017 14:44 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-07-20 12:33, Graeme Geldenhuys via Lazarus wrote: >> >> And more > > > ;-) > > [ I promise this will be the last] > > > * With Delphi, "deprecated" is not allowed on Properties. > > *

Re: [Lazarus] Congrats to the FPC/Lazarus projects - job well done!

2017-07-20 Thread Sven Barth via Lazarus
Am 20.07.2017 13:33 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > * Code navigation is disable when you are debugging!! WTF is the point > of that! Delphi had always been a fancy text editor when debugging and probably always will be :P Regards, Sven --

Re: [Lazarus] ComparePoints func

2017-07-26 Thread Sven Barth via Lazarus
Am 26.07.2017 19:51 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: >> If "equals" is needed, why not simply use p1=p2 ? > > > If operator overload exists for the types then sure, but as you know I like OOP approaches to things. > > Also is TPoint a record or a object or

Re: [Lazarus] String vs WideString

2017-08-16 Thread Sven Barth via Lazarus
On 16.08.2017 11:08, Graeme Geldenhuys via Lazarus wrote: > On 2017-08-16 09:43, Michael Schnell via Lazarus wrote: >> IMHO, any implementation of TStrings that forces a conversion (just >> because the class uses TStrings and not due to a logical demand), is a >> contradiction to providing code

Re: [Lazarus] String vs WideString

2017-08-16 Thread Sven Barth via Lazarus
On 15.08.2017 10:34, Tony Whyman via Lazarus wrote: > On 14/08/17 17:47, Sven Barth via Lazarus wrote: >> The main problem of such a dynamic type would be the inability to do >> fast indexing as the compiler would need to insert runtime checks for >> the size of a character.

Re: [Lazarus] String vs WideString

2017-08-16 Thread Sven Barth via Lazarus
On 16.08.2017 20:26, Luca Olivetti via Lazarus wrote: > El 16/08/17 a les 01:17, Graeme Geldenhuys via Lazarus ha escrit: > >> In hind sight, using TBytes or TMemoryStream and it would have been >> very clear that it is a storage container for byte sized data, and no >> automatic conversion (by

Re: [Lazarus] Namespace

2017-08-20 Thread Sven Barth via Lazarus
Am 20.08.2017 18:55 schrieb "Marcos Douglas B. Santos via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Wed, Jan 12, 2011 at 3:53 PM, Sven Barth wrote: > > On 12.01.2011 18:24, Mattias Gaertner wrote: > >> > >> Marcos Douglas hat am 12. Januar

Re: [Lazarus] String vs WideString

2017-08-18 Thread Sven Barth via Lazarus
Am 18.08.2017 10:42 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 17.08.2017 11:27, Sven Barth via Lazarus wrote: >> >> >> Why do you want to stuff everything and the kitchen sink into TStrings? >> > T

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-03 Thread Sven Barth via Lazarus
Am 03.05.2017 14:37 schrieb "Tony Whyman via Lazarus" < lazarus@lists.lazarus-ide.org>: > On the other hand, AnsiString and UnicodeString are still separate types. Why? Why should there not be a single unified string type with (e.g.) ASCII, UTF8 and UTF-16 (or MS Unicode) being just another code

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-03 Thread Sven Barth via Lazarus
Am 03.05.2017 11:34 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > For example, take a look at ConEmu for Windows. > * Tab support built-in > * Resizeable console windows While not point and click you can resize console windows (and the window buffer) without

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-03 Thread Sven Barth via Lazarus
On 03.05.2017 21:47, Juha Manninen via Lazarus wrote: > Why Delphi adds the BOM? Why can't it just read the file and > understand it is UTF-8? Probably for the same reason as FPC: the default code page if no BOM is available and no command line option is set and no $codepage directive is found is

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

2017-05-13 Thread Sven Barth via Lazarus
Am 13.05.2017 17:57 schrieb "Werner Pamler via Lazarus" < lazarus@lists.lazarus-ide.org>: > > 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

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

2017-05-13 Thread Sven Barth via Lazarus
Am 13.05.2017 19:45 schrieb "Juha Manninen via Lazarus" < lazarus@lists.lazarus-ide.org>: > With BOM it did not work for codepoints beyond BMP but that was fixed > and backported to FPC 3.0.3, right? Correct. Regards, Sven -- ___ Lazarus mailing list

Re: [Lazarus] How to make debugging ignore exceptions?

2017-06-24 Thread Sven Barth via Lazarus
Am 24.06.2017 11:13 schrieb "Santiago A. via Lazarus" < lazarus@lists.lazarus-ide.org>: > > El 24/06/2017 a las 0:14, Bo Berglund via Lazarus escribió: > The problem is that the debugger always stops on the > > exceptions making the debugging impossible (they happen with 10 ms > > intervals). >

Re: [Lazarus] Building a project with generics in libraries Laz1.9, FPC 3.0.2.

2017-05-22 Thread Sven Barth via Lazarus
Am 22.05.2017 18:36 schrieb "Donald Ziesig via Lazarus" < lazarus@lists.lazarus-ide.org>: > I will try to submit a bug report with a sample project after my current refactoring job is done (tight schedule, needs to be installed by the end of June). A bug report with a small, self contained

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-07 Thread Sven Barth via Lazarus
Am 07.05.2017 12:07 schrieb "Florian Klaempfl via Lazarus" < lazarus@lists.lazarus-ide.org>: > > Am 07.05.2017 um 11:57 schrieb Graeme Geldenhuys via Lazarus: > > On 2017-05-07 09:10, Florian Klaempfl via Lazarus wrote: > >>> Yeah, that would be the logical thing to do. > >> > >> Why? What makes a

Re: [Lazarus] Annoying lazarus mailing list behaviour

2017-05-07 Thread Sven Barth via Lazarus
Am 07.05.2017 12:11 schrieb "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org>: > > > Hi, > > Can we please get rid of the Cc: being added to the mails sent through the lazarus > mailing list ? > > In most cases, when I reply, I get 2 recipients. I always must delete 1. > > When

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-07 Thread Sven Barth via Lazarus
On 07.05.2017 12:17, Florian Klaempfl via Lazarus wrote: > Am 07.05.2017 um 12:11 schrieb Sven Barth via Lazarus: >> Am 07.05.2017 12:07 schrieb "Florian Klaempfl via Lazarus" >> <lazarus@lists.lazarus-ide.org <mailto:lazarus@lists.lazarus-ide.org>>: >>

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-01 Thread Sven Barth via Lazarus
Am 01.05.2017 18:50 schrieb "Tony Whyman via Lazarus" < lazarus@lists.lazarus-ide.org>: > > > > On 01/05/17 16:33, Sven Barth via Lazarus wrote: >> >> Would you please elaborate on these and which FPC version you targeted? >> >> Reg

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-05-05 Thread Sven Barth via Lazarus
Am 05.05.2017 13:50 schrieb "Juha Manninen via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Fri, May 5, 2017 at 2:29 PM, Michael Van Canneyt via Lazarus > wrote: > > Then what is still the problem ? > > With BOM you get: > Error: UTF-8 code greater than 65535

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-22 Thread Sven Barth via Lazarus
Am 22.09.2017 15:51 schrieb "el es via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 21/09/17 17:49, Marcos Douglas B. Santos via Lazarus wrote: > > > > > [1] My posts about inheritance https://goo.gl/nzM4Ss > > > > If it only was in English ;) Unfortunately knowing Esperanto (once upon a

Re: [Lazarus] FPReport file names

2017-09-13 Thread Sven Barth via Lazarus
On 13.09.2017 20:24, Graeme Geldenhuys via Lazarus wrote: > On 2017-09-13 14:33, Mattias Gaertner via Lazarus wrote: >> Try "org.|" with the >> Delphi code insight. > > Don't get me started on that again. The Delphi IDE is horribly horribly > broken in comparison to Lazarus IDE. It two weeks of

Re: [Lazarus] FPReport file names

2017-09-13 Thread Sven Barth via Lazarus
On 13.09.2017 20:19, Graeme Geldenhuys via Lazarus wrote: > On 2017-09-13 10:30, Michael Van Canneyt via Lazarus wrote: >> When using CamelCase properly, you don't need _ or . at all. > > That would be my preference too. I love CamelCase - though personally I > lowercase my unit names (files),

Re: [Lazarus] Lazarus is unable to find OleVariant when pressing Alt+Up

2017-10-10 Thread Sven Barth via Lazarus
Am 10.10.2017 11:07 schrieb "Lubos Pintes via Lazarus" < lazarus@lists.lazarus-ide.org>: > > Hello, > Nothing more to say, unit is compilable, but I cannot find the OleVariant. I am trying to figure out how to work with it in FPC, so I wanted to see the definitions etc. OleVariant is a compiler

Re: [Lazarus] Delphi, Kylix or Lazarus multi-form DB app example

2017-10-05 Thread Sven Barth via Lazarus
Am 05.10.2017 13:33 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: >> In one case you must change the code, in the other, you use the >> point-and-click paradigma of RAD to correct things... > > > The other problem I'm experiencing is that all these settings are done

Re: [Lazarus] Packages and units with the same name

2017-10-13 Thread Sven Barth via Lazarus
On 13.10.2017 21:32, Marcos Douglas B. Santos via Lazarus wrote: > On Fri, Oct 13, 2017 at 4:16 PM, Mattias Gaertner via Lazarus > wrote: >> On Fri, 13 Oct 2017 15:42:27 -0300 >> "Marcos Douglas B. Santos via Lazarus" >> wrote: >> >>>

Re: [Lazarus] Packages and units with the same name

2017-10-14 Thread Sven Barth via Lazarus
Am 14.10.2017 00:03 schrieb "Marcos Douglas B. Santos via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Fri, Oct 13, 2017 at 6:40 PM, Sven Barth via Lazarus > <lazarus@lists.lazarus-ide.org> wrote: > > On 13.10.2017 21:32, Marcos Douglas B. Santos via Laz

Re: [Lazarus] Rendering Issue Emoji for HTML List Items

2017-10-17 Thread Sven Barth via Lazarus
Am 17.10.2017 07:19 schrieb "R0b0t1 via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Mon, Oct 16, 2017 at 2:48 PM, Juha Manninen via Lazarus > wrote: > > On Mon, Oct 16, 2017 at 8:56 PM, R0b0t1 via Lazarus > > wrote: > >> > >> Is

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-05 Thread Sven Barth via Lazarus
On 05.09.2017 21:43, Andrea Mauri via Lazarus wrote: > > I notice that multiple people have already told you not to use a > tight loop, and that applies to any OS. > > > > What exactly means tight? Is it something that I could measure in some way? > The sample test I submitted to the

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Sven Barth via Lazarus
Am 06.09.2017 16:48 schrieb "el es via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 06/09/17 15:26, el es wrote: > > On 06/09/17 10:31, Andrea Mauri via Lazarus wrote: > >> Il 05/09/2017 22:51, Sven Barth via Lazarus ha scritto: > >>> >

Re: [Lazarus] custom thread reading file does not respond properly

2017-09-06 Thread Sven Barth via Lazarus
Am 06.09.2017 17:36 schrieb "Mattias Gaertner via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Wed, 6 Sep 2017 17:19:28 +0200 > Sven Barth via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > > >[...] > > Both Synchronize and Sleep al

Re: [Lazarus] FPReport file names

2017-09-13 Thread Sven Barth via Lazarus
Am 13.09.2017 10:45 schrieb "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org>: > > > > On Wed, 13 Sep 2017, Graeme Geldenhuys via Lazarus wrote: > >> On 2017-09-12 19:01, Alexey via Lazarus wrote: >>> >>> It is new. Please rename (it's easy for new component) all files: >>>

Re: [Lazarus] FPReport file names

2017-09-13 Thread Sven Barth via Lazarus
Am 13.09.2017 11:59 schrieb "Mattias Gaertner via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On Wed, 13 Sep 2017 11:40:23 +0200 > Mattias Gaertner via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > > > On Wed, 13 Sep 2017 11:19:58 +0200 > >

Re: [Lazarus] Converting all code to use UnicodeString

2017-09-25 Thread Sven Barth via Lazarus
On 25.09.2017 22:18, Marcos Douglas B. Santos via Lazarus wrote: > Hi Sven, > First of all, thanks for your time to answer me. > > On Mon, Sep 25, 2017 at 4:43 PM, Sven Barth via Lazarus > <lazarus@lists.lazarus-ide.org> wrote: >> On 25.09.2017 20:51, Marcos Douglas

Re: [Lazarus] Converting all code to use UnicodeString

2017-09-25 Thread Sven Barth via Lazarus
On 25.09.2017 23:11, Marcos Douglas B. Santos via Lazarus wrote: >>> [...] >>> I know almost nothing about compilers. But IMHO, the compiler should >>> have which it already have: "string", which is an alias. >>> Then, for each OS, we should pass one argument like (simplifying): >>>

Re: [Lazarus] [ANN] Xavier for XML — Compatible with FPC and Delphi

2017-09-24 Thread Sven Barth via Lazarus
Am 23.09.2017 18:30 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-09-23 12:36, Michael Van Canneyt wrote: >>> >>> FPC doesn't even cover the most basic of things - no decent debugger >>> that can handle all the Object Pascal language features. :-/ > > > >>

Re: [Lazarus] fpReport -> Lazarus reportdsg.lpr

2017-08-21 Thread Sven Barth via Lazarus
Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-08-21 10:18, Michael Van Canneyt wrote: >>> >>> >>> >>> /usr/local/share/fonts >>> /usr/local/lib/X11/fonts >>> fonts >>> >>> ~/.fonts >> >> Should

Re: [Lazarus] fpReport -> Lazarus reportdsg.lpr

2017-08-21 Thread Sven Barth via Lazarus
Am 21.08.2017 13:56 schrieb "Michael Van Canneyt" <mich...@freepascal.org>: > > > > On Mon, 21 Aug 2017, Sven Barth via Lazarus wrote: > >> Am 21.08.2017 11:25 schrieb "Graeme Geldenhuys via Lazarus" < >> lazarus@lists.lazarus-ide.org>:

Re: [Lazarus] Developing a WidgetSet

2017-10-08 Thread Sven Barth via Lazarus
Am 08.10.2017 23:15 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-10-08 21:09, Lubos Pintes via Lazarus wrote: >> >> If I want to add a functionality like accessibility to WidgetSet, which >> package could I use, lcl.lpk, or lclbase.lpk? > > > I believe

Re: [Lazarus] Code outline feature of the IDE

2017-10-20 Thread Sven Barth via Lazarus
Am 20.10.2017 14:06 schrieb "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org>: > > > > On Fri, 20 Oct 2017, Vojtěch Čihák via Lazarus wrote: > >> Hi, >> >> I even didn't know this feature, but... so much colors, I almost collapsed :-) > > > :) > > Personally, I disabled it at

Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-23 Thread Sven Barth via Lazarus
Am 23.10.2017 21:00 schrieb "Giuliano Colla via Lazarus" < lazarus@lists.lazarus-ide.org>: I'm doing something wrong, I'm missing something, or this is just a compiler bug? How do you pass the SendMessage() method to your thread? And how does the code look that calls it? Regards, Sven --

Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-24 Thread Sven Barth via Lazarus
Am 24.10.2017 10:49 schrieb "el es via Lazarus" < lazarus@lists.lazarus-ide.org>: On 24/10/17 09:11, Mattias Gaertner via Lazarus wrote: > On Tue, 24 Oct 2017 08:59:36 +0100 > el es via Lazarus wrote: > >> [...] >> begin >> repeat >> until not ThreadNowInUse;

Re: [Lazarus] Weird object variables access - fpc issue?

2017-10-24 Thread Sven Barth via Lazarus
Am 24.10.2017 13:41 schrieb "el es via Lazarus" < lazarus@lists.lazarus-ide.org>: On 24/10/17 10:04, Mattias Gaertner via Lazarus wrote: > On Tue, 24 Oct 2017 08:59:36 +0100 > el es via Lazarus wrote: > >> On 23/10/17 20:00, Giuliano Colla via Lazarus wrote: >>

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-28 Thread Sven Barth via Lazarus
Am 28.11.2017 10:02 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: On 27.11.2017 20:07, Graeme Geldenhuys via Lazarus wrote: > > Either way, it would be nice to see LCL-CustomDrawn and LCL-fpGUI > widgetsets get some more attention. > Is there any chance to unify them

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-26 Thread Sven Barth via Lazarus
Am 26.11.2017 14:23 schrieb "Kostas Michalopoulos via Lazarus" < lazarus@lists.lazarus-ide.org>: Is there a way to have an LCL widgetset outside of the Lazarus tree? I'm considering writing one for my Little Forms C toolkit at some point but i don't think it would be very useful to others so i

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-29 Thread Sven Barth via Lazarus
Am 29.11.2017 09:41 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: On 28.11.2017 11:28, Sven Barth via Lazarus wrote: Why should they? They are two completely different projects. From the LCL's point of view fpGui is a black box like GTK, Qt or the Wind

Re: [Lazarus] CHM help package

2017-12-13 Thread Sven Barth via Lazarus
Am 13.12.2017 13:05 schrieb "Sergey Bodrov via Lazarus" < lazarus@lists.lazarus-ide.org>: I thinked, that sources of FPC compiler and RTL is that 'holy bible', where every line is critical and must be carefully checked. But CHM package is optional and not documented, it have many unused and

Re: [Lazarus] PlotFunction patch declined?

2017-11-07 Thread Sven Barth via Lazarus
Am 07.11.2017 10:56 schrieb "Alexey via Lazarus" < lazarus@lists.lazarus-ide.org>: 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

Re: [Lazarus] Quick Video: A Web Application

2017-11-08 Thread Sven Barth via Lazarus
Am 08.11.2017 16:29 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: On 08.11.2017 14:15, Sven Barth via Lazarus wrote: > > Nope, WebAssembly and what pas2js does are two different things even if in > the end both run in the browser's JavaScript

Re: [Lazarus] "Ambiguous unit found" message

2017-11-06 Thread Sven Barth via Lazarus
Am 06.11.2017 13:48 schrieb "Ondrej Pokorny via Lazarus" < lazarus@lists.lazarus-ide.org>: On 31.10.2017 10:01, Werner Pamler via Lazarus wrote: > > 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

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-11 Thread Sven Barth via Lazarus
Am 11.12.2017 15:15 schrieb "Sergey Bodrov via Lazarus" < lazarus@lists.lazarus-ide.org>: 2017-12-11 16:14 GMT+03:00 Marco van de Voort via Lazarus < lazarus@lists.lazarus-ide.org>: > On Sun, Dec 10, 2017 at 01:25:59PM +0300, Sergey Bodrov via Lazarus wrote: > > > > I change code formatting,

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-12 Thread Sven Barth via Lazarus
Am 12.12.2017 09:07 schrieb "Sergey Bodrov via Lazarus" < lazarus@lists.lazarus-ide.org>: 2017-12-11 19:18 GMT+03:00 Sven Barth via Lazarus < lazarus@lists.lazarus-ide.org>: Problem is that I first change code formatting just to make it readable, > and then do fixes.

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

2017-10-28 Thread Sven Barth via Lazarus
Am 27.10.2017 18:46 schrieb "Ralf Quint via Lazarus" < lazarus@lists.lazarus-ide.org>: I can do everything I need to do (and then some) with FreePascal/Lazarus. Yes, there are some areas where a bit more work is needed, like being able to create Android/iOS applications with Lazarus in the way it

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

2017-10-28 Thread Sven Barth via Lazarus
Am 28.10.2017 21:18 schrieb "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org>: On 2017-10-27 17:18, Giuliano Colla via Lazarus wrote: > 2. Secondarily, Lazarus IDE is light years better than Delphi IDE. > That is so TRUE. I'm working full-time in a Delphi job again, using XE3

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

2017-10-30 Thread Sven Barth via Lazarus
Am 30.10.2017 00:14 schrieb "Carlos E. R. via Lazarus" < lazarus@lists.lazarus-ide.org>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, 2017-10-30 at 00:59 +0200, Juha Manninen via Lazarus wrote: On Mon, Oct 30, 2017 at 12:48 AM, Carlos E. R. via Lazarus <> wrote: > >> About a year

Re: [Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!

2017-10-25 Thread Sven Barth via Lazarus
Am 25.10.2017 14:12 schrieb "Giuliano Colla via Lazarus" < lazarus@lists.lazarus-ide.org>: Il 25/10/2017 13:41, Mattias Gaertner via Lazarus ha scritto: No. The Delphi syntax is "ProcIdentifier:=Proc" or "ProcIdentifier:=@Proc". The "@Some:=" means assign something to address of Some. Which is

Re: [Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!

2017-10-25 Thread Sven Barth via Lazarus
Am 25.10.2017 13:06 schrieb "Giuliano Colla via Lazarus" < lazarus@lists.lazarus-ide.org>: With older Delphi's up to, I believe, Delphi 7 you have that: 1) the syntax for the assignment of a procedural type is @ProcIdentifier := whatever; 2) If whatever is a pointer, and ProcIdentifier is a

Re: [Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!

2017-10-24 Thread Sven Barth via Lazarus
Am 24.10.2017 14:57 schrieb "Giuliano Colla via Lazarus" < lazarus@lists.lazarus-ide.org>: Il 24/10/2017 14:15, Mattias Gaertner via Lazarus ha scritto: > On Tue, 24 Oct 2017 13:56:43 +0200 > Giuliano Colla via Lazarus wrote: > > > [...] >> >> Now the catch is

Re: [Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!

2017-10-24 Thread Sven Barth via Lazarus
On 24.10.2017 19:00, Giuliano Colla via Lazarus wrote: > Il 24/10/2017 17:04, Sven Barth via Lazarus ha scritto: >> >>     @NextProc := Coda.Remove; >>     Sending := True; >>     NextProc; >> >> with NextProc defined as a procedure of ob

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-12 Thread Sven Barth via Lazarus
Michael Schnell via Lazarus schrieb am Di., 12. Juni 2018, 11:48: > Hence the dongle code will be linked in with the IDE and might (or might > not) provide problems. > The dongle code would also be linked if it would be in a dynamic package and Lazarus would support them. The important point is

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-12 Thread Sven Barth via Lazarus
Michael Schnell via Lazarus schrieb am Di., 12. Juni 2018, 10:37: > > On 11.06.2018 21:03, Bo Berglund via Lazarus wrote: > > On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > > > > > > You want to compile some 3rd party Dongle code in

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-12 Thread Sven Barth via Lazarus
Michael Schnell via Lazarus schrieb am Di., 12. Juni 2018, 15:25: > On 12.06.2018 14:06, Sven Barth via Lazarus wrote: > > The dongle code would also be linked if it would be in a dynamic > > package and Lazarus would support them. > Sorry, I seem not to be have been clear.

Re: [Lazarus] Doe fpc/lazarus already have System-Threading or is it planned

2018-02-02 Thread Sven Barth via Lazarus
Am 02.02.2018 11:25 schrieb "Michael Schnell via Lazarus" < lazarus@lists.lazarus-ide.org>: Featuring "parallel loops", "future variables", etc, implemented via a thread pool that is transparent for the application programmer. -> http://docwiki.embarcadero.com/Libraries/Tokyo/de/System.Threading

Re: [Lazarus] Doe fpc/lazarus already have System-Threading or is it planned

2018-02-02 Thread Sven Barth via Lazarus
Am 02.02.2018 21:08 schrieb "Zoë Peterson via Lazarus" < lazarus@lists.lazarus-ide.org>: On 2/2/2018 1:37 PM, R0b0t1 wrote: > I've been looking for a replacement to > http://www.omnithreadlibrary.com/ for a long time. If I remember, the > dealbreaker is the library's codebase making heavy use of

Re: [Lazarus] Windows Registry, how do I read data from rdExpandString

2018-02-07 Thread Sven Barth via Lazarus
On 07.02.2018 20:52, Bo Berglund via Lazarus wrote: > I had the impression before embarking on this that the 32 bit > applications would read/write into Software/Wow6432Node/ > and would not be able to reach the Software/. > But that seems not to be the case for my Lazarus program because in my >

Re: [Lazarus] Form events firing order and count

2018-02-19 Thread Sven Barth via Lazarus
Am 19.02.2018 10:29 schrieb "Martok via Lazarus" < lazarus@lists.lazarus-ide.org>: > But source code written for Delphi must compile in FPC. Should it also do something *similar*? As long as the code does not rely on undocumented behavior, yes. Regards, Sven --

Re: [Lazarus] Crosscompile to Android on arm?

2018-07-26 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am Do., 26. Juli 2018, 10:02: > Then I zipped up the sources and put them on the RPi3 box where I have > FPC 3.0.4 and Lazarus 1.8.4. > Opened the project in Lazarus and compiled and ran the program. > Did you run it from inside Lazarus? Thus with the debugger?

Re: [Lazarus] Convert record to JSON?

2018-07-21 Thread Sven Barth via Lazarus
Am 21.07.2018 um 13:45 schrieb Bo Berglund via Lazarus: On Sat, 21 Jul 2018 09:29:29 +0200 (CEST), Michael Van Canneyt via Lazarus wrote: What have I done wrong? Because RTTI is made only for published properties. So, you must make it published properties: Type { needed if you want to

Re: [Lazarus] Convert record to JSON?

2018-07-21 Thread Sven Barth via Lazarus
Am 21.07.2018 um 18:05 schrieb Michael Van Canneyt: On Sat, 21 Jul 2018, Sven Barth via Lazarus wrote: === code begin === s := streamer.RecordToJSONString(@t1, TypeInfo(t1)); // becomes s := streamer.specialize RecordToJSONString(t1); destreamer.JSONToRecord(s, @t2, TypeInfo(t2

Re: [Lazarus] Convert record to JSON?

2018-07-22 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am So., 22. Juli 2018, 00:23: > And how do I "plug" the fpjson.helper.pp code into my project? > Simply add the unit to your project and use it where you use fpjsonrtti (in addition to that unit!). The methods are then part of TJSONStreamer and TJSONDeStreamer.

Re: [Lazarus] Usage of Serial in a testing program?

2018-09-10 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am Mo., 10. Sep. 2018, 15:19: > Concerning the com port name for SerOpen(): > > { Open the serial device with the given device name, for example: > \COM1, \COM2 (strictly, \\.\COM1...) for normal serial ports. > ISDN devices, serial port

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

2018-10-24 Thread Sven Barth via Lazarus
Am 24.10.2018 um 22:23 schrieb Luca Olivetti via Lazarus: El 24/10/18 a les 22:11, Sven Barth via Lazarus ha escrit: Am 24.10.2018 um 21:35 schrieb Luca Olivetti via Lazarus: El 24/10/18 a les 13:10, Juha Manninen via Lazarus ha escrit: Why old Lazarus 1.8.4? Why don't you use the new 2.0

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

2018-10-24 Thread Sven Barth via Lazarus
Am 24.10.2018 um 21:35 schrieb Luca Olivetti via Lazarus: El 24/10/18 a les 13:10, Juha Manninen via Lazarus ha escrit: Why old Lazarus 1.8.4? Why don't you use the new 2.0 branch? I still have to keep 1.6.4 around due to a bug with bitpacked records in fpc 3. I use 1.8.4 for projects I

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

2018-10-28 Thread Sven Barth via Lazarus
Michael Van Canneyt via Lazarus schrieb am So., 28. Okt. 2018, 11:41: > > > On Sun, 28 Oct 2018, Bo Berglund via Lazarus wrote: > > > On Sun, 28 Oct 2018 00:49:50 +0200, Sven Barth via Lazarus > > wrote: > > > >> That something is pulling in unit Int

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

2018-10-27 Thread Sven Barth via Lazarus
Am 27.10.2018 um 13:03 schrieb Bo Berglund via Lazarus: The dev machine has a GUI interface (otherwise Lazarus would not work) but the program itself is purely non-gui, it is just a Pascal program and it does not even send output to the console, just handles files and networking. Still the

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

2018-10-27 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am Sa., 27. Okt. 2018, 13:58: > On Sat, 27 Oct 2018 13:39:12 +0200, Sven Barth via Lazarus > wrote: > > >Binaries usually have aligned sections so removing or adding just a > >small bit (like the dependency on gdk in your case introduce

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

2018-10-27 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am Sa., 27. Okt. 2018, 14:31: > After conversion it complained about directive {$APPTYPE CONSOLE} > being unrecognized so I had to IFNDEF FPC that line so it is only > visible in Delphi (which I rarely use these days)... > It's only a warning, not an error. The

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

2018-10-27 Thread Sven Barth via Lazarus
Bo Berglund via Lazarus schrieb am So., 28. Okt. 2018, 00:44: > >> Not so simple in Lazarus until I saw I could install indylaz. > >> Has worked fine for GUI applications so far > > > >Yes, Indy apparently suits best for GUI apps. > >You can of course set the search path of your Lazarus

Re: [Lazarus] IDE Spotter

2018-09-23 Thread Sven Barth via Lazarus
Am 24.09.2018 um 02:42 schrieb Ralf Quint via Lazarus: On 9/23/2018 11:38 AM, Marcos Douglas B. Santos via Lazarus wrote: On Sun, Sep 23, 2018 at 2:28 PM Michael Van Canneyt via Lazarus wrote: (I guess everyone now guessed, I don't u I thought that I was the last one not using a docked IDE

Re: [Lazarus] SSL socket support rework & HTTPS support in FPC HTTP Server.

2019-01-05 Thread Sven Barth via lazarus
Am Sa., 5. Jan. 2019, 13:42 hat Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > > Hello, > > I've reworked the SSL support of the FPC native sockets support. > It is now pluggable, which means you don't need OpenSSL any more. > Awesome! Say, is it possible to

Re: [Lazarus] Unit checksum changed error

2019-01-17 Thread Sven Barth via lazarus
Am 17.01.2019 um 22:24 schrieb Thomas Crone via lazarus: I have 3 run time units. IOBuf, AIFF which 'uses' IOBuf, and PlayMusic which 'uses’ both IOBuf and AIFF The compiele time for IOBuf.o, .ppu is 1:52 PM, for AIFF.om .ppu is 1:56 PM, using IOBu from 1:52 PM Compiling PlayMusic gives an

Re: [Lazarus] Unit checksum changed error

2019-01-23 Thread Sven Barth via lazarus
Am 21.01.2019 um 21:27 schrieb Thomas Crone via lazarus: When I go To Project/Project Options/Compiler Options/Verbosity and check Show used files (-vu), I get: PlayMusic.pas(56,25) Fatal: Cannot fine Aiff by PlayMusic of the Project Inspector. With it unchecked, I get the error reported

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

2018-12-21 Thread Sven Barth via lazarus
Am Fr., 21. Dez. 2018, 20:48 hat Maciej Izak via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > Admin, lead of project, programmer and foundation ruler in one person? Too > much power always corrupts. > I personally consider Florian as lead of project. He started FPC after all.

Re: [Lazarus] Auto session store etc.

2019-01-04 Thread Sven Barth via lazarus
Am Fr., 4. Jan. 2019, 13:01 hat Florian Klämpfl via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > > > > > >> Background is that I am starting another trial to use linux as > >> desktop system but within in a few days I have already lost changes > >> because lazarus was just killed on

Re: [Lazarus] how to show hourglass on windows 10 with touch screen?

2019-01-24 Thread Sven Barth via lazarus
Am Do., 24. Jan. 2019, 18:31 hat Giuliano Colla via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > Il 24/01/2019 14:34, Sven Barth via lazarus ha scritto: > > No, Windows 10 hides the cursor if no input device (mouse, touchpad) > > besides a touchscreen is detecte

Re: [Lazarus] Lots of access violations with TSQLConnection TSQLQuery on Linux

2019-04-03 Thread Sven Barth via lazarus
Anthony Walter via lazarus schrieb am Do., 4. Apr. 2019, 02:15: > I don't normally use the Lazarus MS SQL components, but tried using them > today on Ubuntu Linux and keep experiencing lots of random access > violations. I wanted to know if this is a normal thing, or if perhaps the > state of

Re: [Lazarus] Convert record to JSON?

2019-02-26 Thread Sven Barth via lazarus
Luca Olivetti via lazarus schrieb am Di., 26. Feb. 2019, 12:05: > El 26/2/19 a les 11:11, Sven Barth via lazarus ha escrit: > > > > > I didn't test bitbacked records so those might indeed fail. > > The RTTI information gives TkUnknown for a bitpacked record. > Ah,

Re: [Lazarus] Fppkg error on IDE start with FPC 3.2 fixes

2019-02-21 Thread Sven Barth via lazarus
Am Do., 21. Feb. 2019, 11:40 hat AlexeyT via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > function TFppkgHelper.IsProperlyConfigured: Boolean; > {$IF FPC_FULLVERSION>30100} > var >CompilerFilename: string; > {$ENDIF FPC_FULLVERSION>30100} > begin >{$IF FPC_FULLVERSION>30100} >

  1   2   >