aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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
* * 2020-11-24 [ci skip]git2020-11-241-1/+1
|
* Ignore static-ruby [ci skip]Nobuyoshi Nakada2020-11-241-0/+1
| | | | | static-ruby is statically linked against libruby, even when configured with --enable-shared.
* zlib: patches for mswin64Nobuyoshi Nakada2020-11-243-1/+101
| | | | | | | | * 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.
* zlib: extlibs to download zlib-1.2.11Nobuyoshi Nakada2020-11-241-0/+7
|
* Suppress a format-overflow warningNobuyoshi Nakada2020-11-231-2/+5
|
* Check if _FORTIFY_SOURCE really worksNobuyoshi Nakada2020-11-231-1/+2
| | | | | i686-pc-cygwin gcc 6.4.0 seems broken around ssp.h, when compiling with both of optimization and _FORTIFY_SOURCE.
* Increase the # of downloader.rb's retry attemptsTakashi Kokubun2020-11-231-1/+1
| | | | | Apparently 9 was not enough either. https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20201123T063303Z.fail.html.gz
* Clarify the intention of `false &&`Takashi Kokubun2020-11-221-1/+2
|
* ruby/internal/config.h needs to be included firstTakashi Kokubun2020-11-223-3/+4
| | | | to define USE_MJIT.
* Make --disable-jit-support compileTakashi Kokubun2020-11-223-3/+3
| | | | | | 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.
* Remove obsoleted internal/mjit.h inclusionTakashi Kokubun2020-11-225-5/+1
| | | | :bow:
* Remove obsoleted internal/mjit.hTakashi Kokubun2020-11-221-29/+0
| | | | Sorry, I forgot to delete this at 55866565c24765a1722e2c415a6776f3f77e89d0.
* Combine mjit.h and internal/mjit.hTakashi Kokubun2020-11-222-17/+25
| | | | It's very hard to remember which mjit.h has what.
* Initialize UTF-8 encoding first as it is used always nowNobuyoshi Nakada2020-11-231-3/+3
|
* * 2020-11-23 [ci skip]git2020-11-231-1/+1
|
* Stop leaving .c files for JIT compaction in /tmp (#3802)Takashi Kokubun2020-11-222-58/+52
| | | | | | | | | * Re-generate C files for JIT compaction every time * Refactor in_jit return logic * Just write code in a single file * Add a TODO comment [ci skip]
* NEWS for [Feature #16233] [ci skip]Nobuyoshi Nakada2020-11-221-0/+7
|
* Use hex-encoded binaries instead of UTF-8Nobuyoshi Nakada2020-11-221-2/+2
| | | | | Which UTF-8 char corresponds to the binary representation is nonsense for other encodings, and just confusing.
* Add string encoding IBM720 alias CP720 (#3803)Lars Kanis2020-11-226-1/+154
| | | | | | The mapping table is generated from the ICU project: https://github.com/unicode-org/icu/blob/master/icu4c/source/data/mappings/ibm-720_P100-1997.ucm Fixes bug 16233 : https://bugs.ruby-lang.org/issues/16233
* [ruby/irb] Stop using bang version for #inspect of resultaycabta2020-11-221-1/+1
| | | | https://github.com/ruby/irb/commit/fc1426d34e
* [ruby/irb] Add a fallback for check_code_block that does not depend on ↵Benoit Daloze2020-11-221-2/+7
| | | | | | | | implementation-private APIs * Fixes https://github.com/ruby/irb/issues/133 https://github.com/ruby/irb/commit/5eb3ef3293
* [ruby/irb] support more body argument for oneliner method definitionNobuhiro IMAI2020-11-222-9/+5
| | | | https://github.com/ruby/irb/commit/2ff1295533
* Suppress a unused-variable warningNobuyoshi Nakada2020-11-221-0/+2
|
* rubyspec-capiext: Use plain DLDFLAGS without flags for librubyNobuyoshi Nakada2020-11-222-3/+5
|
* Clarify the intention of the include guardTakashi Kokubun2020-11-211-2/+2
| | | | This was a leftover of 27d5af59a359909e0d434459c30cfc0940f60a5b.
* Make c_file / so_file construction consistentTakashi Kokubun2020-11-211-23/+9
| | | | | | | convert_unit_to_func's c_func / so_func construction is unnecessarily complicated while it's not really safer than what compact_all_jit_code does. So I changed convert_unit_to_func to be consistent with compact_all_jit_code.
* Make sure all threads are scanned on unload_unitsTakashi Kokubun2020-11-213-14/+17
| | | | | | | | | | | This has been a TODO since 79df14c04b. While adcf0316d1 covered the root_fiber of the initial thread, it didn't cover root_fibers of other threads. Now it's hooked properly in rb_threadptr_root_fiber_setup. With regards to "XXX: Is this mjit_cont `mjit_cont_free`d?", when rb_threadptr_root_fiber_release is called, although I'm not sure when th->root_fiber is truthy, fiber_free seems to call cont_free and mjit_cont_free. So mjit_conts of root_fibers seem to be freed properly.
* dist: added DISTOPTS and PKGSDIRNobuyoshi Nakada2020-11-221-1/+2
|
* make-snapshot: don't store symlinks by 7z for reproduceable pacakgesNobuyoshi Nakada2020-11-221-1/+1
|
* make-snapshot: measure archiving timesNobuyoshi Nakada2020-11-221-3/+13
|
* make-snapshot: suppress messages copying cached files unless verboseNobuyoshi Nakada2020-11-221-1/+1
|
* make-snapshot: clean autoconf caches for reproduceable packagesNobuyoshi Nakada2020-11-221-0/+1
|
* * 2020-11-22 [ci skip]git2020-11-221-1/+1
|
* [Bug #17021] Make host_* values consistent with target_*Nobuyoshi Nakada2020-11-211-1/+6
|
* Added rubyspec-capiext targetNobuyoshi Nakada2020-11-211-0/+10
| | | | This target builds extensions for rubyspec optional C-API tests.
* Remove the unused o_file definitionTakashi Kokubun2020-11-211-9/+0
| | | | It's calculated inside compile_c_to_so again.
* Fix wrong #ifdef usages with #ifTakashi Kokubun2020-11-202-8/+8
| | | | Apparently #ifdef is always true
* Unify some confusing macro usagesTakashi Kokubun2020-11-202-21/+21
| | | | | | | | | | | | | | _MSC_VER used to be the macro to switch JIT compaction. However, since d4381d2ceb, the correct macro to switch it was changed from _MSC_VER to _WIN32. As I didn't properly replace all relevant _MSC_VER usages to _WIN32, these macros have been used inconsistently. nobu replaced _WIN32 with USE_HEADER_TRANSFORMATION in 5eb446d12f3. Therefore we had USE_HEADER_TRANSFORMATION and _MSC_VER. This commit makes sure such inconsistent _MSC_VER usages will be unified to the new header, also renaming it to USE_JIT_COMPACTION to be more precise about the requirements. The header transformation itself is not quite relevant to places changed in this commit.
* Minor fixes to NEWS for String subclass method change [ci skip]Jeremy Evans2020-11-201-3/+5
|
* Shrink the blocking region for compile_compact_jit_codeTakashi Kokubun2020-11-201-4/+3
| | | | | | | | Isn't setting `in_compact = true` enough to avoid a race condition between JIT compaction and unload_units? Now I think it is. This change will make it easier to spend more time on compile_compact_jit_code. For now it seems to take only 0.0723ms though.
* Remove obsoleted str_new_emptyTakashi Kokubun2020-11-201-8/+0
| | | | | | | | since 58325daae3beefda13ed100782cd19a89cc68771. ../string.c:1339:1: warning: ‘str_new_empty’ defined but not used [-Wunused-function] 1339 | str_new_empty(VALUE str) | ^~~~~~~~~~~~~
* Eliminate IVC sync between JIT and Ruby threads (#3799)Takashi Kokubun2020-11-203-122/+15
| | | | Thanks to Ractor (https://github.com/ruby/ruby/pull/2888 and https://github.com/ruby/ruby/pull/3662), inline caches support parallel access now.
* Update NEWS for String subclass method change [ci skip]Jeremy Evans2020-11-201-0/+41
|
* Make String methods return String instances when called on a subclass instanceJeremy Evans2020-11-2028-211/+591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the following String methods to return String instances instead of subclass instances: * String#* * String#capitalize * String#center * String#chomp * String#chop * String#delete * String#delete_prefix * String#delete_suffix * String#downcase * String#dump * String#each/#each_line * String#gsub * String#ljust * String#lstrip * String#partition * String#reverse * String#rjust * String#rpartition * String#rstrip * String#scrub * String#slice! * String#slice/#[] * String#split * String#squeeze * String#strip * String#sub * String#succ/#next * String#swapcase * String#tr * String#tr_s * String#upcase This also fixes a bug in String#swapcase where it would return the receiver instead of a copy of the receiver if the receiver was the empty string. Some string methods were left to return subclass instances: * String#+@ * String#-@ Both of these methods will return the receiver (subclass instance) in some cases, so it is best to keep the returned class consistent. Fixes [#10845]
* [DOC] Ripper.{lex,tokenize} now always return full tokens. [ci skip]Nobuhiro IMAI2020-11-201-4/+2
|