Commit Graph

62194 Commits

Author SHA1 Message Date
svenbarth
fe5b29c111 * fix for Mantis #38249: apply adjusted patch by avk to implemnt CastTo handling when the source variant is a custom variant, but the destination type is not
+ added test (includes test for #20849)

git-svn-id: trunk@48477 -
2021-01-31 20:26:26 +00:00
florian
90ba89a128 * linux: FileGetDate makes use of statx if needed
git-svn-id: trunk@48476 -
2021-01-31 18:38:50 +00:00
florian
ef04e3983f * sysutils on linux uses only the new syscalls if the system has no suitable clong type
git-svn-id: trunk@48475 -
2021-01-31 18:20:01 +00:00
florian
c3656c6b1c * fallback to fputime if fputimensat fails as not being available
git-svn-id: trunk@48474 -
2021-01-31 18:09:57 +00:00
florian
d402e0b940 * Y2K38 problem for linux in sysutils.findfirst/findnext should be solved
git-svn-id: trunk@48473 -
2021-01-31 18:02:55 +00:00
florian
b8ab06aae7 + futimens syscall
* make use of futimens syscall in sysutils unit
  + tests

git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
e6f575d43c + make use of the fputimensat syscall on linux to enable always times beyond 32 bit
git-svn-id: trunk@48471 -
2021-01-31 16:43:53 +00:00
florian
0c77536f11 + linux.fputimensat which properly uses the _tim64 version if needed and available
+ test

git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
florian
33cd5778cd * properly check for linux version supporting statx
git-svn-id: trunk@48469 -
2021-01-31 16:23:23 +00:00
florian
8b24d60df7 * removed accidently committed printnode
git-svn-id: trunk@48464 -
2021-01-31 13:19:55 +00:00
nickysn
f8b87e472d * set eol-style=native and mime-type=text/plain to graph.tex
git-svn-id: trunk@48463 -
2021-01-31 11:08:21 +00:00
nickysn
cfc9838349 * fixed compilation of the embedded target
git-svn-id: branches/wasm@48462 -
2021-01-31 04:00:08 +00:00
florian
8496690ed0 * additional fix for r48449
git-svn-id: trunk@48461 -
2021-01-30 22:47:38 +00:00
nickysn
8b52969b62 * synchronized with trunk
git-svn-id: branches/wasm@48460 -
2021-01-30 22:29:44 +00:00
svenbarth
91050f14b6 + add event to retrieve the logged messages in addition to writing them to the backend
git-svn-id: trunk@48459 -
2021-01-30 20:13:06 +00:00
svenbarth
dc48872552 + add support for logging to StdOut or StdErr instead of a file or system output; if the specified output is not opened an exception will be thrown
git-svn-id: trunk@48458 -
2021-01-30 20:13:02 +00:00
florian
f39f8d0f1a * linux: make use of statx in Sysutils.FileAge if available
git-svn-id: trunk@48457 -
2021-01-30 18:47:27 +00:00
florian
de62cb8b02 * do not execute xend twice which was introduced in r48430
git-svn-id: trunk@48456 -
2021-01-30 18:46:58 +00:00
michael
a90315c3a0 * Patch from Noel Duffy to implement DNS over TCP and test
git-svn-id: trunk@48455 -
2021-01-30 08:28:13 +00:00
nickysn
80d3a8d130 * synchronized with trunk
git-svn-id: branches/wasm@48453 -
2021-01-29 23:45:05 +00:00
florian
4bec57702f * handle generic with ord call of sub-range and enumeration data excluding 0 correctly, resolves #38412
git-svn-id: trunk@48452 -
2021-01-29 21:31:59 +00:00
nickysn
e7d568ea38 * synchronized with trunk
git-svn-id: branches/wasm@48451 -
2021-01-29 04:03:57 +00:00
florian
e99827246e * fix type conversion for array indicies if the ordinal ranges of the involved types do not overlap, resolves #38413
git-svn-id: trunk@48449 -
2021-01-28 20:56:15 +00:00
nickysn
af12279bed * fixed local var dwarf debug info output for WebAssembly
git-svn-id: branches/wasm@48448 -
2021-01-28 17:15:14 +00:00
nickysn
fa30ae7d97 + added the DW_OP_WASM_location constant
git-svn-id: branches/wasm@48447 -
2021-01-28 16:25:35 +00:00
nickysn
e2e0756eaf * fixed compilation with -Sew
git-svn-id: branches/wasm@48446 -
2021-01-28 16:25:03 +00:00
nickysn
0ceefa4d22 + enabled DWARF debug info writing on the WebAssembly target. Note that it
doesn't work yet (produces internal errors).

git-svn-id: branches/wasm@48445 -
2021-01-28 16:16:32 +00:00
nickysn
c5cac5f554 * set the default debug info type to dbg_dwarf2 for the WebAssembly targets
git-svn-id: branches/wasm@48444 -
2021-01-28 15:55:31 +00:00
nickysn
2c2f2189e3 + write a debug output message and trap in FPC_LONGJMP for WebAssembly
git-svn-id: branches/wasm@48443 -
2021-01-28 13:02:26 +00:00
nickysn
4ef1367019 + added wasm32 inline procedure for generating the 'unreachable' instruction
git-svn-id: branches/wasm@48442 -
2021-01-28 12:48:56 +00:00
michael
89149a2f9f * Small fix from Andrey to improve link resolving
git-svn-id: trunk@48441 -
2021-01-28 07:01:38 +00:00
nickysn
605246ac3c * synchronized with trunk
git-svn-id: branches/wasm@48440 -
2021-01-27 23:54:53 +00:00
michael
c3aca47e50 * Patch from Andrey Sobol to fix broken topic links
git-svn-id: trunk@48439 -
2021-01-27 21:29:12 +00:00
florian
706e72e1fd * better error message for runtime errors 202 and 210, resolves #38254
git-svn-id: trunk@48438 -
2021-01-27 21:28:55 +00:00
michael
5e7291af15 * Patch from Bart Broersma to introduce protected data property
git-svn-id: trunk@48436 -
2021-01-27 11:42:34 +00:00
michael
e723c1fff6 * Fix from Bart Broersma (better handling of managed data), issue ID #38406
git-svn-id: trunk@48435 -
2021-01-27 11:40:03 +00:00
michael
71f5e4534e * Batch from Bart Broersma to add some info (Issue ID #38408)
git-svn-id: trunk@48434 -
2021-01-27 11:32:58 +00:00
nickysn
95e0c7ab6e * synchronized with trunk
git-svn-id: branches/wasm@48433 -
2021-01-26 22:52:18 +00:00
florian
e5002dd291 * updated copyright year to 2021
git-svn-id: trunk@48432 -
2021-01-26 22:03:17 +00:00
florian
bcfa71d706 + lazarus project for demo
git-svn-id: trunk@48431 -
2021-01-26 22:00:33 +00:00
pierre
5dbd9eb2e0 Introduce USE_REAL_INSTRUCTIONS to handle expressions not accepted by old assemblers
git-svn-id: trunk@48430 -
2021-01-26 14:50:58 +00:00
nickysn
541b8e183d * synchronized with trunk
git-svn-id: branches/wasm@48429 -
2021-01-26 02:48:45 +00:00
florian
bbbdbb9efa * fix demo example for delphi_stream being defined
git-svn-id: trunk@48428 -
2021-01-25 21:29:14 +00:00
nickysn
616db5df68 + compile the strings unit for the wasi target
git-svn-id: branches/wasm@48427 -
2021-01-25 21:17:28 +00:00
nickysn
c5b0348c2a - removed $(EXECPPAS) from WASI rtl makefile and changed tabs with spaces
git-svn-id: branches/wasm@48426 -
2021-01-25 21:06:17 +00:00
nickysn
a3f383ed95 + added unit ctypes to the WASI rtl
git-svn-id: branches/wasm@48425 -
2021-01-25 21:02:46 +00:00
nickysn
45b67bf8c8 + added unit wasiapi
git-svn-id: branches/wasm@48424 -
2021-01-25 20:54:25 +00:00
nickysn
d4623ebf78 * regenerated makefile after sync with trunk
git-svn-id: branches/wasm@48423 -
2021-01-25 20:54:07 +00:00
nickysn
d8f2581357 * regenerated makefile after sync with trunk
git-svn-id: branches/wasm@48422 -
2021-01-25 20:53:18 +00:00
nickysn
eb7db76a31 * fixed compiler internal error, when compiling a unit that has an external function in its interface section
git-svn-id: branches/wasm@48421 -
2021-01-25 20:53:01 +00:00