Masaki Muranaka
4e5315ff41
Add more info about "include_paths and GEM dependency".
2014-06-10 11:02:58 +09:00
Masaki Muranaka
7b6150ab90
Add include_paths in dependency gems.
2014-06-10 10:55:02 +09:00
Yukihiro "Matz" Matsumoto
2f8047461f
Merge pull request #2377 from monaka/pr-add-dot-s-extension
...
Add ".s" to source extensions.
2014-06-10 00:38:58 +09:00
Yukihiro "Matz" Matsumoto
74ed32f25c
Merge pull request #2378 from monaka/pr-add-tools-dir-to-cxx-files-check-oaths
...
Find c++ files in tools/.
2014-06-10 00:38:33 +09:00
Yukihiro "Matz" Matsumoto
d6882f1b65
Merge pull request #2379 from monaka/pr-do-not-export-include-dir-in-gems-to-core
...
Do not export include/ dirs in mrbgems to core build.
2014-06-10 00:38:01 +09:00
Yukihiro "Matz" Matsumoto
58e87996b9
should not add extra stack space to callinfo->nregs; maybe related to #2375
2014-06-10 00:32:45 +09:00
Yukihiro "Matz" Matsumoto
6c524af646
NODE_FOR does not introduce new local variables
2014-06-10 00:03:54 +09:00
Yukihiro "Matz" Matsumoto
4c69a9d09e
codedump should display proper L(n) for OP_STRING op
2014-06-09 23:37:20 +09:00
Yukihiro "Matz" Matsumoto
a036cbea16
Merge pull request #2373 from take-cheeze/static_assert
...
Add macro `mrb_static_assert`.
2014-06-09 23:27:44 +09:00
Yukihiro "Matz" Matsumoto
f1b1a8acd1
Merge pull request #2376 from kou/patch-1
...
Add a missing space after ","
2014-06-09 23:26:54 +09:00
Yukihiro "Matz" Matsumoto
53c6c77f93
Merge pull request #2374 from take-cheeze/timeat_fix
...
Fix `Time.at` args spec.
2014-06-09 23:26:01 +09:00
Masaki Muranaka
c6d589e049
Do not export include/ dirs in mrbgems to core build.
...
In the current behavior, include/ dirs in mrbgems are set to
core's compiler.include_paths.
And they are never set to mrbgem's include_paths.
It may cause some dangerous issues because it can change
mruby core's macros by mrbgems.
After this fix, include/ in a gem is used in the gem itself only.
2014-06-09 23:08:13 +09:00
Kouhei Sutou
4f3114dbc9
Add a missing space after ","
2014-06-09 23:00:02 +09:00
Masaki Muranaka
2c144425d9
Find c++ files in tools/.
...
Some tools may be written in C++.
2014-06-09 22:55:02 +09:00
Masaki Muranaka
9601777893
Add ".s" to source extensions.
...
It uses ".s" as the source for assembler on some toolchains including GCC.
2014-06-09 22:46:35 +09:00
take_cheeze
4de468e754
Fallback to mrb_assert instead of dirty trick.
2014-06-09 18:47:07 +09:00
take_cheeze
d386b35337
Fix Time.at args spec.
2014-06-09 16:34:04 +09:00
take_cheeze
64994a1764
Check RSTRING_EMBED_LEN_MAX with static assert.
2014-06-08 23:16:55 +09:00
take_cheeze
4a27dd0e8a
Use _Static_assert when C11 is available and use it in pointer size check.
2014-06-08 23:16:51 +09:00
Yukihiro "Matz" Matsumoto
e070fce835
Merge pull request #2372 from monaka/pr-remove-redundant-substitutions
...
Remove redundant substitutions.
2014-06-08 17:45:37 +09:00
Masaki Muranaka
78176ee7f5
Remove redundant substitutions.
...
"#{MRUBY_ROOT}/include" is set in Command::Compiler#initialize .
2014-06-08 14:42:21 +09:00
Yukihiro "Matz" Matsumoto
05d4542c10
Merge branch 'master' of github.com:mruby/mruby
2014-06-08 01:42:09 +09:00
take_cheeze
aa187956cf
Add test for end-of-program marker.
2014-06-08 01:38:44 +09:00
Yukihiro "Matz" Matsumoto
d75b84016c
do not ignore negative characters (e.g. EOF and partial EOF); fix #2361 fix #2369
2014-06-08 01:38:44 +09:00
Yukihiro "Matz" Matsumoto
a13e8f5ee1
revert #2368 due to #2369
2014-06-08 00:48:59 +09:00
Yukihiro "Matz" Matsumoto
e7410fd808
Merge pull request #2371 from take-cheeze/end_of_code
...
Add test for end-of-program marker.
2014-06-07 23:17:42 +09:00
take_cheeze
0fffdd27f2
Add test for end-of-program marker.
2014-06-07 22:41:02 +09:00
Yukihiro "Matz" Matsumoto
6459a98448
move String#clear to mruby-string-ext; ref #2370
2014-06-07 22:28:42 +09:00
Yukihiro "Matz" Matsumoto
76012a885d
remove UTF-8 strings from mruby-string-ext test
2014-06-07 22:23:25 +09:00
Yukihiro "Matz" Matsumoto
32e450166f
move STR_* macros to mruby/string.h with renaming
2014-06-07 22:16:16 +09:00
Yukihiro "Matz" Matsumoto
b0c90141d9
clear shared and nofree flags; ref #2370
2014-06-07 17:24:18 +09:00
Yukihiro "Matz" Matsumoto
20dc629b11
inline str_discard(); ref #2370
2014-06-07 16:51:40 +09:00
Yukihiro "Matz" Matsumoto
24b02955d3
git push origin masterMerge branch 'suzukaze-add-string.clear2'
2014-06-07 16:47:03 +09:00
Jun Hiroe
9709fe79a3
Implement String#clear
2014-06-07 16:15:32 +09:00
Yukihiro "Matz" Matsumoto
04edab4c21
Merge pull request #2368 from take-cheeze/partial_hook_fix
...
Treat partial hook success '\n' to fix #2361 .
2014-06-06 22:03:02 +09:00
take_cheeze
39bbdd5f2f
Add bintest for mrbc.
2014-06-06 21:46:58 +09:00
Yukihiro "Matz" Matsumoto
ff4ca4c195
Merge pull request #2367 from take-cheeze/ignore_outfile
...
Ignore outfile check when `-c`(check syntax only) flag is enabled.
2014-06-06 21:32:35 +09:00
take_cheeze
7f870f601f
Treat partial hook success '\n' to fix #2361 .
...
Now it will parse the #2361 code as:
```
module A
end
module B
end
```
instead of
```
module A
end module B
end
```
2014-06-06 21:29:42 +09:00
take_cheeze
2f614b1a5c
Ignore outfile check when -c(check syntax only) flag is enabled.
2014-06-06 19:55:04 +09:00
Yukihiro "Matz" Matsumoto
d3fda42eb6
Merge pull request #2359 from take-cheeze/src_gen_dep
...
Add generator script to dependency so that it will regenerate C codes when it's modified.
2014-06-06 16:38:11 +09:00
Yukihiro "Matz" Matsumoto
a8636103a2
git push origin masterMerge branch 'cremno-ascii'
2014-06-06 12:49:55 +09:00
Yukihiro "Matz" Matsumoto
232b8b07e4
Merge branch 'ascii' of https://github.com/cremno/mruby into cremno-ascii
2014-06-06 12:48:48 +09:00
Yukihiro "Matz" Matsumoto
ccd871bcca
reduce calling mrb_sym2name_len() from struct.c; ref #2365
2014-06-06 09:25:29 +09:00
Yukihiro "Matz" Matsumoto
b533917aa6
Merge pull request #2365 from cremno/mruby-struct-function-changes
...
various mruby-struct function changes
2014-06-06 09:17:37 +09:00
Yukihiro "Matz" Matsumoto
3501524ef8
Merge pull request #2364 from take-cheeze/free_atexit_stack
...
Release `mrb->atexit_stack` on `mrb_close`.
2014-06-06 09:13:53 +09:00
cremno
71c7d58736
partially revert 1a5841b for mirb
...
Fix compilation fail caused by GNU Readline and `ISPRINT`.
Also add missing `unsigned char` cast.
2014-06-06 00:13:24 +02:00
cremno
1a5841b4b1
use uppercase US-ASCII ctype macros
2014-06-05 21:00:47 +02:00
cremno
f9f864d4dd
don't (re-)define ascii_isspace and isascii
...
`ISSPACE` and `ISASCII` can be used instead.
2014-06-05 20:27:17 +02:00
cremno
69da21bcb4
ISSPACE evaluates its argument multiple times
2014-06-05 20:22:20 +02:00
cremno
c4c470696b
implement ISASCII correctly
2014-06-05 20:18:23 +02:00