Yukihiro "Matz" Matsumoto
|
7f887f1928
|
class.c (mrb_class_initialize): check duplicated initialization
|
2023-05-26 12:48:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8914c2318c
|
Merge pull request #6013 from CaptainJet/master
Fix Android toolchain
|
2023-05-26 12:47:08 +09:00 |
|
Robert Rowe
|
fb727a169f
|
Spacing fix
|
2023-05-25 19:47:32 -07:00 |
|
Robert Rowe
|
bcb5674676
|
Update Android building
New minimum SDK. NDK longer supports mips, plain armeabi, nor GCC. Fix tooling.
|
2023-05-25 19:45:14 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
2ad3f0e34b
|
vm.c (mrb_yield_with_class): keep mid of the callee
Otherwise `super` from within blocks may call wrong methods.
|
2023-05-26 11:17:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9040baa270
|
vm.c (mrb_yield_with_class): avoid redundant initialization of mid
|
2023-05-26 11:14:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2b3ecef66c
|
mruby-data/data.c: use mrb_ary_ref instead of direct memory access
Avoid out-of-bound memory access when actual data object size is smaller
than the number of data members.
|
2023-05-25 09:05:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9bc9ff771d
|
mruby-data/data.c (mrb_data_s_def): simplify the code
|
2023-05-25 09:05:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
05f4831751
|
mruby-data/data.c (mrb_data_s_def): add member duplication check
|
2023-05-25 09:05:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
eeab289f87
|
mruby-data/data.c (mrb_data_ref): avoid out-of-bound access
|
2023-05-25 09:05:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
de69190df5
|
mruby-struct/struct.c: need to copy the argument array
Just in case for stack reallocations.
|
2023-05-25 09:05:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e05ac91217
|
mruby-struct/struct.c: update the behavior when actual size differs
Assertions may be false and terminate the whole process when actual size
for struct objects are different.
|
2023-05-25 09:05:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f50e40f291
|
mruby-struct/struct.c: use mrb_ary_set to simplify the code
We don't need to do `mrb_struct_modify()` and calling write barriers by
ourselves for the small performance issue.
|
2023-05-25 09:05:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0295e6a688
|
mruby-struct/struct.c (struct_aref_int): update index check
Check should use the number of members, not the actual size of the
struct object, which may be smaller than the declared size.
|
2023-05-25 08:40:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8e579e6552
|
mruby-data/data.c (mrb_data_ref): check if reader has no argument
|
2023-05-24 22:45:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ed5fbb5d63
|
mruby-struct.c (mrb_struct_s_def): check duplicate members
|
2023-05-24 22:43:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f80192e8ac
|
mruby-struct/struct.c (struct_s_member): avoid break
Direct `return` is more readable, IMO.
|
2023-05-24 17:59:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c2f3f103bb
|
mruby-struct/struct.c (mrb_struct_ref): update the function
- use `num_members`
- ensure the function takes no argument
- avoid out-of-bound access when struct is failed to initialize
|
2023-05-24 17:53:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
69d33de527
|
mruby-struct/struct.c (num_members): simplify the code by new argument
|
2023-05-24 17:51:44 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
52fb2f59d8
|
mruby-struct/struct.c (struct_aref_sym): simplify the logic
|
2023-05-24 17:51:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7b7ea70b84
|
mruby-struct/struct.c (mrb_struct_to_h): RSTRUCT_PTR() may be NULL
Especially when you define a member named `initialize`.
|
2023-05-24 17:48:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
53de96426a
|
mruby-io/io.c (io_init): File.new should not take blocks
|
2023-05-23 15:34:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
67187881c2
|
mruby-io/io.c (io_init_copy): copy flags before io_buf_init()
|
2023-05-23 15:17:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8f745b7728
|
vm.c (OP_ENTER): fix issues by unreferenced kdict and blk
There's short a period where kdict and blk are not pointed from the stack.
|
2023-05-23 14:54:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2f7f797473
|
remove extra spaces before ;
|
2023-05-22 12:05:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6a6c0869dc
|
add a space between for and (
|
2023-05-22 11:58:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f1a3cfbd3b
|
add a space between if and (
|
2023-05-22 11:55:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c32f7915fb
|
reformat else clause indentation style
|
2023-05-20 00:21:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
eea72ec84a
|
fix spaces in the type cast expressions (cosmetic changes)
|
2023-05-18 23:29:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cead78b394
|
variable.c (iv_rehash): fixed removed check
This check removed in 70cc2cc was necessary.
|
2023-05-17 09:52:00 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
49927a7035
|
mruby-biding/binding.c: unify get_line and get_filename
|
2023-05-16 23:40:53 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
15be2a24c3
|
mruby-proc-ext/proc.c: unify get_line and get_filename
|
2023-05-16 23:39:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5ead26be3d
|
vm.c (ci_bidx): inline the function if possible
|
2023-05-16 22:41:32 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b10c99bb1b
|
Merge pull request #6012 from sinisterchipmunk/allow-to-skip-tests-for-specific-mgems
Allow tests to be disabled for specific gems; warn about disabled tests
|
2023-05-16 14:36:40 +09:00 |
|
Colin MacKenzie IV
|
1a0c31130c
|
Allow tests to be disabled for specific gems; warn about disabled tests
|
2023-05-15 12:43:37 -04:00 |
|
Yukihiro "Matz" Matsumoto
|
33bd6caf31
|
Merge pull request #6011 from dearblue/presym-escape
Encode and decode escape characters for presym
|
2023-05-15 00:15:40 +09:00 |
|
dearblue
|
03a42b52ee
|
Encode and decode escape characters for presym
The purpose is to deal with `$"`, which has been treated as three characters including the escape character.
|
2023-05-14 17:54:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cd276715f8
|
variable.c: move inline function before usage
|
2023-05-13 22:52:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f210d3b106
|
Merge pull request #6010 from jbampton/add-hook-markdown-link-check
|
2023-05-12 23:31:34 +09:00 |
|
John Bampton
|
ac0e157b89
|
pre-commit: add hook markdown-link-check
https://github.com/tcort/markdown-link-check
|
2023-05-11 12:37:38 +10:00 |
|
John Bampton
|
de0779d6ca
|
docs: fix links in Markdown
|
2023-05-11 12:34:59 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
3d5cc1ab8f
|
Merge pull request #6007 from dearblue/define_installer
Correct the `MRuby::Build#define_installer`
|
2023-05-10 23:54:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2217201603
|
Merge pull request #6006 from dearblue/mrbc-final_mrbgems
Remove `mrb_final_mrbgems()` in `mrbc.c`
|
2023-05-09 14:46:51 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
568a7edf1f
|
Merge pull request #6004 from jbampton/add-info-links-to-workflows
yml: document `workflows` with links as comments
|
2023-05-09 14:45:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
feb07d1d1a
|
Merge pull request #6002 from jbampton/standardize-whitespace-spec-authors
mrbgems: standardize `spec.authors` for whitespace and author name
|
2023-05-08 17:01:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d3f030f02a
|
Merge pull request #5999 from alpha-netzilla/fix_poppen_mode
lib/mruby/build/command.rb: narrow down poppen mode
|
2023-05-08 17:00:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e545ec3810
|
Merge pull request #6001 from jbampton/update-docs
docs: fix links, grammar and spelling in Markdown
|
2023-05-08 17:00:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
599982454e
|
Merge pull request #6008 from dearblue/bintest-dirfree
|
2023-05-07 19:10:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
727d83c118
|
Merge pull request #6009 from dearblue/ghost-bintest
Avoid adding `<MRUBY_ROOT>/bintest` which does not exist
|
2023-05-06 22:28:41 +09:00 |
|
dearblue
|
5a4c319dd8
|
Avoid adding <MRUBY_ROOT>/bintest which does not exist
The `<MRUBY_ROOT>/bintest` directory does not exist in current mruby.
|
2023-05-06 22:08:48 +09:00 |
|