summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2014-03-08MSVC: add NAN and INFINITY for older versionscremno
2014-03-08use NAN and INFINITYcremno
The macro str_to_mrb_float (strto[df]) converts a string to a number, but these two macros can be used to directly get the special value. The NAN macro requires quiet NaN support, but so does str_to_mrb_float. This change also circumvents missing C99 support in Microsoft's C library. Its (or ISO C90's) strtod doesn't parse "nan" or "inf".
2014-03-09add "?" specifier to check if preceding optional argument is givenYukihiro "Matz" Matsumoto
2014-03-08Merge pull request #1828 from take-cheeze/string_embedYukihiro "Matz" Matsumoto
Use sizeof(void*) instead of mrb_int size and extend embed string size.
2014-03-08Merge pull request #1830 from cremno/pool-fixesYukihiro "Matz" Matsumoto
two pool fixes
2014-03-08Merge pull request #1829 from takkaw/mirb_linenoiseYukihiro "Matz" Matsumoto
support linenoise in mirb
2014-03-07pool: use mrb_malloc_simple instead of mrb_malloccremno
2014-03-07MSVC: fix C4146cremno
C4146 (unary minus operator applied to unsigned type, result still unsigned)
2014-03-08support linenoise in mirbtakkaw
2014-03-08convert too much from size_t to uint32_t; mrb_sym2name_len() takes size_t*Yukihiro "Matz" Matsumoto
2014-03-08use sizeof(void*) instead of mrb_int size and extend embed string sizetake_cheeze
2014-03-07reduce integer type complexity from int/size_t/uint32_t by unifying them to ↵Yukihiro "Matz" Matsumoto
uint32_t; close #1778
2014-03-07Merge pull request #1820 from ksss/string-embedYukihiro "Matz" Matsumoto
Embed small string
2014-03-07Merge pull request #1824 from unak/patch-1Yukihiro "Matz" Matsumoto
.PHONY should be placed after `all'
2014-03-07Hash#== and eql? should not return fixnum; ref #1823Yukihiro "Matz" Matsumoto
2014-03-07Merge pull request #1823 from ksss/hash-eqlYukihiro "Matz" Matsumoto
Fix behavior Hash#eql?
2014-03-07.PHONY should be placed after `all'unak
Because some make (e.g. nmake) recognize it as a normal rule definition and if it's the first rule, make runs it as a default rule. Consequently `all', `test' and `clean' are all ran (because they are depended by .PHONY), and builded files are cleaned.
2014-03-07Fix behavior Hash#eql?ksss
2014-03-06add embed string testksss
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
use flags 4 for *this object is embed* use flags 8~64 for *embed string length*
2014-03-06Merge pull request #1819 from mattn/fix-mruby-timeYukihiro "Matz" Matsumoto
Fix build on mingw32
2014-03-06Fix build on mingw32mattn
2014-03-06Merge pull request #1818 from unak/patch-1Yukihiro "Matz" Matsumoto
fixed broken gettimeofday implementation for Windows
2014-03-06fixed broken gettimeofday implementation for Windowsunak
small, but critical typo :)
2014-03-06Merge pull request #1815 from take-cheeze/source_locationYukihiro "Matz" Matsumoto
Fix and add test for Proc#source_location.
2014-03-06Merge pull request #1817 from cremno/visualcpp-toolchain-change-cflagsYukihiro "Matz" Matsumoto
visualcpp toolchain: change compiler/linker flags
2014-03-06Merge pull request #1816 from cremno/error.h-add-extern_cYukihiro "Matz" Matsumoto
error.h: add extern "C" for C++
2014-03-05visualcpp toolchain: change compiler/linker flagscremno
with these flags visualcpp should behave more like the gcc toolchain c: - produce debug information - optimize for speed instead of disabling optimization - use non-debug version of Microsoft's C library - remove unused and unnecessary macro definitions cxx: - separate C and C++ (#1594) - specify kind of exception handling (see warning C4530) linker: - produce debug information - disable incremental linking and re-enable optimizations
2014-03-05error.h: add extern "C" for C++cremno
2014-03-06fix and add test for Proc#source_locationtake_cheeze
2014-03-06Merge pull request #1814 from cremno/__file__-windows-pathsYukihiro "Matz" Matsumoto
__FILE__ test: add support for \ as separator
2014-03-06Merge pull request #1812 from cremno/time-3Yukihiro "Matz" Matsumoto
mruby-time: add gettimeofday(2) for Windows
2014-03-06Merge pull request #1813 from cremno/time-1Yukihiro "Matz" Matsumoto
mruby-time: various smaller changes
2014-03-05__FILE__ test: add support for \ as separatorcremno
2014-03-05mruby-time: add gettimeofday(2) for Windowscremno
2014-03-05mruby-time: fix indentation in mrb_time_asctimecremno
2014-03-05mruby-time: store timezone name directlycremno
2014-03-05mruby-time: timezone_names should be constcremno
2014-03-05mruby-time: store strings directly instead of pointers to themcremno
2014-03-05mruby-time: mrb_time_type should be constcremno
2014-03-05mruby-time: fix two tiny typos in commentscremno
2014-03-05mruby-time: rearrange header ordercremno
2014-03-05mruby-time: remove trailing whitespacecremno
2014-03-06Merge pull request #1811 from takkaw/refactor_mirbYukihiro "Matz" Matsumoto
small refactor in mirb
2014-03-05small refactortakkaw
2014-03-05Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-05use mrb_int instead of size_t since string length is represented by mrb_int; ↵Yukihiro "Matz" Matsumoto
close #1810
2014-03-05Merge pull request #1809 from matsumoto-r/change_mruby_libs_flagYukihiro "Matz" Matsumoto
Change the position of -L option from MRUBY_LIBS to MRUBY_LDFLAGS
2014-03-05Merge pull request #1808 from cubicdaiya/issues/unused_variableYukihiro "Matz" Matsumoto
remove unused variable