marco
d837f6d83e
* makefile fixes (fpmake untested), 2.3.1 fields-before-methods fix for pdfvrlexico
...
git-svn-id: trunk@13405 -
2009-07-17 16:32:19 +00:00
sekelsenmat
0704d007a4
Isolates fpvectorial writeln and removes lazarus specific files
...
git-svn-id: trunk@13404 -
2009-07-17 15:13:02 +00:00
sekelsenmat
f6e203cf3b
Initial commit for the FPVectorial library
...
git-svn-id: trunk@13403 -
2009-07-17 14:27:35 +00:00
florian
5d8835861c
+ unicode functions for sysutils, makes tunistr6.pp compiling
...
git-svn-id: trunk@13402 -
2009-07-17 14:05:19 +00:00
Jonas Maebe
e8088fd4ec
+ test from mantis #14155
...
git-svn-id: trunk@13401 -
2009-07-17 12:22:22 +00:00
Jonas Maebe
754696d1f5
* enable converting procedure callnodes with only default parameters into
...
procvars in tp/delphi mode (mantis #11771 )
git-svn-id: trunk@13400 -
2009-07-17 10:29:56 +00:00
florian
ee49e8acb6
* SScanf uses StrToFloat to convert the string to a float so it has to use DecimalSeparator to parse the string
...
* test adapted to use DecimalSeparator to create the test string
git-svn-id: trunk@13399 -
2009-07-16 21:12:45 +00:00
florian
87df99a53d
* reverted partially r11598 because it breaks delphi compatibility and e.g. tw3721.pp
...
git-svn-id: trunk@13398 -
2009-07-16 21:01:27 +00:00
joost
3f98f6a5d0
* When a dataset is closed and it is not prepared it is assumed that a
...
problem occured, and unprepare is called to clean everything up. But in
case the dataset is read from a data-packet, the dataset is also not
prepared but no problem occured, so do not call unprepare
* Always use AllocateCursorHandle to allocate a cursor, or else its type
can be different from what the connection expects
git-svn-id: trunk@13397 -
2009-07-16 20:45:51 +00:00
Jonas Maebe
deb052c3f5
* skip glibc-specific modifiers while parsing the locale info
...
(patch by Petr-K, fixes mantis #12148 )
git-svn-id: trunk@13396 -
2009-07-16 16:51:10 +00:00
Jonas Maebe
4e446c6184
* use ShortTimeFormat also for LongTimeFormat if T_FMT_AMPM is not defined
...
for the current locale (Kylix-compatible, thanks to Luca Olivetti for
the hint, fixes mantis #13947 )
git-svn-id: trunk@13395 -
2009-07-16 16:44:15 +00:00
Jonas Maebe
55578e8226
* fixed FloatToDecimal() for inf/nan (mantis #14143 , thanks to
...
Sergei Gorelkin for the test program)
git-svn-id: trunk@13394 -
2009-07-16 13:11:36 +00:00
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