Commit Graph

32075 Commits

Author SHA1 Message Date
joost
855cbebf19 Fixed fpmake.pp files:
* ExternalURL does not exist anymore
 * Do not add dependencies on files in other packages, add a package dependency
   on the package where the files are in instead
 * Replaced the copy of fcl-base's fpmake.pp in fcl-extra with a real one
 * Fixed some dependencies and file-names

git-svn-id: trunk@15148 -
2010-04-15 20:26:03 +00:00
joost
fe85ed0345 * Write 'Done' when compiling succeeded
* Add the package-path of a dependency to the command line also when it was
   not necessary to compile the dependency
 * Show a warning when a dependency on a package is added to a target, because
   such dependencies are ignored
 * When a package is not available for a platform, but nevertheless a
   dependency on it is added, give a warning and ignore the package
 * When a package is already processed for an earlier dependency, do not fail
   but give a notice

git-svn-id: trunk@15147 -
2010-04-15 20:00:18 +00:00
paul
d6c514b6db compiler: apply patch of Sven Barth to add nativent-i386 and linux-mips to the ppudump (issue #0016266)
git-svn-id: trunk@15146 -
2010-04-15 13:06:53 +00:00
joost
70f4c963b0 * Improved error message for unknown targets in dependencies
git-svn-id: trunk@15145 -
2010-04-15 10:37:57 +00:00
joost
df76e4eeb2 * Include package name in warning when file is not found
* Do not try to compile files that do not exist, but raise an error

git-svn-id: trunk@15144 -
2010-04-15 08:30:16 +00:00
paul
ceccce93f5 compiler: add class constructors, class destructors to the initfinal table as regular initialization/finalization sections (class constructors is still not striped away with the class)
git-svn-id: trunk@15143 -
2010-04-15 07:37:41 +00:00
marco
ab551a2662 * patch from Ido Kanner adding BiDi related functions, Mantis 16269
git-svn-id: trunk@15142 -
2010-04-14 11:11:10 +00:00
paul
be1ba05a4c tests: fix compilation for platforms without activeX
git-svn-id: trunk@15141 -
2010-04-12 06:29:01 +00:00
Tomas Hajny
c1c9b97412 + bzip2 unit added
git-svn-id: trunk@15140 -
2010-04-11 16:35:04 +00:00
Tomas Hajny
ef669a31c8 * initialize previously missing fields of threadmanager record
git-svn-id: trunk@15139 -
2010-04-11 15:14:18 +00:00
paul
a1d94c6829 rtl: implement TStreamAdapter.CopyTo, .SetSize, return proper error value for Clone instead of raising exception (#0016161) + test
git-svn-id: trunk@15138 -
2010-04-11 12:52:31 +00:00
Tomas Hajny
f27bb1efd3 * (again :-( ) make cdecl the default calling convention for everything except Windows and fix compilation under OS/2
git-svn-id: trunk@15137 -
2010-04-11 11:57:46 +00:00
marco
cbf7b49dd1 * removed packed from statstg, which causes trouble in win64, and is probably wrong. Mantis 16159
git-svn-id: trunk@15136 -
2010-04-11 11:21:39 +00:00
blikblum
2ded0b93df sqliteds: * Use Value instead of AsString in SetMasterIndexValue
git-svn-id: trunk@15135 -
2010-04-11 01:18:04 +00:00
blikblum
7bad77aff8 sqliteds: * Create SQLList on demand
git-svn-id: trunk@15134 -
2010-04-11 01:09:09 +00:00
blikblum
4842a5fd1c sqliteds: + Add ExecSQL overload that takes as parameter a TStrings
git-svn-id: trunk@15133 -
2010-04-11 01:06:15 +00:00
blikblum
b1ddd060ff sqliteds: + Add property to control if fielddefs will be stored. Default to False
git-svn-id: trunk@15132 -
2010-04-11 01:02:22 +00:00
Tomas Hajny
a87a867271 * fix for exception handling - avoid endless loop in case of fatal exceptions, safer checking for prefetch bug
git-svn-id: trunk@15131 -
2010-04-11 00:37:01 +00:00
Tomas Hajny
393db3d359 * fix previously broken TProgram based FV programs (assuming that unit Video initializes screen parameters at startup)
git-svn-id: trunk@15130 -
2010-04-11 00:29:09 +00:00
Tomas Hajny
e0c8c39d74 * safer handling of video buffer changes, free original screen buffer at termination and initialized screen parameters at start to allow proper working of TProgram based FV programs
git-svn-id: trunk@15129 -
2010-04-11 00:26:03 +00:00
Tomas Hajny
d05b8dbbda * fix long term problem resulting in crashes of FV apps under OS/2
git-svn-id: trunk@15128 -
2010-04-11 00:18:24 +00:00
paul
17687d90ce rtl: minor changes for TStreamAdapter:
- return STG_E_INVALIDPOINTER instead of E_INVLIDARG for Read,Write as msdn requires
  - return STG_E_INVALIDFUNCTION instead of E_INVLIDARG for Seek as msdn requires

git-svn-id: trunk@15127 -
2010-04-10 17:50:29 +00:00
marco
7d3f8bdc0a * patch from Dimitri B. that fixes 64-bit aspects of imagehlp.pp, caused by enabling previously dead code. Mantis 16240
git-svn-id: trunk@15125 -
2010-04-10 12:46:11 +00:00
Tomas Hajny
86f1e52505 * compilation fix - CloseThrad typo from r15072
git-svn-id: trunk@15124 -
2010-04-10 08:43:39 +00:00
paul
36125b623a tests: fix test for locales with DecimalSeparator <> '.'
git-svn-id: trunk@15123 -
2010-04-09 17:12:20 +00:00
paul
c62c487b24 compiler: fix nested type typecast (issue #0016222)
git-svn-id: trunk@15122 -
2010-04-09 17:10:52 +00:00
paul
e721a623eb compiler: report full nested type name on error
git-svn-id: trunk@15121 -
2010-04-09 15:47:49 +00:00
marco
fe00762d4b * IPersist method now OUT
git-svn-id: trunk@15120 -
2010-04-09 14:20:57 +00:00
marco
7c7911d937 * fix for mantis 16218, packrecords 8 in imagehlp (#pragma pack(8) in msvc)
and removal of the "packed" modifiers of record declarations

git-svn-id: trunk@15119 -
2010-04-08 17:56:35 +00:00
marco
f684edd010 * turn on imagehlp64 for win64
git-svn-id: trunk@15118 -
2010-04-08 12:01:13 +00:00
marco
0ba6c22b28 * fix for Mantis 16195, Delphi compatibility resource handle types were not 64-bit proof.
git-svn-id: trunk@15117 -
2010-04-08 09:03:50 +00:00
michael
bc735a639f * Call specialchars in TStringList constructor
git-svn-id: trunk@15116 -
2010-04-08 06:51:26 +00:00
Jonas Maebe
3035632ec1 * x86_64 -> x86\_64 in LaTeX description (mantis #16221)
git-svn-id: trunk@15115 -
2010-04-07 09:04:56 +00:00
Jonas Maebe
a18f2594e2 * fixed FloatToStr for ffGeneral when dealing with numbers whose number of
significant digits before the decimal points matches the precision
    parameter exactly (mantis #16188)
  * round instead of cut off digits in FloatToStr with ffGeneral
  * take into account the minus sign when determining whether a number needs
    to be represented using ffExponent instead of ffGeneral because it has
    too many digits

git-svn-id: trunk@15114 -
2010-04-05 14:54:24 +00:00
Jonas Maebe
9bfb20c7eb * fixed execinfo message numbers (patch by A. Klein, mantis #16189)
git-svn-id: trunk@15113 -
2010-04-05 12:22:43 +00:00
olivier
45465592c2 - Remove unnecessary char to fix compilation under BeOS.
git-svn-id: trunk@15112 -
2010-04-04 23:23:31 +00:00
micha
87ef559542 * rtl: fix i386-linux uclibc atexit functionality (call exit instead of _exit)
git-svn-id: trunk@15110 -
2010-04-03 13:18:10 +00:00
paul
24d8a7d833 compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented
git-svn-id: trunk@15109 -
2010-04-03 09:14:12 +00:00
joost
e20f907b5c * FCL-Web FastCGI can now listen on a specified port for a webserver to connect
git-svn-id: trunk@15108 -
2010-04-02 15:48:25 +00:00
joost
41ff50c65a * Do not show exception twice
git-svn-id: trunk@15107 -
2010-04-02 14:44:15 +00:00
Jonas Maebe
347fb53dae - removed BOM (mantis #16179)
git-svn-id: trunk@15106 -
2010-04-01 17:32:15 +00:00
paul
8a0028a62e compiler: support *sealed* and *abstract* for objects (issue #0016174)
git-svn-id: trunk@15105 -
2010-04-01 14:36:33 +00:00
marco
02069109d1 * haiku also sinlen, Mantis 16176
git-svn-id: trunk@15104 -
2010-04-01 11:38:55 +00:00
joost
95620e8774 * Do not write the DWARF abbrev sections direclty, but use a searchtree to
search for an existing section with the same content first. This reduces the
   generated executable size, compilation time and memory usage of the compiler

git-svn-id: trunk@15103 -
2010-04-01 09:13:27 +00:00
olivier
a2d41bbdb9 * Fixes all constant declarations according to sys/socket.h and netinet/in.h.
git-svn-id: trunk@15102 -
2010-03-31 23:25:10 +00:00
Jonas Maebe
4833867826 * moved most handling of records that fit in a register but that cannot be
treated as a regvar from pass_1 to the code generator, because this
    can always occur with a function result from a called function (in
    case the ABI prescribes returning certain records in registers)
    (mantis #16163)

git-svn-id: trunk@15101 -
2010-03-31 20:19:42 +00:00
Jonas Maebe
3cff8df175 * added -Cg- parameter for targets on which -Cg is default
git-svn-id: trunk@15100 -
2010-03-31 20:00:56 +00:00
Jonas Maebe
b4b72b8387 * fixed compile-time range error under Windows (mantis #16171)
git-svn-id: trunk@15099 -
2010-03-31 17:21:15 +00:00
olivier
16de86ef7c - Remove unnecessary call to SysInitStdIO probably added here by me for debugging purpose long time ago. The right one is a few line below.
git-svn-id: trunk@15098 -
2010-03-30 20:06:52 +00:00
Jonas Maebe
60f8b7fcb1 + int64 version of randomrange() (mantis #16108)
git-svn-id: trunk@15097 -
2010-03-30 20:04:19 +00:00