Commit Graph

51394 Commits

Author SHA1 Message Date
pierre
adfd578659 Correct error in commit 36437: restore interrupt must be $10, not $06
git-svn-id: trunk@36497 -
2017-06-13 21:02:10 +00:00
Károly Balogh
e0cbd48785 m68k: always check the V flag after MUL/DIV overflows, because MUL/DIV never sets the C flag. note that this fix is full 68k only. on CF, MUL doesn't set any of V or C flags
git-svn-id: trunk@36496 -
2017-06-12 23:56:05 +00:00
joost
d2f769c93e * Propagate the reason why a package is broken
git-svn-id: trunk@36495 -
2017-06-12 22:18:18 +00:00
Mattias Gaertner
d039fa9b15 fcl-js: sourcemap: write optional sourcesContent
git-svn-id: trunk@36494 -
2017-06-12 18:43:52 +00:00
Mattias Gaertner
5a008e945b fcl-js: sourcemap: write optional sourcesContent
git-svn-id: trunk@36493 -
2017-06-12 18:42:07 +00:00
Mattias Gaertner
2df7e116e3 fcl-js: added TSourceMap
git-svn-id: trunk@36492 -
2017-06-12 18:23:25 +00:00
Károly Balogh
f91a9c07e7 atari/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36491 -
2017-06-12 13:05:20 +00:00
Károly Balogh
78970fa3c4 linux/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36490 -
2017-06-12 13:05:09 +00:00
Károly Balogh
5ffc833842 amiga/m68k: enable inlining and compiler mul32to64 in the softfpu
git-svn-id: trunk@36489 -
2017-06-12 12:47:07 +00:00
pierre
d68ebf7cfb Disable specific coprocessor int 0x10 handler if possible
git-svn-id: trunk@36488 -
2017-06-12 06:52:35 +00:00
Károly Balogh
903548b21a morphos: added legacy GNU AS support for the ancient AS version, which is still bundled as default in the SDK. switches off named sections support in the assembler generator
git-svn-id: trunk@36487 -
2017-06-11 23:36:40 +00:00
Károly Balogh
177a571af8 morphos/amiga/atari: fixed making vlink default based on the host platform
git-svn-id: trunk@36486 -
2017-06-11 23:33:11 +00:00
Károly Balogh
3deb3fb03b powerpc: indentation and whitespace fixes. no functional changes.
git-svn-id: trunk@36485 -
2017-06-11 13:02:47 +00:00
Károly Balogh
90b1c8e5ed m68k: the previous attempt in r36480 broke more tests than it fixed, so lets revert to previous version and disable MOVE+OP+MOVE optimizations instead
git-svn-id: trunk@36484 -
2017-06-11 11:22:49 +00:00
nickysn
a38046ce73 * fixed accidental unit name change
git-svn-id: trunk@36483 -
2017-06-11 00:11:22 +00:00
nickysn
7a298cd4eb * several parameters and results of functions in the go32 unit, which hold a
32-bit linear or physical address or a 32-bit segment limit changed from
  longint to dword in order to avoid range check errors or returning negative
  values, in case any of these values exceeds 2GB

git-svn-id: trunk@36482 -
2017-06-10 23:35:56 +00:00
nickysn
a1e549e242 * changed the result of go32.set_descriptor_access_right from longint to boolean
git-svn-id: trunk@36481 -
2017-06-10 23:10:20 +00:00
Károly Balogh
40fb45aef6 m68k: attempt to make MOVE+OP+MOVE optmization more robust. this fixes random exceptions in tfmtbcd test among others
git-svn-id: trunk@36480 -
2017-06-10 21:54:48 +00:00
nickysn
d3a47bc6b5 * replace TXIM with PXIM and TXIC and PXIC in all x11 function parameters
(the problem comes from the fact that TXIM and TXIC were converted wrongly
  to an empty record (instead of a _pointer_ to empty record, which is what's
  defined in the C header), and then, instead of fixing the TXIM and TXIC
  definitions, about half of the TXIM/TXIC function parameters were converted to
  PXIM/PXIC. This commit converts the rest of them also)

git-svn-id: trunk@36477 -
2017-06-10 14:01:36 +00:00
florian
34f595b27e + more sparc64 support for tsparcaddnode
git-svn-id: trunk@36476 -
2017-06-10 11:26:10 +00:00
florian
5e969d90cb + SPARC64 cpugas unit
+ support for %gdop_hix22/%gdop_lox22

git-svn-id: trunk@36475 -
2017-06-10 11:24:55 +00:00
joost
c7539f4252 * TPackageHandler.Execute is now a function which returns false in case
of an error. This way it is possible to stop executing follow-up
   commands in case of an error.

git-svn-id: trunk@36474 -
2017-06-10 11:24:26 +00:00
florian
f25c9c0956 * hopefully proper fix for 8 and 16 bit CPUs
git-svn-id: trunk@36473 -
2017-06-09 21:05:52 +00:00
florian
0fe5541459 --- Reverse-merging r36464 through r36463 into 'trnd1.pp':
U    trnd1.pp
--- Recording mergeinfo for reverse merge of r36464 through r36463 into 'trnd1.pp':
 G   trnd1.pp
--- Eliding mergeinfo from 'trnd1.pp':
 U   trnd1.pp

git-svn-id: trunk@36472 -
2017-06-09 20:59:46 +00:00
Mattias Gaertner
64fc72af2a fcl-jssrc: TJSElement.Row renamed to Column
git-svn-id: trunk@36471 -
2017-06-09 17:38:54 +00:00
Károly Balogh
fe0bc52dc6 m68k: fixed some cases where comparing smallsets was broken, because the compare size was hardwired to 32bit
git-svn-id: trunk@36470 -
2017-06-09 17:27:06 +00:00
svenbarth
dffe423b10 * fix for Mantis #31945: two fixes for nested routines inside generic methods
a) correctly determine whether token recording is required or not (nested routines of generic routines don't need it)
  b) correctly determine whether the trailing ";" needs to be parsed (nested routines of generic routines need to)

