Commit Graph

8093 Commits

Author SHA1 Message Date
michael
5af24e94ae * Patch from wp to add BOM detection to CSV reader (bug ID 30897)
git-svn-id: trunk@34871 -
2016-11-11 10:03:14 +00:00
michael
66b07b045b * Delete Value/Path must set Modified flag (Bug ID 30907)
git-svn-id: trunk@34870 -
2016-11-11 09:49:44 +00:00
michael
65469ebd4d * Inline some functions, bugreport ID 30906
git-svn-id: trunk@34869 -
2016-11-11 09:40:41 +00:00
michael
6cccd87f16 * Patch from Laco to add some widechar ODBC functions
git-svn-id: trunk@34867 -
2016-11-11 09:22:49 +00:00
michael
ab566789a8 * Fix bug ID #30762
git-svn-id: trunk@34866 -
2016-11-11 09:14:25 +00:00
joost
89b471a8d6 * Added ability to add a repository with available packages which does not
need to be installed. (Instead another repository with installed 
   packages is added to the same location.
 * Added the ability to couple a repository with available packages
   to a repository in which the packages should be installed

git-svn-id: trunk@34865 -
2016-11-10 20:59:34 +00:00
michael
d2ebb94fa3 * Fix for failing COMP tests from Luiz Americo (bug ID 30878)
git-svn-id: trunk@34860 -
2016-11-09 21:21:49 +00:00
michael
6bf0ec2de1 * Patch from Luiz Americo to add const to some strings
git-svn-id: trunk@34859 -
2016-11-09 21:17:40 +00:00
michael
8bbc792a4f * Patch from Mattias Gaertner for pas2js:
jsbase: Changed TJSString from WideString to UnicodeString to use ref counting on Windows.
  jsbase: Added TJSValue.CustomValue.
  fppas2js: Changed context from pas to js context. 
            The pas context is already in the resolver values. 
  fppas2js: Support for type alias
  fppas2js: Built in functions inc/dec for integers

git-svn-id: trunk@34851 -
2016-11-09 16:26:21 +00:00
michael
cfc1b88aec * Fix for bug ID #30762
git-svn-id: trunk@34847 -
2016-11-08 12:33:56 +00:00
lacak
7b3f96346f fcl-db: sqlite: check for NOT NULL columns and set Required for them. Bug #30837 (original patch by Silvio Clécio)
git-svn-id: trunk@34846 -
2016-11-08 11:30:47 +00:00
marcus
f6e1411ddb Amiga: HookEntryPas to interface
git-svn-id: trunk@34839 -
2016-11-07 18:13:19 +00:00
Károly Balogh
f31cefd240 amunits: new HookEntryPas function, to support hooks using the Register calling convention. It is actually advised to use cdecl functions instead.
git-svn-id: trunk@34829 -
2016-11-06 23:32:19 +00:00
michael
01550dd625 * Solution for solidus character, bug ID #30870
git-svn-id: trunk@34819 -
2016-11-06 17:27:36 +00:00
michael
5693bbf9ad * Remove unused unit from uses clause
git-svn-id: trunk@34818 -
2016-11-06 17:26:56 +00:00
Károly Balogh
a02ac161d6 aros: enable arosunits on ARM
git-svn-id: trunk@34815 -
2016-11-06 16:10:46 +00:00
Károly Balogh
ee3274166f fpmkunit: enable AROS on arm
git-svn-id: trunk@34814 -
2016-11-06 15:41:27 +00:00
Károly Balogh
7c1c964c28 arm-aros: enabled basic AROS on ARM build
git-svn-id: trunk@34811 -
2016-11-06 14:40:02 +00:00
michael
c822e07f91 * Some minor changes:
- Added some utility methods: TPDFPage.SetLineStyle, TPDFDocument.Reset
  - Expose PDFTomm, PDFtoCM, PDFtoInches
  

git-svn-id: trunk@34804 -
2016-11-06 10:36:20 +00:00
michael
8833a6fbba * Patch from Graeme Geldenhuys to add rotation support
git-svn-id: trunk@34781 -
2016-11-04 19:59:28 +00:00
michael
2a39d8c9b7 * Added DefaultUnitOfMeasure
git-svn-id: trunk@34780 -
2016-11-03 19:55:15 +00:00
michael
9992d4b118 * SaveToStream and introduced published section
git-svn-id: trunk@34779 -
2016-11-03 19:21:39 +00:00
michael
a125d06c07 * Patches from Graeme Geldenhuys:
* Added some primitives:
      DrawPolygon (= Polyline with closing path)
      ClosePathStroke
      FillStrokePath
      FillEvenOddStrokePath
   * Origin by default now at the bottom of the page.
  

git-svn-id: trunk@34778 -
2016-11-03 08:39:26 +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
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