Commit Graph

3217 Commits

Author SHA1 Message Date
marco
b4f1121808 * second patch from mantis 14822
- registration of tlb
    - registry registration
    - implemented functions needed for comserv register/unregister 
    - registry function
    - finished TTypedComObject (but not really tested)

git-svn-id: trunk@13957 -
2009-10-26 11:02:00 +00:00
andrew
8fd42a53de * reverted 13955 since a fix was already in place
git-svn-id: trunk@13956 -
2009-10-26 01:12:11 +00:00
andrew
46f5d06780 * Fixed a chm reader bug that Return value was not initialized if neither binary or text index existed
git-svn-id: trunk@13955 -
2009-10-26 00:50:15 +00:00
andrew
dd72603442 * Fixed bug #14858 where chmsitemap could not properly read a file
git-svn-id: trunk@13947 -
2009-10-24 19:06:12 +00:00
michael
45f854c665 * Added UseDisplayFormat property to format fields
git-svn-id: trunk@13932 -
2009-10-23 15:30:09 +00:00
michael
613d88e38d * Fixed 13762 and compilation on windows
git-svn-id: trunk@13931 -
2009-10-23 15:16:26 +00:00
michael
80924b7a4d * Adapted to new pastree declaration
git-svn-id: trunk@13930 -
2009-10-23 15:11:32 +00:00
michael
e50cee9b57 * Added support for export modifier (bug ID 13863)
git-svn-id: trunk@13929 -
2009-10-23 15:11:08 +00:00
michael
a611bfc103 * (reworked) Patch from m. spiller to implement visitor pattern
git-svn-id: trunk@13925 -
2009-10-23 10:10:34 +00:00
sergei
b1d0bfef75 * Fixed the order of checks during parsing the xml declaration, this provides more accurate diagnostic for tests dtd07, encoding07, ibm77n03.
* Delay switching to xml 1.1 rules until the declaration has been parsed, this ensures that NEL and LSEP chars in declaration are rejected (rmt-056, rmt-057).

git-svn-id: trunk@13922 -
2009-10-23 04:16:15 +00:00
sergei
06b5b65534 Straightening handling of base URI and SystemID:
- TXMLCharSource.PublicID removed, it is unused.
* Base URI of an entity is stored in FURI field of entity, and passed to ResolveEntity.
* When error happens while parsing an internal entity, report the URI where that entity was declared, not where it was included.

git-svn-id: trunk@13921 -
2009-10-22 23:41:24 +00:00
sergei
d44c6876cd xpath.pp:
* text() selector matches text and CDATA nodes, but not comments
* Names of processing instructions are now matched as they should.

git-svn-id: trunk@13915 -
2009-10-20 22:13:13 +00:00
sergei
0c50cfe10a + Initial implementation of property TDOMParseOptions.CanonicalForm. The only thing it does yet is ignoring the DTD.
* Fixed relevant tests.

git-svn-id: trunk@13914 -
2009-10-20 22:09:51 +00:00
Jonas Maebe
169ef946a2 * custapp still requires univint for Darwin
git-svn-id: trunk@13913 -
2009-10-20 07:45:31 +00:00
marco
c14fb4b1c8 * custapp has univint deps on OS X.
git-svn-id: trunk@13911 -
2009-10-19 19:45:19 +00:00
Jonas Maebe
52579c0f11 * fixed darwin dependencies after r13902
git-svn-id: trunk@13910 -
2009-10-19 12:51:31 +00:00
marco
caed0543e4 * pqsetdb was not exported in -dyn variant Mantis #14430
git-svn-id: trunk@13907 -
2009-10-18 10:56:08 +00:00
sergei
edb79b62e0 * Changed TSpecialCharCallback from method into a regular procedure, this allows to drop all the {$ifdef fpc}@{$endif} ugliness.
* Also changed TSpecialCharCallback to take the string and the index, so it can process certain sequences, not only single chars.
* In canonical mode, CDATA sections are written as text.

git-svn-id: trunk@13906 -
2009-10-17 22:09:20 +00:00
marco
d709e9d1ab * patch from 14800, check for interface not null assertion
git-svn-id: trunk@13905 -
2009-10-17 21:12:34 +00:00
marco
e6d0c0a2ad * most fixes from comment 31388 in #14802
git-svn-id: trunk@13904 -
2009-10-17 20:25:44 +00:00
marco
7ad93d7e52 * reworked dependancies around the FCL. daemonapp and servicemanager are isolated into fcl-extra. This makes fcl-base have less dependancies, and other problems then solve themselves.
git-svn-id: trunk@13902 -
2009-10-17 18:41:26 +00:00
marco
deb65efd5d * delete package skeleton that was an attempt to isolate winunits
git-svn-id: trunk@13901 -
2009-10-17 18:37:51 +00:00
marco
3b3aa74731 * empty fcl-extra package that is going to contain daemonapp and ServiceManager
git-svn-id: trunk@13900 -
2009-10-17 18:30:38 +00:00
michael
0bcf5a8488 * Patch from Graeme Geldenhuys to fix some minor issues in code generation (bug ID 13779)
git-svn-id: trunk@13897 -
2009-10-17 14:05:11 +00:00
michael
8fdf9dd80c * Removed px_sdntogregorian for windows
git-svn-id: trunk@13896 -
2009-10-17 14:01:00 +00:00
michael
9f5c7c3344 * Put AppClass in interface section, and put OnRun in public section of daemonapplication
git-svn-id: trunk@13895 -
2009-10-17 13:55:39 +00:00
sergei
d2fa20949a XML writer: write namespace declarations before attribites and optionally sort them as required by c14n.
git-svn-id: trunk@13894 -
2009-10-17 12:30:04 +00:00
marco
d951e3de49 * empty skeleton for winunits-com
git-svn-id: trunk@13889 -
2009-10-17 11:27:35 +00:00
sergei
df5dec2106 * TNSSupport.CheckAttribute added check for null nsURI, it should not emit prefixes for namespaceless attributes.
* Reformatted and fixed comments.

