Commit Graph

32247 Commits

Author SHA1 Message Date
Jonas Maebe
62d677eb92 + support for formally declared objcclasses ("type x=objcclass;external;")
+ tests

git-svn-id: trunk@15476 -
2010-06-25 15:08:37 +00:00
Jonas Maebe
e36857742f * allow taking the address of an indexed array function result
(mantis #16772)

git-svn-id: trunk@15475 -
2010-06-25 12:42:27 +00:00
Jonas Maebe
04a63ea278 * fixed range/overflow checking for succ/pred (mantis #16770)
git-svn-id: trunk@15474 -
2010-06-22 19:15:08 +00:00
florian
138c5d1570 + feature switch RESOURCES
* use of feature switches in objpas updated
+ build unit objpas for embedded targets

git-svn-id: trunk@15473 -
2010-06-22 12:37:41 +00:00
florian
6c08597535 * don't build a native compiler for embedded targets
git-svn-id: trunk@15472 -
2010-06-22 12:04:37 +00:00
michael
8d84ac54ca * Added easy access function for params
git-svn-id: trunk@15471 -
2010-06-22 11:48:31 +00:00
florian
a2eaa2db34 o patch by Jeppe Johansen, resolves #16769
+ Added a few registers to the stm32f103 rtl unit (interrupt controller related) 

git-svn-id: trunk@15470 -
2010-06-22 11:47:36 +00:00
sekelsenmat
03404df0a4 Patch from Inoussa OUEDRAOGO, improves OpenSSL
git-svn-id: trunk@15469 -
2010-06-21 21:17:30 +00:00
Jonas Maebe
351d110507 * replaced dependency on MacOSAll with individual units (based on
information provided by Scott Knapp)
  - removed CFErrorRef declaration from UndefinedTypes since the CFError
    headers are available in the current univint translations

git-svn-id: trunk@15468 -
2010-06-21 15:43:34 +00:00
Jonas Maebe
267cb54cd6 + some extra (already working) tests for class references
git-svn-id: trunk@15467 -
2010-06-21 15:19:02 +00:00
Jonas Maebe
e26cf54cc0 - removed svn:executable property
git-svn-id: trunk@15466 -
2010-06-21 15:11:40 +00:00
Jonas Maebe
bcc836f1b0 * put the RTTI for optional protocol methods in the correct section for
fragile ABI platforms

git-svn-id: trunk@15465 -
2010-06-21 15:07:29 +00:00
sekelsenmat
4f429f697a Adds new RSA, RAND, EVP, X509, Crypto and ERR functions to OpenSSL and also adds a mechanism to show which functions weren't loaded.
git-svn-id: trunk@15464 -
2010-06-21 14:17:35 +00:00
Jonas Maebe
1474e7191f * moved tests to correct directory (they depend on the CocoaAll unit)
git-svn-id: trunk@15463 -
2010-06-21 09:26:51 +00:00
Jonas Maebe
6308630e3e * rtl changes part of r15460
git-svn-id: trunk@15462 -
2010-06-21 09:26:08 +00:00
Jonas Maebe
835899524b + support for Objective-Pascal for-in loops ("fast enumerations")
+ {$modeswitch objectivec2}, which is required before you can use
    Objective-C 2.0 features (such as the above). It automatically
    also implies {$modeswitch objectivec1}
  + genloadfield() helper to load a field of a node representing
    a record/object/class

git-svn-id: trunk@15460 -
2010-06-20 12:38:45 +00:00
Jonas Maebe
25561d0f71 - removed unnecessary string copy form tppufile.getstring
git-svn-id: trunk@15459 -
2010-06-20 12:31:27 +00:00
Jonas Maebe
293d51a277 * fixed "fast enumeration" types and methods
git-svn-id: trunk@15458 -
2010-06-20 12:06:55 +00:00
marco
95bc0374de * contextlist property
git-svn-id: trunk@15457 -
2010-06-19 20:35:45 +00:00
Tomas Hajny
7d5b63042b * add test for web bug #16651
git-svn-id: trunk@15456 -
2010-06-19 16:27:03 +00:00
Jonas Maebe
d6d411442b * more small indentation fixes
git-svn-id: trunk@15455 -
2010-06-19 16:22:56 +00:00
Tomas Hajny
03f52902f3 * do not use / as DriveSeparator
git-svn-id: trunk@15454 -
2010-06-19 16:22:10 +00:00
Jonas Maebe
790c7954b7 * fixed assigning "id" to a protocol instance and using protocol instances
to call methods + test

git-svn-id: trunk@15453 -
2010-06-19 16:19:13 +00:00
Tomas Hajny
a2af005101 * fix for web bug #16651
git-svn-id: trunk@15452 -
2010-06-19 16:15:40 +00:00
Jonas Maebe
5a1e4befe4 * fixed is_related() for objcprotocol
git-svn-id: trunk@15451 -
2010-06-19 16:14:09 +00:00
Jonas Maebe
e66dbe1317 * fixed indentation of for-in code
git-svn-id: trunk@15450 -
2010-06-19 15:10:44 +00:00
Jonas Maebe
df525d98a3 * fixed indentation of for-in code
git-svn-id: trunk@15449 -
2010-06-19 15:07:19 +00:00
michael
45d60dbb97 * Patch from Mattias Gaertner to fix missing classname placeholder
git-svn-id: trunk@15448 -
2010-06-18 19:40:12 +00:00
michael
babd106844 * Publish options
git-svn-id: trunk@15447 -
2010-06-17 13:31:56 +00:00
michael
d50802e52f * Fix access violation. Notification must always call inherited notification
git-svn-id: trunk@15446 -
2010-06-17 12:37:49 +00:00
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