John Bampton
420a60ee9f
pre-commit updates and fix prettier entrypoint
...
https://nodejs.org/en/download
https://www.npmjs.com/package/prettier
prettier fix ups
2025-06-24 22:20:38 +10:00
John Bampton
781edbd446
misc: fix spelling
2025-05-14 02:01:02 +10:00
Yukihiro "Matz" Matsumoto
c6e3ae7e74
doc/guides/memory.md: update the document
...
- new API
- detailed hook description
- migration path from old API
2025-05-10 09:34:20 +09:00
mimaki
99f5668243
Merge branch 'master' into stable
2025-04-20 13:25:22 +09:00
mimaki
a309524d0b
Update version and release date. (mruby 3.4.0 (2025-04-20))
2025-04-20 13:08:22 +09:00
Yukihiro "Matz" Matsumoto
2ce0606f14
guides/symbol.md: 'punctuation' is uncountable; close #6488
...
Issue #6488 is addressed by fixing spelling.
2025-03-28 08:22:53 +09:00
HASUMI Hitoshi
1ec84a2874
Fix TYPO in memory.md
...
No `alloc.c` in the source tree. It'd be `allocf.c`
2025-03-20 10:15:20 +09:00
Yukihiro "Matz" Matsumoto
d13e6ff8c9
include/presym.h: MRB_GVSYM() for global variables is now available
2024-12-14 16:03:35 +09:00
dearblue
26f949e612
Added document "The mruby directory structure"
...
This text was translated from Japanese to English by https://www.deepl.com/ .
2024-11-27 23:04:23 +09:00
dearblue
6291b55bba
Add links to documentation in README.md
...
The documentation table is generated by the `rake doc:update-index` command.
The following conditions must be met for links to be added to the documentation table.
- The file must be placed under the `doc/` directory
- The file must have the extension `.md`
- The file must be written at the top of the file with `<! -- summary: ANY-TEXT -->`
2024-11-10 22:39:14 +09:00
dearblue
0ac755dbc8
Allow to exclude specific files in rake install
...
Introduce the `MRuby::Build#install_excludes` attribute.
This attribute is an array to which you add strings, regular expressions, and proc objects that will serve as filters to exclude.
This feature was inspired by @hoshiumiarata's comment.
https://github.com/mruby/mruby/issues/6352#issuecomment-2426721517
2024-11-04 20:44:13 +09:00
dearblue
0fcf54b47d
Allow to change the output directory name of the libmruby file
...
Add the `MRuby::Build#libdir_name` accessor and the `MRUBY_SYSTEM_LIBDIR_NAME` environment variable.
Resolved #6240
2024-06-09 22:49:46 +09:00
Mark Delk
b99536f1fc
rm unneeded MRB_NO_GEMS doc addition
2024-04-26 23:33:16 -05:00
Mark Delk
f78eab7c3f
fix some typos, mention MRB_NO_GEMS
2024-04-26 19:54:07 -05:00
dearblue
328eb71e52
Reorganize mrb_cache_entry and mrb_method_t types
...
The purpose is to remove the `mid` field from the `mrb_cache_entry` structure.
The resulting RAM requirement for the method cache is reduced from 5 words per entry to 4 words per entry for 32-bit CPUs.
The relevant changes are as follows:
- Removed `MRB_USE_METHOD_T_STRUCT`.
The `mrb_method_t` type is now always defined as a structure.
- Include method IDs in `mrb_method_t`
Change the `flags` member to `uint32_t`.
The bitstring structure should be the same as the keys of the `mt` table in `class.c`.
I believe the impact on API compatibility with previous versions is minimal.
2024-03-30 18:19:26 +09:00
mimaki
32279e4128
Update version and release date. (mruby 3.3.0 (2024-02-14))
2024-02-14 13:25:11 +09:00
John Bampton
f8511ecb22
Fix pre-commit failure from prettier
2024-01-01 18:32:48 +09:00
Yukihiro "Matz" Matsumoto
6ea3166005
doc/guides/memory.md: small style changes (markdownlink-cli)
2023-12-27 22:24:12 +09:00
Yukihiro "Matz" Matsumoto
cfee5c2753
doc/guides/memory.md: guide to memory management customization
2023-12-21 16:48:33 +09:00
John Bampton
bbd5701617
Standardize Markdown table format
2023-10-26 16:15:57 +10:00
John Bampton
14b4f5953b
Standardize docs to use 3 dots: ...
2023-07-23 03:39:03 +10:00
John Bampton
343a633fb0
doc: fix Markdown reference links
2023-06-13 14:31:29 +10:00
Yukihiro "Matz" Matsumoto
6a6c0869dc
add a space between for and (
2023-05-22 11:58:23 +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
John Bampton
db3774ea45
docs: fix links, grammar and spelling in Markdown
2023-05-06 04:43:50 +10:00
dearblue
5c19b259e4
Replace "folder" with "directory" for consistency
...
Also, use "x/y/z directory" instead of "directory x/y/z" if there is no problem.
2023-04-30 18:32:54 +09:00
John Bampton
f0d6674352
docs: add language console to code blocks
...
https://github.com/github/linguist/blob/79c4aa4706e08f9eb36e46535f0e909f51f3b74d/lib/linguist/languages.yml#L6392
2023-04-03 08:28:59 +10:00
dearblue
f6c9191cd0
Replace MRB_NO_DIRECT_THREADING with MRB_USE_VM_SWITCH_DISPATCH
...
The correct technique now is "Token Threading".
However, the new name was chosen because it was felt that if a different technique was added in the future, there would be no need to replace it.
2023-03-18 17:39:41 +09:00
Yukihiro "Matz" Matsumoto
a8d840da19
Merge pull request #5928 from dearblue/task/install
...
Improved `rake install`
2023-03-13 08:05:20 +09:00
John Bampton
46e42b38f0
docs: update mruby version to 3.2.0
2023-02-25 08:02:45 +10:00
dearblue
3d996a84cc
Takes the environment variable DESTDIR in rake install
...
If the environment variable `DESTDIR` is set, the writing destination is `<DESTDIR>/<PREFIX>/...`.
It is assumed to be used for package work.
2023-02-12 21:02:31 +09:00
dearblue
0e9a71e50a
Install other build targets with rake install:full
...
Build targets other than "host" will be installed under `<PREFIX>/mruby/<build-name>`.
This can be changed with `build.install_prefix = dir`.
2023-02-12 21:02:30 +09:00
Yukihiro "Matz" Matsumoto
6b87aae757
doc/guides/compile.md: update compilation example
...
Show usage of multiple command-line options to `mruby-config`.
2023-01-17 18:23:29 +09:00
Yukihiro "Matz" Matsumoto
ad7802a3a0
Merge pull request #5901 from dearblue/doc/gem-block
...
Added tips for giving blocks to `MRuby::Build#gem`
2023-01-06 09:50:31 +09:00
dearblue
9016acf54e
Added tips for giving blocks to MRuby::Build#gem
...
ref. #5860
2023-01-05 21:50:17 +09:00
dearblue
c5163fe29f
Remove duplicate entry MRB_USE_ALL_SYMBOLS
2023-01-05 21:50:17 +09:00
dearblue
4a39a9f1c4
Added more description of the MRB_HEAP_PAGE_SIZE configuration
2023-01-01 21:59:24 +09:00
John Bampton
1aa2fff1e8
Fix spelling
...
https://en.wikipedia.org/wiki/Single-precision_floating-point_format
https://en.wikipedia.org/wiki/Double-precision_floating-point_format
2022-12-26 20:50:35 +10:00
John Bampton
f631460dfb
docs: standardize whitespace in Markdown files
...
Most of the Markdown has a single space between sentences.
This pr changes `2 spaces` to `1 space`.
2022-10-29 18:49:31 +10:00
John Bampton
696226a60e
docs: standardize Markdown lists
...
Previously for lists we were using both `*` and `-` to start the list items.
This pr changes all lists to use `-`.
2022-10-26 13:09:41 +10:00
Yukihiro "Matz" Matsumoto
83fc75f399
doc/guides/mrbconf.md: update description for the configuration file.
2022-10-10 22:28:51 +09:00
dearblue
6f80f09547
Induce configuration to the build_config file
2022-10-10 18:22:05 +09:00
Yukihiro "Matz" Matsumoto
ed28547553
doc/guides/mrbconf.md: updates.
2022-09-12 10:27:27 +09:00
Yukihiro "Matz" Matsumoto
563010697e
doc/guides/compile.md: add rake clean tip; ref #5784 [ci skip]
2022-08-20 12:54:30 +09:00
dearblue
71c398f298
Perform Full-GC from mrb_realloc_simple() by MRB_GC_STRESS + MRB_DEBUG
...
It also fills the GC'ed object area with `0xff` for debugging purposes.
2022-08-08 21:44:11 +09:00
Yukihiro "Matz" Matsumoto
64ea7f0930
doc/guides/link.md: fixed typo.
2022-07-29 10:24:41 +09:00
mimaki
b3c04d036e
Merge master branch.
2022-05-12 19:59:10 +09:00
mimaki
1bec339230
Update version and release date. (mruby 3.1.0 (2022-05-12))
2022-05-12 12:19:10 +09:00
John Bampton
c391d94da9
docs: fix grammar and spelling
2022-04-26 13:48:05 +10:00
John Bampton
888931c103
Fix grammar and case of Ruby
2022-04-15 11:32:32 +10:00