Commit Graph

59168 Commits

Author SHA1 Message Date
marco
c5b1398bff * fix loading of index in ide. Needs to get second instead of first subitem's local property now.
+ some defensive programming in case fpdoc's buildindex gets cleaned up more.

git-svn-id: trunk@45406 -
2020-05-17 18:28:15 +00:00
florian
af0ba7be83 * when auto-inlining is used, do not require that inlining is explicitly turned on
git-svn-id: trunk@45405 -
2020-05-17 18:14:48 +00:00
florian
97efb03ae6 * call x86 addordinal for non short boolean evaluated boolean nodes
as this results in better code

git-svn-id: trunk@45404 -
2020-05-17 17:41:44 +00:00
florian
fcf2cd2bea * boolean or/and nodes might be swapped when they have no side effect, in case
of short boolean evaluation, firstcomplex is not called so this does not
    hurt short boolean evaluation

git-svn-id: trunk@45403 -
2020-05-17 17:41:43 +00:00
nickysn
13028db5a4 - z80: disable regvars, because they don't work
git-svn-id: trunk@45402 -
2020-05-17 14:38:57 +00:00
Jonas Maebe
f9672b53a2 - removed old float-to-string and string-to-float conversion code
git-svn-id: trunk@45401 -
2020-05-17 14:05:38 +00:00
marco
4c9fae1e35 * workaround that fixes project imports with html backend specific paths by ignoring it.
git-svn-id: trunk@45398 -
2020-05-17 12:02:44 +00:00
nickysn
b54d9cfecb * fixed IsJumpToLabelUncond for the Z80
git-svn-id: trunk@45397 -
2020-05-17 11:35:42 +00:00
michael
e928f402fc * Make name a little clearer in operator parsing
git-svn-id: trunk@45396 -
2020-05-17 07:55:36 +00:00
michael
6e0a8415df * Add switch to ignore unknown resources
git-svn-id: trunk@45395 -
2020-05-17 07:54:41 +00:00
michael
e70d86f1d8 * Trim param in mode statement (bug 37092)
git-svn-id: trunk@45394 -
2020-05-17 07:42:23 +00:00
michael
14a6768497 * Use unsigned for ip6 parts
git-svn-id: trunk@45393 -
2020-05-17 07:32:11 +00:00
Mattias Gaertner
9a954d384a pas2js: safecall calling convention for of-object proctypes
git-svn-id: trunk@45392 -
2020-05-16 20:51:23 +00:00
nickysn
63af4e173d + z80: handle all instructions in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@45391 -
2020-05-16 20:33:44 +00:00
nickysn
5502d6cc58 + Z80: report the flags usage for all the remaining instructions in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@45390 -
2020-05-16 19:58:37 +00:00
Károly Balogh
c38efe6d18 m68k: tabs to spaces and indentation fix, no functional change
git-svn-id: trunk@45389 -
2020-05-16 19:15:52 +00:00
florian
d9eddc50fd * fix spilling for PAND, POR and PXOR, resolves
git-svn-id: trunk@45388 -
2020-05-16 15:51:48 +00:00
michael
03f2c69d0d * Fix range check errors
git-svn-id: trunk@45387 -
2020-05-16 15:00:00 +00:00
Károly Balogh
2c8db3bb9e m68k: add support for bitfield instructions as CPU capability
git-svn-id: trunk@45383 -
2020-05-16 13:47:18 +00:00
Jonas Maebe
435b45a13c * fix linkframework CoreImage directive (mantis )
git-svn-id: trunk@45381 -
2020-05-16 13:31:36 +00:00
Jonas Maebe
1506926593 * made intialisation of FGeneralCriticalSection thread-safe
* fixed a (harmless) use of an uninitialised variable

git-svn-id: trunk@45380 -
2020-05-16 13:31:32 +00:00
Jonas Maebe
6f165b6c01 * fixed tests
o fixed use of loop counter after end of loop
   o fixed reliance on old behaviour for int -> real typecasts

