Commit Graph

28407 Commits

Author SHA1 Message Date
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
yury
3dc94e678d * Fixed fpc_shortstr_assign for arm.
git-svn-id: trunk@10635 -
2008-04-12 15:58:35 +00:00
yury
a9295d1c66 * On windows event can not be "abandoned". Skip this part of the test.
git-svn-id: trunk@10634 -
2008-04-12 14:44:55 +00:00
yury
adeafe6ef4 * Updated readme about running test suite on arm-wince device.
git-svn-id: trunk@10633 -
2008-04-12 14:14:55 +00:00
yury
62e616cae0 * Fixed warnings. rtl is warnings and notes free for wince and win32 again.
git-svn-id: trunk@10632 -
2008-04-12 13:34:26 +00:00
yury
bc50a7fd6c * Removed unused vars.
git-svn-id: trunk@10631 -
2008-04-12 13:29:48 +00:00
yury
9472825478 * Fixed warnings.
git-svn-id: trunk@10630 -
2008-04-12 11:46:04 +00:00
yury
5dc6e54925 * Removed inline for procedures with assembler or formal parameters, since inline is not supported for them (compiler warns about that now). Even if there is no inline modifier in interface declaration of procedure, it is possible to specify inline in procedure implementation if needed (e.g. for generic implementations) and inlining will work for them.
git-svn-id: trunk@10629 -
2008-04-12 11:37:49 +00:00
yury
0399268e0a * Fixed packages building for wince.
git-svn-id: trunk@10628 -
2008-04-12 11:05:38 +00:00
joost
654898d11a * Moved code to clear calculated fields from TDataset to TBufDataset, based on patch from Petr Kristan
git-svn-id: trunk@10627 -
2008-04-11 20:26:03 +00:00
marco
36b557b142 * quick test successful -> commit
git-svn-id: trunk@10626 -
2008-04-11 15:00:26 +00:00
florian
951a202e5d * fix by Jan Bruns for #11042: improves reading of references on arm
git-svn-id: trunk@10625 -
2008-04-10 19:47:49 +00:00
florian
6c5471f324 * don't destroy LastError when resolving a threadvar on windows, resolves #10205 (?)
git-svn-id: trunk@10621 -
2008-04-09 21:27:11 +00:00
michael
fce221f9b4 * Added clocale.pp from Petr Kristan
git-svn-id: trunk@10620 -
2008-04-09 08:32:26 +00:00
Jonas Maebe
42a4684f60 * use global label to refer enum subrange type for setdefs
on systems without tf_dwarf_only_local_labels to avoid
    potential problems when using the set type in a separate
    unit

git-svn-id: trunk@10619 -
2008-04-09 08:03:55 +00:00
joost
1a4ee73146 * Added NoWideStringSupport runtime error
git-svn-id: trunk@10618 -
2008-04-08 21:19:52 +00:00
michael
d20636a319 * Fix from Petr Kristan to remofe timereformat (kills AM/PM)
git-svn-id: trunk@10616 -
2008-04-08 17:37:05 +00:00
joost
dd348c8093 * Patch from Petr Kristan to fix TDataSet.SetFieldDefs
git-svn-id: trunk@10615 -
2008-04-08 17:04:12 +00:00