Commit Graph

51305 Commits

Author SHA1 Message Date
nickysn
f2c23a8407 * yet another go32v2 compilation fix after r36507
git-svn-id: trunk@36509 -
2017-06-18 02:17:50 +00:00
nickysn
279461cb39 * fix go32v2 compilation after r36507
git-svn-id: trunk@36508 -
2017-06-18 01:24:42 +00:00
nickysn
f2587b6061 * updated ptc and ptcgraph to the latest trunk (future 0.99.15 release) from sourceforge
git-svn-id: trunk@36507 -
2017-06-18 00:16:03 +00:00
pierre
8b6563bef2 Generate error if stack size of a procedure/function is bigger than globally allocated stack size
git-svn-id: trunk@36506 -
2017-06-16 07:47:17 +00:00
Károly Balogh
c1187a17cd amiga: call InternalFindClose in InternalFindFirst, if finding the first file fails
git-svn-id: trunk@36505 -
2017-06-15 12:51:06 +00:00
Károly Balogh
f6af4ab25f atari: if FindFirst fails, always call FindClose, just in case
git-svn-id: trunk@36504 -
2017-06-15 12:46:15 +00:00
Károly Balogh
a635f435b9 m68k: replaced fpc_longword_to_double function with a working and branchless version. fixes tcnvint4 test among others with FPU enabled.
git-svn-id: trunk@36503 -
2017-06-15 02:22:49 +00:00
marcus
d4d7778e86 + Linux/m68k test object files
git-svn-id: trunk@36502 -
2017-06-14 20:33:26 +00:00
Károly Balogh
c5222d7199 m68k: map sec_rodata as read-write in the vasm writer, to silence some vlink warnings, when it writes the relocations in a rodata section
git-svn-id: trunk@36501 -
2017-06-14 18:07:36 +00:00
Károly Balogh
3f3c4808ee m68k: add support register calling convention properly in the interface wrapper generation
git-svn-id: trunk@36499 -
2017-06-14 02:26:40 +00:00
nickysn
ab0b07e7c6 * fixed off by one error in fpwidestring.Unicode2AnsiMove, which caused an
extra #0 character to the appended to the result, when converting to UTF-8

git-svn-id: trunk@36498 -
2017-06-13 23:49:28 +00:00
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