Re: [Lazarus] Lazarus make clean fails...

2023-12-03 Thread Sven Barth via lazarus
Giuliano Colla via lazarus schrieb am So., 3. Dez. 2023, 11:42: > I’m not familiar with your environment, but I’ve never seen a lazarus > directory which is not named “lazarus”. Therefore I’d cd one step further: > cd ~/devtools/lazarus/2.2.6/lazarus > I extract all sources into a directory

Re: [Lazarus] LclVLC usage questions for switching from PasLibVLC

2023-11-20 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Mo., 20. Nov. 2023, 15:09: > On Sun, 19 Nov 2023 14:50:34 +0100, Bo Berglund via lazarus > wrote: > > >Lazarus contains LibVLC as a standard package available to be installed > in the > >GUI using Package/Install-remove packages! No download needed from >

Re: [Lazarus] [fpc-devel] Unicode RTL

2023-07-29 Thread Sven Barth via lazarus
Sergey Bodrov via lazarus schrieb am Fr., 28. Juli 2023, 18:52: > And UnicodeString is just alias for WideString > On Windows UnicodeString is *not* an alias to WideString. There they are two completely different types that happen to both handle string with a element width of 2 and UTF-16

Re: [Lazarus] Lazarus trunk version number

2023-07-01 Thread Sven Barth via lazarus
Maxim Ganetsky via lazarus schrieb am Fr., 30. Juni 2023, 15:48: > 30.06.2023 16:44, Maxim Ganetsky via lazarus пишет: > > 30.06.2023 14:27, Martin Frb via lazarus пишет: > >> On 30/06/2023 12:51, Michael Van Canneyt via lazarus wrote: > >>> > >>> > >>> On Fri, 30 Jun 2023, Juha Manninen via

Re: [Lazarus] Simple ipc server fatal error on start - 0xc000007b

2023-04-02 Thread Sven Barth via lazarus
Wayne Sherman via lazarus schrieb am So., 2. Apr. 2023, 02:45: > On Fri, Mar 31, 2023 at 9:38 AM Bo Berglund wrote: > > What I want to do is...use the D7 app to read a hardware device on > command > > and send the data to the Lazarus app. > > You probably don't need the extra complication of

Re: [Lazarus] animated splash screen for lengthy operation, works with windows, doesn't with linux

2023-03-27 Thread Sven Barth via lazarus
Luca Olivetti via lazarus schrieb am Mo., 27. März 2023, 10:34: > El 27/3/23 a les 10:13, Jean SUZINEAU via lazarus ha escrit: > > > > Le 27/03/2023 à 09:46, Luca Olivetti via lazarus a écrit : > >> procedure TUpdateThread.Execute; > >> begin > >> while not Terminated do > >> begin > >>

Re: [Lazarus] Lazarus fails to build

2023-03-20 Thread Sven Barth via lazarus
Martin Frb via lazarus schrieb am So., 19. März 2023, 20:57: > On 19/03/2023 19:53, Sven Barth via lazarus wrote: > > If it *would* work however you could simply do {$if not > > declared(name_of_the_unit)}, because the unit name is also a valid > > symbol. > > ooohh

Re: [Lazarus] Lazarus fails to build

2023-03-19 Thread Sven Barth via lazarus
Am 19.03.2023 um 09:36 schrieb Martin Frb via lazarus: On 19/03/2023 00:00, Michael Van Canneyt via lazarus wrote: On Sat, 18 Mar 2023, Mattias Gaertner via lazarus wrote: As this happens seldom there is no detection built in (yet) to handle this automatically. If possible, might be a

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Sven Barth via lazarus
Mehmet Erol Sanliturk via lazarus schrieb am Fr., 17. März 2023, 12:58: > > > On Fri, Mar 17, 2023 at 10:07 AM Bo Berglund via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> On Fri, 17 Mar 2023 08:53:01 +0300, Mehmet Erol Sanliturk via lazarus >> wrote: >> >> >Some portability is

