Commit graph

64552 commits

Author SHA1 Message Date
Takashi Kokubun
c6b7b4f6f4
Report a more detailed situation of test_ractor.rb:137
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-24 19:50:42 -08:00
Takashi Kokubun
26e3aea94f
Overwrite all existing files when extracting zlib
To prevent CI failure like
36494552/job/a3ow8atl19786tep
2020-11-24 19:26:42 -08:00
Aaron Patterson
63ad55cd88
Disable auto compaction on platforms that can't support it
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-24 14:48:19 -08:00
Aaron Patterson
87d21ee996
add HEAP_PAGE_SIZE to internal constants 2020-11-24 13:30:26 -08:00
Aaron Patterson
490b57783d Disable read barrier on explicit compaction request
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-24 12:38:05 -08:00
git
b4dd7310ca * 2020-11-25 [ci skip] 2020-11-25 00:01:57 +09:00
Jeremy Evans
b26d6c70e0 Detect the premature end of char property in regexp
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]
2020-11-24 16:01:30 +01:00
Takashi Kokubun
237cb94cf5
Handle calloc failure
for cfd8c7e6ca.
2020-11-24 00:02:52 -08:00
Takashi Kokubun
cfd8c7e6ca
Prefer calloc/free over ZALLOC/xfree
To avoid SEGV like
http://ci.rvm.jp/logfiles/brlog.trunk-mjit.20201124-061530
2020-11-23 23:48:06 -08:00
Sutou Kouhei
0deb06bfa4 Add CSV 3.1.9 to NEWS 2020-11-24 09:33:55 +09:00
Sutou Kouhei
832b7f3c54 [ruby/csv] Add support for \r\n with skip_lines: /...$/ again
GitHub: fix GH-194

Reported by Josef Šimánek. Thanks!!!

