Commit Graph

32416 Commits

Author SHA1 Message Date
florian
79fa2eb539 * support of iso pascal like i/o in iso mode
git-svn-id: trunk@15685 -
2010-07-31 20:46:27 +00:00
florian
c506913e9b * iso conformant writing of floats (using e instead of E) in iso mode
git-svn-id: trunk@15684 -
2010-07-31 20:45:55 +00:00
florian
2d042aca6b + system unit depends on compproc.inc
git-svn-id: trunk@15683 -
2010-07-31 20:45:00 +00:00
florian
8b3bd36ef0 * use iso reset/rewrite with automatic assignmentin iso mode
git-svn-id: trunk@15682 -
2010-07-31 20:44:32 +00:00
florian
67416e958b * initialize file variables in iso mode
git-svn-id: trunk@15681 -
2010-07-31 20:43:37 +00:00
florian
73d788ff96 + iso7195 unit
git-svn-id: trunk@15680 -
2010-07-31 20:42:52 +00:00
florian
aa05cf8b1a + allow packed file of ...
+ allow @ to declare a pointer in iso mode

git-svn-id: trunk@15679 -
2010-07-31 20:42:06 +00:00
florian
d0ea23f39e * write false/true lower case in iso mode
git-svn-id: trunk@15678 -
2010-07-31 20:40:43 +00:00
florian
ced4f95c56 + introduce iso mode
git-svn-id: trunk@15677 -
2010-07-31 20:38:42 +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
marco
8a46323688 * fixed some nesting problems
git-svn-id: trunk@15671 -
2010-07-30 17:45:32 +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
michael
4d2786d238 * Patch from Luiz americo to use FPList where possible
git-svn-id: trunk@15663 -
2010-07-30 09:06:18 +00:00
paul
dbbe861797 rtl: make fgl compilable with 2.4.0
git-svn-id: trunk@15658 -
2010-07-29 01:47:57 +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
paul
c7de16cae1 tests: add type, var sections fail test
git-svn-id: trunk@15647 -
2010-07-27 02:42:54 +00:00
paul
790f6b0a4b compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
rtl: fix fgl to use the new syntax
tests: fix generics tests to use the new syntax

git-svn-id: trunk@15646 -
2010-07-27 00:59:32 +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
florian
b4764ca98a * fixed very oldish case indention style
git-svn-id: trunk@15643 -
2010-07-26 20:13:53 +00:00
florian
0e074dc9f5 * when generating procedure variables in records, no_pop should be left as it is, other code takes care of it, resolves #17006
git-svn-id: trunk@15642 -
2010-07-26 20:09:58 +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
micha
829f8164fc * rtl/heap: simplify r15618, be more conservative towards memory use, especially since performance improvement is hardly measurable
git-svn-id: trunk@15636 -
2010-07-25 17:23:15 +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
marco
878aa1865b * moved \end{description} becasue of 16991
git-svn-id: trunk@15631 -
2010-07-24 19:14:26 +00:00
marco
79678bfbe2 * fix for 17008, changed bytes component of mapviewoffile(ex) to size_t
git-svn-id: trunk@15630 -
2010-07-24 19:03:59 +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
Jonas Maebe
e9c922b193 * fixed compilation with Delphi (patch by Sven Barth, mantis #17016)
git-svn-id: trunk@15627 -
2010-07-23 15:44:15 +00:00
paul
8a47c5ec8e tests: class sections test by Martin
git-svn-id: trunk@15625 -
2010-07-23 09:00:00 +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
Jonas Maebe
1258fd6ef0 - disabled FpSigTimedWait also for haiku (based on patch by
Olivier Coursiere, mantis #16996)

git-svn-id: trunk@15620 -
2010-07-20 20:54:04 +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
Jonas Maebe
e150c2c521 * dynamically grow the size of oschunks allocated for use by the memory
pools for small blocks (fixedfreelists) when lots of such oschunks
    are allocated successively, in order to reduce the overhead of
    allocating such chunks from the OS (and of freeing them afterwards)

git-svn-id: trunk@15618 -
2010-07-20 10:54:21 +00:00