Commit Graph

30641 Commits

Author SHA1 Message Date
florian
297bddba4a * adapted test: the correct result of ExtractFileDrive('\\server\share\path\file') is '\\server\share'
git-svn-id: trunk@13393 -
2009-07-15 21:36:13 +00:00
florian
6dfd5cb5b8 * fix ExtractFileDrive for \\server\share\path\file: it should return \\server\share
* made test easier to debug

git-svn-id: trunk@13392 -
2009-07-15 20:40:34 +00:00
florian
6da1d7d417 * test fixed for non-unix, AddDisk exists only on unix
git-svn-id: trunk@13391 -
2009-07-15 20:03:13 +00:00
florian
6bfd2cad31 * test fixed for non-unix, AddDisk exists only on unix
git-svn-id: trunk@13390 -
2009-07-15 19:59:37 +00:00
sergei
a9d9841eee * XPath: number-to-string conversion is now compliant to the specs (no scientific notation, decimal separator is a hardcoded period, correct output values for INF/NAN) + tests.
git-svn-id: trunk@13389 -
2009-07-15 09:56:48 +00:00
Jonas Maebe
14107b42b2 * fixed tw9039{a,b} for 64 bit platforms (qwordvar > int64var) is evaluated
by the compiler as  (int64(qwordvar) > int64var), which broke the array
    size check for 64 platforms

git-svn-id: trunk@13388 -
2009-07-15 08:22:00 +00:00
joost
8832627178 * Set AutoCalcFields to true by default, bug #14072
git-svn-id: trunk@13387 -
2009-07-14 21:10:25 +00:00
joost
735b0cd299 * Patch from Graeme Geldenhuys to set the default characterset in CreateDb, bug #13835
git-svn-id: trunk@13386 -
2009-07-14 21:04:54 +00:00
marco
e1f4613362 * ulong_ptr -> ptruint at Paul's request.
git-svn-id: trunk@13385 -
2009-07-14 08:53:10 +00:00
florian
9d659dc937 * accept const <guid const> = <guid string>; again, resolves #14134
git-svn-id: trunk@13384 -
2009-07-12 11:00:07 +00:00
sergei
4545f311a7 * A huge initial patch for HTML DOM module, makes most of the properties/methods functional, although a lot more work is still required.
git-svn-id: trunk@13383 -
2009-07-11 13:07:24 +00:00
sergei
cc253cca5b SAX cleanup, part 1:
* dynamic -> virtual (does not change anything, in fact, because FPC handles these two keywords identically).
* Default implementations for GetFeature, GetProperty, SetFeature, SetProperty - removes warnings about abstract methods at build time.

git-svn-id: trunk@13382 -
2009-07-11 12:57:55 +00:00
sergei
d8a74620a5 + Added definitions for deprecated (in HTML 4.01) attributes. Deprecated elements are already there.
git-svn-id: trunk@13381 -
2009-07-11 12:53:31 +00:00
paul
7dfaddaf36 gtk2: ifdef (disable) pango 1.20, 1.22 definitions
git-svn-id: trunk@13380 -
2009-07-11 11:58:11 +00:00
Jonas Maebe
66bf7190dd + test for mantis #14112
git-svn-id: trunk@13379 -
2009-07-11 09:46:20 +00:00
Jonas Maebe
292e4200c8 * patch by Tom Gregorovic (with some fixes by Alexander Grau) to
* support creating directories and symbolic links while unzipping
    * preserve access rights and date of unzipped files
    * fix the CRC32 control when the local header field is zero
   -> fixes mantis #14106
  * fixed unzipping stored files of zero bytes

git-svn-id: trunk@13378 -
2009-07-11 09:40:22 +00:00
Almindor
d09b2d91a9 * move FastCGI out of fcl-web to be standalone package
git-svn-id: trunk@13377 -
2009-07-11 08:05:16 +00:00
sergei
26366263f1 sax_xml.pp:
* Recognize only five predefined XML entities, not all the stuff defined for HTML.
* Recognize character refs in hex notation only using lowercase 'x'.

git-svn-id: trunk@13376 -
2009-07-09 23:12:16 +00:00
Jonas Maebe
79f139bff7 + tests for previous commit
git-svn-id: trunk@13373 -
2009-07-08 20:22:09 +00:00
Jonas Maebe
52c6f14de5 * do not allow local type definitions such as string[1] and "file of byte"
inside parameter lists and function results (fixes second problem
    reported in mantis #14104, see also
    http://wiki.freepascal.org/User_Changes_Trunk#Local_type_definitions_in_parameter_lists
    )

git-svn-id: trunk@13372 -
2009-07-08 20:21:37 +00:00
Jonas Maebe
70dea05563 * use MacOSAll instead of FPCMacOSAll
git-svn-id: trunk@13371 -
2009-07-08 18:44:06 +00:00
Jonas Maebe
4987dbbf41 * don't redefine smallint type (fixes mantis #14104)
git-svn-id: trunk@13370 -
2009-07-08 18:39:57 +00:00
michael
a01d93dda0 * Added AutoCommit featuresqlscript.pp
git-svn-id: trunk@13369 -
2009-07-08 09:05:55 +00:00
sergei
173a0647a3 Reworked entity reference handling in SAX parsers:
* htmldefs.pp - no more limited to Latin-1; uses binary search instead of linear.
* sax_html.pp - no longer emits SkippedEntity events; any reference is either resolved or handled as text.
* sax_xml.pp - in contrast to HTML, never handles entities as text (either resolved or passed to SkippedEntity).

