Commit Graph

30580 Commits

Author SHA1 Message Date
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
michael
2379ea463b * Fixed typo
git-svn-id: trunk@13338 -
2009-06-27 13:51:16 +00:00
marco
91009ca615 * fixes for fields after classes also apply to TP objects. Fixed.
git-svn-id: trunk@13337 -
2009-06-27 13:45:33 +00:00
marco
3ffd12f9fb * breakage due to fields after methods change fixed.
git-svn-id: trunk@13336 -
2009-06-27 13:43:50 +00:00
michael
8540633503 * Fixed service description
git-svn-id: trunk@13335 -
2009-06-27 13:32:58 +00:00
Jonas Maebe
c6733ed9a5 * disallow placing fields after method/property definitions, because this
can create ambiguities for the parser in case the field names also exist
    as modifiers (TP- and Delphi-compatible, mantis #13971) + tests
  * fixed tests that broke because of this change

git-svn-id: trunk@13334 -
2009-06-27 12:59:46 +00:00
Jonas Maebe
be43cec33a * enable cross-compiling from x86_64 platforms that support the extended
type to i386

git-svn-id: trunk@13333 -
2009-06-27 12:54:56 +00:00
florian
77eca3a492 * setup stacks properly
git-svn-id: trunk@13332 -
2009-06-27 12:53:57 +00:00
marco
b17cfcabc6 * patch from Ido to add error detection to iconvert's flush statement, since
that can also overflow. (mantis 13896)

git-svn-id: trunk@13331 -
2009-06-27 11:58:02 +00:00
Jonas Maebe
1f6ec379de * moved field definitions before method/property definitions (see mantis
#13971)

git-svn-id: trunk@13330 -
2009-06-27 11:27:31 +00:00
Jonas Maebe
c62d6f9a0b * regenerated (depends on fcl-base, which depends on univint since
r12921)

git-svn-id: trunk@13329 -
2009-06-27 11:24:56 +00:00
Jonas Maebe
9c280eae26 * fixed range error introduced in r13213
git-svn-id: trunk@13328 -
2009-06-27 11:20:30 +00:00