Commit Graph

30404 Commits

Author SHA1 Message Date
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
Jonas Maebe
0daaaf5d3b * fixed compilation after r13217 (some 2.2.x-isms)
git-svn-id: trunk@13220 -
2009-06-01 08:08:16 +00:00
Jonas Maebe
66c14c8a88 * don't mark classes used in "is"- or "as"-expressions as potentially
instantiated (for wpo)
  * also replace vmt-entries for classes for which we don't have any
    information at all with FPC_ABSTRACTERROR (since that means they
    certainly are not instantiated), except for their published and
    virtual class methods
  * fixed check for published methods in wpo

git-svn-id: trunk@13219 -
2009-05-31 13:52:40 +00:00
Jonas Maebe
380e957a79 * init wpo collectors before parsing the interface of units
* also register classes assigned to classref typed constants as potentially
    instantiated

git-svn-id: trunk@13218 -
2009-05-31 13:37:15 +00:00
Legolas
d2dabe9a33 * updated nds/gba linker scripts and reverted some changes for 2.2.4a release
- Removed unused/outdated stuff from libndsfpc
+ Added new examples for libndsfpc
+ Added working (I hope so...) makefile.fpc for all libndsfpc/libgbafpc examples

git-svn-id: trunk@13217 -
2009-05-31 12:15:24 +00:00
sergei
baa07b1a22 Bringing readme's up to date
git-svn-id: trunk@13216 -
2009-05-31 10:38:28 +00:00
sergei
466c41da12 * Added .txt extension to README_DOM (this one was missed while fixing Mantis #12358)
git-svn-id: trunk@13215 -
2009-05-31 09:14:37 +00:00
sergei
b631754754 + Processing of prefixed attributes and prefix bindings. This completes namespace support at
the XML reader side.

git-svn-id: trunk@13214 -
2009-05-31 08:18:06 +00:00
michael
6452f5b692 * Some TCustomVariant methods implemented
git-svn-id: trunk@13213 -
2009-05-30 12:07:16 +00:00
Jonas Maebe
e6bf70fc05 * fixed/cleaned up tests for "nil + 1"
git-svn-id: trunk@13212 -
2009-05-30 11:29:54 +00:00
michael
6fa94ad9d8 * Fix from Ken Wright for broken FPC changes
git-svn-id: trunk@13211 -
2009-05-29 07:30:46 +00:00
michael
ddd02b7f26 * Change so that when FindFirst initially returns nonzero, FindClose is no longer needed (Windows compatible)
git-svn-id: trunk@13210 -
2009-05-29 07:27:41 +00:00
michael
9538da64f9 * Change so that when FindFirst initially returns nonzero, FindClose is no longer needed (Windows compatible)
git-svn-id: trunk@13209 -
2009-05-29 07:24:02 +00:00
florian
d338684196 * patch to fix fillpoly, by borsa77
git-svn-id: trunk@13208 -
2009-05-28 22:28:58 +00:00
Tomas Hajny
2353848004 * extension of r13191 to OS/2, EMX and potential other platforms using crt.inc based implementation of unit crt
git-svn-id: trunk@13207 -
2009-05-27 21:18:35 +00:00
marco
ae3ab174cd * more Vista fixes, and implemented some macro's that somehow were not implemented.
git-svn-id: trunk@13206 -
2009-05-27 20:08:56 +00:00
Jonas Maebe
7e908cb1e3 * forbid "nil +/- ordinal" expressions (Delphi-compatible, and the
expression is meaningless since nil is not a valid address)

git-svn-id: trunk@13205 -
2009-05-27 17:50:55 +00:00
Jonas Maebe
15b0711ca0 * various optimizations by Dave Richards (mantis #12440)
git-svn-id: trunk@13204 -
2009-05-27 17:26:50 +00:00
marco
3af4741b5e * vista items till WC_STATICA, roughly at 80% now.
git-svn-id: trunk@13203 -
2009-05-27 16:26:32 +00:00
marco
baca8ec9b6 * first half of vista updates.
git-svn-id: trunk@13202 -
2009-05-27 08:46:27 +00:00