Commit Graph

36208 Commits

Author SHA1 Message Date
florian
a8a8451527 * patch by Max Nazhalov to improve performance of string to float conversion for numbers with large exponents, resolves #21183
git-svn-id: trunk@20701 -
2012-04-03 21:50:07 +00:00
florian
fecafd8bb7 * unified formatting
git-svn-id: trunk@20700 -
2012-04-03 19:30:04 +00:00
florian
79a77ae7d6 + in_generic for testing if currently a generic declaration/definition is parsed/record
* omit several error messages when in_generic is true because the error can be checked only during specialisation, resolves the issue reported in #21592

git-svn-id: trunk@20699 -
2012-04-03 19:29:09 +00:00
sergei
69802878c6 * xmlread.pp, changed constructor using TXMLCharSource into two constructors using TStream and Text, in order to simplify the upcoming public usage of this class.
git-svn-id: trunk@20698 -
2012-04-03 18:02:27 +00:00
florian
a1f9055978 * formatting
git-svn-id: trunk@20697 -
2012-04-03 16:14:15 +00:00
pierre
24ba8e2dca * Fix bug #21607
git-svn-id: trunk@20696 -
2012-04-03 07:27:55 +00:00
Tomas Hajny
2a57a6a307 * add previously missing support for proper handling of -? from the fpc binary
git-svn-id: trunk@20695 -
2012-04-02 22:24:01 +00:00
Tomas Hajny
b12c38984b * fpc binary supported options made localizable and not shown separately from those handled by ppc* any longer
git-svn-id: trunk@20694 -
2012-04-02 22:11:21 +00:00
marco
e7e486c38a * Fixes newer protocol versions of year and genre, Mantis #21623
git-svn-id: trunk@20693 -
2012-04-02 11:52:40 +00:00
marco
f8e33a7a9c * reenable dblib/freetds for win64, after successfull test.
git-svn-id: trunk@20692 -
2012-04-02 11:46:51 +00:00
michael
ab0a7d096c * Overloaded AddStrings
git-svn-id: trunk@20691 -
2012-04-02 11:22:02 +00:00
olivier
8c7d54de5c * Better signal configuration to handle correctly a second exception
like in test texception10.pp.

git-svn-id: trunk@20690 -
2012-04-02 01:06:09 +00:00
pierre
9d9a5013fd * Fix pthread_mutexattr_t type according to /usr/include/pthread_types.h
git-svn-id: trunk@20689 -
2012-04-01 21:27:18 +00:00
florian
bb8be38607 - removed some no longer used constants
git-svn-id: trunk@20688 -
2012-04-01 20:49:34 +00:00
sergei
dfec10d430 * Renamed TXMLCharSource.SystemID to SourceURI to better reflect its purpose (System ID should typically be combined with Base URI to get the full URI for the given resource).
git-svn-id: trunk@20687 -
2012-04-01 20:44:32 +00:00
sergei
9525abb330 * Simplified TXMLTextReader.ReadTopLevel() a bit.
git-svn-id: trunk@20686 -
2012-04-01 19:16:16 +00:00
florian
df0201799e o patch by Nico Erfurth: Support Assembly optimized functions of SwapEndian on ARM
Currently the ARM-Port uses generic functions for SwapEndian, which are
relativly slow.

This patch adds optimized functions for the 32 and 64-bit case, the 16
bit case is still handled with a normal function, while the generated
code is far from optimal, the inlining (which is not possible with
asm-functions) makes it faster than the optimized function.

Some Numbers from my 1.2GHz Kirkwood (ARMv5):

                        Old     New     Result
SwapEndian(Integer)     12.168s 5.411s  44.47%
SwapEndian(Int64)       168.28s 9.015s   5.36%

Testcode was
begin
        I := $FFFFFFF;
        while I > 0 do
        begin
                Val2 := MySwapEndian(Val);
                Dec(I);
        end;
end.

Currently only the ARM implementation is tested. ARMv6+ includes a rev
instruction, while I've implemented them, I was not able to test them.

