Commit Graph

34987 Commits

Author SHA1 Message Date
Tomas Hajny
e9f6afe5e0 * fix for ExecuteProcess - starting of different executable types works properly now; dependency on unit Dos removed; redefinitions of imports from DosCalls removed also - unit DosCalls used directly now
git-svn-id: trunk@19319 -
2011-10-01 23:10:22 +00:00
michael
908f9865d4 * Fixed ExcludeLeadingPathDelimiter
git-svn-id: trunk@19316 -
2011-10-01 21:47:58 +00:00
michael
c0995c2ffd * Moved string constant to sysconst
git-svn-id: trunk@19315 -
2011-10-01 14:42:54 +00:00
sergei
394c9022b8 * Fixed test for 64-bit targets
git-svn-id: trunk@19314 -
2011-10-01 08:32:05 +00:00
marco
64c8cebac2 * removed tests, moving them to integrated testsuite.
git-svn-id: trunk@19306 -
2011-09-30 16:01:48 +00:00
marco
e36183cbc8 * removing a temporary workaround in the db testsuite and a minor cleanup
git-svn-id: trunk@19305 -
2011-09-30 15:59:42 +00:00
marco
c1814c4328 * ftfmtbcd fields for Oracle. Mantis #19341
git-svn-id: trunk@19304 -
2011-09-30 15:46:55 +00:00
marco
aa9df955ee * Improve support for returnvalues of calling statements.
git-svn-id: trunk@19303 -
2011-09-30 15:41:38 +00:00
paul
ff3791d1f3 compiler: emit constants of encoding 0 in CP_NONE/DefaultSystemCodePage encoding (depends on modes witch)
git-svn-id: trunk@19302 -
2011-09-30 14:14:58 +00:00
paul
d7ca7a0cba compiler: emit resource strings in ansistring encoding
git-svn-id: trunk@19301 -
2011-09-30 14:14:03 +00:00
marco
1670560575 * fix for returned value is bigger than previous returned value in
oracle. Fix from Mantis #19341 for earlier issue  related to Mantis #18133

