Commit Graph

49484 Commits

Author SHA1 Message Date
Károly Balogh
41776e9608 m68k: on a '000, optimize CLR.L Dx to MOVEQ #0,Dx which is slightly faster
git-svn-id: trunk@34760 -
2016-10-23 23:10:39 +00:00
michael
34ad4c29bf * Fix lineending not being a char
git-svn-id: trunk@34759 -
2016-10-23 20:47:28 +00:00
Károly Balogh
660432685a m68k: review and some cleanup of the shlshrnode, also add a special case for shifting 64bit values by 1
git-svn-id: trunk@34757 -
2016-10-23 16:46:34 +00:00
michael
ddaa4d33e3 * Allow (*$ style directives, restructured directive handling (Bug ID 30725)
git-svn-id: trunk@34756 -
2016-10-23 09:37:37 +00:00
michael
52383fed98 * Support for DispInterface and DispID (bug ID 30716)
git-svn-id: trunk@34754 -
2016-10-22 15:05:32 +00:00
michael
fe896fbe3b * Fix bug #30719, C style shift left and right operators
git-svn-id: trunk@34753 -
2016-10-22 14:27:52 +00:00
michael
e198d9bf06 * Patch from Graeme Geldenhuys to implement skip attribute in linear output writers (bug ID 30741)
git-svn-id: trunk@34752 -
2016-10-22 13:37:33 +00:00
michael
cfc8b0fd9e * Enumerator is unary operator
git-svn-id: trunk@34751 -
2016-10-22 08:34:50 +00:00
michael
7ded54ad96 * Support for enumerator operator
git-svn-id: trunk@34750 -
2016-10-22 08:25:33 +00:00
michael
1552f34251 * Allow simple preprocessing of the project file using {{macro}} substitution. Needed for e.g. variable source dirs
git-svn-id: trunk@34749 -
2016-10-22 08:12:31 +00:00
michael
ae468bfb43 * Initialize result, bug ID #0030771
git-svn-id: trunk@34748 -
2016-10-22 07:30:27 +00:00
joost
9097484f37 * Fixed type in construction of GlobalUnitDir parameter
git-svn-id: trunk@34747 -
2016-10-20 20:48:21 +00:00
florian
781d6f31a8 * more getsupreg(...)<>/=getsupreg(...) replaced by SuperRegisterEqual which is more safe, the former could break as the register could have different register types
git-svn-id: trunk@34746 -
2016-10-20 18:32:23 +00:00
lacak
0c75c760bf fcl-db: base: Check if Required is copied from Fields to FieldDefs (cosmetic)
git-svn-id: trunk@34745 -
2016-10-20 12:37:25 +00:00
marco
2febc31303 * patch from bug #24218, don't generate safecalls in not dispatch classes.
git-svn-id: trunk@34744 -
2016-10-20 10:58:31 +00:00
pierre
abaea9959f Fix parameter loading of FPC_CHECKPOINTER to handle correctly references with offsets
git-svn-id: trunk@34743 -
2016-10-18 21:48:59 +00:00
joost
f9e7600fe3 * Re-structured handling of broken packages. Packages are now evaluated per
repository. If a package is broken depends on which repositories are
   taken into account.

git-svn-id: trunk@34742 -
2016-10-18 20:20:33 +00:00
nickysn
e1792e712a * changed the 'size' parameter of fpc_zeromem and fpc_fillmem from ptruint to sizeuint
git-svn-id: trunk@34741 -
2016-10-18 15:42:29 +00:00
pierre
a81d2b58f8 Rectify last accessed char in TBigEndianUnicideEncoding.GetChars, fixes test/units/sysutils/tencodingtest.pp failure with -gc option
git-svn-id: trunk@34740 -
2016-10-17 10:48:28 +00:00
michael
4aff9f298f * Add pasresolver.pp, passrcutil.pp pastounittest.pp description
git-svn-id: trunk@34739 -
2016-10-17 07:41:49 +00:00
florian
502e48541c * properly copy flags of tempinfo
+ write flags of tempinfo in ttemprefnode.printnodedata

git-svn-id: trunk@34738 -
2016-10-16 19:53:14 +00:00
florian
cfd38388ca * formatting so lazarus can handle it
git-svn-id: trunk@34737 -
2016-10-16 19:53:12 +00:00
svenbarth
f8b458106e * fix for Mantis #30747: for anonymous events CreateEvent() needs to be called with a Nil parameter for the name, not an empty string
git-svn-id: trunk@34736 -
2016-10-16 19:29:49 +00:00
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