[Lazarus] TSQLQuery component editor

2020-04-30 Thread Michael Van Canneyt via lazarus
Hi, I've enhanced the TSQLQuery component editor in the IDE somewhat. For starters, it now also shows the component editor menu items as TBufDataset has (recently added). Which means you can save data to a file, for instance. That's useful for preparing offline data. Additionally, you can: -

Re: [Lazarus] TBufDataset issues

2020-04-29 Thread Michael Van Canneyt via lazarus
On Thu, 23 Apr 2020, Werner Pamler via lazarus wrote: Playing with TBufDataset I came across some issues: (1) Creating fields at designtime: In order to create fields at designtime to a new TBufDataset component I add FieldDefs by clicking the '...' next to "FieldDefs" in the Object

Re: [Lazarus] Online Package Manager errors ?

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis via lazarus wrote: Hi, Στις 14/4/2020 4:15 μ.μ., ο Michael Van Canneyt via lazarus έγραψε: On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis wrote: Don't distribute binaries, only sources. The binary may not work on all distributions, you'd need

Re: [Lazarus] Online Package Manager errors ?

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis wrote: Don't distribute binaries, only sources. The binary may not work on all distributions, you'd need to provide one for all platforms (which you may not have yourself). It may be outdated, no security fixed applied etc.. Michael. Hmm, how

Re: [Lazarus] Completely solve the GTK trouble

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, jiaxing ruan via lazarus wrote: I skipped the Lua part in my binding because I think it will not needed for Free Pascal. Don't know if we would have any use for it. I only mentioned it because it contains ideas for properties. I don't propose to create/use lua

Re: [Lazarus] Completely solve the GTK trouble

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, zeljko via lazarus wrote: On 4/14/20 10:07 AM, jiaxing ruan via lazarus wrote: Do you need tester? I can help with testing. But anything needs more knowledge I afraid I can't. Anyway, did we at any time found it's tired to catch up with GTK? May be we could keep the

Re: [Lazarus] Online Package Manager question

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, Balázs Székely via lazarus wrote: You are aware that Joost has already a completely function system for this ? No. I mean, I was aware that Joost is working on a package manager for fpc, but I didn't know any details about his work. Unfortunately this wasn't properly

Re: [Lazarus] Online Package Manager question

2020-04-14 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, Balázs Székely via lazarus wrote: @Michael I have not used the OPM extensively, but I think that once a package has been registered/accepted, I think the original author must be able to upload his own changes. @silvioprog Me too. Many other PMs allows the

Re: [Lazarus] Online Package Manager errors ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Tue, 14 Apr 2020, Sven Barth via lazarus wrote: 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",

Re: [Lazarus] Online Package Manager question

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Juha Manninen via lazarus wrote: On Mon, Apr 13, 2020 at 8:47 PM silvioprog via lazarus < lazarus@lists.lazarus-ide.org> wrote: What do you think about to create a new project "OPM" at bugs.freepascal? ☺ This way, the package's author just opens an new issue categorized

Re: [Lazarus] Online Package Manager question

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Balázs Székely via lazarus wrote: It's for the lazarus book Cool. Thank you. I wanted to be sure the instructions are correct. The instructions are correct, however that getm...@gmail.com it's kinda silly looking email. Perhaps we should switch to something more

Re: [Lazarus] Online Package Manager errors ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Balázs Székely via lazarus wrote: @Michael I implemented the 'open package entry' feature in r.62959. If a package is available locally, you can open it by clicking the Open button or double click the selected package(screenshot1). More over if a package compile/install

Re: [Lazarus] Checkbox behaviour on Mac ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Michael Van Canneyt wrote: On Mon, 13 Apr 2020, Dmitry Boyarintsev via lazarus wrote: On Mon, Apr 13, 2020 at 6:55 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: As I said, a stock Lazarus 2.0.6 install. From the about dialog, it

