Commit Graph

1340 Commits

Author SHA1 Message Date
Yukihiro Matz Matsumoto 6be56ef1fb save/restore arena index for each codedump iteration 2013-03-05 00:32:38 +09:00
Yukihiro "Matz" Matsumoto 0fd14e53a2 Merge pull request #943 from monaka/pr-tmp-move-sprintf-to-mrbgem
Move Kernel#sprintf to mrbgem
2013-03-04 06:46:31 -08:00
Masaki Muranaka 97136825e2 Separate Kernel#sprintf support from mruby core. It's moved to mrbgems. 2013-03-04 23:04:39 +09:00
Masaki Muranaka a5bc5b2574 Move src/sprintf to mrbgems/mruby-sprintf/src/ 2013-03-04 22:27:23 +09:00
kano4 d4c279aa8d Replace tabs with spaces 2013-03-04 21:45:47 +09:00
Yukihiro Matz Matsumoto abecb78144 allow reserved word for heredoc terminator 2013-03-04 10:07:42 +09:00
Yukihiro Matz Matsumoto 20a5d57d16 applied a patch from @cremo to support MSVC 2013-03-04 09:55:45 +09:00
Yukihiro Matz Matsumoto 02dba48367 Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc 2013-03-04 09:49:16 +09:00
Yukihiro "Matz" Matsumoto e13248bedf Merge pull request #884 from monaka/pr-use-MRB_IREP_ARRY_INIT_SIZE-macro
Use MRB_IREP_ARRAY_INIT_SIZE macro.
2013-03-03 16:40:27 -08:00
Yukihiro Matz Matsumoto 844f6eb625 fix mrb_int for INT64 env 2013-03-04 02:47:48 +09:00
Yukihiro "Matz" Matsumoto aae50bfc48 Merge pull request #934 from monaka/pr-use-mrb_int-in-array.c
Define ARY_MAX_SIZE strictly. Use mrb_int instead of int.
2013-03-03 09:38:10 -08:00
Yukihiro "Matz" Matsumoto 44dbada9c6 Merge pull request #936 from monaka/pr-cleanup-range.c-20130303
Clean up range.c. Use mrb_int. Use mrb_vtype.
2013-03-03 09:25:26 -08:00
Carson McDonald a306ac7651 The variable len isn't used anywhere. 2013-03-03 07:57:20 -05:00
Yukihiro "Matz" Matsumoto 1e017018a8 Merge pull request #928 from cremno/mrb_open-void
mrb_open takes no arguments: (void) instead of ()
2013-03-03 04:34:03 -08:00
Yukihiro "Matz" Matsumoto f2a39ef410 Merge pull request #930 from kaishuu0123/cleanup-parse.y
cleanup: delete commented out match_op() from parse.y
2013-03-03 04:33:21 -08:00
Yukihiro "Matz" Matsumoto afa5b26826 Merge pull request #931 from matsumoto-r/fix_some_indents
Adjust some indents
2013-03-03 04:32:37 -08:00
FUKUZAWA-Tadashi 73309aefa5 delete trailing space 2013-03-03 21:08:59 +09:00
FUKUZAWA-Tadashi 1af4110f7d implement heredoc 2013-03-03 20:08:13 +09:00
Masaki Muranaka 15ac0e03c2 Reduce a snprintf() call in localjump_error(). 2013-03-03 18:39:52 +09:00
Masaki Muranaka 37fd73e376 Clean up range.c. Use mrb_int. Use mrb_vtype. 2013-03-03 13:33:18 +09:00
Masaki Muranaka f998691da8 Define ARY_MAX_SIZE strictly. Use mrb_int instead of int. 2013-03-03 11:43:56 +09:00
Masaki Muranaka 6cd7017ec1 Remove trailing whitespaces. This is just a cosmetic change. 2013-03-03 10:54:00 +09:00
MATSUMOTO Ryosuke 809732ab40 Adjust some indents 2013-03-02 10:26:54 -08:00
Kouki Ooyatsu 1a7bb9dfa6 cleanup: delete commented out match_op() from parse.y 2013-03-03 03:22:59 +09:00
Yukihiro Matz Matsumoto 0c9d42e080 string interpolation in regex 2013-03-02 15:13:52 +09:00
Cremno 7ba301c201 mrb_open takes no arguments: (void) instead of () 2013-03-02 01:42:06 +01:00
Yukihiro Matz Matsumoto a4d37bafdc Merge branch 'master' of github.com:mruby/mruby 2013-03-01 22:34:43 +09:00
Yukihiro Matz Matsumoto 8d2880bbfe Merge branch 'pluggable_struct' of https://github.com/mattn/mruby into mattn-pluggable_struct 2013-03-01 21:38:02 +09:00
skandhas 40268d2284 format some source code (vm.c) 2013-03-01 15:57:35 +08:00
Yukihiro "Matz" Matsumoto c0e1fc935c Merge pull request #918 from monaka/pr-remove-unused-struct-and-more
Remove unused struct and more
2013-02-28 23:35:04 -08:00
Yukihiro "Matz" Matsumoto 778dbddb6e Merge pull request #921 from skandhas/pr-format-class-source
format some source code (class.c)
2013-02-28 23:33:26 -08:00
Yukihiro "Matz" Matsumoto 0c3bcff971 Merge pull request #919 from monaka/pr-use-typedef-names-as-possible
Use typedef names as possible
2013-02-28 23:32:46 -08:00
skandhas f09c515895 format some source code (class.c) 2013-03-01 15:25:22 +08:00
mattn 261efd8e9d Merge branch 'master' into pluggable_struct 2013-03-01 14:42:42 +09:00
mattn 4c4cf0a4ce Pluggable Struct 2013-03-01 14:42:34 +09:00
Masaki Muranaka e4231a0a33 Add typedef to structures that have mrb_ prefix. Use typedef-ed type instead of struct directly. 2013-03-01 14:28:22 +09:00
mattn 138ecf4723 Pluggable Struct 2013-03-01 13:37:46 +09:00
Masaki Muranaka 0b7b3f9d7f Move the place of a curly bracket. This is just a cosmetic change. 2013-03-01 13:20:21 +09:00
Masaki Muranaka da9b9c549a Remove unused structures. 2013-03-01 13:18:57 +09:00
Yukihiro "Matz" Matsumoto c567a28f2c Merge pull request #913 from carsonmcdonald/arena_check_fix
Fix arena size check.
2013-02-28 15:57:07 -08:00
MATSUMOTO Ryosuke e66de39a02 Adjust space 2013-02-28 15:24:36 -08:00
Carson McDonald 3d3ebbc9cd Fix arena size check. 2013-02-28 09:24:08 -05:00
Yukihiro "Matz" Matsumoto f586dff5af Merge pull request #909 from mattn/cleanup_regexp
Cleanup Regexp codes
2013-02-28 05:32:56 -08:00
Yukihiro "Matz" Matsumoto e4e7f70588 Merge pull request #905 from iij/pr-percent-notation
Regexp: %r notation bug fix.
2013-02-28 05:30:43 -08:00
mattn 6bee2fd193 Pluggable Math 2013-02-28 17:52:18 +09:00
mattn 473abbd0ff Cleanup Regexp codes 2013-02-28 17:39:38 +09:00
Kouki Ooyatsu 1ea13483cb Regexp: %r notation bug fix. close #85.
be able to parse any delimiters.
variable expansion isn't supported yet.

 * sample code
```
def matchpath(str)
  puts "#{str} is ..."

  if %r!img/! =~ str then
    puts "match"
  else
    puts "not match"
  end
end

matchpath("img/a.png") # => match
matchpath("/usr/local/bin") # => not match
matchpath("book/img/local") # => match
```
2013-02-28 11:16:15 +09:00
Yukihiro "Matz" Matsumoto 97287b7e3d Merge pull request #889 from mattn/pluggable_time
Pluggable Time class
2013-02-27 15:20:05 -08:00
Yukihiro "Matz" Matsumoto a7533bb90a Merge pull request #902 from brainopia/remove_freeze_leftovers
Remove freeze leftovers
2013-02-26 23:32:12 -08:00
Yukihiro "Matz" Matsumoto 01274bcc46 Merge pull request #890 from cremno/mrb_funcall--adjust-ci-and-sp-after-error
mrb_funcall_with_block: raised exception corrupts ci and stack
2013-02-26 23:31:38 -08:00