Skip to content

Commit 5b65d75

Browse files
committed
New upstream version 2.7.0~preview1
1 parent 20f6677 commit 5b65d75

File tree

1,987 files changed

+132871
-159293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,987 files changed

+132871
-159293
lines changed

.dir-locals.el

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
;; Copyright (c) 2018 Urabe, Shyouhei. All rights reserved.
2+
;;
3+
;; This file is a part of the programming language Ruby. Permission is hereby
4+
;; granted, to either redistribute and/or modify this file, provided that the
5+
;; conditions mentioned in the file COPYING are met. Consult the file for
6+
;; details.
7+
8+
((nil .
9+
((indent-tabs-mode . nil)
10+
(require-final-newline . t)
11+
(tab-width . 8)
12+
(show-trailing-whitespace . t)
13+
(whitespace-line-column . 80))) ;; See also [Misc #12277]
14+
15+
;; (bat-mode . ((buffer-file-coding-system . utf-8-dos)))
16+
17+
(ruby-mode . ((ruby-indent-level . 2)))
18+
19+
(rdoc-mode . ((fill-column . 74)))
20+
21+
(yaml-mode . ((yaml-indent-offset . 2)))
22+
23+
(makefile-mode . ((indent-tabs-mode . t)))
24+
25+
(c-mode . ((c-file-style . "ruby")))
26+
27+
(change-log-mode .
28+
((buffer-file-coding-system . us-ascii)
29+
(indent-tabs-mode . t)
30+
(change-log-indent-text . 2)
31+
(add-log-time-format . (lambda (&optional x y)
32+
(let* ((time (or x (current-time)))
33+
(system-time-locale "C")
34+
(diff (+ (cadr time) 32400))
35+
(lo (% diff 65536))
36+
(hi (+ (car time) (/ diff 65536))))
37+
(format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))))))

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ indent_size = 2
2323
[{*[Mm]akefile*,*.mak,*.mk,depend}]
2424
indent_style = tab
2525

26+
[enc/*]
27+
indent_size = 2
28+
2629
[reg*.[ch]]
2730
indent_size = 2

.gdbinit

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ define rp
160160
printf "st len=%ld ", ((struct RHash *)($arg0))->as.st->num_entries
161161
else
162162
printf "li len=%ld bound=%ld ", \
163-
((((struct RHash *)($arg0))->basic->flags & RHASH_ARRAY_LEN_MASK) >> RHASH_ARRAY_LEN_SHIFT), \
164-
((((struct RHash *)($arg0))->basic->flags & RHASH_ARRAY_BOUND_MASK) >> RHASH_ARRAY_BOUND_SHIFT)
163+
((((struct RHash *)($arg0))->basic->flags & RHASH_AR_TABLE_SIZE_MASK) >> RHASH_AR_TABLE_SIZE_SHIFT), \
164+
((((struct RHash *)($arg0))->basic->flags & RHASH_AR_TABLE_BOUND_MASK) >> RHASH_AR_TABLE_BOUND_SHIFT)
165165
end
166166
print (struct RHash *)($arg0)
167167
else
@@ -1073,9 +1073,9 @@ define print_id
10731073
else
10741074
set $serial = (rb_id_serial_t)$id
10751075
end
1076-
if $serial && $serial <= global_symbols.last_id
1076+
if $serial && $serial <= ruby_global_symbols.last_id
10771077
set $idx = $serial / ID_ENTRY_UNIT
1078-
set $ids = (struct RArray *)global_symbols.ids
1078+
set $ids = (struct RArray *)ruby_global_symbols.ids
10791079
set $flags = $ids->basic.flags
10801080
if ($flags & RUBY_FL_USER1)
10811081
set $idsptr = $ids->as.ary

.gitattributes

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 212 deletions
This file was deleted.

0 commit comments

Comments
 (0)