fpc-pascal · 2020-04
- Pascal Language Server131
I am new to Pascal programming and since I like using Emacs, I wanted to try to improve its support for editing Pascal code. I decided to implement an LSP server which…
- Question about compiling FPC trunk after revision 448495
For years I have been using the same script to compile FPC, in this script I use the next command: make -j 9 clean all install After the revision 44849 the use of the…
- Porting from Turbo Pascal to FPC4
Overt the years I have developed programs in Turbo Pascal for student lab use, in which the student can easily send to an attached printer contents of the text or VGA…
- Converting http date back to TDateTime7
How do I convert string with HTTP date format such as Wed, 29 Apr 2020 10:35:50 GMT back to its TDateTime value? I try with ScanDateTime() adateTime := ScanDateTime( …
- Debug-Adapter-Protocol support for fpDebug6
I didn't want to share this yet, but it is related to the Pascal Language Server so maybe some of you might be interested. I'm working on the support of the…
- New feature announcement: constant parameters for generics0
The Free Pascal team is happy to announce the addition of a new language feature: constant parameters for generics. This allows to declare generic types or routines that…
- Issues with svn?1
I suddenly start receiving errors: B:\FPC\SVN\build_fixes_3_2\fpcsrc Error running context: An existing connection was forcibly closed by the remote host.…
- Best practice porting a Windows service application to Linux?4
I have this old (dev 2004-2008) service application for Win32, which I hope to migrate/port to Linux. It was written in Delphi7 on WinXP at the time and I want to move it
- New Target Announcement: Windows on ARM640
Hello together! I'm happy to announce initial support for the Windows on ARM64 target, aka aarch64-win64. Simple programs work already and the compiler is at least able…
- StrToHostAddr in sockets unit accepts negative octets7
Running fpc 3.0.4 on Fedora 30. The StrToHostAddr function in the sockets unit accepts negative octets in the source ip address. Consider this program: program ip4_neg;…
- Error format question10
Sorry to ask this yet again but I keep forgetting or remembering wrong. I thought this was a one time error that was fixed but I'm still getting different error formats…
- FormatSettings in library vs application2
It's been over a year since I looked at any Object Pascal code, so a bit rusty. [bows his head in shame] :-) I'm maintaining a library that uses the function seen below.…
- Integration of fpc/jvm classes in java prorgram2
I have to integrate in an existing java product a custom functionality. This product has a plugin system where you implement some classes, (implementing predefined…
- Lazarus Release 2.0.80
Please read carefully: The Lazarus team is glad to announce the release of Lazarus 2.0.8. This release was built with FPC 3.0.4. The previous release Lazarus 2.0.6 was…
- Search path order for fpc.cfg57
Hello. According: https://wiki.freepascal.org/Configuration_file Under a Unix or Unix-like operating systems (e.g. FreeBSD, Linux) 1) The current directory. 2) …
- Prevent full unit path in ppu files? together with -Ur2
When building packages for an installer, one uses -Ur. Yet (on Windows) I noted, that the ppu contain the full path to the source file used to build that ppu. Not a…
- Pass open array to static array?12
Why doesn't it compile to pass an open array to a static array of the same size? That would nice if this worked since it makes assigning values so easy. program test; var
- Wiki Image Database Corruption2
I've been trying to attract the attention of someone/anyone with virtual access to the Wiki webserver to fix the corrupted image database since January. I've tried (in…
- About fpc license.9
Hello. I have done a fork of fpc fixes_3_2 and made some modification of original code. May I distribute the fpc binary of that patched version with the units files,…
- enumerate record fields at runtime2
Hi all! To FPC developers: FPC trunk has a way to enumerate all record fields and get their names? For example: type aRec = record a:String; b:integer; K:Int64; W:Single;
- 2
- Forum + test...1
I did sent already 3 mails in mse-mailing list but they do not appear. Is this new there? Hola, can you see me? There is also mse-org forum:…
- New release of MSEide.4
Hello everybody. The mse-org team is very happy to announce the new release of MSEide+MSEgui. MSEide+MSEgui is a Pascal Cross Platform GUI Development System. - Compiles…
- Wine + Unsupported ioctl7
Hello I installed FPC 3.2RC1 Win32 version under Wine in Linux Manjaro 64-bit. Wine version is a recent 5.5-1. Compiling a hello.lpr program works. Then I made a…
- Why external execution so slow?13
I need to execute an external program from my application. This execution is much slower than execute the external application from command line. I made a simple example…
- TString idea (like stringlist but string only)1
Is there a need by anyone for a TString where one could add to a string (TString.Add) without any CRLF (line feeds) and modify a string as an object? I have needed this…
