Commit Graph

51920 Commits

Author SHA1 Message Date
svenbarth
98bb449945 * raise an exception if routine to be invoked isn't static, but there's no parameter to be used as Self
git-svn-id: trunk@37386 -
2017-10-02 19:39:37 +00:00
svenbarth
794eb7c122 * ensure that FLock is released in case of an exception
git-svn-id: trunk@37385 -
2017-10-02 18:51:52 +00:00
Mattias Gaertner
1bf758c997 pastojs: fixed RTTI of static arrays
git-svn-id: trunk@37384 -
2017-10-02 16:47:07 +00:00
Mattias Gaertner
e5d4d763b3 pastojs: implemented property with index specifier
git-svn-id: trunk@37383 -
2017-10-02 12:56:29 +00:00
Mattias Gaertner
6148ba8c31 fcl-passrc: resolver: implemented overriding property with index specifier
git-svn-id: trunk@37382 -
2017-10-02 12:56:11 +00:00
florian
99a3855e6b * restored old default values for MajorOperatingSystemVersion, MajorSubsystemVersion and MinorSubsystemVersion, resolves issue #32492
git-svn-id: trunk@37381 -
2017-10-01 21:02:37 +00:00
florian
7817102727 * patch by Christo Crause to implement 8 bit multiplications for "mul-less" avr types, resolves issue #31925
git-svn-id: trunk@37380 -
2017-10-01 20:34:44 +00:00
florian
c0feaf1f1e + allow absolute to absolute symbols, resolves issue #32474
git-svn-id: trunk@37379 -
2017-10-01 19:54:44 +00:00
florian
5b755661d8 + patch by Simon Ameis: adds all the STM32F091* microcontroller units to the list of supported ARM MCUs, resolves issue #32484
git-svn-id: trunk@37378 -
2017-10-01 18:59:01 +00:00
florian
ce7487b7de o patch by J. Gareth "Kit" Moreton, resolves partially issue #32037
o improves readibility of TX86AsmOptimizer.OptPass1MOV and fixes some spelling mistakes
  + Optimization MovAnd2Mov 2
  + extended Optimization MovTestJxx2TestMov and MovTestJxx2ovTestJxx to take care of and as well
  + Peephole Optimization: movq x,%reg -> movd x,%reg

git-svn-id: trunk@37377 -
2017-10-01 18:40:11 +00:00
florian
198c53a908 o patch by J. Gareth "Kit" Moreton, resolves partially issue #32037
* generate instructions with shorter imm on x86-64 if possible

git-svn-id: trunk@37376 -
2017-10-01 18:40:09 +00:00
Mattias Gaertner
01ac3334af fcl-passrc: fixed checking static array constant elements
git-svn-id: trunk@37375 -
2017-10-01 18:19:31 +00:00
florian
75e03a7e62 * avoid unneeded the generation of un-needed shift instructions thlcgobj.in a_load_subsetreg_reg
git-svn-id: trunk@37374 -
2017-10-01 16:13:22 +00:00
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