Re: [Lazarus] up with Lazarus !

2021-12-02 Thread Darius Blaszyk via lazarus
That should be 33 in total! On Thu, Dec 2, 2021 at 10:20 AM Marco van de Voort via lazarus < lazarus@lists.lazarus-ide.org> wrote: > > Op 1-12-2021 om 23:04 schreef Sergey Bodrov via lazarus: > > Pascal walks into a bar > > There are 100 000 Pascals in the bar! > > > Nope, 11, 10 in the b

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

2021-03-11 Thread Darius Blaszyk via lazarus
It has just yesterday updated so it seems. Thanks for the support! Rgds, Darius On Wed, Mar 10, 2021 at 9:20 PM Martin Frb wrote: > On 10/03/2021 21:08, Darius Blaszyk wrote: > > duh... Indeed, the repository I have been using > > (https://github.com/graemeg/lazarus > >

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

2021-03-10 Thread Darius Blaszyk via lazarus
wrote: > On 10/03/2021 16:48, Darius Blaszyk via lazarus wrote: > > Hi all, > > > > I am trying to compile Lazarus (the GitHub mirror SVN rev51500) on > > windows 64bit with the following compiler > > > > Which mirror? > 51500 is from 2016. > > &g

[Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

2021-03-10 Thread Darius Blaszyk via lazarus
Hi all, I am trying to compile Lazarus (the GitHub mirror SVN rev51500) on windows 64bit with the following compiler Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64 I get the following error: make all D:\lazarus\components\lazutils\utf8process.pp(357,69) Error: (3285) Expected anoth

Re: [Lazarus] TTimer simple issue

2020-10-27 Thread Darius Blaszyk via lazarus
The first multiplication is when i = 0, so it should be ok. I am wondering though, the OP wants to calculate the factorial of 9. That would require a larger data type than an integer to store the result in! ;) On Tue, Oct 27, 2020 at 1:46 PM Евгений Кадисов via lazarus < lazarus@lists.laza

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Darius Blaszyk via lazarus
Hi Anthony, Have you considered GPLT for OpenGL context creation? https://github.com/daar/GLPT Rgds, Darius Verstuurd vanaf mijn iPhone > The library does not have any code to manage creating a window, creating a > valid opengl context, or handle event processing. These are things which are

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
till) naive patch that implements automatic completion upon >> keypress. It's already giving me a big boost in productivity so I thought I >> might share it here. It would be good to make the identifier invocation a >> bit smarter. For instance I would like to prevent invoca

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
get the required information is appreciated! > > Rgds, Darius Blaszyk > > On Fri, Aug 16, 2019 at 10:55 PM Martin Frb via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> On 16/08/2019 19:07, Darius Blaszyk via lazarus wrote: >> > Hi, >> > >> >

Re: [Lazarus] Automatic identifier completion

2019-08-20 Thread Darius Blaszyk via lazarus
lazarus@lists.lazarus-ide.org> wrote: > On 16/08/2019 19:07, Darius Blaszyk via lazarus wrote: > > Hi, > > > > I know about code completion in the IDE and it works perfectly! > > However, to invoke it I need to press CRTL-space every time which is > > somewhat cu

Re: [Lazarus] Automatic identifier completion

2019-08-16 Thread Darius Blaszyk via lazarus
ia lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 16/08/2019 19:07, Darius Blaszyk via lazarus wrote: > > Hi, > > > > I know about code completion in the IDE and it works perfectly! > > However, to invoke it I need to press CRTL-space every time which is > &g

[Lazarus] Automatic identifier completion

2019-08-16 Thread Darius Blaszyk via lazarus
Hi, I know about code completion in the IDE and it works perfectly! However, to invoke it I need to press CRTL-space every time which is somewhat cumbersome. Is there a setting in the IDE that would invoke completion automatically on keypress? An example in sublime: https://packagecontrol.io/read

Re: [Lazarus] How to do insert/update and select on database

2019-06-03 Thread Darius Blaszyk via lazarus
Op zo 2 jun. 2019 om 22:55 schreef Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> > > > On Sun, 2 Jun 2019, Darius Blaszyk via lazarus wrote: > > > Hi, > > > > I'm new to database programming with Lazarus. So hence possible a couple &g

