Yukihiro "Matz" Matsumoto
be2bdce17d
Remove mail addresses from AUTHORS.md.
2021-03-14 19:14:43 +09:00
Yukihiro "Matz" Matsumoto
bf524e7002
time.c: calendar clock should use CLOCK_REALTIME; 5e95f11
...
The issue was reported by @shuujii
2021-03-14 14:54:53 +09:00
Yukihiro "Matz" Matsumoto
f92a27f918
codegen.c: fix memory leak from new_litbn().
2021-03-13 09:33:16 +09:00
Yukihiro "Matz" Matsumoto
bf2110d206
codegen.c: need to preserve neg info.
2021-03-12 18:34:29 +09:00
Yukihiro "Matz" Matsumoto
01fdf03bce
codegen.c: fixed a typo.
2021-03-12 18:34:09 +09:00
Yukihiro "Matz" Matsumoto
b52078aa92
codegen.c: avoid integer comparison of different sign.
2021-03-12 16:26:51 +09:00
Yukihiro "Matz" Matsumoto
4ae5ae3535
codegen.c: no integer overflow error in codegen; close #5376
...
Add new pool value type `IREP_TT_BIGINT` and generate integer overflow
error in the VM. In the future, `mruby` will support `Bignum` for
integers bigger than `mrb_int` (probably using `mpz`).
2021-03-12 16:21:32 +09:00
Yukihiro "Matz" Matsumoto
84e27d3b51
Rename AUTHORS to AUTHORS.md.
2021-03-11 10:37:48 +09:00
Yukihiro "Matz" Matsumoto
c45fc556f5
AUTHORS: update according to git log commit entries.
2021-03-11 10:34:10 +09:00
Yukihiro "Matz" Matsumoto
14f531355f
Use relative path for files under doc directory [ci skip]
2021-03-10 18:39:21 +09:00
Yukihiro "Matz" Matsumoto
a62a07f40e
Merge pull request #5375 from artichoke/mrb_cmp-presym-op-maro
...
bug(presym): Fix mrb_cmp declaration of <=> symbol for funcall
2021-03-09 16:09:58 +09:00
Yukihiro "Matz" Matsumoto
adbdbbb779
Merge pull request #5378 from jbampton/update-node-version
...
chore: upgrade markdownlint GitHub Action node version to 14
2021-03-09 15:29:21 +09:00
Yukihiro "Matz" Matsumoto
405b5225ae
Merge pull request #5377 from jbampton/fix-grammar
...
chore: fix grammar
2021-03-09 15:03:35 +09:00
John Bampton
32261c96fa
chore: upgrade markdownlint GitHub Action node version to 14
...
Upgrade to markdownlint-cli version 0.27.1
2021-03-09 05:05:17 +10:00
John Bampton
3c1ce680a3
chore: fix grammar
2021-03-09 04:35:03 +10:00
Yukihiro "Matz" Matsumoto
f2b3529441
time.c: fix errors on Windows and macOS; ref #5354
...
`gmtime_r` detection logic was too strict.
2021-03-08 15:23:29 +09:00
Ryan Lopopolo
b199f6fc5a
bug(presym): Fix mrb_cmp declaration of <=> symbol for funcall
2021-03-07 21:29:11 -08:00
Yukihiro "Matz" Matsumoto
cb3a6dd168
ISO C99 doesn't support unnamed unions; fix #5354
2021-03-08 11:50:52 +09:00
Yukihiro "Matz" Matsumoto
833f556c70
Merge pull request #5374 from jbampton/fix-spelling
...
chore: fix spelling
2021-03-07 18:12:16 +09:00
John Bampton
15f7b0182d
chore: fix spelling
2021-03-07 04:58:15 +10:00
Yukihiro "Matz" Matsumoto
111e4e1ba8
Merge pull request #5373 from mruby/stable
...
Merge mruby 3.0.0
2021-03-05 17:36:12 +09:00
mimaki
0f45836b59
Update version and release date. (mruby 3.0.0 (2021-03-05))
3.0.0
2021-03-05 17:07:35 +09:00
Yukihiro "Matz" Matsumoto
a712755036
Merge pull request #5372 from shuujii/fix-load-64-bit-integer-from-mrb-format
...
Fix load 64-bit integer from mrb format; fix #5369
2021-03-05 14:39:42 +09:00
KOBAYASHI Shuji
cb10469dee
Fix load 64-bit integer from mrb format; fix #5369
2021-03-05 13:41:13 +09:00
Yukihiro "Matz" Matsumoto
25f604635d
Merge pull request #5371 from shuujii/update-minimal-build-configuration
...
Update minimal build configuration [ci skip]
2021-03-04 22:47:09 +09:00
Yukihiro "Matz" Matsumoto
32f66d4616
Merge pull request #5370 from shuujii/remove-unused-mrblib-init_mrblib.c
...
Remove unused `mrblib/init_mrblib.c`
2021-03-04 22:46:09 +09:00
KOBAYASHI Shuji
5296e0f5af
Update minimal build configuration [ci skip]
2021-03-04 22:18:26 +09:00
KOBAYASHI Shuji
c065002b51
Remove unused mrblib/init_mrblib.c
2021-03-04 21:54:00 +09:00
Yukihiro "Matz" Matsumoto
2f335e1a58
Fix mrb_pool_value to keep int64 on 32 bit platforms; fix #5366
2021-03-04 17:17:13 +09:00
Takashi Kokubun
f5d3d89ac2
Skip --depth=1 when it's locked
2021-03-04 15:50:13 +09:00
Yukihiro "Matz" Matsumoto
2be1a9c3c7
time.c: timespec_get() never fails.
2021-03-03 12:01:49 +09:00
Yukihiro "Matz" Matsumoto
42afafbd23
time.c: fixed wrong condition to include unistd.h.
2021-03-03 10:15:50 +09:00
Yukihiro "Matz" Matsumoto
79e2ad9a44
time.c: Windows does not have unistd.h.
2021-03-03 10:01:32 +09:00
Yukihiro "Matz" Matsumoto
5e95f11756
time.c: use clock_gettime() if possible.
2021-03-03 09:53:11 +09:00
Yukihiro "Matz" Matsumoto
0c631a4c08
time.c: adjust buffer size in mrb_time_asctime().
2021-03-03 09:52:26 +09:00
Yukihiro "Matz" Matsumoto
384209b8dd
time.c: fix compile errors in mrb_time_asctime().
2021-03-03 09:51:27 +09:00
Yukihiro "Matz" Matsumoto
187384124b
Merge pull request #5368 from jbampton/add-pre-commit-framework
...
feat: add pre-commit framework
2021-03-02 16:53:33 +09:00
Yukihiro "Matz" Matsumoto
55ac5dba86
dump.c: remove operator_table if MRB_NO_STDIO is defined.
2021-03-01 14:57:58 +09:00
Yukihiro "Matz" Matsumoto
37e206472a
minimal.rb: add minimal configuration; ref #1225
2021-03-01 14:54:29 +09:00
Yukihiro "Matz" Matsumoto
f3507818e7
binding-core.c: add cast to remove warnings; ref #5362
2021-03-01 11:38:30 +09:00
Yukihiro "Matz" Matsumoto
935a135553
time.c: fixed a bug on no builtin overflow (e.g. VC).
2021-03-01 11:35:15 +09:00
John Bampton
1c9b1bfeb7
feat: add pre-commit framework
2021-03-01 10:06:17 +10:00
Yukihiro "Matz" Matsumoto
65add8c650
time.c: avoid using mrb_int_{add,sub}_overflow().
...
The size and signedness of `mrb_int` and `time_t` may differ.
2021-03-01 07:58:14 +09:00
Yukihiro "Matz" Matsumoto
eb68adafa1
Merge pull request #5367 from dearblue/libedit
...
Support libedit on mirb for FreeBSD
2021-02-28 20:26:33 +09:00
Yukihiro "Matz" Matsumoto
03eb3b5e87
time.c: check overflow in addition and subtraction of Time.
2021-02-28 19:33:57 +09:00
Yukihiro "Matz" Matsumoto
8684abd697
Remove periods from error messages according to the convention.
2021-02-28 19:32:52 +09:00
Yukihiro "Matz" Matsumoto
b61766473b
time.c: change RuntimeError to ArgumentError.
2021-02-28 19:26:40 +09:00
dearblue
15a7d5be3d
Support libedit on mirb for FreeBSD
2021-02-28 16:23:37 +09:00
Yukihiro "Matz" Matsumoto
4dbbe14117
state.c: remove stdint.h inclusion.
...
Fixes C++03 compilation.
2021-02-27 16:40:05 +09:00
Yukihiro "Matz" Matsumoto
3da372b30f
pack.c: add more checks for pack_pack().
2021-02-27 12:00:24 +09:00