summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-07Remove duplicate testmattn
2014-01-07mruby-string-utf8: redefine String#size for UTF-8 string; #1646Yukihiro "Matz" Matsumoto
2014-01-07mruby-string-utf8: UTF-8 string may contail NUL; #1646Yukihiro "Matz" Matsumoto
2014-01-07Add mruby-string-utf8mattn
2014-01-02Merge pull request #1634 from cremno/use-mrb_fixnum_pYukihiro "Matz" Matsumoto
tiny word boxing optimization
2014-01-02remove various preprocessor conditionalscremno
- HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?)
2014-01-02tiny word boxing optimizationcremno
2013-12-27add String#partition and String#rpartition.Tomoyuki Sahara
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-15add new function mrb_load_irep_file_cxt() and simplifies mruby.cYukihiro "Matz" Matsumoto
2013-11-15fix irep memory leakYukihiro "Matz" Matsumoto
2013-11-13Changed a variable declaration to top of blockbggd
2013-11-10call codedump_all() from mirb if --verbose is set; close #1559Yukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-05resolved conflicts and updated to latest return value change of ↵Yukihiro "Matz" Matsumoto
mrb_generate_code()
2013-11-04add Fiber.currentYukihiro "Matz" Matsumoto
2013-11-03mirb: reset stack in the first commandfleuria
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-11-03small style fixYukihiro "Matz" Matsumoto
2013-11-03Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-02Added support for Random as an argument to shuffle and shuffle!. Refactored ↵Emiliano Lesende
random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable.
2013-11-02change return value from mrb_generate_code()Yukihiro "Matz" Matsumoto
2013-11-01Added shuffle and shuffle! to the Array class in the Random gem.Emiliano Lesende
2013-10-30Merge pull request #1510 from schmurfy/freebsd_fixYukihiro "Matz" Matsumoto
fixed compilation on freebsd releases witout log2 function
2013-10-08add some methods to Symbolskandhas
2013-10-04fix no multiline strings in mirbLukas Stabe
2013-09-23eliminate use of traditional intern API (mrb_intern()) completelyYuichi Nishiwaki
2013-09-23support freebsd versions without log2 functionJulien Ammous
2013-09-21rename voidp to cptrYukihiro "Matz" Matsumoto
2013-08-26Merge branch 'mruby' into pr-typeerror-string-start-end-withTomoyuki Sahara
Conflicts: mrbgems/mruby-string-ext/src/string.c mrbgems/mruby-string-ext/test/string.rb
2013-08-26Merge pull request #1485 from fjmilens3/string_end_withYukihiro "Matz" Matsumoto
Bug in String#end_with? resulting from incorrect length determination
2013-08-23Check type of arguments for #start_with and #end_with.Tomoyuki Sahara
2013-08-22Refactor of String#start_with? comparison logic.Frederick John Milens III
2013-08-22Refactor of String#end_with? comparison logic.Frederick John Milens III
2013-08-22Fix for string-length-related issue in String#end_with? logic.Frederick John Milens III
2013-08-22Added test case for String#end_with? with string of length 2.Frederick John Milens III
2013-08-22Fix for string-length-related issue in String#start_with? logic.Frederick John Milens III
2013-08-22Added test case for String#start_with? with string of length 1.Frederick John Milens III
2013-08-19android doesn't have log2wanabe
2013-08-15remove alloc from Time classYukihiro "Matz" Matsumoto
2013-08-15redesign mruby/data.h API; use DATA_PTR() for raw data pointer, ↵Yukihiro "Matz" Matsumoto
DATA_GET_PTR() to type safe retrieval (TypeError will be raised), DATA_CHECK_GET_PTR() to get nil if type mismatched
2013-08-14define allocation method for Time class; close #1474Yukihiro "Matz" Matsumoto
2013-08-13Adding line numbers to the output of mirb.Jack Danger Canty
Before: > "hi" hi > d (mirb):1: undefined method 'd' for main (NoMethodError) > d (mirb):1: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 1: unterminated string meets end of file After > "hi" hi > d (mirb):2: undefined method 'd' for main (NoMethodError) > d (mirb):3: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 5: unterminated string meets end of file
2013-08-07don't use str{cpy,cat} in mruby and mrbcCremno
The length of each string is known. It should be used.
2013-08-07rename mrb_value_p() to mrb_ptr() since _p means predicate in mruby sourceYukihiro "Matz" Matsumoto
2013-08-03add read barrier to value.pYuichi Nishiwaki
API changes: - value.p must be accessed via mrb_value_p macro - value.p must be mutated via MRB_SET_VALUE_P macro
2013-08-05muby-time: use mrb_free directlyBlaž Hrastnik