fpc-pascal
Subscribe to this list Your subscription
Latest threads
- FPCUnit - parallel test suite execution16
As per good unit test guidelines, tests should be independent of each other and not rely on results from earlier tests. The perfect candidate for parallelism. So what…
- Saving and reading TBlowfish crypted text5
I need to encrypt TMemo.Lines and to write it to a file. Then, of course, I need the contrary operation I mean reading encrypted text on file, decrypt it to put into…
- fgl.TFPGMap / operator not overloaded for object types7
Hi all I am wondering if somebody created a bug request for the problem described in http://lists.freepascal.org/fpc-pascal/2011-January/028020.html ? If not I'd like…
- how to use signals in freepascal?11
I have some questions regarding event and signals: 1) RTLEventWaitFor can a program waiting for an RTLEvent be notified by an RTLEventSet from ANOTHER process? 2) Unix…
- Google Code closing down21
If you haven't seen yet, Google announced that they will be closing down Google Code. My only concern is that some niche projects used it and that such code could be…
- THashedStringList.IndexOfName returns bogus value for empty string0
Hi fpc experts. I've just discovered that THashedStringList.IndexOfName often return a bogus value instead of the expected -1 when the parameter passed is an empty…
- Is the current stable release of FPC 2.6.4 or 3.0.1?2
Is the current stable release FPC 2.6.4 or 3.0.1? Is it actually 3.0.1? When I check this site - http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/ the last tag is…
- What is already Unicode enabled in 3.1.1?2
Is there some FPC unicode wiki roadmap / status page? Something like Lazarus has for it's widgetsets [http://wiki.freepascal.org/Roadmap] For many years now the tiOPF…
- Help with Delphi ASM translation to FPC2
Could somebody confirm if the Delphi ASM does the same as the FPC code? This code is used in a unit testing framework to help report the exact location of where an error…
- Warning "Local variable seems to be not initialized" on dyn array25
I get a warning that a local dynamic array variable is not initialized. Aren't such managed types initialized by default? On http://wiki.freepascal.org/Dynamic_array it…
- fpdoc to use custom CSS file for HTML output4
Why is the --css-file option limited to the CHM output? Why can't I specify it for the HTML output too? Alternatively, how do I tell fpdoc not to use the default…
- JVM2
I tried to build ppcjvm and failed. I followed the wiki instructions: http://wiki.freepascal.org/FPC_JVM/Building fpcmake of 3.1.1 is in PATH. make CROSSOPT="-O2 -g"…
- how to use procedure of object in C8
I define a procedure like this: type TDataHandler = procedure(data: Pointer) of object; procedure SetHandler(h: TDataHandler); external cdecl; Now, can I implement…
- FPDoc an deprecated functions1
Is the <version> tag the only way to mark methods or functions deprecated in the documentation? I've just tried the latest fpdoc from trunk and it doesn't seem to show…
- fpGetTimeOfDay4
Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW…
- License terms for FastHTMLParser2
While reading up on the history of FastHTMLParser (to find out who/where the root owner of this unit is) I noticed that the last release (0.4) from Jazarsoft…
- FPC embedded ?17
Curious to know hands-on experience of list-members with FreePascal embedded. Arduino <http://arduino.cc/> looks quite attractive to me, but it's not Pascal. Any…
- Base36 encoding0
Hello all. I need a couple of base36 (https://en.wikipedia.org/wiki/Base_36) encoding/decoding functions with the following or similar signatures: function…
- fpGUI - UI Designer - place own components ?3
yesterday I tried fpGUI the first time - I only compiled the examples just to see how it looks. Now I "google and google" for an answer to the question, how to make…
- [Windows] FileGetAttr reports faHidden on e.g. C:\1
Kind of off-topic. While working on Lazarus' TShellTreeView component, it was brought to my attention that FileGetAttr('C:\') returns an attribute that has faHidden in…
- AddTerminateProc leak?1
The test: === begin code === program project1; uses SysUtils; function _Finalize: boolean; begin WriteLn('END'); Result := True; end; begin WriteLn('START');…
- Linux x64 linking error (FPC_ABSMASK_SINGLE)3
Hi! I have a (very) huge project, and compilation of a shared library inside it fails at the linking stage: /usr/bin/ld: </long/directory/file.o>: relocation…
- Is there a CSS parser in FPC?10
As the subject says, I would like to know if there is a CSS parser included with FPC (2.6.4 or Trunk)? No issue if there isn't, as I might not initially need one for the…
- [PATCH] Add Oid_JSON in pqconnection unit2
The patch allows to use this ... : select row_to_json(row(1,'foo')) ... instead of this (in this case, the ::text cast avoids the "Missing (compatible) underlying…
- Use sleep in thread35
Can I use Sleep() in a thread to give up cpu time to other threads running at the same time, so as to adjust the relative "niceness" of a group of workers working on the…
- Failed compiling SVN source on Raspi 1 B+7
I just got my Raspberry 1 B+ and I wanted to install latest FPC (and Lazarus) on it. I got FPC v.2.6.4 installed from the linux-arm package. But then it failed to…
- Annual inform0
Annual inform: I am programming LibreN3D for 3D animations in FreeDOS and other systems, but this year it really was standing by. In this link…
- InterLockedIncrement wrapping etc.0
for i386, InterLockedIncrement() appears to be take a signed 32-bit as its parameter but to increment as an unsigned and wrap to zero. Is this a reliable interpretation…
- the unexplained 6665
Today I stumbled (again) over TFileStream and it contains the constant 438: constructor TFileStream.Create(const AFileName: string; Mode: Word); begin…
- about interface and multiple inheritance23
This is an interesting article about interface and multiple inheritance in Java. http://blog.cleancoder.com/uncle-bob/2015/01/08/InterfaceConsideredHarmful.html I…
