Commit Graph

51943 Commits

Author SHA1 Message Date
svenbarth
4f39e57f62 * move PWSTR declaration to unit Windows
git-svn-id: trunk@37358 -
2017-09-29 19:51:56 +00:00
svenbarth
cb142cdf7b * use our license header instead of the original MIT one
git-svn-id: trunk@37357 -
2017-09-29 17:07:33 +00:00
michael
edca192fad * Fix many warnings & hints
git-svn-id: trunk@37356 -
2017-09-29 07:50:50 +00:00
michael
488e7af362 * Patch from Ondrej Pokorny to fix TSQLScript in case of no final terminator
git-svn-id: trunk@37355 -
2017-09-29 07:48:42 +00:00
Mattias Gaertner
0216c0e9cf pastojs: SetLength(arr,dim1,dim2,...) and keep old values
git-svn-id: trunk@37354 -
2017-09-28 18:17:51 +00:00
Mattias Gaertner
2d0a667d64 fcl-passrc: resolver: SetLength(arr,dim1,dim2,...)
git-svn-id: trunk@37353 -
2017-09-28 18:17:01 +00:00
Mattias Gaertner
567f3e412e fcl-passrc: resolver: fixed checking override of override
git-svn-id: trunk@37352 -
2017-09-28 15:09:15 +00:00
pierre
8b63f97173 Call ungetregister for NR_D2 at m68k-palmos syscall exit
git-svn-id: trunk@37351 -
2017-09-28 14:55:41 +00:00
Mattias Gaertner
8fccd2aefc fcl-passrc: added TPascalScanner.FormatPath to allow formatting filenames in log messages
git-svn-id: trunk@37350 -
2017-09-28 14:48:45 +00:00
michael
3d17111e2f * Remove double inline; chokes fpdoc (2nd occurrence)
git-svn-id: trunk@37349 -
2017-09-28 12:32:17 +00:00
michael
809a096232 * Remove double inline; chokes fpdoc
git-svn-id: trunk@37348 -
2017-09-28 12:13:38 +00:00
michael
3cc6537345 * Fix operator as identifier after type
git-svn-id: trunk@37347 -
2017-09-28 11:58:17 +00:00
michael
a26ac7dc91 * Fix typo overlowed->overflowed
git-svn-id: trunk@37346 -
2017-09-28 07:49:42 +00:00
michael
2ce264b496 * Patch from Pascal Riekenberg with massive improvements:
CustomBand:
  - added property KeepTogetherWithChildren: band and child bands are keept on the same page
   (no page break between them) on overflow the do all overflow.
  PageFooter:
  - can have child bands
  PageHeader
  - can have child bands
  GroupHeader:
  - renamed GroupHeader to ParentGroupHeader
  - added property OverflowedFooterNeedsReprintedHeader: reprints header if footer is overflowed
  - added property IntermediateFooter: print footer before every page break
  - renamed ReprintHeader to ReprintedHeader to be uniform with IntermediateFooter
  - added property OverflowWithFirstDataBand: if first data band flows over to next page, also
   move this header (and all upper group headers)
  TitleBand:
  - can have childs bands
  SummaryBand:
  - can have child bands
  Report:
  - renamed FRTUseLastValues to FRTUsePrevVariableValues
  Layouter:
  - little refactoring
  - additions for new functionality
  Status variables for use in VisisbleExpr:
  - added IsOverflowed: Is true when the band is overflowed to next page
  - added InIntermediateGroupFooter: Is true while printing intermediate footer
  - added GroupDetailsPrinted: Is set while printing footer if no details have been printed so far
  NestedGroupDemo:
  - extendend to use new features

git-svn-id: trunk@37345 -
2017-09-28 07:48:00 +00:00
michael
3ecf6622ac * Patch from Pascal Riekenberg to implement Modulo (mod) support
git-svn-id: trunk@37344 -
2017-09-28 07:32:59 +00:00
svenbarth
b3ee9339b8 * also report the dynamic array "overloads" for the Insert() intrinsics
git-svn-id: trunk@37343 -
2017-09-27 21:18:04 +00:00
svenbarth
c5b33f51f9 * fix for Mantis #32412: correctly handle an incorrect parameter count for Delete() and Insert() intrinsics
+ added tests