Re: [Lazarus] Online Package Manager errors ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, silvioprog via lazarus wrote: Hi all. On Mon, Apr 13, 2020 at 7:50 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: Hi, I tried to install a package using the package manager (Brook framework). The package manager tells me the compile

Re: [Lazarus] Checkbox behaviour on Mac ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Dmitry Boyarintsev via lazarus wrote: On Mon, Apr 13, 2020 at 6:55 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: As I said, a stock Lazarus 2.0.6 install. From the about dialog, it seems to be using carbon. It does worth bug rep

Re: [Lazarus] Online Package Manager question

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Balázs Székely via lazarus wrote: Hi Michael, 'Upload somewhere the files and send the link to getm...@gmail.com or press the submit button, the files are directly uploaded to a remote server.' Is this still the official procedure ? Yes, pretty much. The most popular

Re: [Lazarus] Online Package Manager list behaviour

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Balázs Székely via lazarus wrote: Hi Michael, When I scroll the Online Package manager list of packages with the trackpad of the mac, then the list scrolls a couple of items and then jumps back to the item that was displayed initially. So it is impossible to scroll.

Re: [Lazarus] Online Package Manager errors ?

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Balázs Székely via lazarus wrote: Hi Michael, I tried to install a package using the package manager (Brook framework). The package manager tells me the compile failed. How can I see what the actual error is ? The Message Window is not obscured by OPM, usually I check

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Santiago A. via lazarus wrote: El 13/4/20 a las 12:43, Michael Van Canneyt via lazarus escribió: So, if I want to process the dataset in different orders with TbufferDataset, before opening the dataset I must set MaxIndexesCount to all the orders I'm going to use. Yes

Re: [Lazarus] Checkbox behaviour on Mac ?

2020-04-13 Thread Michael Van Canneyt via lazarus
As I said, a stock Lazarus 2.0.6 install. From the about dialog, it seems to be using carbon. Michael. On Mon, 13 Apr 2020, Dmitry Boyarintsev wrote: it looks like Carbon build. is it? On Monday, April 13, 2020, Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote:

[Lazarus] Online Package Manager list behaviour

2020-04-13 Thread Michael Van Canneyt via lazarus
Hi, On a mac, lazarus 2.0.6: When I scroll the Online Package manager list of packages with the trackpad of the mac, then the list scrolls a couple of items and then jumps back to the item that was displayed initially. So it is impossible to scroll. e..g. to the end of the list. If I use the

[Lazarus] Online Package Manager errors ?

2020-04-13 Thread Michael Van Canneyt via lazarus
Hi, I tried to install a package using the package manager (Brook framework). The package manager tells me the compile failed. How can I see what the actual error is ? Or must I open the package manually, compile manually to see the error ? If so, why isn't there a 'open this package' entry

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Santiago A. via lazarus wrote: Hello: I'm trying to sort a TBufferDataset by several criteria, and I'm a little confused. There is no sort method, so I decided to use indexes, but I have a lot of doubts. When you close the TBufferDataset, all the data is cleaned.

[Lazarus] Checkbox behaviour on Mac ?

2020-04-13 Thread Michael Van Canneyt via lazarus
Hi, The checkbox in Lazarus 2.0.6 is almost unusable in at least 2 cases: - Object inspector. On average, I must click 3 to 5 times to get the result I need. - in the online package manager See attached screenshots. In both cases the checkbox disappears in the row where the mouse cursor is

[Lazarus] Online Package Manager question

2020-04-13 Thread Michael Van Canneyt via lazarus
Hi, How can one include a new package in the Online Package Manager repository ? on https://wiki.freepascal.org/Online_Package_Manager There is somewhere 'Upload somewhere the files and send the link to getm...@gmail.com or press the submit button, the files are directly uploaded to a

Re: [Lazarus] Anchordocking options in IDE ?

