Commit Graph

47749 Commits

Author SHA1 Message Date
marco
08f9400070 * adding puint64 mantis #29020
git-svn-id: trunk@32351 -
2015-11-16 20:39:38 +00:00
michael
5a7080b3b7 * Fix bug ID #28926
git-svn-id: trunk@32350 -
2015-11-16 20:29:28 +00:00
michael
69d9a7a2de * Fix bug ID #28925
git-svn-id: trunk@32349 -
2015-11-16 20:07:12 +00:00
michael
e45686f24d * Fixes from Denis Kozlov, bug ID #28951
1) Erroneously increased `pind` in `findmatch()` by the length of matched string instead of by pattern token length.
2) Erroneously increased `ind` and `pind` by 2 after processing `ampm` (localized AM/PM pattern token).
3) Not updated `pind` when doing recursive subpattern matching ("ddddd", "dddddd", "t", "tt").
4) Incorrect interpretation of "t" pattern token as `ShortDateFormat`, when it should be `ShortTimeFormat`.
5) Incorrect scanning for "y" pattern (2 digit year), max scanned digits was 1 while it should be 2.
6) Protect against buffer over-read of `p` variable in `findimatch()`.

git-svn-id: trunk@32348 -
2015-11-16 19:52:17 +00:00
michael
dfedc081e0 * Test for scandatetime (bug ID 28952)
git-svn-id: trunk@32347 -
2015-11-16 19:51:14 +00:00
nickysn
0d48e5f6c7 + added support to the omf/i8086-msdos internal linker for omf relocation with
location type 3 (fltFarPointer). This isn't generated by nasm, nor by the
  internal object writer (yet), but may be generated by other
  assemblers/compilers - TASM generates it (tested with it), MASM probably also
  does.

git-svn-id: trunk@32346 -
2015-11-16 14:51:05 +00:00
michael
2809e98bf9 * Fix bug #0028994 (hopefully completely)
git-svn-id: trunk@32345 -
2015-11-16 14:22:59 +00:00
marco
be6c2e6c94 * modeswitches for win64 + wince.
git-svn-id: trunk@32344 -
2015-11-16 13:51:37 +00:00
Károly Balogh
623af612e4 morphunits: interface units for cybergraphics.library and cgxvideo.library
git-svn-id: trunk@32343 -
2015-11-16 02:36:11 +00:00
Jonas Maebe
18ad8fc004 * fixup for r32338: to reset a typeconvn, its convtype must also be set
back to tc_none

git-svn-id: trunk@32342 -
2015-11-15 23:15:46 +00:00
Jonas Maebe
33d711794e * adaptation for symx86 to r32340
git-svn-id: trunk@32341 -
2015-11-15 23:15:43 +00:00
Jonas Maebe
46dfa1af30 * correctly handle t*def.getreusable*() in case the original def was in
an exception symtable (then the new def cannot be safely made reusable,
    as the exception symtable may be freed before the module is completely
    compiled)

git-svn-id: trunk@32340 -
2015-11-15 22:23:00 +00:00
florian
7f13f845ac * fix Makefile after r32336
git-svn-id: trunk@32339 -
2015-11-15 20:01:45 +00:00
Jonas Maebe
6677747d74 * reprocess changed typeconvn in doremoveinttypeconvs(), as the changed
resultdef can result in a different type conversion (e.g. from nothing
    to int_2_int in case the result size changes)

git-svn-id: trunk@32338 -
2015-11-15 19:57:04 +00:00
Jonas Maebe
4d53455379 * the "types" unit depends on "math" since r32333 -> updated Makefiles
git-svn-id: trunk@32337 -
2015-11-15 19:38:49 +00:00
florian
d102bdc192 + include tests/test/units/fmtbcd into the list of directories being searched for tests
git-svn-id: trunk@32336 -
2015-11-15 19:06:58 +00:00
marco
1407995a37 * part of advanced record patch
git-svn-id: trunk@32335 -
2015-11-15 18:48:26 +00:00
marco
700a22f420 * revert accidentally committed part of executeprocess patch
git-svn-id: trunk@32334 -
2015-11-15 18:47:42 +00:00
marco
92960ff3ac * initial advanced records support for TSize..TRect and -F.
git-svn-id: trunk@32333 -
2015-11-15 18:34:19 +00:00
michael
7d2c723a54 * Re-instated initialization of memory when adding item
git-svn-id: trunk@32332 -
2015-11-15 18:24:12 +00:00
Károly Balogh
ac75f544f7 morphunits: added diskfont.library interface unit, based on the Amiga version
git-svn-id: trunk@32331 -
2015-11-15 18:05:08 +00:00
florian
70b8789262 o basic extended pascal support:
+ automatically loaded helper unit
  * Makefiles adapted
  * mode switch
  * mode switches reorganized
+ TimeStamp support

git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
michael
9447b975f2 * Fix bug #28987, fpfd_clr, and fpfdfillset using cardinal instead of correctly sized culong
git-svn-id: trunk@32329 -
2015-11-15 12:14:14 +00:00
michael
b7e52c632f Hopefully fix compilation (bug ID 28994)
git-svn-id: trunk@32328 -
2015-11-15 11:54:15 +00:00
michael
d00d64021b * Clear memory correctly when setting capacity (bug id 28928)
git-svn-id: trunk@32327 -
2015-11-15 11:15:25 +00:00
michael
e6b86d9b5b * Made string in stringstream constructor optional
git-svn-id: trunk@32326 -
2015-11-15 11:05:19 +00:00
Károly Balogh
bc51cc1151 regenerated msgidx.inc and msgtxt.inc afer r32324
git-svn-id: trunk@32325 -
2015-11-15 01:25:17 +00:00
Károly Balogh
3675fc75cb VLink Support:
* fixed for MorphOS, added for Amiga/m68k
* enabled as default when running natively on these systems (cross still defaults to GNU LD)
* added -XV command line switch to enable/disable it
* dropped the 'fpc' prefix from vlink binary name on MorphOS

