fpc-pascal
Subscribe to this list Your subscription
Latest threads
- fpdoc enhanced - call for tests2
I have enhanced fpdoc. It now creates a (clickable) hierarchy of the classes in the package that is documented. A sample of what it will look like is available at…
- Codetools and C-style constructs3
Looking through some of the codetools sources makes me wonder if the codetools overlooks some C-style FPC operators. KeywordFuncLists.pas, for instance, seems not to…
- Class procedural type6
Is there any way to define the appropriate type for `AMethod` (in mode ObjFPC)? TTestClass = Class Public Class Procedure AMethod; End; I tried Type TSomeType = Class…
- Bitpacked dynamic array support2
Hi guys It looks like currently FPC does not support dynamic bitpacked arrays. I wonder how much work it will take to make support for it? For some things, it's a really…
- Submitted paszlib/zipper documentation & fpdoc stripper questions0
Finally got my FPC zip/unzip unit documentation in shape and submitted it as 23508 [Patch] Zipper documentation A long time ago, I mistakenly generated an fpdoc skeleton…
- How do FreePascal implement hardware exceptions handling?2
I analyze FreePascal exceptions handling. Instead use of try-excpt-finally statement I rather use fpc_LongJmp,fpc_PushExceptAddr etc. It works fine for software…
- Allegro.pas 4.4.4 released0
I'm proud to announce that Allegro.pas 4.4.4 was released some days ago. This new version has a lot of improvements: * Added full support for 64bit systems. * New API…
- Indexing files10
I need similar functionality like mp3 players have (e.g rhythmbox, banshee, clementine). I have some experience with databases (I worked in company which make ERP…
- Feature announcement: Generic type constraints3
Hello Free Pascal community! I'm pleased to announce the addition of generic type constraints to Free Pascal (beginning from revision 23158). Overview: Generic type…
- MSEide+MSEgui 2.8.40
MSEide+MSEgui 2.8.4 has been released: https://sourceforge.net/projects/mseide-msegui/ This probably is the last version which depends on FPC-FCL. Upcoming 3.0 release…
- Registers in loops6
Hi all Recently I discovered that fpc refuses to use registers in my loops even with optimization turned on (-O1,-O3 used). I tested using both Linux x86 and Windows x64…
- Downtime www/svn/bugtracker : Maintenance0
Tomorrow (Saturday 15 December) during the day, the main Free Pascal server will be moved to a new location. You may experience some downtime. Normally, it should not be…
- Which comparisons are faster?2
I know that in normal cases those things has no matters, but I do much things in OnPaint so each millisecond is matter. For example, strings comparisons: What is faster…
- DB test framework GUI: added database selector0
Could you have a look at 23483: [Patch] Add database.ini selection/edit form to dbtestframework_gui ... I've added a database.ini connector selector/editor form that may…
- Problem running make distclean Win x86 trunk3
Anybody else see this problem with fpc trunk? Windows x86 fpc; using fpcup tried to compile with -gh -gl -O- -OoNO Part of the output at http://pastebin.ca/2291475 Same…
- Requirement of {$M+} to add RTTI info2
Some time ago, i was getting an error while trying to use RTTI functions in a class descending directly of TObject Later i discovered that i needed to descend from…
- G+ community for Free Pascal and Lazarus2
Google created a new Community feature in Google+. Below is a link to a community dedicated to Free Pascal and Lazarus.…
- Searching for database libraries8
When using something like InitialisePostgres3(), if the approximate location of the database library (.so or .dll) is known, what's the most effective way of finding the…
- FCL-JSON: Getting the data into pascal classes1
I have a relatively simple JSON object consisting of some integer and string fields and a large (500-500000 entries) float array. Following the parsedemo.pp I extract…
- Property alias3
Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for…
- converting a TP/BP library to FPC7
w2k with FPC 2.6.0 release using lazarus 1.1 only as an editor... no GUI stuffings at all... i'm using -Mtp in the project options... i have finally gotten around to…
- Cast, inheritance, etc4
See the code below. My question is: Why the cast worked, considering the c variable is a TAClass instance, not a TBClass. ------------- program Project1; {$mode…
- fpdoc output "parsing used unit..."3
This seems new in FPC 2.7.1. I have some 15-20 units in my .xml project file that fpdoc uses, but only a select few units generate output like "Parsing used unit ..."…
- fpdoc exclude option1
Is there an option in fpdoc description files to exclude a class, type, global variable, global procedure etc from documentation? Something like PasDoc's @exclude…
- fpdoc and linked elements2
Hi Michael (or anybody else that could help), I'm using fpdoc from FPC 2.7.1 (pulled yesterday from the repository). I have a xml description file with the following…
- Casting UTF8String, WideString and UnicodeString into AnsiString and vice versa3
I made casting of UTF8String, WideString and UnicodeString to AnsiString: https://github.com/ik5/fp-msgpack/blob/master/src/msgpack.pas#L452 As an example. My tests…
- Coping a DataSet7
What is the faster way to copy a DataSet to another? The FPC provides some functionality for this? Marcos Douglas
- Oracle driving me crazy - please provide dried frog pills[1]4
Been fiddling with the Oracle connector. This: using the scott schema on Oracle 10g, this works fine in my JDBC query GUI and in sql*plus: select * from scott.emp where…
- length for long ansistring = segment fault7
When I try to get the length of AnsiString, it returns me segment fault. I'm not sure if I'm doing something wrong: var s : AnsiString; l : word; begin SetLength(s,…
- The secrets of FPMake1
Browsing in FPC directories, I found several occurances of FPMake.pp. It's a makefile for Freepascal programs. In the /bin directory, I found "pas2fm" that reads a unit…
