marco
4c4da73506
* Changed all fn functions to rawbytestring/unicodestring overloaded pair.
...
git-svn-id: trunk@32784 -
2015-12-28 15:30:00 +00:00
Jonas Maebe
015a864db1
* def.fullownerhierarchyname() already ends in a '.', so don't append another
...
one
git-svn-id: trunk@32783 -
2015-12-28 15:06:55 +00:00
Jonas Maebe
4643913d58
- disable x86-specific workarounds when using LLVM (even when targeting x86)
...
git-svn-id: trunk@32782 -
2015-12-28 15:06:50 +00:00
Jonas Maebe
8471d93bf8
* include the unit name in tstoreddef.fullownerhierarchyname()
...
git-svn-id: trunk@32781 -
2015-12-28 15:06:43 +00:00
Jonas Maebe
96698994f3
* ensure that we don't firstpass a tcgnestloadnode twice, as it
...
changes left (should be solved in a cleaner way, by transforming
the whole load node into an equivalent construct)
git-svn-id: trunk@32780 -
2015-12-28 15:06:36 +00:00
Jonas Maebe
1a09209659
* fixed type correctness of array parameter handling for calls to
...
fpc_addref_array/fpc_finalize_array (those helpers expect a pointer
to the elements of the array, not a pointer to the array)
git-svn-id: trunk@32779 -
2015-12-28 15:06:29 +00:00
Jonas Maebe
35a170ed8e
* don't internalerror when asked to set the function result of a function
...
returning an empty record to "uninitialized"
git-svn-id: trunk@32778 -
2015-12-28 15:06:22 +00:00
Jonas Maebe
c452e70f74
+ support for a reference without base or symbol, if the offset is 0
...
(for @ptrtype(0)^.field expressions)
git-svn-id: trunk@32777 -
2015-12-28 15:06:15 +00:00
Jonas Maebe
b4fe4789d6
+ support for constant call parameters on LLVM
...
o reduces the size of the generated LLVM IR, but mainly important for LLVM
intrinsics such as llvm.memcpy.*(), as llc complains if some of their
parameters are not constants (you could work around it by first running
opt or by using clang with optimizations so that the constants, which
were loaded in registers until now, were propagated to the intrinsics
by the time llc saw them)
git-svn-id: trunk@32776 -
2015-12-28 15:06:07 +00:00
michael
a5eb3777de
* Fix MaxDateTime constant (bug ID 28282)
...
git-svn-id: trunk@32775 -
2015-12-28 14:23:23 +00:00
michael
9689bcc34b
* Better unicode string support. Changed TJSONStringType to UTF8String (bug ID 28966)
...
git-svn-id: trunk@32774 -
2015-12-28 10:53:32 +00:00
florian
1287a8b0e8
* patch by Ondrej Pokorny: advancedipc has now resource strings, resolves issue #29265
...
git-svn-id: trunk@32773 -
2015-12-27 22:33:14 +00:00
florian
41ae363356
* unit singleinstance does not have a resource file anymore
...
git-svn-id: trunk@32772 -
2015-12-27 20:02:40 +00:00
michael
7ab8472a70
TTestCase.CheckAssertCalled implemented (bug ID 28408)
...
git-svn-id: trunk@32771 -
2015-12-27 19:31:50 +00:00
michael
a2985a5572
* Refactored singleinstance so it is independent of any specific implementation
...
git-svn-id: trunk@32770 -
2015-12-27 18:46:08 +00:00
michael
2451f7596b
* Example demonstrating formatsettings for inifile
...
git-svn-id: trunk@32769 -
2015-12-27 18:17:34 +00:00
michael
22c284ca28
* Allow use of Formatsettings (bug ID 28693)
...
git-svn-id: trunk@32768 -
2015-12-27 18:09:57 +00:00
michael
ac1768adb0
* Applied adapted patch from Simon Ameis to add log with formatting capabilities (bug ID 29262)
...
git-svn-id: trunk@32767 -
2015-12-27 17:31:42 +00:00
michael
88957c62e3
* Add Ceil64 and Floor64, patch from Bart Broersma (bug ID 28370)
...
git-svn-id: trunk@32766 -
2015-12-27 17:25:06 +00:00
michael
0042e1d3b8
* Fix bug #29150
...
git-svn-id: trunk@32765 -
2015-12-27 17:07:31 +00:00
Jonas Maebe
8917633199
* implement sizeof/typeof completely at the node level, based on
...
loadvmtaddr and vmt_def
o give an error when trying to use sizeof on a class/object when
targeting the JVM (can't get/load the data size there)
git-svn-id: trunk@32764 -
2015-12-27 14:22:06 +00:00
Jonas Maebe
59eff35c5d
* give fields added for VMT definition of TP-style objects the same
...
name as the equivalent fields for class VMTs, so we can access them
using common code
git-svn-id: trunk@32763 -
2015-12-27 14:21:59 +00:00
joost
b47d158920
* Stream objectlists to JSON
...
git-svn-id: trunk@32762 -
2015-12-27 13:36:16 +00:00
nickysn
283fd540da
* increased the default dosbox timeout to 90 seconds
...
git-svn-id: trunk@32761 -
2015-12-27 12:43:01 +00:00
joost
1a37d8e3d6
* Procedure added to clear cache of already executed actions
...
git-svn-id: trunk@32760 -
2015-12-27 12:41:05 +00:00
joost
3f3c8197fb
* A package now always has a filename, to fix PAckageRemoteArchive
...
git-svn-id: trunk@32759 -
2015-12-27 11:55:09 +00:00
Jonas Maebe
d44100448c
* add support in the debug info for the dummy s128bit/u128bit types added
...
in r32735 (mantis #29259 )
git-svn-id: trunk@32758 -
2015-12-27 11:45:24 +00:00
Jonas Maebe
5201547043
* don't reuse defs when writing RTTI for stored properties, as their layout
...
depends on how exactly they are stored
git-svn-id: trunk@32757 -
2015-12-27 11:14:41 +00:00
michael
3509a247d4
* Add ability to set Message Buffer size
...
git-svn-id: trunk@32756 -
2015-12-27 10:53:55 +00:00
blikblum
adcebe7a8c
sqliteds: set memo conversion procedure in TSqliteDataset
...
git-svn-id: trunk@32755 -
2015-12-27 10:53:33 +00:00
blikblum
e65a6b9e50
sqliteds: fix indentation
...
git-svn-id: trunk@32754 -
2015-12-27 10:53:12 +00:00
blikblum
6189686c6d
sqliteds: Ensure unique names in fielddefs
...
git-svn-id: trunk@32753 -
2015-12-27 10:40:58 +00:00
michael
07ca0393ff
* Patch from Mattias Gaertner to fix range expression parsing (bug ID 29138)
...
git-svn-id: trunk@32752 -
2015-12-27 10:31:18 +00:00
michael
dda3f60df5
* Applied patch from Andrew H. to make XML format more verbose
...
git-svn-id: trunk@32751 -
2015-12-27 09:50:01 +00:00
Jeppe Johansen
970f0064ea
Downgrade build message from makefile from error to warning for arm-embedded. This makes it possible to build a working RTL with external startup code for subarchs with no cpu units.
...
git-svn-id: trunk@32750 -
2015-12-26 23:58:09 +00:00
Jeppe Johansen
9d1646e2a8
Add support for writeback in RFE and SRS instructions.
...
git-svn-id: trunk@32749 -
2015-12-26 23:53:11 +00:00
Jeppe Johansen
803f402bf8
Fix minor bug in peephole optimizer.
...
git-svn-id: trunk@32748 -
2015-12-26 23:51:08 +00:00
yury
98ebcdc179
* pas2jni: Minor optimizations.
...
git-svn-id: trunk@32747 -
2015-12-26 21:55:32 +00:00
florian
c83fa22b2b
* cleaned up initialization of (ptr)s/uinttype
...
git-svn-id: trunk@32746 -
2015-12-26 20:57:30 +00:00
florian
e1d4d167b4
* hidden high parameter must be of type ptrsinttype, resolves issue #29204
...
git-svn-id: trunk@32745 -
2015-12-26 20:48:50 +00:00
yury
95f933049a
* pas2jni: Fixed memory leaks.
...
git-svn-id: trunk@32744 -
2015-12-26 20:48:15 +00:00
Jonas Maebe
e3d2980c98
* don't load data in a register when converting from void to an integer
...
type (like with integer(pointer1^):=integer(pointer2^))
git-svn-id: trunk@32743 -
2015-12-26 20:01:44 +00:00
Jonas Maebe
205136f924
* fixed the size used for setting uninitialised function results if it
...
has to be zero/sign-extended for ABI reasons
git-svn-id: trunk@32742 -
2015-12-26 20:01:38 +00:00
Jonas Maebe
fad7c8f151
* fixed indexing dynamic arrays and strings with a constant index (the index
...
was ignored in this case)
git-svn-id: trunk@32741 -
2015-12-26 20:01:32 +00:00
Jonas Maebe
31bd38c45b
* only add the procdef's parentfpinitblock if there are any statements in it
...
* internalerror if we try to add a non-empty parentfpinitblock to a
pure assembler routine
git-svn-id: trunk@32740 -
2015-12-26 20:01:25 +00:00
Jonas Maebe
5a8c151a72
* don't create the nestedvars struct for pure assembler routines, as
...
those will never call a nested routine using Pascal-level support
for accessing local variables (even if the nestedvars stayed empty,
this caused a stack frame to be allocated because a temp of 0
bytes is rounded up to 4 bytes)
git-svn-id: trunk@32739 -
2015-12-26 20:01:14 +00:00
Jonas Maebe
aef6120438
* fixed shortstring constant emission after r28210: the terminating #0
...
was no longer included, so things went wrong if the string was reused
for a pchar
git-svn-id: trunk@32738 -
2015-12-26 20:01:06 +00:00
Jonas Maebe
ea1e368328
+ added div-by-zero and overflow checking support for mod/div
...
git-svn-id: trunk@32737 -
2015-12-26 20:00:57 +00:00
Jonas Maebe
4939c9a7b9
* implemented overflow checking for llvm
...
git-svn-id: trunk@32736 -
2015-12-26 20:00:44 +00:00
Jonas Maebe
9258b5d76b
+ non-functional 128 bit integer types (inaccessible from Pascal), for use
...
in the LLVM high level code generator to implement overflow checking
git-svn-id: trunk@32735 -
2015-12-26 20:00:33 +00:00