Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2012-12

  1. Websocket client

    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.…

    Krzysztof, Ralf A. Quint, silvioprog
    7
  2. CrossFPC is finally released

    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…

    Graeme Geldenhuys, Adrian Veith, Andreas Berger
    18
  3. Basically on the right track?

    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…

    Patrick, Juha Manninen, Leonardo M. Ramé
    24
  4. Extending an enumeration

    Is it possible to extend an enumeration, while preserving strong type checking? In other words, given existing code like type TUpstreamServerCapabilitiesBase=…

    Mark Morgan Lloyd, JC Chu, Ludo Brands
    8
  5. Feature announcement: Extension of TThread's interface

    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…

    Sven Barth, Graeme Geldenhuys, Marco van de Voort
    3
  6. Strings - suggestions

    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…

    Unknown author, luiz americo pereira camara, Marco van de Voort
    26
  7. SocketError 183

    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…

    MegaBrutal, Ewald, Marco van de Voort
    2
  8. download manager

    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…

    Geoffray Levasseur-Brandin, Lukas Gebauer
    1
  9. Accessing low-level Firebird facilities

    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…

    Mark Morgan Lloyd, Martin Schreiber, Reinier Olislagers
    4
  10. Brook 1.0 - A new framework for web was born

    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…

    silvioprog, Graeme Geldenhuys, Juha Manninen
    38
  11. GetTableNames in TSQLConnection / Postgresql

    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…

    John, LacaK, Ludo Brands
    31
  12. fpdoc enhanced - call for tests

    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…

    Michael Van Canneyt, Graeme Geldenhuys, Reinier Olislagers
    2
  13. Codetools and C-style constructs

    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…

    Howard Page-Clark, Mattias Gaertner, Sven Barth
    3
  14. Class procedural type

    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…

    Ewald, Paul Ishenin, Sven Barth
    6
  15. Bitpacked dynamic array support

    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…

    denisgolovan, Flávio Etrusco
    2
  16. Submitted paszlib/zipper documentation & fpdoc stripper questions

    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…

    Reinier Olislagers
    0
  17. How do FreePascal implement hardware exceptions handling?

    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…

    Andrzej Borucki, Sven Barth
    2
  18. Allegro.pas 4.4.4 released

    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…

    Unknown author
    0
  19. Indexing files

    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…

    Krzysztof, Graeme Geldenhuys, Marco van de Voort
    10
  20. Feature announcement: Generic type constraints

    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…

    Sven Barth, leledumbo
    3
  21. MSEide+MSEgui 2.8.4

    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…

    Martin Schreiber
    0
  22. Registers in loops

    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…

    denisgolovan, Jonas Maebe, leledumbo
    6
  23. Downtime www/svn/bugtracker : Maintenance

    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…

    Michael Van Canneyt
    0
  24. Which comparisons are faster?

    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…

    Krzysztof, Mattias Gaertner
    2
  25. DB test framework GUI: added database selector

    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…

    Reinier Olislagers
    0
  26. Problem running make distclean Win x86 trunk

    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…

    Reinier Olislagers, Jonas Maebe
    3
  27. Requirement of {$M+} to add RTTI info

    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…

    luiz americo pereira camara, Sven Barth
    2
  28. G+ community for Free Pascal and Lazarus

    Google created a new Community feature in Google+. Below is a link to a community dedicated to Free Pascal and Lazarus.…

    Graeme Geldenhuys, Unknown author
    2
  29. Searching for database libraries

    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…

    Mark Morgan Lloyd, Marco van de Voort, Michael Van Canneyt
    8
  30. FCL-JSON: Getting the data into pascal classes

    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…

    Reimar Grabowski, Michael Van Canneyt
    1
  31. Property alias

    Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for…

    Krzysztof, Howard Page-Clark, Unknown author
    3
  32. converting a TP/BP library to FPC

    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…

    waldo kitty, Chad Berchek, Mark Morgan Lloyd
    7
  33. Cast, inheritance, etc

    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…

    Marcos Douglas, Chad Berchek, silvioprog
    4
  34. fpdoc output "parsing used unit..."

    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 ..."…

    Graeme Geldenhuys, Michael Van Canneyt
    3
  35. fpdoc exclude option

    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…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  36. fpdoc and linked elements

    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…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  37. Casting UTF8String, WideString and UnicodeString into AnsiString and vice versa

    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…

    ik, Jonas Maebe
    3
  38. Coping a DataSet

    What is the faster way to copy a DataSet to another? The FPC provides some functionality for this? Marcos Douglas

    Marcos Douglas, Michael Van Canneyt, silvioprog
    7
  39. Oracle driving me crazy - please provide dried frog pills[1]

    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…

    Reinier Olislagers, Ludo Brands, Tomas Hajny
    4
  40. length for long ansistring = segment fault

    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,…

    ik, Jonas Maebe, Michael Van Canneyt
    7
  41. The secrets of FPMake

    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…

    luciano de souza, Michael Van Canneyt
    1
  42. Dataset indexdefs.find: documentation wrong?

    With this code: procedure SortBufDataSet(DataSet: TBufDataSet; const FieldName: string); var Index_Name: string; begin Index_Name := FieldName + '__IdxA'; if…

    Reinier Olislagers, LacaK, Michael Van Canneyt
    2
  43. Lazarus Release 1.0.4

    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:…

    Mattias Gaertner, Rainer Stratmann
    2