Commit Graph

62351 Commits

Author SHA1 Message Date
florian
8ed2ea3672 * createlst and gparmake need to be used with the source os extension (actually, we should call it host extension)
git-svn-id: trunk@49019 -
2021-03-20 10:16:38 +00:00
nickysn
9fa61a6c9f - removed the discardresult proc directive
git-svn-id: trunk@49017 -
2021-03-20 01:22:43 +00:00
nickysn
800bb3adc2 * instead of using discardresult, wrap the uniquestring functions in procedures,
that are declared as inline

git-svn-id: trunk@49016 -
2021-03-19 21:13:20 +00:00
florian
b9affc3406 * RiscV64: type conversion to 8 bit improved
git-svn-id: trunk@49015 -
2021-03-19 17:39:52 +00:00
michael
452cdf73b9 * Remove debug statement
git-svn-id: trunk@49014 -
2021-03-19 14:39:20 +00:00
michael
702322cfde * discardresult modifier
git-svn-id: trunk@49013 -
2021-03-19 14:36:05 +00:00
michael
2a96ad2715 * Check buffer overflow when reading
git-svn-id: trunk@49012 -
2021-03-19 14:25:21 +00:00
ondrej
28e359f091 pqconnection: refactoring - use variable
git-svn-id: trunk@49011 -
2021-03-19 14:13:04 +00:00
ondrej
72fc981c7f pqconnection: support ftVarBytes parameters (TParam.SetAsBytes)
git-svn-id: trunk@49010 -
2021-03-19 14:09:02 +00:00
Mattias Gaertner
29dee4a0d3 pas2js: fixed option --simpleserver and -d relative path
git-svn-id: trunk@49008 -
2021-03-19 10:31:46 +00:00
michael
3575369989 * Fix leap second reading
git-svn-id: trunk@49006 -
2021-03-19 09:22:13 +00:00
ondrej
2a61397d37 unix: fix timezone info for timers after the last transition
git-svn-id: trunk@49005 -
2021-03-19 08:11:10 +00:00
pierre
85a8169c48 Use 4 char-long ShortName for ihxutil utils package
git-svn-id: trunk@49003 -
2021-03-18 22:28:55 +00:00
florian
9e2bcd940a + RiscV: initial OpAddi02Op implementation
git-svn-id: trunk@49002 -
2021-03-18 21:49:25 +00:00
ondrej
881235b489 unix: fix RefreshTZInfo UTC parameter
git-svn-id: trunk@49001 -
2021-03-18 19:21:51 +00:00
nickysn
ecad5e9a6c + WebAssembly implementation of g_rangecheck that uses if/endif instead of
jumps to labels (which causes internal compiler error, because they're not
  supported in WebAssembly)

git-svn-id: trunk@49000 -
2021-03-18 16:45:40 +00:00
florian
3072df59ff * overflow checked mul helpers do not need to check all bits either
git-svn-id: trunk@48999 -
2021-03-17 21:30:41 +00:00
nickysn
d608b4b689 * instead of registering all and then deleting non-propgetter/setter procdefs in
pdecvar.read_property_dec, don't register them by default, and then only
  register them, if they are propgetter/setter. This prevents dangling pointers
  in current_module.deflist and potential use-after-free bugs.

git-svn-id: trunk@48998 -
2021-03-17 19:16:38 +00:00
Mattias Gaertner
9e9859f145 fcl-passrc: fixed no hint when published method hides ancestor method
git-svn-id: trunk@48997 -
2021-03-17 18:22:11 +00:00
Mattias Gaertner
970e039b9a fcl-json: less hints
git-svn-id: trunk@48996 -
2021-03-17 17:13:40 +00:00
Mattias Gaertner
c813fafa37 pastojs: fixed wrong setting rtl.TObjectDestroy
git-svn-id: trunk@48995 -
2021-03-17 17:13:30 +00:00
pierre
39c060dfa7 Avoid copying of objpas.pp into local rtl/macos directory
git-svn-id: trunk@48994 -
2021-03-17 09:33:14 +00:00
florian
53effea0f5 + X86: JccMovJmpMov2MovSetcc optimization
git-svn-id: trunk@48993 -
2021-03-16 22:19:21 +00:00
michael
b9b08f37fe * Patch method contribution
git-svn-id: trunk@48992 -
2021-03-16 22:15:37 +00:00
marcus
82450e1d57 Amiga, AROS, MorphOS, OS4: Unified ExecBase for all Amiga Platforms
git-svn-id: trunk@48991 -
2021-03-16 20:54:13 +00:00
florian
612f063795 + patch by J. Gareth Moreton: AddMov2LeaAdd and AddMov2Lea optimizations, resolves #38579
git-svn-id: trunk@48989 -
2021-03-15 21:12:02 +00:00
marcus
6a92798603 amiga: examples fixed and updated
git-svn-id: trunk@48988 -
2021-03-15 20:46:29 +00:00
marcus
c4dfb2c8bd fpts2junit: remove ../ at start for the classname
git-svn-id: trunk@48987 -
2021-03-15 19:08:17 +00:00
nickysn
811cf381ad * when parsing unions, set the uniondef reference to nil in
current_module.deflist after freeing the object to prevent dangling pointers
  and use after free

