Commit Graph

66382 Commits

Author SHA1 Message Date
Karoly Balogh
f2d6b4d530 m68k: added a helper function to check if a register is an FPU register 2023-01-05 13:32:33 +01:00
wsherman
17fab24221 * Reorganize packages/googleapi/ directory.
Separate hand coded files to a new directory "src/base"
     (googlebase.pp, googleservice.pp, googleclient.pp)
   Move generated api files to a new directory "src/bindings"
   Move the the bindings generator program out of /examples to /generator
   Move the unit googlediscoverytopas.pp to /generator
   Fix paths in /generator/googleapiconv.lpi
   Regenerate Makefile (using fpcmake -w -Tall)
   Edit fpmake.pp
     - remove src path
     - add src/base path
     - add src/bindings path
     - fix bad path for unit googleadexchangebuyer.pp
     - do not include unit googlediscoverytopas.pp (commented out)
       (add this later if the generator is setup to be
       included in the build)
2023-01-04 22:45:55 +00:00
florian
9889a81062 * patch by Rika: Improve SinH and TanH, resolves #40086 2023-01-04 19:04:40 +01:00
florian
96eb5da939 * patch by Bart B: Implement sinh(), cosh() and tanh() for single, double and extended parameters, resolves #40083 2023-01-04 17:04:10 +01:00
florian
a260f1987c * patch by Rika: Improve Math.CotH, resolves #40084 2023-01-03 23:13:33 +01:00
Jonas Maebe
a641860fa8 Implicit specialisation: use regular array parameters for array constructors
Fixes compilation of test/timpfuncspez5 with LLVM and debug info, as the LLVM
debug info writer internalerror's when you try to generate debug info for
an array constructor (since those types should never appear as parameter/
variable types).

