Commit Graph

14215 Commits

Author SHA1 Message Date
nickysn
ed26d54e3b * synchronized with trunk
git-svn-id: branches/wasm@48102 -
2021-01-07 07:21:01 +00:00
svenbarth
38cde38177 * make TProxyStream.Check an abstract method; as it is right now one had to override it anyway because it always raised an exception
git-svn-id: trunk@48097 -
2021-01-06 20:25:12 +00:00
nickysn
d8aaa29cbc * synchronized with trunk
git-svn-id: branches/wasm@48071 -
2021-01-05 03:25:43 +00:00
nickysn
04c14500a7 + added math.inc and set.inc
git-svn-id: branches/wasm@48057 -
2021-01-04 15:37:16 +00:00
pierre
38ddf2e8c5 Fix spelling error of revision 48023
git-svn-id: trunk@48024 -
2021-01-04 08:35:36 +00:00
nickysn
052d1bc38a * synchronized with trunk
git-svn-id: branches/wasm@48022 -
2021-01-04 02:57:44 +00:00
florian
7d5b0d2382 * handle rawbytestrings in Win32Ansi2UnicodeMove properly, resolves #38299
git-svn-id: trunk@48021 -
2021-01-03 22:55:37 +00:00
pierre
3362abb30c * Set softfloat_rounding_mode indise SetRoundMode function for all CPUs.
* SetRoundMode returns previous rounding mode value for all CPUs.

git-svn-id: trunk@48018 -
2021-01-03 21:44:18 +00:00
nickysn
8f376d1be9 + added WASI to the main RTL makefile
git-svn-id: branches/wasm@47993 -
2021-01-02 22:58:19 +00:00
nickysn
67206943e8 + added WASI RTL makefile
git-svn-id: branches/wasm@47992 -
2021-01-02 22:56:43 +00:00
nickysn
5a98127ae6 + added makefile.cpu for wasm32
git-svn-id: branches/wasm@47989 -
2021-01-02 22:27:30 +00:00
nickysn
cf6c173653 * regenerated makefiles
git-svn-id: branches/wasm@47988 -
2021-01-02 22:25:27 +00:00
nickysn
a84b091b5e * makefiles regenerated after fpcmake update
git-svn-id: branches/wasm@47985 -
2021-01-02 22:15:42 +00:00
nickysn
05d66eddfc * synchronized with trunk
git-svn-id: branches/wasm@47982 -
2021-01-02 22:06:17 +00:00
florian
8b08079224 * fpc_AnsiStr_Concat: if one of the strings is empty and CP_NONE is passed, the code page
of the other string is taken, this is also like fpc_AnsiStr_Concat_multi works if length(sarr)=2

git-svn-id: trunk@47976 -
2021-01-02 16:39:39 +00:00
nickysn
a5fafea8d1 * more updates to attempt to get a larger part of the full RTL to compile for WASM32
git-svn-id: branches/wasm@47970 -
2021-01-02 13:01:39 +00:00
nickysn
bb42589829 + added DebugWriteLn
git-svn-id: branches/wasm@47961 -
2021-01-02 10:47:04 +00:00
nickysn
1911fcd8ce * fixed StrLen double definition when compiling WASI with -dFULL_RTL
git-svn-id: branches/wasm@47960 -
2021-01-02 09:02:32 +00:00
nickysn
9bd8b66e86 + first attempts to compile a full WASI rtl
git-svn-id: branches/wasm@47958 -
2021-01-02 08:05:02 +00:00
nickysn
4c85306f69 + added wasm32 type defines
git-svn-id: branches/wasm@47957 -
2021-01-02 07:58:33 +00:00
nickysn
0ec39281f9 + added rtl directory and some rtl include files for wasm32
git-svn-id: branches/wasm@47956 -
2021-01-02 07:57:17 +00:00
nickysn
76a3014e3a + added DebugWriteHexByte
git-svn-id: branches/wasm@47954 -
2021-01-02 07:30:21 +00:00
nickysn
7221e9fe7f + added DebugWriteHexDigit
git-svn-id: branches/wasm@47953 -
2021-01-02 07:28:56 +00:00
nickysn
b80a650c7d + added DebugWriteChar
git-svn-id: branches/wasm@47952 -
2021-01-02 07:27:13 +00:00
nickysn
065d2c718d * no need to copy the local var paramater in StrLen()
git-svn-id: branches/wasm@47948 -
2021-01-02 06:37:52 +00:00
nickysn
4b9397fce4 * our_iov converted to a local var
git-svn-id: branches/wasm@47931 -
2020-12-31 18:37:59 +00:00
nickysn
82e9cb0189 * our_nwritten converted to a local var
git-svn-id: branches/wasm@47930 -
2020-12-31 18:37:07 +00:00
nickysn
08ae48aebf * i in strlen converted to a local variable, because that now works
git-svn-id: branches/wasm@47928 -
2020-12-31 18:24:16 +00:00
nickysn
0858579b50 * the gp: pchar global variable converted to local, because the code generator can now cope with this
git-svn-id: branches/wasm@47922 -
2020-12-31 08:18:00 +00:00
nickysn
361594bafd * synchronized with trunk
git-svn-id: branches/wasm@47920 -
2020-12-31 04:00:04 +00:00
florian
b5725ac3ed * while not official supported, bootstrapping with 3.0.4 fixed
git-svn-id: trunk@47901 -
2020-12-30 09:34:22 +00:00
nickysn
96de6c4b96 * synchronize with trunk
git-svn-id: branches/wasm@47877 -
2020-12-28 18:45:24 +00:00
Jonas Maebe
b359080f42 * fixed round(currency) so it takes the rounding mode into account on
platforms where currency is "type int64"
  * inline trunc(currency), trunc(comp) and round(comp) on platforms where
    currency and comp are "type int64"

