Commit Graph

49576 Commits

Author SHA1 Message Date
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
Károly Balogh
8166002c8a atari: align some variables properly in the startup code
git-svn-id: trunk@34657 -
2016-10-08 12:47:21 +00:00
Károly Balogh
91a8165ddc atari: added two more directory functions
git-svn-id: trunk@34656 -
2016-10-08 12:42:31 +00:00
nickysn
d6007d650a * use tpointerdef.pointer_arithmetic_int/uint_type in tinlinenode.pass_typecheck
for handling inc/dec(pointer, int)

git-svn-id: trunk@34655 -
2016-10-08 12:06:57 +00:00
michael
6610518d73 * Added dependency on fcl-base
git-svn-id: trunk@34654 -
2016-10-08 12:01:46 +00:00
nickysn
35b0201002 + added an unsigned counterpart to tpointerdef.pointer_arithmetic_it_type (needed by inc/dec)
git-svn-id: trunk@34653 -
2016-10-08 11:45:24 +00:00
michael
95eb4ed2eb * Added jsminifier unit
git-svn-id: trunk@34652 -
2016-10-08 08:14:42 +00:00
michael
3a3f490234 * Added copyright header
git-svn-id: trunk@34651 -
2016-10-08 08:11:41 +00:00
nickysn
5501061115 * use sizesinttype instead of ptrsinttype for the $length and $mlength fields,
when creating the $pvmt system type

git-svn-id: trunk@34650 -
2016-10-08 00:48:34 +00:00
nickysn
163d54c33e * emit a sizeint-sized string length for long string constants in the DWARF
debug info, instead of using create_pint

git-svn-id: trunk@34649 -
2016-10-07 22:36:48 +00:00