mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
misc: fix spelling
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ things in mind before submitting your pull request:
|
||||
- Create a branch which is dedicated to your change
|
||||
- Test your changes before creating a pull request (`rake test`)
|
||||
- If possible write a test case which confirms your change
|
||||
- Don't mix several features or bug-fixes in one pull request
|
||||
- Don't mix several features or bugfixes in one pull request
|
||||
- Create a meaningful commit message
|
||||
- Explain your change (i.e. with a link to the issue you are fixing)
|
||||
- Use mrbgem to provide non ISO features (classes, modules and methods) unless
|
||||
|
||||
@@ -35,7 +35,7 @@ NEWS
|
||||
# Build & Configuration
|
||||
|
||||
- New Build Target: `test:run:serial`, `test:run:serial:lib`, `test:run:serial:bin` ([#6423](https://github.com/mruby/mruby/pull/6423))
|
||||
- New Platform: Playstation Portable ([#6022](https://github.com/mruby/mruby/pull/6465))
|
||||
- New Platform: PlayStation Portable ([#6022](https://github.com/mruby/mruby/pull/6465))
|
||||
- New Platform: emscripten ([#6487](https://github.com/mruby/mruby/pull/6487))
|
||||
- New Config: no-float (with MRB_NO_FLOAT) ([32200f1](https://github.com/mruby/mruby/commit/32200f1))
|
||||
|
||||
@@ -240,7 +240,7 @@ NEWS
|
||||
- [#6461](https://github.com/mruby/mruby/pull/6461) To create a release package file in draft
|
||||
- [#6462](https://github.com/mruby/mruby/pull/6462) Properly cast the return value of `memchr()`
|
||||
- [#6463](https://github.com/mruby/mruby/pull/6463) Add `level` argument to `File.dirname`
|
||||
- [#6465](https://github.com/mruby/mruby/pull/6465) Add initial playstation portable crossbuild support
|
||||
- [#6465](https://github.com/mruby/mruby/pull/6465) Add initial PlayStation portable crossbuild support
|
||||
- [#6468](https://github.com/mruby/mruby/pull/6468) Fixed missing changes to `IB_FIND_BY_KEY()` parameter names
|
||||
- [#6469](https://github.com/mruby/mruby/pull/6469) Add more `const` qualifier for `RProc`
|
||||
- [#6472](https://github.com/mruby/mruby/pull/6472) Moved tests for `Integer#quo`
|
||||
|
||||
@@ -176,7 +176,7 @@ If you need an include path of header file use `search_header_path`:
|
||||
fail 'iconv.h not found' unless conf.cc.search_header_path 'iconv.h'
|
||||
```
|
||||
|
||||
If you need a full file name of header file use `search_header`:
|
||||
If you need a full filename of header file use `search_header`:
|
||||
|
||||
```ruby
|
||||
# Searches `iconv.h`.
|
||||
|
||||
@@ -52,7 +52,7 @@ To invoke the mruby debugger, just type `mrdb`.
|
||||
To specify the script file:
|
||||
|
||||
```bash
|
||||
$ mrdb [option] file name
|
||||
$ mrdb [option] filename
|
||||
```
|
||||
|
||||
For example: Debugging sample.rb
|
||||
@@ -121,7 +121,7 @@ Be aware that the breakpoint command will not check the validity of the class na
|
||||
|
||||
You can get the current breakpoint information by the following options.
|
||||
|
||||
breakpoint breakpoint number : file name. line number
|
||||
breakpoint breakpoint number : filename. line number
|
||||
|
||||
breakpoint breakpoint number : [class name,] method name
|
||||
|
||||
@@ -267,7 +267,7 @@ Example:
|
||||
```
|
||||
(sample.rb:1) info breakpoints
|
||||
Num Type Enb What
|
||||
1 breakpoint y at sample.rb:3 -> file name,line number
|
||||
1 breakpoint y at sample.rb:3 -> filename,line number
|
||||
2 breakpoint n in Sample_class:sample_class_method -> [class:]method name
|
||||
3 breakpoint y in sample_global_method
|
||||
```
|
||||
@@ -301,11 +301,11 @@ When you do not specify both the `first` and `last` options, you will receive th
|
||||
Example:
|
||||
|
||||
```
|
||||
Specifying file name and first row number
|
||||
Specifying filename and first row number
|
||||
sample.rb:1) list sample2.rb:5
|
||||
```
|
||||
|
||||
Specifying the file name and the first and last row number:
|
||||
Specifying the filename and the first and last row number:
|
||||
|
||||
```
|
||||
(sample.rb:1) list sample2.rb:6,7
|
||||
|
||||
@@ -368,7 +368,7 @@ mruby can be extended with pure Ruby. It is possible to override existing
|
||||
classes or add new ones in this way. Put all Ruby files into the `mrblib`
|
||||
directory.
|
||||
|
||||
### Pre-Conditions
|
||||
### Preconditions
|
||||
|
||||
none
|
||||
|
||||
@@ -400,7 +400,7 @@ mruby codes under `mrblib` directory would be executed after gem init C
|
||||
function is called. Make sure _mruby script_ depends on _C code_ and
|
||||
_C code_ doesn't depend on _mruby script_.
|
||||
|
||||
### Pre-Conditions
|
||||
### Preconditions
|
||||
|
||||
See C and Ruby example.
|
||||
|
||||
|
||||
+1
-1
@@ -197,7 +197,7 @@ For better and faster hash values.
|
||||
|
||||
---
|
||||
|
||||
# Major bug fixes
|
||||
# Major bugfixes
|
||||
|
||||
- Fix infinite recursive call bugs in integer division [98799aa6](https://github.com/mruby/mruby/commit/98799aa6)
|
||||
- Fix to raise TypeError with super inside instance_eval / class_eval [#5476](https://github.com/mruby/mruby/pull/5476)
|
||||
|
||||
+2
-2
@@ -32,7 +32,7 @@
|
||||
# Build & Configuration
|
||||
|
||||
- New Build Target: `test:run:serial`, `test:run:serial:lib`, `test:run:serial:bin` ([#6423](https://github.com/mruby/mruby/pull/6423))
|
||||
- New Platform: Playstation Portable ([#6022](https://github.com/mruby/mruby/pull/6465))
|
||||
- New Platform: PlayStation Portable ([#6022](https://github.com/mruby/mruby/pull/6465))
|
||||
- New Platform: emscripten ([#6487](https://github.com/mruby/mruby/pull/6487))
|
||||
- New Config: no-float (with MRB_NO_FLOAT) ([32200f1](https://github.com/mruby/mruby/commit/32200f1))
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
- [#6461](https://github.com/mruby/mruby/pull/6461) To create a release package file in draft
|
||||
- [#6462](https://github.com/mruby/mruby/pull/6462) Properly cast the return value of `memchr()`
|
||||
- [#6463](https://github.com/mruby/mruby/pull/6463) Add `level` argument to `File.dirname`
|
||||
- [#6465](https://github.com/mruby/mruby/pull/6465) Add initial playstation portable crossbuild support
|
||||
- [#6465](https://github.com/mruby/mruby/pull/6465) Add initial PlayStation portable crossbuild support
|
||||
- [#6468](https://github.com/mruby/mruby/pull/6468) Fixed missing changes to `IB_FIND_BY_KEY()` parameter names
|
||||
- [#6469](https://github.com/mruby/mruby/pull/6469) Add more `const` qualifier for `RProc`
|
||||
- [#6472](https://github.com/mruby/mruby/pull/6472) Moved tests for `Integer#quo`
|
||||
|
||||
@@ -50,7 +50,7 @@ I hereby place this file and all of FGMP in the public domain.
|
||||
|
||||
Thanks to Paul Rouse <par@r-cube.demon.co.uk> for changes to get fgmp
|
||||
to work on a 286 MS-DOS compiler, the functions mpz_sqrt and
|
||||
mpz_sqrtrem, plus other general bug fixes.
|
||||
mpz_sqrtrem, plus other general bugfixes.
|
||||
|
||||
Thanks also to Erick Gallesio <eg@kaolin.unice.fr> for a fix
|
||||
to mpz_init_set_str
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* I'm already aware that fgmp is considerably slower than gmp
|
||||
*
|
||||
* CREDITS:
|
||||
* Paul Rouse <par@r-cube.demon.co.uk> - generic bug fixes, mpz_sqrt and
|
||||
* Paul Rouse <par@r-cube.demon.co.uk> - generic bugfixes, mpz_sqrt and
|
||||
* mpz_sqrtrem, and modifications to get fgmp to compile on a system
|
||||
* with int and long of different sizes (specifically MS-DOS,286 compiler)
|
||||
* Also see the file "notes" included with the fgmp distribution, for
|
||||
|
||||
@@ -342,7 +342,7 @@ main(int argc, char **argv)
|
||||
mrb_ccontext_cleanup_local_variables(mrb, c);
|
||||
}
|
||||
|
||||
/* set program file name */
|
||||
/* set program filename */
|
||||
mrb_ccontext_filename(mrb, c, cmdline);
|
||||
|
||||
/* Load program */
|
||||
|
||||
+2
-2
@@ -126,9 +126,9 @@ exc_to_s(mrb_state *mrb, mrb_value exc)
|
||||
* call-seq:
|
||||
* exception.inspect -> string
|
||||
*
|
||||
* Returns this exception's file name, line number,
|
||||
* Returns this exception's filename, line number,
|
||||
* message and class name.
|
||||
* If file name or line number is not set,
|
||||
* If filename or line number is not set,
|
||||
* returns message and class name.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user