Commit Graph

28424 Commits

Author SHA1 Message Date
yury
b64519162d * Fixed warning.
git-svn-id: trunk@10724 -
2008-04-19 21:31:46 +00:00
joost
51c45335ae * Removed space before fieldname
git-svn-id: trunk@10722 -
2008-04-19 19:56:22 +00:00
tom_at_work
ee76679326 * cleaned up r10705 for ppc, improved comments
git-svn-id: trunk@10721 -
2008-04-19 19:54:09 +00:00
joost
714523866b * Indexes based on ftFloat fields were reverted
git-svn-id: trunk@10720 -
2008-04-19 19:35:18 +00:00
Jonas Maebe
78f96e857c + test for mantis #10863
git-svn-id: trunk@10717 -
2008-04-19 17:19:30 +00:00
florian
9595256ff5 * cleaned up overleft of 10710
git-svn-id: trunk@10712 -
2008-04-19 11:38:54 +00:00
florian
92b16f8876 + TTypedComObject
+ skeleton for TTypedComObjectFactory

git-svn-id: trunk@10711 -
2008-04-19 09:34:00 +00:00
florian
4e7e0f620a * first try to fix #10863 (don't do SSL in case left is already handled in an assignment node)
git-svn-id: trunk@10710 -
2008-04-19 09:23:45 +00:00
Tomas Hajny
979d1ac07f * fixes for code generation switches and associated dialog box, with assistance of Robert Riebisch
git-svn-id: trunk@10708 -
2008-04-19 01:15:03 +00:00
Jonas Maebe
43c3260810 + OS_S16->OS_32 test for ppc64
git-svn-id: trunk@10707 -
2008-04-18 21:07:20 +00:00
joost
bafff6548d * Removed "as" keyword from query, it is not supported by Firebird
git-svn-id: trunk@10706 -
2008-04-18 20:14:21 +00:00
Jonas Maebe
263984f874 * fixed a_load_ref_reg for OS_S8->OS_16 for ppc32, ppc64 and sparc
(and on ppc64 also for OS_S8->OS_32 and OS_S16->OS_32)
  * adapted tcnvint6 to check for ppc64 OS_S16->OS_32 conversion
    (the old comparison was performed using a 32 bit compare and
     therefore did not notice the wrong result)

git-svn-id: trunk@10705 -
2008-04-18 20:04:55 +00:00
Jonas Maebe
57087da620 * return an empty string for paramstr(value>paramcount) (already correct
for other targets, mantis #11169)

git-svn-id: trunk@10704 -
2008-04-18 16:56:44 +00:00
Jonas Maebe
bbd2d4ee1c * don't run, it's a unit
git-svn-id: trunk@10702 -
2008-04-18 16:07:34 +00:00
yury
4c769f6148 * Fixed test to be locale independent.
git-svn-id: trunk@10697 -
2008-04-18 14:18:14 +00:00
yury
b0e41fdf4b * This test is not for wince.
git-svn-id: trunk@10696 -
2008-04-18 14:11:04 +00:00
yury
c76432b080 * Fixed test by changing float value from 1E+100 to 1E+10, since 1E+100 value can not be reliably used for comparison on ARM due to precision loss.
git-svn-id: trunk@10694 -
2008-04-18 13:47:29 +00:00
yury
b14276d62a * Fixed tests to be locale independent.
git-svn-id: trunk@10693 -
2008-04-18 13:31:43 +00:00
yury
9222540e84 * Small optimization.
git-svn-id: trunk@10692 -
2008-04-18 11:46:39 +00:00
yury
95ea5d87dd * Fixed int to int conversion in ARM code generator.
+ Added new test to detect more bugs in int to int conversion.

git-svn-id: trunk@10691 -
2008-04-18 11:31:12 +00:00
yury
b70bf05ad5 * I hope it's proper fix for r10688.
git-svn-id: trunk@10690 -
2008-04-18 10:51:56 +00:00
yury
e71d631c24 * Fix for tw10233 for all CPUs.
git-svn-id: trunk@10688 -
2008-04-18 07:38:25 +00:00
joost
7c64c5642d * Reverted cyclic-merge-garbage from r10572
git-svn-id: trunk@10683 -
2008-04-17 15:50:05 +00:00
Tomas Hajny
a4a1999e4f * fix broken offsets and improve reliability on GO32v2, mostly based on input by Robert Riebisch
git-svn-id: trunk@10682 -
2008-04-17 05:21:14 +00:00
yury
ec943198fd * Properly fill treference.alignment when variable is loaded by tcgloadnode. It allows code generator to insert unaligned handling if needed.
* Improved generic a_load_ref_reg_unaligned if ref alignment is 2.
* Improved unaligned load/store of register for ARM.
* It fixes passing records by value on ARM.
+ New test.

git-svn-id: trunk@10681 -
2008-04-16 23:01:20 +00:00
yury
24be2c31f7 * Fixed tw11027.
* Updated tcnvint2 to new rules.

git-svn-id: trunk@10677 -
2008-04-16 08:34:30 +00:00
joost
68572932d4 Patch from Luiz Americo:
- Correctly recognizes fields resulted from an expression or subquery
- Remove unnecessary fields (FExpected*)
- Group boolean fields together
- Format surrounding code

git-svn-id: trunk@10676 -
2008-04-16 08:32:03 +00:00
yury
771479e65c * Improved fix for bug #10233 for better Delphi compatibility and efficiency:
- Explicit typecasts like LongBool(byte_value) do not change ordinal value.
  - Explicit typecasts like ByteBool(longint_value) do not change ordinal value and can lead to data loss if longint_value is outside of ByteBool range.
  - Explicit typecasts like ByteBool(LongBool) handle type ranges correctly.
  - Updated test tw10233.pp. It is passed by Delphi as well.

git-svn-id: trunk@10672 -
2008-04-15 22:19:29 +00:00
joost
683f59a70c * Fixed test TestAddDblIndex
* Set the function result properly in DBCompareText 
 * Rewrote TBufDataset.Locate, it now uses parts of the indexes-code (+test)

git-svn-id: trunk@10671 -
2008-04-15 21:29:56 +00:00
joost
a681f946f8 * Do not search for a semicolon anymore to check if there is more then one field in FieldValues
git-svn-id: trunk@10670 -
2008-04-15 21:12:52 +00:00
yury
cf235145cb * Fixed a_load_reg_reg for arm.
* Fixed sign/zero-extension in second_int_to_bool for all CPUs. x86 and pppc were not affected by this bug, but I fixed it for all CPUs for consistency.
* cg/tcnvint1 is passed on arm now.

git-svn-id: trunk@10669 -
2008-04-15 20:44:27 +00:00
michael
92d83f61a2 * Patch from Giulio Bernardi to fix installation
git-svn-id: trunk@10668 -
2008-04-15 18:29:08 +00:00
Jonas Maebe
7901625134 * call finalization routine of dynamic linker before exiting (forgot to
commit earlier)

git-svn-id: trunk@10663 -
2008-04-14 12:00:48 +00:00
yury
18e663240a * Fixed AnsiXXX string handling routines.
git-svn-id: trunk@10659 -
2008-04-13 20:59:11 +00:00
joost
809d16257b * Case-insensitive indexes support
git-svn-id: trunk@10657 -
2008-04-13 18:35:03 +00:00
joost
d7983c3936 * Removed obsolete code
git-svn-id: trunk@10656 -
2008-04-13 17:47:04 +00:00
Jonas Maebe
a3b877247c * don't perform call/jmp into push/jmp in case we're generating
pic, as that optimization is invalid in that case

git-svn-id: trunk@10655 -
2008-04-13 17:03:07 +00:00
joost
97f2a80d0d * Implemented descending indexes, for those too lazy to use last-prior-prior ;)
* TBufDataset.AddIndex has got the new parameters options,descfields and caseinsfields

