Free Pascal Changelog

What's new in Free Pascal 2.6.4

Mar 12, 2014
  • Fixes:
  • [Database] "-:param" form SQL text parsed incorrected - resolved.
  • [Compiler] Bug in bitpacked arrays access - resolved.
  • [Compiler] When passing a packed record to a overridden, virtual method the method argument contains incorrect values - resolved.
  • [FCL] ptcgraph.CloseGraph works incorrect - resolved.
  • [RTL] TStringList.delimitedtext doesn't respect quotechar - resolved.
  • [Packages] Redefine of QWord as Int64 in packages/winunits-jedi/src/jwawindns.pas - resolved.
  • [RTL] FileSetDate does not work on directories - resolved.
  • [Packages] Wrong bit shift in ListView_GetCheckState - resolved.
  • [Packages] NetDB unable to resolve DNS when application was launched without network - resolved.
  • [Packages] Incorrect exception name in comment in base64.pp - resolved.
  • [Database Components] MySQL InnoDB Transactions - resolved.
  • [Database Components] Potential Buffer Overflow in fcl-db/src/sqldb/sqlite3conn.pp - resolved.
  • [FCL] Apache2.4.x with mod_proxy_fcgi results in an infinite loop within fcl-web fcgi handling - resolved.
  • [Documentation] [patch] minor fixes to fpdoc - resolved.
  • [Utilities] [patch] FPDoc: support for dotted unit names - resolved.
  • [Patch] [patch] Two patches for fpdoc relating to the IPF writer - resolved.
  • [FCL] [patch] a demo for the fpobserver.pp unit - resolved.
  • [Database Components] Problem with MySQL 5.1 procedures- resolved.
  • [Database] missing ODBC datatype -154 (=SQL_TIME) - resolved.
  • [FCL] Incorrect AsLongint processing in db.pas - resolved.
  • [FCL] FilenameToURI should percent-encode the result - resolved.
  • [RTL] keyboard.pp: GenMouseEvent: support mouse buttons 4 and 5? - resolved.
  • [RTL] [Patch] Added function GetLocalTimeOffset in wince - resolved.
  • [RTL] Sockets.pp causing a problem - resolved.
  • [Compiler] Error: Call by var for arg no. 1 has to match exactly: Got "CMINVOKECOMMANDINFO" expected "TCMINVOKECOMMANDINFO" - resolved.
  • [RTL] Incompatibility between implementation and documentation - resolved.
  • [FCL] ParseURI fails on gphoto2://[usb:002,004]/ [^] - resolved.
  • [Packages] latest trunk build fails due to missing dependency in libvlc (since rev.: 22943)- resolved.
  • [RTL] Video unit memory leak - resolved.
  • [RTL] Minor comment typo in rtl/objpas/fgl.pp - resolved.
  • [RTL] Inconsistent structure definitions in struct.inc - resolved.
  • [Textmode IDE] Incorrect procedure TIndicator.Draw for x86_64 - resolved.
  • [Database] MySQL confusingly reports type of field and causes trouble with display formating - resolved.
  • [Packages] opengl/glext.pp: GLHandleARB type is a Pointer on Darwin, not a Cardinal - resolved.
  • [FCL] Unexcepted behavior of TStringList with emtpy values - resolved.
  • [RTL] Incorrect fmShareCompat test in do_open() of sysfile.inc from win/ and nativent/ - resolved.
  • [Packages] unit fpjson function TJSONObject.DoFormatJSON(...) needs initialization - resolved.
  • [Compiler] Compiler crashes with SIGFPE - resolved.
  • [Database Components] Memoryleak in SQLite3db.TSqlite - resolved.
  • [RTL] dateutil.inc / UniversalTimeToLocal +LocalTimeToUniversal : Doubled result assignment for TZOffset = 0 - resolved.
  • [FCL] 100% CPU when windows daemon service runnning - resolved.
  • [RTL] addrinfo in cnetdb has 2 fields swapped around - resolved.
  • [Web site] Impossible to add a comment to a bug report - resolved.
  • [Packages] CHM tools wrong parsing of 13h params of rows in [WINDOWS] section from INI file (.hhp) - resolved.
  • [Packages] [patch] packages winunits-jedi : Minor fix so Lazarus IDE can be used to edit and browse file jwawindows.pas. - resolved.
  • [Compiler] With new package management system under Haiku, paths to search for linked libraries will be empty - resolved.
  • [Compiler] TRegistry works not correct in win7 64 bit with some fields - resolved.
  • [FCL] Handling KEY_WOW64_(64/32)KEY in registry - resolved.
  • [Database] Oracle OCI lib name is hardcoded - resolved.
  • [Database] SQLdb: Support for OCI Library Name in TOracleConnection - resolved.
  • [Packages] [i386-WinCE] gles20.pas : Error: Incompatible type for arg no. 2: Got "Pchar", expecte d "PWideChar" - resolved.
  • [RTL] TStringList.SetCapacity bug - resolved.
  • [Compiler] Insert Char into String - resolved.
  • [Textmode IDE] Text mode IDE cannot select mode macpas - resolved.
  • [RTL] error in shellapi.pp - resolved.
  • [Packages] TProcess.InheritHandles is ignored - resolved.
  • [Database Components] function Locate doesn't work with TMemDataset - resolved.
  • [LCL] Incorrect GetICMProfile declaration in Windows unit - resolved.
  • [Packages] comobj.pp - Registry Functions accept Root-Keys as DWORD, are QWORD on x64 - resolved.
  • [LCL] SMsgDlgClose is missing - resolved.
  • [RTL] Getoptionvalue returns next option if no value is provided - resolved.
  • [FCL] Wrong parsing in TCustomApplication.CheckOptions - resolved.
  • [Website] Impossible to authenticate to update entry in contributed units - resolved.
  • [FCL] Unicode category membership checking functions - resolved.
  • [FCL] txmlregistry incorrect utf-8 string handling - resolved.
  • [Database Components] TDataset.SetFieldValues fails with fields that deal with a variant array as their data type - resolved.
  • [Compiler] Errors when overloading certain operators in advanced records in mode ObjFPC - closed.
  • [FCL] StrUtils.ReplaceStr does not work - closed.
  • [Compiler] Can't cross-build for x86_64-win64 - closed.
  • [Packages] building package hermes fails - closed.
  • [Patch] [Patch] Fix for packages/fcl-db/tests/dbtestframework.pas compile errors - closed.
  • [Packages] [regression] fcl-stl build failed - closed.
  • [FCL] TFPCustomHTTPClient: access vialotion - closed.
  • [Database Components] ODBC connector does not support rollback - closed.
  • [Database Components] [Patch] Database test suite: temporary table test: add support for Firebird- closed.
  • [Database Components] [Patch] fcl-db DBtestframework Firebird embedded support - closed.
  • [Patch] [Patch] TIFF: add support for 1 bit images (bilevel) - closed.
  • [FCL] Patch to implement TJSONArray.Extract - closed.
  • [FCL] HTTP server application can't deal with a lot of requests - closed.
  • [Packages] "Failed to write data to socket. Error: -1" on many concurrent request against FastCGI application - closed.
  • [FCL] Patch: remove redundant checks in fastcgi - closed.
  • [Packages] fpweb sample applications minor readme/text fixes - closed.
  • [FCL] Patch to add const to some methods in fphttp - closed.
  • [Packages] FpHttpClient makes memory leaks when page sets cookies - closed.
  • [Utilities] [Patch] fpdoc improved error message+cosmetic updates - closed.
  • [FCL] TPasWriter..WriteElement don't write Sections - closed.
  • [Packages] [Patch] httpd24 does not compile out of the box under Haiku and BeOS because of a missing declaration - closed.
  • [Database Components] [Patch] Dbtestframework compilationf fixes for Win64 - closed.
  • [Database Components] Firebird EXECUTE BLOCK RETURNS test - closed.
  • [Database Components] [PATCH] ORA-01062 : unable to allocate memory for the define buffer - closed.
  • [Database Components] Rev 21376 reintroduces redundant fcl-db test - closed.
  • [Database Components] [Patch] CSV export: new test for fcl-db - closed.
  • [Database Components] DBF: locate with loPartialkey behaviour differs depending on index use - closed.
  • [Database] Firebird date params broken in some queries - closed.
  • [RTL] termios.inc is missing definitions for FreeBSD - closed.
  • [Packages] ImageMagick export names - closed.
  • [FCL] Add IOleControl to Activex - closed.
  • [FCL] Memory leak in TFPCustomCanvas - closed.
  • [RTL] Debug info is not loaded from external debug file .dbg using GetLineInfo - closed.
  • [RTL] fpc does not compile out of the box on the upcomming alpha4 release of Haiku - closed.
  • [RTL] Remove unused observer constants - closed.
  • [RTL] Avoid type check in FPONotifyObservers - closed.
  • [RTL] Patch - function csqr() for ucomplex.pp
  • [Compiler] Compiler uses all memory and system grinds to a halt when handling olevariant. - closed.
  • [Patch] Add few missing interfaces to activex - closed.
  • [RTL] Setting TStringList.CaseSensitive when TStringList.Sorted is set does not redo the sort. - closed.
  • [RTL] BCDToCurr should return false when BCD value is out of range of currency type - closed.
  • [RTL] Simplify implementation of TStringList.InsertItem() - closed.
  • [Patch] [Patch] Get ReplaceStr and ReplaceText to return results - closed.
  • [Database Components] [patch] Postgres: InitialisePostgres3 is not threadsafe - closed.
  • [Database Components] [Patch]Corrected dbsetlname consts for FreeTDS. Added ApplicationName parameter to mssqlconn. - closed.
  • [Utilities] fpdoc fails at class property - closed.
  • [Patch] Incorrect dbf Language ID to Locale convert table for Czech locale Windows - closed.
  • [Database Components] Memory Leak in DataSet Parameter Binding - closed.
  • [FCL] fcl-net: ssockets are not properly closed on Windows with CloseSocket - closed.
  • [FCL] fcl-web: Incompatible WriteLn call in fphttpserver.pp - closed.
  • [FCL] fcl-web: Unecessary empty procedure HandleRequestError in fphttpserver.pp - closed.
  • [Packages] IPicture to ActiveX - closed.
  • [Patch] Add TWindowInfo - closed.
  • [Misc] Wrong TSDLNet_SocketSet.sockets variable definition in sdl_net unit - closed.
  • [Patch] [Patch] fpcunit: proper error message for CheckNotEquals - closed.
  • [RTL] Add TStringList.CompareStrings - closed.
  • [Patch] Patch: RomanToInt conversion rewrite - closed.
  • [RTL] StrToDate with FormatSettings missing - closed.
  • [Packages] Timage doesn't support jpg cmyk - closed.
  • [Other] ZipDateTimeToDateTime in unit Zipper incorrectly calculates hour. - closed.
  • [Packages] Wininet, add missing declarations - closed.
  • [Packages] fcl-passrc parser does not support for..in syntax - closed.
  • [Packages] fcl-passrc parser requires semicolon before function modifiers - closed.

