Commit Graph

51907 Commits

Author SHA1 Message Date
florian
6f338bb4b5 + tcgsubscriptnode.pass_generate_code makes use of a_loadmm_reg_intreg to avoid location_force_mem calls
git-svn-id: trunk@37373 -
2017-10-01 16:13:20 +00:00
florian
f0c237a159 + let a_load_loc_reg handle also LOC_*MMREGISTER as we have loadmm_*intreg*
git-svn-id: trunk@37372 -
2017-10-01 16:13:18 +00:00
Mattias Gaertner
c93a5438b2 pastojs: ord, pred, succ on boolean
git-svn-id: trunk@37370 -
2017-10-01 14:47:19 +00:00
Mattias Gaertner
d7f67d3689 fcl-passrc: resolver: test in operator on custom integer sets
git-svn-id: trunk@37369 -
2017-10-01 14:47:02 +00:00
florian
2b4186fcff * win64 rtl uses parallel building
git-svn-id: trunk@37368 -
2017-10-01 14:40:24 +00:00
florian
15b617546e + call TX86AsmOptimizer.OptPass1VOP for logical operations as well
git-svn-id: trunk@37367 -
2017-10-01 14:40:21 +00:00
Mattias Gaertner
2f7489f8c8 pastojs: low/high(baseinttype)
git-svn-id: trunk@37366 -
2017-10-01 07:05:01 +00:00
svenbarth
68f94d2d2d + add SOCKADDR_STORAGE type
git-svn-id: trunk@37365 -
2017-09-30 16:34:02 +00:00
svenbarth
9619576515 + add support for $SetPE{OS,SubSys,User}Version directives; Delphi compatible; Note: $SetPEUserVersion takes precedence to $Version
+ added test

git-svn-id: trunk@37364 -
2017-09-30 13:55:29 +00:00
michael
76a6c67022 * Patch from Pascal Riekenberg to fix multi-column layout
git-svn-id: trunk@37363 -
2017-09-30 11:58:05 +00:00
michael
96aa33cfd9 * Fix failing test
git-svn-id: trunk@37362 -
2017-09-30 11:51:19 +00:00
svenbarth
5c447cba50 * fix for Mantis #32476: use the correct string to check i2
git-svn-id: trunk@37361 -
2017-09-30 11:22:02 +00:00
Mattias Gaertner
abbea4c416 fcl-passrc: resolver: class visibility protected: aClassInThisModule.Identifier
git-svn-id: trunk@37360 -
2017-09-30 11:18:18 +00:00
svenbarth
81a0f88d8c + add Delphi compatible TThread.ForceQueue() which enqueues the method also for the main thread (at least if the RTL is in multi threading mode, otherwise it's still executed right away - whether this is Delphi compatible needs to be tested as I only have a 10.1 currently which does not yet support TThread.ForceQueue())
+ added test

git-svn-id: trunk@37359 -
2017-09-29 21:19:45 +00:00
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