Commit Graph

3722 Commits

Author SHA1 Message Date
sergei
f39e793448 * Moved TWideCharBuf and associated functions from xmlread.pp to xmlutils.pp, so this stuff can be reused by other code.
git-svn-id: trunk@15718 -
2010-08-06 08:00:45 +00:00
sergei
e1eec8c687 - xmlread.pp, removed redundant 'var' modifiers from TStream arguments of less common used functions. This should have been done a long ago, as part of r11788.
git-svn-id: trunk@15717 -
2010-08-06 07:44:51 +00:00
marco
38fb33f09a * fix for mantis 17083, change funcdesc field to ptr to array of hresult
instead of just ptr to scode.

git-svn-id: trunk@15715 -
2010-08-06 03:12:52 +00:00
michael
6e68edac21 * Support for design-time parameters
git-svn-id: trunk@15714 -
2010-08-05 21:47:47 +00:00
marco
348301c511 * fixed most remaining "deprecated" problems for procedure/methods and class blocks
(mantis 16342), only CONST x= 1 deprecated; remaining from this bugreport.

git-svn-id: trunk@15705 -
2010-08-03 20:51:04 +00:00
marco
5dde3abcdc * fix hint parsing after UNIT token.
git-svn-id: trunk@15704 -
2010-08-03 19:43:53 +00:00
marco
bea7ff9971 * check hints at end of class.
git-svn-id: trunk@15703 -
2010-08-03 19:30:43 +00:00
michael
ea72abc6a5 * Fixed never-ending CGI scripts
git-svn-id: trunk@15698 -
2010-08-03 08:39:55 +00:00
michael
62adc74dc4 * Bugfix for case of more than one handler classname
git-svn-id: trunk@15696 -
2010-08-03 07:57:20 +00:00
marco
281f0f2a8c * mixed patches from Dmitry B, that fix the doc generation it seems.
git-svn-id: trunk@15687 -
2010-08-01 18:38:55 +00:00
blikblum
50861d26ab * Do not change SQL property value internally. Use instead a separated field (FEffectiveSQL)
git-svn-id: trunk@15686 -
2010-08-01 14:13:51 +00:00
marco
443b4ad8dc * misc patches from mantis 17058, which fixes 70% of the fpdoc errors.
git-svn-id: trunk@15676 -
2010-07-31 19:28:46 +00:00
marco
15efa8152b * Patch from Nikolay adding a hline variant for VESA modes. Mantis 17073
git-svn-id: trunk@15675 -
2010-07-31 18:57:10 +00:00
marco
54758c85d8 * SmsSendMessage's 2nd parameter changed to pointer, mantis 14605
git-svn-id: trunk@15674 -
2010-07-31 07:43:34 +00:00
marco
70e06479d3 * Sergei's patch for charset constants from 17058, and a small errortext improvement from me.
git-svn-id: trunk@15672 -
2010-07-30 17:51:35 +00:00
michael
fcfcfc43cf * Patch from Luiz Americo to put Const in front of string parameters
git-svn-id: trunk@15670 -
2010-07-30 13:36:31 +00:00
michael
f238ddd7b9 Ext.Direct compliant error handling. API now also handles more than one handler. Session handling added
git-svn-id: trunk@15669 -
2010-07-30 10:13:12 +00:00
michael
e1a8b5ad38 * error handling is slightly different in ext.direct. Create virtual method so it can be overridden
git-svn-id: trunk@15668 -
2010-07-30 10:12:33 +00:00
michael
2dd59f84c1 * Dependency op fcl-process voor dbugintf
git-svn-id: trunk@15667 -
2010-07-30 10:09:26 +00:00
michael
9a60cc661d * Remove src as include dir, causes conflict with parser.inc of classes unit
git-svn-id: trunk@15666 -
2010-07-30 09:54:55 +00:00
michael
324fe011db * Patch from Luiz Americo to use const string params in Log call
git-svn-id: trunk@15665 -
2010-07-30 09:26:21 +00:00
michael
f4c00b4e26 * Patch from Luiz Americo to use Const string params where possible
git-svn-id: trunk@15664 -
2010-07-30 09:08:51 +00:00
sergei
1876fb1c74 XPath: now when predicate filtering is no longer dependent on axis, it becomes possible to use the same code for TStep and TXPathFilterNode. Inherited TStep from TXPathFilterNode, removed duplicating code.
git-svn-id: trunk@15654 -
2010-07-28 15:25:19 +00:00
marco
95f74fbb11 * extractalias command, to extract the context info into alias and .h files. (request by an user)
git-svn-id: trunk@15653 -
2010-07-28 14:33:50 +00:00
sergei
ae7aef0861 XPath: reworked step processing:
* For ancestor and ancestor-or-self axes, added checks for attribute nodes similar to parent axis.
* For reverse axes, collect and filter nodes in 'natural' (i.e. reversed) order, and only then reverse order while adding to result node set. This is much simpler to implement.
* Fixed memory leak (not destroying TXPathFilterNode.FExpr)

git-svn-id: trunk@15652 -
2010-07-28 14:25:08 +00:00
sergei
22038d7db6 + XPath test suite, implemented possibility to use a specified context node instead of fixed root element.
* enabled expressions which start with a FilterNode.
+ added a test for ancestor:: axis of attribute.