git-svn-id: trunk@36469 -
2017-06-09 15:46:10 +00:00
svenbarth
eb9b4fb71f * fix for Mantis #31973: resolve dummy symbols earlier and print a nice error message if a generic dummy could not be resolved to an ordinary symbol
+ added test
* adjusted test tw9673 which should have never worked as is (what if TList would have been "of T" instead of "of byte"?)

git-svn-id: trunk@36468 -
2017-06-09 14:41:26 +00:00
svenbarth
68c5f45593 * also add a generic dummy symbol to the current module's dummy symbols after it had been parsed
git-svn-id: trunk@36467 -
2017-06-09 14:31:20 +00:00
svenbarth
06d7e26df0 * move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym()
git-svn-id: trunk@36466 -
2017-06-09 14:30:23 +00:00
pierre
abd765da40 Explicitly disable range and overflow checking for this test
git-svn-id: trunk@36465 -
2017-06-09 12:22:47 +00:00
pierre
605e6defc7 Fix compilation due to syntax error in previous commit
git-svn-id: trunk@36464 -
2017-06-09 12:17:04 +00:00
pierre
8c370a4e6f Avoid Data element too large error for I8086 CPU
git-svn-id: trunk@36463 -
2017-06-09 06:11:54 +00:00
nickysn
15e8757768 + use fpwidestring in the compiler once again on unix-like hosts. The
regressions, mentioned previously are now fixed after r36461

git-svn-id: trunk@36462 -
2017-06-08 23:53:08 +00:00
nickysn
5e4937fd3f * fallback to the default ansistring comparison (when doing ansistrings
comparisons), when fpwidestring is included, but no default collation has been
  set

git-svn-id: trunk@36461 -
2017-06-08 23:49:51 +00:00
Mattias Gaertner
bff64521b3 pastojs: error on nested type, bug #31983
git-svn-id: trunk@36460 -
2017-06-08 21:27:11 +00:00
Mattias Gaertner
fbdd04b8ab pastojs: typecast jsvalue to record, bug #31982
git-svn-id: trunk@36459 -
2017-06-08 21:17:15 +00:00
Mattias Gaertner
1133e115c3 fcl-passrc: resolver: typecast record to record
git-svn-id: trunk@36458 -
2017-06-08 21:16:37 +00:00
nickysn
d3251a349b + set the code page for errorct.msg (Catalan) to Windows 1252
git-svn-id: trunk@36457 -
2017-06-08 20:48:58 +00:00
nickysn
7252e3183b + set code page for erroriu.msg (Italian) to 1252 (could also be ISO 8859-1)
git-svn-id: trunk@36456 -
2017-06-08 20:43:20 +00:00
nickysn
5df3e2cfc2 + set the code page of errord.msg (German) to 850; the file contents were also
regenerated from errordu.msg, which fixed two small typos (that were fixed
  only in errordu.msg, but hadn't been applied to errord.msg)

git-svn-id: trunk@36455 -
2017-06-08 20:34:50 +00:00
nickysn
4d79c91507 + set code page 20127 (US-ASCII) for errorid.msg (Indonesian)
git-svn-id: trunk@36454 -
2017-06-08 20:24:19 +00:00
Mattias Gaertner
e1d5e52227 fcl-passrc: const eval: low(range), high(range)
git-svn-id: trunk@36453 -
2017-06-08 20:20:10 +00:00
nickysn
684d9ebb2e - partially reverted r36451 (effectively disabling code page aware messages
under unix-likes), because it turned out that pulling in unit fpwidestring
  into the compiler sources causes testsuite regressions under linux. This
  needs to be resolved somehow.

git-svn-id: trunk@36452 -
2017-06-08 19:23:31 +00:00
nickysn
408b7a8807 + enable the code page aware compiler messages for all unices
git-svn-id: trunk@36451 -
2017-06-08 18:39:09 +00:00
nickysn
a34f531661 + implemented support for codepage aware compiler messages. It can be enabled
per platform (currently only enabled for win32 and win64). Enabling it forces
  code page conversion from the codepage of the .msg file to CP_ACP, before
  writing the message to the console. Not enabling it keeps the previous
  behaviour of not doing any kind of code page conversion for messages. This
  feature should be tested and enabled per platform, because it requires code
  page conversion support in the rtl (so it may require adding the appropriate
  extra units, such as fpwidestring). When this feature is enabled for all
  platforms, we can start keeping only one .msg file per language, because
  having extra .msg files for different encodings for the same language becomes
  redundant, since the compiler can do code page conversion to whatever code
  page the console uses.

git-svn-id: trunk@36450 -
2017-06-08 16:11:33 +00:00
nickysn
e667a18838 + support the codepage directive in the msg2inc converter util
* msgtxt.inc updated to include the codepage info

git-svn-id: trunk@36449 -
2017-06-08 15:46:30 +00:00
nickysn
c0413a9179 + added codepage info (not used by the compiler yet) to the compiler .msg files
git-svn-id: trunk@36448 -
2017-06-08 15:44:04 +00:00
pierre
65e3c777dc Fix compilation of sparc64 compiler
git-svn-id: trunk@36447 -
2017-06-08 11:19:12 +00:00
maciej-izak
751bde9792 Revert revision 36436 from trunk. Final fix for issue #31675.
git-svn-id: trunk@36446 -
2017-06-07 21:06:54 +00:00