Commit Graph

51926 Commits

Author SHA1 Message Date
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
michael
d4deaa39ca * Add clipping
git-svn-id: trunk@37308 -
2017-09-24 07:48:22 +00:00
michael
e6daa40259 * Refactoring and added copyright
git-svn-id: trunk@37307 -
2017-09-24 07:41:21 +00:00
pierre
8614a38ad3 Fix cross-compiler with soft 80bit with external assembler
git-svn-id: trunk@37306 -
2017-09-23 20:52:57 +00:00
michael
8cd2ebf94b * Add barcode drawing routines
git-svn-id: trunk@37305 -
2017-09-23 20:20:50 +00:00
michael
c24bd22743 * Patch from Pascal Riekenberg
fpReport:
    * (correct) field values in group footers
    * bug fixing and refactoring for ExprVariable handling
    * refactoring of group condition value evaluation and change detection
    * StartOnNewPage for group header
    * ReprintHeader for group header
    * internal Variable InRepeatedGroupHeader, which is true during print of repeated group header

  nestedgroups:
  * cleanup and typo
  * new group footer memos (with name of group)
  * group 1 and 2 start on new page
  * all groups use repeated headers
  * 3 group header bands (header + 2 childs)
  * first band is shown in first header
  * second band is shown in repeated header
  * third is shown in every header

git-svn-id: trunk@37304 -
2017-09-23 19:09:42 +00:00
pierre
4c02f2ca71 New revision following commit 37286
git-svn-id: trunk@37303 -
2017-09-22 19:59:45 +00:00
michael
52fe038b53 * use system.HMOdule when available
git-svn-id: trunk@37302 -
2017-09-22 15:29:09 +00:00
Mattias Gaertner
f1055a32b9 pastojs: convert str(float:w:p) to rtl.floatToStr(d,w,p)
git-svn-id: trunk@37301 -
2017-09-22 15:04:52 +00:00
Mattias Gaertner
58aaf2a545 pastojs: test dotted unit name in implemention section
git-svn-id: trunk@37300 -
2017-09-22 12:40:32 +00:00
nickysn
e701fa8de1 * converted the x86 instruction flags to a set, so they can be extended more
easily and so that all the values are now available to the compiler
  (previously, there were several, which were mapped to the same value and thus
  were only used to make x86ins.dat easier to read)

git-svn-id: trunk@37299 -
2017-09-21 15:48:27 +00:00
pierre
b14feadfe1 Fix cycle failure after last commit
git-svn-id: trunk@37298 -
2017-09-21 15:47:49 +00:00
pierre
735f9363d8 Add code for writing 80-bit data with soft 80-bit extended when FPC_SOFT_FPUX80 is defined
git-svn-id: trunk@37297 -
2017-09-21 14:40:23 +00:00
pierre
59edd81a26 Disable some code using bestrealrec if macro FPC_SOFT_FPUX80 is defined
git-svn-id: trunk@37296 -
2017-09-21 14:39:14 +00:00
pierre
2a49627d48 Allow compilation of ppc386 compiler using FPC_SOFT_FPUX80, i.e. soft float 80-bit extended float
git-svn-id: trunk@37295 -
2017-09-21 14:36:48 +00:00
pierre
82dce8d7e1 Add FPC_SOFT_FPUX80 conditional code for 80-bit float type using soft float unit
git-svn-id: trunk@37294 -
2017-09-21 14:10:03 +00:00
Mattias Gaertner
b226b21925 pastojs: enable widechar and unicodestring
git-svn-id: trunk@37293 -
2017-09-21 12:23:28 +00:00
Mattias Gaertner
576d70eb64 pastojs: pasuseanalyzer: mark argument default value expressions
git-svn-id: trunk@37292 -
2017-09-21 12:00:12 +00:00