Commit Graph

30935 Commits

Author SHA1 Message Date
ivost
68fd458a8d * modified mysql to use library handler functions of dynlibs.pas (no interface changes)
git-svn-id: trunk@13977 -
2009-10-30 13:21:27 +00:00
ivost
60242219ef * modified sqlite3dyn to use library handler of dynlibs.pas (no interface changes)
git-svn-id: trunk@13976 -
2009-10-30 13:18:21 +00:00
ivost
bd25e02096 * added some highlevel helper functions to load/unload dynamic libraries.
* initialize/release calls are refcounted. On loading, requested symbols are checked.

git-svn-id: trunk@13975 -
2009-10-30 13:16:13 +00:00
ivost
1e5b61c240 * added 3 new resources strings to describe library errors
git-svn-id: trunk@13974 -
2009-10-30 13:10:31 +00:00
mazen
25788f1b52 * Added support of libgdb V608.
git-svn-id: trunk@13973 -
2009-10-30 11:28:09 +00:00
mazen
fe089df354 * Fixed typo in warning message.
git-svn-id: trunk@13972 -
2009-10-30 11:26:44 +00:00
joost
663a59e75b * Better fix for r13969. Let the database-server handle invalid null-parameters. Tip from Martin Schreiber
git-svn-id: trunk@13971 -
2009-10-30 09:41:39 +00:00
joost
a3760ab67e * Forgot to commit file, fixed compilation
git-svn-id: trunk@13970 -
2009-10-30 06:53:46 +00:00
joost
f546247481 * Raise an exception when a query is executed with a parameter set to null when this is not allowed + test
git-svn-id: trunk@13969 -
2009-10-29 21:18:54 +00:00
joost
6264145aa6 * Use capitalized table names in tests for MySQL
git-svn-id: trunk@13968 -
2009-10-29 20:26:32 +00:00
sekelsenmat
f7044272c8 imagemagick: Adds a pixel access demo and updates some parts to newer imagemagick
git-svn-id: trunk@13967 -
2009-10-29 17:16:38 +00:00
Jonas Maebe
d61eb3528f * make strict string var checking ({$v+}) the default in TP and Delphi modes
(mantis #14929)

git-svn-id: trunk@13966 -
2009-10-29 15:52:14 +00:00
michael
383fe39d35 * Small patch from Graeme to fix ordering (bug ID 14917)
git-svn-id: trunk@13965 -
2009-10-29 15:48:14 +00:00
Jonas Maebe
643cbaf3b6 * made internalerror unique
git-svn-id: trunk@13964 -
2009-10-29 15:35:00 +00:00
michael
bf8ed59c6c * Applied patch from José Mejuto to fix reading of progressive JPEGs
git-svn-id: trunk@13963 -
2009-10-29 15:31:44 +00:00
florian
84c84b4964 + make TObject.Dispatch and DispatchStr virtual, patch by Paul Ishenin, resolves #14920
git-svn-id: trunk@13962 -
2009-10-28 19:22:29 +00:00
sergei
461fde4ed0 xmlread.pp, tighten up checks while parsing the xml declaration:
* Hard limit of literal lengths: 3 on version, 30 on encoding name, 2 or 3 on standalone. Without this, a misplaced quote could cause excessive amount of processing, because input buffer is reloaded by small 3-char chunks at this time.
* Encoding validity is checked in-line, the very first illegal character aborts processing.

git-svn-id: trunk@13961 -
2009-10-26 21:23:24 +00:00
sergei
158afbb5b4 * Fixed bug in length calculation, causing any namespaced attributes with local part differing only in the last character (or consisting of a single character), to be erroneously reported as duplicate.
git-svn-id: trunk@13960 -
2009-10-26 19:17:54 +00:00
ivost
bab5c5d8a3 * parameter "Separator" of function TryStrToDate was not passed to IntStrToDate
git-svn-id: trunk@13959 -
2009-10-26 17:34:07 +00:00
Jonas Maebe
dd937bd32d * don't crash when looking for a local/parasym while current_procinfo is
nil, such as while parsing a property definition (mantis #14849)

git-svn-id: trunk@13958 -
2009-10-26 13:48:58 +00:00
marco
b4f1121808 * second patch from mantis 14822
- registration of tlb
    - registry registration
    - implemented functions needed for comserv register/unregister 
    - registry function
    - finished TTypedComObject (but not really tested)

git-svn-id: trunk@13957 -
2009-10-26 11:02:00 +00:00
andrew
8fd42a53de * reverted 13955 since a fix was already in place
git-svn-id: trunk@13956 -
2009-10-26 01:12:11 +00:00
andrew
46f5d06780 * Fixed a chm reader bug that Return value was not initialized if neither binary or text index existed
git-svn-id: trunk@13955 -
2009-10-26 00:50:15 +00:00
ivost
243e0ff3b5 * reverted r13949 because it's unnecessary test
git-svn-id: trunk@13954 -
2009-10-25 11:06:38 +00:00
florian
292b36205a -- Zusammenführen von r13892 in ».«:
A    tests/test/tsymlibrary1.pp
U    compiler/msgtxt.inc
U    compiler/msgidx.inc
U    compiler/htypechk.pas
U    compiler/msg/errore.msg

git-svn-id: trunk@13953 -
2009-10-25 08:58:22 +00:00
ivost
d4d3227e77 * fixed CompareDate function. Only dates are compared now, ignoring time of day.
git-svn-id: trunk@13949 -
2009-10-24 20:53:00 +00:00
andrew
dd72603442 * Fixed bug #14858 where chmsitemap could not properly read a file
git-svn-id: trunk@13947 -
2009-10-24 19:06:12 +00:00
marco
2dd66cc265 * unitdir shouldn't be in SVN
git-svn-id: trunk@13945 -
2009-10-24 17:10:06 +00:00
michael
89ec956733 * Patch from Mattias Gaertner to fix property overrides. (bug ID 14885)
git-svn-id: trunk@13939 -
2009-10-24 12:34:26 +00:00
florian
ea00759588 + final modifier support for methods by Paul Ishenin
-- Zusammenführen von r13887 in ».«:
A    tests/test/tfinal1.pp
U    compiler/msgtxt.inc
U    compiler/msgidx.inc
U    compiler/pdecsub.pas
U    compiler/tokens.pas
U    compiler/symconst.pas
U    compiler/msg/errore.msg
U    compiler/utils/ppudump.pp
-- Zusammenführen von r13890 in ».«:
G    compiler/msgtxt.inc
G    compiler/msgidx.inc
U    compiler/nobj.pas
G    compiler/msg/errore.msg
-- Zusammenführen von r13891 in ».«:
A    tests/test/tfinal2.pp

git-svn-id: trunk@13938 -
2009-10-24 11:48:52 +00:00
marco
a91e106cde * PWSADAta was missing ^ to make it a pointer.
git-svn-id: trunk@13936 -
2009-10-23 19:01:35 +00:00
michael
45f854c665 * Added UseDisplayFormat property to format fields
git-svn-id: trunk@13932 -
2009-10-23 15:30:09 +00:00
michael
613d88e38d * Fixed 13762 and compilation on windows
git-svn-id: trunk@13931 -
2009-10-23 15:16:26 +00:00
michael
80924b7a4d * Adapted to new pastree declaration
git-svn-id: trunk@13930 -
2009-10-23 15:11:32 +00:00
michael
e50cee9b57 * Added support for export modifier (bug ID 13863)
git-svn-id: trunk@13929 -
2009-10-23 15:11:08 +00:00
michael
ed950da9cc * Forgot raise statement in strtodate (thanks to Denis Golovan)
git-svn-id: trunk@13928 -
2009-10-23 10:24:24 +00:00
michael
9bdebeb50c * (reworked) patch from m. spiller to add turbo delphi doc output format
git-svn-id: trunk@13927 -
2009-10-23 10:16:57 +00:00
michael
19d8ebc5f0 * Patch from m. spiller to actually output xml
git-svn-id: trunk@13926 -
2009-10-23 10:11:50 +00:00
michael
a611bfc103 * (reworked) Patch from m. spiller to implement visitor pattern
git-svn-id: trunk@13925 -
2009-10-23 10:10:34 +00:00
sergei
b1d0bfef75 * Fixed the order of checks during parsing the xml declaration, this provides more accurate diagnostic for tests dtd07, encoding07, ibm77n03.
* Delay switching to xml 1.1 rules until the declaration has been parsed, this ensures that NEL and LSEP chars in declaration are rejected (rmt-056, rmt-057).

git-svn-id: trunk@13922 -
2009-10-23 04:16:15 +00:00
sergei
06b5b65534 Straightening handling of base URI and SystemID:
- TXMLCharSource.PublicID removed, it is unused.
* Base URI of an entity is stored in FURI field of entity, and passed to ResolveEntity.
* When error happens while parsing an internal entity, report the URI where that entity was declared, not where it was included.

git-svn-id: trunk@13921 -
2009-10-22 23:41:24 +00:00
ivost
40069c3112 * changed output parameters from var to out. This suppress some unnecessary hints and it's also done in datih.inc
git-svn-id: trunk@13920 -
2009-10-22 21:26:24 +00:00
Jonas Maebe
fffa66e2f9 * only allow implicit conversions from 0 to NIL in Delphi mode, rather than
from any ordinal constant, and give a warning for this one allowed
    conversion like Kylix does (mantis #14713)
  * this required calling simplify from typecheckpass in ttypeconvnode for
    cord_to_pointer, because this simplification prevents the type checking
    from happening (but the typecheck itself also does that simplification)

git-svn-id: trunk@13919 -
2009-10-22 19:49:08 +00:00
Jonas Maebe
7e0a5aec4c * allowed open "packed" arrays (same as regular open arrays, for
compatibility with some other Pascal compilers) (mantis #14812)

git-svn-id: trunk@13918 -
2009-10-22 19:48:35 +00:00
ivost
2bfe336917 * reverted compon.inc to the state of r13298 (csFreeNotification maybe set even with no freelist allocated)
git-svn-id: trunk@13917 -
2009-10-21 23:26:45 +00:00
ivost
0c725eae43 * fixed setting wrong component state. csDesignInstance and csInline were set inversed.
git-svn-id: trunk@13916 -
2009-10-21 19:24:10 +00:00
sergei
d44c6876cd xpath.pp:
* text() selector matches text and CDATA nodes, but not comments
* Names of processing instructions are now matched as they should.

git-svn-id: trunk@13915 -
2009-10-20 22:13:13 +00:00
sergei
0c50cfe10a + Initial implementation of property TDOMParseOptions.CanonicalForm. The only thing it does yet is ignoring the DTD.
* Fixed relevant tests.

git-svn-id: trunk@13914 -
2009-10-20 22:09:51 +00:00
Jonas Maebe
169ef946a2 * custapp still requires univint for Darwin
git-svn-id: trunk@13913 -
2009-10-20 07:45:31 +00:00
Jonas Maebe
2723c55403 * fixed DWARF info for some methods after r13833: reset the debuginfo for
procdefs after writing it, so that it can be written multiple times in
    different units. It was only written once now, namely the first time it
    was used. If this occurred before the implementation had been parsed, then
    no info about low/high pc was written for this procdef.
  * checking whether procstarttai is assigned is not a good way to determine
    whether or not a procdef is defined in the current unit (it can also be
    set if we are in the middle of parsing a uses clause, since all procdefs
    are only reset afterwards). Check whether the parent static/globalsymtable
    "iscurrentunit" instead.

git-svn-id: trunk@13912 -
2009-10-19 20:03:37 +00:00