Commit Graph

31966 Commits

Author SHA1 Message Date
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 () + 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 )
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 )
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 )
  * 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 )
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 )
git-svn-id: trunk@15106 -
2010-04-01 17:32:15 +00:00
paul
8a0028a62e compiler: support *sealed* and *abstract* for objects (issue )
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 )

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 )
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 )
git-svn-id: trunk@15097 -
2010-03-30 20:04:19 +00:00
Jonas Maebe
734f9de2a0 + support for array of widechar typed constants (based on patch by
Blaise Thorn, mantis )

git-svn-id: trunk@15096 -
2010-03-30 19:45:50 +00:00
marco
67b7762c34 * Patch from Oliver that corrects some % directives in the testsuite. Mantis 16134
git-svn-id: trunk@15095 -
2010-03-30 09:58:25 +00:00
paul
c879230f08 compiler: fix parsing and handling of typed constants declared inside classes/objects + tests
git-svn-id: trunk@15094 -
2010-03-30 07:09:44 +00:00
paul
1ef53ca590 compiler: remove unused variables (reduce hints)
git-svn-id: trunk@15093 -
2010-03-30 04:30:41 +00:00
paul
973d947d6c compiler: allow const, type, var and class var sections for objects + test
git-svn-id: trunk@15092 -
2010-03-30 04:22:19 +00:00
paul
2a7636580e tests: fix test name
git-svn-id: trunk@15091 -
2010-03-30 02:55:07 +00:00
paul
06a37d1fb1 compiler: remove dummy assignment
git-svn-id: trunk@15090 -
2010-03-30 01:12:14 +00:00
marco
6a7bc76ca0 * later SM_ constants for getmetrics mantis 16138
git-svn-id: trunk@15089 -
2010-03-29 11:25:26 +00:00
paul
ff1520ab8b compiler: add enumsymtable case to FindUnitSymtable helper
git-svn-id: trunk@15088 -
2010-03-28 21:54:33 +00:00