Commit Graph

53865 Commits

Author SHA1 Message Date
michael
1e1fbf77db * Fix bug #0033745, connection timeout
git-svn-id: trunk@39199 -
2018-06-09 12:25:41 +00:00
nickysn
188e9ff64a * only read the first OMF record in TOmfLibObjectWriter.closefile, since we no
longer copy the entire file there, so we parse the file only to get the module
  name, and the THEADR record should always be the first record in the OMF file.

git-svn-id: trunk@39198 -
2018-06-08 14:21:18 +00:00
pierre
cf8c5d2540 Report if ExitStatus of DosBox process is non-zero
git-svn-id: trunk@39197 -
2018-06-08 08:35:45 +00:00
nickysn
3f5577077a * automatically create omf libraries with the smallest page size possible. This
greatly reduces the size of i8086 snapshots by keeping the amount of padding
  in the library files to the minimum.

git-svn-id: trunk@39195 -
2018-06-07 22:27:47 +00:00
nickysn
345713c1fa * refactored omf library writing, so that the whole library is written in
TOmfLibObjectWrite.WriteLib, after determining the page size (currently still
  fixed to 512 bytes). Prerequisite for OMF lib page size optimization.

git-svn-id: trunk@39194 -
2018-06-07 22:11:03 +00:00
nickysn
00c6826896 * moved the PageNum property of TOmfLibObjectWriter.TOmfLibDictionaryEntry to
TOmfLibObjectWriter.TOmfLibObjectModule. Instead, store the module index (in
  FObjectModules) in TOmfLibDictionaryEntry. This is a prerequisite for
  implementing OMF library page size optimization.

git-svn-id: trunk@39193 -
2018-06-07 18:32:50 +00:00
nickysn
4bcfe8dbb2 * refactored TOmfLibObjectWriter, so it keeps all object modules in a
TFPObjectList. This will allow implementing omf library page size optimization
  later.

git-svn-id: trunk@39192 -
2018-06-07 15:03:05 +00:00
nickysn
af5e6e182d * the TOmfLibDictionaryEntry class in unit owomflib converted to two identical
nested classes inside TOmfLibObjectWriter and TOmfLibObjectReader. The reason
  is I'm planning to change the class, used in TOmfLibObjectWriter, but not the
  one in TOmfLibObjectReader. And using nested classes keeps things clean and
  avoids exposing implementation details in the interface of the owomflib unit.
* also changed 'private' to 'strict private' in the classes of the owomflib to
  reduce the risk of interference between TOmfLibObjectWriter and TOmfLibObjectReader.

git-svn-id: trunk@39191 -
2018-06-07 12:24:36 +00:00
Mattias Gaertner
29bb418fe0 pastojs: version 0.9.25
git-svn-id: trunk@39190 -
2018-06-07 07:14:22 +00:00
Mattias Gaertner
8c8b983c37 pastojs: fixed -FU -o, -o is always relative to working directory
git-svn-id: trunk@39189 -
2018-06-07 06:56:24 +00:00
Károly Balogh
bbbaa39d79 ncginl: another approach to fix the same issue #39184 supposed to address. keep left.resultdef, but try to make the target def always ordinal of an equal size, so it ends up in a data register on m68k
git-svn-id: trunk@39188 -
2018-06-07 06:43:02 +00:00
lacak
1db2e604cd fcl-db: mysql: cosmetic
git-svn-id: trunk@39187 -
2018-06-07 06:26:27 +00:00
Károly Balogh
3286623c3c ncginl: revert the previous commit, it seems to cause some issues on other CPUs
git-svn-id: trunk@39186 -
2018-06-07 06:21:46 +00:00
lacak
c65c4abd4d fcl-db: mysql: fix memleak. Bug #33837
git-svn-id: trunk@39185 -
2018-06-07 06:20:16 +00:00
Károly Balogh
42efddc481 ncginl: in inc/dec, do not use left.resultdef as the dest to force a register location, because if left is a pointer, then an ordinal value might get forced into an address register on m68k, which results in a lot of unnecessary register shuffling to complete the operation
git-svn-id: trunk@39184 -
2018-06-07 06:04:19 +00:00
Mattias Gaertner
f450b898f9 pastojs: fixed iterate ancestor interfaces
git-svn-id: trunk@39183 -
2018-06-06 12:51:49 +00:00
Mattias Gaertner
e0fd90da92 fcl-passrc: resolver: check ancestor interfaces
git-svn-id: trunk@39182 -
2018-06-06 12:51:35 +00:00
pierre
be91b22d0f Fix compilation of dbconfig program
git-svn-id: trunk@39181 -
2018-06-05 22:10:20 +00:00
pierre
5f62a2063c Makefile regenerated
git-svn-id: trunk@39180 -
2018-06-05 21:40:32 +00:00
pierre
16963b7186 Add explict dependencies to used units
git-svn-id: trunk@39179 -
2018-06-05 21:39:44 +00:00
pierre
3d7d7a8b19 Change is_new local variable name to count_test, to reflect change in AddTestResult function
git-svn-id: trunk@39178 -
2018-06-05 21:38:50 +00:00
pierre
11c5f1f979 Change is_new parameter name to count_it, set it to true if new TestRes is different from previously in Database
git-svn-id: trunk@39177 -
2018-06-05 21:37:35 +00:00
pierre
b6e22a4757 Use old Copy procedure with 3 parameters
git-svn-id: trunk@39176 -
2018-06-05 21:36:12 +00:00
pierre
da8dc2b841 Correctly handle log files in root directory (from tests from packages directory)
git-svn-id: trunk@39175 -
2018-06-05 20:44:51 +00:00
Károly Balogh
ddf8788c7a m68k: try to generate better code from some pointermath - when the left is an address register and we do add/sub, also allocate an address register as temp, also only require that left and right sizes are same, when right is not a const
git-svn-id: trunk@39174 -
2018-06-05 16:45:02 +00:00
pierre
7268c86602 Fix for msdos target: Use CodePointer where required
git-svn-id: trunk@39173 -
2018-06-05 11:31:42 +00:00
marco
c3ac166614 * avoid partial matches on extensions in TFPCustomImage.FindHandlerFromExtension
Patch by Ondrej

