Jeremy Evans
05bc14d81a
Fix building with 1.8 BASERUBY
2019-05-27 20:55:56 -07:00
Koichi Sasada
f3bddc103d
use malloc() instead of calloc().
...
Here malloc() is enough because all elements of the page_list
will be overwrite.
2019-05-28 11:44:08 +09:00
Koichi Sasada
f9401d5d44
should skip T_ZOMBIE here.
2019-05-28 11:44:08 +09:00
Koichi Sasada
2229acaa54
should use heap_eden->total_pages.
...
The size of page_list is heap_eden->total_pages, but
init_cursors() assumes the size of page_list is `heap_allocated_pages`.
This patch fix it.
2019-05-28 11:44:08 +09:00
Nobuyoshi Nakada
72333286c4
Fix typos in Ripper::Lexer#inspect and Ripper::Lexer#pretty_print
2019-05-28 11:38:13 +09:00
aycabta
ccfb12d76c
Fix condition..."and" is lowest priority operator, than "="
2019-05-28 11:03:02 +09:00
Koichi Sasada
7f211bfe6c
use only eden_heaps on GC.compact.
...
`heap_pages_sorted` includes eden and tomb pages, so we should not
use tomb pages for GC.compact (or we should move all of tomb pages
into eden pages). Now, I choose only eden pages. If we allow to
move Zombie objects (objects waiting for finalizers), we should
use both type of pages (TODO).
2019-05-28 10:31:02 +09:00
Koichi Sasada
cfd839c140
Suppress warning (uninitialized variable).
2019-05-28 10:31:02 +09:00
Hiroshi SHIBATA
fa7a768fdf
Removed inconsistency file from upstream repository of rubygems.
...
followed up ae2a904ce9
2019-05-28 10:24:27 +09:00
git
165ddfda20
* remove trailing spaces.
2019-05-28 10:07:55 +09:00
Yusuke Endoh
ae2a904ce9
Update the certificate files to make the test pass on Debian 10
...
The old certificate files (for example, test/rubygems/ca_cert.pem) were
signed by SHA1. This message digest is considered too weak and rejected
by OpenSSL 1.1.1 or later. Because of this, the test suite does not
pass on Debian 10.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T123003Z.fail.html.gz#test%2Frubygems
This change regenerates the files.
A shell script for the regeneration (util/create_certs.sh) is also
added.
2019-05-28 10:07:29 +09:00
Takashi Kokubun
cf904d9f9f
Avoid doubly building Travis and AppVeyor
...
but on "master" branch.
For Pull Request, I changed the approach from
d9b338a53f
and
277e68825a
.
2019-05-28 10:02:31 +09:00
Nobuyoshi Nakada
1cdaa17a06
parse.y: numbered parameter symbol
...
* parse.y (parse_atmark): numbered parameter name is not allowed
as a symbol regardless the context.
2019-05-28 09:00:02 +09:00
aycabta
57b4df07bc
Use Reline.completer_quote_characters to complete
2019-05-28 08:38:55 +09:00
aycabta
74c88e7cda
Fix reversed row and column get_screen_size on Windows
2019-05-28 05:10:49 +09:00
aycabta
f6b62d8fe7
Use Shift+Enter as Meta+Enter on Windows
2019-05-28 04:39:29 +09:00
aycabta
8b135cc875
Use VK_MENU instead of VK_LMENU to check ALT on Windows
2019-05-28 04:25:50 +09:00
aycabta
d5682eb939
Remove unused variable from IRB::InputCompletor
2019-05-28 03:25:47 +09:00
aycabta
5e275dd2af
Treat :@1, :@@1, @1, and @@1 correctly to check termination
2019-05-28 03:23:52 +09:00
aycabta
7447c7b651
Join next line if deletes newline at end of line
2019-05-28 01:52:04 +09:00
aycabta
69c7ad1723
Exit only when blank input
2019-05-28 01:51:01 +09:00
Kazuki Tsujimoto
b2b5ed1410
Supress duplicated warning
2019-05-28 01:32:07 +09:00
aycabta
9a68aba79f
Support OSC and treat \1 \2 correctly
2019-05-28 00:48:02 +09:00
aycabta
70166b3ca3
Revert "Support OSC and treat \1 \2 correctly"
...
This reverts commit 77bfebebc4
.
2019-05-28 00:21:24 +09:00
git
11778fd246
* 2019-05-28
2019-05-28 00:20:24 +09:00
aycabta
77bfebebc4
Support OSC and treat \1 \2 correctly
2019-05-28 00:17:52 +09:00
Nobuyoshi Nakada
8a2a5822ca
Colorize error part
2019-05-27 23:08:51 +09:00
Nobuyoshi Nakada
b4365e75fd
Do not make an incomplete escape a valid char
2019-05-27 23:08:48 +09:00
Nobuyoshi Nakada
c40003da25
Ripper#token
...
* parse.y (ripper_token): added Ripper#token which returns the
current token string. [EXPERIMENTAL]
2019-05-27 23:08:45 +09:00
Koichi Sasada
b3602f1d20
check the object is in tomb_heap.
2019-05-27 08:19:30 +01:00
Koichi Sasada
35146c4368
add a space between type and others
2019-05-27 08:12:30 +01:00
Koichi Sasada
b3a6469e46
add a line break for each error message
2019-05-27 08:09:47 +01:00
Koichi Sasada
6c1a07555c
fix GC.verify_internal_consistency.
...
Fix debug output to dump more useful information on GC.compact
debugging.
check_rvalue_consistency_force() now accepts `terminate` flag
to terminate a program with rb_bug() or only print error message.
GC.verify_internal_consistency use this flag (== FALSE) to dump
all of debug output.
2019-05-27 14:53:38 +09:00
Koichi Sasada
61da57c76a
is_pointer_to_heap() checks also tomb or not.
...
is_pointer_to_heap(obj) checks this obj belong to a heap page.
However, this function returns TRUE even if the page is tomb page.
This is re-commit of [712c027524
].
heap_page_add_freeobj() should not use is_pointer_to_heap(), but
should check more explicitly.
2019-05-27 14:53:37 +09:00
Nobuyoshi Nakada
ea6e284d86
parse.y: removed "parser_" prefix from tokadd_utf8
2019-05-27 13:58:41 +09:00
Nobuyoshi Nakada
af17e111b3
Added #inspect and #pretty_inspect to Ripper::Lexer::Elem
2019-05-27 13:58:40 +09:00
Yusuke Endoh
43730256e8
open-uri: Regenerate server certificates for tests
...
OpenSSL 1.1.1 requires 2048 bits or more. This change will fix:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T003004Z.fail.html.gz#test%2Fopen-uri
2019-05-27 12:58:08 +09:00
Nobuyoshi Nakada
4c277364a5
CSI allows empty digit which equals 0
2019-05-27 11:47:09 +09:00
Nobuyoshi Nakada
0aa9b003de
context.rb: hide wrapping lines
...
* lib/irb/context.rb (IRB::Context#evaluate): separate the code
from wrapping lines to propagate the given exception, not to show
the wrapping lines when SyntaxError.
2019-05-27 11:05:51 +09:00
aycabta
9840f52c77
Use IRB::InputMethod#eof? to quit
2019-05-27 10:18:09 +09:00
aycabta
1d301acbe8
Fix rendering bug of ^D
2019-05-27 10:09:21 +09:00
aycabta
9c136f3dea
Move to next of last line by ^D
2019-05-27 08:39:39 +09:00
aycabta
4e2c7783e3
Check blank history
2019-05-27 08:13:48 +09:00
aycabta
2805c55aa3
Move to next of last line by ^C
2019-05-27 07:35:35 +09:00
aycabta
c49796c930
Reline should move to next line after finished in Readline mode
2019-05-27 07:00:06 +09:00
Sutou Kouhei
29c16b30ce
Add support for history with Reline backend
2019-05-27 06:32:52 +09:00
aycabta
2c91c5b329
Move to the other line when press <- at head or -> at tail
2019-05-27 06:04:42 +09:00
aycabta
716ba4a127
Implement J to join lines in vi command mode
2019-05-27 05:45:08 +09:00
aycabta
64dc21830a
Remove \1 and \2 that escape CSI before render
2019-05-27 05:01:18 +09:00
Takashi Kokubun
c6b7cad5c9
.azure-pipelines.yml: Add timeout to install dependencies
...
to avoid cancelling overall build pipeline when stucking there.
2019-05-26 12:20:18 -07:00