Replace them with reusable regular array types, so that multiple invocations
of the same generic function with array constructors of the same type and
number of elements are collapsed into the same specialisation
2023-01-03 21:44:44 +01:00
marcoonthegit
84ea64e59c * timespan unit based on Delphi documentation declarations and an own implementation based on Microsoft documentation. 2023-01-03 19:37:52 +01:00
Marcus Sackrow
aced88e43c Amiga: 32 bit set color functions for OS 1.x 2023-01-02 19:51:20 +01:00
Pierre Muller
cd8aa3f0e0 Avoid generation of invalid 'cb(n)z sp,label' instruction 2023-01-02 18:22:49 +00:00
florian
cfbdf90ab0 * patch by Rika to optimize ArcCos, resolves #40078 2023-01-02 18:56:41 +01:00
Michaël Van Canneyt
9998104048 * Add PATCH method to router 2023-01-02 16:09:13 +01:00
florian
60c80a45a0 * patch by Bart B to complete missing functions in the math unit, resolves #40055 2023-01-01 22:52:57 +01:00
florian
6c5f9537b3 * avoid to generate bt [mem], reg, resolves #40039 2022-12-31 18:27:27 +01:00
Tomas Hajny
1bb4003984 * messages regenerated after fixing #40008 2022-12-31 17:31:31 +01:00
Tomas Hajny
baf950bf76 * improved consistency as suggested in bug #40008 2022-12-31 17:27:06 +01:00
Tomas Hajny
abbec0eb9b * fixed test program - bug #40072 2022-12-31 15:26:00 +01:00
Tomas Hajny
45b15c5750 * fixed test program - bug #40072 2022-12-31 15:17:58 +01:00
Tomas Hajny
092bc17cb2 * fixed test program - bug #40072 2022-12-31 15:10:44 +01:00
Tomas Hajny
c631d86122 * fixed test program - bug #40072 2022-12-31 15:06:44 +01:00
Tomas Hajny
e9ce3be110 * fix for bug #40071 (corrected integer size redefined due to use of objfpc) 2022-12-31 14:18:57 +01:00
Jonas Maebe
32f8dc7ef5 symcreat: add hidden high parameters in create_procdef_alias
No longer happens automatically for pc_bareproc procdef copies
2022-12-31 11:59:05 +01:00
J. Gareth "Curious Kit" Moreton
a1abe51f2a * Refactor of is_cyclic to use a linked list on the stack instead of a dynamic array 2022-12-31 09:04:02 +00:00
Sven/Sarah Barth
4b659175d9 - remove no longer required readonly functionality from tparasymtable 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
e1288897f3 * fix #40031: with support for inline specializations it no longer makes sense to make the parameter symtable of a procedure variable type readonly as there *are* defs that are added to it
+ add adjusted test
2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
b6b2785b66 * also skip high parameters when pc_normal_no_hidden is given to tprocdef.getcopyas 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
430bcac389 * ensure that all hidden parameter symbols are removed when adding an anonymous function to a capturer (they'll be added again later on) 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
d7d65fe0d7 * fix typo in comment 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
4510945465 * fix #40062: ensure that Self is only added to anonymous functions when dealing with method pointers
+ added test
2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
d410deb7ae * when assigning an anonymous function to a method pointer move the function to the normal function level to avoid potential problems when accessing other variables 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
a6ddea87b7 * don't free the old, captured Self symbol as that does not belong to the anonymous function 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
1d73dab2b0 * a callnode for an anonymous function can have its procdefinition fixed, thus avoid the need to check for overloads 2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
5d7e3ca240 * fix #40060: ensure that Self is not added for anonymous functions that are part of a static class method
+ added test
2022-12-30 23:32:00 +01:00
Sven/Sarah Barth
4c6338207f * fix #40061: the Self of types that aren't implicit pointers (recods, TP-style objects, primitive types (for helpers)) needs to be stored as a Pointer in the Capturer so that modifications are correctly visible
+ added tests
2022-12-30 23:32:00 +01:00
florian
7bd5613954 * fix error on win64 and concerns about pulling math into the windows unit by a local arctan2 copy 2022-12-30 22:28:49 +01:00
florian
7affd78904 * do not throw an internal error on typed constants with wrong element count, resolves #40066 2022-12-30 21:53:04 +01:00
marcoonthegit
5fb88cef00 * Tpoint.Angle initial version using arctan2 2022-12-30 19:34:03 +01:00
marcoonthegit
bfb904640a * fix for #40069 add swapdimensions 2022-12-30 15:41:47 +01:00
florian
69eebe4c0c + patch by Rika to implement missing TPointF methods, resolves #40057
+ test by Rika
2022-12-29 15:20:49 +01:00
Michaël Van Canneyt
d7870c81e9 * Example program to print unit dependencies 2022-12-29 09:49:59 +01:00
Karoly Balogh
721e988da2 m68k: add some initial CPU-specifc boilerplate for an internal ELF writer 2022-12-29 05:08:46 +01:00
Karoly Balogh
e19f60503b m68k: updated instruction tables to match vasm release 1.9a 2022-12-29 03:36:51 +01:00
florian
4430422489 * improve module local data accesses by avoiding a got read 2022-12-28 22:05:23 +01:00
Pierre Muller
9e48addff5 Specify correct include files used in ptcwrapper unit, not in ptceventqueue 2022-12-28 15:39:23 +00:00
Pierre Muller
ea68c97f50 Remove convert.inc from fpmake include list as it was removed in commit 15ff16d852 2022-12-28 13:44:15 +00:00
Pierre Muller
20f649b7e9 Add missing include directory src/ptcwrapper 2022-12-28 13:43:44 +00:00
Pierre Muller
9f2f4a6574 Remove include files for collation_ru source, as they are gone since commit 27ed2808dc 2022-12-28 13:43:44 +00:00
Michaël Van Canneyt
535f11886d * Fix missing semi-colon 2022-12-27 21:59:03 +01:00
Michaël Van Canneyt
234a955125 * Fix missing fields in TSQLDBRestResource.Assign 2022-12-27 21:49:02 +01:00
Michaël Van Canneyt
a5f49c1cef * RFC states that client must use mask: enforce mask on connect 2022-12-27 09:43:40 +01:00
Michaël Van Canneyt
5469199726 * Sample program from Andrew Haines to test echo servers 2022-12-27 09:33:09 +01:00