Commit Graph

51061 Commits

Author SHA1 Message Date
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
florian
b367cdeb96 * create intern types for sparc64
git-svn-id: trunk@36429 -
2017-06-05 21:32:13 +00:00
florian
8b19610509 + sparc32 for normal sparc to be used in the compiler
git-svn-id: trunk@36428 -
2017-06-05 21:31:36 +00:00
florian
024481262c + compiler sets SPARC64 defines
git-svn-id: trunk@36427 -
2017-06-05 21:30:58 +00:00
florian
8754858c2d * SPARC64 uses pascal startup code
git-svn-id: trunk@36426 -
2017-06-05 21:30:22 +00:00
nickysn
396eebbfb5 + added support for iso8859-[3,4,6,7,8,9,10,11,13,14,15,16]
* charmap .txt files in rtl/ucmaps for iso8859-[1,2,5] also updated

git-svn-id: trunk@36425 -
2017-06-05 16:36:24 +00:00
florian
4be464231e + some SPARC64 specific files
git-svn-id: trunk@36424 -
2017-06-05 15:26:28 +00:00
nickysn
35be7348fb + added code pages 737, 775, 857, 860, 861, 862, 863, 864, 865 and 869
git-svn-id: trunk@36423 -
2017-06-05 14:25:15 +00:00
nickysn
4bbd405796 + added .txt files in the ucmaps directory for code pages 437, 850 and 866
git-svn-id: trunk@36422 -
2017-06-05 12:59:07 +00:00
nickysn
ef25c33d69 + added cp855 to the implicit unit list in the rtl makefiles
git-svn-id: trunk@36421 -
2017-06-05 12:19:01 +00:00
nickysn
28ce3e392c * cp855.pp renamed cp855.pas for consistency with the other units in the same directory
git-svn-id: trunk@36420 -
2017-06-05 12:03:04 +00:00
Károly Balogh
365d774ca7 fixed zipinstall after r36418
git-svn-id: trunk@36419 -
2017-06-04 23:11:51 +00:00
florian
21e5f99faa + some basic compiler support for sparc64-linux
git-svn-id: trunk@36418 -
2017-06-04 22:07:24 +00:00
florian
229f615b59 * fix endless loop introduced by manual for -> while conversion
git-svn-id: trunk@36417 -
2017-06-04 20:04:35 +00:00
florian
126b834976 * ncgrtti has to use target pointer sizes, so changed SizeOf(PtrInt) into SizeOf(PInt), should fix #31964
* try to avoid to use anonymous records in ncgrtti

git-svn-id: trunk@36416 -
2017-06-04 19:57:46 +00:00
nickysn
b4d7959c7a + added the MAPVK_* winapi constants (used with MapVirtualKey/MapVirtualKeyEx)
git-svn-id: trunk@36412 -
2017-06-03 22:23:38 +00:00
florian
96f28cbb11 * move sysnr.inc to a rtl/linux/sparcgen dir
* adapt makefiles to reflect this

git-svn-id: trunk@36411 -
2017-06-03 20:52:41 +00:00
florian
1c85228481 * pass -Av9 to the assembler if we compile for SparcV9
git-svn-id: trunk@36410 -
2017-06-03 20:51:28 +00:00