git-svn-id: trunk@45379 -
2020-05-16 13:31:28 +00:00
michael
f432bd9307 * Patch from Noel Duffy to add TrySTrToHost* functions
git-svn-id: trunk@45376 -
2020-05-16 13:11:28 +00:00
marcus
5a9fc1c01c MorphOS: workaround to prevent removal of __abox__ during --gc-sections
git-svn-id: trunk@45375 -
2020-05-16 13:07:19 +00:00
michael
ce0c43c934 * Allow to hook uncaught exception handling
git-svn-id: trunk@45374 -
2020-05-16 11:52:24 +00:00
nickysn
f0edd62b88 + Z80: report flags register information in TCpuAsmOptimizer.RegLoadedWithNewValue for 16-bit ADD,ADC,SBC,INC and DEC
git-svn-id: trunk@45373 -
2020-05-16 00:03:54 +00:00
florian
b239365479 * improved LeaLea2Lea
git-svn-id: trunk@45372 -
2020-05-15 21:25:30 +00:00
marcus
252a329100 Amiga, MorphOS: fixed Syscall offset for AddAppWindowA
git-svn-id: trunk@45371 -
2020-05-15 16:51:49 +00:00
svenbarth
f0e8d5dfa6 * fix for Mantis : apply patch by Bi0T1N (including test) to add additional overloads for IntToHex including a rerouting of the ordinal helpers' ToHexString to use these overloads
git-svn-id: trunk@45370 -
2020-05-15 15:14:19 +00:00
Mattias Gaertner
0548ac5549 pas2js: split ReadElement, add to parent before reading resolver data
git-svn-id: trunk@45369 -
2020-05-15 13:13:05 +00:00
michael
08cb5b7665 * Max len 3 per number in dotted quad
git-svn-id: trunk@45368 -
2020-05-15 11:23:14 +00:00
michael
a0c403f445 * Fix bug ID : too permissive val() on supplied quads
git-svn-id: trunk@45367 -
2020-05-15 10:47:48 +00:00
nickysn
37b607143a + handle the flags register bits for many Z80 instructions in TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@45366 -
2020-05-14 22:44:48 +00:00
florian
4559620efa * patch by Reynaldo to generate kernel image for the raspi2 embedded port, resolves
git-svn-id: trunk@45365 -
2020-05-14 21:16:12 +00:00
Károly Balogh
1df56495b7 * fix a typo in a comment. no functional change
git-svn-id: trunk@45364 -
2020-05-14 15:23:27 +00:00
michael
032f3aa11a * Fix visibility warning
git-svn-id: trunk@45363 -
2020-05-14 09:31:05 +00:00
michael
b2abcba6d9 * Generic list mode, allow use of record instead of class
git-svn-id: trunk@45362 -
2020-05-14 09:29:36 +00:00
Jonas Maebe
a2174753c1 - removed tabstractrecorddef.get_unit_symtable, which did not always return the unit
symtable (when you had a local recorddef in a procdef)
  * modified tdef.get_top_level_symtable() so you can specify whether you want to
    skip procdefs or not
  * changed tobjectdef.vmt_def() to no longer require a typesym for the tobjectdef
    (based on patch by Blaise)

git-svn-id: trunk@45361 -
2020-05-13 21:46:29 +00:00
florian
7a60e044e3 * simplify constant expressions after re-ordering, resolves
git-svn-id: trunk@45360 -
2020-05-13 20:26:04 +00:00
michael
84bffbe75e * Fix bug : missing stdcall calling convention modifier
git-svn-id: trunk@45359 -
2020-05-13 19:20:34 +00:00
pierre
a414997a84 Use 0 instead of 0xffffffff to disable page width
git-svn-id: trunk@45358 -
2020-05-13 16:20:48 +00:00
pierre
db0f0be3ba Use 0 instead of 0xffffffff to disable page width
git-svn-id: trunk@45357 -
2020-05-13 15:03:35 +00:00
pierre
c77ef7d6dd Regenerate all Makefile's after change in utils/fpcm/fpcmake.ini to better support use of i386 compiler on x86_64 machines
git-svn-id: trunk@45356 -
2020-05-13 13:53:15 +00:00
michael
0333677ac3 * Fix from Bart Broersma, small optimization (bug ID 37061)
git-svn-id: trunk@45355 -
2020-05-13 10:10:02 +00:00
pierre
ae91ff00b9 Do not add -Fl$GCCLIBDIR to FPCMAKEOPT as this is now handled by fpcmake
git-svn-id: trunk@45354 -
2020-05-13 09:17:11 +00:00
pierre
406d17a4b6 Update fpcmake.inc and revision.inc after previous commit
git-svn-id: trunk@45353 -
2020-05-13 09:14:42 +00:00
pierre
5ffc1b8152 Use GCCLIBDIR variable for FPCMAKEGCCLIBDIR if FPCFPMAKE has same target cpu as CPU_TARGET
git-svn-id: trunk@45352 -
2020-05-13 09:12:19 +00:00
pierre
3aa253c11d Allow system unit to be compiled without RTTI feature
git-svn-id: trunk@45351 -
2020-05-13 09:10:23 +00:00
michael
71e322d058 * Patch from Noel Duffy to improve IPV6 address parsing (bug ID tw37013)
git-svn-id: trunk@45350 -
2020-05-13 07:19:03 +00:00
Mattias Gaertner
6ffba8e2b6 pas2js: filer: add specs to gen type
git-svn-id: trunk@45349 -
2020-05-12 21:12:14 +00:00