[Lazarus] Conditional Debugger breakpoints not working ?

2023-02-20 Thread Michael Van Canneyt via lazarus
Hi, I'm trying to set a condition on a breakpoint. I have a local variable aUnit, type string: var aUnit : string; I wish the breakpoint is only triggered when aUnit equals 'termio'. So, in the breakpoint properties dialog, I enter the condition: aUnit='termio' It seems to have no effec

Re: [Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
On Sun, 19 Feb 2023, Martin Frb wrote: On 19/02/2023 19:06, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or

Re: [Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by changing the source in each highlighter, and make

[Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
Hi, Is it possible to enable/disable code folding on a per-language basis ? I would like to enable it only for HTML/XML and disable for all other languegs. (I'd add JSON, but there is no language JSON in the IDE ;), Currently it seems you can only do this by enabling code folding globally,

Re: [Lazarus] Format an integer with thousandseparators by function format()

2023-02-17 Thread Michael Van Canneyt via lazarus
On Fri, 17 Feb 2023, John Landmesser via lazarus wrote: Hi, this one works, but i don't know why to devide the integer by 1:     fmt := '%.0n';     s1 := Format(fmt,[MyInteger/*1*]); Because the result of the division is a float; not an integer. And %n will only format a float, not an in

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-02-10 Thread Michael Van Canneyt via lazarus
On Fri, 10 Feb 2023, Bo Berglund via lazarus wrote: On Mon, 23 Jan 2023 09:59:14 +0100 (CET), Michael Van Canneyt via lazarus wrote: On Mon, 23 Jan 2023, Bo Berglund via lazarus wrote: I have a number of "older" applications developed on Windows using Delphi7-2007-XE5, which

Re: [Lazarus] odbc driver

2023-02-06 Thread Michael Van Canneyt via lazarus
On Mon, 6 Feb 2023, Larry Dalton via lazarus wrote: Using lazrus 2.2 ORC1-fpc-3.2.2-win64 error message: Project MyAccessPractice raised exception class EODBCException with message 'Could not connect with connection string'DRIVER=[Microsoft Access Driver(*.mdb,*.accdb)]; DBQ=C:\Lazarus_MSAcc

Re: [Lazarus] Porting Delphi (2007/XE5) application, how to handle ADODB?

2023-01-23 Thread Michael Van Canneyt via lazarus
On Mon, 23 Jan 2023, Bo Berglund via lazarus wrote: I have a number of "older" applications developed on Windows using Delphi7-2007-XE5, which use ADODB for database accesses. The database is Microsoft SQLSERVER. Now I no longer have the old Borland software installed (issues with Windows 10

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Michael Van Canneyt via lazarus
On Sun, 22 Jan 2023, Martin Frb via lazarus wrote: On 12/01/2023 11:26, Michael Van Canneyt via lazarus wrote: It needs to determine the definition of "string" which will be an array of unicodechar or ansichar. Once it knows that, the rest will follow, since the definition of u

Re: [Lazarus] Debugging the unicode RTL

2023-01-22 Thread Michael Van Canneyt via lazarus
On Sun, 22 Jan 2023, Martin Frb via lazarus wrote: On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote: - Debugging programs works in general quite OK, except for displaying of   some strings. Most notable, the exception message is affected:   only the first character of the

Re: [Lazarus] Debugging the unicode RTL

2023-01-12 Thread Michael Van Canneyt via lazarus
On Thu, 12 Jan 2023, Sven Barth via lazarus wrote: 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

[Lazarus] Debugging the unicode RTL

2023-01-12 Thread Michael Van Canneyt via lazarus
Hello, As written in other mails, I'm currently working on the Unicode RTL of FPC. Debugging programs using the unicode RTL is possible, but not comfortable: I have currently identified 2 problems in Lazarus which make debugging such programs difficult: - The IDE does now know the -tSUBTARGE

Re: [Lazarus] Unicode RTL for FPC

2023-01-12 Thread Michael Van Canneyt via lazarus
On Thu, 12 Jan 2023, Rolf Wetjen via lazarus wrote: Hi Michael, I'm interested in this but I expect that I'm not the expert you are looking for. Some time ago ( Lazarus 1.8 or even earlier) I made a directory sync program for my own use for Windows which is aware of Unicode names in the fi

[Lazarus] Unicode RTL for FPC

2023-01-06 Thread Michael Van Canneyt via lazarus
Hello, I'm currently working for a company (Tixeo.com) that is preparing to use FPC to recompile their flagship product (written in Delphi) for certain targets. As part of this work, we're striving to make the Free Pascal RTL and Packages more compatible with recent Delphis. That means: -

Re: [Lazarus] SynEdit highlighter for Markdown

2023-01-06 Thread Michael Van Canneyt via lazarus
On Thu, 5 Jan 2023, Andrew Haines via lazarus wrote: Hi, I attached a highlighter I made for Markdown. I like to use this in my projects to plan things. It seems to work fine with any attribute that only requires a single line. I tried and failed to make multiline fenced code work. I'm sur

Re: [Lazarus] Instantsearch package

2023-01-05 Thread Michael Van Canneyt via lazarus
On Thu, 5 Jan 2023, Marcello via lazarus wrote: Hi, I installed the InstantSearch package, really useful, thanks! Search works and is impressive :) While double clicking on fpc/lazarus sources the link works correctly, same action on my project sources fails with this message Source tree

[Lazarus] Instantsearch package

2022-12-31 Thread Michael Van Canneyt via lazarus
Hello, As a late Christmas gift (and after some deliberation with Mattias Gaertner who provided many helpful remarks), I've added a package to the lazarus IDE: InstantSearch. It provides as-you-type search possibilities, which is much faster than the current find-in-files. For it to work, i

Re: [Lazarus] Application GUI does not appear

2022-12-26 Thread Michael Van Canneyt via lazarus
On Mon, 26 Dec 2022, Koenraad Lelong via lazarus wrote: Hi, It's been a while since I did some development with Lazarus. Now I wanted to update an application I wrote some years ago. At that time the application was written and compiled on and for Linux. Now I want that application to run o

Re: [Lazarus] Attn. Don, documentation snapshots via CI

2022-12-14 Thread Michael Van Canneyt via lazarus
On Thu, 15 Dec 2022, Maxim Ganetsky via lazarus wrote: Hello. As a first step of solving outdated documentation snapshot issue (https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40032 ) I propose to generate it as an artifact of CI job (in `main` branch for now), which then can b

Re: [Lazarus] Makefile issues

2022-12-01 Thread Michael Van Canneyt via lazarus
On Fri, 2 Dec 2022, Mattias Gaertner via lazarus wrote: On Thu, 1 Dec 2022 23:22:38 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] Well, it turns out that "make useride" also does not work on a fresh checkout. It didn't work when Cleaning is enabled. Fixed.

Re: [Lazarus] Makefile issues

2022-12-01 Thread Michael Van Canneyt via lazarus
On Thu, 1 Dec 2022, Mattias Gaertner via lazarus wrote: On Wed, 30 Nov 2022 14:35:24 +0100 (CET) Michael Van Canneyt via lazarus wrote: Hello, The lazarus makefile has some dependency issues. make ide: That's an internal target. See "make help". Am I correct in my und

Re: [Lazarus] Makefile issues

2022-11-30 Thread Michael Van Canneyt via lazarus
On Wed, 30 Nov 2022, Maxim Ganetsky via lazarus wrote: 30.11.2022 16:35, Michael Van Canneyt via lazarus пишет: Hello, The lazarus makefile has some dependency issues. I would recommend to run `make lazbuild` first and then try to proceed again with your commands. Well, the whole idea

[Lazarus] Makefile issues

2022-11-30 Thread Michael Van Canneyt via lazarus
Hello, The lazarus makefile has some dependency issues. make ide: make ide make -C ide ide make[1]: Entering directory '/home/michael/projects/lazarus-tst/ide' /bin/mkdir -p ../units/x86_64-linux/gtk2 make -C ../tools svn2revisioninc OS_TARGET=linux CPU_TARGET=x86_64 OPT='' make[2]: Enterin

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

2022-11-17 Thread Michael Van Canneyt via lazarus
On Thu, 17 Nov 2022, Aruna Hewapathirane wrote: Hello again, I have column headers and sorting works on a button click . Thank you once again Michael. I am trying to figure out how to sort when a user clicks a column header? Screenshot: https://pasteboard.co/QSf8hNafG0x5.png And I notic

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

2022-11-17 Thread Michael Van Canneyt via lazarus
On Thu, 17 Nov 2022, Aruna Hewapathirane via lazarus wrote: Hello Everyone, 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 How do I set the caption/Title for each column header? How do I set

Re: [Lazarus] SQLDBRestBridge

2022-11-09 Thread Michael Van Canneyt via lazarus
you Peppe On Wed, Nov 9, 2022 at 1:08 PM Michael Van Canneyt via lazarus wrote: On Tue, 8 Nov 2022, duilio foschi wrote: I am puzzled by TMS Software. You are not alone. Your story is recognizable. [snip] I bought TMS Web Core months ago with the idea of quickly write web applications

Re: [Lazarus] GStreamer API unit added

2022-11-09 Thread Michael Van Canneyt via lazarus
On Wed, 9 Nov 2022, Aruna Hewapathirane wrote: normally, sudo apt-get install libgstreamer1.0-dev will fix this. I installed gstreamer1.0-dev package and now it compiles. Compiles and builds playmp3 - screenshot attached. https://pasteboard.co/Uq4bM35Ykllu.png But new problem now. I ha

Re: [Lazarus] SQLDBRestBridge

2022-11-09 Thread Michael Van Canneyt via lazarus
On Tue, 8 Nov 2022, duilio foschi wrote: I am puzzled by TMS Software. You are not alone. Your story is recognizable. [snip] I bought TMS Web Core months ago with the idea of quickly write web applications in Lazarus, with a special aim at their TWebGridComponent, but I can say today tha

Re: [Lazarus] GStreamer API unit added

2022-11-09 Thread Michael Van Canneyt via lazarus
On Tue, 8 Nov 2022, Aruna Hewapathirane wrote: Hello Michael, I tried to get things working but had problems with the IDE I have attached screenshots. It seems you opened the .lpi file as a pascal file using the file - open menu ? A .lpi file must be opened with project - open menu.

Re: [Lazarus] GStreamer API unit added

2022-11-07 Thread Michael Van Canneyt via lazarus
On Mon, 7 Nov 2022, Aruna Hewapathirane wrote: Hi Michael, Many thanks for the link. I have a few more questions please? I am running FPC 3.2.0 and Lazarus 2.0.10 how do I get your gstreamer code into my installation? What is the preferred or best way to do this? It is my first time so apolo

Re: [Lazarus] SQLDBRestBridge

2022-11-07 Thread Michael Van Canneyt via lazarus
On Mon, 7 Nov 2022, duilio foschi wrote: I fixed the code in Lazarus and got a client based on BufDataClient that successfully talks with a restbridge server. As a next step, I'd like to connect to the same server from a TWebForm of TMS Web Core library. Normally, TMS Web Core contains a d

Re: [Lazarus] GStreamer API unit added

2022-11-06 Thread Michael Van Canneyt via lazarus
, Nov 1, 2022 at 6:45 AM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: Hello, For all people interested in sound/video streaming: After lots of work, I added the gst unit to the FPC packages. This unit contains the import declarations for the full libgstreamer-1

Re: [Lazarus] SQLDBRestBridge

2022-11-06 Thread Michael Van Canneyt via lazarus
On Sun, 6 Nov 2022, duilio foschi wrote: Hi Michael, I am digging into your SQLDBRestBridge component. Very useful code. I could fix and run both the server part and the client part (I used the BufDataset client). My code (with very few changes applied to the original one) can be downloade

Re: [Lazarus] SQLDBRestBridge

2022-11-04 Thread Michael Van Canneyt via lazarus
On Thu, 3 Nov 2022, duilio foschi wrote: Please look at the intercept example could you please expand on this? In the http request router, you can register global handlers which are executed for every request. You can choose if the handler is executed before or after the normal handler

Re: [Lazarus] SQLDBRestBridge

2022-11-03 Thread Michael Van Canneyt via lazarus
On Thu, 3 Nov 2022, duilio foschi wrote: Hi Michael, I was able to log the info shown in this pic https://i.ibb.co/f4MJQFJ/1.jpg (I used a rough writeln for now). This is fine when you want to verify the behaviour of the application itself. 1. == Is there a way to have the server log HTTP

Re: [Lazarus] SQLDBRestBridge

2022-11-03 Thread Michael Van Canneyt via lazarus
On Thu, 3 Nov 2022, duilio foschi via lazarus wrote: I could get client and server talk each other. For the future, it would be nice to have the server (when in debug mode) write a log of commands and data exchanged with the client. This exists already. TRestDispatcherLogOption gives you t

[Lazarus] GStreamer API unit added

2022-11-01 Thread Michael Van Canneyt via lazarus
Hello, For all people interested in sound/video streaming: After lots of work, I added the gst unit to the FPC packages. This unit contains the import declarations for the full libgstreamer-1.0 API. I didn't translate all C macros, but if you need some which I didn't translate, let me know a

Re: [Lazarus] testing demorestbridge without a web server: is that possible?

2022-10-25 Thread Michael Van Canneyt via lazarus
On Tue, 25 Oct 2022, duilio foschi via lazarus wrote: following the suggestions offered by zeljiko (thank you, zeljko), I was able to compile and successfully run demorestbridge.exe Albeit no message is displayed when the EXE starts, I can see that the application is alive and answering requ

Re: [Lazarus] Can I delete a property from a collectionitem

2022-10-12 Thread Michael Van Canneyt via lazarus
On Wed, 12 Oct 2022, nibbikfrans via lazarus wrote: Hi, I have a collection stored in a file. One property of each collectionitem is a value of what seeems to be a set but is not. That property is no longer needed. Is there a way to delete that property? I suppose I can do that by creati

[Lazarus] WebAssembly support for DOM access

2022-09-04 Thread Michael Van Canneyt via lazarus
Hello, Thanks to the sponsoring by Tixeo, the FPC & Lazarus team has developed a pretty unique feature for the FPC WebAssembly support. Webassembly is a bytecode format and embedding specification that allows you to load and run compiled code into the browser in a restricted environment. It i

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2022-08-24 Thread Michael Van Canneyt via lazarus
On Wed, 24 Aug 2022, Luca Olivetti via lazarus wrote: El 17/5/18 a les 9:50, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:43, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:11, Michael Van Canneyt via Lazarus ha escrit: I will need to check this, but the purpose

Re: [Lazarus] Bug in Add requirements dialog on MacOS.

2022-08-09 Thread Michael Van Canneyt via lazarus
On Tue, 9 Aug 2022, Dmitry Boyarintsev via lazarus wrote: Is it an owner drawn list? if I look in packager/addpkgdependencydlg.pas, it seems so, yes. Michael. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org

[Lazarus] Bug in Add requirements dialog on MacOS.

2022-08-09 Thread Michael Van Canneyt via lazarus
Hi, The 'Add requirement' dialog from the project editor on Mac OS has a serious defect in the package list. See attached screenshot :-) I think a previous Lazarus version had the same problem in the IDE install packages dialog. Should I report this in the bugtracker, or is it a known problem ?

Re: [Lazarus] More Gtk3 Status

2022-07-15 Thread Michael Van Canneyt via lazarus
On Fri, 15 Jul 2022, denisgolovan via lazarus wrote: Hi Antony & all Personally I am interested in complete Gtk3 widgetset in Lazarus. Unfortunately, I can only donate some funds to make it happen. Of course, financial help is not the complete solution, but it might help. Perhaps it's poss

Re: [Lazarus] fish application as web application

2022-06-03 Thread Michael Van Canneyt via lazarus
On Thu, 2 Jun 2022, duilio foschi via lazarus wrote: There seems to be an alternate version at: unfortunately no sort of dbgrid is used, which would make the application much more interesting. How is a web dbgrid created in Lazarus? Is any example available? Not for free. For my daytime

Re: [Lazarus] fish application as web application

2022-06-02 Thread Michael Van Canneyt via lazarus
On Thu, 2 Jun 2022, duilio foschi via lazarus wrote: which is the state of art of Lazarus as a web programming tool? I'd like to know: is it possible to write the classic "fish application" http://www.shellplus.com/graphics/fish-explorer-demo.gif as a web application using Lazarus? Yes, t

Re: [Lazarus] Pas2Js and component binding

2022-05-24 Thread Michael Van Canneyt via lazarus
On Tue, 24 May 2022, Marcello via lazarus wrote: hi all I've some problems in binding html elements. This is the thread I open in forum, attached you can found the my source project. https://forum.lazarus.freepascal.org/index.php/topic,59432.0.html The strange is: inside doRun I call Bind

Re: [Lazarus] Debug Adaptor Protocol support

2022-04-23 Thread Michael Van Canneyt via lazarus
On Sat, 23 Apr 2022, Martin Frb via lazarus wrote: On 23/04/2022 13:00, Michael Van Canneyt via lazarus wrote: Hello, If memory serves me well, some time ago, the Debug Adaptor Protocol support was mentioned, I think in the context of fpDebug. For pas2js, it would be beneficial to have

[Lazarus] Debug Adaptor Protocol support

2022-04-23 Thread Michael Van Canneyt via lazarus
Hello, If memory serves me well, some time ago, the Debug Adaptor Protocol support was mentioned, I think in the context of fpDebug. For pas2js, it would be beneficial to have DAP support in the IDE, as it would allow to debug the pas2js programs from within Lazarus. So, is my memory correc

Re: [Lazarus] Lazarus is running but not responding.

2022-04-21 Thread Michael Van Canneyt via lazarus
On Thu, 21 Apr 2022, Michael Van Canneyt via lazarus wrote: On Thu, 21 Apr 2022, Ondrej Pokorny via lazarus wrote: On 21.04.2022 11:36, Michael Van Canneyt via lazarus wrote: Lazarus was completely stuck under high load. No way to close it. I had to kill Lazarus with killall -KILL

Re: [Lazarus] Lazarus is running but not responding.

2022-04-21 Thread Michael Van Canneyt via lazarus
On Thu, 21 Apr 2022, Ondrej Pokorny via lazarus wrote: On 21.04.2022 11:36, Michael Van Canneyt via lazarus wrote: Lazarus was completely stuck under high load. No way to close it. I had to kill Lazarus with killall -KILL lazarus When I then attempted to restart lazarus, I got "La

Re: [Lazarus] Lazarus is running but not responding.

2022-04-21 Thread Michael Van Canneyt via lazarus
On Thu, 21 Apr 2022, Alexey Torgashin via lazarus wrote: Run 'htop' (do you have Linux?) and press F3 to find 'lazarus'. Then F9 to kill it. Obviously I checked the process list first. There is no running lazarus. (which is logical after a killall -KILL lazarus, it kills ALL lazarus process

[Lazarus] Lazarus is running but not responding.

2022-04-21 Thread Michael Van Canneyt via lazarus
Hi, Lazarus was completely stuck under high load. No way to close it. I had to kill Lazarus with killall -KILL lazarus When I then attempted to restart lazarus, I got "Lazarus is running but not responding." (see screenshot) I have not found a way to start it again. So, what should I do n

Re: [Lazarus] TMS Component and Lazarus IDE

2022-04-20 Thread Michael Van Canneyt via lazarus
On Wed, 20 Apr 2022, Marcello via lazarus wrote: You must download the Delphi installer. There is no separate installer for Lazarus. The Delphi installer then offers to install for lazarus. Michael. So, If I don't need native components I can successfully install Web Componets in Lazar

Re: [Lazarus] TMS Component and Lazarus IDE

2022-04-20 Thread Michael Van Canneyt via lazarus
On Wed, 20 Apr 2022, Marcello via lazarus wrote: Il 19/04/22 10:26, Mattias Gaertner via lazarus ha scritto: On Tue, 19 Apr 2022 09:42:10 +0200 Marcello via lazarus wrote: Hi all Some time ago I asked on the forum more information about the status of the installation of TMS components in

[Lazarus] Strange message from window manager

2022-04-09 Thread Michael Van Canneyt via lazarus
Hello, I'm getting heaps of this kind of warnings: Cinnamon warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x238 (Lazarus) Cinnamon warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x265 (MainIDE) Cinnamon warning: B

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Mattias Gaertner via lazarus wrote: On Fri, 8 Apr 2022 14:21:23 +0200 Sven Barth via lazarus wrote: [...] Solving this would at the same time allow the IDE to have a TButton for both the LCL and e.g. Web Components Library. Right now they need to be named differently li

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Sven Barth via lazarus wrote: 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

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Marco van de Voort via lazarus wrote: On 8-4-2022 10:49, Michael Van Canneyt via lazarus wrote: But that is exactly what I want to support ? If I want to implement my own button, descendent of the standard TButton or not: Except for the restriction during

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Marco van de Voort via lazarus wrote: On 8-4-2022 11:26, Michael Van Canneyt wrote: The duplications are within sets of units with similar names for different component packages. It is only logical to also use that. There is no need to force the unit as disambiguator.

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Marco van de Voort wrote: Units are already packages (or namespaces) by themselves. That is why they were invented. No need to add a second layer. The duplications are within sets of units with similar names for different component packages. It is only logical to also

Re: [Lazarus] Component palette enhancements

2022-04-08 Thread Michael Van Canneyt via lazarus
On Fri, 8 Apr 2022, Mattias Gaertner via lazarus wrote: On Wed, 6 Apr 2022 12:56:17 +0200 (CEST) Michael Van Canneyt via lazarus wrote: Hello, I'm probably kicking in an open door when I'm saying that lazarus evolves and grows. This is good news, obviously. But I have now mo

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Michael Van Canneyt via lazarus
On Wed, 6 Apr 2022, Marco van de Voort via lazarus wrote: On 6-4-2022 14:47, Michael Van Canneyt via lazarus wrote: * When writing: write UnitName.ComponentName instead of ComponentName.   A trivial change, which can be done in a backward compatible manner. It only will break

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Michael Van Canneyt via lazarus
On Wed, 6 Apr 2022, Werner Pamler via lazarus wrote: Am 06.04.2022 um 12:56 schrieb Michael Van Canneyt via lazarus: 3. Please add a search edit in the component palette, as delphi has it:    typing in that edit should reduce the visible tabs to show only tabs that have a    component with

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Michael Van Canneyt via lazarus
On Wed, 6 Apr 2022, Sven Barth wrote: 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. Currently a component is identified by its class

Re: [Lazarus] Component palette enhancements

2022-04-06 Thread Michael Van Canneyt via lazarus
On Wed, 6 Apr 2022, Sven Barth via lazarus wrote: 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

[Lazarus] Component palette enhancements

2022-04-06 Thread Michael Van Canneyt via lazarus
Hello, I'm probably kicking in an open door when I'm saying that lazarus evolves and grows. This is good news, obviously. But I have now more tabs on the component palette than can fit on the screen. There is a dropdown with the tabs, but that's hardly usable to quickly locate a component. I

Re: [Lazarus] Component icons howto ?

2022-03-30 Thread Michael Van Canneyt via lazarus
On Wed, 30 Mar 2022, Arne Hanssen via lazarus wrote: Den 30.03.2022 09:57, skreiv Michael Van Canneyt via lazarus: [...] Why do you think I know this is a scaling factor ? I didn't have a clue until Werner explained. Sorry, you can argue all you like, but if I see a list of icon

Re: [Lazarus] Component icons howto ?

2022-03-30 Thread Michael Van Canneyt via lazarus
On Wed, 30 Mar 2022, Ondrej Pokorny via lazarus wrote: On 29.03.2022 19:45, Michael Van Canneyt via lazarus wrote: On Tue, 29 Mar 2022, Werner Pamler wrote: I don't know the actual procedure names ATM, but imagine that when the message window needs a "warning" icon (which i

Re: [Lazarus] Component icons howto ?

2022-03-29 Thread Michael Van Canneyt via lazarus
On Tue, 29 Mar 2022, Werner Pamler wrote: Am 29.03.2022 um 18:37 schrieb Michael Van Canneyt: So you must always register the three images. You are not forced to. But when you provide only the standard size and run the IDE at 200% the IDE will upscale the 24x24 image to double size, and th

Re: [Lazarus] Component icons howto ?

2022-03-29 Thread Michael Van Canneyt via lazarus
On Tue, 29 Mar 2022, Werner Pamler via lazarus wrote: Am 29.03.2022 um 15:50 schrieb Michael Van Canneyt via lazarus:    I see there are 3 icons for every standard component:    mycomponent, mycomponent_150 and mycomponent_200    How does the IDE pick which image it needs ? The basic

[Lazarus] Component icons howto ?

2022-03-29 Thread Michael Van Canneyt via lazarus
Hi, 2 questions : 1. What is the current procedure for registering a component ? I see there are 3 icons for every standard component: mycomponent, mycomponent_150 and mycomponent_200 How does the IDE pick which image it needs ? As a corollary: what's with the strange names ?

Re: [Lazarus] ODBC configurations for Excel on Lazarus

2022-03-12 Thread Michael Van Canneyt via lazarus
On Sat, 12 Mar 2022, Werner Pamler via lazarus wrote: Am 11.03.2022 um 23:43 schrieb Michael Van Canneyt via lazarus: Cool, I didn't know that one yet ! :-) Is there an example for it's use ? Given the way companies often rape excel sheets, this component will make life a lot

Re: [Lazarus] ODBC configurations for Excel on Lazarus

2022-03-11 Thread Michael Van Canneyt via lazarus
On Fri, 11 Mar 2022, Werner Pamler via lazarus wrote: Am 11.03.2022 um 23:03 schrieb Michael Van Canneyt via lazarus: Would it not be easier to use fpspreadsheet ? Accessing excel through odbc seems a rather roundabout way. Yes, definitely (https://wiki.lazarus.freepascal.org

Re: [Lazarus] ODBC configurations for Excel on Lazarus

2022-03-11 Thread Michael Van Canneyt via lazarus
On Fri, 11 Mar 2022, Larry Dalton via lazarus wrote: I’m trying to access an Excel spreadsheet named ‘und30.xlsx’ in a directory ‘c:\inventorydata’ using ODBC Data Source Administrator (64-bit). The DSN is ‘und30’. I am trying to use TODBCConnection named under30conn. How do I configure und

Re: [Lazarus] workaround for trayicon.hint is ok with Manjaro XFCE

2022-02-16 Thread Michael Van Canneyt via lazarus
On Wed, 16 Feb 2022, John Landmesser via lazarus wrote: if i use this script to start my application #! /bin/bash # Lazarus App mit gesetzter Umgebungsvariablen starten # APPIND Debug : User choosing to use Traditional SysTray export LAZUSEAPPIND=NO /run/media/john1/ntfs1/PROJEKTE/Lazarus/Sa

Re: [Lazarus] Trayicon popup menu no longer showing images

2022-02-16 Thread Michael Van Canneyt via lazarus
On Wed, 16 Feb 2022, Kostas Michalopoulos via lazarus wrote: On 2/16/22 15:22, Michael Van Canneyt via lazarus wrote: I recompiled an older tray application. It used to show images in the tray icon popup menu, but after compilation, the tray popup menu no longer shows the images; just a

Re: [Lazarus] Trayicon popup menu no longer showing images

2022-02-16 Thread Michael Van Canneyt via lazarus
On Wed, 16 Feb 2022, John Landmesser via lazarus wrote: Am 16.02.22 um 14:22 schrieb Michael Van Canneyt via lazarus: Hello, I recompiled an older tray application. It used to show images in the tray icon popup menu, but after compilation, the tray popup menu no longer shows the images

[Lazarus] Trayicon popup menu no longer showing images

2022-02-16 Thread Michael Van Canneyt via lazarus
Hello, I recompiled an older tray application. It used to show images in the tray icon popup menu, but after compilation, the tray popup menu no longer shows the images; just a small rounded square where an image should appear. Linux mint, today's lazarus, GTK2 widgetset. Is this a known issu

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Michael Van Canneyt via lazarus
Now with attachment. Michael. On Tue, 25 Jan 2022, Michael Van Canneyt via lazarus wrote: On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:37:47 +0100 Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:32:22 +0100 (CET) Michael Van Canneyt via

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Michael Van Canneyt via lazarus
On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:37:47 +0100 Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:32:22 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] Yes. (and it does not help) Did you install it? The old IDE does

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Michael Van Canneyt via lazarus
On Tue, 25 Jan 2022, Michael Van Canneyt via lazarus wrote: On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:16:49 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] environmentopts.pp(55,50) Fatal: Cannot find debugger used by EnvironmentOpts

Re: [Lazarus] Lazarus build fails

2022-01-25 Thread Michael Van Canneyt via lazarus
On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: On Tue, 25 Jan 2022 13:16:49 +0100 (CET) Michael Van Canneyt via lazarus wrote: [...] environmentopts.pp(55,50) Fatal: Cannot find debugger used by EnvironmentOpts. make[2]: *** [Makefile:4872: lazarus] Error 1 make[1

[Lazarus] Lazarus build fails

2022-01-25 Thread Michael Van Canneyt via lazarus
Hello, Lazarus build with today's sources fails: Build IDE: Exit code 2, Errors: 2, Warnings: 1, Hints: 2 ideinstances.pas(579,3) Warning: Case statement does not handle all possible cases modematrixopts.pas(342,19) Hint: Function result variable of a managed type does not seem to be initiali

Re: [Lazarus] DCPcrypt: a package looking for a new maintainer

2022-01-15 Thread Michael Van Canneyt via lazarus
On Sat, 15 Jan 2022, Daniel Franzini via lazarus wrote: I volunteer to maintain the DPCrypt package. What should I do? Well, I asked for permission to include DPCrypt into the FPC. It was granted, and the usual FPC license can be added. My plan was to look at the proposals by Arnaud Bouch

[Lazarus] More Webassembly...

2021-12-30 Thread Michael Van Canneyt via lazarus
Hello, I've just committed to the FPC git repo the wasmtime unit. This unit can be used to load and use the wasmtime library. Using this library you can compile, load and run Webassembly files embedded in your FPC program on all FPC & webassembly supported native platforms. There are 4 demo

[Lazarus] Improved FPC JSON-RPC support

2021-12-28 Thread Michael Van Canneyt via lazarus
Hello, Thanks to the magic of RTTI and Invoke(), creating a JSON-RPC server has just become significantly easier ! Given an interface definition: IMyOtherInterface = interface ['{4D52BEE3-F709-44AC-BD31-870CBFF44632}'] Function SayHello : string; function Echo(args : TStringArray) :

Re: [Lazarus] Lazarus server back online

2021-12-28 Thread Michael Van Canneyt via lazarus
On Tue, 28 Dec 2021, Marc Weustink via lazarus wrote: Hi all, It took a bit longer than expected, but I'm happy to inform you that the Lazarus services are back online. For those interested in why it took longer, I'll explain at the end of the message. [snip] Meanwhile it was 24:00 an

Re: [Lazarus] SQLDBRestBridge memory consumption attn Michael

2021-12-27 Thread Michael Van Canneyt via lazarus
On Mon, 27 Dec 2021, zeljko wrote: Hi all, fpc-3.2.2, lazarus trunk...found that sqldbrestdispatcher does not free some unused resources, so sqldbrestserver memory alloc grows and after few thousand connections eats more than 1GB of memory. Just found in TSQLDBRestDispatcher.HandleResourc

Re: [Lazarus] [Pas2js] FPC and WebAssembly

2021-12-24 Thread Michael Van Canneyt via lazarus
And yes, we can do graphics too: https://www.freepascal.org/~michael/pas2js-demos/wasienv/terminal/ That should obviously be: https://www.freepascal.org/~michael/pas2js-demos/wasienv/canvas/ My apologies for the mistake. Michael. -- ___ lazarus

[Lazarus] FPC and WebAssembly

2021-12-24 Thread Michael Van Canneyt via lazarus
Hello, I'm glad to anncounce that FPC now covers working with webassembly in the browser. Because pictures say more than a thousand words, 3 demos: A modest "hello, world" variation: https://www.freepascal.org/~michael/pas2js-demos/wasienv/simple/ A (limited) terminal emulation: https://www

Re: [Lazarus] Codetools - "Error: identifier not found: Boolean8"

2021-12-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Dec 2021, Mattias Gaertner via lazarus wrote: On Wed, 22 Dec 2021 22:59:00 +0100 (CET) Michael Van Canneyt via lazarus wrote: On Wed, 22 Dec 2021, Gabor Boros via lazarus wrote: > Hi All, > > FPC main and Lazarus fixes_2_2 or main. If double click on the new > pr

Re: [Lazarus] Codetools - "Error: identifier not found: Boolean8"

2021-12-22 Thread Michael Van Canneyt via lazarus
On Wed, 22 Dec 2021, Gabor Boros via lazarus wrote: Hi All, FPC main and Lazarus fixes_2_2 or main. If double click on the new project's main form got "identifier not found: Boolean8". Is this a Lazarus or FPC problem? Lazarus code tools issue. I have the same problem since some time.

Re: [Lazarus] Source file license

2021-12-15 Thread Michael Van Canneyt via lazarus
On Wed, 15 Dec 2021, Dimitrios Chr. Ioannidis via lazarus wrote: Hi, currently I'm writing a utility which I would like to be included in Lazarus and / or FPC ( if it accepted of course ). Usually I license my open source software under MIT license ( see PS ). After reading some forum

Re: [Lazarus] up with Lazarus !

2021-12-02 Thread Michael Van Canneyt via lazarus
On Thu, 2 Dec 2021, Marco van de Voort via lazarus wrote: Op 2-12-2021 om 11:45 schreef Mehmet Erol Sanliturk:  Can I convert that program to JavaScript by using Lazarus ? Afaik the pas2js transpiler compiles to an low level javascript that might not be suitable for maintenance after.

Re: [Lazarus] up with Lazarus !

2021-12-02 Thread Michael Van Canneyt via lazarus
On Thu, 2 Dec 2021, Mehmet Erol Sanliturk via lazarus wrote: Since the subject is "up with Lazarus" can I ask one question as follows : I have a Pascal program having ( around ) 12000 procedures and a small number of units and it is compiled with Lazarus / Free Pascal only in Unix-like oper

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Michael Van Canneyt via lazarus
On Mon, 29 Nov 2021, Martin Frb via lazarus wrote: On 29/11/2021 12:05, Michael Van Canneyt via lazarus wrote: What do you mean 'artificial restrictions' ?  The above is quite standard. IMHO  "if csLoading" tests are also "quite standard" "If Han

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Michael Van Canneyt via lazarus
On Mon, 29 Nov 2021, Juha Manninen via lazarus wrote: On Mon, Nov 29, 2021 at 12:36 PM Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> wrote: On Mon, 29 Nov 2021, Martin Frb via lazarus wrote: - The property accesses "canvas" => that triggers asking for

Re: [Lazarus] TFrame improvements

2021-11-29 Thread Michael Van Canneyt via lazarus
On Mon, 29 Nov 2021, Martin Frb via lazarus wrote: On 29/11/2021 10:52, Juha Manninen via lazarus wrote: Please everybody test issue: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/25124 Some components caused an error when placed on a Frame. Now it apparently works. Can somebod

Re: [Lazarus] DCPcrypt: a package looking for a new maintainer

2021-11-22 Thread Michael Van Canneyt via lazarus
On Mon, 22 Nov 2021, Bart via lazarus wrote: Hi, The DCPcrypt package (see: https://wiki.lazarus.freepascal.org/DCPcrypt) does not have a maintainer anymore. Graeme unfortunately had to give up (as he pointed out: not by choice, but by circumstances). Is there anybody out there who is intere

<    1   2   3   4   5   6   7   8   9   10   >