Commit Graph

63130 Commits

Author SHA1 Message Date
mattias
bad14c5dbd pas2js: httpcompiler: fixed reading values fomr config file 2021-09-09 16:09:52 +02:00
Yuriy Sydorov
61cf121533 * Use a register alias while handling reg deallocs in trgobj.instr_spill_register()
to be in sync with commit b96057ad.
2021-09-09 16:58:16 +03:00
Nikolay Nikolov
ba9a8ab069 + added thlcgwasm.a_load_subsetref_stack, not implemented yet 2021-09-09 14:11:20 +03:00
Ondrej Pokorny
f4cc2447a2 * fix memory leak in TFPCustomSimpleThreadPool.TThreadPoolList 2021-09-08 21:07:40 +00:00
Ondrej Pokorny
ef0aea8ca2 * fix memory leak in TFPPooledConnectionHandler 2021-09-08 21:07:40 +00:00
Ondrej Pokorny
008214ca15 fphttpclient: remove OnIdle and add protected methods so that the feature can be added in a descendant 2021-09-08 21:07:40 +00:00
Florian Klämpfl
67b08734cf * to avoid that -Xg causes a failure during comparing ppc3.exe and ppc386.exe on windows, during the last compiler compilation step, the
same executable name is used
2021-09-08 21:06:30 +02:00
Michaël Van Canneyt
25450a99ed * Fix issue #39350 : strip extension dot in windows loadknowntypes 2021-09-08 23:01:00 +02:00
mattias
679cfab709 pastojs: added hook GetFileSrcAttr to skip generating srcmap of some files 2021-09-08 18:31:12 +02:00
mattias
7e57e4514a pastojs: added TPas2jsMapper.SaveJSToStream 2021-09-08 18:25:50 +02:00
florian
9a1ccd2a16 * x86: ShlOp2Op optimization 2021-09-07 23:05:34 +02:00
Sven Barth
7c6f3810e3 * move freeing of the event log to a separate, virtual method so that this can be changed depending on the needs of TCustomWebApplication.CreateEventLog (e.g. when using a TCustomWebApplication descendant together with a TDaemonApplication) 2021-09-07 22:59:27 +02:00
Sven Barth
86d4820760 + implement support for terminating a HTTPSys web service handler that's blocking inside WaitForRequest 2021-09-07 22:59:27 +02:00
Sven Barth
2650049b2c * initialize Result variable of THTTPSysHandler.WaitForRequest 2021-09-07 22:59:27 +02:00
Pierre Muller
4acf8d36b8 Add symbol_order*.fpc files to .gitignore 2021-09-07 20:19:09 +00:00
Yuriy Sydorov
6007ceb908 * Patch by J. Gareth "Kit" Moreton (issue #39343). x86 peephole
optimization of conditions which are always true or false.
2021-09-07 20:09:47 +03:00
Yuriy Sydorov
940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation
of flags in tx86typeconvnode.second_int_to_bool and in generic
  tcgtypeconvnode.second_int_to_bool. This fixes random failures of the
  tcnvint1 test and some other tests when compiled with -O2.
2021-09-07 19:50:28 +03:00
Michaël Van Canneyt
06b659f787 * Fix issue #39342, after exception in doapplyupdates, res is not valid 2021-09-07 13:57:57 +02:00
Nikolay Nikolov
239557237f * regenerated makefiles with the latest fpcmake from trunk 2021-09-07 14:32:06 +03:00
Pierre Muller
810de9eaca Try to avoid infinite loop for revision target on svn repo 2021-09-06 23:31:20 +02:00
Pierre Muller
ae8972083f Use pascal hunk for diff output for pascal source files 2021-09-06 23:31:20 +02:00
Michaël Van Canneyt
dcf64d8fee * Export statement 2021-09-06 23:28:00 +02:00
florian
f8c92914c2 * indention fixed 2021-09-06 23:05:35 +02:00
Pierre Muller
33ad038bbb * Avoid some wrong error messages after initial error
On x86_64-openbsd, cycling with -O3 option fails due to
a wrong warning about uninitialized zeros variable in
compilation of ogbase unit
ogbase.pas(2310,41) Warning: Local variable "zeros" does not seem to be initialized
ogbase.pas(2318,39) Error: Can't evaluate constant expression

The second message is due to the fact that simplify is not
called inside nadd unit if errorcount is non-zero.
  By replacing errorcount<>0 by not codegenerror,
this message disappears.
2021-09-06 19:23:56 +00:00
Yuriy Sydorov
16d17de1ff + Added a test for a bug fixed in b96057ad. 2021-09-06 19:01:34 +03:00
Yuriy Sydorov
b43ee41090 * If in a move instruction "MOV reg1,reg2" one of the registers must be
spilled, but reg1 and reg2 are coalesced, then this is a no-op
  instruction and no spilling is needed.
2021-09-06 18:57:41 +03:00
Yuriy Sydorov
213a0a704a * Added trgobj.remove_ai(), call it instead of code duplication.
No functional changes.
2021-09-06 18:49:33 +03:00
Yuriy Sydorov
b96057adeb * Remove register allocations of coalesced registers if the alias
register is spilled.
2021-09-06 18:37:45 +03:00
mattias
d20f18634f pas2js: git ignore linux binaries 2021-09-06 16:51:48 +02:00
Michaël Van Canneyt
54415f8f4e * Import statement 2021-09-05 23:50:08 +02:00
florian
677f829732 * tw39323 needs to turn on range check to test what it is supposed to test 2021-09-05 23:12:34 +02:00
florian
3cddfb4e2f * patch by J. Gareth Moreton: x86: SETcc/TEST/SETcc -> SETcc/SETcc optimisation, resolves #39271 2021-09-05 22:17:11 +02:00
florian
a5f6505edc * fix range checking for zero based strings, resolves #39323 2021-09-05 21:03:31 +02:00
florian
468975aa30 + move often used floating point constants into registers 2021-09-05 18:19:58 +02:00
florian
d2921dfb55 * move more node tree optimizations to tcgprocinfo.OptimizeNodeTree 2021-09-05 18:00:11 +02:00
florian
b3bf183fd3 * pass the final name of the compiler executable when compiling the compiler to avoid
moving the executable afterwards, this allows proper stack dumps with line numnbers
    on OSes with external debugging information (darwin)
2021-09-05 16:48:01 +02:00
Michaël Van Canneyt
6a9d2cae93 * Debugger statement 2021-09-05 15:20:13 +02:00
Michaël Van Canneyt
652643499a * const and let statements 2021-09-05 15:08:39 +02:00
Michaël Van Canneyt
a214682495 * Parse async functions 2021-09-05 14:10:12 +02:00
Michaël Van Canneyt
d1bbc99e48 * Pass all directives through OnDirective 2021-09-05 14:09:04 +02:00
Michaël Van Canneyt
985ebf3b63 * New keywords for ECMA2021 2021-09-05 10:26:51 +02:00
Michaël Van Canneyt
714f036420 * Parse linklib directive 2021-09-04 22:50:24 +02:00
florian
396a030fc2 + debugging statement 2021-09-04 19:12:04 +02:00
Michaël Van Canneyt
b36154671b * Bring compileserver functionality up-to-date with simpleserver 2021-09-04 17:49:32 +02:00
Michaël Van Canneyt
bfc5fcb8d1 * Compile httpjson 2021-09-04 17:48:21 +02:00
Michaël Van Canneyt
06ab6d7fa7 * Enable location management API 2021-09-04 13:15:56 +02:00
Michaël Van Canneyt
886baf4cb9 * location management API 2021-09-04 13:15:38 +02:00
Michaël Van Canneyt
a206deddfb * Improved solution for issue #38435, json helpers for http request/response 2021-09-04 13:15:14 +02:00
Michaël Van Canneyt
4dc1e22f1f * Allow to move routes, make route management thread-safe 2021-09-04 13:12:53 +02:00
Michaël Van Canneyt
a390a27420 * Uppercase argument for GetHTTPStatusText 2021-09-04 13:12:17 +02:00