Commit Graph

28434 Commits

Author SHA1 Message Date
florian
427d35e816 * updated also 2006 copyright strings
git-svn-id: trunk@10734 -
2008-04-20 08:35:06 +00:00
yury
7869db56cc * Fixed tests to compile for wince.
git-svn-id: trunk@10733 -
2008-04-19 23:21:24 +00:00
yury
f9eb22394d * Skip UTF-8 BOM.
git-svn-id: trunk@10732 -
2008-04-19 23:18:54 +00:00
tom_at_work
30cb2b088b * also updated compiler copyright date to 2008 in the translations that translated the affected string
git-svn-id: trunk@10731 -
2008-04-19 23:16:56 +00:00
tom_at_work
50b98f1177 * updated compiler copyright date to 2008
git-svn-id: trunk@10730 -
2008-04-19 23:03:02 +00:00
tom_at_work
d84e8adc77 further fix for tw10233 on powerpc(64) platforms:
* do not overwrite left.location.register in second_int_to_bool() but use temp register when converting input value to C style truth values (i.e. 0,-1). With -Or enabled this register will be reused not containing the correct value anymore.

git-svn-id: trunk@10729 -
2008-04-19 22:47:41 +00:00
tom_at_work
20737f0ac1 fix webts/tw10033 on ppc64:
* correctly write rtti for enumerations (missing alignment instructions on CPUs requiring proper alignment, breaking on architectures with 64 bit pointers)
* fix hardcoded offsets in fpc_write_text_enum
* updated example program

git-svn-id: trunk@10728 -
2008-04-19 22:06:18 +00:00
Jonas Maebe
61f266bf4f + add support for different modes on startup instead of only one
hardcoded one

git-svn-id: trunk@10727 -
2008-04-19 21:58:23 +00:00
Jonas Maebe
18b66ad036 * fixed opcode decoding after r10418 ("shortint and $80" now becomes
a byte instead of remaining a shortint) + fixed (harmless) range error

git-svn-id: trunk@10726 -
2008-04-19 21:54:48 +00:00
yury
10a286532f * Fixed Wide<->Ansi conversion for wince.
git-svn-id: trunk@10725 -
2008-04-19 21:52:12 +00:00
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