Commit Graph

53850 Commits

Author SHA1 Message Date
nickysn
8364b1f4ca * changed the result of function Pos() to SizeInt (same type as the 'index'
variable it returns). Fixes the register allocation failure error when
  compiling on i8086.

git-svn-id: trunk@39033 -
2018-05-20 10:40:00 +00:00
nickysn
0d8ba2ddfa * skip the MZ exe in order to reach the ELF32 image on i8086-msdos
git-svn-id: trunk@39032 -
2018-05-20 10:11:14 +00:00
nickysn
ccf5aaeebb + enable the ELF32 reader in unit exeinfo for i8086-msdos
git-svn-id: trunk@39031 -
2018-05-20 10:01:19 +00:00
nickysn
537fbefb9e * add texeheader.ImgOffset to all file offsets when reading an ELF file. This
will be useful for reading i8086-msdos dwarf debug info, because it is
  appended after the regular dos MZ exe in an ELF32 image by the watcom linker.

git-svn-id: trunk@39030 -
2018-05-20 09:43:08 +00:00
nickysn
3bcd21663e * replaced nested ifdefs in unit exeinfo with a chain of {$if defined(...)} ...
{$elseif defined(...)}

git-svn-id: trunk@39027 -
2018-05-19 21:04:30 +00:00
Mattias Gaertner
3d186b2706 pastojs: for value in externalarray do
git-svn-id: trunk@39026 -
2018-05-19 17:59:50 +00:00
Mattias Gaertner
1e6f23a72c fcl-passrc: resolver: check property has read or write accessor,
git-svn-id: trunk@39025 -
2018-05-19 17:28:26 +00:00
svenbarth
2eac60cd87 * use a unique internal error
git-svn-id: trunk@39024 -
2018-05-18 14:43:31 +00:00
lacak
fc390136cb fcl-db: sdf: fix for TTestCursorDBBasics.TestUpdateCursorPos
git-svn-id: trunk@39023 -
2018-05-18 12:26:54 +00:00
michael
8384dc7c07 * Patch from Laco to fix tests after changes in event behaviour introduced in 34980
git-svn-id: trunk@39022 -
2018-05-18 10:56:29 +00:00
Mattias Gaertner
d64664dedc pastojs: case-of and external const
git-svn-id: trunk@39021 -
2018-05-18 09:11:57 +00:00
Mattias Gaertner
f45cebf724 fcl-passrc: resolver: case-of and external const
git-svn-id: trunk@39020 -
2018-05-18 09:11:46 +00:00
lacak
7fc9871cbe fcl-db: bufdataset: fix for AV in test TTestCursorDBBasics.TestBookmarkValid
git-svn-id: trunk@39019 -
2018-05-18 08:05:19 +00:00
michael
f5efe4bd90 * Fix so rptGrouping compiles with 3.0.4
git-svn-id: trunk@39018 -
2018-05-18 06:59:14 +00:00
nickysn
9a4a61ab97 * automatically switch to external linking (and show message) when requested to
generate debug info on the i8086 targets

git-svn-id: trunk@39017 -
2018-05-17 16:11:51 +00:00
nickysn
3e343dff21 + enable by default the ds_dwarf_omf_linnum debug switch on i8086, since that's
the only currently working option for getting source level debugging on
  i8086-msdos

git-svn-id: trunk@39016 -
2018-05-17 15:02:34 +00:00
nickysn
20abb13bca - do not compile in the stabs debug info support for the i8086 target
git-svn-id: trunk@39015 -
2018-05-17 14:47:39 +00:00
nickysn
600b460ecd + added new debug output option -godwarfomflinnum for generating line number
information in OMF LINNUM records, in addition to the DWARF debug information.
  This enables source level debugging on i8086-msdos, when using the Open Watcom
  Debugger, provided the source was compiled with this option and the external
  linker (wlink) was used for generating the executable (the internal linker
  does not yet support generating debug information).

git-svn-id: trunk@39014 -
2018-05-17 14:38:50 +00:00
Mattias Gaertner
240ebc698a pas2js version 0.9.22
git-svn-id: trunk@39013 -
2018-05-17 13:31:08 +00:00
Mattias Gaertner
52befe4595 fcl-passrc: resolver: no hints that cannot be hidden
git-svn-id: trunk@39012 -
2018-05-17 13:26:34 +00:00
lacak
815172ac47 fcl-db: tests: test DATE and TIME data types for Sybase and MS SQL Server (requires version >= 2008)
git-svn-id: trunk@39011 -
2018-05-17 10:07:07 +00:00
Mattias Gaertner
0fcec04382 pastojs: fixed removing leading zeroes from hex numbers
git-svn-id: trunk@39010 -
2018-05-17 08:35:27 +00:00
lacak
77dc0597e9 fcl-db: csvdataset: take into account Delimiter when saving, open file with fmCreate when saving + tests; bug #33432
git-svn-id: trunk@39009 -
2018-05-17 06:29:51 +00:00
nickysn
3d6d020fca + implemented the actual writing of LINNUM OMF records
git-svn-id: trunk@39008 -
2018-05-16 17:37:28 +00:00
nickysn
61e6d2afec + introduce asd_omf_linnum_line directives; they will be used for writing LINNUM
entries in the OMF object format

