fpc-pascal · 2012-12
- Websocket client7
Anyone know good and free websocket client which work on linux and windows? What I found: 1. http://code.google.com/p/bauglir-websocket - looks nice, based on synapse.…
- CrossFPC is finally released18
Using Delphi IDE to write code, and FPC to compile or cross-compile to 64-bit Windows, 32-bit Linux etc. http://www.crossfpc.com/ I believe it comes from the same…
- Basically on the right track?24
Hi Everyone This is my first post here. I have NOT read all the documentation, please forgive this but I was hoping to ask a couple of questions to make sure I am on the…
- Extending an enumeration8
Is it possible to extend an enumeration, while preserving strong type checking? In other words, given existing code like type TUpstreamServerCapabilitiesBase=…
- Feature announcement: Extension of TThread's interface3
Hello Free Pascal community! I'm pleased to announce the extension of TThread's interface to bring it more on par with current Delphi versions. Extensions: Note: in the…
- Strings - suggestions26
concerning the string topic, for me (using fpc since 2.0.4 on a regular basis; TP experience ~ average user) there really should be an decision what way to go as early…
- SocketError 1832
For some reason, when I read socketerror after calling fpRecv just after I established a connection, I get 183, or (on a very rare occasion) 10061. I couldn't find what…
- download manager1
I'm currently trying to create a download manager with Synapse for an application I'm creating. As the application may need to download many big files from either ftp or…
- Accessing low-level Firebird facilities4
Can somebody please lend me a hand making three sets of calls to (I think) ibase60dyn.pp please. I've written functions to make and poll asynchronous notifications for…
- Brook 1.0 - A new framework for web was born38
More than 15,000 lines of source code, more than 90 test cases, more than one year of work. Today, a new framework for web development was born. It's name is Brook and…
- GetTableNames in TSQLConnection / Postgresql31
Short version: A call to TSQLConnection.GetTableNames returns a list of tables on all schemas/owners, without the owner. Unless you are using a simple database with…
- 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…
- Dataset indexdefs.find: documentation wrong?2
With this code: procedure SortBufDataSet(DataSet: TBufDataSet; const FieldName: string); var Index_Name: string; begin Index_Name := FieldName + '__IdxA'; if…
- Lazarus Release 1.0.42
The Lazarus team is glad to announce the release of Lazarus 1.0.4. This is a bug fix release. Here is the list of changes:…
