Commit Graph

59204 Commits

Author SHA1 Message Date
florian
4f707c3d7e * patch by Karl-Michael Schindler to update the German help files, resolves #37122
git-svn-id: trunk@45448 -
2020-05-20 20:10:15 +00:00
michael
c3218e19c7 * Fix for samesite
git-svn-id: trunk@45447 -
2020-05-20 09:36:53 +00:00
michael
3c75ae82d2 * Add support for SameSite attribute of cookie (bug ID 0037115)
git-svn-id: trunk@45446 -
2020-05-20 09:34:44 +00:00
Mattias Gaertner
fa267f90a6 pas2js: doc about await
git-svn-id: trunk@45445 -
2020-05-20 08:11:52 +00:00
michael
74e65f77bc * Fix bug ID #37118
git-svn-id: trunk@45444 -
2020-05-20 07:32:09 +00:00
Mattias Gaertner
18fdc0675e pas2js: function await(atype; p:TJSPromise):atype
git-svn-id: trunk@45443 -
2020-05-20 07:28:42 +00:00
Mattias Gaertner
b92ffac29a pas2js: built-in function await(const expr: T): T
git-svn-id: trunk@45442 -
2020-05-19 21:53:46 +00:00
florian
15baa272fe * exceptions are side effects which must be considered in boolean expressions
git-svn-id: trunk@45441 -
2020-05-19 20:34:41 +00:00
michael
5cc7622161 * Uncomment SO_REUSEPORT
git-svn-id: trunk@45440 -
2020-05-19 16:56:57 +00:00
yury
9d1c814387 * Added the thlcgobj.a_load_undefined_cgpara() method to pass an undefined value as a parameter to a routine. The generic version passes the 0/nil value if the parameter's location is not a register.
* Use a_load_undefined_cgpara() to load values for unused parameters.

git-svn-id: trunk@45439 -
2020-05-19 14:14:16 +00:00
yury
30e61067a0 * It is needed to mark $parentfp as used for all targets.
git-svn-id: trunk@45438 -
2020-05-19 14:09:54 +00:00
yury
afc568cf93 * Fixed the jvm target after r45436.
git-svn-id: trunk@45437 -
2020-05-19 14:01:19 +00:00
yury
2808873d1b * Reworked the optimization of unused $parentfp for nested routines.
- Do not remove the $parentfp parameter as was done in the previous optimization approach. Instead when $parentfp is unused to the following:
      - On the caller side: Omit passing the value for $parentfp for targets where tcgcallparanode.push_zero_sized_value_para=false (classic CPU targets). 
          Pass 0/nil as $parentfp for targets where tcgcallparanode.push_zero_sized_value_para=true;
      - On the callee side: Prevent allocation of registers/resources for $parentfp.
  - When possible keep $parentfp in a register.
  - Set the pio_nested_access flag in tprocinfo.set_needs_parentfp() to properly handle deep nesting levels;

git-svn-id: trunk@45436 -
2020-05-19 13:17:47 +00:00
Mattias Gaertner
a501be1b2b pas2js: async procedure modifier
git-svn-id: trunk@45435 -
2020-05-19 12:44:11 +00:00
Mattias Gaertner
d9734aa533 fcl-passrc: fixed parsing case statement without semicolon before else, added comments
git-svn-id: trunk@45434 -
2020-05-19 12:43:44 +00:00
Mattias Gaertner
375cfbf25c undo
git-svn-id: trunk@45433 -
2020-05-19 12:43:30 +00:00
Mattias Gaertner
23e7ced100 fcl-passrc: fixed parsing case statement without semicolon before else, added comments
git-svn-id: trunk@45432 -
2020-05-19 12:42:25 +00:00
Mattias Gaertner
a2342c710e fcl-passrc: resolver: check procedure modifiers of proc body and declration, procedure modifier async
git-svn-id: trunk@45431 -
2020-05-19 09:02:11 +00:00
florian
9b54588d75 + PXorPXor2PXor optimization
git-svn-id: trunk@45430 -
2020-05-18 21:28:45 +00:00
michael
c3e10be898 * Test case (currently failing) for else else in case statement
git-svn-id: trunk@45427 -
2020-05-18 18:18:52 +00:00
michael
9db7a9e8c9 * Fix include file, trim file
git-svn-id: trunk@45426 -
2020-05-18 17:30:38 +00:00
michael
ac208ab689 * clarify dubious case statements
git-svn-id: trunk@45425 -
2020-05-18 17:29:48 +00:00
Jonas Maebe
8d18c1792e * fixed {$unitpath xxx} directive with absolute paths
git-svn-id: trunk@45424 -
2020-05-18 17:20:13 +00:00
Mattias Gaertner
a7ecde8bb2 fcl-js: write async function and await expression
git-svn-id: trunk@45423 -
2020-05-18 15:49:31 +00:00
michael
8e8bbf4411 * Support generating API
git-svn-id: trunk@45422 -
2020-05-18 15:08:49 +00:00
michael
feb861e73a * Patch from Fabio Girardi to support ifNoneChanged header using enumerated
git-svn-id: trunk@45421 -
2020-05-18 15:07:13 +00:00
michael
2639e8af7e * Fix warning about visibility change
git-svn-id: trunk@45420 -
2020-05-18 15:06:13 +00:00
michael
45d08916f2 * test for method aliases (function)
git-svn-id: trunk@45419 -
2020-05-18 13:12:29 +00:00
michael
7649e205aa * test for method aliases
git-svn-id: trunk@45418 -
2020-05-18 12:59:05 +00:00
Mattias Gaertner
f74eb4692f pas2js: safecall for procedure
git-svn-id: trunk@45417 -
2020-05-18 11:00:06 +00:00
Mattias Gaertner
fef402f6e6 pas2js: safecall for procedure
git-svn-id: trunk@45416 -
2020-05-18 10:46:54 +00:00
michael
ce6789bdbf * Add OnComment
git-svn-id: trunk@45415 -
2020-05-18 08:28:14 +00:00
michael
0fd06ded8d * Reverse onUncaughtException result
git-svn-id: trunk@45414 -
2020-05-18 07:40:09 +00:00
nickysn
edcc14a5ce * Z80: JR can be both conditional and uncoditional jump, just like JP
git-svn-id: trunk@45411 -
2020-05-17 23:38:23 +00:00
Jonas Maebe
a88eee4080 * fixed unitdir directive for relative paths in case the current module's
path is not set, broken by r43312 (mantis #37095)

git-svn-id: trunk@45410 -
2020-05-17 21:27:00 +00:00
svenbarth
6b548b9016 * fix for Mantis #37042: apply patch and test (adjusted for Big Endian) by Bi0T1N to add support for TBitConverter
git-svn-id: trunk@45409 -
2020-05-17 20:59:57 +00:00
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