git-svn-id: trunk@39172 -
2018-06-04 14:33:03 +00:00
nickysn
e6a8c058e0 * moved the handling of LIDATA OMF records (which currently only produces a
'LIDATA records are not supported' error) to TOmfObjInput.ReadLeOrLiDataAndFixups

git-svn-id: trunk@39171 -
2018-06-04 14:20:07 +00:00
nickysn
02fc2827e0 * TOmfObjInput.ReadLEDataAndFixups renamed ReadLeOrLiDataAndFixups
git-svn-id: trunk@39170 -
2018-06-04 14:10:11 +00:00
nickysn
e410a0aefb + support OMF FIXUPP records, containing only THREAD subrecords to occur without
a preceding LEDATA or LIDATA record (this is allowed by the OMF spec)

git-svn-id: trunk@39169 -
2018-06-04 14:00:36 +00:00
Mattias Gaertner
49c97d1152 pastojs: test typeinfo(double)
git-svn-id: trunk@39168 -
2018-06-04 13:44:54 +00:00
Mattias Gaertner
6d7d4be12f pastojs: typeinfo(intrange type)
git-svn-id: trunk@39167 -
2018-06-04 13:41:40 +00:00
nickysn
002b116322 * use a case statement, instead of 'if', based on the OMF record type in
TOmfObjInput.ReadLEDataAndFixups. This is to allow (in the future) handling of
  LIDATA records and FIXUPP records without preceding LEDATA/LIDATA. No
  functional changes in this commit.

git-svn-id: trunk@39166 -
2018-06-04 13:11:55 +00:00
marco
43d7b23555 * fix for #33817, also p* marshalledstring for Delphi compat.
git-svn-id: trunk@39165 -
2018-06-04 10:58:23 +00:00
marco
438c4cbef7 * fix for #33823 dword->dword_ptr
git-svn-id: trunk@39164 -
2018-06-04 07:49:32 +00:00
florian
21d785e41b * do not unroll loops if the counter variable is accessed outside the current scope
git-svn-id: trunk@39163 -
2018-06-03 15:12:48 +00:00
florian
3b3e33d863 + correctly set var state of addr and frame in raise statements, resolves #33818
git-svn-id: trunk@39162 -
2018-06-03 09:31:19 +00:00
michael
4b45825204 * Fix bug #33795
git-svn-id: trunk@39161 -
2018-06-02 11:09:33 +00:00
michael
107999f706 * Fix issue #33755
git-svn-id: trunk@39160 -
2018-06-02 11:00:18 +00:00
Mattias Gaertner
e2ed8e170e pastojs: version 0.9.24
git-svn-id: trunk@39159 -
2018-06-02 07:16:33 +00:00
Mattias Gaertner
6d5c1642cd pastojs: fixed resolve pending scopes before pending units
git-svn-id: trunk@39158 -
2018-06-02 07:15:38 +00:00
Mattias Gaertner
13ebc81095 fcl-passrc: added TPasIdentifierScope.WriteLocalIdentifiers
git-svn-id: trunk@39157 -
2018-06-02 07:15:16 +00:00
florian
f03a396757 * target classic MacOS builds again
git-svn-id: trunk@39156 -
2018-05-31 19:31:36 +00:00
Mattias Gaertner
22cd5ab757 pastojs: pcu: fixed compact format
git-svn-id: trunk@39155 -
2018-05-31 13:43:20 +00:00
Mattias Gaertner
f696ad58ee fcl-passrc: fixed unit analyzer private method used by protected property
git-svn-id: trunk@39154 -
2018-05-31 13:42:54 +00:00
Mattias Gaertner
4c525de9fe pastojs: fixed class-of RTTI
git-svn-id: trunk@39153 -
2018-05-31 09:49:58 +00:00
Mattias Gaertner
b6ac7e4c02 fcl-passrc: comment
git-svn-id: trunk@39152 -
2018-05-31 09:49:14 +00:00
nickysn
98634899f2 + support OMF fixups, determined by thread
git-svn-id: trunk@39151 -
2018-05-30 15:49:27 +00:00
nickysn
2fb73de404 + support reading OMF files with THREAD FIXUPP subrecords; note that fixups,
determined by thread are still not yet implemented

git-svn-id: trunk@39150 -
2018-05-30 14:30:54 +00:00
nickysn
ebecfb1ce9 + added a FFixupThreads property with a TOmfThreads object to TOmfObjInput
git-svn-id: trunk@39149 -
2018-05-30 14:10:12 +00:00