Commit Graph

31406 Commits

Author SHA1 Message Date
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
Jonas Maebe
122e5714d8 * create/destroy codegen before/after generating exports, because it's
required when generating non-PIC code, and also for all Darwin platforms
    (required after r13801)

git-svn-id: trunk@14181 -
2009-11-15 11:19:09 +00:00
Jonas Maebe
ef66a2aec5 * fixed compilation after r14177
git-svn-id: trunk@14180 -
2009-11-15 11:17:37 +00:00
Jonas Maebe
d267bb3280 r310 | jonas | 2009-11-15 10:35:10 +0100 (Sun, 15 Nov 2009) | 2 lines
* BlockMove() and friends are not available on 64 bit (fix by Gorazd Krosl)

git-svn-id: trunk@14179 -
2009-11-15 09:55:50 +00:00
paul
952a71474a fix test
git-svn-id: trunk@14178 -
2009-11-15 07:16:25 +00:00
Jonas Maebe
af80b89f55 * set default set packing to 1 for TP/Delphi mode (mantis #15088)
git-svn-id: trunk@14177 -
2009-11-14 23:54:10 +00:00
florian
5d01732128 * several fixes which improve the behaviour of nested generics, resolves #15077
git-svn-id: trunk@14176 -
2009-11-14 22:24:55 +00:00
pierre
baf01d1f40 * set DB_USE_SSH allows to force ssh instead of putty
git-svn-id: trunk@14175 -
2009-11-14 17:22:27 +00:00
pierre
fb8d60a03e * use same alignment for i386 solaris as for i386 linux
git-svn-id: trunk@14174 -
2009-11-14 16:27:20 +00:00
pierre
27fc51ce82 * handle cpu specific unists
git-svn-id: trunk@14173 -
2009-11-14 16:24:56 +00:00
michael
8bfab6d4c2 * Added warning about thread-safety
git-svn-id: trunk@14172 -
2009-11-14 11:34:28 +00:00
paul
bcca902839 compiler: add fpc_has_operator_enumerator define
git-svn-id: trunk@14171 -
2009-11-14 11:19:07 +00:00
michael
3e9b6151ee * Added warning about thread-safety
git-svn-id: trunk@14169 -
2009-11-14 10:29:45 +00:00