git-svn-id: trunk@10654 -
2008-04-13 16:51:11 +00:00
joost
0aacad124c * Placed warning in the code that RowsAffected does not work properly with range-checking
git-svn-id: trunk@10653 -
2008-04-13 16:43:36 +00:00
yury
f82028ec50 * Removed unused local var.
git-svn-id: trunk@10652 -
2008-04-13 16:19:16 +00:00
yury
20a12503b8 * Fixed fpc_shortstr_to_shortstr for arm.
git-svn-id: trunk@10651 -
2008-04-13 16:17:14 +00:00
joost
a27c5a8af5 * Fix testLargeIntValues
git-svn-id: trunk@10650 -
2008-04-13 16:05:20 +00:00
yury
348e30958e * If object has VMT, properly align whole object instance if target CPU requires alignment. It fixes usage of static object instances created as var or const on CPUs which require alignment.
* Partially reverted Micha's fix in revs 10544,10546,10548, because it is not needed anymore.

git-svn-id: trunk@10648 -
2008-04-13 15:36:44 +00:00
yury
4341b18461 * Fixed cleanroom implementation of DoVarClearArray. It fixes tw9098.
git-svn-id: trunk@10647 -
2008-04-13 15:19:58 +00:00
michael
d8fdb83aa2 * Fixed access violation
git-svn-id: trunk@10644 -
2008-04-13 14:37:58 +00:00
Jonas Maebe
76e23fc54e * fixed internalerror when having to choose between different
overloads in case there is only one variant parameter and
    one of the candidates has more hidden parameters than the
    other at the start (e.g. function(para):char and
    function(para):shortstring, depending on in which order the
    hidden shortstring result and para are processed, mantis
    #11139)

git-svn-id: trunk@10643 -
2008-04-13 10:21:26 +00:00
Jonas Maebe
81ad9ea6e8 * fixed typo in r10602 causing the names of all record structures of
classes to be replaced with "sym_name" in the debuginfo

git-svn-id: trunk@10642 -
2008-04-13 09:36:31 +00:00
Jonas Maebe
af44dfc40b o BeOS fixes from Olivier Coursière:
* compilation fix for tthread.inc
   * fix BeOS dependencies for fcl-db

git-svn-id: trunk@10638 -
2008-04-12 19:28:47 +00:00
michael
6650d151f6 * Fixed (hopefully) childpos writing
git-svn-id: trunk@10637 -
2008-04-12 18:43:17 +00:00
Jonas Maebe
668d1283a9 + test for already fixed mantis 11053
git-svn-id: trunk@10636 -
2008-04-12 17:47:12 +00:00