Commit Graph

31268 Commits

Author SHA1 Message Date
sergei
25a3cc09ef xmlread.pp: More on entity processing:
* General entities are now processed non-recursively;
* They are now re-parsed on each inclusion, enabling proper validation and ensuring SAX-compatible order of events. Also less dependent on DOM-specific calls like CloneNode.

git-svn-id: trunk@14232 -
2009-11-20 23:32:08 +00:00
Jonas Maebe
1900d12a0c * fixed definition of NSInteger and NSUInteger for 64 bit (fix by
Gorazd Krosl)

git-svn-id: trunk@14231 -
2009-11-20 22:35:55 +00:00
florian
f54365db94 * adapted more fpc-mips stuff to trunk
git-svn-id: trunk@14230 -
2009-11-20 21:13:53 +00:00
Jonas Maebe
536529977a * added header
git-svn-id: trunk@14229 -
2009-11-20 18:38:42 +00:00
florian
0c8546f94c * more MIPS code of David Zhang integrated
git-svn-id: trunk@14228 -
2009-11-20 14:46:45 +00:00
Jonas Maebe
2ef18ba527 * use pipes instead of temporary files by default for assembling under
Darwin

git-svn-id: trunk@14227 -
2009-11-20 13:20:01 +00:00
Jonas Maebe
e244acad77 * set default cpu type to pentiumm for darwin/i386 (since the first Macs
with an Intel cpu had a Core Solo)

git-svn-id: trunk@14226 -
2009-11-20 13:07:45 +00:00
pierre
a93c468518 * Revert wrong commit for fpcfg.inc
git-svn-id: trunk@14225 -
2009-11-20 11:09:19 +00:00
pierre
0687f16a04 * Accept weak for Solaris targets
git-svn-id: trunk@14224 -
2009-11-20 11:06:50 +00:00
pierre
db8f8e2637 + Register x86_64 Solaris
git-svn-id: trunk@14223 -
2009-11-20 11:05:55 +00:00
pierre
7686c36a62 + Register Solaris
git-svn-id: trunk@14222 -
2009-11-20 11:05:09 +00:00
pierre
57b0a1b0da + Add target_x86_64_solaris constant
git-svn-id: trunk@14221 -
2009-11-20 10:51:02 +00:00
blikblum
9e44456f81 * Implement LastInsertRowId
git-svn-id: trunk@14220 -
2009-11-20 00:52:26 +00:00
florian
e5ebb2a26e * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk
git-svn-id: trunk@14219 -
2009-11-19 22:07:10 +00:00
pierre
79ec403774 Fix for multiple exception troubles
git-svn-id: trunk@14218 -
2009-11-19 21:25:04 +00:00
pierre
08350fcc9a * Do not assume '.' is in path for Unix
git-svn-id: trunk@14217 -
2009-11-19 13:55:44 +00:00
marco
c83ee377c1 * some defines from winioctl updated, mantis 15137
git-svn-id: trunk@14216 -
2009-11-19 11:51:03 +00:00
ivost
6941020524 * fixed bug in xsdTryParseBoolean (segfault on null string)
git-svn-id: trunk@14215 -
2009-11-19 11:33:03 +00:00
Jonas Maebe
671f8a1d30 * always immediately reset isdbgwritten for syms in the parasymtable,
because they have to be written multiple times in case the procdef
    is also written multiple times (such as with DWARF on
    tf_dwarf_only_local_labels systems)

git-svn-id: trunk@14214 -
2009-11-18 22:31:08 +00:00
Jonas Maebe
b495fbb991 * let search_class_helper() only return class helper methods; it could
also return regular objcclass methods before, because these are also
    registered under class helper procsyms for future id.anymethod support
  * give an error when calling an inherited method from an objccategory
    method, if that is not declared in the parent of the extended class
    (since calling inherited in an objccategory method is the same as
     calling inherited in a method of the extended class; if a method is
     replaced, calling inherited will *not* call the original method
     from the original class)

git-svn-id: trunk@14213 -
2009-11-18 21:49:57 +00:00
marco
4104d9f481 * More pluggability of the RTL. Mantis 15124
git-svn-id: trunk@14212 -
2009-11-18 21:16:12 +00:00
marco
17062d667c * ansistring versions of mk/rm/chdir in objpas, Mantis 15010. The os-dependant routines of *nix/os2/win/dos have been converted
git-svn-id: trunk@14211 -
2009-11-18 18:04:51 +00:00
ivost
656f122bef * fixed bug in float parser
git-svn-id: trunk@14210 -
2009-11-18 11:47:31 +00:00
sergei
968338c428 * Reverted removal of 'ISO8859-1' encoding because it is still used in fcl-registry.
git-svn-id: trunk@14209 -
2009-11-18 11:42:35 +00:00
pierre
791c165af9 * Use ELF assembler for i386/Solaris target
git-svn-id: trunk@14208 -
2009-11-18 10:50:11 +00:00
sergei
4ec8f0c617 * Call StoreLocation once in SkipQuote, rather than every time after calling it.
- Removed recognition of 'ISO8859-1', as it was a workaround for incorrect fpdoc encodings.
- Removed with statement in ParseContent, it won't work if we handle entities non-recusively, because FSource will be changing.

