Commit Graph

30423 Commits

Author SHA1 Message Date
marco
3ebbff5a11 * custfcgi (and thus fastcgi) now compiles for win32.
* fpclose replaced by closesocket
    * MSG_NOSIGNAL is unix specific, replaced by 0.

git-svn-id: trunk@13270 -
2009-06-13 22:41:53 +00:00
marco
2f407ca2e8 * retranslated by Paul from a newer SDK
git-svn-id: trunk@13269 -
2009-06-13 12:21:40 +00:00
marco
1d5758b29d * Minor fixes to $ifdef writeln's I had lying around.
git-svn-id: trunk@13268 -
2009-06-12 21:09:20 +00:00
marco
c00204c1b3 * cvar needs to be external.
git-svn-id: trunk@13267 -
2009-06-12 21:07:51 +00:00
sergei
f31048dc01 * Flag undeclared elements with ContentType = ctUndeclared, it's much more self-documenting than the
mysterious HasElementDecl.

git-svn-id: trunk@13266 -
2009-06-12 20:20:14 +00:00
florian
b47650960e * patch by Sergei Gorelkin: makes WideCompareText and WideCompareStr work in Windows 9x , resolves #13955
git-svn-id: trunk@13265 -
2009-06-12 18:21:06 +00:00
joost
9f93cccd7a * When the dataset is read from file, do not prepare the sql-statement
* Datasets which are read from file are in principle modifyable

git-svn-id: trunk@13264 -
2009-06-12 15:35:56 +00:00
florian
bf5666675a * another fix to PolyFill by borsa77
git-svn-id: trunk@13263 -
2009-06-12 14:50:57 +00:00
florian
855a65a061 + RandomRange
git-svn-id: trunk@13262 -
2009-06-11 20:43:24 +00:00
ivost
746200eb49 * fixed windows version of libxml2 headers
git-svn-id: trunk@13261 -
2009-06-11 20:42:36 +00:00
sergei
f31d31049e Improved XPath test suite and added some more tests.
git-svn-id: trunk@13260 -
2009-06-11 19:21:37 +00:00
sergei
44ebbec358 Minor fixes to the reader:
- Removed remaining assignments of TXMLFileInputSource.SystemID, as it is assigned in constructor.
- As attributes now remove themselves from owner upon destruction, removed the redundant check.
* ReadXMLFile, ReadDTDFile: Moved all assignments of Document to the 'finally' sections to avoid
  leaks if parsing error happens. This was already done in most frequently used overloaded
  ReadXMLFile, but wasn't noticed in other places.
* TXMLReader.CheckName was unable to detect a malformed local part of a QName if its prefix is
  well-formed and crosses the buffer boundary. Fixed.

git-svn-id: trunk@13259 -
2009-06-11 18:29:25 +00:00
florian
70a262acbb * regenerated
git-svn-id: trunk@13258 -
2009-06-11 16:16:05 +00:00
florian
d15e6bbe2a + -vs is shown in the help screen, resolves #13958
* -v options slightly reordered so they are easier to read

git-svn-id: trunk@13257 -
2009-06-11 16:15:31 +00:00
sergei
a45049155e XPath parser improvements:
* Qualified names, 'NCName:*' and  variable references are handled as single tokens (no
  whitespace is allowed between parts).
* Function and variable names may have a prefix now.

