Skip to content

Commit 04bb0e6

Browse files
committed
Merge branch 'master-2.6' into dist/2.6/stretch
2 parents 89bc3f8 + 0dffb71 commit 04bb0e6

Some content is hidden

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

59 files changed

+13271
-3349
lines changed

ChangeLog

Lines changed: 256 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,261 @@
11
------------------------------------------------------------------------
2-
r67232 | naruse | 2019-03-13 05:23:16 +0900 (Wed, 13 Mar 2019) | 1 line
2+
r67580 | naruse | 2019-04-17 13:49:56 +0900 (Wed, 17 Apr 2019) | 1 line
3+
4+
add tag v2_6_3
5+
------------------------------------------------------------------------
6+
r67571 | svn | 2019-04-16 09:02:01 +0900 (Tue, 16 Apr 2019) | 1 line
7+
8+
* 2019-04-16
9+
------------------------------------------------------------------------
10+
r67570 | knu | 2019-04-16 09:02:00 +0900 (Tue, 16 Apr 2019) | 1 line
11+
12+
Mention SNI support in Net::IMAP
13+
------------------------------------------------------------------------
14+
r67567 | naruse | 2019-04-15 23:42:35 +0900 (Mon, 15 Apr 2019) | 6 lines
15+
16+
merge revision(s) 67561:
17+
18+
Import CSV 3.0.9
19+
20+
This fixes test failures on Windows.
21+
22+
------------------------------------------------------------------------
23+
r67565 | naruse | 2019-04-15 22:36:58 +0900 (Mon, 15 Apr 2019) | 14 lines
24+
25+
merge revision(s) 67560,67561:
26+
27+
Import CSV 3.0.8
28+
29+
This includes performance improvements and backward incompatibility
30+
fixes.
31+
32+
33+
Import CSV 3.0.9
34+
35+
This fixes test failures on Windows.
36+
37+
Note that r67562's commit message is wrong.
38+
39+
------------------------------------------------------------------------
40+
r67564 | naruse | 2019-04-15 22:27:53 +0900 (Mon, 15 Apr 2019) | 9 lines
41+
42+
merge revision(s) 67563:
43+
44+
Support SNI (Reapplying r67488)
45+
46+
This fixes connecting using TLS 1.3 to imap.gmail.com
47+
48+
[Fix GH-2077] [Feature #15594]
49+
50+
From: Marc-Antoine Perennou <[email protected]>
51+
------------------------------------------------------------------------
52+
r67562 | naruse | 2019-04-15 18:22:11 +0900 (Mon, 15 Apr 2019) | 8 lines
53+
54+
merge revision(s) 66720:
55+
56+
separate downloading of Unicode property files and auxiliary files
57+
58+
Separate downloading of Unicode property files in ucd and in ucd/auxiliary.
59+
This is needed because we need information from separate index.html files
60+
to discover the exact file names of property files during a beta period.
61+
62+
------------------------------------------------------------------------
63+
r67529 | naruse | 2019-04-14 07:18:20 +0900 (Sun, 14 Apr 2019) | 7 lines
64+
65+
merge revision(s) 66720:
66+
67+
separate downloading of Unicode property files and auxiliary files
68+
69+
Separate downloading of Unicode property files in ucd and in ucd/auxiliary.
70+
This is needed because we need information from separate index.html files
71+
to discover the exact file names of property files during a beta period.
72+
------------------------------------------------------------------------
73+
r67528 | naruse | 2019-04-14 07:04:51 +0900 (Sun, 14 Apr 2019) | 45 lines
74+
75+
merge revision(s) 66737,66738,67413,67445,67446,67447,67448,67450,67451,67454:
76+
77+
add logic to handle Unicode beta period file names
78+
79+
In downloader.rb, add logic to handle file names of the form
80+
UnicodeData-12.0.0d6.txt. To find the right file, we download
81+
the index of the directory. Then we download the files by finding
82+
the file names from the index. Files are always checked for changes,
83+
because changes might be frequent during the beta period.
84+
We also check whether any index.html files are left when we are not
85+
in the beta period. This would indicate that we might have stale
86+
data from the beta period rather than the actual release data.
87+
88+
simplify filename-related code
89+
90+
(Thanks to Nobuyoshi Nakada for the hint!)
91+
92+
downloader.rb: keep linked file newer than cached file
93+
94+
* tool/downloader.rb (Downloader.save_cache): keep linked file
95+
newer than cached file, so that GNU make triggers when the
96+
content is updated. it uses the timestamp of symlink itself
97+
instead of the target.
98+
99+
add puts statements to debug Unicode file download (temporary)
100+
101+
Unicode file download doesn't work with Visual Studio, see e.g.
102+
https://ci.appveyor.com/project/ruby/ruby/builds/23614399/job/f8vya2l7fjdfcye4
103+
We temporarily produce more output for debugging.
104+
105+
* remove trailing spaces.
106+
107+
output more debug information in downloader.rb (temporary)
108+
109+
Unicode file download doesn't work with Visual Studio, we need more debug output.
110+
111+
downloader.rb: quote base name
112+
113+
downloader.rb: fix typo, extra %
114+
115+
revert r67445, (r67446,) r67447
116+
117+
Debugging output is no longer needed because the problem has been fixed with r67449.
118+
119+
appveyor.yml: Use pre-generated headers and tables
120+
------------------------------------------------------------------------
121+
r67527 | naruse | 2019-04-14 00:14:02 +0900 (Sun, 14 Apr 2019) | 31 lines
122+
123+
merge revision(s) 66745,67397,67398,67399,67400,67409,67410,67411,67412,67425,67426,67473,67474: [Backport #15742]
124+
125+
Bump version to date-2.0.0.
126+
127+
I forgot to change it when Ruby 2.6.0 was released.
128+
129+
date_parse.c: extract Japanese era initials
130+
131+
* expand tabs.
132+
133+
date_parse.c: removed 'r' which is not in JIS X 0301 yet
134+
135+
Added tests for end of Heisei
136+
137+
date: use del_hash to extract an element destructively
138+
139+
* expand tabs.
140+
141+
date_parse.c: renamed JAPANESE prefix as JISX0301
142+
143+
date_parse.c: name JISX0301_DEFAULT_ERA
144+
145+
date: make zone a substring to copy encoding and taintedness
146+
147+
* expand tabs.
148+
149+
date_core.c: [DOC] Heisei will be assumed if no-era [ci skip]
150+
151+
date: support for Reiwa, new Japanese era
152+
153+
[Feature #15742]
154+
------------------------------------------------------------------------
155+
r67526 | svn | 2019-04-14 00:01:42 +0900 (Sun, 14 Apr 2019) | 1 line
156+
157+
* 2019-04-14
158+
------------------------------------------------------------------------
159+
r67525 | naruse | 2019-04-14 00:01:39 +0900 (Sun, 14 Apr 2019) | 32 lines
160+
161+
merge revision(s) 67439,67441,67453,67476: [Backport #15740]
162+
163+
change lib/unicode_normalize/tables.rb to single item per line to make diffs shorter
164+
165+
* template/unicode_norm_gen.tmpl: Change formatting of output to produce only a
166+
single item (or range) for each line to make future diffs shorter and easier
167+
to understand and check.
168+
169+
* lib/unicode_normalize/tables.rb: output of the above
170+
171+
update to Unicode Version 12.1.0 (beta)
172+
173+
Unicode Version 12.1.0 adds one single character, U+32FF SQUARE ERA NAME REIWA,
174+
for the new Japanese era starting on May 1st. 12.1.0 will be finalized only on
175+
May 7th, so we go with the beta version because further changes in the data we
176+
need are highly unlikely, and we want to make sure Ruby is ready for the new era.
177+
178+
* common.mk: change UNICODE_VERSION to 12.1.0, UNICODE_BETA to YES
179+
180+
* enc/unicode/12.1.0, enc/unicode/12.1.0/casefold.h, enc/unicode/12.1.0/name2ctype.h:
181+
add directory and generated data files for new version
182+
183+
* lib/unicode_normalize/tables.rb: update for new character
184+
185+
* test/ruby/test_regexp.rb: add test for character property age=12.1
186+
187+
* test/test_unicode_normalize.rb: add test for NFKC decomposition of new character
188+
189+
This (mostly) completes issue #15195.
190+
191+
remove Unicode 12.0.0 related directory and generated files
192+
193+
------------------------------------------------------------------------
194+
r67524 | naruse | 2019-04-13 16:33:10 +0900 (Sat, 13 Apr 2019) | 9 lines
195+
196+
merge revision(s) 67497,67498: [Backport #15760]
197+
198+
ext/openssl/ossl_bn.c (ossl_bn_initialize): get rid of SEGV
199+
200+
OpenSSL::BN.new(nil, 2) dumped core.
201+
202+
[ruby-core:92231] [Bug #15760]
203+
204+
* expand tabs.
205+
------------------------------------------------------------------------
206+
r67516 | naruse | 2019-04-11 21:09:34 +0900 (Thu, 11 Apr 2019) | 6 lines
207+
208+
merge revision(s) 67466: [Backport #15755]
209+
210+
enumerator.c: force hash values fixable
211+
212+
* enumerator.c (arith_seq_hash): force hash values fixable on
213+
LLP64 environment. [ruby-core:92190] [Bug #15755]
214+
------------------------------------------------------------------------
215+
r67515 | naruse | 2019-04-11 21:09:16 +0900 (Thu, 11 Apr 2019) | 6 lines
216+
217+
merge revision(s) 67467: [Backport #15756]
218+
219+
range.c: force hash values fixable
220+
221+
* range.c (method_hash): force hash values fixable on LLP64
222+
environment. [ruby-core:92191] [Bug #15756]
223+
------------------------------------------------------------------------
224+
r67514 | naruse | 2019-04-11 21:08:55 +0900 (Thu, 11 Apr 2019) | 6 lines
225+
226+
merge revision(s) 67468: [Backport #15757]
227+
228+
range.c: force hash values fixable
229+
230+
* range.c (range_hash): force hash values fixable on LLP64
231+
environment. [ruby-core:92194] [Bug #15757]
232+
------------------------------------------------------------------------
233+
r67353 | naruse | 2019-03-28 12:28:38 +0900 (Thu, 28 Mar 2019) | 7 lines
234+
235+
merge revision(s) 67332: [Backport #15649]
236+
237+
dir.c: fix Dir.glob starts with brace
238+
239+
* dir.c (ruby_glob0): expand braces if a glob pattern starts with
240+
brace.
241+
[ruby-core:91728] [Bug #15649]
242+
------------------------------------------------------------------------
243+
r67352 | naruse | 2019-03-28 12:26:50 +0900 (Thu, 28 Mar 2019) | 3 lines
244+
245+
merge revision(s) 67270: [Backport #15670]
246+
247+
dsym should be treated as string [ruby-core:91852] [Bug #15670]
248+
------------------------------------------------------------------------
249+
r67351 | naruse | 2019-03-28 12:24:57 +0900 (Thu, 28 Mar 2019) | 3 lines
250+
251+
merge revision(s) 67247: [Backport #15666]
252+
253+
Guard out the test when it is run under root permission
254+
------------------------------------------------------------------------
255+
r67246 | naruse | 2019-03-14 06:55:03 +0900 (Thu, 14 Mar 2019) | 2 lines
256+
257+
bump up teeny version to 2.6.3
3258

4-
add tag v2_6_2
5259
------------------------------------------------------------------------
6260
r67231 | naruse | 2019-03-13 05:22:33 +0900 (Wed, 13 Mar 2019) | 2 lines
7261

NEWS

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,11 @@ sufficient information, see the ChangeLog file or Redmine
272272

273273
[Regexp/String]
274274

275-
* Update Unicode version and Emoji version from 11.0.0 to 12.0.0.
276-
[Feature #15321]
275+
* Update Unicode version to 12.1.0, adding support for
276+
U+32FF SQUARE ERA NAME REIWA [Feature #15195]
277+
278+
* Update Unicode version and Emoji version from 11.0.0 to
279+
12.0.0. [Feature #15321]
277280

278281
* Update Unicode version from 10.0.0 to 11.0.0. [Feature #14802]
279282

@@ -455,6 +458,10 @@ sufficient information, see the ChangeLog file or Redmine
455458
* Add Net::HTTPClientException to deprecate Net::HTTPServerException,
456459
whose name is misleading. [Bug #14688]
457460

461+
[Net::IMAP]
462+
463+
* Add Server Name Indication (SNI) support. [Feature #15594]
464+
458465
[NKF]
459466

460467
* Upgrade to nkf v2.1.5
@@ -523,9 +530,15 @@ sufficient information, see the ChangeLog file or Redmine
523530

524531
[CSV]
525532

526-
* Upgrade to 3.0.4.
533+
* Upgrade to 3.0.9.
527534
See https://github.com/ruby/csv/blob/master/NEWS.md.
528535

536+
[Date]
537+
538+
* Date.jisx0301, Date#jisx0301, and Date.parse provisionally support the
539+
new Japanese era as an informal extension, until the new JIS X 0301 is
540+
issued. [Feature #15742]
541+
529542
[RSS]
530543

531544
[New options]

common.mk

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ mflags = $(MFLAGS)
1515
gnumake_recursive =
1616
enable_shared = $(ENABLE_SHARED:no=)
1717

18-
UNICODE_VERSION = 12.0.0
18+
UNICODE_VERSION = 12.1.0
1919
UNICODE_EMOJI_VERSION = 12.0
20-
UNICODE_BETA = NO
20+
UNICODE_BETA = YES
2121

2222
### set the following environment variable or uncomment the line if
2323
### the Unicode data files should be updated completely on every update ('make up',...).
@@ -1301,6 +1301,9 @@ UNICODE_PROPERTY_FILES = \
13011301
$(UNICODE_SRC_DATA_DIR)/PropertyAliases.txt \
13021302
$(UNICODE_SRC_DATA_DIR)/PropertyValueAliases.txt \
13031303
$(UNICODE_SRC_DATA_DIR)/Scripts.txt \
1304+
$(empty)
1305+
1306+
UNICODE_AUXILIARY_FILES = \
13041307
$(UNICODE_SRC_DATA_DIR)/auxiliary/GraphemeBreakProperty.txt \
13051308
$(UNICODE_SRC_DATA_DIR)/auxiliary/GraphemeBreakTest.txt \
13061309
$(empty)
@@ -1323,6 +1326,13 @@ UNICODE_DOWNLOAD = \
13231326
-d $(UNICODE_SRC_DATA_DIR) \
13241327
-p $(UNICODE_VERSION)/ucd \
13251328
-e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode
1329+
UNICODE_AUXILIARY_DOWNLOAD = \
1330+
$(BASERUBY) $(srcdir)/tool/downloader.rb \
1331+
--cache-dir=$(CACHE_DIR) \
1332+
--unicode-beta $(UNICODE_BETA) \
1333+
-d $(UNICODE_SRC_DATA_DIR)/auxiliary \
1334+
-p $(UNICODE_VERSION)/ucd/auxiliary \
1335+
-e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode
13261336
UNICODE_EMOJI_DOWNLOAD = \
13271337
$(BASERUBY) $(srcdir)/tool/downloader.rb \
13281338
--cache-dir=$(CACHE_DIR) \
@@ -1334,8 +1344,10 @@ UNICODE_EMOJI_DOWNLOAD = \
13341344
$(UNICODE_PROPERTY_FILES): update-unicode-property-files
13351345
update-unicode-property-files:
13361346
$(ECHO) Downloading Unicode $(UNICODE_VERSION) property files...
1337-
$(Q) $(MAKEDIRS) "$(UNICODE_SRC_DATA_DIR)/auxiliary"
13381347
$(Q) $(UNICODE_DOWNLOAD) $(UNICODE_PROPERTY_FILES)
1348+
$(ECHO) Downloading Unicode $(UNICODE_VERSION) auxiliary files...
1349+
$(Q) $(MAKEDIRS) "$(UNICODE_SRC_DATA_DIR)/auxiliary"
1350+
$(Q) $(UNICODE_AUXILIARY_DOWNLOAD) $(UNICODE_AUXILIARY_FILES)
13391351
$(ECHO) Downloading Unicode emoji $(UNICODE_EMOJI_VERSION) files...
13401352
$(Q) $(MAKEDIRS) "$(UNICODE_SRC_EMOJI_DATA_DIR)"
13411353
$(Q) $(UNICODE_EMOJI_DOWNLOAD) $(UNICODE_EMOJI_FILES)

debian/Dockerfile.buster

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See also: https://github.com/sorah/config/blob/master/bin/sorah-debuild
2+
FROM debian:buster
3+
4+
# just to invalidate cache
5+
ENV NKMIBUILDREV=1
6+
7+
RUN mkdir -p /build \
8+
&& apt-get update \
9+
&& apt-get install -y debhelper dh-make devscripts gnupg2 vim equivs
10+
RUN mkdir -p -m700 /root/.gnupg
11+
12+
ADD control /control
13+
RUN mk-build-deps -i --t 'apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends' /control
14+
RUN apt-get install -y tzdata

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
ruby2.6 (2.6.3-0nkmi1~dist) unstable; urgency=medium
2+
3+
* 2.6.3
4+
5+
-- Sorah Fukumori <[email protected]> Fri, 12 Jul 2019 21:32:50 +0000
6+
17
ruby2.6 (2.6.2-0nkmi1~dist) unstable; urgency=medium
28

39
* 2.6.2

0 commit comments

Comments
 (0)