Commit Graph

57351 Commits

Author SHA1 Message Date
yury
4ade471488 * GetModuleByAddr: Prevent returning a name of the current executable for invalid addresses such as pointer(-1) on Windows.
git-svn-id: trunk@43364 -
2019-11-02 14:54:25 +00:00
michael
6f80223b64 * Fix bug ID #36248
git-svn-id: trunk@43363 -
2019-11-02 14:35:18 +00:00
michael
bd91c559ee * Forgot to commit
git-svn-id: trunk@43362 -
2019-11-02 14:33:19 +00:00
marco
8bf9854dbe * chmcmd enable widestring manager for Linux. Binaries are now libc dependent.
patch by C western, mantis #36247

git-svn-id: trunk@43361 -
2019-11-02 13:54:16 +00:00
michael
00e358f15a * Fix bug #36244
git-svn-id: trunk@43360 -
2019-11-02 13:07:34 +00:00
svenbarth
ccb169b0f1 * correctly handle PE COMDAT sections: like for the Comdat groups in ELF files the unused symbols need to be converted to externals so that relocations are handled correctly
git-svn-id: trunk@43359 -
2019-11-02 12:36:30 +00:00
svenbarth
c6a08cdc6e + add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed
git-svn-id: trunk@43358 -
2019-11-02 12:36:26 +00:00
michael
20ca7d857c * Fix bug ID #36234: unicodedatastering must be of type unicodestring
git-svn-id: trunk@43357 -
2019-11-02 11:51:28 +00:00
michael
c6f53adf89 * Explicitly use UTF8, fix bug ID #36231: RTF export must write unicode chars escaped
git-svn-id: trunk@43356 -
2019-11-02 11:42:32 +00:00
michael
51b1f6a47c * Fix case where table streams are nil
git-svn-id: trunk@43355 -
2019-11-02 11:17:37 +00:00
michael
078534472b * Patch from Michal Gawrycki to handle duplicating strings (bug ID 36243)
git-svn-id: trunk@43354 -
2019-11-02 10:28:27 +00:00
michael
30bc217d55 * Fix bug ID #0036246, delphi compatibility property
git-svn-id: trunk@43353 -
2019-11-02 10:25:42 +00:00
florian
ae04e5d7f0 * avr: apply LdiOp2Opi optimization also to and and sub
git-svn-id: trunk@43352 -
2019-11-01 18:39:18 +00:00
florian
828e961f3d * remove unused constants
git-svn-id: trunk@43351 -
2019-11-01 18:39:17 +00:00
florian
701848889e * avr: help the compiler with constant loading to avoid ie 200309041
git-svn-id: trunk@43350 -
2019-11-01 18:39:16 +00:00
florian
e8a48be3bc * avr: more precise execution weigth for shift loops
git-svn-id: trunk@43349 -
2019-11-01 18:39:15 +00:00
florian
f61207f1cc * avr directly encodes constant shifts of 64 bit values
git-svn-id: trunk@43348 -
2019-11-01 18:39:15 +00:00
florian
4e33889a29 * cleanup tshlshrnode.pass_1
git-svn-id: trunk@43347 -
2019-11-01 18:39:14 +00:00
svenbarth
fdeaacac21 * fix for Mantis #36223: when parsing a helper type its extendeddef might be Nil
+ added test

git-svn-id: trunk@43346 -
2019-11-01 15:02:31 +00:00
svenbarth
f481587bee * fix compilation on PE/COFF based systems with GNU AS as there the progbits are not supported
git-svn-id: trunk@43345 -
2019-11-01 13:27:29 +00:00
florian
e19eff1332 * also type casts to booleans benefit if unneeded type widenings are removed
git-svn-id: trunk@43344 -
2019-11-01 09:52:37 +00:00
florian
cb67577002 * fix length(<dyn. type>)=0 optimization, resolves #36215
git-svn-id: trunk@43343 -
2019-10-31 21:29:41 +00:00
florian
3b1903b430 * simplified fpc_mul_qword so it compiles again on avr, fixes #36236 but does not solve the root of the problem
git-svn-id: trunk@43342 -
2019-10-31 21:02:23 +00:00
marco
480da24d4d * makefile fixes by Alfred, mantis #36237
git-svn-id: trunk@43341 -
2019-10-31 12:11:45 +00:00
florian
172a4a999b + MovMov2Mov 6 and MovMov2Mov 7 optimization
git-svn-id: trunk@43339 -
2019-10-30 22:39:13 +00:00
florian
2bcf1b7f59 * fptime works now usefully on unix systems
+ support -n <number> to run the command <number> times
  + display average runtime when -n is passed

