summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-25Prefer rb_module_new() over rb_define_module_id()Alan Wu
rb_define_module_id() doesn't do anything with its parameter so it's a bit confusing.
2020-11-26* 2020-11-26 [ci skip]git
2020-11-25Disable auto compaction on platforms that can't support itAaron Patterson
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]
2020-11-25should stop other ractors on transient_heap_evacuateKoichi Sasada
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.
2020-11-25fix error messageKoichi Sasada
2020-11-25show the error message before Ractor.yieldKoichi Sasada
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().
2020-11-24Revert "Disable auto compaction on platforms that can't support it"Aaron Patterson
This reverts commit 63ad55cd882e4010fe313d271af006a430b5ffa8. Revert "Disable read barrier on explicit compaction request" This reverts commit 490b57783d80f0c5f7882c66d9fb6aa02713c9a5.
2020-11-24Report a full_message on a worker crashTakashi Kokubun
A worker crash happens very often, but we're not sure why. I'd like to know a backtrace if it's available.
2020-11-24Skip test_ractor.rb:137 for --jit-min-calls=5Takashi Kokubun
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.
2020-11-24Report a more detailed situation of test_ractor.rb:137Takashi Kokubun
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.
2020-11-24Overwrite all existing files when extracting zlibTakashi Kokubun
To prevent CI failure like https://ci.appveyor.com/project/ruby/ruby/builds/36494552/job/a3ow8atl19786tep
2020-11-24Disable auto compaction on platforms that can't support itAaron Patterson
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]
2020-11-24add HEAP_PAGE_SIZE to internal constantsAaron Patterson
2020-11-24Disable read barrier on explicit compaction requestAaron Patterson
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" Notes: Merged: https://github.com/ruby/ruby/pull/3809
2020-11-25* 2020-11-25 [ci skip]git
2020-11-24Detect the premature end of char property in regexpJeremy Evans
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] Notes: Merged: https://github.com/ruby/ruby/pull/3807
2020-11-24Handle calloc failureTakashi Kokubun
for cfd8c7e6ca9f923cee3a062b548d0824fc67e9a5.
2020-11-23Prefer calloc/free over ZALLOC/xfreeTakashi Kokubun
To avoid SEGV like http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20201124-061530
2020-11-24Add CSV 3.1.9 to NEWSSutou Kouhei
Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Add support for \r\n with skip_lines: /...$/ againSutou Kouhei
GitHub: fix GH-194 Reported by Josef Šimánek. Thanks!!! https://github.com/ruby/csv/commit/fd86afe081 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/e1b430d965 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Removed needless editorconfig file (#192)Hiroshi SHIBATA
https://github.com/ruby/csv/commit/5623dee00e Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc recipes for RFC-compliant generation (#187)Burdette Lamar
https://github.com/ruby/csv/commit/5adeaff91f Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc recipes for diagnostics (#186)Burdette Lamar
https://github.com/ruby/csv/commit/d9e67918e2 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)Burdette Lamar
https://github.com/ruby/csv/commit/bee48b04c4 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)Burdette Lamar
Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/f0bab6a592 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] More on Recipes headers (#183)Burdette Lamar
https://github.com/ruby/csv/commit/d7ae3df801 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Refine RDoc for headers recipes (#182)Burdette Lamar
https://github.com/ruby/csv/commit/bd8085e126 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)Burdette Lamar
https://github.com/ruby/csv/commit/c52d53761e Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Emphasize with-headers over without-headers in recipes (#180)Burdette Lamar
https://github.com/ruby/csv/commit/c7bbedd28a Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] More RDoc for field converters (#179)Burdette Lamar
https://github.com/ruby/csv/commit/2a4ef5d86a Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Clarify and correct RDoc for converters (#178)Burdette Lamar
https://github.com/ruby/csv/commit/f3e9586b34 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Recipes for field converters (#177)Burdette Lamar
https://github.com/ruby/csv/commit/aea896f030 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Organize page Recipes better (#176)Burdette Lamar
https://github.com/ruby/csv/commit/338b7f0d57 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Experimenting with recipes in CSV RDoc (#175)Burdette Lamar
https://github.com/ruby/csv/commit/01ffd0d2de Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Fix CSV.filter to preserve headers (#174)Burdette Lamar
Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/203c5e0574 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for CSV::Row (#173)Burdette Lamar
https://github.com/ruby/csv/commit/99956c671d Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for CSV::Row (#171)Burdette Lamar
https://github.com/ruby/csv/commit/cced8d8de9 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for Row#[]= (#170)Burdette Lamar
https://github.com/ruby/csv/commit/744e83043f Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for Table::Row (#169)Burdette Lamar
https://github.com/ruby/csv/commit/70ed12c1aa Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Don't change initialize_copy's return valueSutou Kouhei
https://github.com/ruby/csv/commit/cf3b60db1c Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Add link to Wikipedia article Table (#167)Burdette Lamar
https://github.com/ruby/csv/commit/fe975c41d2 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for CSV::Table (#165)Burdette Lamar
https://github.com/ruby/csv/commit/bce4b696a7 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for values_at, <<, and push (#164)Burdette Lamar
https://github.com/ruby/csv/commit/bb3eb242f2 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Enhanced RDoc for Table#[] (#162)Burdette Lamar
* Enhanced RDoc for Table#[] * Enhanced RDoc for Table#[] https://github.com/ruby/csv/commit/5575ffc82e Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/e7628e6930 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Disable stringio >= 0.1.3 dependencySutou Kouhei
If we have it, we can use the csv gem with a Rack application on Passenger. https://github.com/ruby/csv/commit/e0c7074a82 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24* 2020-11-24 [ci skip]git
2020-11-24Ignore static-ruby [ci skip]Nobuyoshi Nakada
static-ruby is statically linked against libruby, even when configured with --enable-shared.
2020-11-24zlib: patches for mswin64Nobuyoshi Nakada
* cast to suppress C4267 warnings; no possible loss of data as following the comparison. * shift base address to suppress LNK4281; although /DYNAMICBASE is preferable, not sure from which version of link.exe supports it.