git-svn-id: trunk@14207 -
2009-11-18 00:48:05 +00:00
Jonas Maebe
749e791768 * fixed in-code for big endian systems and smallsets < 4 bytes
(fixes tbs/tb0219 on big endian systems after r14177)

git-svn-id: trunk@14206 -
2009-11-17 22:05:12 +00:00
michael
b732012438 * Item class is now a class function in TDDFieldDefs
git-svn-id: trunk@14205 -
2009-11-17 20:30:53 +00:00
michael
bf39a852b4 * Implemented GetDisplayName for fielddef
git-svn-id: trunk@14204 -
2009-11-17 20:24:21 +00:00
pierre
59204b21d5 * Correct SigContext structures
git-svn-id: trunk@14203 -
2009-11-17 10:27:20 +00:00
sergei
73b7248597 * Replaced all literal parsing routines with a single ParseLiteral(). Due to entity handling issues, this isn't yet enabled for attributes, therefore the current code contains some amount of redundancy.
* Started refactoring of the entity processing.

git-svn-id: trunk@14202 -
2009-11-16 23:43:01 +00:00
florian
c288e6c105 * deallocate thread variables for the main thread as well, as described in #15002
git-svn-id: trunk@14201 -
2009-11-16 19:36:32 +00:00
marco
805e5a79c6 * writer.writeset, reader.readset as per mantis 10501
git-svn-id: trunk@14200 -
2009-11-16 12:50:18 +00:00
pierre
216199bae4 * Try to fix compilation failure for go32v2
git-svn-id: trunk@14199 -
2009-11-16 10:54:52 +00:00
marco
9666249290 * patch from taka_jp that fixes a bug in the detection sequence (mantis 15093)
git-svn-id: trunk@14198 -
2009-11-16 10:40:55 +00:00
Jonas Maebe
c1408d164f * added some prefetch commands based on profile information about
l2 misses

git-svn-id: trunk@14197 -
2009-11-16 00:18:34 +00:00
Jonas Maebe
f8754d8fab + Objective-C category support (old and new ABI, both external and
implemented in Pascal). See
    http://wiki.freepascal.org/FPC_PasCocoa#Category_declaration for syntax
    details

git-svn-id: trunk@14196 -
2009-11-16 00:12:08 +00:00
Jonas Maebe
9e87f42b16 * made internalerror unique
git-svn-id: trunk@14195 -
2009-11-16 00:06:17 +00:00
sergei
0589b2a846 XML writer:
* Moved line ending processing from the encoder to a higher level; without this, implementing/using external encoders is very problematic.
+ Implemented line ending processing for c14n mode.

git-svn-id: trunk@14194 -
2009-11-15 23:04:02 +00:00
marco
966bcbec9f * fixed the suffixes of fcl-registry dependance of winunits-base. (non related remark in mantis 15079)
git-svn-id: trunk@14193 -
2009-11-15 21:53:19 +00:00
sergei
1a28ccb0be + More c14n conformance in the writer:
* dedicated procedure for writing the document node;
  * no indenting in c14n mode;
  * ignore Specified property of the attributes in c14n mode.

git-svn-id: trunk@14192 -
2009-11-15 21:14:39 +00:00
florian
509447c4b9 + compiled test for win32
* use writeln to show the test result as well for easier manual testing

git-svn-id: trunk@14191 -
2009-11-15 20:56:18 +00:00
florian
f54ea1e9f9 * fix compilation with -dEXTDEBUG
git-svn-id: trunk@14190 -
2009-11-15 18:26:50 +00:00
pierre
3bcc2b660a * New object added
git-svn-id: trunk@14188 -
2009-11-15 17:27:30 +00:00
pierre
ad6b8a639e * do not fail tests if no gcc compiled files are present
git-svn-id: trunk@14187 -
2009-11-15 17:24:24 +00:00
sergei
5c60f0e9e2 XML writer: split CDATA sections at the ']]>' sequence.
git-svn-id: trunk@14186 -
2009-11-15 16:35:13 +00:00
Jonas Maebe
60a9ef963d * finished basic support for calling methods from external C++ classes
(slightly modified patch by Sven Barth, mantis #15082)

git-svn-id: trunk@14185 -
2009-11-15 14:55:40 +00:00
Jonas Maebe
38c09952a3 * don't exit the program in the exit code of shared libraries under Linux
(mantis #14958)

git-svn-id: trunk@14184 -
2009-11-15 13:50:14 +00:00
Jonas Maebe
b9f07ff1fb * changed one typecast too many in r14180
git-svn-id: trunk@14183 -
2009-11-15 13:43:18 +00:00
Jonas Maebe
099ceb9574 - removed, it's automatically generated (and removed) by the build process
git-svn-id: trunk@14182 -
2009-11-15 12:56:39 +00:00