2020-04-12 Thread Michael Van Canneyt via lazarus
On Sun, 12 Apr 2020, Mattias Gaertner via lazarus wrote: On Sun, 12 Apr 2020 19:31:47 +0200 (CEST) Michael Van Canneyt via lazarus wrote: Hi, When you install the 'AnchordockingDsgn' package, the IDE becomes docked. The package also installs a dialog under tools-options that allow you

Re: [Lazarus] Anchordocking options in IDE ?

2020-04-12 Thread Michael Van Canneyt via lazarus
On Sun, 12 Apr 2020, Martin Frb via lazarus wrote: On 12/04/2020 19:31, Michael Van Canneyt via lazarus wrote: * Scale on resize: No visible effect. If you resize the Window (in which you have several docked IDE-Windows), then the new Width/Height is equally distributed/taken from all

[Lazarus] Anchordocking options in IDE ?

2020-04-12 Thread Michael Van Canneyt via lazarus
Hi, When you install the 'AnchordockingDsgn' package, the IDE becomes docked. The package also installs a dialog under tools-options that allow you to set various options. I've tried to understand what the options are, but have not been able to determine the effect for all of them. In

Re: [Lazarus] Generate InsertSQL, UpdateSQL, DeleteSQL

2020-04-08 Thread Michael Van Canneyt via lazarus
On Wed, 8 Apr 2020, Santiago A. via lazarus wrote: Hello: I have a TSQLQuery with a SQL string like this "select * from manyFieldsTable" and I want to write a custom updateSQL, but I don't want to start from scratch, from an empty script.  I want to start from the automatically generated

Re: [Lazarus] FPC 3.2.0RC1 released!

2020-03-29 Thread Michael Van Canneyt via lazarus
On Sun, 29 Mar 2020, Ralf Quint via lazarus wrote: On 3/29/2020 11:18 AM, Marco van de Voort via lazarus wrote: Changes that may break backwards compatibility will be documented at: http://wiki.freepascal.org/User_Changes_3.2.0 There is currently no text in this page. So there are NO

Re: [Lazarus] Close all menu item ?

2020-03-28 Thread Michael Van Canneyt via lazarus
On Fri, 27 Mar 2020, Juha Manninen via lazarus wrote: On Tue, Mar 24, 2020 at 5:54 PM Juha Manninen wrote: Ok, project inspector showing the closed project is clearly a bug. I fixed this in r62813. Thank you ! Michael. -- ___ lazarus

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Michael Van Canneyt via lazarus
On Fri, 27 Mar 2020, Anthony Walter wrote: Michael, I've been using the Linux desktop as my primary OS since 2006. I had dabbled in in before, but typically went back to windows when my networking had troubles. That said, I want Linux to be better. Yes I understand your points, but please

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Michael Van Canneyt via lazarus
On Fri, 27 Mar 2020, Marco van de Voort via lazarus wrote: If you don't like that, stay away from Linux desktop. While I largely agree, this reply simply assumes that the culture of laisez faire and low backwards compatibility is an universal open source trait. While that is a common

Re: [Lazarus] The Problem with the Linux Desktop

2020-03-27 Thread Michael Van Canneyt via lazarus
On Fri, 27 Mar 2020, Anthony Walter via lazarus wrote: On Linux ... I was looking at the Unity tray icon code I submitted a while back and it had stopped working on my desktop environment. I was also looking for a way to track user log off events, monitor clipboard history, and how to

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Michael Van Canneyt via lazarus
On Tue, 24 Mar 2020, R.Smith via lazarus wrote: On 2020/03/24 11:39, Michael Van Canneyt via lazarus wrote: See my (held for moderation, attachment to big) answer to Ondrej for why this reasoning is insufficient and the current Lazarus behaviour is actually buggy. It's in fact

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Michael Van Canneyt via lazarus
On Tue, 24 Mar 2020, Juha Manninen via lazarus wrote: On Tue, Mar 24, 2020 at 10:56 AM Ondrej Pokorny via lazarus < lazarus@lists.lazarus-ide.org> wrote: I though "Close Project" does the thing, or isn't this good enough? +1 Exactly. As a bonus the editor files session of the closed

