bamchoh
|
0ded91c806
|
Skip "File.readlink fails" test on MSVC
When MSVC, "File.readlink fails with non-symlink" test was failed even if raising NotImplementedError
|
2017-12-09 03:27:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
550c878216
|
Use RL_READLINE_VERSION to determine rl_free existence; fix #3875
|
2017-12-08 21:49:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e17092debd
|
Merge pull request #3874 from mimaki/fix-mingw-compile-error
Fixed compile error of `mruby-io` gem on MinGW.
|
2017-12-08 14:34:10 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c47a1984b4
|
Merge pull request #3873 from take-cheeze/fix_socket_test_leak
Fix memory leak found by leak sanitizer.
|
2017-12-08 14:33:49 +09:00 |
|
Hiroshi Mimaki
|
7f3bda5653
|
Fixed compile error of mruby-io gem on MinGW.
|
2017-12-08 12:58:26 +09:00 |
|
Takeshi Watanabe
|
5de7dc2948
|
Fix memory leak found by leak sanitizer.
|
2017-12-08 12:10:28 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
83065df67a
|
Reduce compiler warnings from mruby-io gem.
|
2017-12-08 10:07:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f9d1d72217
|
Avoid VC++ reserved word template.
|
2017-12-08 09:55:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
36a0b864ba
|
Reduce VC++ compiler warnings.
|
2017-12-08 09:50:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f1207573bd
|
Uninitialized value returned.
|
2017-12-08 09:50:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6ebcb7417a
|
AppVeyor compile errors resolution.
|
2017-12-08 09:37:50 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9df7bceb15
|
AppVeyor compiler does not proved some POSIX functions.
- `mode_t` by `int`
- `umask` by `_umask`
- `rmdir` by `_rmdir`
- `mkstemp` and `mkdtemp` by using `_mktemp`
|
2017-12-08 09:19:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b724e06cf2
|
Avoid uninitialized local variables in mruby-pack.
|
2017-12-07 20:28:30 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bc9e3e6fd0
|
Add type cast to readline(2) return value.
|
2017-12-07 20:26:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
764a568aa4
|
Remove unused variable usock from mruby-socket/src/socket.c.
|
2017-12-07 20:25:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ff1194c134
|
fixup! Fix type casting errors when mruby-socket compiled by C++.
|
2017-12-07 20:24:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
a5412d48fd
|
Add 'mrbgems/mruby-pack/' from commit '383a9c79e191d524a9a2b4107cc5043ecbf6190b'
git-subtree-dir: mrbgems/mruby-pack
git-subtree-mainline: 842e6945f2
git-subtree-split: 383a9c79e1
|
2017-12-07 18:35:09 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
842e6945f2
|
Fix type casting errors when mruby-socket compiled by C++.
Also `bool` is a reserved word in C++.
|
2017-12-07 18:23:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
73ef548c63
|
Add 'mrbgems/mruby-socket/' from commit 'ab54185005ec87fe4f5b10df95ad29659884141b'
git-subtree-dir: mrbgems/mruby-socket
git-subtree-mainline: d75266dd1b
git-subtree-split: ab54185005
|
2017-12-07 18:11:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d75266dd1b
|
Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756'
git-subtree-dir: mrbgems/mruby-io
git-subtree-mainline: 10ed730e4b
git-subtree-split: 3c8e1f94c4
|
2017-12-07 18:11:06 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
10ed730e4b
|
Cancel df3507660 that does not do any good.
|
2017-12-07 15:18:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cdf173d32c
|
Avoid updating to reallocated stack in OP_RETURN; fix #3870
The code was introduced to address #3175 but it's no longer needed.
|
2017-12-07 15:05:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0e46b14b9e
|
The ci should not be equal to cibase with OP_R_BREAK; #3871
|
2017-12-06 17:28:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6975258efd
|
The proc with top-level env must be 'proc-closure'; fix #3871
|
2017-12-06 17:28:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ae44e80668
|
Limit ecall() depth to 32 (default).
|
2017-12-06 17:28:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b00d45b095
|
mrb_method_search_vm() should gives the defined class.
Otherwise `super` may call a wrong method.
|
2017-12-06 17:28:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4a99f4949e
|
Need to set ci->proc when we have RProc structure.
Mentioned in https://qiita.com/bamchoh/items/eabebbbb330cb0e0470a
|
2017-12-05 11:43:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cbb6f29875
|
Merge pull request #3868 from bamchoh/patch-1
Revise MRB_METHOD_PROC macro's argument
|
2017-12-05 06:47:22 +09:00 |
|
bamchoh
|
940133b627
|
Revise MRB_METHOD_PROC macro's argument
I revised MRB_METHOD_PROC macro's argument fn to m.
|
2017-12-05 01:22:43 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
1fea63429e
|
Some OS uses libedit that does not provide rl_free().
`libedit` is a `readline` compatible library with BSD license.
|
2017-12-04 11:53:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0b5d97ec42
|
Need to unshare env stack on break; fix #3866
|
2017-12-04 10:15:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6f4d4bbcc7
|
Remove temporary objects from GC arena in `mrb_vformat()'; #3863
|
2017-12-04 08:56:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5d04e3316b
|
Check if ci->proc is not NULL and MRB_PROC_CFUNC_P(); fix #3867
|
2017-12-04 08:56:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ff8b608c52
|
Free read lines using the deallocation function from the library.
To avoid potential `malloc/free` mismatch.
|
2017-12-04 08:56:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
cd9f53d42e
|
Pop exception objects from the bottom of GC arena; fix #3863
|
2017-12-04 08:56:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c35a402676
|
The stack shift width should be determined by p->upper; fix #3864
And check required register number from `ci->proc` as well.
The fixes for #3859 and #3862 were incomplete.
|
2017-12-01 10:01:46 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
86ef9a2806
|
Avoid calling mrb_env_unshare() when env is NULL.
Small performance improvement by reducing function invocations.
|
2017-11-30 08:19:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2b9f762ba1
|
Avoid double free() of env stack; fix #3860
Should turn on `MRB_ENV_STACK_UNSHARED` flag only after env stack
reallocation. `malloc()` may fail.
|
2017-11-30 08:17:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d3e273ba4e
|
Wrong stack adjustment in ecall() (f35f975 #3859); fix #3862
|
2017-11-30 08:04:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f3279b41e6
|
Stop infinite recursion in Class#to_s; fix #3861
|
2017-11-30 07:58:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5f7cdecdc9
|
Clear c->prev on fiber termination.
|
2017-11-29 20:25:55 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b746a0f0d2
|
Need to free contexts when freeing fibers.
Memory leak fixed; ref #3711
|
2017-11-29 20:24:03 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9c78a9bfa2
|
Set MRB_FIBER_TERMINATED flag on exception termination of a fiber.
|
2017-11-29 20:17:33 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b7c3a876f1
|
Add most recent call last message to the backtrace.
|
2017-11-29 16:56:10 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3e67a116d1
|
Call all ensure clauses pushed at OP_STOP.
|
2017-11-29 12:16:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
afa53809e2
|
No need to use ecall_adjust().
|
2017-11-29 12:15:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
f35f975d26
|
Fixed stack address adjustment in ecall(); fix #3859
|
2017-11-29 12:14:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d4fc980527
|
Need to evaluate ensure clauses at fiber termination.
|
2017-11-29 11:57:33 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6bb5ad786c
|
Remove unnecessary code; ref #3711
|
2017-11-29 11:44:07 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
597149ae23
|
Change newline style of test/t/lang.rb (from DOS)
|
2017-11-22 16:10:28 +09:00 |
|