New in Free Pascal 2.4.4 (Jun 1, 2011)

  • Many improvements to the XML units
  • Many improvements to the database units.
  • Specially sqlite got quite some fixes.
  • Many improvements to the chm units.
  • Including a commandline CHM compiler
  • Many improvements to fppkg and fpmake for another round of testing.
  • Fixes for multi-threading support in OS/2 RTL.

New in Free Pascal 2.4.2 (Nov 16, 2010)

  • Delphi 2006 like for..in support
  • Support for sealed and abstract class modifiers,
  • new targets: 64-bit FreeBSD (x86_64)
  • Many improvements and fixes to the XML, database and CHM packages
  • Long term bug in OS/2 implementation of unit Video finally fixed which among others allows inclusion of the text-mode IDE (without debugger) for this platform as part of the distribution again.
  • Many compiler bugfixes and more than half an year of library updates (since 2.4.0)

New in Free Pascal 2.2.4 (Apr 13, 2009)

  • Free Pascal 2.2.4 contains many bug-fixes and some new features. The
  • main purpose of this release is to fix problems reported with FPC 2.2.2.
  • Some highlights are:
  • Experimental packages-installation tool
  • Added support for TIFF reading/writing in fcl-image
  • Improvements and fixes in CHM support
  • Fixed linking the gtk2-package with gtk versions above 2.13.4
  • Added support for CHM help files

