Commit Graph

8066 Commits

Author SHA1 Message Date
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
michael
34ad4c29bf * Fix lineending not being a char
git-svn-id: trunk@34759 -
2016-10-23 20:47:28 +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
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
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
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
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
michael
4aff9f298f * Add pasresolver.pp, passrcutil.pp pastounittest.pp description
git-svn-id: trunk@34739 -
2016-10-17 07:41:49 +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
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
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
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
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
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
joost
aefa69b390 * Fixed path-delimeters
git-svn-id: trunk@34702 -
2016-10-09 19:41:06 +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
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
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
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
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
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
michael
6610518d73 * Added dependency on fcl-base
git-svn-id: trunk@34654 -
2016-10-08 12:01:46 +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