Commit Graph

27463 Commits

Author SHA1 Message Date
Jonas Maebe
0bf43d223b * fixed uses of custom-length string types in function/property
result types

git-svn-id: trunk@9486 -
2007-12-17 13:36:30 +00:00
Jonas Maebe
07ad4bdaac * fixed differing result types between interface/implementation
of CCreateGUID detected by r9484

git-svn-id: trunk@9485 -
2007-12-17 12:23:46 +00:00
Jonas Maebe
719c29cf86 + new cpo_openequalisexact parameter comparison option which
treats equal open arrays, open strings and arrays of const
    (implicitly also open) as exactly matching (since you
     cannot declare such types on their own, so they will
     never match exactly)
  * require that forward declared procedures match the
    implementation exactly for both the parameters (with
    the above modification) and result type (mantis
    #10425 and the related webtbf/tw10425a.pp)

git-svn-id: trunk@9484 -
2007-12-16 22:22:11 +00:00
florian
e7caecb584 + useunicodefunctions flag added
git-svn-id: trunk@9483 -
2007-12-16 17:48:20 +00:00
florian
3036e1052f + gprof startup code
git-svn-id: trunk@9482 -
2007-12-16 17:36:46 +00:00
florian
86e3e79e67 + WC_NO_BEST_FIT_CHARS
* use WC_NO_BEST_FIT_CHARS when calling WideCharToMultiByte
* made tiwde6 more verbose

git-svn-id: trunk@9481 -
2007-12-16 13:45:09 +00:00
yury
3a60391838 * Fixed install for wince.
git-svn-id: trunk@9479 -
2007-12-16 12:28:11 +00:00
yury
6a7ad3568a * Fixed compilation for wince.
git-svn-id: trunk@9478 -
2007-12-16 12:14:23 +00:00
Jonas Maebe
10d32696df * fixed string legths for ansistrl(i)comp
git-svn-id: trunk@9475 -
2007-12-16 12:03:47 +00:00
Jonas Maebe
ada2c3ca35 * increased ppu version since the darwin name mangling change
breaks compatibility with previously compiled units

git-svn-id: trunk@9474 -
2007-12-16 11:46:57 +00:00
Jonas Maebe
2ffc310ebb * fixed AnsiStrLComp and AnsiStrLIComp: they also have to ignore
embedded #0's apparently + adapted test

git-svn-id: trunk@9471 -
2007-12-16 10:41:18 +00:00
Jonas Maebe
72f6ec3c8f * fixed typo in diagnostic output
git-svn-id: trunk@9470 -
2007-12-16 10:10:41 +00:00
michael
4987542446 * Re-implemented Grow
git-svn-id: trunk@9467 -
2007-12-15 22:52:46 +00:00
Jonas Maebe
2adb00ac45 * enabled operand size checking (don't know why it was disabled,
but enabling it lets the compiler catch the error in tbf/tb0037
    and causes no regressions)

git-svn-id: trunk@9465 -
2007-12-15 22:30:23 +00:00
Jonas Maebe
146b3d8bf3 * fixed location.size for length node and x86_64 mul node
git-svn-id: trunk@9464 -
2007-12-15 19:27:24 +00:00
Jonas Maebe
69c97f3ac6 + call SysResetFPU and SysInitFPU like for other platforms
git-svn-id: trunk@9458 -
2007-12-15 15:15:28 +00:00
Jonas Maebe
b546eeff6c * sse operands have to aligned to 16 instead of 8 byte boundaries
* fixed alignment directive in the code

git-svn-id: trunk@9457 -
2007-12-15 15:14:20 +00:00
florian
4c699d4a0a * fixed undo for delstart/delend
git-svn-id: trunk@9449 -
2007-12-15 11:24:11 +00:00
florian
aa29f9245c * properly delete last line, resolves #10283
git-svn-id: trunk@9448 -
2007-12-14 21:44:21 +00:00
Jonas Maebe
124c6c0c13 * always let mangled names start with an underscore on Mac OS X, because
otherwise the linker does not generate the necessary debug map
    information for global variables when using dwarf

git-svn-id: trunk@9447 -
2007-12-14 18:00:35 +00:00
andrew
fba415c79d changed Int64 to QWord for chmreader to be consistent.
git-svn-id: trunk@9446 -
2007-12-14 17:24:18 +00:00
Jonas Maebe
0c773015ef * moved to the correct location
git-svn-id: trunk@9445 -
2007-12-13 21:48:06 +00:00
Jonas Maebe
8536e35e44 * fixed indentation of LowerAnsiString/UpperAnsiString
git-svn-id: trunk@9444 -
2007-12-13 21:01:17 +00:00
Jonas Maebe
407fdb89a7 + also test AnsiStrUpper/AnsiStrLower
git-svn-id: trunk@9443 -
2007-12-13 20:55:15 +00:00
michael
c9faa03197 * Patch from Andrew Haines removing some debug statements
git-svn-id: trunk@9442 -
2007-12-13 20:54:31 +00:00
Jonas Maebe
19985965e6 * fixed AnsiStrLower/AnsiStrUpper (were exchanged)
git-svn-id: trunk@9441 -
2007-12-13 20:49:52 +00:00
Jonas Maebe
60ccf03a0b * completed cwstring unit
* optimized LowerWideString/UpperWideString not to call UniqueString
    for each string character
  * fixed LowerAnsiString/UpperAnsiString in case an ascii character
    has a lower/uppercase version with a different length than 1
  + generic test for ansistring comparisons using on the widestring
    manager (based on glibc test)
  - removed ansi2ucs4-related stuff as it's not used/needed

git-svn-id: trunk@9440 -
2007-12-13 20:41:31 +00:00
michael
32921dcafb * Patch from Giulio Bernardi to fix regression and use inline only when allowed
git-svn-id: trunk@9439 -
2007-12-13 13:41:43 +00:00
michael
429fd4f685 * Patch from Giulio Bernardi to use NtoLE instead of swapendian
git-svn-id: trunk@9438 -
2007-12-13 09:59:19 +00:00
florian
2650ca51e6 * moved
git-svn-id: trunk@9437 -
2007-12-12 22:35:00 +00:00
florian
8f17101039 * allow application of as operator only to interfaces having a guid, resolves #6797
git-svn-id: trunk@9436 -
2007-12-12 21:07:47 +00:00
michael
2ea9ec7545 * More win64 corrections
git-svn-id: trunk@9435 -
2007-12-12 20:41:59 +00:00
michael
c4c6f3f655 * Setting TSQLQuery.Transaction sets TSQLQuery.Database and vice versa. Same for TSQLTransaction.Database and Database.Transaction
git-svn-id: trunk@9433 -
2007-12-12 19:46:09 +00:00
michael
569f7efae9 Do not create fpddfb for win64
git-svn-id: trunk@9432 -
2007-12-12 19:34:52 +00:00
michael
9e0701e923 * Patch from Giulio Bernardi to fix endianness
git-svn-id: trunk@9431 -
2007-12-12 08:43:34 +00:00
Almindor
a6d8590dc1 * use WINSOCK_VERSION in sockets init in windows
git-svn-id: trunk@9430 -
2007-12-11 20:34:46 +00:00
Jonas Maebe
0a53dddc99 * fixed vmt format type definition
git-svn-id: trunk@9429 -
2007-12-11 19:40:00 +00:00
peter
b5e417bd19 * increase the temp requirements for saving MM registers with the full
size of an OS_VECTOR so that we can do the alignment based on the offset
    after the allocation is done. Using the size is not possible because the
    temp alignment can be smaller than the OS_VECTOR requirement

git-svn-id: trunk@9428 -
2007-12-11 19:39:05 +00:00
Jonas Maebe
ead754c2c3 * write name of "self" as "this", so you can use plain field names inside
methods in gdb without having to write "self.fieldname" (self is also
    still recognised by gdb, that's built in)

git-svn-id: trunk@9427 -
2007-12-11 18:55:48 +00:00
Jonas Maebe
47d221ee7f * dsymutil under darwin "smart links" dwarf info -> make sure we
use the DW_TAG_typedef entries, because without them a type is
    only locally visible in the file where it is declared (see
    comments)

git-svn-id: trunk@9426 -
2007-12-11 13:10:39 +00:00
Jonas Maebe
f50d9cb9cb * finish the lineinfo table with a DW_LNE_set_address of the last
instruction of the function, like in the example in the dwarf2
    specifications appendix 3 and as done by gcc (expected by Apple's
    dsymutil)

git-svn-id: trunk@9425 -
2007-12-10 22:09:12 +00:00
Legolas
27eb735d24 * Resized stack value for NDS
* Changes to prt0:
  + Added argv support 
  * New function calls

git-svn-id: trunk@9424 -
2007-12-10 17:06:14 +00:00
Jonas Maebe
974c240266 * also use sse2 instructions to convert int to real on i386
for (types convertable to) longint
  * fixed expectloc for x86_64 int_to_real if result is in mmreg

git-svn-id: trunk@9423 -
2007-12-09 18:10:23 +00:00
Jonas Maebe
444ba107f8 * fixed location.size for divmodn (in particular the sign)
git-svn-id: trunk@9422 -
2007-12-09 18:06:44 +00:00
marco
679fd10b3f * export + datadict also for fpc
git-svn-id: trunk@9421 -
2007-12-09 10:51:03 +00:00
Jonas Maebe
91e0e5db17 * avoid some superfluous memory accesses when converting a double
precision/comp value in an fpu register to an sse value

git-svn-id: trunk@9420 -
2007-12-08 22:59:24 +00:00
Jonas Maebe
b20652821d + call fpc_cpucodeinit, so sse_support gets initialised for *bsd/darwin
+ support for catching sigill on FreeBSD in case not running on
    an SSE2-capable cpu (untested) -- Darwin only runs on SSE2-capable 
    cpus

git-svn-id: trunk@9419 -
2007-12-08 22:56:58 +00:00
Jonas Maebe
814e983c98 * optimize intvar*(-1) to -intvar
git-svn-id: trunk@9418 -
2007-12-08 16:41:28 +00:00
Jonas Maebe
92b99c4389 + test for previous commit
git-svn-id: trunk@9417 -
2007-12-08 16:00:28 +00:00
Jonas Maebe
7ec9dc5bc9 * fixed unix CompareWideString to not treat null characters inside
a widestring as end-of-string + test (which fails on Darwin/FreeBSD
    in utf-8/utf-16 locales, because their libc's wcscoll is documented
    as only working in single-byte locales and falling back to wcscmp
    for others)

git-svn-id: trunk@9416 -
2007-12-08 16:00:09 +00:00