marcus
9346746c67
MorphOS: Added GadTools Library unit
...
git-svn-id: trunk@32641 -
2015-12-11 19:33:27 +00:00
svenbarth
8bd79f95be
Fix a few typos discovered by Blaise
...
git-svn-id: trunk@32640 -
2015-12-11 16:31:00 +00:00
Jonas Maebe
092a0af0ec
* removed special-purpose code for constant chars while parsing typed string
...
constants: it did not properly handle ansistring code pages, and was just a
hack to speed things up a bit (mantis #29153 )
git-svn-id: trunk@32636 -
2015-12-11 15:33:28 +00:00
Jonas Maebe
e43f767cbf
* fixed setting the paraloc shift value for data whose size is not a power
...
of 2: paraloc^.size was then OS_NO, so their shiftval was set to 0,
while we also have to put those in the upper bytes of the paraloc
git-svn-id: trunk@32634 -
2015-12-10 22:45:59 +00:00
Jonas Maebe
1320d6bdba
* correctly handle negative paraloc shift values for non power-of-2 sized
...
paralocs (e.g. a 3 byte record) in case the data's size has been
rounded up to the next power of two as far as the paraloc is concerned
(because those 3 bytes had to be shifted to be located in the upper 3
bytes of a 4 byte location)
git-svn-id: trunk@32633 -
2015-12-10 22:45:56 +00:00
Jonas Maebe
a1db947e9e
* missing part of r32617: also load the def for constnil symbols
...
git-svn-id: trunk@32632 -
2015-12-10 22:45:53 +00:00
marco
5dcf5a95c5
* move beginupdate before try 3x , Mantis #29164
...
git-svn-id: trunk@32630 -
2015-12-10 19:21:16 +00:00
marco
aa33a9509f
* added try..finally to beginupdate/endupdate, mantis #29165
...
git-svn-id: trunk@32629 -
2015-12-10 19:19:25 +00:00
nickysn
1d015b9620
* fixed dosbox_wrapper compilation under windows
...
git-svn-id: trunk@32628 -
2015-12-10 14:47:31 +00:00
Jonas Maebe
db2a02fb63
* clarified missing unicodestring manager error message
...
git-svn-id: trunk@32627 -
2015-12-10 11:00:00 +00:00
pierre
d3d78e6367
Regenerate after: Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
...
git-svn-id: trunk@32626 -
2015-12-10 01:51:37 +00:00
pierre
f6133d4417
Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
...
git-svn-id: trunk@32625 -
2015-12-10 01:51:15 +00:00
pierre
0bf3b2201d
Change 'exit' to '' to allow to avoid exit at the end of test run
...
git-svn-id: trunk@32624 -
2015-12-10 01:49:37 +00:00
pierre
1e38631cbe
+ (OutputFileName variable): Add possibility to use output duplicated to a file by a modified dosbox
...
version, using an entry in [dos] section of dosbox.conf cinfig file.
copy_con_to_file=/path/to/file/that/will/get/the/copy
+ (EchoOutput procedure) Write to ouput the content of this file so that it ends up into XXXX.elg file
when checking test file XXXX.
* Add use_temp_dir boolean variable, set to true by default, can be set to false by
setting DOSBOX_NO_TEMPDIR env. variable.
+ Add hide_execution boolean variable (might only work on Windows),
which sets SWOHide to Process.ShowWindow property if true.
hide_execution defaults to true, but can be set to true by setting
DOSBOX_NO_HIDE to set to false.
+ Add do_exit boolean variable (defaulting to true), which adds
'exit' as last line into autoexec section in dosbox.conf.
Use DOSBOX_NO_EXIT to avoid automatic closing of DosBox at the end of test
execution (can bbe useful for debugging purposes).
git-svn-id: trunk@32623 -
2015-12-10 01:48:18 +00:00
nickysn
9f79eeff0e
* on Windows, run dosbox with the swoHIDE option to prevent the annoying focus
...
stealing dosbox consoles from appearing
git-svn-id: trunk@32622 -
2015-12-09 15:56:23 +00:00
yury
6bd2b2d41b
* pas2jni: Fixed handling of pointers.
...
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
Jonas Maebe
ed03286be5
* simplify "div -1" to unaryminusn, not just for performance reasons but
...
also because "div -1" is not handled correctly by the div-to-mul/shift
transformation on x86 (mantis #28702 )
git-svn-id: trunk@32619 -
2015-12-08 15:57:07 +00:00
Jonas Maebe
0b4f3f01b3
* fixed another case of endless recursion in
...
tabstractrecordsymtable.has_single_field(), due to always looking in the
symlist of the original record rather than properly recursing into those
of nested ones (mantis #28641 )
git-svn-id: trunk@32618 -
2015-12-08 15:35:19 +00:00
Jonas Maebe
01d93b61c3
* save/restore the type (and hence code page) of ansistring constsyms in/from
...
the ppu (mantis #28964 )
* also save/restore the type of constnil, constresourcestring and constguid
in/from the ppu
git-svn-id: trunk@32617 -
2015-12-08 14:27:23 +00:00
yury
f6b99c5d6a
* pas2jni: Typecast interface to pointer.
...
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28
* pas2jni: Fixed exclusion.
...
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
pierre
11d5f6a88b
Add explicit rule to compile dosbox_wrapper, executable is put in utils/dosbox directory
...
git-svn-id: trunk@32614 -
2015-12-07 22:54:02 +00:00
florian
19a7bc0aee
* fix test for 64 bit targets
...
git-svn-id: trunk@32613 -
2015-12-07 21:48:19 +00:00
yury
df59776ff8
* pas2jni: Fixed type cast for null.
...
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e
* pas2jni: Fixed handling of array type properties.
...
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
sergei
c0eafe38aa
* Make trgobj.uses_registers method return True when registers of appropriate type are specified in list of used registers (after assembler blocks), but not used otherwise. This is a missing piece of r30011, enabling code generator to actually save/restore such registers. Resolves #28421 .
...
git-svn-id: trunk@32610 -
2015-12-07 19:12:20 +00:00
yury
9d93c6f953
* pas2jni: Properly exclude whole units.
...
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
sergei
5709127a39
* In pure-assembler procedures, don't allocate/free any registers around the only assembler node. Such procedures don't use virtual registers or register allocator.
...
git-svn-id: trunk@32608 -
2015-12-07 18:32:35 +00:00
yury
894e61f6bd
* pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
...
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
Jonas Maebe
ce40b2e449
* added/clarified some comments
...
* made internal method check_add_placeholder() protected
git-svn-id: trunk@32606 -
2015-12-07 09:17:11 +00:00
pierre
ab730efac7
Fixed use with 7.9 release or later, symtab strcut was completely changed
...
git-svn-id: trunk@32605 -
2015-12-07 00:28:57 +00:00
pierre
312e51328a
Regenerated after: Add -Cg for bootstrap depending on source OS/CPU as it is normally added for target OS/CPU
...
git-svn-id: trunk@32604 -
2015-12-07 00:08:23 +00:00
pierre
b1e4b56900
Add -Cg for bootstrap depending on source OS/CPU as it is normally added for target OS/CPU
...
git-svn-id: trunk@32603 -
2015-12-07 00:06:38 +00:00
florian
cad29a4e19
* set nf_write flag correctly for subscript nodes, resolves issue #28713
...
git-svn-id: trunk@32602 -
2015-12-06 19:17:50 +00:00
pierre
60070169bb
Regenerated Makefile's for rtl/linux and rtl/win32, aarch64-linux target was missing
...
git-svn-id: trunk@32601 -
2015-12-06 11:35:28 +00:00
Jonas Maebe
477e087857
* only check the shiftval in llvmbyvalparaloc() if it's a register parameter
...
location (it's invalid for other locations)
git-svn-id: trunk@32600 -
2015-12-05 18:04:02 +00:00
Jonas Maebe
99361994b7
* only copy the shiftval field from the original para location when creating
...
a temporary parameter location if the original location was not a reference
(because in that case part of the reference overlaps with the shiftval
variant field, and if we optimise the temp location into a register,
this register will get a random/bogus shiftval)
git-svn-id: trunk@32599 -
2015-12-05 18:03:59 +00:00
Jonas Maebe
e4647ac133
- removed "nostackframe" from floating point helpers for llvm, as FPC
...
doesn't handle nostackframe correctly in combination with extended
parameters on x86 (with or without llvm)
git-svn-id: trunk@32598 -
2015-12-05 18:03:57 +00:00
Jonas Maebe
a249950a45
* fixed types in tcgcallnode.load_block_invoke()
...
o made the method non-virtual, as there is no reason to override it
anymore (it was virtual to be able to override it with a typesafe
LLVM-specific version)
git-svn-id: trunk@32597 -
2015-12-05 18:03:54 +00:00
Jonas Maebe
2046220f56
+ helper methods to load a field into a register
...
git-svn-id: trunk@32596 -
2015-12-05 18:03:51 +00:00
Jonas Maebe
a9498b6735
* fixed the parameter order for thlcgobj.g_load_const_field_by_name()
...
git-svn-id: trunk@32595 -
2015-12-05 18:03:48 +00:00
Jonas Maebe
df9efdeb4c
* fixed llvm types for loading the address of a nested routine
...
git-svn-id: trunk@32594 -
2015-12-05 18:03:45 +00:00
Jonas Maebe
d16d2e6e3c
* don't crash when inserting the parentfp parameter for "is nested" procvar
...
declarations on systems_fpnestedstruct platforms
git-svn-id: trunk@32593 -
2015-12-05 18:03:42 +00:00
Jonas Maebe
4821fa7c67
* fixed second_proc_to_procvar for 8086 after r32553
...
git-svn-id: trunk@32592 -
2015-12-05 18:03:40 +00:00
Jonas Maebe
da696057ab
* converted register_maybe_adjust_setbase() to the high level code generator
...
git-svn-id: trunk@32591 -
2015-12-05 18:03:37 +00:00
Jonas Maebe
ab22aaa2b7
* adjust the set base for i8086 before loading it into cx as a shift count
...
git-svn-id: trunk@32590 -
2015-12-05 18:03:34 +00:00
Jeppe Johansen
159c28eca8
Fix AVR comparison with zero.
...
git-svn-id: trunk@32589 -
2015-12-05 15:25:33 +00:00
pierre
42e08b4c01
Set PIC_OPT if -Cg of -fPIC option is used, also use -KPIC for mips and mipsel ASTARGET if PIC_OPT is set
...
git-svn-id: trunk@32588 -
2015-12-05 11:45:09 +00:00
pierre
fee0c228cc
Regenerate after: Fix rtl compilation for AIX OS
...
git-svn-id: trunk@32587 -
2015-12-05 00:16:31 +00:00
pierre
e333877ab8
Fix rtl compilation for AIX OS
...
git-svn-id: trunk@32586 -
2015-12-05 00:15:17 +00:00