Commit Graph

30868 Commits

Author SHA1 Message Date
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
michael
893295dc1e * Added Pack/Unpack dummies, fixed var/out and const params in writestr/readstr
git-svn-id: trunk@13880 -
2009-10-17 09:22:49 +00:00
pierre
820c1c693e * fix problem if OpenOffice is not installed
git-svn-id: trunk@13879 -
2009-10-17 07:27:23 +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
5121f470a2 * moved ugetrlimit to the implementation (as linux specific call it shouldn't be exported)
* syscall implementation for FreeBSD of get/setrlimit

git-svn-id: trunk@13875 -
2009-10-16 18:47:43 +00:00
ivost
fff6e218af * readded BeforeDestructor that calls Destroying (delphi compatibility issue)
* uncommented code in Notification procedure (delphi compatibility issue)

git-svn-id: trunk@13874 -
2009-10-16 18:12:11 +00:00
ivost
3cfcdb2ab9 * reverted parts of r13852 (removed +/- with sets and added include/exclude)
git-svn-id: trunk@13873 -
2009-10-16 17:34:50 +00:00
marco
045ba4a1af * added cmdbar_help/cmdbar_ok
git-svn-id: trunk@13872 -
2009-10-16 17:00:46 +00:00
michael
e4244e0452 * Forgot to commit
git-svn-id: trunk@13871 -
2009-10-16 15:31:25 +00:00
michael
44f14996c5 * Added dummy definitions of readstr/writestr
git-svn-id: trunk@13869 -
2009-10-16 13:41:23 +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
michael
cb29ddbd04 * TryStrToTime/TryStrToDate no longer need to catch exceptions
git-svn-id: trunk@13865 -
2009-10-16 09:31:09 +00:00
michael
dadd6631ad * Patch from Alex Rayne (bug ID 14622) to provide some overloaded versions of the strtodate/strtotime functions
git-svn-id: trunk@13864 -
2009-10-16 08:16:55 +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
ivost
242560f138 * corrected some typo that was inserted by r13853
git-svn-id: trunk@13854 -
2009-10-13 15:48:42 +00:00
ivost
65bca0a26d * enhanced how observers are notified by subjects on destroying
git-svn-id: trunk@13853 -
2009-10-13 12:22:36 +00:00
ivost
74c09e2268 * fixed strange free notification behavior of TComponent. Must be some memory corruption or so.
* replaced deprecated Include / Exclude calls

git-svn-id: trunk@13852 -
2009-10-13 12:05:14 +00:00
ivost
f18a2ab69c * fixed bug in TFPSList.SetCount. Deref was not called when shrinking the list.
git-svn-id: trunk@13851 -
2009-10-12 21:23:38 +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
19fcb226f7 * IDE now uses generalized index procedure.
git-svn-id: trunk@13845 -
2009-10-11 13:53:03 +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
54b8628671 * Fixes compilation problem
git-svn-id: trunk@13839 -
2009-10-10 19:23:30 +00:00
florian
cba72c423d * patch by Sergei Gorelkin to use always SetFilePointer, also for files with >2GB, this saves some lines of code, resolves #14630
git-svn-id: trunk@13838 -
2009-10-10 18:52:50 +00:00
marco
1b977aa8c9 * fpdoc parts of binary support + disable options.
git-svn-id: trunk@13837 -
2009-10-10 18:33:40 +00:00
marco
daa4757c92 * added some non-cleaned units to be cleaned
git-svn-id: trunk@13836 -
2009-10-10 18:10:24 +00:00
marco
e66c24e2f8 * Binary Index support
git-svn-id: trunk@13835 -
2009-10-10 18:07:31 +00:00
sergei
2fe34085b1 * Missing percent in russian messages, Mantis 14772
git-svn-id: trunk@13834 -
2009-10-10 14:25:06 +00:00
Jonas Maebe
dce9b3849b * fixed mantis #14729:
o add accessibility info for fields and methods (public/protected/private)
    o write method type info for methods not implemented in the current module
      (for tf_dwarf_only_local_labels systems)

git-svn-id: trunk@13833 -
2009-10-10 10:53:18 +00:00
florian
b8a83fd997 * allow reintroduce for objects, resolves #14743
git-svn-id: trunk@13832 -
2009-10-10 10:14:49 +00:00
florian
44aed2af60 o patch by Michael Denisenko, resolves #14734:
* fixes memory leaks in case of string code
  * replace usage of strcmp
  * improved tests

git-svn-id: trunk@13830 -
2009-10-09 20:40:22 +00:00
Jonas Maebe
93171fdc23 + support for tkUString in get/setpropvalue (mantis #14617)
git-svn-id: trunk@13829 -
2009-10-09 19:47:55 +00:00
Jonas Maebe
be39c47d02 * don't stop at #0 characters for setstring with pchar either
git-svn-id: trunk@13828 -
2009-10-09 19:47:46 +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
Jonas Maebe
6a0755e897 * fixed setstring for unicode/widestring: don't stop at embedded #0
characters, don't expect that buffer is null-terminated (mantis #14740)

git-svn-id: trunk@13826 -
2009-10-09 16:12:03 +00:00
florian
00049897b3 + support & to escape keywords being a solution for #14553
git-svn-id: trunk@13825 -
2009-10-09 16:06:36 +00:00
sergei
d156a08593 * Hunted down another node pool bug, thanks to Vincent Snijders and mighty valgrind. Due to wrong condition, the last block of extent wasn't used to put an object there, but later a cleanup attempt at that address was attempted.
git-svn-id: trunk@13824 -
2009-10-09 15:37:15 +00:00
florian
81813fb64f * output style more like the coding style fpc sources commonly are using
git-svn-id: trunk@13823 -
2009-10-09 12:57:50 +00:00