Commit Graph

31805 Commits

Author SHA1 Message Date
paul
fcaac0ebe1 compiler,rtl - safecall handling:
- pass address to SafeCallException  method(rtl needed a modification)
  - improve code generation for regular safecall routines (not methods)
  - improve test - check that passed exception and address are valid

git-svn-id: trunk@14946 -
2010-02-27 04:41:52 +00:00
pierre
a0ad752e16 * fix tw8730 tests for windows
git-svn-id: trunk@14945 -
2010-02-26 16:33:14 +00:00
marco
3112305989 * rst cleanup, mantis 15850
git-svn-id: trunk@14944 -
2010-02-26 16:12:24 +00:00
marco
14861f3906 * fixed mkxmlrpc, the recent commits to fcl-passrc broke it.
git-svn-id: trunk@14943 -
2010-02-26 15:55:37 +00:00
marco
83646f93ed * replaced some unimplemented (RTE 217) methods with basic getters and setters.
git-svn-id: trunk@14942 -
2010-02-26 12:04:21 +00:00
paul
f607b7bdd5 tests: add SafeCallException test
git-svn-id: trunk@14941 -
2010-02-26 10:28:19 +00:00
paul
cf0a1b1af9 compiler: safecall exception handling:
- move safecall exception handling from codegenerator to generate_except_block method (which generates nodes)
  - call SafeCallException for safecall methods which raises an exception

git-svn-id: trunk@14940 -
2010-02-26 10:17:24 +00:00
michael
750cfae553 * Fix to work with new version of Pascal scanner
git-svn-id: trunk@14939 -
2010-02-26 10:00:37 +00:00
michael
0b3f54d6bd * Complete parsing of Pascal Sources. Contracted work by Mattias Gaertner
git-svn-id: trunk@14938 -
2010-02-26 09:56:35 +00:00
marco
bb385c385d * translation updates from kms (Mantis 15849)
git-svn-id: trunk@14937 -
2010-02-26 09:01:09 +00:00
paul
ea8bf4f2fd rtl: TObject.SafeCallException and TComponent.SafeCallException has HResult return value. Fix default return value to catastrophic failure error code.
git-svn-id: trunk@14936 -
2010-02-25 04:13:52 +00:00
paul
bfb7d91b74 rtl: fix typos
git-svn-id: trunk@14935 -
2010-02-25 04:09:30 +00:00
Jonas Maebe
c235307643 r322 | jonas | 2010-02-21 12:04:33 +0100 (Sun, 21 Feb 2010) | 3 lines
* TERecPtr again points to TERec instead of to an opaque data type (error
    noted by Scott Knapp)