Re: [Lazarus] version `GLIBC_2.34' not found error when running app on different PC

2023-03-17 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Fr., 17. März 2023, 13:54: > On Fri, 17 Mar 2023 08:43:55 +0100 (CET), Michael Van Canneyt via lazarus > wrote: > > >FPC has not changed. It still works the same. > >Everything that is under control of FPC is linked statically. > > > >But a complex GUI system

Re: [Lazarus] Debugging the unicode RTL

2023-01-12 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Do., 12. Jan. 2023, 10:42: > 1/ Should the compiler provide some symbol in - say - the system unit to > deterine > whether the RTL is compiled in unicode mode, or is another mechanism > preferred to do this ? > "Char" already is such a symbol that the

Re: [Lazarus] TListView: Column Header Captions and Column Sorting

2022-11-17 Thread Sven Barth via lazarus
Aruna Hewapathirane via lazarus schrieb am Do., 17. Nov. 2022, 12:31: > I managed to get the TListView to work after studying the example Sven > sent. You can see a screenshot here: > https://pasteboard.co/inCtdrOWwAvV.png > You sure you don't mean Werner instead of me? ;) Regards, Sven --

Re: [Lazarus] Creating a library

2022-11-15 Thread Sven Barth via lazarus
Am 15.11.2022 um 20:31 schrieb Aruna Hewapathirane: On Tue, Nov 15, 2022 at 2:28 PM Sven Barth via lazarus wrote: Am 15.11.2022 um 20:11 schrieb Aruna Hewapathirane via lazarus: > Hello Everyone, > > I was wondering if it is possible for me to create a library

Re: [Lazarus] Creating a library

2022-11-15 Thread Sven Barth via lazarus
Am 15.11.2022 um 20:11 schrieb Aruna Hewapathirane via lazarus: Hello Everyone, I was wondering if it is possible for me to create a library with my own set of code snippets I use on a regular basis . Is there any example code I can possibly look at how this is done? Or a small single

Re: [Lazarus] Type Library Viewer, Importer, and Editor?

2022-06-26 Thread Sven Barth via lazarus
Marco van de Voort via lazarus schrieb am So., 26. Juni 2022, 15:06: > > On 26-6-2022 14:37, Anthony Walter via lazarus wrote: > > Does Lazarus have a type library viewer for previewing all the type > > libraries on your computer in the form of converted pascal source code? > > > Afaik there is

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Sven Barth via lazarus
Marco van de Voort via lazarus schrieb am Fr., 8. Apr. 2022, 11:58: > > IOW in which cases is disambiguation in the class registration of the > generated app needed? > > > Sure, the IDE is also a FPC/Lazarus app, but it has more leeway for > solutions that doesn't require changes to the way

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Mi., 6. Apr. 2022, 14:47: > > > On Wed, 6 Apr 2022, Sven Barth via lazarus wrote: > > > Michael Van Canneyt via lazarus schrieb > am > > Mi., 6. Apr. 2022, 12:56: > > > >> > >> 1. Cu

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Mi., 6. Apr. 2022, 12:56: > > 1. Currently a component is identified by its class name. > > This should be enhanced: a component must be identified with > UnitName.Name. > a unit name is a "namespace" and so MyControls.TButton <> >

Re: [Lazarus] Gtk 1.2 fixes (again)

2022-02-13 Thread Sven Barth via lazarus
Am 13.02.2022 um 23:22 schrieb Kostas Michalopoulos via lazarus: Beyond that, as i wrote in the merge request, MUI is even more "ancient" and yet Lazarus added support for it recently. I do not see why it being called obsolete by its original developers means that one couldn't work on it if

Re: [Lazarus] Gtk 1.2 fixes (again)

2022-02-13 Thread Sven Barth via lazarus
Am 13.02.2022 um 22:58 schrieb Kostas Michalopoulos via lazarus: On 2/13/22 21:33, Sven Barth via lazarus wrote: Bart means the internal, private Lazarus developer list. I see, but then why tell me? :-P To explain to you that your request is looked at and why there might be delays

Re: [Lazarus] Gtk 1.2 fixes (again)

2022-02-13 Thread Sven Barth via lazarus
Kostas Michalopoulos via lazarus schrieb am So., 13. Feb. 2022, 18:31: > On 2/13/22 16:49, Bart via lazarus wrote: > > On Sat, Feb 12, 2022 at 6:25 PM Kostas Michalopoulos via lazarus > > wrote: > > > > This is currently being discussed on the devel ML. > > > > Isn't this the development

Re: [Lazarus] Making fpdebug more cross-platform friendly

2021-12-16 Thread Sven Barth via lazarus
Martin Frb via lazarus schrieb am Do., 16. Dez. 2021, 23:27: > Only, question is, if we need the ABI? > - Do win64 and linux64 share the same ABI? (or win32 <> linux32)? >Afaik SEH is win specific (and probably would be best of in the ABI?). >But there could still be a base class that is

Re: [Lazarus] TMask revisited

2021-10-15 Thread Sven Barth via lazarus
Juha Manninen via lazarus schrieb am Fr., 15. Okt. 2021, 14:03: > This may be a dummy question but what does "static" do for a class > procedure? > José's mask code has for example: > > class procedure Exception_IncompleteMask(); static; > > I thought class procedures are kind of static

Re: [Lazarus] trying to read an EXE

2021-09-03 Thread Sven Barth via lazarus
duilio foschi via lazarus schrieb am Fr., 3. Sep. 2021, 23:08: > > Looking for string 'peppe', I can easily spot the part that contains > the code of interest. > In addition to what Bart wrote: the string will be located in a different section (usually .rdata) than where it will be used (in

Re: [Lazarus] Lazarus for writing 3D Desktop Environment/Window manager for Linux?

2021-06-24 Thread Sven Barth via lazarus
Chavoux Luyt via lazarus schrieb am Do., 24. Juni 2021, 14:53: > (although it would have been nice if Lazarus could add packages like > Delphi without needing to recompile the whole IDE - compile the package to > a .dll or .so and simply link into it from the IDE?). > Simply using ordinary

Re: [Lazarus] Fwd: Registering a TFrame to component palette

2021-06-13 Thread Sven Barth via lazarus
Juha Manninen via lazarus schrieb am So., 13. Juni 2021, 18:45: > It went to Sven Barth only, forwarding here. > I clicked the reply button as always. I don't know what happened. > Probably because I used "Reply to all" and your e-mail client then picked up my address instead of the list's.

Re: [Lazarus] Registering a TFrame to component palette

2021-06-13 Thread Sven Barth via lazarus
Michael Van Canneyt schrieb am So., 13. Juni 2021, 13:53: > > > On Sun, 13 Jun 2021, Sven Barth via lazarus wrote: > > > Am 11.06.2021 um 23:48 schrieb Juha Manninen via lazarus: > >> Regarding issue : https://bugs.freepascal.org/view.php?id=28450 > >> <

Re: [Lazarus] Registering a TFrame to component palette

2021-06-13 Thread Sven Barth via lazarus
Am 11.06.2021 um 23:48 schrieb Juha Manninen via lazarus: Regarding issue : https://bugs.freepascal.org/view.php?id=28450 The parameter passed to function RegisterComponents() is TComponentClass which means "class of TComponent". It is only type

Re: [Lazarus] Fwd: using a weird DLL

2021-02-01 Thread Sven Barth via lazarus
duilio foschi via lazarus schrieb am Mo., 1. Feb. 2021, 11:22: > > On Mon, Feb 1, 2021 at 10:08 AM duilio foschi > wrote: > >> I am corrected. The DLL is written in c#. It seems that Bitmap and >> Rectangle are common predefined/usable objects in C#. >> > You can't trivially use a C# (or .NET

Re: [Lazarus] using a weird DLL

2021-01-31 Thread Sven Barth via lazarus
duilio foschi via lazarus schrieb am So., 31. Jan. 2021, 23:23: > I would like to use a function exported from a DLL. The DLL was written in > C++ (Visual Studio 2015). > > Inside the original code the function is declared as > > public bool GetSkinFeatures(Bitmap Input_Bitmap, Rectangle

Re: [Lazarus] Update to help documentation

2021-01-08 Thread Sven Barth via lazarus
Rolf Wetjen via lazarus schrieb am Fr., 8. Jan. 2021, 09:58: > I've a small update for the help files masks.xml and maskedit.xml. > > How can I share it to the project? > Best provide patches in a bug report on https://bugs.freepascal.org/ for the Lazarus project. Regards, Sven > --

Re: [Lazarus] Tooltip shows value of some but not all const items....

2021-01-03 Thread Sven Barth via lazarus
Am 02.01.2021 um 23:29 schrieb Bo Berglund via lazarus: On Sat, 2 Jan 2021 12:36:06 +0100, Sven Barth via lazarus wrote: Am 02.01.2021 um 12:09 schrieb Bo Berglund via lazarus: Another question: - Is there a difference between the two types of declarations? I think

Re: [Lazarus] Tooltip shows value of some but not all const items....

2021-01-02 Thread Sven Barth via lazarus
Am 02.01.2021 um 12:09 schrieb Bo Berglund via lazarus: Is there some Lazarus setting that will enable always showing the value? You would probably need to do a feature request for that. Another question: - Is there a difference between the two types of declarations? I think

Re: [Lazarus] Issues getting sources from the repository

2020-12-26 Thread Sven Barth via lazarus
Leyba Bronstain via lazarus schrieb am Sa., 26. Dez. 2020, 01:49: > Hi guys. > > When I try to get the fpc/lazarus source code from the repository using > the svn-client, the server drops the connection. These cases are observed > several times during the process. I have to run the svn client

Re: [Lazarus] CDDB access

2020-12-02 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Mi., 2. Dez. 2020, 08:02: > > > On Wed, 2 Dec 2020, Teresa Williams via lazarus wrote: > > > Hi > > > > I need to access CDDB (and also MusicBrainz would be nice) on Linux. I > found https://wiki.freepascal.org/CDDB but as that page suggests, the >

Re: [Lazarus] Lazarus totally destroyed... :(

2020-11-20 Thread Sven Barth via lazarus
Juha Manninen via lazarus schrieb am Fr., 20. Nov. 2020, 12:24: > On Fri, Nov 20, 2020 at 12:32 PM Michael Van Canneyt via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> - Updated Lazarus from SVN. >> - Lazarus no longer compiles (FPC 3.2) >> >> - Managed to fix that: >> >>

Re: [Lazarus] Project Group error ?

2020-11-14 Thread Sven Barth via lazarus
Am 14.11.2020 um 17:17 schrieb Juha Manninen via lazarus: Regarding issue : https://bugs.freepascal.org/view.php?id=38011 People with easy access to Windows, please check if you can reproduce the problem? I've replied in the bug report.

Re: [Lazarus] AutoCommit

2020-11-13 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Fr., 13. Nov. 2020, 22:37: > > > On Fri, 13 Nov 2020, Ondrej Pokorny via lazarus wrote: > > > Usually we try to use the "default" feature of the newly added > properties so > > that they are streamed only when really set and used. When they are not >

Re: [Lazarus] FindWindow return sequence (Windows 10)?

2020-11-02 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Mo., 2. Nov. 2020, 08:07: > I thought that GetWindow(hWndTemp, GW_HWNDNEXT); would return the next > larger handle following hWndTemp, but it seems like this is not the > case. Is the result random or is there some known sequence when using > the flag

Re: [Lazarus] I use the Windows procedure WinExec() (...)

2020-10-26 Thread Sven Barth via lazarus
Bart via lazarus schrieb am Mo., 26. Okt. 2020, 12:00: > On Mon, Oct 26, 2020 at 10:34 AM larrydalton71 via lazarus > wrote: > > Is there anything wrong with TOpenDialog or TSelectDirectoryDialog? > And what exactly does "open a file" mean in your situation (open it in > your application, let

Re: [Lazarus] -dWINDOWS_LIGATURE [[Re: Font ligatures support]]

2020-10-05 Thread Sven Barth via lazarus
Am 04.10.2020 um 18:05 schrieb Martin Frb via lazarus: On 04/10/2020 10:14, Mr Bee wrote: If it does work, would you please submit it as a patch for the next release? At least, add a note that the font ligatures feature only supports monospaced fonts and only works on Windows. It's better than

Re: [Lazarus] -dWINDOWS_LIGATURE [[Re: Font ligatures support]]

2020-10-04 Thread Sven Barth via lazarus
anti aliasing option), then the > feature can depend on that, and no longer needs the define. > Thank you! Will test when I find the time. :) > > On 02/10/2020 22:48, Sven Barth via lazarus wrote: > > I'm using Microsoft's Cascadia Code > > > According to my tests (libre o

Re: [Lazarus] Support for dark mode (on Windows 10)

2020-10-04 Thread Sven Barth via lazarus
Mr Bee via lazarus schrieb am So., 4. Okt. 2020, 10:24: > Is there any setting somewhere to make Lazarus follows the system color > scheme (either dark or light mode)? Or does not Lazarus support dark mode > yet? > The API for the dark mode is not officially documented and also changes slightly

Re: [Lazarus] Font ligatures support

2020-10-02 Thread Sven Barth via lazarus
Am 02.10.2020 um 15:19 schrieb Martin Frb via lazarus: On 02/10/2020 05:54, Mr Bee via lazarus wrote: Hi, It seems Lazarus’ source editor still doesn’t support font ligatures. I’d love to use them in Lazarus to increase the code readability as I’ve used them in many other code editors (using

Re: [Lazarus] How to find out why a unit is used in a project?

2020-09-24 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Do., 24. Sep. 2020, 15:22: > On Thu, 24 Sep 2020 14:22:13 +0200, Sven Barth via lazarus > wrote: > > >Well, Bo could always split the data type declarations into a separate > >unit. > > But I cannot wrap my head around this (construc

Re: [Lazarus] How to find out why a unit is used in a project?

2020-09-24 Thread Sven Barth via lazarus
R.Smith via lazarus schrieb am Do., 24. Sep. 2020, 12:19: > > On 2020/09/24 11:04, Sven Barth via lazarus wrote: > > Bo Berglund via lazarus schrieb am Do., > 24. Sep. 2020, 08:08: > >> >> >If course there is. That's how the unit system is supposed to work afte

Re: [Lazarus] How to find out why a unit is used in a project?

2020-09-24 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Do., 24. Sep. 2020, 08:08: > On Thu, 24 Sep 2020 07:53:24 +0200, Sven Barth via lazarus > wrote: > > >Bo Berglund via lazarus schrieb am Mi., > 23. > >Sep. 2020, 21:13: > > > >> So there seems to be a c

Re: [Lazarus] How to find out why a unit is used in a project?

2020-09-23 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Mi., 23. Sep. 2020, 21:13: > So there seems to be a chain reaction concerning units involved in the > application > If course there is. That's how the unit system is supposed to work after all. Regards, Sven > --

[Lazarus] fpcres now supports compilation of RC files

2020-08-12 Thread Sven Barth via lazarus
Hello together! Thanks to the work of Martok the fpcres utility is now able to compile RC files into RES files. To compile an RC file to a RES file you need to pass the "-of res" argument as otherwise the RC reader won't be used (it's a "catch all" TResourceReader descendant and thus not

Re: [Lazarus] TCheckLisBox and SelCount

2020-08-04 Thread Sven Barth via lazarus
frans via lazarus schrieb am Di., 4. Aug. 2020, 09:36: > Hi, > > The inherited SelCount function of a TCheckListBox counts the selected > items, not the checked items which are the whole purpose of this > component. And there is no other function available. Is this overlooked > or judged as not

Re: [Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

2020-07-05 Thread Sven Barth via lazarus
Graeme Geldenhuys via lazarus schrieb am So., 5. Juli 2020, 01:38: > On 04/07/2020 9:48 pm, Sven Barth via lazarus wrote: > > I've just tested: Delphi does not support Emojis. > > I've just tested with Java. They allow Unicode, but only what is > considered "spoken l

Re: [Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

2020-07-04 Thread Sven Barth via lazarus
Am 04.07.2020 um 22:56 schrieb Marco van de Voort via lazarus: Op 2020-07-04 om 22:48 schreef Sven Barth via lazarus: Am 04.07.2020 um 20:13 schrieb Graeme Geldenhuys via lazarus: On 04/07/2020 7:11 pm, Graeme Geldenhuys via lazarus wrote: var     : Integer; begin     for  := 0 to 10 do

Re: [Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

2020-07-04 Thread Sven Barth via lazarus
Am 04.07.2020 um 20:13 schrieb Graeme Geldenhuys via lazarus: On 04/07/2020 7:11 pm, Graeme Geldenhuys via lazarus wrote: var : Integer; begin for  := 0 to 10 do writeln(); end. And exception variables could be 濫 (nauseated face). I've just tested: Delphi does not support

Re: [Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

2020-07-03 Thread Sven Barth via lazarus
Martin Frb via lazarus schrieb am Fr., 3. Juli 2020, 17:02: > On 03/07/2020 16:37, Michael Van Canneyt via lazarus wrote: > > > > > > On Fri, 3 Jul 2020, Martin Frb via lazarus wrote: > > > >> On 03/07/2020 16:21, Péter Gábor via lazarus wrote: > >>> Hi! > >>> > >>> I hope that you did not

Re: [Lazarus] Laz next release- Cocoa WS

2020-07-03 Thread Sven Barth via lazarus
Alexey Tor. via lazarus schrieb am Fr., 3. Juli 2020, 14:07: > IMO it's good to make Cocoa the default WS! Why? macOS is now all-64bit, > so Carbon (old WS)+32bit apps cannot run (or run with a warning). > For 64-bit it already is the default now, cause otherwise 64-bit wouldn't work as it's

Re: [Lazarus] WinCE widgetset implementation of TCustomListbox.SelectRange: testers needed.

2020-06-11 Thread Sven Barth via lazarus
Am 11.06.2020 um 12:59 schrieb Bart via lazarus: On Thu, Jun 11, 2020 at 12:25 PM Sven Barth via lazarus wrote: Had to dust off my old Windows Mobile phone for this and get Windows Mobile Device Center working on Windows 10, but yes, it works as on Windows. :) (boy, that took me back

Re: [Lazarus] WinCE widgetset implementation of TCustomListbox.SelectRange: testers needed.

2020-06-11 Thread Sven Barth via lazarus
Am 10.06.2020 um 12:12 schrieb Bart via lazarus: Hi, Can somebody please test the changes I made to the widgetset implementation of TCustomListBox.SelectRange for the WinCE widgetset in r63339. . It compiles and in theory it should work, but I cannot test this. Methods to test:

Re: [Lazarus] fpWeb and server-sent events

2020-06-04 Thread Sven Barth via lazarus
Luca Olivetti via lazarus schrieb am Do., 4. Juni 2020, 15:51: > El 4/6/20 a les 15:37, Michael Van Canneyt via lazarus ha escrit: > > > > > > On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote: > > > >>> FServer.Port:=8080; > >>> FServer.Threaded:=true; > >>> FServer.Run; > >>>

Re: [Lazarus] Cannot compile LCL for Win-aarch64

2020-05-27 Thread Sven Barth via lazarus
Alexey Tor. via lazarus schrieb am Mi., 27. Mai 2020, 22:20: > Win-aarch64 (arm64) is used in real hardware on Win10. > > installed FPC trunk with Laz trunk with Linux-x64->Win-ARM64 cross. > As long as the compiler can't compile itself on Windows on ARM64 I wouldn't try anything as complicated

Re: [Lazarus] Where to define conditionals for FPC

2020-05-08 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Fr., 8. Mai 2020, 18:03: > Maybe I can just enclose the ifdef's in an outer layer ifdef DELPHI? > Does the converter skip such sections during the conversion? > Like: > > {$IFDEF DELPHI} > {$IFDEF USE_SUPERPRO} > Sentinel, > {$ENDIF} > {$ENDIF} > > Then

Re: [Lazarus] Where to define conditionals for FPC

2020-05-08 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Fr., 8. Mai 2020, 16:54: > On Fri, 8 May 2020 16:34:49 +0200, Gabor Boros via lazarus > wrote: > > >2020. 05. 08. 14:07 keltezéssel, Bo Berglund via lazarus írta: > >> I know that you can define "custom options" in Lazarus > >>

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-03 Thread Sven Barth via lazarus
Am 03.05.2020 um 00:53 schrieb leyba bronstain: 03.05.2020 0:05, Sven Barth пишет: Would you please provide a directory listing (using "dir" should be enough) of the fpc_stable_x32\bin\i386-win32 and fpc_stable_x64\bin\x86_64-win64 directories? I have the feeling that something in there leads

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-03 Thread Sven Barth via lazarus
Am 02.05.2020 um 23:51 schrieb leyba bronstain: 03.05.2020 0:05, Sven Barth пишет: Would you please provide a directory listing (using "dir" should be enough) of the fpc_stable_x32\bin\i386-win32 and fpc_stable_x64\bin\x86_64-win64 directories? I have the feeling that something in there

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-02 Thread Sven Barth via lazarus
Am 02.05.2020 um 22:05 schrieb leyba bronstain via lazarus: for x32 d:\Archive\development\fpc_331_r45227_x32\compiler>path=d:\Archive\development\fpc_stable_x32\bin\i386-win32;%path% d:\Archive\development\fpc_331_r45227_x32\compiler>echo %path%

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-05-01 Thread Sven Barth via lazarus
Am 01.05.2020 um 01:30 schrieb leyba bronstain via lazarus: 01.05.2020 1:45, Martin Frb via lazarus пишет: in your svn checkout dir, is a sub-directory called /compiler It has the sources for the compiler. And you should run that particular make command in that dir. OMG! I thank you for the

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread Sven Barth via lazarus
Am 30.04.2020 um 23:40 schrieb leyba bronstain via lazarus: 01.05.2020 0:25, Sven Barth via lazarus пишет: You did read the part where I said "go to the compiler directory"? ;) Regards, Sven Hi Sven. In a previous post, I went to the root directory of the compiler trunk(

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-30 Thread Sven Barth via lazarus
leyba bronstain via lazarus schrieb am Do., 30. Apr. 2020, 23:22: > 30.04.2020 8:30, Sven Barth via lazarus пишет: > > As I have written on the forum there seems to be some problem with > > "echo" as this is the line the makefile intends to execute: > > &g

Re: [Lazarus] Can't build fpc trunk x64 win32/64

2020-04-29 Thread Sven Barth via lazarus
Am 20.04.2020 um 22:56 schrieb leyba bronstain via lazarus: Hi guys. I need your help. I try build trunk compiler x64 for windows. I was extract stable release fpc_x64 form lazarus-2.0.8-fpc-3.0.4-win64.exe installer and put it to separate folder fpc_stable_x64. Also I put into

Re: [Lazarus] Completely solve the GTK trouble

2020-04-14 Thread Sven Barth via lazarus
jiaxing ruan schrieb am Di., 14. Apr. 2020, 15:03: > We have no control over GTK, too. IUP is better in this regard as it > doesn't change as much as GTK. IUP is much smaller than GTK, too. Creating > binding for IUP I only have to use h2pas. I don't think h2pas is able to > create binding for

Re: [Lazarus] Completely solve the GTK trouble

2020-04-13 Thread Sven Barth via lazarus
jiaxing ruan via lazarus schrieb am Di., 14. Apr. 2020, 05:59: > GTK changes too fast and our GTK3 binding is not updated. We don't have to > resource to catch up GTK. I suggest we abandon the GTK3 and any later GTK > version interface and instead create an IUP interface. IUP uses GTK >

Re: [Lazarus] Online Package Manager errors ?

2020-04-13 Thread Sven Barth via lazarus
Balázs Székely via lazarus schrieb am Mo., 13. Apr. 2020, 20:08: > > I have a naive suggestion for OPM. Some components depends on external >> libraries/binaries (libffi, openssl, libsagui etc.), so it would be nice >> any field like "Libraries", or "Dependencies", or even "External files" >>

Re: [Lazarus] RFC: Selection Editors to extend handling of object inspector selections

2020-03-31 Thread Sven Barth via lazarus
Juha Manninen via lazarus schrieb am Di., 31. März 2020, 13:40: > On Sun, Nov 10, 2019 at 11:26 PM Sven Barth via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> I've got a RFC for a feature that allows to extend the IDE. It's based >> on something that Delphi

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-29 Thread Sven Barth via lazarus
leledumbo via lazarus schrieb am So., 29. März 2020, 05:48: > > The model to download applications and install on a random distro+version > simply doesn't exist on Linux. > > Snap, AppImage, Flatpak are purposely targeting this. It's partially > successful, but as with many things in Linux,

Re: [Lazarus] GTK3 widgets on macOS?

2019-11-25 Thread Sven Barth via lazarus
Ryan Joseph via lazarus schrieb am Mo., 25. Nov. 2019, 20:19: > > > > On Nov 25, 2019, at 2:07 PM, Sven Barth via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > > > > You'll likely expect wrong considering that GTK is rather Unix centric > and doesn'

Re: [Lazarus] GTK3 widgets on macOS?

2019-11-25 Thread Sven Barth via lazarus
Ryan Joseph via lazarus schrieb am Mo., 25. Nov. 2019, 19:37: > Is it possible to build projects using the GTK3 widget set while on Mac? I > know GTK3 is cross platform itself so it should be possible to use this > instead of the Cocoa widgets right? > > I try to build and I get pretty far until

Re: [Lazarus] Cross-compile for Linux strange behaviour with floating point constants

2019-11-23 Thread Sven Barth via lazarus
Am 20.11.2019 um 19:19 schrieb R Smith via lazarus: Is there something I can check on my side? Does this work for others? Might this be a cross-compile bug of sorts?  Is this some FPC, FPU or Linux peculiarity I'm not aware of? Win64 is essentially the only x86 platform that does *not* support

Re: [Lazarus] RFC: Selection Editors to extend handling of object inspector selections

2019-11-17 Thread Sven Barth via lazarus
Am 10.11.2019 um 22:26 schrieb Sven Barth: Hello together! I've got a RFC for a feature that allows to extend the IDE. It's based on something that Delphi supports as well: Selection Editors. Unlike Component Editors these are supposed to be used to interact with a specific selection in the

Re: [Lazarus] Why is there a define switch UseCThreads?

2019-11-11 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Mo., 11. Nov. 2019, 08:38: > On Mon, 11 Nov 2019 00:20:59 +0100, Sven Barth via lazarus > wrote: > > >Bo Berglund via lazarus schrieb am So., > 10. > >Nov. 2019, 23:29: > > > >> I have ported a console application from

Re: [Lazarus] Why is there a define switch UseCThreads?

2019-11-10 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am So., 10. Nov. 2019, 23:29: > I have ported a console application from Windows to Linux (Raspbian > Buster) and I got to wonder about the check for a defined symbol > appearing in the beginning of the code as produced by the Lazarus > template: > > uses >

[Lazarus] RFC: Selection Editors to extend handling of object inspector selections

2019-11-10 Thread Sven Barth via lazarus
Hello together! I've got a RFC for a feature that allows to extend the IDE. It's based on something that Delphi supports as well: Selection Editors. Unlike Component Editors these are supposed to be used to interact with a specific selection in the designer and (in Delphi) allow the following

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Sven Barth via lazarus
Ondrej Pokorny via lazarus schrieb am So., 3. Nov. 2019, 23:15: > > On 03.11.2019 17:49, Sven Barth via lazarus wrote: > > Ondrej Pokorny via lazarus schrieb am > So., 3. Nov. 2019, 11:21: > >> On 02.11.2019 11:23, Michael Van Canneyt via lazarus wrote: >

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Sven Barth via lazarus
Ondrej Pokorny via lazarus schrieb am So., 3. Nov. 2019, 23:15: > > On 03.11.2019 17:49, Sven Barth via lazarus wrote: > > Ondrej Pokorny via lazarus schrieb am > So., 3. Nov. 2019, 11:21: > >> On 02.11.2019 11:23, Michael Van Canneyt via lazarus wrote: >

Re: [Lazarus] Annoying code completion failure

2019-11-03 Thread Sven Barth via lazarus
Ondrej Pokorny via lazarus schrieb am So., 3. Nov. 2019, 11:21: > On 02.11.2019 11:23, Michael Van Canneyt via lazarus wrote: > > TStrings has a property > > > > property Values[const Name: string]: string read GetValue write > > SetValue; > > > > The setter is defined as: > > > > procedure

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Martin Frb via lazarus schrieb am Sa., 2. Nov. 2019, 16:29: > You mention using RealVNC in another mail. > > IIRC there were some very strange key effects reported with vnc in the > past (no idea if that applies to RealVNC). > From distant memory, vnc sends control keys with a timestamp that

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Sa., 2. Nov. 2019, 14:59: > On Sat, 02 Nov 2019 11:10:32 +0100, Bo Berglund via lazarus > wrote: > > I just found another strange IDE "feature": > > If I am in a tab to the right (not the left-most tab) with the cursor > anywhere in the code and I want to add

Re: [Lazarus] Separation of source code and compiled units

2019-11-02 Thread Sven Barth via lazarus
Karl-Michael Schindler via lazarus schrieb am Sa., 2. Nov. 2019, 11:27: > Hi > > I am working on the package description for lazarus for MacPorts and are > struggling with the following: $PREFIX/share/lazarus contains the source > code as well as the compiled units. In case lazarus is recompiled

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Sa., 2. Nov. 2019, 11:10: > Is this possible already (but hidden in the standard config of > Lazarus) or is it a new feature noone has requested before? > Tools -> Options -> Codetools -> General -> Jump directly to method body Regards, Sven > --

Re: [Lazarus] Multi-platform console application, how to handle file paths?

2019-10-29 Thread Sven Barth via lazarus
Graeme Geldenhuys via lazarus schrieb am Di., 29. Okt. 2019, 21:08: > On 29/10/2019 12:07 pm, Bo Berglund via lazarus wrote: > > I have been around too long so I > > remember the old days... > > Same. Windows should get with the times and switch to Unix. ;-) > > On a side note: > After all,

Re: [Lazarus] Code explorer implementation

2019-09-14 Thread Sven Barth via lazarus
Ryan Joseph via lazarus schrieb am Sa., 14. Sep. 2019, 20:18: > > > > On Sep 14, 2019, at 2:07 PM, Michael Van Canneyt via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > > > > By default, FPC also does not allow C style operators. > > > > You need to provide the -Sc command-line flag to the

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Sven Barth via lazarus
Am 31.08.2019 um 11:08 schrieb Sven Barth: Am 31.08.2019 um 09:45 schrieb Michael Van Canneyt via lazarus: Codepages & strings require careful setup. Contrary to popular belief, it does not 'just work'. All this is documented:

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Sven Barth via lazarus
Am 31.08.2019 um 09:45 schrieb Michael Van Canneyt via lazarus: Codepages & strings require careful setup. Contrary to popular belief, it does not 'just work'. All this is documented: https://www.freepascal.org/docs-html/current/ref/refsu9.html#x32-390003.2.4 Many people tend to ignore

Re: [Lazarus] TProgressbar moves slowly, is there a hidden setting for faster response?

2019-05-15 Thread Sven Barth via lazarus
Bo Berglund via lazarus schrieb am Mi., 15. Mai 2019, 17:11: > On Wed, 15 May 2019 13:38:19 +0200, Ondrej Pokorny via lazarus > wrote: > > >Because WinAPI developers wanted it so - the drawing of TProgressBar is > >fully in charge of the OS. > > Strangely just discovered that the progressbar is

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] IDE Ctrl+W key

2019-03-17 Thread Sven Barth via lazarus
Anthony Walter via lazarus schrieb am So., 17. März 2019, 19:04: > You can still keep the old hotkey of ctrl+f4 and add ctrl+w. I really > think worldwide there are is a grand total of zero people who use the word > completion feature currently mapped to ctrl+w. > Wrong. I use it very often,

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] Convert record to JSON?

2019-02-26 Thread Sven Barth via lazarus
Luca Olivetti via lazarus schrieb am Di., 26. Feb. 2019, 09:34: > El 21/7/18 a les 18:26, Sven Barth via Lazarus ha escrit: > > >> !! :) > > There are definitely still some problems with it, e.g. a field of type > > TObject (or any descendant) currently can't be deseri

Re: [Lazarus] New feature: SQLDB Rest bridge

2019-02-25 Thread Sven Barth via lazarus
Mattias Gaertner via lazarus schrieb am Mo., 25. Feb. 2019, 12:22: > On Mon, 25 Feb 2019 11:24:29 +0100 > Sven Barth via lazarus wrote: > > >[...] > > RTTI.Invoke() itself is working as is TRTTIMethod.Invoke(), so the > > server side wouldn't be a problem,

Re: [Lazarus] New feature: SQLDB Rest bridge

2019-02-25 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am Mo., 25. Feb. 2019, 08:07: > > > On Mon, 25 Feb 2019, Sven Barth via lazarus wrote: > > > Michael Van Canneyt via lazarus schrieb > am > > So., 24. Feb. 2019, 17:46: > > > >> > >> Hello, > >&

Re: [Lazarus] New feature: SQLDB Rest bridge

2019-02-24 Thread Sven Barth via lazarus
Michael Van Canneyt via lazarus schrieb am So., 24. Feb. 2019, 17:46: > > Hello, > > We received some feedback about Pas2JS - our effort to bring Pascal to the > browser - that easy database connectivity is an issue, hampering easy > development. > > To alleviate the problem I have created the

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   >