dearblue
396ca2809f
Add the generator path to the build/***/gem_init.c file
2023-02-28 22:11:14 +09:00
Yukihiro "Matz" Matsumoto
92ca93c885
Merge pull request #5936 from jbampton/remove-duplicate-method-calls
...
benchmark: remove duplicate method calls
2023-02-25 22:10:28 +09:00
Yukihiro "Matz" Matsumoto
b59832ed26
Merge pull request #5935 from jbampton/upgrade-doxyfile
...
Upgrade the `Doxyfile`
2023-02-25 22:09:36 +09:00
John Bampton
d86f4d220f
benchmark: remove duplicate method calls
...
DuplicateMethodCall: Scene#render calls 'nsf * nsf' 3 times
2023-02-25 15:22:49 +10:00
John Bampton
5dd0f74ecf
Upgrade the Doxyfile
...
```
mruby % doxygen -u
warning: Tag 'CLANG_ASSISTED_PARSING' at line 50 of file 'Doxyfile' belongs to an option that was not enabled at compile time.
This tag has been removed.
warning: Tag 'CLANG_OPTIONS' at line 51 of file 'Doxyfile' belongs to an option that was not enabled at compile time.
This tag has been removed.
warning: Tag 'TCL_SUBST' at line 238 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1075 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'FORMULA_TRANSPARENT' at line 1481 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'LATEX_SOURCE_CODE' at line 1769 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'RTF_SOURCE_CODE' at line 1851 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 1949 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'PERL_PATH' at line 2094 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'CLASS_DIAGRAMS' at line 2107 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'MSCGEN_PATH' at line 2116 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'DOT_FONTNAME' at line 2158 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'DOT_FONTSIZE' at line 2165 of file 'Doxyfile' has become obsolete.
This tag has been removed.
warning: Tag 'DOT_TRANSPARENT' at line 2391 of file 'Doxyfile' has become obsolete.
This tag has been removed.
Configuration file 'Doxyfile' updated.
```
2023-02-25 12:55:53 +10:00
Yukihiro "Matz" Matsumoto
ee599b25c1
Merge pull request #5934 from jbampton/rake-checkupdate
...
Run `rake checkupdate`
2023-02-25 09:26:26 +09:00
Yukihiro "Matz" Matsumoto
f8a66c88b8
Merge pull request #5933 from jbampton/update-mruby-version-numbers
...
docs: update mruby version to `3.2.0`
2023-02-25 09:26:03 +09:00
John Bampton
d4dd75b82c
Run rake checkupdate
...
`pre-commit autoupdate`
2023-02-25 08:12:50 +10:00
John Bampton
46e42b38f0
docs: update mruby version to 3.2.0
2023-02-25 08:02:45 +10:00
Yukihiro "Matz" Matsumoto
82c67d52fc
Merge pull request #5931 from mruby/stable
...
Merge mruby 3.2.0
2023-02-24 23:19:09 +09:00
mimaki
87260e7bb1
Update version and release date. (mruby 3.2.0 (2023-02-24))
3.2.0
2023-02-24 19:51:12 +09:00
Yukihiro "Matz" Matsumoto
1ab3da6f08
vm.c (ci_env_set): inline ci_env_set()
...
Along with making preparing mrb_vm_ci_env_clar() as a replacement of
mrb_vm_ci_env_set(mrb, NULL).
2023-02-23 17:16:10 +09:00
Yukihiro "Matz" Matsumoto
2c046eb512
mruby.h: replace frequently used inline functions with macros
...
- mrb_gc_arena_save()
- mrb_gc_arena_restore()
2023-02-22 16:35:14 +09:00
Yukihiro "Matz" Matsumoto
d8d1fe27f6
vm.c (stack_extend): inline mrb_stack_extend() in vm.c
2023-02-22 12:05:46 +09:00
Yukihiro "Matz" Matsumoto
43922a5bf9
vm.c (mrb_gc_arena_shrink): use local variable
2023-02-21 21:59:42 +09:00
Yukihiro "Matz" Matsumoto
a21edf75ad
Use mrb_get_arg1() instead of mrb_get_args() for single argument
2023-02-21 16:33:15 +09:00
Yukihiro "Matz" Matsumoto
aecbdf72bf
vm.c (mrb_env_unshare): remove unnecessary mrb_write_barrier() call
...
Since this function does not modify references from env, we don't need
to put write barrier here.
2023-02-21 09:45:17 +09:00
Yukihiro "Matz" Matsumoto
d4cb136deb
kernel.c (mrb_obj_ceqq): skip unnecessary mrb_ary_entry()
...
We have checked the boundary before the call.
2023-02-20 17:33:52 +09:00
Yukihiro "Matz" Matsumoto
76157c5f78
add inline specifier to frequently called functions
...
- entry_deleted_p(): hash.c
- ensure_block(): vm.c
2023-02-19 19:06:37 +09:00
Yukihiro "Matz" Matsumoto
7cbe6894b4
debug.c (mrb_debug_get_position): avoid duplicate calls to get_file()
2023-02-19 19:05:54 +09:00
Yukihiro "Matz" Matsumoto
78137f31c8
error.c (mrb_make_exception): reinvent exception creation
...
The arguments of mrb_make_exception() has changed. I believe no one is
using the function, but beware.
2023-02-18 11:51:33 +09:00
Yukihiro "Matz" Matsumoto
431f83eb8c
error.c (mrb_make_exception): make the function internal
2023-02-17 17:04:09 +09:00
Yukihiro "Matz" Matsumoto
515b2fd144
class.c (mrb_method_added): skip mrb_funcall_id() is possible
...
When `method_added` is not redefined, we don't need to call it since its
default implementation does nothing.
2023-02-16 09:38:26 +09:00
Yukihiro "Matz" Matsumoto
2768fd62a0
Reduce calls to mrb_obj_is_kind_of()
2023-02-15 11:45:10 +09:00
Yukihiro "Matz" Matsumoto
235aaafef2
array.c (mrb_ary_aset): remove unnecessary ary_modify()
...
The `ary_modify()` is called in subsidiary functions.
2023-02-14 23:45:10 +09:00
Yukihiro "Matz" Matsumoto
4384a87516
class.c, vm.c: use loop variable declaration in for statement
2023-02-13 14:16:53 +09:00
Yukihiro "Matz" Matsumoto
58aefd6010
class.c, vm.c: use NULL instead of 0 for pointers
2023-02-13 14:16:30 +09:00
Yukihiro "Matz" Matsumoto
ea0e8f7ea4
numeric.c (flo_mod): use NULL instead of 0
...
In C, we don't use 0 as NULL representation.
2023-02-13 00:08:40 +09:00
Yukihiro "Matz" Matsumoto
4f9caea891
range.c (range_num_to_a): add array entries directly
...
Calling `mrb_ary_push()` is slower.
2023-02-11 16:13:33 +09:00
Yukihiro "Matz" Matsumoto
2adb1043f4
array.c (mrb_ary_push_m): call mrb_ary_push() when argc == 1
2023-02-11 14:23:48 +09:00
Yukihiro "Matz" Matsumoto
b4c936b533
use new E_EXCEPTION and E_STANDARD_ERROR; ref #5924
2023-02-10 15:21:38 +09:00
Yukihiro "Matz" Matsumoto
49709a65c7
AUTHORS: update entries [ci skip]
2023-02-10 15:21:38 +09:00
Yukihiro "Matz" Matsumoto
bed7a79add
Merge pull request #5927 from jbampton/remove-unneeded-whitespace
...
md/yml: remove unneeded blank lines and whitespace
2023-02-10 14:24:47 +09:00
Yukihiro "Matz" Matsumoto
7373b63919
Merge pull request #5926 from jbampton/update-license-year
...
Update License year to 2023
2023-02-10 14:23:32 +09:00
John Bampton
07a7d2a6cb
md/yml: remove unneeded blank lines and whitespace
2023-02-10 14:02:57 +10:00
John Bampton
8af0aa4905
Update License year to 2023
2023-02-10 11:55:32 +10:00
mimaki
4ca2129889
Update version to 3.2.0RC4.
3.2.0-rc4
2023-02-08 10:04:29 +09:00
Yukihiro "Matz" Matsumoto
fc53cd20b6
Merge pull request #5925 from jbampton/update-authors-file
...
AUTHORS: update "as of" info for `year`
2023-02-08 06:38:31 +09:00
Yukihiro "Matz" Matsumoto
75bdb4e0ec
Merge pull request #5924 from dearblue/exception-classes
...
Improve consistency of how error classes are retrieved
2023-02-08 06:30:34 +09:00
Yukihiro "Matz" Matsumoto
8a2bb9eb93
Merge pull request #5923 from dearblue/mrb_f_raise
...
Demotion `mrb_f_raise()` from `MRB_API`
2023-02-08 06:30:17 +09:00
John Bampton
5189d73d6d
AUTHORS: update "as of" info for year
...
The AUTHORS file was last published on January 8th 2023
2023-02-08 03:29:10 +10:00
dearblue
a93807f48f
Improve consistency of how error classes are retrieved
2023-02-07 22:46:56 +09:00
dearblue
0898ce982e
Demotion mrb_f_raise() from MRB_API
...
This function is the entity of the `Kernel.#raise` or `Kernel#fail` method.
I don't think users can use it whenever they want, and I don't think there is any need to expose it as an entity of a user-defined method.
2023-02-07 22:37:58 +09:00
Yukihiro "Matz" Matsumoto
056cda72be
mruby-bin-mirb: fix multi-line input issue; fix #5922
...
Bison changed the message for the end-of-file error. `mirb` should
be updated for the new message.
2023-02-07 17:43:14 +09:00
Yukihiro "Matz" Matsumoto
762ca43c16
mruby-bin-mirb: add bintest for multi-line input; ref #5922
2023-02-07 17:42:56 +09:00
Yukihiro "Matz" Matsumoto
78141d17f1
mruby-bin-mirb: fix multi-line input issue; fix #5922
...
Bison changed the message for the end-of-file error. `mirb` should
be updated for the new message.
2023-02-07 15:45:11 +09:00
Yukihiro "Matz" Matsumoto
a25755060c
mruby-bin-mirb: add bintest for multi-line input; ref #5922
2023-02-07 15:44:50 +09:00
Yukihiro "Matz" Matsumoto
6ca1b8e4e7
mruby-catch/catch.c: update disasm comment for new output format
2023-02-06 11:21:52 +09:00
Yukihiro "Matz" Matsumoto
7e607c67f2
codedump.c: adjust output format for ireps and literals
...
- I(%d:%p) -> I[%d]
- L(%d) -> L[%d]
The irep address is not useful, so just print index in reps table.
And use `[]` instead of `()` to clarify they are index.
2023-02-06 11:13:48 +09:00
Yukihiro "Matz" Matsumoto
1e122f7887
mruby-catch/catch.c: add disassembled comment for catch irep
2023-02-05 22:53:11 +09:00