Commit Graph

49611 Commits

Author SHA1 Message Date
joost
bf8e3c9264 * Added example to samplecfg, to make clear which path is meant
git-svn-id: trunk@34733 -
2016-10-16 16:50:05 +00:00
florian
0edf5c398e * InPort/OutPort are not supposed to compile on win64
git-svn-id: trunk@34732 -
2016-10-16 16:44:49 +00:00
florian
cf2a3d8160 + new debug message
* turn off accidently turned on DEBUG_AOPTCPU

git-svn-id: trunk@34731 -
2016-10-16 16:37:51 +00:00
florian
bc73d0914e * TAOptBase.RegInRef compares using SuperRegistersEqual as TAOptBase.RegInOp does for top_reg already
git-svn-id: trunk@34730 -
2016-10-16 16:35:36 +00:00
joost
d08a747c29 * Create fppkg-config files in the new format (v5)
git-svn-id: trunk@34729 -
2016-10-16 15:43:27 +00:00
michael
3b1980b8f3 * More strict behaviour of TStreamReader after close
git-svn-id: trunk@34728 -
2016-10-16 10:22:10 +00:00
michael
8c1ebcd4ad * Small cleanup of TTextReader interface
git-svn-id: trunk@34727 -
2016-10-16 09:31:53 +00:00
florian
9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter
git-svn-id: trunk@34726 -
2016-10-16 07:55:08 +00:00
michael
9f88f52ddf * Getters/Setters should be private
git-svn-id: trunk@34725 -
2016-10-15 20:59:01 +00:00
florian
fe0ce2f456 * TX86AsmOptimizer.OptPass1MOV should be left, after an optimization has been carried out, instead the outer loop should call it again, resolves issue #30277
git-svn-id: trunk@34724 -
2016-10-15 19:36:18 +00:00
florian
ec54cb2a7a - unit not used anymore
git-svn-id: trunk@34723 -
2016-10-15 17:58:38 +00:00
florian
239c6639d7 + additional debug message
git-svn-id: trunk@34722 -
2016-10-15 17:51:09 +00:00
florian
76961dbc70 * fixes MovOpMov2Op
git-svn-id: trunk@34721 -
2016-10-15 15:03:27 +00:00
florian
e6cea6622e * when checking if a register is used by an operand, compare the super registers
git-svn-id: trunk@34720 -
2016-10-15 15:03:26 +00:00
florian
8e9f4af801 * fixed checking of operands of MovOpMov2Op
* MovOpMov2Op optimization got proper naming

git-svn-id: trunk@34719 -
2016-10-15 15:03:24 +00:00
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