git-svn-id: trunk@43338 -
2019-10-30 20:07:28 +00:00
florian
59d300fc6e * optimize TAOptBase.SuperRegistersEqual
git-svn-id: trunk@43337 -
2019-10-30 20:07:27 +00:00
florian
cfec725195 * clean up TX86AsmOptimizer.OptPass1MOV
git-svn-id: trunk@43336 -
2019-10-30 20:07:26 +00:00
ondrej
13641eb1cf fcl-image: canvas AllocateResources: propagate exceptions to be able to properly handle (e.g. log) them
git-svn-id: trunk@43335 -
2019-10-30 16:15:30 +00:00
ondrej
7c661e9d0d fcl-image: do not load freetype DLL in initialization, it is loaded when needed in ftfont.pp InitEngine
git-svn-id: trunk@43334 -
2019-10-30 16:09:27 +00:00
Mattias Gaertner
c92340af39 pastojs: typeinfo forward external class
git-svn-id: trunk@43333 -
2019-10-30 12:16:31 +00:00
Mattias Gaertner
2b5c904b2d pastojs: less hints
git-svn-id: trunk@43332 -
2019-10-30 11:59:07 +00:00
michael
3518f456a4 * Fix warning about unimplemented abstract method
git-svn-id: trunk@43331 -
2019-10-30 09:04:54 +00:00
michael
c35331dc57 * Fix TNoResources abstract methods
git-svn-id: trunk@43330 -
2019-10-30 08:57:48 +00:00
Mattias Gaertner
7a8c66d0b1 pastojs: fixed pcu canonical class-of
git-svn-id: trunk@43329 -
2019-10-29 18:29:57 +00:00
Mattias Gaertner
b2d9a8361c pastojs: started pcu srcmap
git-svn-id: trunk@43328 -
2019-10-29 18:29:22 +00:00
Mattias Gaertner
4c6b5dc3ad fcl-js: fixed jssrcmap load xssi header
git-svn-id: trunk@43327 -
2019-10-29 18:27:58 +00:00
Mattias Gaertner
5ea4233ca4 fcl-passrc: varargs of type
git-svn-id: trunk@43326 -
2019-10-29 14:30:20 +00:00
Mattias Gaertner
e64ea172c2 fcl-passrc: varargs of type
git-svn-id: trunk@43325 -
2019-10-29 14:27:15 +00:00
marco
f7721cadcc * fix for mantis #36229, off by one in bounds check. Only affects invalid input though.
git-svn-id: trunk@43324 -
2019-10-29 13:44:24 +00:00
Mattias Gaertner
70ed2470dc pastojs: typeinfo for external classes
git-svn-id: trunk@43323 -
2019-10-27 20:51:31 +00:00
Mattias Gaertner
51998ca276 fcl-passrc: resolver: generic type overload
git-svn-id: trunk@43322 -
2019-10-27 20:49:43 +00:00
Mattias Gaertner
827c5ad389 fcl-passrc: fixed foreach TAliasType.Expr
git-svn-id: trunk@43321 -
2019-10-27 20:49:13 +00:00
michael
0e70a6d900 * Add as="script" attribute to link, to silence warning in chrome
git-svn-id: trunk@43320 -
2019-10-27 19:39:49 +00:00
florian
b7f58dd8c8 * load nodes for variables in registers do not generated instructions, so their complexity is zero
git-svn-id: trunk@43319 -
2019-10-27 16:53:26 +00:00
michael
9259c948be * Add support for resources
git-svn-id: trunk@43318 -
2019-10-27 13:14:24 +00:00
michael
71b6573e41 * HTML/JS Resource support
git-svn-id: trunk@43317 -
2019-10-27 13:08:44 +00:00
michael
1dbfd85a20 * Resource $R directive support
git-svn-id: trunk@43316 -
2019-10-27 13:06:59 +00:00
florian
c7fb1b8db7 * update dependencies of sysutils
git-svn-id: trunk@43315 -
2019-10-27 12:45:20 +00:00
florian
31e5b2d9a4 * more precise estimation of subscript node complexity
git-svn-id: trunk@43314 -
2019-10-27 12:40:08 +00:00