git-svn-id: trunk@20685 -
2012-04-01 17:31:49 +00:00
marco
e0ae28b967 * Original author of GMP package now does wants to be named.
git-svn-id: trunk@20684 -
2012-04-01 13:17:24 +00:00
olivier
76602008b5 * Updated haiku signal definitions to reflect changes made in Haiku
after alpha release 3.

git-svn-id: trunk@20683 -
2012-04-01 08:03:12 +00:00
marco
a75e298088 * enable parts of sqldb,dblib and fpindexer for Haiku. Patch by Oliver, Mantis #21618
git-svn-id: trunk@20682 -
2012-03-31 20:11:51 +00:00
sergei
c815a8d040 * Changed entity handling to use a callback, makes TXmlTextReader class completely independent from the DOM stuff.
git-svn-id: trunk@20681 -
2012-03-31 16:07:38 +00:00
michael
a999648726 * Applied patch from 21583
git-svn-id: trunk@20680 -
2012-03-31 09:18:01 +00:00
pierre
2c941ec5d9 Recompile sparc-linux objects using gcc Debian 4.3.2-1.1
git-svn-id: trunk@20679 -
2012-03-30 21:13:00 +00:00
sergei
c060466fb8 * Fixed WriteXML() for non-document nodes after r20538, Mantis #21609
git-svn-id: trunk@20678 -
2012-03-30 18:06:03 +00:00
marco
71e20b1b59 * Raise error on unknown datatypes and adds support for ftbcd params.
Patch by Ludo Brands, Mantis #21611.

git-svn-id: trunk@20677 -
2012-03-30 16:08:38 +00:00
marco
fd234c7e41 * Fix from Ludo Brands to properly free parameters in deallocated cursors. Mantis #21608
git-svn-id: trunk@20676 -
2012-03-30 16:06:45 +00:00
marco
83528edbd6 * Initial support for Oracle metadata, patch by Ludo Brands, Mantis #21606
git-svn-id: trunk@20675 -
2012-03-30 16:04:21 +00:00
pierre
c3da1aa542 Reenabled D0-D30 registers
git-svn-id: trunk@20674 -
2012-03-30 15:54:05 +00:00
pierre
b2608f326e Fix error in final output
git-svn-id: trunk@20673 -
2012-03-30 15:46:57 +00:00
pierre
f1203398d9 + Add sparc register includes generation rule
git-svn-id: trunk@20672 -
2012-03-30 15:45:45 +00:00
pierre
ce90cae9f4 + Add sparc register includes generation rule
git-svn-id: trunk@20671 -
2012-03-30 15:45:38 +00:00
joost
8cb037fb59 * Always show a message when a package is about to be installed, not only in
verbose mode. This way it is always clear which package is being installed 
   in case of an error.

git-svn-id: trunk@20670 -
2012-03-30 14:41:09 +00:00
joost
265f54b26b * Added ability to specify installation-destination path of
TPackage.InstallFiles
 * Added bininstalldir, prefix and unitinstalldir macro''s

git-svn-id: trunk@20669 -
2012-03-30 14:29:50 +00:00
Jonas Maebe
cbc30a68ae - removed solaris from the SqliteOSes, because ibconnection is not
compiled for that target (which is unrelated to SQLite, but that
    set is also used to determine whether or not to compile fbindexdb,
    which depends on that unit -- please fix the dependencies properly
    when adding new units)

git-svn-id: trunk@20668 -
2012-03-30 09:54:40 +00:00
Jonas Maebe
39242c2cfa - removed changes from r20660 (ARM hard float patch): ARM VFP regvars are
in LOC_CMMREGISTER, not in LOC_CFPUREGISTER (and they also are there in
    case the softfp calling convention is used), and this change broke SPARC

git-svn-id: trunk@20667 -
2012-03-30 09:52:36 +00:00
Jonas Maebe
e13f9b5a2b * only link libgcc for softfloat helpers on ARM if we are compiling for
softfloat

git-svn-id: trunk@20666 -
2012-03-29 20:54:56 +00:00
Jonas Maebe
2a8f624eb0 * fixed returning small but "non-simple" records on ARM platforms that use
the old APCS calling convention (such as iOS): they are returned by
    reference