Re: [Lazarus] Close all menu item ?

2020-03-24 Thread Michael Van Canneyt via lazarus
On Tue, 24 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 20:26, Michael Van Canneyt via lazarus wrote: Well, I think it does need to be closed from time to time. Namely: I want to be sure that all is closed before doing an svn update or git pull. Although many bugs have been

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Juha Manninen via lazarus wrote: On Mon, Mar 23, 2020 at 2:35 PM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: Personally I hate the mandatory open project (or else the modal options). E.g. you want to open a .lpk and you have to create a

Re: [Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Ondrej Pokorny via lazarus wrote: On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote: "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really c

[Lazarus] Close all menu item ?

2020-03-23 Thread Michael Van Canneyt via lazarus
Hi, "Close all" in the file menu does not close the project inspector (and, I suppose, the project) Is this by design ? I'm asking because in Delphi 'Close all' really closes "all". Michael. -- ___ lazarus mailing list

Re: [Lazarus] Gtk2 Linux detect user logoff?

2020-03-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Mar 2020, Anthony Walter via lazarus wrote: Does anyone here know how to detect user log off and gracefully terminate under Gtk2 Linux? I have an app which uses some temporary files (in /tmp) and I want to ensure those files are deleted when the user logs off. The application

Re: [Lazarus] ApplicationProperties

2020-03-21 Thread Michael Van Canneyt via lazarus
On Sat, 21 Mar 2020, Ondrej Pokorny via lazarus wrote: On 21.03.2020 14:11, Michael Van Canneyt via lazarus wrote: The TApplicationProperties component provides access to the TApplication events and properties. It is missing OnActionExecute. Can this be added or is there a reason

[Lazarus] ApplicationProperties

2020-03-21 Thread Michael Van Canneyt via lazarus
Hi, The TApplicationProperties component provides access to the TApplication events and properties. It is missing OnActionExecute. Can this be added or is there a reason for not adding it ? Should I file an issue in the issue tracker ? Michael. --

Re: [Lazarus] [fpc-devel] Attn Michael: Issue #0036788: Bad SSL certicificate

2020-03-11 Thread Michael Van Canneyt via lazarus
On Wed, 11 Mar 2020, Bart via fpc-devel wrote: Hi Michael, You resolved https://bugs.freepascal.org/view.php?id=36788 as unable to reproduce. However, I have exactly the same problem here: https://www.lazarus.freepascal.org/ gives me the Bad SSL certificate and if I ignore I see the "Apache2

[Lazarus] Confusing properties

2020-02-09 Thread Michael Van Canneyt via lazarus
Hello, What is the difference between the ActiveDefaultControl and DefaultControl properties in TForm ? And why are none of DefaultControl, ActiveDefaultControl and CancelControl settable in the objectinspector ? Is this on purpose or not ? Michael. --

Re: [Lazarus] Oracle support in FPC

2020-01-30 Thread Michael Van Canneyt via lazarus
On Thu, 30 Jan 2020, Juha Manninen via lazarus wrote: Hello DB experts. Regarding issue https://bugs.freepascal.org/view.php?id=36635 What is the right compiler version test for Oracle support? FPC 3.0.2 maybe? Thus: {$IF FPC_FULLVERSION>=30002} That is indeed correct. Oracle support for

Re: [Lazarus] Google API Ubuntu exception

2020-01-16 Thread Michael Van Canneyt via lazarus
Francesco Sammarco wrote: No problem. I can wait a few days. Can you help me if I send you an email with the screenshot at the time of the exception? Il giorno gio 16 gen 2020 alle ore 12:38 Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> ha scritto: Hello, I had no time to

Re: [Lazarus] Google API Ubuntu exception

2020-01-16 Thread Michael Van Canneyt via lazarus
: No solution? Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < francesco.samma...@gmail.com> ha scritto: sorry but I don't understand what you mean. did you manage to replicate the problem ?! Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < lazarus@lists.lazarus-id

Re: [Lazarus] Google API Ubuntu exception

2020-01-13 Thread Michael Van Canneyt via lazarus
Hi, The serializing code is totally independent of the platform. So somehow there must be a difference in version. Michael. On Mon, 13 Jan 2020, Francesco Sammarco wrote: I installed it thanks to fpcupdeluxe Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha scritto: On Mon, 13 Jan

Re: [Lazarus] Google API Ubuntu exception

2020-01-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: Hi, I have a problem. I tried to compile the example for google calendar access and it works correctly on mac os and windows, but when I try to use it on ubuntu I get the following error. TCalendarList: unsupported array element type

Re: [Lazarus] Custom options

2019-12-20 Thread Michael Van Canneyt via lazarus
On Fri, 20 Dec 2019, Mattias Gaertner via lazarus wrote: On Fri, 20 Dec 2019 13:31:35 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] Is this a bug ? I'm using a stock lazarus 2.0.6 on MacOS. It works with trunk under macOS Cocoa. Maybe bug is only in 2.0.6. Or in the carbon

