Commit Graph

48493 Commits

Author SHA1 Message Date
michael
ad34300873 * Patch from Denis Kozlov to fix buffer errors (bug ID 29942)
git-svn-id: trunk@33406 -
2016-04-02 09:13:56 +00:00
michael
18447a39c4 * Fix font encoding and unicode issues, rework tests to work with val()
git-svn-id: trunk@33401 -
2016-03-31 13:54:31 +00:00
michael
1a032303ff * Fix bug #29935
git-svn-id: trunk@33397 -
2016-03-31 12:12:04 +00:00
Jonas Maebe
8c0d9b581c * don't write the destination register in a_load_ref_reg_unaligned() before
the reference has been used for the last time, as the destination
    register could be the base or index register of the reference

git-svn-id: trunk@33393 -
2016-03-30 20:04:31 +00:00
marco
2221e4e4bd * fix timespec=nil for -dgeneric_linux_syscalls (aarch64) case.
git-svn-id: trunk@33392 -
2016-03-30 19:21:05 +00:00
pierre
78da04f8d5 + Add verbose boolean variable, set to false by default,
set to true by setting environment variable DOSBOX_VERBOSE.
  Most output generated by the wrapper is now only given if 
  verbose is true.
  + New constant SkipUntilText, default value 'Drive C is mounted as ',
  allow to discard output generated by dosbox program up to the line
  containing this string.

git-svn-id: trunk@33385 -
2016-03-30 07:42:35 +00:00
marco
7b4229b83e * include platform.inc in sysmsg because that unit tests directives that
are set only there (like OS_WINDOWS). Suggestion by Joe Care mantis #29926