git-svn-id: trunk@20665 -
2012-03-29 20:54:51 +00:00
Jonas Maebe
8525a30d9f * don't generate a classClass call for objc loadvmtaddrnodes generated
for inherited calls (that is only required when not using them for
    dispatch purposes, and calling an inherited method is obviously
    a dispatch situation)

git-svn-id: trunk@20664 -
2012-03-29 20:54:47 +00:00
Jonas Maebe
dabcfc2806 + LOC_(C)LOC_SUBSETREF/G support for tcg.a_loadmm_loc_reg()
git-svn-id: trunk@20663 -
2012-03-29 20:54:42 +00:00
Jonas Maebe
86265534d0 * fixed misplaced endif that caused the default target not be set when
(hypothetically) running the compiler on Darwin/ARM

git-svn-id: trunk@20662 -
2012-03-29 20:54:38 +00:00
Jonas Maebe
bba4b02eb2 * use r7 instead of r11 as frame pointer on Darwin/iOS, and make sure r7
always points to the previous r7 on the stack (with the saved return
    address coming right after it) so that the debugger and crashreporter
    can use it for backtraces as specified in the ABI
   o changed NR_FRAME_POINTER_REG and RS_FRAME_POINTER_REG from a symbolic
     into a typed constant, and added a new method to tprocinfo that can
     be used to initialze it (so it can be inited to r7/r11 depending on
     the target platform)
  * allow using r9 on Darwin, it was only used by the system on iOS up to
    2.x, which we no longer support
  * prefer using r9 and r12 before r4..r11 on Darwin, because they are
    volatile and hence do not have to be saved

git-svn-id: trunk@20661 -
2012-03-29 20:54:33 +00:00
Jonas Maebe
6ba8dc7146 + support for the ARM hard float EABI on Linux (patch by Peter Green):
o new eabihf (hard float) abi
   o vfpv3_d16 variant of VFP (default variant used by EABI assemblers: VFPv3
     with only 16 double registers instead of 32) and pass it to GNU as
   o make the odd numbered single precision floating point VFP registers
     available for explicit allocation for use by the calling convention
  * fixed copy/paste error in stdname of S30 register
  -> use -dFPC_ARMHF to create an ARM eabi hard float compiler
  (mantis #21554)

git-svn-id: trunk@20660 -
2012-03-29 20:50:09 +00:00
Jonas Maebe
670ee264de * fixed upper bound of several helper array types for set operations
(not really important, unless range checking would be enabled)

git-svn-id: trunk@20659 -
2012-03-29 20:34:56 +00:00
Jonas Maebe
431e494548 * removed "packed" from a few OS interface records
git-svn-id: trunk@20658 -
2012-03-29 20:32:42 +00:00
Jonas Maebe
a2de97f932 * fixed parameter types of pthread_mutex_destroy, pthread_mutex_lock and
pthread_mutex_unlock (ppthread_mutexattr_t -> ppthread_mutex_t)

git-svn-id: trunk@20657 -
2012-03-29 20:32:20 +00:00
marco
4f3f5b9374 * disable some dbtypes for win64 that have no know working clientlib,
patch by Reinier, Mantis #21579

git-svn-id: trunk@20656 -
2012-03-29 18:13:20 +00:00
marco
06688db698 * wvsprintf* to stdcall, mantis #21591
--This line, and those below, will be ignored--

M    win/wininc/unidef.inc
M    win/wininc/ascfun.inc
M    win/wininc/ascdef.inc
M    win/wininc/unifun.inc

git-svn-id: trunk@20655 -
2012-03-29 17:43:38 +00:00
marco
493064a241 * Patch from Ludo to preinitialize certain (var)parameters that are only
partially inited in some versions. (Endianess?) Mantis #21596

git-svn-id: trunk@20654 -
2012-03-29 17:39:43 +00:00
Jonas Maebe
d3004d2bf6 * use same defaults for iPhoneSimulator as for iOS (UTF-8 etc, newer
iPhoneSimulator platforms no longer inherit the Mac OS X settings)

git-svn-id: trunk@20653 -
2012-03-29 17:13:29 +00:00
Jonas Maebe
87f7d65650 * made several OS interfacing records non-packed, since they are not packed
in the system headers either

git-svn-id: trunk@20652 -
2012-03-29 17:10:13 +00:00