Yukihiro "Matz" Matsumoto
|
3286fb511e
|
Merge pull request #1147 from schmurfy/dump_osx
stdint header seems required on osx for uint8_t
|
2013-04-06 06:32:15 -07:00 |
|
Julien Ammous
|
35450bfcac
|
stdint header seems required on osx for uint8_t
|
2013-04-06 14:59:55 +02:00 |
|
kano4
|
04fb7a0a3f
|
Define isascii for C99
|
2013-04-06 21:47:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a20384ce74
|
Merge pull request #1141 from mattn/fix_exit
Fix exit
|
2013-04-05 08:37:04 -07:00 |
|
mattn
|
1541a61f5d
|
Fix exit
|
2013-04-05 18:04:22 +09:00 |
|
h2so5
|
51ef69dee6
|
Add syntax error for incomplete global variables
|
2013-04-05 14:59:11 +09:00 |
|
h2so5
|
7331119265
|
Add syntax error for incomplete instance/class variables
|
2013-04-05 11:30:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
492688eecd
|
factor out redundant Regexp check into functions
|
2013-04-05 04:41:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
001ce2612b
|
method function should return mrb_value
|
2013-04-05 04:40:36 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ff710487b7
|
raise NotImplementedError from Module.constants (15.2.2.3.1); close #1125
|
2013-04-05 04:25:00 +09:00 |
|
Masaki Muranaka
|
edd0a62106
|
Add NameError#name. Fix NameError.new and NameError.initialize. Enable 2nd argument for NameError.new in C API.
|
2013-04-04 16:24:43 +09:00 |
|
Masaki Muranaka
|
1efb1bbaff
|
Use mrb_name_error() as possible.
|
2013-04-04 16:24:43 +09:00 |
|
Masaki Muranaka
|
2f829ea09a
|
Move mrb_name_error() declaration to mruby.h As it is requred by struct mrbgem.
|
2013-04-04 16:24:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
75f5535c4f
|
rename DATA API: mrb_get_datatype -> mrb_data_get_ptr; mrb_check_datatype -> mrb_data_check_and_get
|
2013-04-04 04:30:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dfb4755729
|
Merge pull request #1131 from takkaw/mrb_funcall_return_exc
Change to return the exception object when an exception occurred in mrb_funcall
|
2013-04-03 06:58:49 -07:00 |
|
Gilad Zohari
|
73d7a72102
|
Adjust ci->nregs to prevent heap corruption
|
2013-04-02 18:28:38 +03:00 |
|
Yukihiro "Matz" Matsumoto
|
6bd49a3d95
|
Module#constants should include constants defined in superclass; close #1126
|
2013-04-02 10:33:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
013be527e6
|
add Module#constants (15.2.2.4.24)
|
2013-04-02 01:23:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7c2f68862e
|
Merge pull request #1121 from monaka/pr-check-malloc-failed2
Check malloc failed
|
2013-04-01 04:09:27 -07:00 |
|
Kouki Ooyatsu
|
7e163c0567
|
bugfix: Kernel#!=, and add #!= testcase.
|
2013-04-01 12:18:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e6f61fa74e
|
Merge pull request #1122 from monaka/pr-cleanup-raise
Cleanup around mrb_raise calls
|
2013-03-31 19:49:08 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
65bccbe7b9
|
mrb_any_to_s: add separator
|
2013-04-01 11:30:07 +09:00 |
|
Masaki Muranaka
|
029e3c9f50
|
Use mrb_raise() as possible instead of mrb_raisef().
|
2013-04-01 09:08:02 +09:00 |
|
Masaki Muranaka
|
06b4b1cc33
|
Fix typos.
|
2013-04-01 09:03:42 +09:00 |
|
Masaki Muranaka
|
c7ff1bd881
|
Add the care for malloc failed.
At the first time, mrb_realloc raise RuntimeError.
At the time fails twice in a row, it causes panic.
|
2013-04-01 08:40:05 +09:00 |
|
Masaki Muranaka
|
580f1e922b
|
Integer.round have no arg.
|
2013-03-31 23:05:23 +09:00 |
|
Masaki Muranaka
|
1d82d07cac
|
Remove unused functions.
|
2013-03-31 23:05:03 +09:00 |
|
Masaki Muranaka
|
cbe7a87c68
|
Move Integer.{floor,ceil,round,truncate} to mrblib/. For maintainability.
|
2013-03-31 23:04:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
dd56b93639
|
should have rewinded stack on exceptions; close #1113
|
2013-03-31 00:44:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8a2ecba0e4
|
revive #to_int
|
2013-03-31 00:06:31 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
918d199efa
|
move to_i from fixnum to integer; remove reference of to_int which is not in ISO
|
2013-03-30 23:11:30 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5cc6832626
|
undef Integer#new; ref #1111
|
2013-03-30 23:02:15 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e0ba717d2c
|
Merge pull request #1108 from monaka/pr-cleanup-numeric.c-20130329
Cleanup numeric.c
|
2013-03-30 04:50:21 -07:00 |
|
Masaki Muranaka
|
a9f2473377
|
Add null char terminate to each symbol name.
|
2013-03-30 13:17:29 +09:00 |
|
takkaw
|
f36c133909
|
Change to return the exception object when an exception occurred in mrb_funcall
|
2013-03-30 01:41:16 +09:00 |
|
Masaki Muranaka
|
c260ef894e
|
Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
f82ae7653a
|
Change the second argument of mrb_flo_to_str().
Export mrb_flo_to_str() as API.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
710f625254
|
Remove mrb_flt2big() as there is no bignum in the core.
Add new API mrb_flo_to_fixnum(). You can replace mrb_flt2big() to mrb_flo_to_fixnum() with few modifications.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
05ad6902fd
|
Remove API mrb_string_value(). There have mrb_str_to_str() in the core. And mrb_string_value() is no merit to keep using.
|
2013-03-29 18:01:25 +09:00 |
|
Masaki Muranaka
|
24eb120148
|
Add CHAR_BIT check. There are uint8_t to char conversions.
|
2013-03-29 16:32:15 +09:00 |
|
Masaki Muranaka
|
9074983b22
|
Reduce temporary memory allocations. They are redundant.
|
2013-03-29 16:28:13 +09:00 |
|
Masaki Muranaka
|
2b6e9ee556
|
Modify the type of line-number to uint16_t. Type short is not portable. And it cannot be more than UINT16_MAX because of the mrbc binary format.
|
2013-03-29 16:26:00 +09:00 |
|
Masaki Muranaka
|
c67aec25b6
|
Reduce temporary memory allocations. They are redundant.
|
2013-03-29 16:23:10 +09:00 |
|
Masaki Muranaka
|
8742313079
|
Remove RiteFile as no used.
|
2013-03-29 16:21:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cb946da787
|
Merge pull request #1102 from carsonmcdonald/gvarunderscorefix
Allow globals that start with $_
|
2013-03-28 19:35:52 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
b29b421817
|
Merge pull request #1101 from monaka/pr-cleanup-includes
Cleanup includes
|
2013-03-28 19:34:15 -07:00 |
|
Carson McDonald
|
06d7bd69a3
|
Allow globals that start with $_
|
2013-03-28 22:21:37 -04:00 |
|
Masaki Muranaka
|
74f04849c4
|
Rearrange SIZE_MAX. It is supported also VC++ since its version10. And there seems SIZE_MAX is defined in stdint.h. And it possibly (depends on the version of VC++) conflicts with SIZE_MAX in limits.h. This patch is no need if I did not support VC++.
|
2013-03-29 11:02:35 +09:00 |
|
Masaki Muranaka
|
2b5b161f8b
|
Sort include files. Some redundant includes are removed.
|
2013-03-29 10:22:31 +09:00 |
|
Masaki Muranaka
|
a01e968cdb
|
Remove limits.h from numeric.h. Add limits.h to some C files.
|
2013-03-29 10:06:40 +09:00 |
|