Commit Graph

49695 Commits

Author SHA1 Message Date
Jonas Maebe
1c04470b66 * converted for-loop to while-loop, because its loop count is used on exit
even if no break is triggered

git-svn-id: trunk@34776 -
2016-11-01 14:01:41 +00:00
Jonas Maebe
85f2903b8b * don't index past the end of the transitions array (mantis #30829)
git-svn-id: trunk@34775 -
2016-11-01 14:01:38 +00:00
marcus
9eb195d285 FP-IDE: Amiga-likes need ami-extra
git-svn-id: trunk@34773 -
2016-10-31 20:08:50 +00:00
marcus
c540b7cb7d morphunits: workbench library unit, structures fixed, missing varargs
git-svn-id: trunk@34772 -
2016-10-30 21:39:14 +00:00
marcus
ad31914a73 morphunits: diskfont, keymap units rewrote from current SDK
git-svn-id: trunk@34771 -
2016-10-30 19:13:46 +00:00
marcus
061943ec2c morphunits: commodities library unit part2
git-svn-id: trunk@34770 -
2016-10-30 16:42:42 +00:00
marcus
31fe583ce2 morphunits: commodities library unit
git-svn-id: trunk@34769 -
2016-10-30 16:22:36 +00:00
marcus
3463e418f9 arosunits: Commodities library unit
git-svn-id: trunk@34768 -
2016-10-28 20:44:28 +00:00
michael
c81b645291 * Further fixes/improvements from Graeme Geldenhuys:
pdf test app: Implements DrawPolyLine() example on page 2.
  pdf: implements Page.DrawPolyLine() method.
  pdf: TPDFLineSegment now has an option Stroke parameter. So too does Page.DrawLine().
       All part of improving the path related drawing in PDF.
  pdf: introduced a new PDFStrokePath class and Page.StrokePath method.
  pdf: removes empty constructors.
  pdf: Adds optional Stroke paramater to all CubicCurveToXXX() methods.
       This allows us more control when we do custom path based drawing.
  pdf: introduced new ResetPath() and ClosePath() methods for TPDFPage.
  pdf test app: Implement Bezier Curve drawing in Advanced Shapes page.
  pdf test app: tidy up the layout of page 2.
  pdf test app: tidy up the layout of page 1.
  pdf test app: adds a new "advanced shapes" page.
  pdf test app: Renamed field variable to a more logical name.
  pdf: Introduced CubicCurveToY() and CubicCurveToY() methods.
       The code comments explain the difference.
  pdf: introduced a new overloaded Page.CubicCurveTo() method.
  pdf: introduced a new overloaded Page.MoveTo() method.
  pdf: Gave Page.CurveToC() more meaningful parameter names.
  pdf: Gave TPDFCurveC parameters and field variables more meaningful names.
  pdf test app: updated the test app to show the Cubic Bezier curve in action.
  pdf: introduced a cubic bezier curve method to TPDFPage.
  pdf: introduced a new Page.MoveTo() method.
  pdf: implements a more consistent class hierarchy.
       Many classes take a Document as parameter in the constructor, yet
       don't descend from TPDFDocumentObject - which defines a property
       to get hold of that Document information again.
  pdf test app: updated the app to show Rounded Rectangles in action.
  pdf: introduced a new Page.DrawRoundedRect() method.
  pdf: improved the Ellipse code with a more accurate curve magic number.
  pdf: introduced a new overloaded LineSegment.Command() function.
  pdf test app: Adds parameter option to embed fonts or not.
  pdf: implements contents string/stream compression.
  ttf unit tests: resolve failing Created/Modified datetime tests.
  pdf demo: extend the sample app to draw text in a box.

git-svn-id: trunk@34767 -
2016-10-27 18:34:29 +00:00
Károly Balogh
57e6cef18b m68k: enabled the mul to shift+sub/add optimizations for 68000
git-svn-id: trunk@34762 -
2016-10-23 23:46:32 +00:00
Károly Balogh
4620d9b22c m68k: when loading from a reference with zero extend, clear the register first, then load, instead of clearing with AND later, because this is faster on slow 68ks and also shorter
git-svn-id: trunk@34761 -
2016-10-23 23:16:03 +00:00
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