git-svn-id: trunk@39007 -
2018-05-16 17:05:02 +00:00
nickysn
b80642c384 + started implementing support for generating Microsoft CodeView debug
information. Only enabled on i8086 (for now). Does not do much yet, but
  hopefully, soon it'll start emitting line number information for i8086-msdos
  that is usable by DOS debuggers.

git-svn-id: trunk@39006 -
2018-05-16 15:25:33 +00:00
lacak
41024d1047 fcl-db: tests: comment why test fails on Firebird
git-svn-id: trunk@39005 -
2018-05-16 14:09:15 +00:00
lacak
c790556358 fcl-db: tests: fix malformed character in string literal
git-svn-id: trunk@39004 -
2018-05-16 12:53:30 +00:00
lacak
1edf2d3cd0 fcl-db: tests: Adjust tests to take into account connection charset and field codepage when testing Size and DataSize
git-svn-id: trunk@39003 -
2018-05-16 11:30:37 +00:00
lacak
7b7d9b1cde fcl-db: mysql: for BINARY and VARBINARY data types ignore connection CharSet (CharSize does not play role here)
git-svn-id: trunk@39002 -
2018-05-16 11:15:12 +00:00
lacak
ea124c68f5 fcl-db: sqldb: add MySQL 'utf8mb4' to list of UTF-8 charsets. Note: MySQL 'utf8' is MBCS with CharSize=3
git-svn-id: trunk@39001 -
2018-05-16 10:43:27 +00:00
Mattias Gaertner
17d218c413 pastojs: set version 0.9.21
git-svn-id: trunk@39000 -
2018-05-16 10:15:34 +00:00
Mattias Gaertner
b15d369bae fcl-passrc: comments for old message ids
git-svn-id: trunk@38999 -
2018-05-16 10:15:22 +00:00
Mattias Gaertner
4bc761193d pastojs: more information when unable to write file
git-svn-id: trunk@38998 -
2018-05-16 06:43:15 +00:00
Mattias Gaertner
faca63449f fcl-passrc: parser: check semicolon in arg list, bug #33742
git-svn-id: trunk@38997 -
2018-05-16 06:42:48 +00:00
Mattias Gaertner
a3c5ac010f fcl-passrc: resolver: fixed implicit call of func(typecast(function))
git-svn-id: trunk@38996 -
2018-05-15 21:00:38 +00:00
nickysn
42164b5c01 + omf writer: support writing partial LINNUM records (up to 1024 bytes,
according to the spec)

git-svn-id: trunk@38995 -
2018-05-15 14:45:22 +00:00
Mattias Gaertner
4b2c4775e4 pastojs: search .js files in -FE
git-svn-id: trunk@38994 -
2018-05-15 07:38:20 +00:00
svenbarth
7990b2e3f3 * apply patch from J. Gareth Moreton to implement Int() for SSE (currently only used on Win64)
+ added test

git-svn-id: trunk@38993 -
2018-05-14 21:08:04 +00:00
Mattias Gaertner
cd4eb4738c pas2js: fixed rtti module
git-svn-id: trunk@38992 -
2018-05-14 16:55:04 +00:00
Mattias Gaertner
af1e46ac6c fcl-passrc: useanalyzer: fixed typeinfo of inherited property
git-svn-id: trunk@38991 -
2018-05-14 16:54:28 +00:00
marco
67446aa414 * patch from Maik mantis #33727 with modifications suggested by Lacak
git-svn-id: trunk@38990 -
2018-05-14 13:23:24 +00:00
marcus
7ec23ba0bd os4units: datatypes library unit
git-svn-id: trunk@38989 -
2018-05-13 19:46:12 +00:00
marcus
afd5dbf8be morphunits: fixed parameters in datatypes unit (unification with other amiga platforms)
git-svn-id: trunk@38988 -
2018-05-13 17:37:53 +00:00
marcus
ae01ff2bf3 amiga units: datatypes library unit improved
git-svn-id: trunk@38987 -
2018-05-13 16:38:14 +00:00
marcus
76e3b28297 arosunits: datatypes library unit
git-svn-id: trunk@38986 -
2018-05-13 14:25:24 +00:00
Mattias Gaertner
6d10ef21c6 pastojs: write encoding, compiler date and src platform
git-svn-id: trunk@38985 -
2018-05-13 11:59:24 +00:00
Mattias Gaertner
288cf4e62d resolver: constructing a class with abstract methods: changed note to warning
git-svn-id: trunk@38984 -
2018-05-13 11:58:42 +00:00
Mattias Gaertner
8a5c519f2d pastojs: option -FE
git-svn-id: trunk@38983 -
2018-05-12 18:26:39 +00:00
Mattias Gaertner
59e79bb8f6 fcl-passrc: resolver: same msg id as fpc nNoMatchingImplForIntfMethodXFound
git-svn-id: trunk@38982 -
2018-05-12 15:33:44 +00:00