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
pierre
820c1c693e
* fix problem if OpenOffice is not installed
...
git-svn-id: trunk@13879 -
2009-10-17 07:27:23 +00:00
sergei
013fbb8566
Fixed memory leaks in tests.
...
git-svn-id: trunk@13878 -
2009-10-16 22:50:46 +00:00
marco
e6fe8300be
* replaced TObjectList by TList because it generated a
...
winunits-base <-> fcl-base dependancy conflict.
git-svn-id: trunk@13877 -
2009-10-16 21:58:12 +00:00
marco
3f75bea982
* Comobj and comserv enhancements by mspiller, #14822 (which also bears relevance to 10569,14807)
...
git-svn-id: trunk@13876 -
2009-10-16 20:32:59 +00:00
marco
5121f470a2
* moved ugetrlimit to the implementation (as linux specific call it shouldn't be exported)
...
* syscall implementation for FreeBSD of get/setrlimit
git-svn-id: trunk@13875 -
2009-10-16 18:47:43 +00:00
ivost
fff6e218af
* readded BeforeDestructor that calls Destroying (delphi compatibility issue)
...
* uncommented code in Notification procedure (delphi compatibility issue)
git-svn-id: trunk@13874 -
2009-10-16 18:12:11 +00:00
ivost
3cfcdb2ab9
* reverted parts of r13852 (removed +/- with sets and added include/exclude)
...
git-svn-id: trunk@13873 -
2009-10-16 17:34:50 +00:00
marco
045ba4a1af
* added cmdbar_help/cmdbar_ok
...
git-svn-id: trunk@13872 -
2009-10-16 17:00:46 +00:00
michael
e4244e0452
* Forgot to commit
...
git-svn-id: trunk@13871 -
2009-10-16 15:31:25 +00:00
michael
44f14996c5
* Added dummy definitions of readstr/writestr
...
git-svn-id: trunk@13869 -
2009-10-16 13:41:23 +00:00
michael
2a61a28910
* Patch from Luiz Americo to clear fielddefs when filling fielddefs
...
git-svn-id: trunk@13868 -
2009-10-16 12:05:26 +00:00
michael
c8d72ce4aa
* Patch from Luiz Americo to fix access violation when transforming date field
...
git-svn-id: trunk@13867 -
2009-10-16 11:27:38 +00:00
michael
cb29ddbd04
* TryStrToTime/TryStrToDate no longer need to catch exceptions
...
git-svn-id: trunk@13865 -
2009-10-16 09:31:09 +00:00
michael
dadd6631ad
* Patch from Alex Rayne (bug ID 14622) to provide some overloaded versions of the strtodate/strtotime functions
...
git-svn-id: trunk@13864 -
2009-10-16 08:16:55 +00:00
sergei
f68faa154d
xmlread.pp: now uses TNSSupport class from xmlutils unit instead of its own copy of the same code.
...
git-svn-id: trunk@13861 -
2009-10-15 22:11:13 +00:00