Re: [Lazarus] Custom options

2019-12-20 Thread Michael Van Canneyt via lazarus
On Fri, 20 Dec 2019, Martin Frb via lazarus wrote: On 20/12/2019 14:18, Michael Van Canneyt via lazarus wrote: It does for me, Lazarus trunk, fpc 3.0.4, tested with "-al" What OS are you using ? Win 10 64 bit Hm. I tested on Linux, there it works too. Probabl

Re: [Lazarus] Custom options

2019-12-20 Thread Michael Van Canneyt via lazarus
On Fri, 20 Dec 2019, Martin Frb via lazarus wrote: On 20/12/2019 13:31, Michael Van Canneyt via lazarus wrote: Hello, What is the purpose of the 'all options' button in the 'custom options' page of the project compiler options ? It shows a treeview with what I assume are all available

[Lazarus] Custom options

2019-12-20 Thread Michael Van Canneyt via lazarus
Hello, What is the purpose of the 'all options' button in the 'custom options' page of the project compiler options ? It shows a treeview with what I assume are all available compiler options, and the treeview has checkboxes. I would expect that checking an option would enter it in the

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Michael Van Canneyt via lazarus
On Thu, 19 Dec 2019, Don Siders via lazarus wrote: BTW: User Don Siders is doing an excellent job in continuously submitting patches for the xml files. The help files have improved considerably since then (I wonder how he is editing the xml files.) Thanks for the compliment. I am using the

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Michael Van Canneyt via lazarus
On Wed, 18 Dec 2019, Werner Pamler via lazarus wrote: For FPC, I only edit manually. I don't see why this would be error prone ? Typos! Once I tried to build the html help files myself and it failed because somebody had forgotten the slash in the end tag of some element. I can imagine

Re: [Lazarus] Duplicate items in xml doc files

2019-12-17 Thread Michael Van Canneyt via lazarus
On Tue, 17 Dec 2019, Werner Pamler via lazarus wrote: Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when the item is displayed in the *FPDoc editor* of Lazarus, i.e. I do

Re: [Lazarus] Install packages dialog on MacOS

2019-12-14 Thread Michael Van Canneyt via lazarus
On Sat, 14 Dec 2019, Juha Manninen via lazarus wrote: On Fri, Dec 13, 2019 at 4:19 PM Michael Van Canneyt via lazarus wrote: The 'Install packages' dialog has 2 edit boxes to filter the list of installed or not yet installed packages. On MacOS, I can type in the left edit field to filter

Re: [Lazarus] try..except doesn't trap exception in Form.Showmodal

2019-12-13 Thread Michael Van Canneyt via lazarus
On Fri, 13 Dec 2019, Luca Olivetti via lazarus wrote: At least, that is how I see it. Not 100% accurate, but it does the trick for my understanding ;-) Yes, I know all of that, but the message loop could also fake re-raising the exception if it was raised in the context of a ShowModal

