Commit Graph

30916 Commits

Author SHA1 Message Date
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
marco
c14fb4b1c8 * custapp has univint deps on OS X.
git-svn-id: trunk@13911 -
2009-10-19 19:45:19 +00:00
Jonas Maebe
52579c0f11 * fixed darwin dependencies after r13902
git-svn-id: trunk@13910 -
2009-10-19 12:51:31 +00:00
florian
eb433d1bdd * merged sealed and abstract support by Paul Ishenin
-- Zusammenführen von r13884 in ».«:
U    compiler/msgtxt.inc
U    compiler/msgidx.inc
U    compiler/pdecsub.pas
U    compiler/pdecobj.pas
U    compiler/tokens.pas
U    compiler/ppu.pas
U    compiler/symconst.pas
U    compiler/msg/errore.msg
U    compiler/utils/ppudump.pp
-- Zusammenführen von r13885 in ».«:
A    tests/test/tsealed1.pp
A    tests/test/tabstract1.pp
A    tests/test/tsealed2.pp
-- Zusammenführen von r13893 in ».«:
A    tests/test/tsealed3.pp
A    tests/test/tsealed4.pp

git-svn-id: trunk@13908 -
2009-10-18 20:05:29 +00:00
marco
caed0543e4 * pqsetdb was not exported in -dyn variant Mantis #14430
git-svn-id: trunk@13907 -
2009-10-18 10:56:08 +00:00
sergei
edb79b62e0 * Changed TSpecialCharCallback from method into a regular procedure, this allows to drop all the {$ifdef fpc}@{$endif} ugliness.
* Also changed TSpecialCharCallback to take the string and the index, so it can process certain sequences, not only single chars.
* In canonical mode, CDATA sections are written as text.

git-svn-id: trunk@13906 -
2009-10-17 22:09:20 +00:00
marco
d709e9d1ab * patch from 14800, check for interface not null assertion
git-svn-id: trunk@13905 -
2009-10-17 21:12:34 +00:00
marco
e6d0c0a2ad * most fixes from comment 31388 in #14802
git-svn-id: trunk@13904 -
2009-10-17 20:25:44 +00:00
marco
778505701c * set/getrlimit now also visible in baseunix when syscalls are used.
on systems that force ugetrlimit, use that transparently. (since 
    ugetrlimit is not posix in theory or practice, we can't export it),
    resolves 13916

git-svn-id: trunk@13903 -
2009-10-17 19:14:09 +00:00
marco
7ad93d7e52 * reworked dependancies around the FCL. daemonapp and servicemanager are isolated into fcl-extra. This makes fcl-base have less dependancies, and other problems then solve themselves.
git-svn-id: trunk@13902 -
2009-10-17 18:41:26 +00:00
marco
deb65efd5d * delete package skeleton that was an attempt to isolate winunits
git-svn-id: trunk@13901 -
2009-10-17 18:37:51 +00:00
marco
3b3aa74731 * empty fcl-extra package that is going to contain daemonapp and ServiceManager
git-svn-id: trunk@13900 -
2009-10-17 18:30:38 +00:00
michael
0bcf5a8488 * Patch from Graeme Geldenhuys to fix some minor issues in code generation (bug ID 13779)
git-svn-id: trunk@13897 -
2009-10-17 14:05:11 +00:00
michael
8fdf9dd80c * Removed px_sdntogregorian for windows
git-svn-id: trunk@13896 -
2009-10-17 14:01:00 +00:00
michael
9f5c7c3344 * Put AppClass in interface section, and put OnRun in public section of daemonapplication
git-svn-id: trunk@13895 -
2009-10-17 13:55:39 +00:00
sergei
d2fa20949a XML writer: write namespace declarations before attribites and optionally sort them as required by c14n.
git-svn-id: trunk@13894 -
2009-10-17 12:30:04 +00:00
marco
d951e3de49 * empty skeleton for winunits-com
git-svn-id: trunk@13889 -
2009-10-17 11:27:35 +00:00
michael
4c2fe8bc31 * Correctly split date/time parts when dateseparator is a space
git-svn-id: trunk@13888 -
2009-10-17 11:18:16 +00:00
sergei
df5dec2106 * TNSSupport.CheckAttribute added check for null nsURI, it should not emit prefixes for namespaceless attributes.
* Reformatted and fixed comments.

git-svn-id: trunk@13886 -
2009-10-17 11:02:01 +00:00
michael
893295dc1e * Added Pack/Unpack dummies, fixed var/out and const params in writestr/readstr
git-svn-id: trunk@13880 -
2009-10-17 09:22:49 +00:00