florian
4109f88e08
* AllocRegBetween always extends the processed register to the whole super register and takes care of this while removing (de)/allocs
...
git-svn-id: trunk@34718 -
2016-10-15 15:03:23 +00:00
joost
41c9543ddf
* Added ability to use include-files in configuration-files
...
git-svn-id: trunk@34717 -
2016-10-15 12:08:26 +00:00
michael
df8687c259
* Patch from Mattias Gaertner:
...
- class visibility
- procedure and method types
- check var type fits init expression
- built-in functions low, high
git-svn-id: trunk@34716 -
2016-10-14 15:52:02 +00:00
nickysn
ac186eb85d
* use sizeuinttype instead of ptruinttype for the array range type in the
...
structure, created by TVMTWriter.gettabledef
git-svn-id: trunk@34715 -
2016-10-14 13:22:05 +00:00
svenbarth
d4e573c1e3
* fix for Mantis #27349 : nested classes might also reside inside records
...
+ added test
git-svn-id: trunk@34714 -
2016-10-13 20:40:47 +00:00
svenbarth
254be82c43
* revert r34712: the behavior with the class constructors is indeed Delphi compatible. However only one class constructor/destructor per class is allowed no matter how it's named.
...
git-svn-id: trunk@34713 -
2016-10-13 20:11:35 +00:00
svenbarth
4e5ed5b0e2
Fix for Mantis #30729 : don't allow other names for class constructors or destructors than Create and Destroy respectively.
...
+ added tests
git-svn-id: trunk@34712 -
2016-10-13 19:24:07 +00:00
joost
233299614c
* Suppress warning when local/global-unitdir and the searchpath equals each other
...
git-svn-id: trunk@34711 -
2016-10-13 19:15:06 +00:00
svenbarth
63f0c7a2c3
Fix for Mantis #30734 : Implement Delphi-compatible functions StrToUInt64(), StrToUInt64Def and TryStrToUInt64 as inline forwarders to the existing respective QWord functions
...
git-svn-id: trunk@34710 -
2016-10-13 17:49:50 +00:00
michael
4091010b9f
* Patch from Mattias Gaertner to correctly resolve:
...
- check const expression fits type
- built-in procedures Inc, Dec, Exit, Ord, Assigned
- type casts boolean, integer and floats
- check for loop variable and values
- check case-of expressions
- type cast classes
- class-of
- class vars/procs/properties
- properties with parameters
- default properties
- static and dynamic arrays
git-svn-id: trunk@34709 -
2016-10-12 15:11:59 +00:00
nickysn
7ee133162c
* use OMF section names, starting with dot for the dwarf debug info for
...
compatibility with the Watcom linker and debugger
git-svn-id: trunk@34708 -
2016-10-12 13:05:12 +00:00
joost
723fc982b3
* Also pass global- and local-unitdir to fpmake, so that it still works with older versions
...
git-svn-id: trunk@34707 -
2016-10-11 20:20:06 +00:00
nickysn
9832e0caaa
- don't build rtl-generics for the win16 target, because its rtl is still incomplete and lacks the sysutils/classes units
...
git-svn-id: trunk@34706 -
2016-10-11 11:48:15 +00:00
nickysn
501b9481c5
* use .create_nil_codeptr instead of .create_pint(0) for writing the placeholder
...
address of implementation field in tobjcrttiwriter.gen_objc_cat_methods
git-svn-id: trunk@34705 -
2016-10-10 15:40:10 +00:00
nickysn
9669e5aa00
* use .create_nil_dataptr instead of .create_pint(0) for writing the 'next'
...
field in tobjcrttiwriter.gen_objc_protocol_list
git-svn-id: trunk@34704 -
2016-10-10 14:03:52 +00:00
Károly Balogh
b8e1151eed
atari: add tf_requires_proper_alignment to the atari target
...
git-svn-id: trunk@34703 -
2016-10-09 22:56:23 +00:00
joost
aefa69b390
* Fixed path-delimeters
...
git-svn-id: trunk@34702 -
2016-10-09 19:41:06 +00:00
nickysn
9febafa8d5
* fixed win16 compilation, patch by Max Nazhalov
...
git-svn-id: trunk@34701 -
2016-10-09 19:20:54 +00:00
michael
c181889401
* Corrected visibility names
...
git-svn-id: trunk@34700 -
2016-10-09 16:13:47 +00:00
michael
90fa0210cd
* Nested classes can result in more than one dot in method names
...
git-svn-id: trunk@34699 -
2016-10-09 16:13:29 +00:00
florian
57ca8647b3
* better peephole optimization tracing
...
git-svn-id: trunk@34698 -
2016-10-09 13:41:38 +00:00
Károly Balogh
42760951f9
atari: added the initialization of threading subsystem to system init
...
git-svn-id: trunk@34697 -
2016-10-09 13:24:41 +00:00
Károly Balogh
63166555a2
atari: fixed file opening, we can now read text files at least on this platform
...
git-svn-id: trunk@34696 -
2016-10-09 13:23:59 +00:00
Jonas Maebe
5efb32285a
* fixed alignment for interface RTTI (patch by Alfred, mantis #30182 )
...
git-svn-id: trunk@34695 -
2016-10-09 12:34:01 +00:00
michael
1d16ecbf0d
* Better detection of effective visibility of an element
...
git-svn-id: trunk@34694 -
2016-10-09 11:25:58 +00:00
michael
8e233be427
* Different font for windows
...
git-svn-id: trunk@34693 -
2016-10-09 10:04:56 +00:00
michael
c2540d85ae
* Fix bug #30616
...
git-svn-id: trunk@34692 -
2016-10-09 10:03:07 +00:00
michael
eae7b33622
* Double Deref allowed after ()
...
git-svn-id: trunk@34691 -
2016-10-09 09:53:56 +00:00
michael
171ac5eebb
* recognize MODE directive
...
git-svn-id: trunk@34690 -
2016-10-09 09:53:39 +00:00
michael
c826d34429
* Allow function result to be omitted for implementation of declared function, in Delphi mode
...
git-svn-id: trunk@34689 -
2016-10-09 09:24:04 +00:00
michael
6d88302745
* Allow Delphi specialization syntax for generics (bug ID 30615)
...
git-svn-id: trunk@34688 -
2016-10-09 08:41:54 +00:00
michael
70ce54ef4e
* Fix bug #30701 : allow formatting arguments in str() and writeln()
...
git-svn-id: trunk@34687 -
2016-10-09 08:16:15 +00:00
Károly Balogh
0af22b9177
rtl-objpas: clean up all the identical varutils variants and made all platforms except Windows to use the common one
...
git-svn-id: trunk@34686 -
2016-10-09 06:37:54 +00:00
Károly Balogh
710da4cc13
packages: fix the cross-build breakages caused by the overlapping sp argument added in r34680 and a wrong fix attempt in r34684
...
git-svn-id: trunk@34685 -
2016-10-09 06:03:32 +00:00
nickysn
c5ae6027ca
* fixed i8086-msdos snapshot building after r34680
...
git-svn-id: trunk@34684 -
2016-10-08 22:26:40 +00:00
michael
5810ff8154
* Patch from Maciej Izak for delphi compatible TLocaleOptions (bug ID 30660)
...
git-svn-id: trunk@34683 -
2016-10-08 22:23:34 +00:00
nickysn
cf13bacbba
+ call InitSystemThreads in the win16 system unit as well
...
git-svn-id: trunk@34682 -
2016-10-08 22:04:40 +00:00
nickysn
e0267e3088
+ call InitSystemThreads in the msdos system unit startup, to initialize the
...
thread manager object, so that rtl calls to InitCriticalSection don't crash
git-svn-id: trunk@34681 -
2016-10-08 22:03:27 +00:00
joost
a886681bb3
* Replaced global- and local-unitdir with a list of search-paths
...
git-svn-id: trunk@34680 -
2016-10-08 21:26:08 +00:00
joost
6ed48e8ae1
* Fixed double path-separator in unit-installation directory
...
git-svn-id: trunk@34679 -
2016-10-08 20:48:23 +00:00
Jonas Maebe
265923a2ee
* several fixes for TMultiReadExclusiveWriteSynchronizer, based on patch by
...
Derek (mantis #28830 )
o ability for a thread to acquire a readlock when it already holds a
write lock, or vice versa
o detect when thread1 releases a lock while it hadn't acquired one
o correct result of beginwrite (return true only when another thread
held/acquired a write lock before the current thread got it)
o extra compared to Derek's patch: replaced some additional
(mostly pre-existing) interlocked*() hacks with proper memory
barriers, made formatting consistent, fixed compilation on platforms
where tthreadid is not an integer type, improved tthreadid hashing
function for 64 bit platforms, fixed some comments
git-svn-id: trunk@34678 -
2016-10-08 20:45:45 +00:00
joost
79faa8f01d
* Add the zip-sourcesuffix to the filename in the manifest
...
git-svn-id: trunk@34677 -
2016-10-08 20:37:24 +00:00
michael
fd71e3193d
* Do not write elements for default values
...
git-svn-id: trunk@34676 -
2016-10-08 19:05:07 +00:00
michael
65ea20e9e0
* More range type parsing errors
...
git-svn-id: trunk@34675 -
2016-10-08 18:22:35 +00:00
michael
391966a414
* Character range types
...
git-svn-id: trunk@34674 -
2016-10-08 18:05:00 +00:00
Károly Balogh
f6222e44ef
rtl-objpas: remove system-specific varutils for Amiga-like systems which were in fact identical, added a common implementation and enable the package for atari as well
...
git-svn-id: trunk@34673 -
2016-10-08 18:00:20 +00:00
michael
a725887d0e
* Allow raise without semicolon before end.
...
git-svn-id: trunk@34672 -
2016-10-08 17:43:24 +00:00
michael
caeaaad986
* Helper should not be a token
...
git-svn-id: trunk@34671 -
2016-10-08 17:10:11 +00:00
joost
295c274940
* Determine the path of the <currentdirectory> package within the
...
PackageStructure. Set it to the current-directory at application start.
This because the creation of manifest files could change the current
directory while scanning for packages.
git-svn-id: trunk@34670 -
2016-10-08 16:56:20 +00:00
joost
1d2dca50a9
* FindInstalledPackages nowadays scans for both compileroptions at once
...
git-svn-id: trunk@34669 -
2016-10-08 16:52:08 +00:00