Commit Graph

35993 Commits

Author SHA1 Message Date
paul
d59c0237b2 compiler: global property can't be a class property
git-svn-id: trunk@20441 -
2012-02-29 02:31:03 +00:00
sergei
9e091cc15f * fcl-xml, more WideString replacements
git-svn-id: trunk@20440 -
2012-02-28 13:01:41 +00:00
marco
865220f3d6 * Check for empty lookup-field dataset before iterating, Mantis #21383,
Patch by Luis Americo

git-svn-id: trunk@20439 -
2012-02-27 21:45:21 +00:00
sergei
5c2faa4a61 + fcl-xml, making progress with streaming API, added most method implementations.
git-svn-id: trunk@20438 -
2012-02-27 11:34:25 +00:00
sergei
997538dd41 + fcl-xml, added unit xmlreader.pp (abstract base for streamed reading)
git-svn-id: trunk@20437 -
2012-02-27 11:02:34 +00:00
sergei
f9f6344d3a * Moved standard namespace URIs from dom.pp to xmlutils.pp
* Renamed another occurrence of PWideString to PXMLString

git-svn-id: trunk@20436 -
2012-02-27 07:28:34 +00:00
sergei
f44734d1bc * fcl-xml, moved check for required attribute presence to ValidateCurrentNode
* improved wording of some validation errors
- removed ExpectName function

git-svn-id: trunk@20435 -
2012-02-27 04:03:09 +00:00
Tomas Hajny
4a128cc006 * postgres and sdl not supported under OS/2
git-svn-id: trunk@20434 -
2012-02-26 22:57:42 +00:00
Tomas Hajny
f1b81f12b5 * indicate -an being only useful with -dEXTDEBUG
git-svn-id: trunk@20433 -
2012-02-26 20:49:45 +00:00
Jonas Maebe
473cbbd5a2 * only for darwin
git-svn-id: trunk@20431 -
2012-02-26 12:50:48 +00:00
sergei
ede4da62cb * fcl-xml, track attribute definition tags in reader instead of DTD. Removes need for multiple parsers processing documents based on the same DTD to keep their attribute tag counters in sync.
git-svn-id: trunk@20429 -
2012-02-25 22:13:51 +00:00
florian
fdfb9a3fba * take care of conditions when doing ldr/str optimizations
git-svn-id: trunk@20428 -
2012-02-25 21:04:28 +00:00
Jonas Maebe
b9c54fab0d * fixed finding the real definition for formal Objective-C protocols
* fixed printed source code positions in error message in case the external
    name of a formal and of a real definition don't match

git-svn-id: trunk@20425 -
2012-02-25 11:52:35 +00:00
marco
c60282cd2c * dataset.Bookmark changed to TBookMark.
git-svn-id: trunk@20424 -
2012-02-25 10:08:01 +00:00
pierre
2e0a5facd2 * Fix str inline for booleans for 64 bit CPUs
git-svn-id: trunk@20423 -
2012-02-24 10:06:44 +00:00
sergei
6adf381867 * fcl-xml, upgrade to comply with XML 1.0 Fifth Edition. This makes naming rules for xml 1.0 identical to ones for xml 1.1.
git-svn-id: trunk@20422 -
2012-02-24 06:25:32 +00:00
pierre
e5692558b9 * Enable mad package for win64
git-svn-id: trunk@20421 -
2012-02-24 00:19:10 +00:00
pierre
5501cc7b2b * Fix file warnings for win32
git-svn-id: trunk@20420 -
2012-02-23 23:21:19 +00:00
pierre
60bebca1ea * Avoid double newlines on Dos like systems in ExecuteFPC
* Add warning if FileAge returns -1 (which indicates failure)

git-svn-id: trunk@20419 -
2012-02-23 23:19:09 +00:00
andrew
3dd4514724 removed unneeded Trim() from chm fiftimain
git-svn-id: trunk@20418 -
2012-02-23 22:18:27 +00:00
sergei
0cd9e7fee9 + procedure BufAppendString(TWideCharBuf,XMLString) for convenience
- removed {$ifdef fpc}, CompareMem is no longer slower than CompareWord, so it can be used always.

git-svn-id: trunk@20417 -
2012-02-23 21:36:31 +00:00
florian
bb2df48aa9 - <op> ....; cmp ...,#0 cmps ... optimization deactivated
* optimize ldr/ldr if possible

git-svn-id: trunk@20416 -
2012-02-23 21:29:22 +00:00
sergei
2d981def2c * improved handling of attribute value chunks
* cleaned up several redundant method arguments and conditions

git-svn-id: trunk@20415 -
2012-02-23 20:53:25 +00:00
andrew
300bdb8243 * Fixed possible but rare crash when compressed data is slightly larger than the orig data size
git-svn-id: trunk@20414 -
2012-02-23 18:39:42 +00:00
andrew
7ddbe453a2 Removed chmcmd.lpi session info to .lps
git-svn-id: trunk@20413 -
2012-02-23 18:12:38 +00:00
andrew
ffa54e73d9 Fixed some range errors and other error in chm writing
Fixed a bug where reusing a stream would keep the size of the largest file added! Making the chm much bigger than it should be

