aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed a duplicate assertionNobuyoshi Nakada2020-11-261-1/+0
|
* Update TypeProf to 0.7.0Yusuke Endoh2020-11-261-1/+1
|
* Keep patched zlib filesNobuyoshi Nakada2020-11-261-2/+3
|
* Prefer rb_module_new() over rb_define_module_id()Alan Wu2020-11-252-3/+4
| | | | | rb_define_module_id() doesn't do anything with its parameter so it's a bit confusing.
* * 2020-11-26 [ci skip]git2020-11-261-1/+1
|
* Disable auto compaction on platforms that can't support itAaron Patterson2020-11-253-50/+134
| | | | | | | | | | | | | Both explicit compaction routines (gc_compact and the verify references form) need to clear the heap before executing compaction. Otherwise some objects may not be alive, and we'll need the read barrier. The heap must only contain *live* objects if we want to disable the read barrier during explicit compaction. The previous commit was missing the "clear the heap" phase from the "verify references" explicit compaction function. Fixes [Bug #17306]
* should stop other ractors on transient_heap_evacuateKoichi Sasada2020-11-251-0/+1
| | | | | | | | | transient_heap_evacuate() evacuates all living objects from theap to malloc mangaed memory. This evacuation can run in any ractors in parallel with other ractor's execution and it is danger. To stop such danger parallel execution, use rb_vm_barrier() to stop all other ractors.
* fix error messageKoichi Sasada2020-11-251-1/+1
|
* show the error message before Ractor.yieldKoichi Sasada2020-11-251-6/+7
| | | | | | | | | | | Ractor's error will be printed if Thread#report_on_exception is true (default), and error message is used. Without this patch, the exception object is sent by Ractor.yield and it can be shared with another ractor. http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/3269368 To prevent such sharing, show errors befor Ractor.yield().
* Revert "Disable auto compaction on platforms that can't support it"Aaron Patterson2020-11-243-119/+48
| | | | | | | | This reverts commit 63ad55cd882e4010fe313d271af006a430b5ffa8. Revert "Disable read barrier on explicit compaction request" This reverts commit 490b57783d80f0c5f7882c66d9fb6aa02713c9a5.
* Report a full_message on a worker crashTakashi Kokubun2020-11-241-1/+1
| | | | | A worker crash happens very often, but we're not sure why. I'd like to know a backtrace if it's available.
* Skip test_ractor.rb:137 for --jit-min-calls=5Takashi Kokubun2020-11-241-1/+1
| | | | | | | | | It's failing like http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3270373 but I have no bandwidth to fix it for now. We're still checking --jit-wait (without --jit-min-calls=5) on GitHub Actions.
* Report a more detailed situation of test_ractor.rb:137Takashi Kokubun2020-11-241-2/+2
| | | | | This test has been very unstable. I'd like to instantly know whether it's always failing or random when I look at a CI failure output.
* Overwrite all existing files when extracting zlibTakashi Kokubun2020-11-241-1/+1
| | | | | To prevent CI failure like https://ci.appveyor.com/project/ruby/ruby/builds/36494552/job/a3ow8atl19786tep
* Disable auto compaction on platforms that can't support itAaron Patterson2020-11-242-43/+90
| | | | | | | | | | Auto Compaction uses mprotect to implement a read barrier. mprotect can only work on regions of memory that are a multiple of the OS page size. Ruby's pages are a multiple of 4kb, but some platforms (like ppc64le) don't have 4kb page sizes. This commit disables the features on those platforms. Fixes [Bug #17306]
* add HEAP_PAGE_SIZE to internal constantsAaron Patterson2020-11-241-0/+1
|
* Disable read barrier on explicit compaction requestAaron Patterson2020-11-242-5/+29
| | | | | We don't need a read barrier when the user calls `GC.compact` because we don't allow allocations during GC, and all references should be "live"
* * 2020-11-25 [ci skip]git2020-11-251-1/+1
|
* Detect the premature end of char property in regexpJeremy Evans2020-11-242-2/+12
| | | | | | | | Default to ONIGERR_INVALID_CHAR_PROPERTY_NAME in fetch_char_property_to_ctype and only set otherwise if an ending } is found. Fixes [Bug #17340]
* Handle calloc failureTakashi Kokubun2020-11-241-0/+2
| | | | for cfd8c7e6ca9f923cee3a062b548d0824fc67e9a5.
* Prefer calloc/free over ZALLOC/xfreeTakashi Kokubun2020-11-231-2/+5
| | | | | To avoid SEGV like http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20201124-061530
* Add CSV 3.1.9 to NEWSSutou Kouhei2020-11-241-0/+4
|
* [ruby/csv] Add support for \r\n with skip_lines: /...$/ againSutou Kouhei2020-11-242-0/+7
| | | | | | | | GitHub: fix GH-194 Reported by Josef Šimánek. Thanks!!! https://github.com/ruby/csv/commit/fd86afe081
* [ruby/csv] Bump versionSutou Kouhei2020-11-241-1/+1
| | | | https://github.com/ruby/csv/commit/e1b430d965
* [ruby/csv] Removed needless editorconfig file (#192)Hiroshi SHIBATA2020-11-241-0/+0
| | | | https://github.com/ruby/csv/commit/5623dee00e
* [ruby/csv] RDoc recipes for RFC-compliant generation (#187)Burdette Lamar2020-11-242-10/+105
| | | | https://github.com/ruby/csv/commit/5adeaff91f
* [ruby/csv] RDoc recipes for diagnostics (#186)Burdette Lamar2020-11-241-0/+34
| | | | https://github.com/ruby/csv/commit/d9e67918e2
* [ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)Burdette Lamar2020-11-242-17/+209
| | | | https://github.com/ruby/csv/commit/bee48b04c4
* [ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)Burdette Lamar2020-11-245-240/+350
| | | | | | Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/f0bab6a592
* [ruby/csv] More on Recipes headers (#183)Burdette Lamar2020-11-241-86/+86
| | | | https://github.com/ruby/csv/commit/d7ae3df801
* [ruby/csv] Refine RDoc for headers recipes (#182)Burdette Lamar2020-11-241-55/+105
| | | | https://github.com/ruby/csv/commit/bd8085e126
* [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)Burdette Lamar2020-11-241-23/+61
| | | | https://github.com/ruby/csv/commit/c52d53761e
* [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)Burdette Lamar2020-11-241-103/+103
| | | | https://github.com/ruby/csv/commit/c7bbedd28a
* [ruby/csv] More RDoc for field converters (#179)Burdette Lamar2020-11-241-0/+28
| | | | https://github.com/ruby/csv/commit/2a4ef5d86a
* [ruby/csv] Clarify and correct RDoc for converters (#178)Burdette Lamar2020-11-241-25/+31
| | | | https://github.com/ruby/csv/commit/f3e9586b34
* [ruby/csv] Recipes for field converters (#177)Burdette Lamar2020-11-241-0/+53
| | | | https://github.com/ruby/csv/commit/aea896f030
* [ruby/csv] Organize page Recipes better (#176)Burdette Lamar2020-11-241-47/+78
| | | | https://github.com/ruby/csv/commit/338b7f0d57
* [ruby/csv] Experimenting with recipes in CSV RDoc (#175)Burdette Lamar2020-11-242-0/+326
| | | | https://github.com/ruby/csv/commit/01ffd0d2de
* [ruby/csv] Fix CSV.filter to preserve headers (#174)Burdette Lamar2020-11-242-2/+86
| | | | | | Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/203c5e0574
* [ruby/csv] Enhanced RDoc for CSV::Row (#173)Burdette Lamar2020-11-241-10/+44
| | | | https://github.com/ruby/csv/commit/99956c671d
* [ruby/csv] Enhanced RDoc for CSV::Row (#171)Burdette Lamar2020-11-242-31/+119
| | | | https://github.com/ruby/csv/commit/cced8d8de9
* [ruby/csv] Enhanced RDoc for Row#[]= (#170)Burdette Lamar2020-11-241-10/+47
| | | | https://github.com/ruby/csv/commit/744e83043f
* [ruby/csv] Enhanced RDoc for Table::Row (#169)Burdette Lamar2020-11-241-26/+100
| | | | https://github.com/ruby/csv/commit/70ed12c1aa
* [ruby/csv] Don't change initialize_copy's return valueSutou Kouhei2020-11-241-1/+2
| | | | https://github.com/ruby/csv/commit/cf3b60db1c
* [ruby/csv] Add link to Wikipedia article Table (#167)Burdette Lamar2020-11-241-0/+5
| | | | https://github.com/ruby/csv/commit/fe975c41d2
* [ruby/csv] Enhanced RDoc for CSV::Table (#165)Burdette Lamar2020-11-241-18/+101
| | | | https://github.com/ruby/csv/commit/bce4b696a7
* [ruby/csv] Enhanced RDoc for values_at, <<, and push (#164)Burdette Lamar2020-11-241-15/+74
| | | | https://github.com/ruby/csv/commit/bb3eb242f2
* [ruby/csv] Enhanced RDoc for Table#[] (#162)Burdette Lamar2020-11-241-8/+85
| | | | | | | | * Enhanced RDoc for Table#[] * Enhanced RDoc for Table#[] https://github.com/ruby/csv/commit/5575ffc82e
* [ruby/csv] Bump versionSutou Kouhei2020-11-241-1/+1
| | | | https://github.com/ruby/csv/commit/e7628e6930
* [ruby/csv] Disable stringio >= 0.1.3 dependencySutou Kouhei2020-11-241-1/+1
| | | | | | | If we have it, we can use the csv gem with a Rack application on Passenger. https://github.com/ruby/csv/commit/e0c7074a82