git-svn-id: trunk@37342 -
2017-09-27 21:15:00 +00:00
svenbarth
a1c910d892 * fix for Mantis #32108: ensure that types are registered once there is no more specialization is going on
git-svn-id: trunk@37341 -
2017-09-27 20:47:16 +00:00
svenbarth
b765d661ce * when registering a def also register the syms and defs of its symtables
git-svn-id: trunk@37340 -
2017-09-27 20:34:38 +00:00
svenbarth
b322339758 + extend tstoredsymtable with method register_children to register all its symbols and defs
git-svn-id: trunk@37339 -
2017-09-27 20:27:05 +00:00
svenbarth
ddf91a4d19 * regenerate Makefile after r37337
git-svn-id: trunk@37338 -
2017-09-27 20:18:45 +00:00
svenbarth
c38efb692b * fix parallel compilation of Linux RTL: the software FPU units require the ObjPas unit
git-svn-id: trunk@37337 -
2017-09-27 20:18:15 +00:00
Mattias Gaertner
503b95bfa7 pastojs: added modeswitch ignoreinterfaces, typecast enum to integer
git-svn-id: trunk@37336 -
2017-09-27 20:04:33 +00:00
Mattias Gaertner
b69ffccb44 fcl-passrc: added modeswitch ignoreinterfaces, typecast enum to integer
git-svn-id: trunk@37335 -
2017-09-27 20:04:14 +00:00
svenbarth
a52b675779 * fix that *annoying* search & replace remnant of incorrect casing
git-svn-id: trunk@37334 -
2017-09-27 19:42:47 +00:00
michael
6a0dee6583 * Simple JSON -> YAML converter
git-svn-id: trunk@37333 -
2017-09-27 18:02:02 +00:00
nickysn
e4a405dcd9 + added unit 'cpu' for i8086
git-svn-id: trunk@37332 -
2017-09-27 16:55:56 +00:00
michael
48fb1eb8cf * Fix wrong page orientation on export (Patch from Graeme Geldenhuys, bug ID #32480)
git-svn-id: trunk@37331 -
2017-09-27 11:28:56 +00:00
michael
710adec670 * Patch from Graeme Geldenhuys (Bug ID 32478)
If page orientation was set to Landscape, the PDF exporter rendered the page from the bottom upwards. 
  This was because the page.Matrix was set up too early in the exporter. 

git-svn-id: trunk@37330 -
2017-09-27 11:10:08 +00:00
pierre
a706c3900f Fix loading of argc field (longint type) of TEntryInformation.OS record
git-svn-id: trunk@37329 -
2017-09-26 21:02:45 +00:00
florian
1c69ae6a15 handle correctly "reg+const" operands in avr assembler, fixes issue #32016
git-svn-id: trunk@37328 -
2017-09-26 20:14:41 +00:00
nickysn
b3f7bce3a6 * check for CPUX86_HAS_SSE2 instead of CPUX86_HAS_SSEUNIT in Tcgx86.g_concatcopy
git-svn-id: trunk@37327 -
2017-09-26 16:05:23 +00:00
nickysn
aec03309ef + added CPUX86_HAS_SSE2 to x86 tcpuflags
git-svn-id: trunk@37326 -
2017-09-26 16:02:56 +00:00
pierre
3c8d38674f Change single/double/extended-str functions to methods
* Disable asd_cpu for wasm (generates errors as it disabled the .xmm added at start)
 - Remaining problem: 'DT inf' Error: not implemented ...

git-svn-id: trunk@37325 -
2017-09-25 22:04:41 +00:00
pierre
96066f5c89 Add missing watcom directory entry
git-svn-id: trunk@37324 -
2017-09-25 21:06:42 +00:00
pierre
ccd8e6a78b Partial fix for watcom wasm
git-svn-id: trunk@37323 -
2017-09-25 20:47:31 +00:00
Mattias Gaertner
14d863139e pastojs: RTTI: added OrdType for ints and enums, implemented custom integer range type
git-svn-id: trunk@37322 -
2017-09-25 20:20:18 +00:00
Mattias Gaertner
23eb644507 fcl-passrc: analyzer: fixed rangetype, resolver: return default float basetype
git-svn-id: trunk@37321 -
2017-09-25 20:19:08 +00:00
pierre
1aa731df63 Fix Absolute var symbol address (was failing for AVR cpu)
git-svn-id: trunk@37320 -
2017-09-25 18:44:16 +00:00
Mattias Gaertner
16582e5a37 pastojs: property default value of set type
git-svn-id: trunk@37319 -
2017-09-25 17:08:47 +00:00
Mattias Gaertner
894c22c05c fcl-passrc: useanalyzer: mark property index and default value
git-svn-id: trunk@37318 -
2017-09-25 17:08:14 +00:00
Károly Balogh
333316f356 less tab more spaces. no functional change.
git-svn-id: trunk@37317 -
2017-09-25 14:52:39 +00:00
florian
9ef646e3c5 * fix avr for new GetNextReg behaviour
* some wrong GetNextReg usage in the avr code generator fixed

git-svn-id: trunk@37316 -
2017-09-24 20:51:05 +00:00
Mattias Gaertner
75ff501228 fcl-passrc: resolver: implemented property index specifier
git-svn-id: trunk@37315 -
2017-09-24 19:29:41 +00:00
Mattias Gaertner
5eb078cccd pastojs: property default value
git-svn-id: trunk@37314 -
2017-09-24 11:49:48 +00:00
michael
c731e5030b * Add barcode support
git-svn-id: trunk@37313 -
2017-09-24 09:34:58 +00:00
michael
7c9bacc993 * Correct position of an unknown element image.
git-svn-id: trunk@37312 -
2017-09-24 09:33:35 +00:00
michael
69345c7e40 * Allow to remove class
git-svn-id: trunk@37311 -
2017-09-24 09:32:57 +00:00
Mattias Gaertner
06fe476103 pastojs: property stored modifier
git-svn-id: trunk@37310 -
2017-09-24 07:49:07 +00:00
Mattias Gaertner
8e450dfd5c fcl-passrc: parser: create property stored accessor elements for true and false, resolver: property stored modifier
git-svn-id: trunk@37309 -
2017-09-24 07:48:36 +00:00