Commit Graph

32182 Commits

Author SHA1 Message Date
Jonas Maebe
af15fa4ec4 * fixed test for 64 bit platforms
git-svn-id: trunk@15402 -
2010-06-10 12:00:03 +00:00
michael
20823eb4e4 * Fix so only interface is parsed
git-svn-id: trunk@15400 -
2010-06-10 06:52:07 +00:00
michael
e1ea6de387 * option to parse only interface
git-svn-id: trunk@15399 -
2010-06-10 06:48:20 +00:00
Jonas Maebe
7c372ede44 * fixed initialising 32 resp. 64 bit regvars with -g-t if the compiler is
an i386 resp. x86-64 binary (mantis #16668)

git-svn-id: trunk@15398 -
2010-06-09 15:58:39 +00:00
marco
909ffa4ee3 * more range check fixes (more serious this time) from mantis 16669
* one more writeln under chm_debug to avoid problems with gui-only apps.

git-svn-id: trunk@15397 -
2010-06-08 08:57:16 +00:00
marco
0a164b4467 * fix for 16644, locally disable rangecheck and put a debug writeln under chm_debug
git-svn-id: trunk@15396 -
2010-06-06 14:44:19 +00:00
marco
b1ce7d6e07 * fix for memleak (Mantis 16649). Fixed a similar case for sender=nil.
git-svn-id: trunk@15395 -
2010-06-06 12:38:19 +00:00
joost
bf24adf137 * Remove the FileName property from the datasets after the test
git-svn-id: trunk@15394 -
2010-06-05 21:13:36 +00:00
joost
cc700b54b8 * Implemented TBufDataset.UniDirectional property
* Run all tests of TestDBBasics also using UniDirectional TBufDatasets. (Introduces a lot of false failures)

git-svn-id: trunk@15393 -
2010-06-05 20:05:18 +00:00
joost
48567240d0 * Fixed mem-leaks in tests
git-svn-id: trunk@15392 -
2010-06-05 19:04:58 +00:00
Jonas Maebe
b4687b5a13 * handle aitconst_darwin_dwarf_delta32 and aitconst_darwin_dwarf_delta64 in
tai_const.size (fixes internalerror when using the internal Mach-O
    assembler with DWARF debug info, patch by Dmitry Boyarintsev, mantis
    #16640)

git-svn-id: trunk@15391 -
2010-06-05 17:12:00 +00:00
Jonas Maebe
a4c4bc1ee5 * fixed paraloc^.size for 3-byte parameter parts
* fixed record parameter passing (all records <= 4 bytes passed
    by value, records > 4 bytes by reference)
  * fixed procedure of object parameter passing (handle like tmethod
    record) (mantis #16520)
  * fixed aligning parameters for EABI (it does not depend on the
    parameter size, but rather on its alignment, and also align in
    case a parameter that we wanted to pass via registers has to be
    passed via the stack because we ran out of registers)

git-svn-id: trunk@15390 -
2010-06-05 17:08:28 +00:00
joost
7181287ed2 * Added TDBConnector.TestUniDirectional property
git-svn-id: trunk@15389 -
2010-06-05 16:39:53 +00:00
joost
f74bd99413 * Make the dbconnector ref-counted
git-svn-id: trunk@15388 -
2010-06-05 16:24:53 +00:00
marco
600214f2a6 * fix for mantis 16643, chmproject.savetofile filename doesn't propagate properly
git-svn-id: trunk@15387 -
2010-06-05 13:33:33 +00:00
Jonas Maebe
b19f29597c * recompiled versions from the latest source
git-svn-id: trunk@15386 -
2010-06-04 22:50:06 +00:00
Jonas Maebe
3c8b23cda4 * fixed cg.a_loadmm_reg_ref() and cg.a_loadfpu_reg_ref() in case they are
used to store a record function result in an MM/FPUREGISTER to memory
    (the register size will be OS_F32/OS_F64, while the memory size will
     be OS_32/OS_64 -> convert the latter to the former)
  * extended tcalext6 to also test this scenario

git-svn-id: trunk@15385 -
2010-06-04 22:31:35 +00:00
Jonas Maebe
dd759ba906 * avoid some more "movq %xmm0, %xmm0" instructions by setting the subreg
of function results to R_SUBMMWHOLE (default was R_SUBMMNONE, which didn't
    match registers allocated later)

git-svn-id: trunk@15384 -
2010-06-04 22:28:50 +00:00
Jonas Maebe
3da24294da * hopefully final fixes to this test...
git-svn-id: trunk@15383 -
2010-06-04 22:27:15 +00:00
Jonas Maebe
7ba46589e7 * recompiled from new version of tcext6.c
git-svn-id: trunk@15382 -
2010-06-04 17:58:09 +00:00
michael
dabb15e14d * Debugging by default disabled
git-svn-id: trunk@15381 -
2010-06-04 15:49:20 +00:00
michael
311d634f04 * Added debug directive for easier debugging
git-svn-id: trunk@15380 -
2010-06-04 15:48:54 +00:00
michael
66c91d8ed5 * Fixed 2 bugs and added debug directive
git-svn-id: trunk@15379 -
2010-06-04 15:48:26 +00:00
michael
cd237186be * Implemented TPAramDef.Assign, or streaming does not work correctly
git-svn-id: trunk@15378 -
2010-06-04 15:47:29 +00:00
Jonas Maebe
6b5db62a5a * adjusted tcalext6 and tcext6.c so libgcc is no longer required on most
non-x86 architectures

git-svn-id: trunk@15377 -
2010-06-04 15:30:18 +00:00
Jonas Maebe
ad99d968f7 * enabled for all cpu architectures
git-svn-id: trunk@15376 -
2010-06-04 15:27:24 +00:00
michael
e94344784d * Ext.Direct demo
git-svn-id: trunk@15375 -
2010-06-04 15:24:27 +00:00
Jonas Maebe
a7eb6bf64b * fixed checking validity of temporary parameter location that triggered
internalerror(200501281) on some platforms after r15365

git-svn-id: trunk@15374 -
2010-06-04 15:20:30 +00:00
joost
c10e229a4b * Moved TDBBasicsTestSetup to toolsunit
git-svn-id: trunk@15373 -
2010-06-04 10:44:08 +00:00
Jonas Maebe
62b1698912 + added
git-svn-id: trunk@15372 -
2010-06-03 21:49:47 +00:00
Jonas Maebe
42eefb0e0c + added
git-svn-id: trunk@15371 -
2010-06-03 21:44:14 +00:00
Jonas Maebe
f5a50ac3eb * regenerated using up-to-date fpcmake
git-svn-id: trunk@15370 -
2010-06-03 21:22:53 +00:00
Jonas Maebe
429a9cdba0 + added
git-svn-id: trunk@15369 -
2010-06-03 21:20:14 +00:00
Jonas Maebe
15e9c54b44 * fixed ABI compliance for parameter passing and function returning on all
x86-64 platforms (except for win64, which uses another ABI and which
    already complied to it) + test
  * fixed returning records containing 1 single or double field on darwin/i386,
    these have to be returned via ST0 instead of as a regular record
  * added support for LOC_FPUREGISTER and LOC_MMREGISTER in several places
    where they can now occur due to the previous two changes
  * made a few internalerrors unique

git-svn-id: trunk@15368 -
2010-06-03 20:08:50 +00:00
Jonas Maebe
48d7c69aab * set maxCrecordalign to 16 for all x86_64 platforms that follow the
official ABI (records containing a C long double require 16 byte
    alignment)

git-svn-id: trunk@15367 -
2010-06-03 20:02:06 +00:00
Jonas Maebe
9e785ea553 + several internalerrors in case things go wrong
+ support for OS_M64 in several places

git-svn-id: trunk@15366 -
2010-06-03 19:09:27 +00:00
Jonas Maebe
27f6376fd4 * when determining whether a temporary paraloc can be in a LOC_REGISTER,
look at paraloc^.size rather than cgpara.size, because e.g. a 32 bit
    record (-> cgpara.size=OS_32) may have to be passed via a
    LOC_MMREGISTER (-> paraloc^.size=OS_F32 or OS_M32)

git-svn-id: trunk@15365 -
2010-06-03 18:43:42 +00:00
Jonas Maebe
82b65a1f93 * made internalerror unique
git-svn-id: trunk@15364 -
2010-06-03 18:38:43 +00:00
florian
84590d67b0 * don't try to create cse on void resultdefs, resolves #16488
git-svn-id: trunk@15363 -
2010-06-03 16:10:02 +00:00
michael
951c475e62 * Added some test instructions
git-svn-id: trunk@15362 -
2010-06-03 15:23:47 +00:00
michael
3d414fe91b * json-rpc examples, and compile it as well
git-svn-id: trunk@15361 -
2010-06-03 15:18:09 +00:00
michael
9797140bad * Added JSON-RPC functionality
git-svn-id: trunk@15360 -
2010-06-03 15:09:29 +00:00
Jonas Maebe
2a752f2c49 - removed, because C "long double" compatibility has been fixed (via
the "cextended" type) and testing this functionality has been
    enabled in tcalext a while back already

git-svn-id: trunk@15359 -
2010-06-02 21:23:19 +00:00
Jonas Maebe
c8d75245a9 + extra sanity checks in TCGPara.ppuwrite()
git-svn-id: trunk@15358 -
2010-05-31 20:48:35 +00:00
Jonas Maebe
d167f338a7 + test for mantis #16357 fixed in r15350
git-svn-id: trunk@15357 -
2010-05-31 18:11:46 +00:00
Jonas Maebe
cf36646238 * forgot to commit (part of r15350)
git-svn-id: trunk@15356 -
2010-05-31 17:38:54 +00:00
Jonas Maebe
6fa584fc12 * fixed endless loop in TCGPara.ppuwrite
git-svn-id: trunk@15355 -
2010-05-31 16:15:12 +00:00
Jonas Maebe
72bec41317 * increased ppu version after r15350, because the explicit paralocations
are now stored in a different way

git-svn-id: trunk@15354 -
2010-05-31 16:13:34 +00:00
michael
561972e0fc * Added TDataModuleClass class pointer
git-svn-id: trunk@15353 -
2010-05-31 09:53:18 +00:00
michael
2cd9eb927b * reverted ProcessedPathInfo to ReturnedPathInfo
git-svn-id: trunk@15352 -
2010-05-31 07:08:06 +00:00