Commit Graph

52884 Commits

Author SHA1 Message Date
nickysn
1cf1ab8ab9 * consume the register in the reference before the check for invalid reference
syntax in the x86 intel syntax asm reader; this is preparation for support of
  segment overrides inside the reference expression (i.e. [es:bx] instead of
  es:[bx])

git-svn-id: trunk@38363 -
2018-02-27 16:35:55 +00:00
michael
72bbfe34e9 * Add AllocateName
git-svn-id: trunk@38362 -
2018-02-27 16:16:38 +00:00
michael
1568e68c95 * Add StartDesigning/EndDesigning calls, needed for OI to work correctly
git-svn-id: trunk@38361 -
2018-02-27 16:07:26 +00:00
michael
11bda89833 * Make Page and Band available in element
git-svn-id: trunk@38360 -
2018-02-27 14:57:21 +00:00
michael
7b7f164c28 * Fix bug #33241, patch from Stephano to add missing link export in HTML
git-svn-id: trunk@38359 -
2018-02-27 12:15:34 +00:00
marco
3afba76bce * modified Patch from #33018 by 隆博. Locale aware datefromstr functions.
git-svn-id: trunk@38358 -
2018-02-27 10:51:06 +00:00
marco
b94d64449a * Slightly modified patch from WP mantis #23816
git-svn-id: trunk@38357 -
2018-02-27 10:04:38 +00:00
nickysn
c4f66a2492 * fixed comment in test
git-svn-id: trunk@38356 -
2018-02-26 17:38:42 +00:00
Mattias Gaertner
02e57c36c2 fcl-passrc: useanalyzer: option to generate references of all used procs
git-svn-id: trunk@38355 -
2018-02-26 17:32:28 +00:00
nickysn
f623038da6 + fixed a bug in the previous commit, when adding two references, the first
containing a base register, the second - an index register with a scalefactor.
  The scalefactor was ignored in this case.

git-svn-id: trunk@38354 -
2018-02-26 17:30:08 +00:00
michael
10d20a57b7 * Fix bug ID #32962, allowing to define multiple indexes in indexdefs
git-svn-id: trunk@38353 -
2018-02-26 17:19:59 +00:00
nickysn
45fdd7655d + support concatenation of references in x86 intel syntax inline asm:
[expr1][expr2] = [expr1+expr2]
  [expr1[expr2]] = [expr1+expr2]
  This is compatible with TP7's inline asm, and perhaps also with tasm/masm/delphi.

git-svn-id: trunk@38352 -
2018-02-26 17:17:47 +00:00
pierre
34c0898d97 Fix m68k-amiga linking failure for native compiler, due conflict between odd length string and .balignw directive
git-svn-id: trunk@38351 -
2018-02-26 13:06:37 +00:00
marco
3b4c330d32 * trivial implementation for #33163 [starts|ends][text|str]
git-svn-id: trunk@38350 -
2018-02-26 07:52:31 +00:00
florian
72efa1aa50 + test (worked already)
git-svn-id: trunk@38349 -
2018-02-25 20:04:57 +00:00
florian
14cb60e479 * set an owner for open array defs being created in property declarations, resolves #25769
git-svn-id: trunk@38348 -
2018-02-25 17:36:34 +00:00
marco
451203512b * add copyright headers, mantis #22912
git-svn-id: trunk@38347 -
2018-02-25 15:53:37 +00:00
florian
7d35ced2d9 + support {$message info ...}, resolves #30654
+ test

git-svn-id: trunk@38346 -
2018-02-25 15:50:58 +00:00
florian
70519c0837 * do not use crt by default, reduced wrong fails hopefully
git-svn-id: trunk@38345 -
2018-02-25 15:34:15 +00:00
florian
c5f8567ed7 * getsubreg => getsupreg
git-svn-id: trunk@38344 -
2018-02-25 15:34:14 +00:00
florian
fc6c0e8ef4 + AndShlToShl optimization
* moved topsize2memsize to cpubase

git-svn-id: trunk@38343 -
2018-02-25 15:34:12 +00:00
florian
808131a7d6 + forgotten test
git-svn-id: trunk@38342 -
2018-02-25 15:34:11 +00:00
florian
3ca6034523 * inserted type casts on opr.val again, but depending on the type of opr.val, avoids range check errors
git-svn-id: trunk@38341 -
2018-02-25 15:32:38 +00:00
florian
62df4a4083 * patch by Christo Crause: more descriptive error message when BRxx destination out of reach
git-svn-id: trunk@38340 -
2018-02-25 15:31:17 +00:00
marco
8ba434b2f4 * added hex2dec64, 64-bit equivalent of hex2dec, mantis #33228
git-svn-id: trunk@38339 -
2018-02-25 15:27:53 +00:00
marco
d49deb183b * importtl new parameter --ref-style that allows to set different styles for reference input param. (var, constref or const [ref])
A more complete solution for bugreport #30764. 
Changed importtl to getopts for param parsing