fd86afe081
2020-11-24 09:33:55 +09:00
Sutou Kouhei
f9935205ac [ruby/csv] Bump version
e1b430d965
2020-11-24 09:33:55 +09:00
Hiroshi SHIBATA
f9d6d762dc [ruby/csv] Removed needless editorconfig file (#192)
5623dee00e
2020-11-24 09:33:55 +09:00
Burdette Lamar
20a9131270 [ruby/csv] RDoc recipes for RFC-compliant generation (#187)
5adeaff91f
2020-11-24 09:33:55 +09:00
Burdette Lamar
d48e688f64 [ruby/csv] RDoc recipes for diagnostics (#186)
d9e67918e2
2020-11-24 09:33:55 +09:00
Burdette Lamar
9266410c7a [ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)
bee48b04c4
2020-11-24 09:33:55 +09:00
Burdette Lamar
c5fcafd2fd [ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)
Co-authored-by: Sutou Kouhei <kou@clear-code.com>

f0bab6a592
2020-11-24 09:33:55 +09:00
Burdette Lamar
3cfb63fcd8 [ruby/csv] More on Recipes headers (#183)
d7ae3df801
2020-11-24 09:33:55 +09:00
Burdette Lamar
15e457d6a3 [ruby/csv] Refine RDoc for headers recipes (#182)
bd8085e126
2020-11-24 09:33:55 +09:00
Burdette Lamar
6e28ec06c1 [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)
c52d53761e
2020-11-24 09:33:55 +09:00
Burdette Lamar
4641a9a92b [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)
c7bbedd28a
2020-11-24 09:33:55 +09:00
Burdette Lamar
76e5e5aaec [ruby/csv] More RDoc for field converters (#179)
2a4ef5d86a
2020-11-24 09:33:55 +09:00
Burdette Lamar
5a0c8068c8 [ruby/csv] Clarify and correct RDoc for converters (#178)
f3e9586b34
2020-11-24 09:33:55 +09:00
Burdette Lamar
4be336b1b7 [ruby/csv] Recipes for field converters (#177)
aea896f030
2020-11-24 09:33:55 +09:00
Burdette Lamar
98d52d873e [ruby/csv] Organize page Recipes better (#176)
338b7f0d57
2020-11-24 09:33:55 +09:00
Burdette Lamar
8ea293b79c [ruby/csv] Experimenting with recipes in CSV RDoc (#175)
01ffd0d2de
2020-11-24 09:33:55 +09:00
Burdette Lamar
614afb1647 [ruby/csv] Fix CSV.filter to preserve headers (#174)
Co-authored-by: Sutou Kouhei <kou@clear-code.com>

203c5e0574
2020-11-24 09:33:55 +09:00
Burdette Lamar
207f2acc13 [ruby/csv] Enhanced RDoc for CSV::Row (#173)
99956c671d
2020-11-24 09:33:55 +09:00
Burdette Lamar
e8954fa13b [ruby/csv] Enhanced RDoc for CSV::Row (#171)
cced8d8de9
2020-11-24 09:33:55 +09:00
Burdette Lamar
31ccc233b1 [ruby/csv] Enhanced RDoc for Row#[]= (#170)
744e83043f
2020-11-24 09:33:55 +09:00
Burdette Lamar
d99bca9012 [ruby/csv] Enhanced RDoc for Table::Row (#169)
70ed12c1aa
2020-11-24 09:33:55 +09:00
Sutou Kouhei
0543db40d8 [ruby/csv] Don't change initialize_copy's return value
cf3b60db1c
2020-11-24 09:33:55 +09:00
Burdette Lamar
d2913f912f [ruby/csv] Add link to Wikipedia article Table (#167)
fe975c41d2
2020-11-24 09:33:55 +09:00
Burdette Lamar
7deff8880f [ruby/csv] Enhanced RDoc for CSV::Table (#165)
bce4b696a7
2020-11-24 09:33:55 +09:00
Burdette Lamar
72997f4867 [ruby/csv] Enhanced RDoc for values_at, <<, and push (#164)
bb3eb242f2
2020-11-24 09:33:55 +09:00
Burdette Lamar
3283ef1a7e [ruby/csv] Enhanced RDoc for Table#[] (#162)
* Enhanced RDoc for Table#[]

* Enhanced RDoc for Table#[]

5575ffc82e
2020-11-24 09:33:55 +09:00
Sutou Kouhei
067b2175e8 [ruby/csv] Bump version
e7628e6930
2020-11-24 09:33:55 +09:00
Sutou Kouhei
62d123dfa0 [ruby/csv] Disable stringio >= 0.1.3 dependency
If we have it, we can use the csv gem with a Rack application on
Passenger.

e0c7074a82
2020-11-24 09:33:55 +09:00
git
3a7ea6a013 * 2020-11-24 [ci skip] 2020-11-24 08:40:05 +09:00
Nobuyoshi Nakada
3ce5434fec
Ignore static-ruby [ci skip]
static-ruby is statically linked against libruby, even when
configured with --enable-shared.
2020-11-24 08:38:06 +09:00
Nobuyoshi Nakada
48d1e8682c
zlib: patches for mswin64
* 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.
2020-11-24 08:27:08 +09:00
Nobuyoshi Nakada
78c40e6588
zlib: extlibs to download zlib-1.2.11 2020-11-24 08:22:54 +09:00
Nobuyoshi Nakada
abb672e14f
Suppress a format-overflow warning 2020-11-23 18:31:51 +09:00
Nobuyoshi Nakada
2939c57ca7
Check if _FORTIFY_SOURCE really works
i686-pc-cygwin gcc 6.4.0 seems broken around ssp.h, when compiling
with both of optimization and _FORTIFY_SOURCE.
2020-11-23 17:56:23 +09:00
Takashi Kokubun
53e352fd71
Increase the # of downloader.rb's retry attempts
Apparently 9 was not enough either.
20201123T063303Z.fail.html.gz
2020-11-23 00:06:51 -08:00
Takashi Kokubun
1fea0367d2
Clarify the intention of false && 2020-11-22 22:09:42 -08:00
Takashi Kokubun
2700df3c9d
ruby/internal/config.h needs to be included first
to define USE_MJIT.
2020-11-22 21:02:01 -08:00
Takashi Kokubun
0a2b987696
Make --disable-jit-support compile
vm_core.h needs to be included to know rb_execution_context_t, etc.
I also added a trivial refactoring in mjit.c and missing dependency for
process.c.
2020-11-22 20:55:33 -08:00
Takashi Kokubun
01f38693aa
Remove obsoleted internal/mjit.h inclusion
🙇
2020-11-22 20:28:34 -08:00
Takashi Kokubun
8646f90263
Remove obsoleted internal/mjit.h
Sorry, I forgot to delete this at 55866565c2.
2020-11-22 20:23:50 -08:00