git-svn-id: trunk@13256 -
2009-06-10 21:42:46 +00:00
Jonas Maebe
5c4f80d6bc * when optimizing temp assignments by simply replacing one temp with
another, it's not enough that the temp sizes are the same, because
    the assignment may only apply to part of them. In such cases,
    perform a regular copy (mantis #13948)

git-svn-id: trunk@13255 -
2009-06-10 19:14:40 +00:00
marco
4a2acd9d87 * out x:i<interfacetype> to out x; otherwise passing olevariants doesn't work.
git-svn-id: trunk@13254 -
2009-06-10 13:50:27 +00:00
sergei
538f82091a XPath improvements:
+ Utility function TXPathScanner.SkipToken, saves some amount of typing.
* Allow TXPathLocationPathNode to have FFirstStep = nil, and don't create a redundant
  initial step while parsing.

git-svn-id: trunk@13253 -
2009-06-09 22:52:16 +00:00
marco
2c3d6645be * dll should be ocx
git-svn-id: trunk@13252 -
2009-06-09 20:45:41 +00:00
marco
3c0c4fc966 * copyright and added to buildunit
git-svn-id: trunk@13251 -
2009-06-09 20:07:07 +00:00
marco
94d2c585a9 * makefiles adapted for htmlhelp
git-svn-id: trunk@13250 -
2009-06-09 19:56:56 +00:00
marco
2f218391d4 * initial htmlhelp header translation
git-svn-id: trunk@13249 -
2009-06-09 19:54:00 +00:00
joost
04ca09c600 * Fixed warning and removed semicolon-typo
git-svn-id: trunk@13248 -
2009-06-09 14:57:19 +00:00
sergei
f0e6946688 XML/HTML writers, handle denormalized line-ending sequences (#13 and #13#10), fixes #13879.
git-svn-id: trunk@13247 -
2009-06-08 20:01:30 +00:00
michael
0021183eb6 * Patch from reporter of bug ID #13924 to fix arguments with spaces if no argv is declared.
git-svn-id: trunk@13246 -
2009-06-07 08:53:36 +00:00
joost
17c4dc5feb * Fixed recognition of contenttypes containing information about the character-set
* Added debug-lines

git-svn-id: trunk@13245 -
2009-06-06 21:17:53 +00:00
sergei
26767125f0 * Refactored TXPathLocationPathNode.Evaluate(), split that awful 3-level nested procedure into
TStep.SelectNodes, TStep.ApplyPredicates and the remaining part.
* Since predicates contained in a location path are evaluated within separate contexts of their own,
  evaluation of the location path itself does not require a full context (only need context nodes).
  This simplifies things quite a bit.
+ Added support for evaluating filter expressions follwed by location path. Things like
  "id('foo')/bar" work now.

git-svn-id: trunk@13244 -
2009-06-06 18:51:50 +00:00
Jonas Maebe
ba951580a2 * fixes and cleanups for tbits (patch by Sergei Gorelkin, mantis #13890)
git-svn-id: trunk@13243 -
2009-06-06 14:35:25 +00:00
Jonas Maebe
7bff50becd * give an error message when the specified wpo feedback input file
is a directory
  * always quote wpo feedback file name in messages

git-svn-id: trunk@13242 -
2009-06-06 12:39:09 +00:00
Jonas Maebe
e13a708002 * fixed compiler crash when using a bitpacked array whose size was
close to high(longint) bytes

git-svn-id: trunk@13241 -
2009-06-06 12:33:18 +00:00
Jonas Maebe
d27673bbe4 * do not load wpo info from ppu files when we are not generating
a wpo feedback file (saves time and memory)

git-svn-id: trunk@13240 -
2009-06-06 09:08:08 +00:00
Jonas Maebe
b9601f10fb * part of r13238, forgot to commit
git-svn-id: trunk@13239 -
2009-06-06 09:07:07 +00:00
Jonas Maebe
41acad1d11 + keep track of called virtual methods per unit. -Owoptvtms will now replace
vmt entries of virtual methods that can never be called with references
    to FPC_ABSTRACTERROR. Some virtual methods are always considered to be
    reachable: published methods, and methods used as getter/setter for a
    published property.

git-svn-id: trunk@13238 -
2009-06-06 08:24:36 +00:00
ivost
91ae3e8788 * added TryStringToGuid function (former StringToGuid is using this now)
git-svn-id: trunk@13237 -
2009-06-05 20:35:12 +00:00
ivost
db429f2d48 * added GUID_NULL constant
git-svn-id: trunk@13236 -
2009-06-05 20:23:38 +00:00
yury
3b32571557 * Fixed compilation for win64. ThreadID is DWORD on both win32 and win64.
git-svn-id: trunk@13235 -
2009-06-05 14:59:42 +00:00
ivost
b5be9e008e * added GuidCase function to intf/guid helper functions
git-svn-id: trunk@13234 -
2009-06-05 14:36:43 +00:00
marco
9a9b05b683 * file not added in earlier commit, and was forgotten.
git-svn-id: trunk@13233 -
2009-06-04 07:49:25 +00:00
marco
d87ba9d285 * multimon added (From Paul Ishenin), renamed dwmapi extension to .pp
git-svn-id: trunk@13232 -
2009-06-03 13:52:34 +00:00
yury
fed5ef7c23 * Added declaration of GlobalReAllocPtr() for wince. Bug #13897.
git-svn-id: trunk@13231 -
2009-06-03 09:28:18 +00:00
sergei
e66e35ac2c XPath: reducing memory load:
* Store predicates of TStep and TXPathFilterNode in dynarrays instead of TList, this way we allocate
  only as much memory as needed, and allocate anything only when predicates are actually present
  (that's minority of all cases).
* Eliminated intermediate TList in filtering step results.
* Remaining TList's replaced by TFPList's.
* Fixed ordering of nodes on preceding-sibling axis.

git-svn-id: trunk@13230 -
2009-06-03 09:09:53 +00:00
sergei
3327371e24 + Implemented DOM level 3 method TDOMNode.LookupNamespaceURI().
* Default attributes which have a colon in name now get a namespace assigned upon restoring. This
  fixes remaining level 2 testsuite failures.

git-svn-id: trunk@13229 -
2009-06-02 13:56:24 +00:00
sergei
32b98580fa + Namespace support in TDOMElementList, makes GetElementsByTagNameNS() operational.
+ Modified TDOMImplentation.HasFeature to return True for level 2 features.

Now the DOM Level 2 support is fairly complete (1 error and 1 failure still remain).

git-svn-id: trunk@13228 -
2009-06-01 21:19:36 +00:00
sergei
c5114c7423 * Modified TDOMNodeList. It now has a fixed BuildList procedure which iterates descendant nodes,
calling NodeFilter for each node. The NodeFilter return value determines whether the node will
  be added to the list, and whether node's children should be recursively iterated.
  This considerably simplifies creating TDOMNodeList descendants, as they no longer need to mess
  with the class internals (FRevision, FList, etc).

git-svn-id: trunk@13227 -
2009-06-01 20:55:18 +00:00
sergei
2cd0a1ad27 + Part of DOM level 2 namespace support (handling namespaced attributes)
* Cloning/importing attributes and elements preserves their namespaces
* Importing an element does not import non-specified attributes.
+ Separate, much faster, implementation for element cloning.

git-svn-id: trunk@13226 -
2009-06-01 19:43:34 +00:00
florian
398b5806b1 * TCollectionItem.Changed checks update counter of collection, resolves #13813
git-svn-id: trunk@13225 -
2009-06-01 16:09:56 +00:00
michael
38be92f20e * Fixed TTarget.HaveOptions
git-svn-id: trunk@13224 -
2009-06-01 15:09:20 +00:00
michael
163eea05fd * Options is now a stringlist
git-svn-id: trunk@13223 -
2009-06-01 14:57:30 +00:00
florian
88f6b8854e * proper error handling in case of thread creation failure on windows, resolves #13768, no test case due because such a test is too sensitive regarding race conditions etc. and might cause false failures
git-svn-id: trunk@13222 -
2009-06-01 14:17:01 +00:00
marco
287758598e * dwmapi api (Glass and stuff) added. From Paul Ishenin.
git-svn-id: trunk@13221 -
2009-06-01 09:22:25 +00:00