[Lazarus] How to do insert/update and select on database

2019-06-02 Thread Darius Blaszyk via lazarus
Hi, I'm new to database programming with Lazarus. So hence possible a couple of obvious questions! I would like to do inserts, selects, and updates on a single SQLite database. I am now using multiple SQLQuery components with all their own queries. Is this the way it should work? After a commit,

Re: [Lazarus] New tool sspell for pascal programmers

2017-07-24 Thread Darius Blaszyk via Lazarus
Alexey via Lazarus schreef op 24 jul '17: On 24.07.2017 04:07, Darius Blaszyk via Lazarus wrote: This tool extracts text from comments and string literals in source code files and checks them for spelling. Very useful It is already doable in CudaText editor: - install plugin SpellCh

[Lazarus] New tool sspell for pascal programmers

2017-07-23 Thread Darius Blaszyk via Lazarus
Hi all, I've just finished working on a tool called sspell (stands for source code spell checker) for a project of mine. This tool extracts text from comments and string literals in source code files and checks them for spelling. Very useful in my case when you have a lot of resourcestrings, comm

Re: [Lazarus] Terminal window while debugging

2017-03-05 Thread Darius Blaszyk via Lazarus
On Linux I don't get the terminal to show when debugging a command line application. How can I instruct the IDE to display the terminal? There is the console window, but I prefer to see the terminal instead. On windows this seems to be handled just fine. I'm using 1.6.4 With "console window" I

[Lazarus] Terminal window while debugging

2017-03-05 Thread Darius Blaszyk via Lazarus
On Linux I don't get the terminal to show when debugging a command line application. How can I instruct the IDE to display the terminal? There is the console window, but I prefer to see the terminal instead. On windows this seems to be handled just fine. I'm using 1.6.4 Regards, Darius --

[Lazarus] copying files/ folders to clipboard

2017-02-11 Thread Darius Blaszyk via Lazarus
Hi, Any hints or tips on how to copy files and folders to the clipboard in a platform independent way. The catch is that the user should be able to copy/paste the copied file or folder in the native file explorer. TIA, Darius-- ___ Lazarus mailing list

Re: [Lazarus] Embedded font

2017-02-07 Thread Darius Blaszyk via Lazarus
> With qt you can use QFontDatabase_addApplicationFont, e.g. > > ... > > With GTK you can use fontconfig, e.g. Thanks Luca! Does anyone how to make it natively work on the Mac? Regards, Darius -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.or

[Lazarus] Embedded font

2017-02-06 Thread Darius Blaszyk via Lazarus
Hi, Is it possible to embed a font for a GUI application in Lazarus in a platform independent way? I've been looking on the internet and I only found windows specific solutions so far. Regards, Darius -- ___ Lazarus mailing list Lazarus@lists.lazarus-i

[Lazarus] Translating at runtime

2017-01-12 Thread Darius Blaszyk via Lazarus
Hi, I was wondering what the best way would be to translate and app at runtime. When I call SetDefaultLang from LCLTranslator after changing the language setting, the IDE is translated on the fly. However incomplete translations will overwrite only the translated strings from the .po file and leav

Re: [Lazarus] i18n questions

2017-01-08 Thread Darius Blaszyk via Lazarus
> Is the unit resourcestrings shown in the project inspector? Thanks Mattias! That solved the issue. I have DefaultTranslator in the .lpr and added ResourceStrings.pas to the PI and now after each compile the .po files are updated. Thanks, Darius -- __

Re: [Lazarus] i18n questions

2017-01-08 Thread Darius Blaszyk via Lazarus
José Mejuto via Lazarus schreef op 8 jan '17: > El 08/01/2017 a las 2:21, Darius Blaszyk via Lazarus escribió: > >> Hi, > [...] > >> a separate tool or script to merge the translation strings into my .po >> file? Or did I setup my project wrong? >>

[Lazarus] i18n questions

2017-01-07 Thread Darius Blaszyk via Lazarus
Hi, I have enabled i18n for my project and added the DefaultTranslator unit to the lpr file. Additionally I added a unit called ResourceStrings.pas to the project that centrally collects all the resourcestrings from my project code. However, when I compile, the strings from the LFM files are updat