git-svn-id: trunk@19298 -
2011-09-30 12:04:13 +00:00
paul
31afa4bd14 rtl: remove fpc_ansistr_append_xxx routines which are no longer used by the compiler
git-svn-id: trunk@19294 -
2011-09-30 09:08:21 +00:00
paul
7a74d2c2f8 compiler: reduce amount of hints and notes
git-svn-id: trunk@19293 -
2011-09-30 08:56:05 +00:00
paul
451e48a033 rtl: replace PChar -> PAnsiChar, Char -> AnsiChar in astrings.inc routines
git-svn-id: trunk@19291 -
2011-09-30 08:15:17 +00:00
paul
bcb0317209 rtl: eat $ffff encoding in more routines, fix Insert() procedure to preserve destination string codepage
git-svn-id: trunk@19289 -
2011-09-30 06:10:24 +00:00
paul
36851c86de rtl: replace AnsiString to RawByteString arguments for Val() functions
git-svn-id: trunk@19288 -
2011-09-30 03:31:37 +00:00
paul
485695d4e6 compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage
git-svn-id: trunk@19287 -
2011-09-30 03:26:34 +00:00
paul
647218fd13 rtl: patch from Inoussa to complete TCharacter class implementation (mantis #0020302):
* ToLower is functional for all characters including those outside of the BMP
  * ToUpper is functional for all characters including those outside of the BMP
  * Other methods using "const AString : UnicodeString; AIndex : Integer" are 
    functional for all characters including those outside of the BMP

git-svn-id: trunk@19286 -
2011-09-30 00:15:37 +00:00
florian
9d31a0e2f8 * don't evaluate sizeof(<type param>) as a constant to avoid arithmetic errors in constant folding, resolves #20192
git-svn-id: trunk@19285 -
2011-09-29 21:17:44 +00:00
paul
6f185f2184 compiler: replace {$ifdef FPC_FULLVERSION<20700} with {$ifdef VER2_4} for including ccharset as in other compiler places
git-svn-id: trunk@19284 -
2011-09-29 14:15:09 +00:00
paul
a769ef0ad2 compiler: don't return te_eual when we convert from RawByteString to another codepage
git-svn-id: trunk@19283 -
2011-09-29 12:03:11 +00:00
michael
d766e671a9 * Remove using reverse search, speed up free
git-svn-id: trunk@19280 -
2011-09-29 07:59:10 +00:00
michael
4a8914cbb0 * Implemented IndexOfItem, reversed search again in IndexOf
git-svn-id: trunk@19279 -
2011-09-29 07:50:24 +00:00
pierre
05c83ab538 * Also default to PIC code using -Cg option for x86_64 BSD targets
git-svn-id: trunk@19277 -
2011-09-28 23:12:52 +00:00
pierre
33604a6a49 * Shared library dllrpt0.as init code for i386 and x86_64 CPUs
git-svn-id: trunk@19276 -
2011-09-28 23:07:39 +00:00
sergei
d5b8210359 * typo ($ifdef window -> $ifdef windows)
git-svn-id: trunk@19275 -
2011-09-28 22:10:22 +00:00
florian
b93f4b8096 * whitespace fixes
* implicitly add PC as base register for symbols

git-svn-id: trunk@19274 -
2011-09-28 20:36:44 +00:00
joost
0bc58de578 * Forgot to commit file in r19272.
git-svn-id: trunk@19273 -
2011-09-28 19:52:37 +00:00
joost
7a3503870c * Pass binutilsprefix to compiler when building fpmake. For now only enabled for fcl-web.
git-svn-id: trunk@19272 -
2011-09-28 19:51:50 +00:00
marco
27f39e4bad * "out" parameters for Oracle, Mantis #18133
git-svn-id: trunk@19271 -
2011-09-28 19:26:00 +00:00
florian
ce61891ca3 * offset used by A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD must be dividable by 4
git-svn-id: trunk@19270 -
2011-09-28 19:01:09 +00:00
florian
a6d01c09aa * make compiler compilable with 2.4.4 rtl
git-svn-id: trunk@19269 -
2011-09-28 18:54:32 +00:00
michael
39d8ee1136 * Reverse IndexOf. Increases speed of freeing collection with a factor N^2
git-svn-id: trunk@19268 -
2011-09-28 17:44:32 +00:00
marco
448e3db450 * fixes Mantis #14730 dealing with oldvalue=null
git-svn-id: trunk@19267 -
2011-09-28 16:27:32 +00:00
florian
08c97e81bf * remove spaces at eol
git-svn-id: trunk@19266 -
2011-09-28 15:42:04 +00:00
pierre
f799019982 Missing freebsd x86_64 objects added
git-svn-id: trunk@19265 -
2011-09-28 15:13:54 +00:00
Mattias Gaertner
eb15e42e80 instantfpc: compiler output: replace cache file name with source file name
git-svn-id: trunk@19264 -
2011-09-28 14:32:34 +00:00
marco
0db7b03ec0 * Added some missing fieldtypes to bufdataset, Mantis #19930 (_safe patch)
git-svn-id: trunk@19262 -
2011-09-28 07:50:29 +00:00
paul
4cf5e36ce7 compiler:
- add TTagHashSet class descendant of THashSet with an ability to has also a LongWord value together with key
  - change TAsmData.ConstPools[] to be an indexed property to properly initialize ConstPool class, remove pool initialization from all other units
  - add ansistring constants to pool together with their encoding to distinct the same text constants with different codepage
  + test

git-svn-id: trunk@19261 -
2011-09-28 01:18:43 +00:00
Legolas
8ce243eafd * Fixed libndsfpc building
- Removed some deprecated examples about libnds filesystem

git-svn-id: trunk@19260 -
2011-09-27 21:05:55 +00:00
pierre
f3626b4b80 * Sort test source files, needed of freebsd at least
git-svn-id: trunk@19259 -
2011-09-27 20:59:25 +00:00
sergei
6ee77d9088 + ogelf.pas: support relocation of type R_X86_64_32 which is apparently used by DWARF3 debug info.
git-svn-id: trunk@19258 -
2011-09-27 20:38:10 +00:00
marco
962db07cf6 * Patch from Ludo Brands for Mantis #18240. Fixes some float issues which have
scale=0 and precision=0

git-svn-id: trunk@19257 -
2011-09-27 20:31:55 +00:00
florian
d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
Legolas
02b0ef5379 * libnds updated to ver.1.5.4
git-svn-id: trunk@19255 -
2011-09-27 18:54:32 +00:00
joost
ce01b15c49 * Generate proper Dwarf-debuginfo for DW_AT_vtable_elem_location, containing
a Dwarf-block that evaluates the location of a method within the vmt. 
   The vmtindex as it was used is is only used by older GCC versions and does
   not work with a Pascal VMT.

git-svn-id: trunk@19253 -
2011-09-27 15:48:52 +00:00
marco
79f54fb31a * fix for mantis #18149, memoryleaks as result from change of stmtprepare to ..stmtprepare2
git-svn-id: trunk@19251 -
2011-09-27 10:49:35 +00:00
Mattias Gaertner
604f9ba4b8 istantfpc: help about -B
git-svn-id: trunk@19249 -
2011-09-26 19:38:19 +00:00
blikblum
e10071da70 * fix retrieving AutoInc value when index of autoinc field differs in Fields and in fielddefs
git-svn-id: trunk@19247 -
2011-09-26 18:32:07 +00:00
sergei
4c21beb48e win64 unwinding, misc fixes:
* Insert seh_endprologue directive after the last prologue instruction, not before it
* Omit seh_stackalloc for zero bytes
* (For now) ignore SEH directives in NASM and MASM writers, instead of failing with internal error.

git-svn-id: trunk@19246 -
2011-09-26 13:55:21 +00:00