ksss
d7b179475b
fix #1823
2014-03-08 17:51:21 +09:00
Yukihiro "Matz" Matsumoto
058bb18f28
Merge pull request #1828 from take-cheeze/string_embed
...
Use sizeof(void*) instead of mrb_int size and extend embed string size.
2014-03-08 15:01:42 +09:00
Yukihiro "Matz" Matsumoto
286665c437
Merge pull request #1830 from cremno/pool-fixes
...
two pool fixes
2014-03-08 13:34:19 +09:00
Yukihiro "Matz" Matsumoto
6f5d234292
Merge pull request #1829 from takkaw/mirb_linenoise
...
support linenoise in mirb
2014-03-08 13:31:38 +09:00
cremno
307c356c8a
pool: use mrb_malloc_simple instead of mrb_malloc
2014-03-07 20:55:11 +01:00
cremno
0c96b936dc
MSVC: fix C4146
...
C4146 (unary minus operator applied to unsigned type, result still
unsigned)
2014-03-07 20:48:44 +01:00
takkaw
0d4bd01cf1
support linenoise in mirb
2014-03-08 01:22:31 +09:00
Yukihiro "Matz" Matsumoto
e5e5aadfa8
convert too much from size_t to uint32_t; mrb_sym2name_len() takes size_t*
2014-03-08 00:38:56 +09:00
take_cheeze
c3f3a0484a
use sizeof(void*) instead of mrb_int size and extend embed string size
2014-03-08 00:32:59 +09:00
Yukihiro "Matz" Matsumoto
aa4f3c79ef
reduce integer type complexity from int/size_t/uint32_t by unifying them to uint32_t; close #1778
2014-03-07 20:30:42 +09:00
Yukihiro "Matz" Matsumoto
ac8d04fb6c
Merge pull request #1820 from ksss/string-embed
...
Embed small string
2014-03-07 18:51:32 +09:00
Yukihiro "Matz" Matsumoto
035898c721
Merge pull request #1824 from unak/patch-1
...
.PHONY should be placed after `all'
2014-03-07 18:41:01 +09:00
Yukihiro "Matz" Matsumoto
fe1b4cea41
Hash#== and eql? should not return fixnum; ref #1823
2014-03-07 18:40:10 +09:00
Yukihiro "Matz" Matsumoto
23853acbb6
Merge pull request #1823 from ksss/hash-eql
...
Fix behavior Hash#eql?
2014-03-07 18:36:53 +09:00
unak
8ee5b0196b
.PHONY should be placed after `all'
...
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-07 12:11:10 +09:00
ksss
cab1f734ef
Fix behavior Hash#eql?
2014-03-07 11:08:24 +09:00
ksss
4bc19d5fad
add embed string test
2014-03-06 14:00:08 +00:00
ksss
54132e4364
make embed string when create literals
2014-03-06 13:47:51 +00:00
ksss
4070b5987a
embed small string
...
use flags 4 for *this object is embed*
use flags 8~64 for *embed string length*
2014-03-06 13:12:08 +00:00
Yukihiro "Matz" Matsumoto
e40428af7b
Merge pull request #1819 from mattn/fix-mruby-time
...
Fix build on mingw32
2014-03-06 20:57:29 +09:00
mattn
a9ac721e38
Fix build on mingw32
2014-03-06 19:57:22 +09:00
Yukihiro "Matz" Matsumoto
50974614ec
Merge pull request #1818 from unak/patch-1
...
fixed broken gettimeofday implementation for Windows
2014-03-06 12:46:11 +09:00
unak
561c2a1581
fixed broken gettimeofday implementation for Windows
...
small, but critical typo :)
2014-03-06 12:40:48 +09:00
Yukihiro "Matz" Matsumoto
bd4f38add6
Merge pull request #1815 from take-cheeze/source_location
...
Fix and add test for Proc#source_location.
2014-03-06 08:39:51 +09:00
Yukihiro "Matz" Matsumoto
2329b17893
Merge pull request #1817 from cremno/visualcpp-toolchain-change-cflags
...
visualcpp toolchain: change compiler/linker flags
2014-03-06 08:37:40 +09:00
Yukihiro "Matz" Matsumoto
00af5efd96
Merge pull request #1816 from cremno/error.h-add-extern_c
...
error.h: add extern "C" for C++
2014-03-06 08:36:44 +09:00
cremno
ab025dc511
visualcpp toolchain: change compiler/linker flags
...
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-05 20:27:58 +01:00
cremno
cbc84ba5b2
error.h: add extern "C" for C++
2014-03-05 19:50:13 +01:00
take_cheeze
f8270ee59b
fix and add test for Proc#source_location
2014-03-06 03:40:41 +09:00
Yukihiro "Matz" Matsumoto
b8625bbc5e
Merge pull request #1814 from cremno/__file__-windows-paths
...
__FILE__ test: add support for \ as separator
2014-03-06 01:44:25 +09:00
Yukihiro "Matz" Matsumoto
1bba236cb2
Merge pull request #1812 from cremno/time-3
...
mruby-time: add gettimeofday(2) for Windows
2014-03-06 01:43:06 +09:00
Yukihiro "Matz" Matsumoto
9dfdbe6632
Merge pull request #1813 from cremno/time-1
...
mruby-time: various smaller changes
2014-03-06 01:41:37 +09:00
cremno
3900fcecd7
__FILE__ test: add support for \ as separator
2014-03-05 17:38:02 +01:00
cremno
890ef11fde
mruby-time: add gettimeofday(2) for Windows
2014-03-05 17:13:13 +01:00
cremno
69b231ece5
mruby-time: fix indentation in mrb_time_asctime
2014-03-05 17:08:51 +01:00
cremno
96d3bc2811
mruby-time: store timezone name directly
2014-03-05 17:08:51 +01:00
cremno
9b3033bb53
mruby-time: timezone_names should be const
2014-03-05 17:08:50 +01:00
cremno
e34b69f582
mruby-time: store strings directly instead of pointers to them
2014-03-05 17:08:44 +01:00
cremno
333840ba61
mruby-time: mrb_time_type should be const
2014-03-05 16:53:42 +01:00
cremno
f9c88e9c68
mruby-time: fix two tiny typos in comments
2014-03-05 16:53:41 +01:00
cremno
c088797107
mruby-time: rearrange header order
2014-03-05 16:53:41 +01:00
cremno
bf48f5ec87
mruby-time: remove trailing whitespace
2014-03-05 16:53:40 +01:00
Yukihiro "Matz" Matsumoto
2f20463b77
Merge pull request #1811 from takkaw/refactor_mirb
...
small refactor in mirb
2014-03-06 00:20:41 +09:00
takkaw
d7d8b09580
small refactor
2014-03-05 23:35:34 +09:00
Yukihiro "Matz" Matsumoto
faf48bb761
Merge branch 'master' of github.com:mruby/mruby
2014-03-05 21:53:07 +09:00
Yukihiro "Matz" Matsumoto
adc5b56c15
use mrb_int instead of size_t since string length is represented by mrb_int; close #1810
2014-03-05 21:51:44 +09:00
Yukihiro "Matz" Matsumoto
61d06abf81
Merge pull request #1809 from matsumoto-r/change_mruby_libs_flag
...
Change the position of -L option from MRUBY_LIBS to MRUBY_LDFLAGS
2014-03-05 21:39:20 +09:00
Yukihiro "Matz" Matsumoto
640efb3015
Merge pull request #1808 from cubicdaiya/issues/unused_variable
...
remove unused variable
2014-03-05 17:44:12 +09:00
MATSUMOTO Ryosuke
a5dd02f94f
Change the position of -L option from MRUBY_LIBS to MRUBY_LDFLAGS
2014-03-05 17:37:44 +09:00
Yukihiro "Matz" Matsumoto
1c4d58b882
Merge pull request #1807 from tmash06/fix_exit_status_code
...
fix mruby command returning EXIT_SUCCESS when program file can't be opened.
2014-03-05 17:26:25 +09:00