git-svn-id: trunk@33383 -
2016-03-29 19:17:51 +00:00
Jonas Maebe
a5dba44fd3 * fixed sign extension for unaligned loads (mantis #29891, although that
code shouldn't use unaligned loads in the first place)

git-svn-id: trunk@33382 -
2016-03-29 14:52:27 +00:00
Jonas Maebe
322493c195 * fixed overflow checking on AArch64 for signed multiplications with zero
(mantis #29912)

git-svn-id: trunk@33380 -
2016-03-29 09:50:42 +00:00
Jonas Maebe
73a303c899 * no need to call maybeadjustresult() after performing a 64 bit operation
git-svn-id: trunk@33379 -
2016-03-29 09:50:39 +00:00
michael
3e96806f7e Renamed DisposeAndNil to FreeMemAndNil
git-svn-id: trunk@33378 -
2016-03-29 07:55:58 +00:00
michael
92b8bf97c0 * Added DisposeAndNil (bug ID 28895)
git-svn-id: trunk@33377 -
2016-03-29 07:33:28 +00:00
florian
6e56f5c191 * fixed exe output path
git-svn-id: trunk@33376 -
2016-03-28 20:44:08 +00:00
florian
8d5cc3dfa4 * (extended and modified) patch by Emelyanov Roman to add suport of RDRAND, RDSEED and TSX instructions set, resolves issue #29893.
In comparison with the original patch, support for a i386 has been added as well as a test program. 
  Further, a small issue with xbegin has been fixed

git-svn-id: trunk@33375 -
2016-03-28 19:08:13 +00:00
nickysn
b562bcfdbd * fixed the alignment filler in code sections on i8086 to always use nops,
instead of using the optimized instructions for 386+, which assume also a
  32-bit address and operand size, so they didn't work even on a 386+ in real
  mode

git-svn-id: trunk@33371 -
2016-03-28 15:04:28 +00:00
michael
13e1bf4066 * Patch from stephano to fix header parsing (bug ID 29918)
git-svn-id: trunk@33364 -
2016-03-28 13:28:14 +00:00
michael
e3aaeae2e7 * Fix bug ID #29913
git-svn-id: trunk@33363 -
2016-03-28 13:16:31 +00:00
michael
231ec77175 * Delphi compatibility classes (Patch by Silvio Clecio, bug ID #29917)
git-svn-id: trunk@33362 -
2016-03-28 12:57:42 +00:00
michael
62b2b65110 * Fix bug ID #18853
git-svn-id: trunk@33361 -
2016-03-28 11:09:41 +00:00
michael
b000a31abd * Make sure UTF8 is supported for all filenames when unzipping (bug ID 25982)
git-svn-id: trunk@33360 -
2016-03-28 09:39:53 +00:00
marco
7cda2d237f * improved prototypes for dos.
git-svn-id: trunk@33356 -
2016-03-27 21:13:24 +00:00
marco
e7eb7d7415 * dummy executeprocess routines fix, by Michael Ring, fpc-devel list.
git-svn-id: trunk@33355 -
2016-03-27 19:27:48 +00:00
michael
9501faa00b * Added LastError and LastErrorMsg (bug ID 29681)
git-svn-id: trunk@33348 -
2016-03-27 17:31:59 +00:00
michael
fb984ad18a * Fix bug ID #25817, wrong size for msqid_ds
git-svn-id: trunk@33347 -
2016-03-27 13:36:48 +00:00
michael
65c880a7f6 * Use STACK_SIZE_PARAM_IS_A_RESERVATION for stack sizes, should fix bug ID #17755
git-svn-id: trunk@33346 -
2016-03-27 11:12:47 +00:00
michael
12d7061212 * Define STACK_SIZE_PARAM_IS_A_RESERVATION
git-svn-id: trunk@33345 -
2016-03-27 11:11:54 +00:00
michael
f380aeb63d * Fix from Andrea Mauri to make formatfloat delphi-compatible in case of negative zero (bug ID 26465)
git-svn-id: trunk@33344 -
2016-03-27 10:40:09 +00:00
michael
bcdfe055a8 * Fix bug ID #26944 (thousandseparator, patch from wp)
git-svn-id: trunk@33343 -
2016-03-27 10:13:16 +00:00
michael
2ec2f1fc16 * Fix bug in WrapText (bug ID 26677)
git-svn-id: trunk@33342 -
2016-03-27 09:41:23 +00:00
michael
493db55664 * Some improvements to gHashmap by lks (bug ID 23943)
git-svn-id: trunk@33341 -
2016-03-27 08:14:46 +00:00
michael
960963e74b * SearchAttr needs more bits (faSymlink=$400), bug ID #29870
git-svn-id: trunk@33340 -
2016-03-27 00:01:14 +00:00
michael
9d75d3aae8 * Fix by Laco for bug ID #29037
git-svn-id: trunk@33339 -
2016-03-26 23:54:13 +00:00
michael
82414ecacc * Added missing identifiers (bug ID 27704)
git-svn-id: trunk@33338 -
2016-03-26 23:43:49 +00:00
michael
37da491e57 * Correct 64-bit zip files
git-svn-id: trunk@33337 -
2016-03-26 23:35:07 +00:00
michael
bfff843ec7 * Some changes for >4Gb files
git-svn-id: trunk@33336 -
2016-03-26 17:53:26 +00:00
michael
32a56c57a2 * Some changes for >4Gb files
git-svn-id: trunk@33335 -
2016-03-26 17:53:19 +00:00
yury
d4d70d3865 * Evaluate currency constant expressions when the currency type is 64-bit integer. Issue #28749.
git-svn-id: trunk@33334 -
2016-03-26 17:48:50 +00:00
michael
12bf033606 * Fix some symbol locations, patch by Barlone (bug ID 27335)
git-svn-id: trunk@33333 -
2016-03-26 16:35:09 +00:00
michael
572c353b0d * Patch from Dennis Fehr to fix constants for non-freebsd
git-svn-id: trunk@33332 -
2016-03-26 16:10:21 +00:00
michael
9cc2767854 * Fix bug ID #27158, allow use of UTF8 filenames.
git-svn-id: trunk@33331 -
2016-03-26 13:42:57 +00:00
michael
73bf5dd3f0 * Extra error message for using find in unsorted list
git-svn-id: trunk@33330 -
2016-03-26 12:26:22 +00:00
michael
f6a1a5fa6b * Address bug #29837, use SizeInt where appropriate
git-svn-id: trunk@33329 -
2016-03-26 10:28:39 +00:00
michael
10bbfce412 * Allow Find to work with user-sorted stringlists.
git-svn-id: trunk@33328 -
2016-03-26 09:13:27 +00:00
michael
2b077f6af3 * Revert Integer -> SizeInt change where appropriate, capping result when needed
git-svn-id: trunk@33327 -
2016-03-26 07:41:34 +00:00
nickysn
cf3230b100 - removed IF_CENTAUR and replaced it with IF_CYRIX. Rationale: only 3 Centaur -
specific instructions were marked as CENTAUR, all the others were marked
  CYRIX, so it wasn't an accurate flag at all

git-svn-id: trunk@33326 -
2016-03-25 17:01:11 +00:00
svenbarth
9f2defcb7e Adjust the test I committed yesterday so that we treat the warning we don't want to reappear as an error.
git-svn-id: trunk@33325 -
2016-03-25 08:35:34 +00:00
svenbarth
35f8d5427f Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings.
The added test shows such a bogus warning (sadly the test suite can handle the occurence or absense of certain messages yet :/ )

git-svn-id: trunk@33324 -
2016-03-24 20:58:04 +00:00
svenbarth
56ae2d34b2 Ensure that (Bit)SizeOf(GenericParameter) returns a sensible value in case of constants (which are evaluated at compile time unlike if occuring in code)
pdecl.pas, readconstant:
  * instead of 0 return 1 for SizeOf() and 8 for BitSizeOf() if the argument is a generic parameter

git-svn-id: trunk@33323 -
2016-03-24 20:51:58 +00:00
nickysn
9a2f5e01d7 + added range checking for the immediate operand of NEC V20/V30's instructions CLR1, SET1, NOT1 and TEST1
git-svn-id: trunk@33322 -
2016-03-24 16:05:11 +00:00
nickysn
0be6d062ac + added range checking for the imm4 operand of NEC V20/V30's instructions
'EXT reg8,imm4' and 'INS reg8,imm4'

git-svn-id: trunk@33321 -
2016-03-24 15:45:23 +00:00