git-svn-id: trunk@15650 -
2010-07-28 12:24:27 +00:00
marco
4b063ea245 * sitemaps now initially scanned, recursive scanning fixed.
git-svn-id: trunk@15649 -
2010-07-27 18:33:52 +00:00
marco
b1f29d4473 * added parameter to skip filesizes etc, to easier compare chmls listings.
git-svn-id: trunk@15648 -
2010-07-27 18:30:47 +00:00
florian
a7510e581c - remove superfluous "end." as reported by Sven Barth, resolves #17017
git-svn-id: trunk@15644 -
2010-07-26 20:27:07 +00:00
sergei
c902b96673 * XPath, change parsing of function call so that function arguments are parsed before creating the function node. This way function nodes can validate their arguments at creation time.
* also changed function argument container type from TFPList to dynamic array.

git-svn-id: trunk@15641 -
2010-07-26 19:30:26 +00:00
Jonas Maebe
5863c0fa7f * fixed range errors
git-svn-id: trunk@15640 -
2010-07-26 18:09:50 +00:00
sergei
5352b78c4a * XPath, fixed parsing of 'prefix:*' node tests:
o The prefix to resolve should not include following ':*' characters
  o NextToken changes CurTokenString, so NextToken must be after reading CurTokenString.
  o Added a test for that
* XPath test suite, fixed comparison of numeric result (it is quite tricky in presence of NaNs).

git-svn-id: trunk@15639 -
2010-07-26 16:35:35 +00:00
sergei
0f5795baaf XPath, use a perfect hash to recognize all possible keywords.
git-svn-id: trunk@15638 -
2010-07-26 13:49:46 +00:00
sergei
83711ff972 XPath improvements:
- Deleted TXPathLocationPathNode, it was too much overhead to store a single bit of information. The path root (if any) is now represented by TStep node with Axis=axisRoot.
* Changed TStep linkage from 'right' to 'left', this is consistent with the way of parsing  expressions and considerably simplifies evaluation.
* Fixed ParsePathExpr procedure so it no longer accepts empty/truncated expressions.

git-svn-id: trunk@15632 -
2010-07-24 23:15:35 +00:00
sergei
d44a1603db * TXPathScanner.ParseStep split into two functions in order to reduce complexity and improve readability.
* Also modified it so the data is accumulated in local vars, and resulting TStep objects are created only after the parsing is successfully complete.
* TXPathScanner.ParsePrimaryExpr: eliminated variable.

git-svn-id: trunk@15628 -
2010-07-24 03:21:40 +00:00
joost
c024cbfb4c * Set the global CustomApplication variable, usefull for logging
git-svn-id: trunk@15622 -
2010-07-21 11:02:45 +00:00
joost
b5a6d94593 * Moved the handling of web-request from the TCustomWebApplication to a new class
TWebHandler. TCustomWebApplication and derivates are now a wrapper around the TWebHandler
 * Added TWebHandler.OnIdle event

git-svn-id: trunk@15621 -
2010-07-21 10:24:01 +00:00
ivost
c57dd2785e * added support for xsd:base64Binary xml datatype
* TStream to String encoder
* String to TStream decoder

git-svn-id: trunk@15619 -
2010-07-20 14:16:28 +00:00
joost
734dc9e9df * Reverted accidentally committed files in r15616
git-svn-id: trunk@15617 -
2010-07-20 09:55:42 +00:00
joost
790503cfc2 * Fixed FastCGI listening on a port on Windows after r15099
git-svn-id: trunk@15616 -
2010-07-20 09:52:22 +00:00
joost
746d03ea23 * Added TCustomFCgiApplication.Address property to change listen-ip-address
git-svn-id: trunk@15615 -
2010-07-20 09:41:26 +00:00
Jonas Maebe
66b29841dd * use the framework version of OpenAL for Mac OS X (based on patch by
Dmitry Boyarintsev, mantis #16961)

git-svn-id: trunk@15611 -
2010-07-19 14:16:42 +00:00
Jonas Maebe
e56f5d9462 + wavopenal example to play a wav file by Dmitry Boyarintsev (mantis #16961)
* only compile madopenal.pas for platforms for which the "mad" package
    gets compiled

git-svn-id: trunk@15610 -
2010-07-19 14:15:23 +00:00
Jonas Maebe
e881e4aa22 * always use the read window to read from video memory (patch by
Nikolay Nikolov, mantis #16926)

git-svn-id: trunk@15597 -
2010-07-18 09:48:56 +00:00
marco
eead32ac62 * unblock folded into chmls and deleted.
git-svn-id: trunk@15593 -
2010-07-17 11:52:58 +00:00
andrew
0470c544d6 * fixed bug #15838 where chm urls might have a backslash in the url
git-svn-id: trunk@15592 -
2010-07-17 03:33:28 +00:00
marco
e266ea453e * added extractall command to extract all files in a chm.
git-svn-id: trunk@15591 -
2010-07-16 21:05:32 +00:00
michael
28a97035eb * Patch from Dmitry Boyarintsev to improve expression parsing (16931).
git-svn-id: trunk@15590 -
2010-07-16 19:03:47 +00:00
joost
4fc3ef3c18 * Show help-message with default actions when no action is given, IsConsole
is true and there is no OnRun event handler
 * Use TCustumApplication.Log method for logging
 * Because the logger was freed before exceptions were shown, exceptions were
   never logged. Now they are.

git-svn-id: trunk@15588 -
2010-07-16 16:35:47 +00:00
joost
a6542d988e * Forgot to commit OS/2 file in r15586
git-svn-id: trunk@15587 -
2010-07-16 16:16:08 +00:00