git-svn-id: trunk@14932 -
2010-02-21 11:05:56 +00:00
marco
30207d73ea * epoll_oneshot constant, mantis 15732
git-svn-id: trunk@14931 -
2010-02-20 22:24:01 +00:00
marco
8a8df7db67 * typo fix, as per mantis 15818
git-svn-id: trunk@14929 -
2010-02-19 19:59:02 +00:00
Jonas Maebe
8a1f272c6b * de-tabbed
git-svn-id: trunk@14928 -
2010-02-19 17:19:50 +00:00
Jonas Maebe
cda17ad02a * correctly set the expectloc for int_2_int type conversions of bitpacked
arrays (and some other, related constructs) (mantis #15789)

git-svn-id: trunk@14927 -
2010-02-19 17:12:47 +00:00
Jonas Maebe
071bca7d93 * set expectloc in first_abs_long (mantis #15790)
git-svn-id: trunk@14926 -
2010-02-19 16:46:46 +00:00
Jonas Maebe
fe5d0b0ef4 * fixed internalerror in case of dereferencing a loc_(c)subsetreg/ref
(mantis #15812)

git-svn-id: trunk@14925 -
2010-02-19 16:26:36 +00:00
ivost
7ef7aea4b0 * added new function xsdParseStringLower that parse any string and convert it to lower case
git-svn-id: trunk@14924 -
2010-02-19 11:30:45 +00:00
Jonas Maebe
0d57bba4c9 * fixed ARM and MIPS compilation after r14912
git-svn-id: trunk@14923 -
2010-02-18 21:19:17 +00:00
Jonas Maebe
d2a7a4c627 * fixed signal return trampolines for ARM EABI (mantis #15803)
git-svn-id: trunk@14922 -
2010-02-18 20:53:28 +00:00
ivost
c7db625bd0 * SetOnCompare didn't assign AValue to FOnCompare when Count was 0
git-svn-id: trunk@14921 -
2010-02-17 23:56:11 +00:00
marco
ab2aa8f88d * Patch from benjawin, Mantis 15779 to better deal with scrollbackbuffer<>screensize.
git-svn-id: trunk@14920 -
2010-02-17 08:53:48 +00:00
sergei
112a288442 xmlread.pp, TXMLFileSource.FetchData, don't lose the data that remains in the input buffer. Fixes Mantis #15776.
git-svn-id: trunk@14919 -
2010-02-15 19:40:26 +00:00
marco
9fb153f725 * fix for 11679, hide cursor when returning from dosshell/userprog
git-svn-id: trunk@14918 -
2010-02-15 15:59:33 +00:00
marco
ae2bef4c4d * patches from Paul for mantis 15716, readwidestring #0 issue + warning removal
git-svn-id: trunk@14917 -
2010-02-15 14:15:54 +00:00
Jonas Maebe
23e517a81e + {$OV+/-} alias for {$Q+/-} in macpas mode for CodeWarrior compatibility
(patch by Adriaan van Os, mantis #15767)

git-svn-id: trunk@14916 -
2010-02-14 21:51:45 +00:00
Jonas Maebe
78b9820e11 * support record fields separated by commas instead of semicolons in typed
constant record definitions in MacPas mode (patch by Adriaan van Os,
    mantis #15764)

git-svn-id: trunk@14915 -
2010-02-14 14:33:30 +00:00
Jonas Maebe
1b7dacfd1c * make {$align powerpc} an alias for {$align power} (patch by
Adriaan van Os, mantis #15762)

git-svn-id: trunk@14914 -
2010-02-14 13:59:13 +00:00
Jonas Maebe
7201d61d20 * forgotten, part of r14912
git-svn-id: trunk@14913 -
2010-02-14 13:53:37 +00:00
Jonas Maebe
025ec34e4d + "CExtended" type that is the same as "extended", but conforming to the
properties/behaviour of the equivalent of Extended in C (i.e., to
    "long double" on i386 and x86_64 platforms that support a 10 byte
    long double, and to "double" elsewhere)

git-svn-id: trunk@14912 -
2010-02-14 13:45:58 +00:00
Jonas Maebe
650ba6d50f * an int2int type conversion doesn't retain the value location in
case of a bitpacked access

git-svn-id: trunk@14911 -
2010-02-13 20:56:02 +00:00
Jonas Maebe
674cdaf3fc * handle fields with the same name as a type also correctly in case of
nested records (mantis #15592)

git-svn-id: trunk@14910 -
2010-02-13 20:51:19 +00:00
Jonas Maebe
f530de8da6 * also honor keep_sign_equal in get_common_intdef() for signed types
(r14892)

git-svn-id: trunk@14909 -
2010-02-13 20:50:18 +00:00
Jonas Maebe
fea789eca4 * fixed (harmless) range check errors
git-svn-id: trunk@14908 -
2010-02-13 20:48:59 +00:00
Jonas Maebe
efcc6f6440 * also handle statement nodes in has_no_code()
git-svn-id: trunk@14907 -
2010-02-13 20:48:38 +00:00
Jonas Maebe
a37850742c * fixed range check error if cstringpattern is empty (r14789, r14850)
git-svn-id: trunk@14906 -
2010-02-13 20:48:14 +00:00
Jonas Maebe
bb28dd7d08 * also show Darwin-specific external resource options for ARM and x86_64
* documented how to specify ARM-specific and x86_64-specific options in
    the help pages

git-svn-id: trunk@14905 -
2010-02-13 20:45:57 +00:00
Jonas Maebe
38b1271a21 * fixed wrong range check errors for "qword and constant" after
r14892

git-svn-id: trunk@14904 -
2010-02-13 20:44:03 +00:00
Jonas Maebe
1f4d7d6057 * add type symbol names to -vp output (patch by Adriaan van Os, mantis
#15737)

git-svn-id: trunk@14903 -
2010-02-13 16:47:37 +00:00
Tomas Hajny
5c31042f6a * SharedSuffix moved to include files to reduce number of ifdefs
git-svn-id: trunk@14902 -
2010-02-13 15:44:12 +00:00
marco
ef4954f8d9 * Pascal version for asm code in video (Mantis 15700)
git-svn-id: trunk@14901 -
2010-02-13 15:37:07 +00:00
marco
da19c48e05 * initial x86_64 code for compare videobuffer. To be tested later. Mantis 15700
git-svn-id: trunk@14900 -
2010-02-13 14:30:07 +00:00
marco
d8d0c6ae96 * patch that cleans up openal. Mantis 15756
git-svn-id: trunk@14899 -
2010-02-13 14:13:33 +00:00
marco
54b15ba318 * tcursorinfo incorrectly was aliassed to console_cursor_info, which is incorrect for
getcursorinfo in redef.inc. Added cursor_info structs as per MSDN. Mantis 15745

git-svn-id: trunk@14898 -
2010-02-13 14:06:08 +00:00
marco
b99d54383c * fix for 15509.
* setcount drastically simplified
   * Capacity now property with setter, to allow shrinking (but only till count)

git-svn-id: trunk@14897 -
2010-02-13 13:47:06 +00:00
Jonas Maebe
5e1a09f817 * fixed getting the "original" def in taddnode.simplify by stopping at
type conversions for absolute variables (fixes test/tprec13 on, a.o.,
    ppc64 after r14892)

git-svn-id: trunk@14896 -
2010-02-13 11:30:43 +00:00
Jonas Maebe
6dd25eb233 * fixed location_force_reg() for big endian 32 bit targets and
LOC_SUBSETREF/LOC_CSUBSETREF (fixes test/tregreg4 on sparc and ppc32
    after r14892)

git-svn-id: trunk@14895 -
2010-02-13 11:29:42 +00:00
ivost
efc3054644 * commented "deprecated". specialization is not working
git-svn-id: trunk@14894 -
2010-02-13 00:29:22 +00:00