Commit Graph

52898 Commits

Author SHA1 Message Date
Mattias Gaertner
a1033eb1af fcl-passrc: useanalyzer: collect proc references only for implprocs
git-svn-id: trunk@38377 -
2018-02-28 13:49:13 +00:00
michael
93ec82315a * Make expression parser available
git-svn-id: trunk@38376 -
2018-02-28 13:23:38 +00:00
michael
80d95cd787 * Allow unpreparing of report
git-svn-id: trunk@38375 -
2018-02-28 09:48:58 +00:00
michael
847b5faab0 * Fix for issue #33270
git-svn-id: trunk@38374 -
2018-02-28 09:23:08 +00:00
michael
1c36ce2605 * Strip prefix off name in allocatename
git-svn-id: trunk@38373 -
2018-02-28 09:17:33 +00:00
michael
70523f1b58 * Set designer flag, change ChildBand property type to CustomChildBand
git-svn-id: trunk@38372 -
2018-02-28 07:48:21 +00:00
michael
cbfc1133f7 * Set designer flag, change ChildBand property type to CustomChildBand
git-svn-id: trunk@38371 -
2018-02-28 07:48:04 +00:00
florian
2385c47c28 * compilation on x86-64 fixed
git-svn-id: trunk@38370 -
2018-02-27 21:54:12 +00:00
svenbarth
332b078c22 * small extension of the test for completeness sake
git-svn-id: trunk@38369 -
2018-02-27 21:45:50 +00:00
svenbarth
0e5a598b6a * don't use a vecnode to convert a dynamic array or an array constructor to a pointer as that will lead to problems with range checking if the array should be empty; fixes run of tarray12 with -Cr
git-svn-id: trunk@38368 -
2018-02-27 21:43:21 +00:00
florian
8c5606b41d + support mmx shifting
git-svn-id: trunk@38367 -
2018-02-27 21:40:12 +00:00
florian
e523865b07 * do not take the size of an open array, resolves #33230
git-svn-id: trunk@38366 -
2018-02-27 21:08:07 +00:00
nickysn
9c814e42c9 + support segment overrides inside references (e.g. [es:bx]) in the x86 intel
syntax inline asm reader

git-svn-id: trunk@38365 -
2018-02-27 17:29:46 +00:00
michael
a75e25aa46 * Event handler to react on page size change in designer
git-svn-id: trunk@38364 -
2018-02-27 16:48:34 +00:00
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