Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Ryan Joseph via lazarus
> On Nov 24, 2019, at 8:20 AM, Dmitry Boyarintsev via lazarus > wrote: > > How are debugging capabilities in VS Code? On Mac it's pretty good I would say but recently I came across a bug (which VSCode claims was from a plugin) that crashed it while debugging (ironically) a Lazarus app. It's

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Dmitry Boyarintsev via lazarus
On Sat, Nov 23, 2019 at 5:04 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: > This week in Be.Delphi, (and last week in DüsselDorf, Germany) TMS > Software has unveiled > a VS Code plugin: an Object Pascal RAD IDE. > what about this plugin: https://marketplace.visualst

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Marco van de Voort via lazarus
Op 2019-11-24 om 22:35 schreef Luca Olivetti via lazarus: Web only apps is not really my cup of tea. I don't always work where there is good any any internet. But you can run a custom web app on a local server, no internet needed. Sure, basically when we did webapps we always had local ins

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Ralf Quint via lazarus
On 11/24/2019 1:35 PM, Luca Olivetti via lazarus wrote: El 24/11/19 a les 19:47, Graeme Geldenhuys via lazarus ha escrit: Web only apps is not really my cup of tea. I don't always work where there is good any any internet. But you can run a custom web app on a local server, no internet neede

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Luca Olivetti via lazarus
El 24/11/19 a les 22:35, Luca Olivetti via lazarus ha escrit: El 24/11/19 a les 19:47, Graeme Geldenhuys via lazarus ha escrit: Web only apps is not really my cup of tea. I don't always work where there is good any any internet. But you can run a custom web app on a local server, no internet

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Luca Olivetti via lazarus
El 24/11/19 a les 19:47, Graeme Geldenhuys via lazarus ha escrit: Web only apps is not really my cup of tea. I don't always work where there is good any any internet. But you can run a custom web app on a local server, no internet needed. I never wrote something like that, but I have some app

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Graeme Geldenhuys via lazarus
On 24/11/2019 8:45 pm, Ralf Quint via lazarus wrote: > be for a good part that I am used to the Borland (WS) keyboard mappings > and the general editor behavior, after almost 40 years, those have > become second nature (and are thoroughly missed whenever I have to use > some other environment).

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Ralf Quint via lazarus
On 11/24/2019 10:47 AM, Graeme Geldenhuys via lazarus wrote: On 23/11/2019 10:43 pm, Ralf Quint via lazarus wrote: I personally loath VSCode just as much as VS itself (or XCode, for that matter) or Eclipse. I haven't really used VSCode, but as far as I understand, it's a editor, not an IDE. The

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Martin Frb via lazarus
On 24/11/2019 20:42, Bo Berglund via lazarus wrote: After reading the gdb --help screen: pi@rpi4-gui:~ $ gdb --args /home/pi/dev/lazarus/2.0.6/lazarus No --args In the terminal enter gdb /home/pi/dev/lazarus/2.0.6/lazarus then wait for the gdb output. It will end with a "(gdb)" prompt. Now

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Bo Berglund via lazarus
On Sun, 24 Nov 2019 18:27:40 +0100, Bo Berglund via lazarus >I tried but >pi@rpi4-gui:~ $ gdb /home/pi/dev/lazarus/2.0.6/lazarus r >--pcp=/home/pi/.lazarus_2.0.6 >gdb: unrecognized option '--pcp=/home/pi/.lazarus_2.0.6' >Use `gdb --help' for a complete list of options. > >So now the --pcp... a

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Graeme Geldenhuys via lazarus
On 24/11/2019 11:23 am, Michael Van Canneyt via lazarus wrote: > If the external tool implements it, you get it for free. And if they don't decide to implement it, you don't get it at all. I have filed quite a few Feature Request and Bug Reports for IntelliJ IDEA. Many bugs were prompts fixed, but

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Graeme Geldenhuys via lazarus
On 24/11/2019 11:19 am, Marco van de Voort via lazarus wrote: > No. More importantly it gives independence. Something that external > tools don't give. If they wither or change direction, or do the umpteen > API change you have an immediate problem and risk getting caught in an > infinite catch-

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Graeme Geldenhuys via lazarus
On 23/11/2019 10:43 pm, Ralf Quint via lazarus wrote: > I personally loath VSCode just as much as VS itself (or XCode, for that > matter) or Eclipse. I haven't really used VSCode, but as far as I understand, it's a editor, not an IDE. The other point being, that it doesn't run on FreeBSD - a pla

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Graeme Geldenhuys via lazarus
On 23/11/2019 10:26 pm, Michael Van Canneyt via lazarus wrote: > I must say I am shocked to read you consider Lazarus "buggy and cumbersome". > In my experience it's way better than Delphi as an object pascal IDE. I'm > generally more productive in Lazarus than in Delphi, due to the superior > code

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Martin Frb via lazarus
On 24/11/2019 18:27, Bo Berglund via lazarus wrote: On Sun, 24 Nov 2019 14:46:11 +0100, Martin Frb via lazarus wrote: On 24/11/2019 10:22, Bo Berglund via lazarus wrote: On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus wrote: If you can Run your Lazarus in gdb.    gdb path/t

Re: [Lazarus] Installer/uninstaller on Linux for fpc/lazarus programs?

2019-11-24 Thread Andreas Schneider via lazarus
Am 2019-11-20 18:14, schrieb Bo Berglund via lazarus: I am wondering how exactly I should package the program I am developing for Raspberry Pi so it can be uniformly installed and uninstalled on new RPi units... It is an Arm binary for RPi3 or Rpi4 type units running Raspbian Buster. So I could

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Bo Berglund via lazarus
On Sun, 24 Nov 2019 14:46:11 +0100, Martin Frb via lazarus wrote: >On 24/11/2019 10:22, Bo Berglund via lazarus wrote: >> On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus >> wrote: >>> If you can Run your Lazarus in gdb. >>>    gdb path/to/lazarus >>> >>> and then in gdb hit r and

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Martin Frb via lazarus
On 24/11/2019 10:22, Bo Berglund via lazarus wrote: Exec=/home/pi/dev/lazarus/2.0.6/startlazarus --pcp=/home/pi/.lazarus_2.0.6 %f Off topic, if you use this as a single user system, you can put the pcp into a file called lazarus.cfg https://wiki.lazarus.freepascal.org/Multiple_Lazarus#Using_la

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Martin Frb via lazarus
On 24/11/2019 10:22, Bo Berglund via lazarus wrote: On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus wrote: If you can Run your Lazarus in gdb.    gdb path/to/lazarus and then in gdb hit r and return. I can use different versions on the same system. So the command to start laza

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Andreas Schneider via lazarus
Am 2019-11-24 14:20, schrieb Dmitry Boyarintsev via lazarus: > How are debugging capabilities in VS Code? > > thanks, > Dmitry For web development (JavaScript), good. For everything else it doesn't come close to a real IDE. As I said ... I can use VS Code for small stuff. The moment I have to do

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Dmitry Boyarintsev via lazarus wrote: How are debugging capabilities in VS Code? For pas2js/TMS Web core, you can debug as it works in Lazarus. It was demonstrated on the Be.Delphi event thursday. For native apps, I have no idea. According to this: https://code.visuals

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Dmitry Boyarintsev via lazarus
How are debugging capabilities in VS Code? thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Luca Olivetti via lazarus
El 24/11/19 a les 10:22, Bo Berglund via lazarus ha escrit: On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus wrote: On 24/11/2019 01:30, Bo Berglund via lazarus wrote: And I have been bitten several times the last days by the suddenly disappearing Lazarus application If you ca

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Andreas Schneider via lazarus
Am 2019-11-23 11:12, schrieb Michael Van Canneyt via lazarus: This will mean that soon, you'll be able to do full stack development in VS Code using object pascal. (or any other language, since VS Code is language agnostic) While VS Code is an impressive editor, it is still not an IDE. There is

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:45 schrieb Marco van de Voort via lazarus: I really like a package I can just install and works, rather than constantly messing with plugins that are never really it. I think you vastly overestimate getting good quality VSCode plugins that make it match Lazarus for basic func

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Marco van de Voort via lazarus wrote: If we had to set up a project today to copy functionality of all Atom or VS Code plugins, I probably wouldn't live long enough to see that project completed. The problem is that if you now switch from Lazarus to vscode, with that p

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Florian Klämpfl via lazarus wrote: Am 24.11.19 um 12:23 schrieb Michael Van Canneyt via lazarus: So that means it's a trade-off. Do you wish to spend your time fixing broken external dependencies, or do you wish to spend it implementing new things yourself ? Asking th

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Marco van de Voort via lazarus
Op 2019-11-24 om 12:23 schreef Michael Van Canneyt via lazarus: That argument cuts both ways. If you need an improvement in your IDE you need to do it yourself. If the external tool implements it, you get it for free. Oh dear. I thought you are now of the age that you no longer believe in s

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:23 schrieb Michael Van Canneyt via lazarus: So that means it's a trade-off. Do you wish to spend your time fixing broken external dependencies, or do you wish to spend it implementing new things yourself ? Asking the question is answering it ;-) History taught: the less de

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Marco van de Voort via lazarus
Op 2019-11-24 om 11:54 schreef Michael Van Canneyt via lazarus: It's perfectly possible to use VS Code or any other editor that uses web-technology for its GUI to create native apps. It doesn't matter to VS Code or atom whether it calls FPC, pas2js or the TMS Web compiler. I use Delphi, Visu

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Marco van de Voort via lazarus wrote: Op 2019-11-24 om 11:35 schreef Florian Klämpfl via lazarus: What really scares us is that all the mainstream OSes are becoming so Web and mobile centric - the way M$ is rumbling I seriously wonder if and how they?ll support any na

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Florian Klämpfl via lazarus wrote: Am 24.11.19 um 11:54 schrieb Michael Van Canneyt via lazarus: The point is that Lazarus does not and cannot cover all aspects of a typical larger project. No, but if I really need it, I can develop it easily myself because I know Obj

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Marco van de Voort via lazarus
Op 2019-11-24 om 11:35 schreef Florian Klämpfl via lazarus: What really scares us is that all the mainstream OSes are becoming so Web and mobile centric - the way M$ is rumbling I seriously wonder if and how they’ll support any native development in the not too distant future. Lazarus, with

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 11:54 schrieb Michael Van Canneyt via lazarus: The point is that Lazarus does not and cannot cover all aspects of a typical larger project. No, but if I really need it, I can develop it easily myself because I know Object Pascal. Even simple things like adding support for Ctrl

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

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 12:04 schrieb Giuliano Colla via lazarus: Il 24/11/2019 11:48, Florian Klämpfl via lazarus ha scritto: What to do with extended constants and their handling in the compiler if the target platform has it but the target platform does not support it? Maybe an AND condition? Use

Re: [Lazarus] Cross-compile on Windows for Linux Raspbian (Raspberry Pi) - what are the requirements?

2019-11-24 Thread Giuliano Colla via lazarus
Il 24/11/2019 10:08, Bo Berglund via lazarus ha scritto: Since I never ever created an environment for cross-compiling on Lazarus I really need a simple to follow byt full description on how to accomplish the task. Is it even possible for RPi? I can't help you as far as Windows is concerned, b

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

2019-11-24 Thread Giuliano Colla via lazarus
Il 24/11/2019 11:48, Florian Klämpfl via lazarus ha scritto: What to do with extended constants and their handling in the compiler if the target platform has it but the target platform does not support it? Maybe an AND condition? Use extended type only if both platforms support it? Giuliano

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sat, 23 Nov 2019, Daithi Haxton via lazarus wrote: For my 2 cents, keep Lazarus as an independent, native code IDE. We do instrumentation packages for manufacturing robots, and “the Web” is simply not an option. Laz makes us at least 10x more productive than any other option (and we’ve t

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

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 11:45 schrieb Giuliano Colla via lazarus: Il 24/11/2019 01:17, Sven Barth via lazarus ha scritto: There is the plan to add software floating point support for Extended to the compiler for platforms like Win64, but it's not a trivial endeavour. Maybe a silly question, but would

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

2019-11-24 Thread Giuliano Colla via lazarus
Il 24/11/2019 01:17, Sven Barth via lazarus ha scritto: There is the plan to add software floating point support for Extended to the compiler for platforms like Win64, but it's not a trivial endeavour. Maybe a silly question, but wouldn't it much simpler to have the compiler not use the Exte

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Florian Klämpfl via lazarus wrote: Am 24.11.19 um 10:30 schrieb Bo Berglund via lazarus: On Sat, 23 Nov 2019 18:50:07 -0500, Daithi Haxton via lazarus wrote: For my 2 cents, keep Lazarus as an independent, native code IDE. We do instrumentation packages for manufacturi

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Florian Klämpfl via lazarus
Am 24.11.19 um 10:30 schrieb Bo Berglund via lazarus: On Sat, 23 Nov 2019 18:50:07 -0500, Daithi Haxton via lazarus wrote: For my 2 cents, keep Lazarus as an independent, native code IDE. We do instrumentation packages for manufacturing robots, and “the Web” is simply not an option. Laz make

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Bo Berglund via lazarus wrote: On Sat, 23 Nov 2019 18:50:07 -0500, Daithi Haxton via lazarus wrote: For my 2 cents, keep Lazarus as an independent, native code IDE. We do instrumentation packages for manufacturing robots, and ?the Web? is simply not an option. Laz mak

Re: [Lazarus] The future of the Lazarus IDE

2019-11-24 Thread Bo Berglund via lazarus
On Sat, 23 Nov 2019 18:50:07 -0500, Daithi Haxton via lazarus wrote: >For my 2 cents, keep Lazarus as an independent, native code IDE. We do >instrumentation packages for manufacturing robots, and “the Web” is simply not >an option. Laz makes us at least 10x more productive than any other optio

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Bo Berglund via lazarus
On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus wrote: >On 24/11/2019 01:30, Bo Berglund via lazarus wrote: >> And I have been bitten several times the last days by the suddenly >> disappearing Lazarus application > >If you can Run your Lazarus in gdb. >    gdb path/to/lazarus

[Lazarus] Cross-compile on Windows for Linux Raspbian (Raspberry Pi) - what are the requirements?

2019-11-24 Thread Bo Berglund via lazarus
I have tried to develop my RPi4 application on the RPi4 itself but have problems with Lazarus IDE crashing suddenly and inexplicably when just using the IDE, losing all unsaved changes. So I have now tried to find a way to develop on Windows 7 (my laptop) and check build for Raspbian there, but no