Commit Graph

32208 Commits

Author SHA1 Message Date
ivost
46a44702dc * added test for new IS operator
git-svn-id: trunk@15435 -
2010-06-13 22:05:02 +00:00
ivost
17260e1119 * reimplemented IS operator, it supports now
object is interface
	object is corbaintf
	interface is interface
	interface is class
	object is class

git-svn-id: trunk@15434 -
2010-06-13 22:04:35 +00:00
joost
fede03c225 * Fixed for query-results with double fieldnames
git-svn-id: trunk@15433 -
2010-06-13 19:47:25 +00:00
Jonas Maebe
935cd9eb8c - reverted r15430, it was wrong (variadic parameters don't require an extra
colon in the selector)

git-svn-id: trunk@15432 -
2010-06-13 19:45:45 +00:00
joost
4e9fc5fadb * Support for ftFixedChar parameter
* Use SQL_VARCHAR instead of SQL_LONGVARCHAR, bug #14907, based on patch from Ladislav Karrach

git-svn-id: trunk@15431 -
2010-06-13 19:37:59 +00:00
Jonas Maebe
8c1a63fb80 * take "varags" into account when checking for the correct number of
formal parameters of an Objective-C method

git-svn-id: trunk@15430 -
2010-06-13 19:35:41 +00:00
Jonas Maebe
4847103436 * don't try to generate mangled names for methods of categories
for which the parent class hasn't been resolved yet (causes
    a crash)

git-svn-id: trunk@15429 -
2010-06-13 15:43:40 +00:00
marco
d6c2326f87 * made several functions virtual.
git-svn-id: trunk@15426 -
2010-06-13 15:12:27 +00:00
joost
81c3db6679 * Implemented TField.Editmask by Luiz Americo, bug #16555
git-svn-id: trunk@15425 -
2010-06-13 13:26:55 +00:00
joost
04773d35b9 * Use resourcestring for error message
git-svn-id: trunk@15423 -
2010-06-13 13:18:22 +00:00
joost
6a6ab2a392 * Call TDatalink.LayoutChanged when controls are disabled and dataset closed/opened. Bug #16428 + test
git-svn-id: trunk@15422 -
2010-06-13 12:26:50 +00:00
Jonas Maebe
194855eee0 * de-tabbed
git-svn-id: trunk@15419 -
2010-06-13 11:44:33 +00:00
joost
4b58890d90 * Implemented usage of mysql connection params, see bug #16568
git-svn-id: trunk@15418 -
2010-06-13 10:56:10 +00:00
Jonas Maebe
ea4bb9d752 * don't treat variant records with one element as "records with one element"
(the ABIs that prescribe special treatment for aggregates with one
     scalar element don't either, since a "union containing a single scalar"
     is not the same as a scalar)
  * fixed passing record with a single float field on PowerPC/AIX abi's
  * several changes to cgobj and ncgutil to correctly deal with transfering
    such records between integer and floating point registers

git-svn-id: trunk@15416 -
2010-06-13 09:57:58 +00:00
michael
037c783442 * Patch from Mattias gaertner to support lazarus lfm encoding in TParser
git-svn-id: trunk@15415 -
2010-06-12 20:54:33 +00:00
sergei
73bafe0444 + Implement TSAXReader.Abort method, which can be used to end the parsing prematurely (Mantis #16703)
git-svn-id: trunk@15414 -
2010-06-12 16:51:10 +00:00
joost
87555e084a * Splitted up TCustomBufDataset tests from more general tests
git-svn-id: trunk@15413 -
2010-06-12 16:37:35 +00:00
joost
fb3ede2ef7 * Fixed accessing TCustomBufDataset.IndexName and CompareBookmarks from a new instance (bug 16695+adapted test)
git-svn-id: trunk@15412 -
2010-06-12 11:42:38 +00:00
Jonas Maebe
39adedb12a * fixed writing debug info for string constants that are exactly 255 chars
* fixed debug info for floating point constants whose size is <
    sizeof(bestreal)

git-svn-id: trunk@15411 -
2010-06-12 07:09:42 +00:00
Jonas Maebe
6e12de117b * report correct location of classes that miss method implementations for
interfaces/protocols they implement/conform to

git-svn-id: trunk@15410 -
2010-06-11 19:27:22 +00:00
joost
73bfdcf8b8 * Fixed accessing TCustomBufDataset.IndexFieldNames from a new instance (bug 16695 + test)
* Fixed problems when closing a dataset that was opened using the FileName property, when the FileName property was cleared in between

git-svn-id: trunk@15409 -
2010-06-11 15:14:43 +00:00
Jonas Maebe
6d6892bec6 * fixed "byte/word/... ptr []" and "byte/word/..([])" typecasted expressions
in case the memory expression contains a record subscription (mantis
    #16700)

git-svn-id: trunk@15408 -
2010-06-11 14:51:58 +00:00
marco
9f3e5acee0 * makefile regenned after addition unblockchm
git-svn-id: trunk@15407 -
2010-06-11 14:23:15 +00:00
marco
1a7f50e3b5 * mass unblock CHM utility for win32/win64
git-svn-id: trunk@15406 -
2010-06-11 07:11:19 +00:00
marco
6a12cb6e68 * continue exchanging untyped "Pointer" handle types to pointer to empty records.
see discussion mantis 16607. 

git-svn-id: trunk@15405 -
2010-06-10 20:28:39 +00:00
marco
5fac78e334 * start exchanging untyped "Pointer" handle types to pointer to empty records.
see discussion mantis 16607

git-svn-id: trunk@15404 -
2010-06-10 20:22:22 +00:00
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