New in Free Pascal 2.2.2 (Aug 11, 2008)

  • Free Pascal 2.2.2 contains many bug-fixes and some new features. The main purpose of this release is to fix problems reported with FPC 2.2.0, and
  • to remove all potentially tainted code from our source code base.
  • Some highlights are:
  • All:
  • All code potentially infringing on CodeGear copyrighted code has been reimplemented using a cleanroom approach.
  • Platforms:
  • Incompatibilities with Mac OS X 10.5's new default linker have been resolved.
  • Compiler: PIC support for Mac OS X (on by default, disable with -Cg-) several bugs in the experimental generics support have been fixed, but this feature is still in beta initialization and finalisation of shared libraries has been fixed for all Darwin platforms, and for Linux/i386 support for {$packset x} directive to enable set packing (use {$packset 1} for Delphi-compatible sets, but note that the format is different on little and big endian platforms)
  • RTL:
  • thread resource leaking under unix has been fixed the widestring manager for unix has been completed several floating point to string conversion errors have been fixed significantly improved variant support implementation of RTL exception handler for OS/2 allowing proper translation of some runtime errors various fixes for GO32v2 improving useability of this target OS/2 RTL enhanced to allow seamless working with large files (64-bit file system API calls) where available (WSeB/MCP/eCS/Warp 4 with FP15)
  • Packages:
  • The Windows API interface units have been significantly updated
  • Apple universal interfaces updated to r234 of the common FPC/GPC/MW interfaces
  • New TRegexEngine class to parse regular expressions
  • Documentation
  • Documentation was updated completely to conform to the actual state of the compiler and RTL.