Commit Graph

3408 Commits

Author SHA1 Message Date
Carson McDonald b39388e152 Fix signed/unsigned warning. 2013-07-01 07:05:47 -04:00
Carson McDonald d8c4ce8f49 Fix unsigned/signed warning. 2013-07-01 07:03:21 -04:00
Carson McDonald 43ba7f74a2 Fix unsigned/signed comparison. 2013-07-01 07:01:02 -04:00
Yukihiro "Matz" Matsumoto 997c073627 Merge pull request #1327 from h2so5/add-mrb_class_get_under
Add mrb_class_get_under()
2013-06-30 21:34:28 -07:00
h2so5 3f823a0cee Add mrb_class_get_under() 2013-07-01 11:50:13 +09:00
Yukihiro "Matz" Matsumoto b58cd82dc7 Merge pull request #1325 from carsonmcdonald/unsignedfixes
Fix a few unsigned signed comparison warnings
2013-06-30 14:25:22 -07:00
Yukihiro "Matz" Matsumoto 068087439e Merge pull request #1324 from h2so5/fix-range-equal
Fix Range#==
2013-06-30 14:23:57 -07:00
Yukihiro "Matz" Matsumoto 6faab73979 Merge pull request #1322 from suzukaze/refactor-range-c
Refactor range_eql() func in rangec.c and add Range#eql? method test.
2013-06-30 14:22:36 -07:00
Carson McDonald 56b63f5b45 Change int to size_t 2013-06-30 15:12:34 -04:00
Carson McDonald b36f690655 Change int to size_t. 2013-06-30 15:10:39 -04:00
Carson McDonald 73f4ed5f0e Fix some signed unsigned warnings, int to size_t. 2013-06-30 15:07:45 -04:00
h2so5 db0eaa6352 Fix Range#== 2013-06-30 23:40:53 +09:00
Jun Hiroe 57b629a988 Add Range#eql? method test. 2013-06-30 22:53:41 +09:00
Jun Hiroe 85ea2f6144 Refactor range_eql() func in rangec.c 2013-06-30 21:30:22 +09:00
Yukihiro "Matz" Matsumoto 6852680d36 Merge pull request #1321 from suzukaze/refactor-range-c
Refactor mrb_range_eq() func in range.c.
2013-06-29 22:10:51 -07:00
Yukihiro "Matz" Matsumoto 3adfe7727b Merge pull request #1320 from suzukaze/refactor-object-c
Refactor mrb_obj_eq() func in object.c.
2013-06-29 22:09:57 -07:00
Jun Hiroe a2210274ea Refactor mrb_range_eq() func in range.c. 2013-06-30 02:11:37 +09:00
Jun Hiroe 73d4491174 Refactor mrb_obj_eq() func in object.c. 2013-06-30 00:03:01 +09:00
Yukihiro "Matz" Matsumoto dfb240627f Merge pull request #1304 from iij/pr_nil_methods
add nil.to_a, nil.to_f, nil.to_i methods
2013-06-29 06:49:29 -07:00
Yukihiro "Matz" Matsumoto e33249e267 Merge pull request #1318 from Fleurer/refactor_realloc
refactor mrb_realloc() in gc.c
2013-06-29 06:33:38 -07:00
Yukihiro "Matz" Matsumoto 466d0ad717 Merge pull request #1317 from cremno/crc.c-include-stddef.h
crc.c - replace POSIX with C99 header
2013-06-29 01:04:44 -07:00
Yukihiro "Matz" Matsumoto c963855a5a Merge pull request #1314 from suzukaze/refactor-hash-c
Refactor mrb_hash_empty_p() func in hash.c
2013-06-29 01:03:34 -07:00
Yukihiro "Matz" Matsumoto 18121fba37 Merge pull request #1313 from mimaki/fix-mrb_get_args-z-format
ArgumentError raised when mrb_get_args(mrb, "z", ...) receives substring.
2013-06-29 01:02:14 -07:00
Yukihiro "Matz" Matsumoto ddd38484d9 Merge pull request #1312 from kyab/fix_due_example
Fix include path of ArduinoDue example
2013-06-29 01:01:48 -07:00
Yukihiro "Matz" Matsumoto 5698852e1c Merge pull request #1311 from cremno/msvc-2013-support
Visual Studio 2013 support (and two other fixes)
2013-06-29 01:01:17 -07:00
Yukihiro "Matz" Matsumoto 9f154dd7f4 Merge pull request #1310 from iij/pr-fix-regexp-escape
Avoid read_escape() in case of regexp
2013-06-29 01:00:38 -07:00
fleuria 68f31e94f5 refactor mrb_realloc()
remove the redundant codes with mrb_malloc_simple()
2013-06-28 23:15:31 +08:00
Cremno 5835406e6b replaced POSIX header with standard C header 2013-06-28 08:05:33 +02:00
Akira Yumiyama 36fc42e7db add nil.to_a, nil.to_f, nil.to_i methods 2013-06-28 10:01:07 +09:00
Jun Hiroe 0e5ecae325 Refactor mrb_hash_empty_p() func in hash.c 2013-06-27 21:23:12 +09:00
mimaki 42991fe092 fix unnecessary exception in mrb_get_args with "z" format. 2013-06-27 20:18:48 +09:00
Cremno bc91bcefcf include inttypes.h if _MSC_VER is not defined 2013-06-27 12:30:25 +02:00
kyab c23068e68f Fix include path of ArduinoDue example 2013-06-27 19:29:27 +09:00
Cremno 8728837478 Visual Studio 2013 support + strtof + inline
- VC12 has better C99 library support due to C++11
- defined strtof for VC11 or older
- define "inline" only if the C compiler is used
2013-06-27 12:18:35 +02:00
Takashi Sogabe dfb4d555c4 Avoid read_escape() in case of regexp 2013-06-27 17:15:18 +09:00
Yukihiro "Matz" Matsumoto b44309b4b2 Merge pull request #1308 from suzukaze/refactor-hash-c
Refactor mrb_hash_has_keyWithKey() func in hash.c
2013-06-26 16:00:29 -07:00
Yukihiro "Matz" Matsumoto 431479ad24 Merge pull request #1307 from carsonmcdonald/keyduparenafix
Add arena save/restore around use of hash KEY.
2013-06-26 15:57:20 -07:00
Jun Hiroe 4dfa2033b6 Refactor mrb_hash_has_keyWithKey() func in hash.c 2013-06-26 23:00:42 +09:00
Carson McDonald 1d4b26ecfc Add arena save/restore around use of hash KEY. 2013-06-26 08:37:28 -04:00
Yukihiro "Matz" Matsumoto cf840c1d05 use mrb_malloc_simple() to allocate crc buffer; close #1302 2013-06-25 15:39:34 +09:00
Yukihiro "Matz" Matsumoto 3ceeb0be95 add mrb_malloc_simple() that returns NULL on error 2013-06-25 15:38:28 +09:00
Yukihiro "Matz" Matsumoto d90c5c8e84 Merge pull request #1303 from kyab/sirep_fix2
Fix crash on load *mrb
2013-06-24 20:46:55 -07:00
kyab e9ebd6f87a Fix crash on load *mrb 2013-06-25 02:12:56 +09:00
Yukihiro "Matz" Matsumoto ec9fdd5c4c Merge branch 'master' of github.com:mruby/mruby 2013-06-24 00:41:48 +09:00
Yukihiro "Matz" Matsumoto b01670a3d3 fixed a bug in push back list; close #1298 2013-06-24 00:41:34 +09:00
Yukihiro "Matz" Matsumoto 8cb730ae4e Merge pull request #1296 from kyab/fallback-for-crc-buffer
Add fallback for allocate CRC buffer
2013-06-21 15:56:49 -07:00
Yukihiro "Matz" Matsumoto 31b3e3cfec Merge pull request #1295 from kyab/improve-target-example
Improve target example to more practical.
2013-06-21 15:54:49 -07:00
kyab 31fbfb51db Add fallback for allocate CRC buffer 2013-06-22 04:02:55 +09:00
kyab edfe03c1ca Improve target example to more practical. 2013-06-22 03:41:27 +09:00
Yukihiro "Matz" Matsumoto 3b751d6ccd Merge pull request #1293 from monaka/pr-cleanup-mrb_str_resize
Cleanup mrb_str_resize().
2013-06-21 01:44:23 -07:00