git-svn-id: trunk@20412 -
2012-02-23 17:59:01 +00:00
pierre
78a930ae03 * Fix Warning: Source file not found for win32
git-svn-id: trunk@20411 -
2012-02-23 16:57:33 +00:00
pierre
85c84bf128 * Fix include file directory and return false for FileNewer if FileAge return -1
git-svn-id: trunk@20410 -
2012-02-23 13:53:23 +00:00
marco
e6cdc2b744 * Slightly modified patch from Graeme, Mantis #21357 which adds an assigned.
git-svn-id: trunk@20409 -
2012-02-23 12:15:03 +00:00
marco
e1ac091b68 * Remove Haiku TProcess exception , Mantis #21180
git-svn-id: trunk@20408 -
2012-02-23 11:50:23 +00:00
pierre
702db31dc6 Fix syntax error in record
git-svn-id: trunk@20407 -
2012-02-22 23:24:34 +00:00
sergei
5be3f57549 - fcl-xml, removed stuff which was deprecated in 2.6.
git-svn-id: trunk@20406 -
2012-02-22 22:23:36 +00:00
marco
f979c2e67f * Add millisecs to datetime parameters, Mantis #20616. Patch by Lacak2.
git-svn-id: trunk@20405 -
2012-02-22 21:01:11 +00:00
marco
54066744ac * Added ftcurrency to TODBCConnection.SetParameters. Patch by Lacak2, Mantis 21349
git-svn-id: trunk@20404 -
2012-02-22 20:57:43 +00:00
marco
fc50e764c9 * Maps mysql year data type. Mantis #21347, patch by Lacak2.
git-svn-id: trunk@20403 -
2012-02-22 20:55:41 +00:00
marco
49f15aa271 * Fixes date arithmetic before tdatetime epoch. Mantis #21348, patch by Lacak2
git-svn-id: trunk@20402 -
2012-02-22 20:53:30 +00:00
marco
8d6ed78b8e * Improved tests from Lacak2, Mantis #20182
git-svn-id: trunk@20401 -
2012-02-22 20:49:25 +00:00
marco
e866049f49 * Fix compilation of sqldbtoolsunit
git-svn-id: trunk@20400 -
2012-02-22 20:48:31 +00:00
florian
e2c9a8c6a1 * fold <arithmed. op> ...; cmp ...,#0into cmps on arm
* remove unnecessary ldr after str to the same memoy location, however, to do this optimization safely, we should add support for volatile variables

git-svn-id: trunk@20399 -
2012-02-22 20:16:06 +00:00
florian
f0f64a573b * don't pack softfpu helper records and added dummy for proper alignment, generates much better code on CPUs like arm
git-svn-id: trunk@20398 -
2012-02-22 20:13:38 +00:00
florian
6278c2473e * version updated
git-svn-id: trunk@20397 -
2012-02-22 17:47:54 +00:00
sergei
042f5264bb * fcl-xml, replacing more occurrences of WideString with XMLString.
git-svn-id: trunk@20396 -
2012-02-22 15:50:40 +00:00
pierre
67f4886cde * Fix wrong include file name
git-svn-id: trunk@20395 -
2012-02-22 08:55:42 +00:00
sergei
8df23e7bd0 * Declared the XMLString type to serve as a base string type for entire package, and aliased DOMString and SAXString to it (the type remains WideString; once all other units are adjusted it may be changed to UnicodeString).
* Replaced WideString by XMLString in xmlutils.pp.

git-svn-id: trunk@20394 -
2012-02-21 20:23:35 +00:00
joost
e7a8bc567d * When a dependency on a package is given without a checksum, accept every checksum
git-svn-id: trunk@20393 -
2012-02-21 18:21:52 +00:00
joost
e6582e502a * Fixed checking of changed files which got broken in r20352
git-svn-id: trunk@20392 -
2012-02-21 17:31:51 +00:00
sergei
b781311670 * sax_html.pp: accumulate token chars in ansistring in order to handle multi-byte encodings without errors (counterpart of sax_xml.pp r15738). Mantis #21070.
git-svn-id: trunk@20391 -
2012-02-21 16:51:02 +00:00
sergei
6498df861b * xmlutils.pp: calculate hash with both range and overflow checks disabled (went unnoticed this far probably because range errors do not manifest on 32-bit platforms).
* sax_xml.pp: don't handle processing instructions as elements.

git-svn-id: trunk@20390 -
2012-02-21 16:46:08 +00:00
joost
942c2d035e * Fixed AV while filtering datasets with null-fields
git-svn-id: trunk@20389 -
2012-02-21 16:32:51 +00:00
marco
c29ce4c891 * Check autoincrement based on field properties instead of ft-type. This to improve support for autoincrement
types larger than integer. (bigserial). Patch by Lacak2, Mantis #20722

git-svn-id: trunk@20386 -
2012-02-20 11:25:42 +00:00