Commit Graph

37976 Commits

Author SHA1 Message Date
sergei
083f0a7137 + Added a flag to tarobjectreader constructor that allows it to work as regular tobjectreader if archive signature is missing.
git-svn-id: trunk@21883 -
2012-07-11 17:39:36 +00:00
michael
a8e634d506 * Added option to remove brackets from menu header From AndrewH (Bug ID 21676)
git-svn-id: trunk@21882 -
2012-07-11 17:13:40 +00:00
michael
153f59a38a * Fixed bug ID #22045
git-svn-id: trunk@21881 -
2012-07-11 16:51:50 +00:00
michael
8eeb22720b * Added GetLoadErrorStr function by Mark Morgan Loyd (Bug ID 22321)
git-svn-id: trunk@21880 -
2012-07-11 15:31:09 +00:00
Jonas Maebe
be8f8fec76 * converted tcg.g_releasevaluepara_openarray() to thlcg
git-svn-id: trunk@21879 -
2012-07-11 15:23:18 +00:00
Jonas Maebe
9197ce100e * converted tcg.g_copyvaluepara_openarray() to thlcg
git-svn-id: trunk@21878 -
2012-07-11 15:23:08 +00:00
Jonas Maebe
596d359e02 * use current code page when converting ansichar to unicodestring
git-svn-id: trunk@21877 -
2012-07-11 15:22:31 +00:00
michael
2bb5a1ba7b * Patch from Ludo Brands to test Modified behaviour
git-svn-id: trunk@21876 -
2012-07-11 15:20:11 +00:00
michael
c10901e460 * Patch from Ludo Brands to fix Modified behaviour (bug ID 22381)
git-svn-id: trunk@21875 -
2012-07-11 15:18:37 +00:00
michael
d28eeaee48 * Patch from Ludo Brands to fix late binding for com servers (bug 22378)
git-svn-id: trunk@21874 -
2012-07-11 15:15:28 +00:00
michael
53186644a7 * Added option to fetch all errors
git-svn-id: trunk@21873 -
2012-07-11 15:08:13 +00:00
michael
bcf3dde7eb * Initialize QueryString
git-svn-id: trunk@21872 -
2012-07-11 14:54:26 +00:00
michael
ffc3164594 * Do not decode the URL before passing it on
git-svn-id: trunk@21871 -
2012-07-11 13:54:07 +00:00
michael
8dc7313374 * Added decode parameter to parseuri
git-svn-id: trunk@21870 -
2012-07-11 13:53:25 +00:00
Jonas Maebe
89c230c035 * moved assert handling from second to first pass, so that the code generator
knows that the frame pointer needs to be available (and the code is also
    much simpler this way), fixes test/units/system/tassert7 after r21843

git-svn-id: trunk@21869 -
2012-07-11 11:49:47 +00:00
michael
093748402e * Only one result section for overloaded functions
git-svn-id: trunk@21868 -
2012-07-11 11:15:09 +00:00
michael
789a6452c9 * Implemented overloaded variant of fileage function
git-svn-id: trunk@21867 -
2012-07-11 10:42:23 +00:00
michael
597483610b * Added UniversalTimeToLocal LocalTimeToUniversal as per bug #17435
git-svn-id: trunk@21866 -
2012-07-11 10:15:25 +00:00
michael
64ab9c06d3 * Added GetLocalTimeOffset function
git-svn-id: trunk@21865 -
2012-07-11 09:56:34 +00:00
sergei
21524c56c6 * If subtrahend symbol belongs to current section, generate a RELATIVE relocation instead of PIC_PAIR. Now the corresponding relative expressions in assembler operands compile correctly on all i386 targets (and x86_64 too, although such feature is less important there).
+ Test.

git-svn-id: trunk@21864 -
2012-07-11 09:05:21 +00:00
masta
57b67dfa30 Better SP adjustments on entry/exit for ARM
If the needed adjustment is not expressible in a shifterconst, the old code
loaded a temporary register (fixed to r12) via a_load_const_reg and used it
to adjust the SP. Resulting in:

mov r12, #44
orr r12, r12, #4096
sub sp, sp, r12

The new code will try to split the adjustment into 2 shifterconstants and
will do two seperate adjustments:

sub sp, sp, #44
sub sp, sp, #4096

If that doesn't work we'll fall back to the old code. But that should
happen VERY rarely, only for stacks bigger than 256k which are not
expressible in 2 shifter constants.

git-svn-id: trunk@21863 -
2012-07-11 08:41:45 +00:00
Jonas Maebe
1955255dda * let thlcg.a_call_name() return the tcgpara representing the function
result location (NR_FUNCTION_RESULT_REG is not valid on all platforms)
   o this requires passing the forced function result type (if any) to this
     method
   o a generic, basic thlcg.a_call_name() is now available that sets the
     function result location; can be called by descendants
  * the availability under all circumstances of the correct function return
    type enables g_call_system_proc() on the JVM platform to now determine
    by itself how many stack slots are removed by the call -> do so, instead
    of manually counting them (or forgetting to do so and messing up the
    maximum evaluation stack height calculations)