git-svn-id: trunk@32324 -
2015-11-15 01:18:30 +00:00
svenbarth
017821f5db * regenerated msgidx.inc and msgtxt.inc after r32322
git-svn-id: trunk@32323 -
2015-11-14 21:22:55 +00:00
svenbarth
dabde774c4 Fix for Mantis #29005.
errore.msg:
  * consequently use <x> instead of xxxx for value placeholders

git-svn-id: trunk@32322 -
2015-11-14 21:22:15 +00:00
michael
8db06c7878 * OwnsObjects must not be changed during lifetime of TFPObjectHashList, made it read-only (bugs ID 28910)
git-svn-id: trunk@32321 -
2015-11-14 15:58:59 +00:00
Jonas Maebe
cf925a108d * support multiple paralocs, force the source to memory in
thlcgobj.gen_load_loc_cgpara as only a_load_ref_cgpara supports
    multiple locations

git-svn-id: trunk@32316 -
2015-11-13 17:48:24 +00:00
Jonas Maebe
d99de6d8f5 * support complex procvardefs in thlcgobj.location_force_mem() in case they
are located in multiple registers

git-svn-id: trunk@32315 -
2015-11-13 17:48:21 +00:00
Jonas Maebe
d02eb7059b + pointerdef support in llvmgettemprecorddef()
git-svn-id: trunk@32314 -
2015-11-13 17:48:19 +00:00
Jonas Maebe
d444b365e1 * finished conversion of second_class_to_intf to the high level code
generator after r32301

git-svn-id: trunk@32313 -
2015-11-13 17:48:16 +00:00
nickysn
78362ed6ae * RELOC_ABSOLUTE32 made different than RELOC_ABSOLUTE on i8086 (and fixed all
the i8086 bugs, related to code that assumes that they are the same)
+ also added RELOC_RELATIVE32 on i8086
* RELOC_ABSOLUTE32 and RELOC_RELATIVE32 are not yet implemented in the OMF
  object writer and linker (and currently produce an internal error), but will
  be implemented in the future, as the OMF format supports both 16-bit and
  32-bit relocations

git-svn-id: trunk@32311 -
2015-11-13 15:56:26 +00:00
nickysn
ad92f4e80a + implemented thlcgcpu.a_op_const_reg with far pointer support for i8086, so
that second_class_to_intf can be converted to the high level code generator

git-svn-id: trunk@32301 -
2015-11-12 22:01:44 +00:00
Jonas Maebe
f0c6d40336 * converted loading for fpc_catches parameter to hlcg
git-svn-id: trunk@32300 -
2015-11-12 22:00:31 +00:00
Jonas Maebe
5de3785c0e * fixed allocation of temps for empty arrays on llvm
git-svn-id: trunk@32299 -
2015-11-12 22:00:28 +00:00
Jonas Maebe
1675c27e59 * fixed writing of procvardef records (they're also written as tck_record)
git-svn-id: trunk@32298 -
2015-11-12 22:00:25 +00:00
Jonas Maebe
09c8c5eba0 * adjusted comment after previous commit
git-svn-id: trunk@32297 -
2015-11-12 20:58:50 +00:00
Jonas Maebe
a32605bd38 * don't force setelementn's into a 32 bit modifiable register if they were
already in a register, as this changes the result location into a size
    different from what resultdef says (and only in that specific case)
   o modified the ppc code so that it always forces a setelementn to uinttype,
     as that is the size that is expected by the operations later on

git-svn-id: trunk@32296 -
2015-11-12 20:55:33 +00:00
nickysn
b744c83581 + implemented support for omf fixup records with target group other than 'DGROUP' in the i8086-msdos internal linker
git-svn-id: trunk@32294 -
2015-11-12 16:40:17 +00:00
Jonas Maebe
175f4376bc * give an internalerror if a setelementn is range in pass_generate_code,
as those constructs should have been converted to calls to
    fpc_varset_set_range by the parent addn

git-svn-id: trunk@32293 -
2015-11-11 20:46:49 +00:00
Jonas Maebe
3e917f5889 * fixed llvm a_load_reg_ref() when storing a register to a record reference
of 3/5/6/7 bytes

git-svn-id: trunk@32292 -
2015-11-11 20:46:46 +00:00
michael
bc1248ceb7 * Non-Options, multiple identical options support (corrected)
git-svn-id: trunk@32291 -
2015-11-11 16:39:30 +00:00
nickysn
8046826e4e + also allow x86 call ref for references that contain only non-imaginary registers (no infinite spilling problems there either)
git-svn-id: trunk@32290 -
2015-11-11 16:33:48 +00:00
michael
8e063b5cef * Undid last (wrong) patch
git-svn-id: trunk@32289 -
2015-11-11 16:33:03 +00:00
michael
60e0627704 * Non-Options, multiple identical options support
git-svn-id: trunk@32288 -
2015-11-11 16:28:04 +00:00
michael
f7cab410c5 * Single instance functionality by Ondrej Pokorny
git-svn-id: trunk@32287 -
2015-11-11 16:26:19 +00:00