Commit Graph

49535 Commits

Author SHA1 Message Date
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
michael
0437bc4c8e * Support for type helpers, low()..High() ranges, static fields
git-svn-id: trunk@34668 -
2016-10-08 15:51:25 +00:00
Károly Balogh
f4bbb229fa rtl-extra: enabled for atari
git-svn-id: trunk@34667 -
2016-10-08 14:02:33 +00:00
Károly Balogh
51cb5aefbe m68k: use target_info.stackalign to align the stack instead of expecting a hardwired longword alignment. this is required for atari, and beneficial on all '000 targets
git-svn-id: trunk@34666 -
2016-10-08 14:01:32 +00:00
nickysn
657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of
open arrays/dynarrays/string-like char arrays, etc.

git-svn-id: trunk@34665 -
2016-10-08 13:56:24 +00:00
Károly Balogh
579e1afe83 atari: an incomplete, but still large cleanup of the atari system unit
git-svn-id: trunk@34664 -
2016-10-08 13:55:59 +00:00
Károly Balogh
8e6ac69553 atari: updated makefiles
git-svn-id: trunk@34663 -
2016-10-08 13:32:43 +00:00
Károly Balogh
7962ce1c54 atari: include xbios and gemdos from sysos.inc
git-svn-id: trunk@34662 -
2016-10-08 13:25:24 +00:00
Károly Balogh
71a4087bc5 atari: new file for xbios defines
git-svn-id: trunk@34661 -
2016-10-08 13:24:40 +00:00
Károly Balogh
05a35a2a16 atari: cleaned up sysdir.inc. it was a combination of old code and copy-pasted code from Amiga
git-svn-id: trunk@34660 -
2016-10-08 12:55:41 +00:00
Károly Balogh
74516f90d3 atari: add a new Error to InOutRes function
git-svn-id: trunk@34659 -
2016-10-08 12:49:10 +00:00
Károly Balogh
1c0a370ce2 atari: rewrote system file functions. no inline assembly, updated to current standards and RTL internals
git-svn-id: trunk@34658 -
2016-10-08 12:48:23 +00:00