git-svn-id: trunk@13368 -
2009-07-07 20:40:32 +00:00
florian
5e200ac743 * even missed a whole directory in r13365
git-svn-id: trunk@13367 -
2009-07-07 16:44:58 +00:00
florian
5c49a653c4 * added missing file of r13365
git-svn-id: trunk@13366 -
2009-07-07 16:36:57 +00:00
florian
61f7422d22 o patch by Martin Sucha for pangocairo:
* makes gtk2 package depend on cairo package
  * adds required definitions to glib and pango
  * adds pangocairo library bindings
  * changes cairo external library name from cairo to libcairo-2

git-svn-id: trunk@13365 -
2009-07-05 19:34:48 +00:00
florian
b9fddff9c4 * avoid IE in case of unknown assembler reference syntax
git-svn-id: trunk@13364 -
2009-07-05 19:16:46 +00:00
florian
e4e2b5be18 * added overloeaded InterlockedExchangeAdd with first parameter being a pointer, resolves #13282
git-svn-id: trunk@13363 -
2009-07-05 18:57:48 +00:00
ivost
ba97084011 * complete new sqlite3 headers (version 3.5.9)
* fixes bug request 0010821

git-svn-id: trunk@13362 -
2009-07-04 18:48:55 +00:00
florian
ea4d5a74c2 * fixed test
git-svn-id: trunk@13361 -
2009-07-04 16:29:59 +00:00
florian
04402dd6cc * initialize allow_array_constructor for each compilation run, fixes probably #12283
git-svn-id: trunk@13360 -
2009-07-04 15:44:33 +00:00
sergei
e4e62b2ac0 * Removed argument to TXMLCharSource.NewLine, it is redundant.
* In case of decoding error, count line endings in the same way as during normal processing.
* Improved error diagnostics in ParseAttlistDecl().

git-svn-id: trunk@13359 -
2009-07-03 21:51:58 +00:00
michael
04f1614e0b * Patch from Inoussa OUEDRAOGO to support int64 numbers
git-svn-id: trunk@13358 -
2009-07-03 06:38:18 +00:00
sergei
fcd96805fa htmldefs.pp:
+ Define elements which may omit end-tag (except HTML, HEAD and BODY which may also omit the start-tag)
+ Define which elements may close other elements (modelled after libxml2).
* DIV may have #PCDATA content.

sax_html.pp:
* Improve the parser to report startElement/endElement events properly. Should resolve Mantis #14073 and related element hierarchy issues.

git-svn-id: trunk@13357 -
2009-07-02 23:13:44 +00:00
florian
8c7f6fb7ac + more register definitions by Seppo Suutarla
* all registers use now th AT91C_ prefix

git-svn-id: trunk@13356 -
2009-07-02 17:50:13 +00:00
sergei
5f45dd409b SAX readers: never transition from scText to scWhitespace state, and don't reset token while transitioning from scWhitespace to scText. This ensures that only pure-whitespace chunks are ever reported via IgnorableWhitespace event, and that text nodes are not broken into words.
This provides a partial fix for Mantis #14073.

git-svn-id: trunk@13355 -
2009-07-01 22:00:22 +00:00
sergei
ccb730c051 *HTML writer: change charset in 'meta' tag (if any) to utf-8, because it is the encoding we actually write.
git-svn-id: trunk@13354 -
2009-07-01 16:02:46 +00:00
florian
67cb961ed3 * only x86 and m68k need treference.segment
git-svn-id: trunk@13353 -
2009-06-29 21:12:45 +00:00
florian
6898b10e2e * fixed order of cgloc2str strings
git-svn-id: trunk@13352 -
2009-06-29 19:27:51 +00:00
sergei
a8e6f79ef3 * SAX parsers: support hexadecimal notation in character references and return result in a SAXChar
instead of Char, provides a partial fix for #14074

git-svn-id: trunk@13351 -
2009-06-29 14:20:50 +00:00
michael
cfffcd3ba8 * Fix in read/write visitor registration. Added override of read/readthis/save
git-svn-id: trunk@13347 -
2009-06-28 12:38:24 +00:00
michael
dfc188bca2 * Added option to register visitors
git-svn-id: trunk@13346 -
2009-06-28 11:02:06 +00:00
michael
f8fc8077b0 * Saving/Loading and generating SQL for foreign keys now works
git-svn-id: trunk@13345 -
2009-06-28 10:27:05 +00:00
Jonas Maebe
d6aa5bfe36 + test for mantis #10717
git-svn-id: trunk@13344 -
2009-06-28 09:15:39 +00:00
Jonas Maebe
ae476a9b6a * part of r13334, forgot to commit
git-svn-id: trunk@13343 -
2009-06-28 07:44:02 +00:00
florian
60169d34dc * fixed compilation of AVR compiler
git-svn-id: trunk@13342 -
2009-06-27 19:31:24 +00:00
florian
86aad85b78 + section smartlink bss for embedded targets
git-svn-id: trunk@13341 -
2009-06-27 15:21:01 +00:00
marco
10c67a4ad5 * fields after objects methods.
git-svn-id: trunk@13340 -
2009-06-27 14:06:58 +00:00
michael
c7ca0f8b0f * Possibility to specify character set in connection dialog
git-svn-id: trunk@13339 -
2009-06-27 14:03:32 +00:00