Commit Graph

17001 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 91ec6ea9cc mruby-objectspace: add REAME.md
The document is written by Google Jules.
2025-06-12 21:28:42 +09:00
Yukihiro "Matz" Matsumoto 0b52b33597 mruby-proc-binding: add README.md
The document is written by Google Jules.
2025-06-11 18:38:14 +09:00
Yukihiro "Matz" Matsumoto 18f65c6652 mruby-method: update README.md
Updated document is written by Google Jules.
2025-06-11 18:35:59 +09:00
Yukihiro "Matz" Matsumoto 84c308aedc mruby-metaprog: add README.md
The document is written by Google Jules.
2025-06-11 18:33:35 +09:00
Yukihiro "Matz" Matsumoto 0a45941337 mruby-eval: add README.md
The document is written by Google Jules.
2025-06-11 18:31:52 +09:00
Yukihiro "Matz" Matsumoto b5197c22f6 mruby-socket: should not directly call private #initialize; fix #6554 2025-06-10 14:28:26 +09:00
Yukihiro "Matz" Matsumoto 2f00046758 mruby-toplevel-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:28:18 +09:00
Yukihiro "Matz" Matsumoto 3a27a868a1 mruby-symbol-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:25:45 +09:00
Yukihiro "Matz" Matsumoto 4e711fe0ef mruby-string-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:23:50 +09:00
Yukihiro "Matz" Matsumoto 396a85de9a mruby-range-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:09:16 +09:00
Yukihiro "Matz" Matsumoto 59902a94ab mruby-proc-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:07:16 +09:00
Yukihiro "Matz" Matsumoto 3814cbc539 mruby-object-ext: add README.md
The document is written by Google Jules.
2025-06-10 11:03:19 +09:00
Yukihiro "Matz" Matsumoto 5e5b4445ff mruby-numeric-ext: add README.md
The document is written by Google Jules.
2025-06-10 10:58:22 +09:00
Yukihiro "Matz" Matsumoto 97ad019707 mruby-kernel-ext: add README.md
The document is written by Google Jules.
2025-06-10 10:56:01 +09:00
Yukihiro "Matz" Matsumoto 8fbe5523cf mruby-hash-ext: add README.md
The document is written by Google Jules.
2025-06-10 10:53:57 +09:00
Yukihiro "Matz" Matsumoto 470c1dc184 mruby-errno: add README.md
The document is written by Google Jules.
2025-06-09 17:14:02 +09:00
Yukihiro "Matz" Matsumoto 813dc8eae5 mruby-error: add README.md
The document is written by Google Jules.
2025-06-09 17:13:20 +09:00
Yukihiro "Matz" Matsumoto 5cdd394c6d mruby-encoding: add README.md
The document is written by Google Jules.
2025-06-09 17:11:46 +09:00
Yukihiro "Matz" Matsumoto 6509f52642 mruby-struct: add README.md
The document is written by Google Jules.
2025-06-09 11:01:48 +09:00
Yukihiro "Matz" Matsumoto acf3656e49 mruby-data: add README.md
The document is written by Google Jules.
2025-06-09 11:01:05 +09:00
Yukihiro "Matz" Matsumoto 1beecb9670 mruby-cmath: add README.md
The document is written by Google Jules.
2025-06-08 17:04:05 +09:00
Yukihiro "Matz" Matsumoto d7f7ea0d82 mruby-math: add README.md
The document is written by Google Jules.
2025-06-08 17:02:55 +09:00
Yukihiro "Matz" Matsumoto 6bcee69c9c mruby-catch: add README.md
The document is written by Google Jules.
2025-06-08 17:00:07 +09:00
Yukihiro "Matz" Matsumoto 5731fbf17c mruby-binding: add README.md
The document is written by Google Jules.
2025-06-08 16:59:25 +09:00
Yukihiro "Matz" Matsumoto f835b86d10 mruby-enum-ext: add README.md
The document is written by Google Jules.
2025-06-07 11:53:04 +09:00
Yukihiro "Matz" Matsumoto 50945bec68 mruby-compar-ext: add README.md
The document is written by Google Jules.
2025-06-07 11:50:53 +09:00
Yukihiro "Matz" Matsumoto 5cc5a8a9c3 mruby-class-ext: add README.md
The document is written by Google Jules.
2025-06-07 11:48:40 +09:00
Yukihiro "Matz" Matsumoto c7ffb0cc55 mruby-array-ext: add README.md
The document is written by Google Jules.
2025-06-07 11:46:11 +09:00
Yukihiro "Matz" Matsumoto 35d073a986 vm.c: fix unintended argument renaming by Google Jules; #6533 2025-06-06 11:53:14 +09:00
Yukihiro "Matz" Matsumoto 2b75da7335 Merge pull request #6553 from mruby/add-vm-comments 2025-06-06 08:15:41 +09:00
google-labs-jules[bot] da9365f98e Add descriptive comments for MRB_API functions in src/vm.c
This commit adds Doxygen-style comments to several MRB_API functions
in src/vm.c to improve code readability and documentation.

The following functions were commented:
- mrb_stack_extend
- mrb_protect_error
- mrb_funcall
- mrb_funcall_id
- mrb_funcall_with_block
- mrb_funcall_argv
- mrb_yield_with_class
- mrb_yield_argv
- mrb_yield
- mrb_vm_run
- mrb_vm_exec
- mrb_top_run