git-svn-id: trunk@47859 -
2020-12-27 13:19:02 +00:00
Jonas Maebe
514db355b1 * darwin/AArch64: always clear fpu exception flags regardless of the
triggered signal, as the kernel currently triggers SIGILL rather
    than SIGFPE for FPU exceptions

git-svn-id: trunk@47858 -
2020-12-27 13:18:59 +00:00
florian
98d3473a1a * i386: disable InterlockedCompareExchange128 implementation if PIC is enabled
git-svn-id: trunk@47852 -
2020-12-26 21:11:12 +00:00
florian
4f05523db9 + RTMSupport function
+ if available use RTM to support InterlockedCompareExchange128 on i386

git-svn-id: trunk@47833 -
2020-12-22 22:00:08 +00:00
florian
da468719df * patch by Christo Crause to take care of the fact that the esp8266 read function is non-blocking, resolves #38243
git-svn-id: trunk@47832 -
2020-12-21 21:43:06 +00:00
ondrej
3f605a5b50 win rtl: load GetTimeZoneInformationForYear dynamically. Issue #38192
git-svn-id: trunk@47817 -
2020-12-19 11:57:58 +00:00
florian
1d92cc43bb * fpc_ln_real raises an exception for invalid operands if they exception is not masked
git-svn-id: trunk@47813 -
2020-12-18 22:36:17 +00:00
Károly Balogh
4b3fee38a5 dati.inc: tabs 2 spaces and whitespaces formatting fix. no functional changes
git-svn-id: trunk@47808 -
2020-12-18 11:55:21 +00:00
nickysn
47ff701db7 * synchronized with trunk
git-svn-id: branches/wasm@47778 -
2020-12-14 23:07:56 +00:00
florian
2e2f2eb784 - remove could which prevented that rte is triggered even if we are inside
an exception block but *without* using sysutils. The remove code
    was once added to have primitive exception handling even if
    no sysutils is used. But if this is desired, an appropriate handler
    to ErrorProc should be assigned. Resolves #38201

git-svn-id: trunk@47775 -
2020-12-14 21:55:42 +00:00
nickysn
91e9558f5b * synchronized with trunk
git-svn-id: branches/wasm@47766 -
2020-12-12 23:20:33 +00:00
florian
53a4e6c513 * patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
+ test

git-svn-id: trunk@47765 -
2020-12-12 21:39:17 +00:00
ondrej
6eb37beb24 win32: SysErrorMessage: ignore inserts (when not used the messages with inserts are empty) and allocate message buffer
git-svn-id: trunk@47748 -
2020-12-10 17:04:12 +00:00
nickysn
aeafe42144 * synchronized with trunk
git-svn-id: branches/wasm@47653 -
2020-12-01 03:27:01 +00:00
ondrej
706d89d6cc * GlobalNameSpace must EndWrite before it is released to unlock the critical section
git-svn-id: trunk@47636 -
2020-11-29 18:49:36 +00:00
ondrej
f982317ebd * cwstring: open iconv with the transliterate flag if iconvctl is not available
git-svn-id: trunk@47635 -
2020-11-29 17:09:19 +00:00
ondrej
6854f171d1 * revert r47631: cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
git-svn-id: trunk@47633 -
2020-11-29 14:59:18 +00:00
ondrej
91229dcee9 * cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
git-svn-id: trunk@47631 -
2020-11-29 12:08:55 +00:00