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
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
b5f05d79fb
* fixed parameter number of the function result for pushleftright_pocalls on
...
non-Windows i386 platforms
git-svn-id: trunk@15612 -
2010-07-19 15:33: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
0207e5f8cd
* fixed windows compilation after r15599
...
git-svn-id: trunk@15606 -
2010-07-19 09:24:26 +00:00
Jonas Maebe
62ece31615
- disabled fpsigtimedwait for darwin because it doesn't exist there
...
git-svn-id: trunk@15605 -
2010-07-18 22:07:33 +00:00
Jonas Maebe
b475d03612
* changed backwards_was_first and extended_backwards from supregsets into
...
tbitsets so that they can grow as necessary and so that we don't have
to fill the entire 8KiB all the time
git-svn-id: trunk@15604 -
2010-07-18 22:00:55 +00:00
Jonas Maebe
c072eb5a34
* fixed growing a tbitset when adding an element whose index equals the
...
datasize (and grow with 16 bytes at a time instead of with only
exactly as many bytes as required to accomodate the new element)
git-svn-id: trunk@15603 -
2010-07-18 21:58:47 +00:00
daniel
1009a84e25
+ Add modify_ldt to linux unit
...
+ Add sched_yield to linux unit
- Remove clone for m68k from linux unit (unimplemented assembler section)
+ Add fpsigtimedwait to baseunix unit
git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
Jonas Maebe
99a75c56fc
* fixed copy-paste error in r15600
...
* fixed spilling error after r15600 the same register appears twice in an
instruction (it was spilled once in that case)
git-svn-id: trunk@15601 -
2010-07-18 21:24:52 +00:00
Jonas Maebe
a75016e67b
* make sure that registers are of the right type before calling get_alias
...
on them (could cause crashes or, in very rare instances, wrong spilling
code)
git-svn-id: trunk@15600 -
2010-07-18 21:01:06 +00:00
Jonas Maebe
d7cdd9afba
* allow tthread-based threads to only start executing once the constructor
...
has finished running (based on patch by Jared Davison, mantis #16884 )
git-svn-id: trunk@15599 -
2010-07-18 16:31:25 +00:00
Jonas Maebe
b18a4617bb
* fixed calling static TP-style object methods from within other methods
...
(mantis #16954 )
git-svn-id: trunk@15598 -
2010-07-18 11:01:12 +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