Re: [fpc-pascal] Daily snapshots?

2023-12-31 Thread Nico Neumann via fpc-pascal
Running a GUI application (like Lazarus) from a container isn't that complicated (just make sure you trust the container you run (depends on your approach) [1]): - mounting/forwarding your X server socket to the container application - remote desktop to the container via VNC or xrdp To simplify

Re: [fpc-pascal] Daily snapshots?

2023-12-29 Thread Nico Neumann via fpc-pascal
Hi Thomas, in case your platform allows to use Container images [1], you might give the Container images of FPC [2] a try. The beta image is for the next released version of FPC (fixes_3_2 branch) while the trunk/nightly uses the main branch. Depending on the image version you only need to dow

Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-05 Thread Nico Neumann via fpc-pascal
This was already reported on GitLab: https://gitlab.com/freepascal.org/fpc/source/-/issues/39488 Dimitrios Chr. Ioannidis via fpc-pascal schrieb am Mi., 5. Jan. 2022, 08:49: > Hi, > > Στις 5/1/2022 2:00 π.μ., ο/η Rainer Stratmann via fpc-pascal έγραψε: > > https://freepascal.org/ > > the certifi

Re: [fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

2021-05-05 Thread Nico Neumann via fpc-pascal
Indy has support for OpenSSL 1.1.1, just not officially (yet). See https://github.com/IndySockets/Indy/pull/299 Am Mi., 5. Mai 2021 um 16:38 Uhr schrieb Michael Van Canneyt via fpc-pascal : > > > On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote: > > > I have an application which is ported fro

Re: [fpc-pascal] Question about System.Move()

2021-01-09 Thread Nico Neumann via fpc-pascal
For checking if it's a managed type you should use the IsManagedType intrinsic. You could also use it to implement the System.Move() for non-managed types. The compiler only generates the appropriate code: If IsManagedType(T) then // for loop else // move Best Regards Nico Bart via fpc-pasca

Re: [fpc-pascal] Adding file to string to the RTL

2020-10-06 Thread Nico Neumann via fpc-pascal
Wouldn't it be better to implement it directly as *IOUtils.TFile* (like Deplhi)? *class function ReadAllBytes(const Path: string): TBytes; static;class function ReadAllLines(const Path: string): TStringDynArray;overload; static;class function ReadAllLines(const Path: string; const Encoding: TEn

Re: [fpc-pascal] Procedural generics question

2020-08-26 Thread Nico Neumann via fpc-pascal
The TypeInfo function checks the code during run-time thus the generated code is 'bloated'. Better use the compiler intrinsic GetTypeKind. {$mode objfpc} uses typinfo; generic procedure Add; begin if GetTypeKind(T) = tkInteger then WriteLn('an integer'); if GetTypeKind(T) = tkString t

Re: [fpc-pascal] RTL semaphore supported?

2020-08-13 Thread Nico Neumann via fpc-pascal
It's not implemented yet, see https://bugs.freepascal.org/view.php?id=37440. For unix systems the pthread.inc already contains the API headers for the sem_* functions ( https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/linux/pthread.inc?view=markup&sortby=file#l183) but for Mac OS X 10.4.8 th

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Nico Neumann via fpc-pascal
You also need to update your Lazarus version: https://github.com/graemeg/lazarus/commit/0bf882fb5b71fb3288ef5571998617fe8a5d3cd0 Am Do., 23. Apr. 2020 um 15:22 Uhr schrieb Ryan Joseph via fpc-pascal < fpc-pascal@lists.freepascal.org>: > > > > On Apr 23, 2020, at 9:11 PM, Arjan Adriaanse wrote: >

[fpc-pascal] Travis CI support

2020-03-21 Thread Nico Neumann via fpc-pascal
Hello, I'm searching for volunteers who could help to add and support continuous integration via Travis CI. According to https://docs.travis-ci.com/user/languages/community-supported-languages/ we would need to be at least a group of 3 people and we would need to write a Ruby script (I've started a