Commit Graph

32217 Commits

Author SHA1 Message Date
marco
8ca6c83ceb * patch from Dmitry for bug #16135. Some newer opengl functions and symbols.
git-svn-id: trunk@15445 -
2010-06-17 12:34:05 +00:00
marco
b2ad17dd2a * initial hhp loading in chmproject.
* chmproject now supports #Windows (the CHM feature, not the OS), but doesn't pass it to writer yet.
 * Some keys in chmproject moved from files/ to settings/ were they belong.
     hopefully with backwards compat loading capability.

Low errorchecking etc, and only initially tested. Not for 2.4.2

git-svn-id: trunk@15444 -
2010-06-17 09:04:25 +00:00
sergei
ead5707179 + Enumeration type for XML version
+ Implemented DOM level 3 properties xmlVersion and xmlEncoding for both TDOMDocument and TDOMEntity classes. Also declared property inputEncoding for these classes.
* Non-conformant TXMLDocument.Encoding has been deprecated; it is now an alias for xmlEncoding property.
* TDOMDocument and TDOMEntity now share a common ancestor, TDOMNode_TopLevel.
* api.xml: enabled testing for the new properties

git-svn-id: trunk@15443 -
2010-06-15 19:36:22 +00:00
sergei
8f29def76e * xmlread.pp: when IgnoreComments=True, merge together text nodes that precede and follow the skipped comment. With this fix, the reader finally produces normalized documents in all modes, so remove the corresponding cheat from testing program (xmlts.pp).
git-svn-id: trunk@15442 -
2010-06-15 16:13:42 +00:00
marco
cfae57bccd * add *.dpr and *.lpr to the Pascal highlight extensions
git-svn-id: trunk@15440 -
2010-06-15 07:49:06 +00:00
sergei
3bb9bfd2b8 * XPath, fixed parent axis of attribute nodes: it must consist of the owner element of an attribute.
+ Tests

git-svn-id: trunk@15439 -
2010-06-14 21:15:53 +00:00
sergei
1ed130e2e1 * Fixed XPath functions name() and local-name(), which should behave different from DOM properties of the same names. name() is empty for text, comment and document nodes. local-name() is the same as name() for non-prefixed attributes and processing instructions.
+ Another dozen of tests.

git-svn-id: trunk@15438 -
2010-06-14 17:21:35 +00:00
Jonas Maebe
9ee74432b6 * fixed internalerror on ARM with 64 bit softfloats after r15416
git-svn-id: trunk@15437 -
2010-06-14 12:25:11 +00:00
marco
815cf97b4c * do not prefix inifile.readsectionvalues results with '=' when key='' (Delphi TMeminifile compatible. API based Delphi TInifile refuses to read such files)
git-svn-id: trunk@15436 -
2010-06-14 12:24:12 +00:00
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