git-svn-id: trunk@21862 -
2012-07-11 08:25:58 +00:00
Jonas Maebe
aba6923187 * moved g_test_self() from cgobj to hlcgobj
git-svn-id: trunk@21861 -
2012-07-11 08:25:51 +00:00
Jonas Maebe
276a0918f5 * fixed (harmless) class cast error
git-svn-id: trunk@21860 -
2012-07-11 08:25:42 +00:00
pierre
c38b78ba65 + Add missing implementation of pipe syscall
git-svn-id: trunk@21859 -
2012-07-11 07:48:54 +00:00
pierre
ffd01794fb Reserve R25 () register for PIC function calling
git-svn-id: trunk@21857 -
2012-07-10 21:36:00 +00:00
pierre
489b93f2f5 * Overload hlcg.a_call_ref and a_call_reg methods for cdecl'ared functions to use register
git-svn-id: trunk@21856 -
2012-07-10 21:35:11 +00:00
pierre
3f6c3cbb87 * Call hlcg.a_call_ref and a_call_reg instead of cg methods (needed for MIPS cpu)
git-svn-id: trunk@21855 -
2012-07-10 21:34:03 +00:00
sergei
31f9a9d420 * Fixed label name in .globl and .type directives, was causing every library to contain an unwanted dynamic reference to "_start".
git-svn-id: trunk@21854 -
2012-07-10 17:12:34 +00:00
sergei
1112041ff1 * get_pc_addr on x86_64 needs nostackframe attribute to return the correct value.
git-svn-id: trunk@21853 -
2012-07-10 16:54:42 +00:00
michael
b424ce2aeb GetDeclaration of "is nested" procedure type is now correct
git-svn-id: trunk@21852 -
2012-07-10 16:01:52 +00:00
michael
abaff904a1 * Support for Is Nested procedure declarations (Bug ID 21992)
git-svn-id: trunk@21851 -
2012-07-10 15:59:53 +00:00
michael
f8e6cfc6b8 * Fixed parsing of constref and one more case of deprecated hint
git-svn-id: trunk@21850 -
2012-07-10 15:14:14 +00:00
michael
c04bfe02e3 * Fixed parsing of deprecated hint texts
git-svn-id: trunk@21849 -
2012-07-10 15:02:39 +00:00
sergei
3b3da49ad6 * Merged TElfObjSection.secshidx and TCoffObjSection.secidx into TObjSection.index.
git-svn-id: trunk@21848 -
2012-07-10 13:34:55 +00:00
pierre
75420e78a8 Reset FPU exceptions and retrun after changing sigc_pc value if UContext is assigned
git-svn-id: trunk@21847 -
2012-07-10 13:34:25 +00:00
Jonas Maebe
99c22b87c1 * moved transformation of char-to-chararray type conversion into helpers
to first pass, fixes tbf/tb0215

git-svn-id: trunk@21846 -
2012-07-10 13:05:45 +00:00
sergei
27f342225a * Changed most fields of ELF structures to unsigned, to conform to their official declarations.
git-svn-id: trunk@21845 -
2012-07-10 13:03:17 +00:00
pierre
c234eae68a * cause bits must be clear as flags to avoid a second FPU exception
git-svn-id: trunk@21844 -
2012-07-10 12:31:46 +00:00
pierre
bc1ecc2e94 Use two parameter versions of get_caller_frame and get_caller_addr to get correct results for MIPS
git-svn-id: trunk@21843 -
2012-07-10 10:07:11 +00:00
pierre
b0fcb8cb2f Third field of SignalToRunError must be PUContext type
git-svn-id: trunk@21842 -
2012-07-10 10:06:02 +00:00
Jonas Maebe
92b4c84dae * fixed 'int64 shl/shr 0' on ppc32
git-svn-id: trunk@21841 -
2012-07-10 09:24:26 +00:00
Jonas Maebe
63ab1bae3e * don't allow ordinal->ptr-based-objectdef conversions on managed platforms,
even in Delphi mode (mantis #22401)

git-svn-id: trunk@21840 -
2012-07-10 09:24:13 +00:00
Jonas Maebe
c2be657671 * give an error instead of a note on the JVM target when overriding a
method by one with a lower visibility, because calling the overriding
    method results in a java.lang.AbstractMethodError in that case

git-svn-id: trunk@21839 -
2012-07-10 09:20:11 +00:00
michael
8d6557ec35 * Reversed default. Using UTF8 is now the default, old behaviour can be restored
git-svn-id: trunk@21838 -
2012-07-10 09:09:38 +00:00
michael
a7d55bc92b * Patch to allow use of UTF8 in ansistring (as requested in Bug ID #22310)
git-svn-id: trunk@21837 -
2012-07-10 06:56:06 +00:00
michael
5210d2fc94 * Patch from Silvio Clecio to implement TCookie.Expire (bug id 22361)
git-svn-id: trunk@21836 -
2012-07-10 06:16:49 +00:00
michael
4fb7d7caa5 * Forgot to commit
git-svn-id: trunk@21835 -
2012-07-09 18:24:19 +00:00
florian
95732625cc * use r11 as a normal register if no frame pointer is needed
git-svn-id: trunk@21834 -
2012-07-09 17:17:23 +00:00
michael
518af06016 * Remove wrong lineinfo unit. It does not work with DWARF
git-svn-id: trunk@21833 -
2012-07-09 15:39:12 +00:00