[Lazarus] Install packages dialog on MacOS

2019-12-13 Thread Michael Van Canneyt via lazarus
Hello, The 'Install packages' dialog has 2 edit boxes to filter the list of installed or not yet installed packages. On MacOS, I can type in the left edit field to filter the list of installed packages. But I cannot type in the right edit box. This is a reproducible problem for me. This is a

Re: [Lazarus] try..except doesn't trap exception in Form.Showmodal

2019-12-13 Thread Michael Van Canneyt via lazarus
On Fri, 13 Dec 2019, Luca Olivetti via lazarus wrote: Because ShowModal must run the application message loop, and that already catches the exceptions.  This is in line with the event-based architecture. It's the same in Delphi. Yes, I would expect that with Show, but ShowModal is

Re: [Lazarus] try..except doesn't trap exception in Form.Showmodal

2019-12-13 Thread Michael Van Canneyt via lazarus
On Fri, 13 Dec 2019, Luca Olivetti via lazarus wrote: Hello, I don't remember if I asked this previously, but it always bugs me. If I do try AForm.ShowModal except end; the exceptions eventually raised in AForm aren't caught by the above try..except, they always show the

Re: [Lazarus] The future of the Lazarus IDE

2019-11-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 Nov 2019, Graeme Geldenhuys via lazarus wrote: On 25/11/2019 8:27 am, Michael Van Canneyt via lazarus wrote: In order to see the full potential of web components, the IDE needs to be web-enabled. So you don't like the idea how React development is done? It runs some server

Re: [Lazarus] The future of the Lazarus IDE

2019-11-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 Nov 2019, Dmitry Boyarintsev via lazarus wrote: On Mon, Nov 25, 2019 at 9:55 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: Does it mean that LCL should let go all the native targets and become purely web-based? No, of course not. It "

Re: [Lazarus] The future of the Lazarus IDE

2019-11-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 Nov 2019, Dmitry Boyarintsev via lazarus wrote: On Sat, Nov 23, 2019 at 5:26 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: The question whether Lazarus should be remade as an Electron style app? Do you mean the IDE or all the API/widgets? T

Re: [Lazarus] The future of the Lazarus IDE

2019-11-25 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Dmitry Boyarintsev via lazarus wrote: 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 Pasc

Re: [Lazarus] The future of the Lazarus IDE

2019-11-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 Nov 2019, Luca Olivetti via lazarus wrote: El 24/11/19 a les 22:56, Marco van de Voort via lazarus ha escrit: 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

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:

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

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

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

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

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

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

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

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
On Sun, 24 Nov 2019, Werner Pamler via lazarus wrote: Once having voted the current results are displayed. But when I want to see later how the poll has evolved I can only vote again -- that's probably not what you intend. Either add a button to display the current results, or don't display

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
On Sat, 23 Nov 2019, Michael Van Canneyt via lazarus wrote: On Sat, 23 Nov 2019, Werner Pamler via lazarus wrote: I am missing the option "No change wanted towards this direction". Without this option the poll is biased. That is the first option: Remain an independent ID

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
On Sat, 23 Nov 2019, Ryan Joseph via lazarus wrote: On Nov 23, 2019, at 5:26 PM, Michael Van Canneyt via lazarus wrote: The IDE. That implies the API/Widgets. One of the reasons like Lazarus is because it's native right? I use VSCode for the debugger but I don't like it's a slow

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
On Sat, 23 Nov 2019, Werner Pamler via lazarus wrote: I am missing the option "No change wanted towards this direction". Without this option the poll is biased. That is the first option: Remain an independent IDE. Having an optional way to edit HTML in a rad way would simply be a plugin.

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
On Sat, 23 Nov 2019, Ryan Joseph via lazarus wrote: On Nov 23, 2019, at 5:12 AM, Michael Van Canneyt via lazarus wrote: 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

[Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Michael Van Canneyt via lazarus
Hello, I would like to announce a small poll. Context: Web (runtime) applications are abundant. At my company, desktop is only considered as a last resource (but use cases vary, obviously). Today, you perfectly can program the web (browser) using FPC's pas2js. Using pas2js it is also

Re: [Lazarus] Find in files crashes Cinnamon

2019-11-17 Thread Michael Van Canneyt via lazarus
On Sat, 16 Nov 2019, Juha Manninen via lazarus wrote: Find in Files has some problem although it has not frozen the whole desktop earlier. There was a report from Jonas years ago: https://bugs.freepascal.org/view.php?id=24351 but it could not be reproduced and was finally resolved. There is

Re: [Lazarus] Why is setlength not allowed?

2019-11-16 Thread Michael Van Canneyt via lazarus
On Sat, 16 Nov 2019, Bo Berglund via lazarus wrote: function InitI2cDevice(devpath: String; iDevAddr: Cint; var hInst: Integer): Integer; var iio : integer; begin try hInst := fpopen(devpath, O_RDWR); //Open the I2C bus in Read/Write mode iio := FpIOCtl(hInst,

Re: [Lazarus] Why is setlength not allowed?

2019-11-16 Thread Michael Van Canneyt via lazarus
On Sat, 16 Nov 2019, Bo Berglund via lazarus wrote: I am trying to write a simple I2C interface program for Raspberry Pi but I am getting an error I don't understand... function TRaspiI2C.ReadI2CBytes(addr: integer; count: integer; buf: array of byte): integer; var i: integer; begin try

Re: [Lazarus] Find in files crashes Cinnamon

2019-11-15 Thread Michael Van Canneyt via lazarus
On Fri, 15 Nov 2019, Mattias Gaertner via lazarus wrote: On Fri, 15 Nov 2019 11:42:24 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] I have the same problems with Cinnamon. It is not only "Find in Files" that triggers this. A simple debug tooltip (when inspecting a

Re: [Lazarus] Find in files crashes Cinnamon

2019-11-15 Thread Michael Van Canneyt via lazarus
On Fri, 15 Nov 2019, C Western via lazarus wrote: On 13/11/2019 21:00, Florian Klämpfl via lazarus wrote: Recently, I tried again to work with Linux Mint when developing FPC. For FPC development I use normally lazarus from trunk, typical updated very few weeks. For navigation in the code I

Re: [Lazarus] FPC interface for reading I2C devices on Raspberry Pi?

2019-11-12 Thread Michael Van Canneyt via lazarus
On Tue, 12 Nov 2019, Bo Berglund via lazarus wrote: On Tue, 12 Nov 2019 10:11:49 +0100, Bo Berglund via lazarus wrote: I would like to be able to communicate on the I2C bus from my FPC/Lazarus programs on Raspberry Pi. There are at least two cases: 1) Reading devices like RTC chips and

Re: [Lazarus] Reworked ReadFileToString to support Linux virtual files

2019-11-09 Thread Michael Van Canneyt via lazarus
On Sat, 9 Nov 2019, AlexeyT via lazarus wrote: https://bugs.freepascal.org/view.php?id=36145 Last attached demo contains my reworked function (after the fix it works pretty fast, i tested it). Can you apply at least this function? The issue can be opened - issue is about IDE. The function

Re: [Lazarus] Lazarus code editor improvement?

2019-11-02 Thread Michael Van Canneyt via lazarus
On Sat, 2 Nov 2019, Sven Barth via lazarus wrote: 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,

[Lazarus] Annoying code completion failure

2019-11-02 Thread Michael Van Canneyt via lazarus
Hi, TStrings has a property property Values[const Name: string]: string read GetValue write SetValue; The setter is defined as: procedure SetValue(const Name, Value: string); Note that both arguments are 'const' When adding a new property, and pressing 'CTRL-C', the IDE adds the new

Re: [Lazarus] gdb problems on ubtuntu 19.10

