Commit Graph

51078 Commits

Author SHA1 Message Date
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
nickysn
748428b637 + support the KOI8-R and KOI8-U Cyrillic encodings
git-svn-id: trunk@36445 -
2017-06-07 13:51:53 +00:00
nickysn
fce5fbd726 + added cp3021 (Bulgarian MIK) code page support
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
9e74f05343 + added cp856, iso-8859-10, iso-8859-11, iso-8859-14 and iso-8859-16 to the
CodePageNames and CodePageHashes translation tables in the SysUtils unit

git-svn-id: trunk@36443 -
2017-06-07 11:55:54 +00:00
joost
c62d3a83c8 * Improved ability to generate fppkg-configuration files
git-svn-id: trunk@36442 -
2017-06-06 20:35:24 +00:00
florian
19f842663b + some support for SPARC64 calling conventions
git-svn-id: trunk@36441 -
2017-06-06 20:30:30 +00:00
florian
ea8774c18d * split the sparc code generator into a generic base class and separate classes for sparc32 and sparc64
+ initial code for the sparc64 cg

git-svn-id: trunk@36440 -
2017-06-06 20:11:07 +00:00
joost
9dd1d1a1ea * Take all repositories into account when searching for broken packages.
The idea that each repository should be compilable by itself is not
   sustainable. Users should be able to install packages at will in 
   repositories with a higher priority. (+tests)

git-svn-id: trunk@36439 -
2017-06-06 18:41:55 +00:00
nickysn
cad2b985d6 * when creating the reverse endian .bcm file, zero fill all the records, before
filling them in, so that the alignment space inside the records is filled with
  zeros, instead of random uninitialized bytes

git-svn-id: trunk@36438 -
2017-06-06 14:57:22 +00:00
pierre
e06f1f89ef Solve bug report 31919, by avoiding SEG reloaction in tiny model
git-svn-id: trunk@36437 -
2017-06-06 12:01:39 +00:00
maciej-izak
d3d29fa84c Revert revisions 36133, 36128 from trunk.
git-svn-id: trunk@36436 -
2017-06-06 07:12:26 +00:00
nickysn
1e85730f67 + created an unicode character map (.txt only for now) for the Bulgarian MIK
encoding. We're calling it cp3021, after the code page number, assigned to it
  in Star printers (this number is unassigned by Microsoft and IBM).

git-svn-id: trunk@36435 -
2017-06-05 23:03:12 +00:00
florian
dcf8de3253 * change op_* const parameters to aint for consistency
git-svn-id: trunk@36434 -
2017-06-05 21:37:48 +00:00
florian
053124f78a + SPARC64 specific system unit code, derived from SPARC32, needs still to be adapted
git-svn-id: trunk@36433 -
2017-06-05 21:36:33 +00:00
florian
4036ecb5b5 + stat record definition for SPARC64
git-svn-id: trunk@36432 -
2017-06-05 21:35:06 +00:00
florian
cd70098b84 + SPARC64 support for the system unit
git-svn-id: trunk@36431 -
2017-06-05 21:33:59 +00:00
florian
7254d22402 + some SPARCv9 opcodes
git-svn-id: trunk@36430 -
2017-06-05 21:33:20 +00:00