Additionally, the parameter name 'self' in mrb_yield_with_class was
renamed to 'self_obj' for better clarity and consistency with the new comment.
2025-06-05 23:14:43 +00:00
Yukihiro "Matz" Matsumoto e55b3f0c55 Merge pull request #6552 from mruby/fix-comments-variable-c 2025-06-06 08:14:17 +09:00
google-labs-jules[bot] b4826fdbcf Fix: Correct placement of comments in src/variable.c
This commit corrects the placement of C-style block comments
for MRB_API functions in src/variable.c. Comments are now
placed directly before each function definition as per standard
documentation practices.
2025-06-05 23:13:42 +00:00
Yukihiro "Matz" Matsumoto 2f19fe1e36 Merge pull request #6551 from mruby/add-comments-state 2025-06-06 08:13:11 +09:00
google-labs-jules[bot] 19ddbdcf4b Add descriptive comments for MRB_API functions in src/state.c
This commit adds descriptive comments to the following MRB_API functions in src/state.c, clarifying their purpose and functionality:

- mrb_open_core
- mrb_open
- mrb_free_context
- mrb_close
- mrb_add_irep
- mrb_top_self
- mrb_state_atexit
2025-06-05 23:12:50 +00:00
Yukihiro "Matz" Matsumoto bdd379bc8c Merge pull request #6550 from mruby/add-comments-to-proc-c 2025-06-06 08:12:32 +09:00
google-labs-jules[bot] ddbbf3bd82 Add descriptive comments for MRB_API functions in src/proc.c
This commit adds Doxygen-style comments to the following MRB_API functions in src/proc.c:
- mrb_proc_new_cfunc
- mrb_proc_new_cfunc_with_env
- mrb_closure_new_cfunc
- mrb_proc_cfunc_env_get

The comments describe the purpose, parameters, and return value of each function.
2025-06-05 23:12:02 +00:00
Yukihiro "Matz" Matsumoto 64d390b9e0 numeric.c : add descriptive comments for public functions
- mrb_int_overflow
- mrb_int_zerodiv
- mrb_int_pow
- mrb_div_int
- mrb_div_int_value
- mrb_float_to_str
- mrb_check_num_exact
- mrb_int_mul
- mrb_num_shift
- mrb_float_to_integer
- mrb_int_add
- mrb_int_sub
- mrb_int_to_cstr
- mrb_integer_to_str
- mrb_cmp

The comments were written by Google Jules.
2025-06-06 08:11:37 +09:00
Yukihiro "Matz" Matsumoto d3f339062b Merge pull request #6549 from mruby/add-kernel-comments 2025-06-05 10:36:52 +09:00
google-labs-jules[bot] 1e3295d93e Add descriptive comments to kernel functions
This commit adds descriptive C-style comments to the following functions
in `src/kernel.c`:

- `mrb_func_basic_p`: Explains that the function checks if an object's method is implemented by a specific C function.
- `mrb_obj_freeze`: Explains that the function freezes an object, preventing further modifications.
- `mrb_obj_is_instance_of`: Explains that the function checks if an object is an instance of a given class.
2025-06-05 01:35:27 +00:00
Yukihiro "Matz" Matsumoto 24a84a5a37 Merge pull request #6548 from mruby/add-comments-etc 2025-06-05 10:34:17 +09:00
google-labs-jules[bot] 52d56fe443 Add descriptive comments to MRB_API functions in src/etc.c
This commit adds Doxygen-style comments to several MRB_API functions
in the `src/etc.c` file. These comments explain the purpose,
parameters, and return values of these functions, improving code
readability and maintainability.

The following functions were commented:
- mrb_data_object_alloc
- mrb_data_check_type
- mrb_data_check_get_ptr
- mrb_data_get_ptr
- mrb_obj_to_sym
- mrb_obj_id
- mrb_word_boxing_float_value
- mrb_word_boxing_value_float
- mrb_word_boxing_cptr_value
- mrb_boxing_int_value
2025-06-05 01:33:38 +00:00
Yukihiro "Matz" Matsumoto 576a104a77 Merge pull request #6546 from mruby/dependabot/github_actions/ls-lint/action-2.3.1 2025-06-05 10:18:26 +09:00
dependabot[bot] ad015f14a8 build(deps): bump ls-lint/action from 2.3.0 to 2.3.1
Bumps [ls-lint/action](https://github.com/ls-lint/action) from 2.3.0 to 2.3.1.
- [Commits](https://github.com/ls-lint/action/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: ls-lint/action
  dependency-version: 2.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-04 14:33:09 +00:00
Yukihiro "Matz" Matsumoto 1ff94c5e00 AUTHORS: update entries [ci skip] 2025-06-04 13:20:08 +09:00
Yukihiro "Matz" Matsumoto a3e72804cd range.c: add descriptive comments to MRB_API functions in src/range.c
This commit adds descriptive comments to the following functions:

- mrb_range_ptr
- mrb_range_new
- mrb_range_beg_len

The comments were written by Google Jules.
2025-06-04 11:03:35 +09:00
Yukihiro "Matz" Matsumoto 99d9568aeb Merge pull request #6544 from zenspider/zenspider/frozen_strings 2025-06-04 11:03:26 +09:00
Yukihiro "Matz" Matsumoto 851f9f61a9 Merge pull request #6545 from mruby/add-comments-class-c 2025-06-04 11:00:55 +09:00
google-labs-jules[bot] e68eafd511 Add descriptive comments for MRB_API functions in src/class.c
This commit adds C-style block comments to all MRB_API functions
defined in the src/class.c file. The comments explain the purpose
of each function, its parameters, and its return value, aiming to
improve code readability and maintainability.
2025-06-04 01:59:44 +00:00
Ryan Davis 59f08ff148 Fix build strings that must be mutable. Tested with RUBYOPT=--enable-frozen-string-literal make 2025-06-03 18:18:29 -07:00