git-svn-id: trunk@13886 -
2009-10-17 11:02:01 +00:00
sergei
013fbb8566 Fixed memory leaks in tests.
git-svn-id: trunk@13878 -
2009-10-16 22:50:46 +00:00
marco
e6fe8300be * replaced TObjectList by TList because it generated a
winunits-base <-> fcl-base dependancy conflict.

git-svn-id: trunk@13877 -
2009-10-16 21:58:12 +00:00
marco
3f75bea982 * Comobj and comserv enhancements by mspiller, #14822 (which also bears relevance to 10569,14807)
git-svn-id: trunk@13876 -
2009-10-16 20:32:59 +00:00
marco
045ba4a1af * added cmdbar_help/cmdbar_ok
git-svn-id: trunk@13872 -
2009-10-16 17:00:46 +00:00
michael
2a61a28910 * Patch from Luiz Americo to clear fielddefs when filling fielddefs
git-svn-id: trunk@13868 -
2009-10-16 12:05:26 +00:00
michael
c8d72ce4aa * Patch from Luiz Americo to fix access violation when transforming date field
git-svn-id: trunk@13867 -
2009-10-16 11:27:38 +00:00
sergei
f68faa154d xmlread.pp: now uses TNSSupport class from xmlutils unit instead of its own copy of the same code.
git-svn-id: trunk@13861 -
2009-10-15 22:11:13 +00:00
sergei
f387d7cb2d * Only EXMLReadError is expected to be thrown from a negative test, any other exception is unexpected and should render the test as failed.
git-svn-id: trunk@13860 -
2009-10-15 21:27:31 +00:00
sergei
b48a0060b8 xmlread.pp, refactoring of literal handling:
* separate procedure SkipQuote, reused by SkipQuotedLiteral and ExpectAttValue;
* inlined SkipPubidLiteral to the (only) place where it is called.

git-svn-id: trunk@13858 -
2009-10-14 22:12:27 +00:00
marco
6b76d64d3c * some minor Delphi compat additions from 14802
git-svn-id: trunk@13857 -
2009-10-14 20:29:54 +00:00
sergei
ea85a7ec11 xmlwrite.pp: c14n compliance: write whitespace after PI name only if its data is not empty
git-svn-id: trunk@13856 -
2009-10-13 21:50:07 +00:00
michael
43d3bacc78 * Position keeps increasing in firebird, but can have missing positions when a field is dropped
git-svn-id: trunk@13855 -
2009-10-13 18:56:49 +00:00
joost
709d1ccc0c * Added THTTPHeader.HTTPXRequestedWith property
git-svn-id: trunk@13850 -
2009-10-12 14:41:05 +00:00
ivost
b2cb314868 * fixed bug in timezone to string conversion
git-svn-id: trunk@13849 -
2009-10-12 10:15:04 +00:00
sergei
a283bc4f46 xpath.pp:
* Progress with namespace support. Resolve namespace prefixed while parsing, compare namespaceURI/localNames while evaluating. Existing tests for namespace-uri(), local-name() and name() now all pass, but resolving interface isn't ready for general use yet.
* Fixed name() to default to context node if argument is omitted.

xpathts.pp:
+ support for prefix resolving while testing.

git-svn-id: trunk@13846 -
2009-10-11 15:04:33 +00:00
marco
49aacb4a24 * fix for case that none of the two indexes are present.
git-svn-id: trunk@13844 -
2009-10-11 13:03:25 +00:00
sergei
7e731c78b6 xpath.pp: cleaned up and simplified TXPathScanner.GetToken()
git-svn-id: trunk@13842 -
2009-10-10 23:57:39 +00:00
blikblum
158ea0a8cd * Use CalcBuffer to get the result in Lookup so the correct variant type is set
git-svn-id: trunk@13841 -
2009-10-10 23:54:57 +00:00
marco
5d1eb35734 * commented a forgotten debug writeln
git-svn-id: trunk@13840 -
2009-10-10 21:26:36 +00:00
marco
e66c24e2f8 * Binary Index support
git-svn-id: trunk@13835 -
2009-10-10 18:07:31 +00:00
sergei
3f5ce0d228 xpath.pp: Fixed runtime range and overflow checks, at least those which could be detected with existing test suite.
git-svn-id: trunk@13827 -
2009-10-09 17:47:53 +00:00