git-svn-id: trunk@48986 -
2021-03-15 18:13:45 +00:00
nickysn
d090af4abe * skip nil values in current_module.deflist in TLLVMMachineCodePlaygroundAssembler.WriteImports
git-svn-id: trunk@48985 -
2021-03-15 18:12:36 +00:00
nickysn
f7dd8755cc + introduced TFPList.IndexOfItem and TFPObjectList.IndexOfItem, which are like
IndexOf, but can also search backwards. The same method already exists in
  FPC's classes unit.

git-svn-id: trunk@48984 -
2021-03-15 18:06:44 +00:00
michael
43753442c0 * Remove debug writel
git-svn-id: trunk@48983 -
2021-03-15 18:06:40 +00:00
marco
97b4cde077 * buffer overflow in ReadInputStream if a stream read> READ_BYTES (=64k) large. The overloaded tstream one is ok.
git-svn-id: trunk@48982 -
2021-03-15 15:58:05 +00:00
pierre
a70feeca7e Add sinclairql/Makefile
git-svn-id: trunk@48981 -
2021-03-15 15:39:30 +00:00
michael
5e913147ab * Fix bug ID #38624
git-svn-id: trunk@48980 -
2021-03-15 15:13:08 +00:00
michael
ffa69353f3 * Remove debug writeln
git-svn-id: trunk@48979 -
2021-03-15 14:33:37 +00:00
pierre
a7de0b365b Avoid invalid typecast error when using -CR option
git-svn-id: trunk@48978 -
2021-03-15 13:25:59 +00:00
pierre
85fa313e59 Use uvalue field to get unsigned and avoid range check or overflow errors
git-svn-id: trunk@48977 -
2021-03-15 13:24:27 +00:00
nickysn
77f3acdf76 * the TFPList.List property made protected in order to discourage using it
directly, as this circumvents range checking

git-svn-id: trunk@48976 -
2021-03-14 23:17:44 +00:00
florian
649bfecf62 + compiled C object files, generated by riscv32-unknown-linux-gnu-gcc (GCC) 10.2.0 with -O3
git-svn-id: trunk@48973 -
2021-03-14 21:34:51 +00:00
florian
2b47425f08 + tx64tryfinallynode.dogetcopy properly implemented, resolves #37305
git-svn-id: trunk@48972 -
2021-03-14 21:23:05 +00:00
nickysn
76c61c3aac * call inherited inside twasminnode.checkgenjumps in order to initialize use_small
git-svn-id: trunk@48971 -
2021-03-14 16:56:16 +00:00
florian
03d353c1f5 - cosmetics: superfluous newlines removed
git-svn-id: trunk@48970 -
2021-03-14 16:41:34 +00:00
florian
d1881d0951 * RiscV: integer type conversions fixed
git-svn-id: trunk@48969 -
2021-03-14 16:40:14 +00:00
michael
f5389cbc28 * test for bin2hex
git-svn-id: trunk@48968 -
2021-03-14 15:31:52 +00:00
michael
62b486a427 * Patch from N. Neumann to add delphi-compatible bintohex
git-svn-id: trunk@48967 -
2021-03-14 15:29:27 +00:00
nickysn
f0aed5d355 * fixed another WebAssembly compilation error with -CR
git-svn-id: trunk@48966 -
2021-03-14 15:06:13 +00:00
michael
0d1fb41901 * Fix bug #38618
git-svn-id: trunk@48965 -
2021-03-14 15:04:12 +00:00
nickysn
74854eee58 * fixed WebAssembly compilation error with -CR
git-svn-id: trunk@48964 -
2021-03-14 15:03:58 +00:00
michael
2aab9b1f9b * Patch from Bart Broersma for issue ID #38622
git-svn-id: trunk@48962 -
2021-03-14 14:16:16 +00:00