2019-11-02 Thread Michael Van Canneyt via lazarus
On Fri, 1 Nov 2019, Anthony Walter via lazarus wrote: An update. I installed Linux Mint 19.2 on the same laptop and re-ran my install script. The problem previously described with gdb did not present itself. This leads me to believe there is some kind of problem with gdb in Ubtuntu 19.10, the

Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Michael Van Canneyt via lazarus
On Fri, 1 Nov 2019, Mattias Gaertner via lazarus wrote: On Fri, 1 Nov 2019 12:46:50 +0100 (CET) Michael Van Canneyt via lazarus wrote: First of all: congratulations, I downloaded the version at once ! 2 small notes: The offered 'latest version' on sourceforge for mac 64-bit is 2.0.4

Re: [Lazarus] Lazarus Release 2.0.6

2019-11-01 Thread Michael Van Canneyt via lazarus
First of all: congratulations, I downloaded the version at once ! 2 small notes: The offered 'latest version' on sourceforge for mac 64-bit is 2.0.4: lazarus-2.0.4-i686-macosx.dmg So I searched and installed lazarus-2.0.6-i686-macosx.dmg instead. When I install that version, it says:

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

2019-10-29 Thread Michael Van Canneyt via lazarus
On Tue, 29 Oct 2019, Bo Berglund via lazarus wrote: On Tue, 29 Oct 2019 12:43:51 +0100 (CET), Michael Van Canneyt via lazarus wrote: 1. Don't hardcode '/' or '\', use the PathDelim constant instead. You will not need any ifdefs. The whole thing is that paths might be read from config

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

2019-10-29 Thread Michael Van Canneyt via lazarus
On Tue, 29 Oct 2019, Bo Berglund via lazarus wrote: I am writing a console application intended to be portable between Windows and Linux and it uses files on the file system for configuration and also for processing data. Since the path delimiter is different on Unix and Windows I believe I

[Lazarus] It's alive !

2019-09-21 Thread Michael Van Canneyt via lazarus
Hello, Finally, the moment has come: https://www.youtube.com/watch?v=xos2MnVxe-c Following up on a bounty offered, Dmitry Boyarintsev has accomplished milestone one in the implementation of FPC's webassembly backend. And: It's alive ! :-) The first result can be seen here:

Re: [Lazarus] FileExistsUTF8() difference between Unix/Windows

2019-09-18 Thread Michael Van Canneyt via lazarus
On Wed, 18 Sep 2019, Bart via lazarus wrote: On Wed, Sep 18, 2019 at 11:26 PM Torsten Bonde Christiansen via lazarus wrote: No entirely though. The Unix version is mostly a wrapper, yes - but the Windows version do some additional filtering: function FileExistsUTF8(const Filename:

Re: [Lazarus] Code explorer implementation

2019-09-14 Thread Michael Van Canneyt via lazarus
On Sat, 14 Sep 2019, Ryan Joseph via lazarus wrote: On Sep 14, 2019, at 2:07 PM, Michael Van Canneyt via lazarus wrote: By default, FPC also does not allow C style operators. You need to provide the -Sc command-line flag to the parser or set the appropriate flag manually on the parser

Re: [Lazarus] Code explorer implementation

2019-09-14 Thread Michael Van Canneyt via lazarus
On Sat, 14 Sep 2019, Ryan Joseph via lazarus wrote: On Sep 13, 2019, at 12:19 PM, Michael Van Canneyt via lazarus wrote: You can also try the fcl-passrc sources. It is standalone by design, and can give you all info that lazarus gives you. Thanks Michael this looks like exactly what

Re: [Lazarus] Code explorer implementation

2019-09-14 Thread Michael Van Canneyt via lazarus
On Sat, 14 Sep 2019, Ryan Joseph via lazarus wrote: A follow up. I built the parsepp.pp program and used it to parse a file. Everything seems to work except it tries to follow include macros (that would be nice to turn off since it requires compiler flags to work properly) and += operators

<    1   2   3   4   5   6   7   8   9   >