git-svn-id: trunk@38338 -
2018-02-25 14:52:51 +00:00
florian
6e811d057c * MovOpMov2Op cannot be applied for L, Q, Q as operand sizes
+ test

git-svn-id: trunk@38337 -
2018-02-25 10:19:52 +00:00
florian
bf7a0c491e * test works only well if the constants have the same type as the operands of mod
git-svn-id: trunk@38336 -
2018-02-24 23:13:29 +00:00
florian
98bd768521 * remove type cast of the parameter of int(...), if an instruction is available which can be used directly
git-svn-id: trunk@38335 -
2018-02-24 23:13:27 +00:00
marco
dacc20f1f8 * fpmake supports dropping TOS and TCPU via "info" command. Initial.
git-svn-id: trunk@38334 -
2018-02-24 21:53:33 +00:00
marco
1d5d5682d2 * mantis #30853, set precision and signspecialplaces in delphi compat way.
git-svn-id: trunk@38333 -
2018-02-24 20:55:14 +00:00
florian
8a2cf56d51 * fixed operator mod for floats as proposed by wp in #33167, resolves #33167
git-svn-id: trunk@38332 -
2018-02-24 18:23:06 +00:00
florian
3b779278e2 + (slightly) patch by Emelyanov Roman to add support of SEH directive in FPC internal assembler with INTEL syntax, resolves #29894
git-svn-id: trunk@38331 -
2018-02-24 16:14:08 +00:00
florian
73aef1402b + compiler writes a hint if a subroutine marked as inline cannot be/is not inlined, resolves #31717
+ test

git-svn-id: trunk@38330 -
2018-02-24 14:35:12 +00:00
florian
c671683e80 + patch by Denis Kozlov to add date/time tokens: %DATEYEAR%, %DATEMONTH%, %DATEDAY%, %TIMEHOUR%, %TIMEMINUTE%, %TIMESECOND%
+ test

git-svn-id: trunk@38329 -
2018-02-24 12:50:55 +00:00
michael
ccbaf748b8 * Fix bug ID #33133 (use newer Windows API if available)
git-svn-id: trunk@38328 -
2018-02-24 12:18:55 +00:00
michael
77caa28bab * Fix bug #33204
git-svn-id: trunk@38327 -
2018-02-24 11:12:11 +00:00
michael
84377291b4 * Allow hex, octal and binary notation for expression parser (patch from bug ID #33216)
git-svn-id: trunk@38326 -
2018-02-24 10:59:44 +00:00
michael
4a0072d43d * Fixed bug #33217, range check error when loading/saving colors, patch from Andreas Friess
git-svn-id: trunk@38325 -
2018-02-24 10:09:52 +00:00
Mattias Gaertner
80d8a73f05 pastojs: uses-in filename
git-svn-id: trunk@38324 -
2018-02-24 09:30:53 +00:00
Mattias Gaertner
b8233e8317 fcl-passrc: resolver: uses-in filename
git-svn-id: trunk@38323 -
2018-02-24 09:30:01 +00:00
Mattias Gaertner
e0b7be27ce pastojs: clean up
git-svn-id: trunk@38322 -
2018-02-24 09:25:53 +00:00
florian
d031545f88 * warn if the first constant element of a range set expression is greater than the second one, resolves #31936
git-svn-id: trunk@38321 -
2018-02-23 22:30:35 +00:00
florian
92776e1864 * keep stack aligned when using profiler stubs
git-svn-id: trunk@38320 -
2018-02-23 19:35:20 +00:00
florian
048c2c09fd * shorten interface wrapper names if needed, resolves #33069
git-svn-id: trunk@38319 -
2018-02-22 21:55:07 +00:00
florian
5b16a84de1 + RCallReg2RJmp optimization
git-svn-id: trunk@38318 -
2018-02-22 20:19:03 +00:00
florian
1d6e0743aa * fix test
git-svn-id: trunk@38317 -
2018-02-22 20:16:34 +00:00
florian
d0dd3bd74e * patch by Christo Crause to support ~ in att assembler
* allow -128 to 255 as a constant for instructions taking a byte sized constants (this is also what GNU As accepts), resolves #32039

git-svn-id: trunk@38316 -
2018-02-22 20:14:56 +00:00
florian
2b2d41aa27 * regenerated msgtxt.inc, resolves #33208
git-svn-id: trunk@38315 -
2018-02-22 19:32:44 +00:00
marco
b1678f80c7 * some copyright updates, mantis #33208
git-svn-id: trunk@38314 -
2018-02-22 19:15:12 +00:00