Граф коммитов

1215 Коммитов

Автор SHA1 Сообщение Дата
Kazuhiro NISHIYAMA cbec533677
Add gem names [ci skip] 2019-10-23 13:23:43 +09:00
Kazuhiro NISHIYAMA 5d7aef20dd
Trivial fixes [ci skip] 2019-10-23 13:18:48 +09:00
Kazuhiro NISHIYAMA 959ddf44b3
Fix typos [ci skip] 2019-10-23 12:00:44 +09:00
Yusuke Endoh 501b517dfb NEWS: add a URL about the performance improvement of CGI.escapeHTML 2019-10-22 20:06:07 +09:00
Yusuke Endoh 02aadf1032 NEWS: Fix the example of Lazy#eager 2019-10-22 19:46:44 +09:00
Yusuke Endoh fac4339a12 NEWS: add an example for Lazy#eager 2019-10-22 19:39:42 +09:00
Yusuke Endoh 0e735b218f NEWS: Make Net::FTP#features and #option more informative 2019-10-22 19:32:04 +09:00
Nobuyoshi Nakada 62d4382877 Arguments forwarding [Feature #16253] 2019-10-22 02:35:43 +09:00
Nobuyoshi Nakada 35f90bf1b9
NEWS: fixed method names [ci skip] 2019-10-22 01:27:49 +09:00
Nobuyoshi Nakada 6067c0a220
NEWS: fixed mark-up [ci skip] 2019-10-22 01:27:26 +09:00
Koichi Sasada ee302f54a0 add an NEWS entry about [Feature #15575] 2019-10-22 01:06:53 +09:00
Koichi Sasada 9bbc28340e add a NEWS entry about Proc#to_s change 2019-10-22 01:04:47 +09:00
Koichi Sasada 0f0d05a3b1 fix NEWS entry about unbundled gems 2019-10-22 01:04:47 +09:00
Nobuyoshi Nakada ec2da08e2b
NEWS: fixed indents [ci skip] 2019-10-21 21:32:40 +09:00
Yusuke Endoh 228ebdbf2f NEWS: fix a typo 2019-10-21 21:26:47 +09:00
Yusuke Endoh c8f97d1620 NEWS: structured the "Language changes" section
There were too many items in the section in somewhat random order.
This change creates the following five subsections:

* Pattern matching
* The spec of keyword arguments is changed towards 3.0
* Numbered parameter
* proc/lambda without no block is deprecated
* Other miscellaneous changes

Also it adds a handful of example code.
2019-10-21 18:46:54 +09:00
Koichi Sasada 8b8b9c1a1f add a NEWS entry about [Feature #15602] 2019-10-21 16:48:37 +09:00
Koichi Sasada caac5f777a
make monitor.so for performance. (#2576)
Recent monitor.rb has performance problem because of interrupt
handlers. 'Monitor#synchronize' is frequently used primitive
so the performance of this method is important.

This patch rewrite 'monitor.rb' with 'monitor.so' (C-extension)
and make it faster. See [Feature #16255] for details.

Monitor class objects are normal object which include MonitorMixin.
This patch introduce a Monitor class which is implemented on C
and MonitorMixin uses Monitor object as re-entrant (recursive)
Mutex. This technique improve performance because we don't need
to care atomicity and we don't need accesses to instance variables
any more on Monitor class.
2019-10-20 04:52:20 +09:00
Nobuyoshi Nakada 9cb809cfef
Verbatim texts need more indent [ci skip]
And separate ruby script and executed example.
2019-10-18 22:18:52 +09:00
Yusuke Endoh ddad1fb229 NEWS: Mention that optparse now supports did_you_mean for unknown option 2019-10-18 17:53:17 +09:00
Nobuyoshi Nakada 4f13927f1f
[DOC] no change on Windows [Bug #15267] [ci skip] 2019-10-17 19:43:10 +09:00
Nobuyoshi Nakada e169ad93f4 Fixed File.extname at a name ending with a dot
File.extname now returns a dot string at a name ending with a dot.
[Bug #15267]
2019-10-17 18:51:51 +09:00
Benoit Daloze 3fea2d91ad Use an even indent in NEWS for code
* Makes it easier to copy-paste and add code backticks.
2019-10-16 18:21:18 +02:00
Nobuyoshi Nakada 929d5fd3b9 Comparable#clamp with a range [Feature #14784] 2019-10-16 01:42:34 +09:00
Sutou Kouhei 95c420c4a6
Import StringScanner 1.0.3 (#2553) 2019-10-14 12:40:50 +09:00
Sutou Kouhei 92df7d98b6
Import CSV 3.1.2 (#2547) 2019-10-12 14:03:21 +09:00
Sutou Kouhei 412cd56766
Import REXML 3.2.3 (#2548) 2019-10-12 12:07:15 +09:00
Jeremy Evans 055a85d3d9 Update NEWS with Module#ruby2_keywords and a few other things 2019-10-07 12:56:52 -07:00
Prajjwal Singh c8542ab484 Add: Array#intersection method 2019-10-07 15:59:12 +09:00
Nobuyoshi Nakada 550a6a6bc1
NEWS: marked up `**nil` [ci skip] 2019-09-28 13:51:27 +09:00
Nobuyoshi Nakada d474243e8c
NEWS: Added module name to proc and lambda [ci skip]
RDoc cannot know if bare words are method name or not.
2019-09-28 13:51:09 +09:00
Jeremy Evans fd0e214183 Update NEWS section on keyword argument separation [ci skip]
This may be too verbose, if so, maybe it should be moved lower in
the document, or to a separate document.
2019-09-27 09:44:59 -07:00
Jean Boussier eff15a269f [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String
* Always the same frozen String for each of these values.
    * Avoids extra allocations whenever calling these 3 methods.
    * See [Feature #16150]
2019-09-27 13:52:33 +09:00
Nobuyoshi Nakada dd1e047fcb
NEWS: fixed markups and indent [ci skip]
C API updates:

* adjusted indent.
* marked up ANYARGS as RDoc.
2019-09-27 02:31:39 +09:00
Nobuyoshi Nakada 617fa3049a
NEWS: fixed markups and formatting [ci skip]
* got rid of inadvertent label lists.
* marked up resolve_feature_path method names.
* fixed indentation of UnboundMethod#bind_call and marked up as
  RDoc.
2019-09-27 00:48:48 +09:00
Jean Boussier 5b9d646944 Fix Module#name news and add a test 2019-09-26 23:29:49 +09:00
git 1070456bb8 * remove trailing spaces. [ci skip] 2019-09-26 20:25:42 +09:00
Jean Boussier 9d0866c7d7 [EXPERIMENTAL] Make Module#name return a frozen String
* Always the same frozen String for a given Module or Class.
    * Avoids extra allocations whenever calling Module#name.
    * See [Feature #16150]
2019-09-26 13:25:23 +02:00
Benoit Daloze 6ffc045a81 [EXPERIMENTAL] Make Symbol#to_s return a frozen String
* Always the same frozen String for a given Symbol.
* Avoids extra allocations whenever calling Symbol#to_s.
* See [Feature #16150]
2019-09-26 10:23:02 +02:00
Nobuyoshi Nakada 2683171994
[DOC] DOT is not a part of a receiver [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 16:43:39 +09:00
Hiroshi SHIBATA 9d25c652a9
Removed ThreadsWait from the ruby repository 2019-09-20 14:21:04 +09:00
Hiroshi SHIBATA 37c0839425
Removed Synchronizer from the ruby repository. 2019-09-20 14:06:22 +09:00
Hiroshi SHIBATA 3b56a0934f
Removed Shell from the ruby repository. 2019-09-20 12:56:18 +09:00
Hiroshi SHIBATA 67a6662032
Removed Scanf from the ruby repository. 2019-09-20 12:43:11 +09:00
Hiroshi SHIBATA a3b8501614
Removed CMath from the ruby repository. 2019-09-20 12:31:37 +09:00
Nobuyoshi Nakada b80df6e8e0
Update NEWS and documents [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 02:40:59 +09:00
NARUSE, Yui 5208c431be Separate Time#inspect from to_s and show subsec [Feature #15958] 2019-09-19 20:20:15 +09:00
Nobuyoshi Nakada 3a3f48fb8f
Comment lines can be placed between fluent dot now 2019-09-15 23:12:24 +09:00
Samuel Williams 9699a5c5bc
Update news regarding `Fiber#raise`. 2019-09-14 22:43:51 +12:00
Akinori MUSHA 1d4bd229b8
Implement Enumerator::Lazy#eager [Feature #15901] 2019-09-04 16:16:46 +09:00