Yukihiro "Matz" Matsumoto
|
5eddccf89a
|
gc.c: remove unnecessary symbol local variables
|
2023-09-08 14:15:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d7b2e3ab14
|
mruby-compiler/parse.y: add print name for identifier tokens
|
2023-09-05 23:29:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e8841fbf58
|
gc.h: move mrb_heap_page definition to gc.c
|
2023-09-05 23:29:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
acf5b74daa
|
vm.c (ary_new_from_regs): avoid mrb_ary_push()
Use mrb_ary_new_from_values(), which is faster instead.
|
2023-09-05 23:29:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9914243d68
|
vm.c: use direct array access if possible
|
2023-09-05 23:29:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0eef05cc00
|
array.c (mrb_ary_to_s): use direct array access
|
2023-09-05 23:29:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
159ff5b28d
|
mrbgems/mruby-struct/src/struct.c: use direct array access
Unless we need boundary check, we don't need to use mrb_ary_ref().
|
2023-09-05 23:29:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1578f4bb99
|
mruby-data/data.c: use direct array access
Unless we need boundary check, we don't need to use mrb_ary_ref()
|
2023-09-05 23:29:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4cf810e4ea
|
Merge pull request #6042 from mruby/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
|
2023-09-05 23:28:55 +09:00 |
|
dependabot[bot]
|
f893c18088
|
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-04 14:59:02 +00:00 |
|
Yukihiro "Matz" Matsumoto
|
792459e63d
|
Merge pull request #6040 from dearblue/puts-eol
Convert to string before output in `puts`
|
2023-08-30 22:30:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a20fbe54b9
|
mrbgems/mruby-test/mrbgem.rake: stop mrb isolation for each test file
It reduces the number of `mrb_state` initialization in `mrbtest`. But at
the same time, each test in a gem shares states (classes, methods, etc.)
|
2023-08-30 18:32:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a67f32561f
|
test/t/codegen.rb: test 127 arguments with break not next
In addition, avoid using undefined constant `A` because it terminates
actual execution by `NameError`.
|
2023-08-30 18:28:59 +09:00 |
|
dearblue
|
301bcc636e
|
Convert to string before output in puts
For example, evaluating `puts nil` raised `NoMethodError` before.
|
2023-08-29 21:59:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a17fdb7481
|
AUTHORS: update entries [ci skip]
|
2023-08-28 10:59:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b85b6822b2
|
hash.c (mrb_hash_aset): avoid slower mrb_get_args()
|
2023-08-26 22:30:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0578e518e6
|
src/vm.c: adjust mrb_gc_protect() for kdict argument
It was called repeatedly in some cases.
|
2023-08-25 23:12:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1e385692d1
|
Rakefile: remove default build target directories in deep_clean
Ref #6038, #6032
|
2023-08-24 12:57:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f43f2fc8f3
|
mruby-socket/socket.c: use internal name for instance variables
For Socket::Option objects.
|
2023-08-23 11:27:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2160be7db7
|
mruby-socket/socket.rb: remove unused canonname accessor
|
2023-08-22 23:27:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
95e09c0c95
|
mruby-method: implement Kernel#singleton method in C
- Also fixes error message inconsistency
- Avoid unnecessary method object allocation if possible
|
2023-08-22 10:53:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a16b2b0e12
|
Merge pull request #6038 from dearblue/revert-6032-update-rake-task-clean
Revert "Rake: update task clean to remove `bin` and `build` folders"
|
2023-08-21 22:28:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
182c06a46b
|
codedump.c: fflush() output
|
2023-08-21 17:27:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
982a378425
|
mruby-print/print.c: stop flushing every time in printstr
Instead, call `fflush` at the end of `print` method, if stdout is
connected to a tty.
|
2023-08-21 12:47:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
192e6e3b9f
|
mruby-print/print.c: remove internal method __printstr
Instead, implement `print` method in C and use it from mrblib/print.rb
|
2023-08-21 12:47:44 +09:00 |
|
dearblue
|
14a0cc4b7b
|
Revert "Rake: update task clean to remove bin and build folders"
|
2023-08-18 22:36:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bd41dfbcb9
|
mruby-socket/socket.c (socket_option_inspect): readable family name
Print readable name for know protocol families.
|
2023-08-17 10:54:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2fb478db76
|
Merge pull request #6037 from mruby/dependabot/github_actions/super-linter/super-linter-5.2.1
build(deps): bump super-linter/super-linter from 5.2.0 to 5.2.1
|
2023-08-17 10:53:10 +09:00 |
|
dependabot[bot]
|
1dbfeab2df
|
build(deps): bump super-linter/super-linter from 5.2.0 to 5.2.1
Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/super-linter/super-linter/compare/v5.2.0...v5.2.1)
---
updated-dependencies:
- dependency-name: super-linter/super-linter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-16 14:29:51 +00:00 |
|
Yukihiro "Matz" Matsumoto
|
58e10f16e9
|
mruby-socket/socket.c: include Socket::Constants in C init
|
2023-08-16 13:23:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1d7c00e920
|
mruby-socket/socket.c: implement whole Socket::Option class in C
`mruby-pack` gem no longer needed.
|
2023-08-15 15:29:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
83b6a63c16
|
mruby-socket/socket.c: implement accessors in C
|
2023-08-15 07:35:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e209f0a220
|
mruby-socket/socket.c (socket_option_init): add integer type checks
|
2023-08-15 07:31:04 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
892596d372
|
mruby-socket/socket.c: implement Socket::Option#initialize in C
|
2023-08-14 23:32:22 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2a3af5dc67
|
Merge pull request #6036 from jbampton/add-pre-commit-hook
pre-commit: add hook `forbid-submodules`
|
2023-08-13 22:05:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d53aa54e3b
|
Merge pull request #6035 from jbampton/fix-super-linter-path
Fix Super-Linter action path
|
2023-08-13 22:04:33 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3310e10318
|
mruby-test/mrbgem.rake: fix mrb_state handling bug
You should not pass values from different mrb_state. No one has ever
used test_args for gems, the issue has not been realized.
|
2023-08-13 20:02:01 +09:00 |
|
John Bampton
|
6ac6d690dd
|
pre-commit: add hook forbid-submodules
https://github.com/pre-commit/pre-commit-hooks#forbid-submodules
If you want to ban them entirely use forbid-submodules.
Really this is just one extra check or test we can have.
|
2023-08-13 11:17:22 +10:00 |
|
John Bampton
|
9051367fd8
|
Fix Super-Linter action path
https://github.com/super-linter/super-linter
https://github.com/marketplace/actions/super-linter
They changed the organization name to "super-linter" from "github" for the Super-Linter Action
|
2023-08-13 11:03:28 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
4769a474a4
|
mruby-test/mrbgem.rake: remove unnecessary arena_index
|
2023-08-12 23:43:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
435cce7efd
|
mruby-socket/socket.c: use mrb_iv_get() instead of accessors
|
2023-08-12 20:19:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c675c0cbb1
|
mruby-socket/socket.c: use mrb_ensure_int_type()
|
2023-08-11 23:10:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
34e7a0ef4b
|
mruby-socket/socket.c (socket_option_class): a new function
To retrieve Socket::Option class from C functions.
|
2023-08-11 23:07:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0864f44c24
|
mruby-socket/socket.c: use mrb_obj_new() instead of mrb_obj_funcall()
|
2023-08-09 18:45:42 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
08a780edd6
|
mruby-socket/socket.c: rename a local variable for clarity (res0 -> addr)
|
2023-08-09 14:33:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
edf3f1226c
|
mruby-socket/socket.c: pass klass to gen_addrinfo
|
2023-08-09 14:33:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9e37a490f8
|
mruby-socket/socket.c: narrow local variable scope
|
2023-08-09 14:33:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
10ed2ea03b
|
mruby-socket/socket.c: use z! argument specifier rather than o
`z!` specifier checks if the argument is NULL terminated string or nil.
|
2023-08-09 14:33:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9d370e0851
|
mruby-socket/socket.c: ensure struct addrinfo to be freed
Instead of referring the last addrinfo via Addrinfo's class variable, we
use `mrb_ensure()` from `mruby-error` gem.
|
2023-08-09 13:51:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
12bd395012
|
fmt_fp.c: revert 647324ad45c0d779a3c36f0bb7955b8b8fc9f491
C++ complier does not allow jump across local variable declaration, even
if we don't access those variables after the destination label.
|
2023-08-08 11:24:15 +09:00 |
|