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

63823 Коммитов

Автор SHA1 Сообщение Дата
Burdette Lamar 31ccc233b1 [ruby/csv] Enhanced RDoc for Row#[]= (#170)
https://github.com/ruby/csv/commit/744e83043f
2020-11-24 09:33:55 +09:00
Burdette Lamar d99bca9012 [ruby/csv] Enhanced RDoc for Table::Row (#169)
https://github.com/ruby/csv/commit/70ed12c1aa
2020-11-24 09:33:55 +09:00
Sutou Kouhei 0543db40d8 [ruby/csv] Don't change initialize_copy's return value
https://github.com/ruby/csv/commit/cf3b60db1c
2020-11-24 09:33:55 +09:00
Burdette Lamar d2913f912f [ruby/csv] Add link to Wikipedia article Table (#167)
https://github.com/ruby/csv/commit/fe975c41d2
2020-11-24 09:33:55 +09:00
Burdette Lamar 7deff8880f [ruby/csv] Enhanced RDoc for CSV::Table (#165)
https://github.com/ruby/csv/commit/bce4b696a7
2020-11-24 09:33:55 +09:00
Burdette Lamar 72997f4867 [ruby/csv] Enhanced RDoc for values_at, <<, and push (#164)
https://github.com/ruby/csv/commit/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#[]

https://github.com/ruby/csv/commit/5575ffc82e
2020-11-24 09:33:55 +09:00
Sutou Kouhei 067b2175e8 [ruby/csv] Bump version
https://github.com/ruby/csv/commit/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.

https://github.com/ruby/csv/commit/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.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/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
Takashi Kokubun 55866565c2
Combine mjit.h and internal/mjit.h
It's very hard to remember which mjit.h has what.
2020-11-22 20:22:21 -08:00
Nobuyoshi Nakada afd765f2ee
Initialize UTF-8 encoding first as it is used always now 2020-11-23 09:45:17 +09:00
git d83aa3c2f5 * 2020-11-23 [ci skip] 2020-11-23 00:11:08 +09:00
Takashi Kokubun fa1250a506
Stop leaving .c files for JIT compaction in /tmp (#3802)
* 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]
2020-11-22 07:10:44 -08:00
Nobuyoshi Nakada 175952bf07
NEWS for [Feature #16233] [ci skip] 2020-11-22 23:08:38 +09:00
Nobuyoshi Nakada 82e836dc7d
Use hex-encoded binaries instead of UTF-8
Which UTF-8 char corresponds to the binary representation is
nonsense for other encodings, and just confusing.
2020-11-22 22:51:28 +09:00
Lars Kanis d403591b34
Add string encoding IBM720 alias CP720 (#3803)
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
2020-11-22 22:23:40 +09:00
aycabta 2d112c346a [ruby/irb] Stop using bang version for #inspect of result
https://github.com/ruby/irb/commit/fc1426d34e
2020-11-22 21:00:11 +09:00
Benoit Daloze afb8aba4af [ruby/irb] Add a fallback for check_code_block that does not depend on implementation-private APIs
* Fixes https://github.com/ruby/irb/issues/133

https://github.com/ruby/irb/commit/5eb3ef3293
2020-11-22 21:00:11 +09:00
Nobuhiro IMAI 5218f17737 [ruby/irb] support more body argument for oneliner method definition
https://github.com/ruby/irb/commit/2ff1295533
2020-11-22 21:00:11 +09:00
Nobuyoshi Nakada 7c879cbb3f
Suppress a unused-variable warning 2020-11-22 19:10:58 +09:00
Nobuyoshi Nakada 75d48a533d
rubyspec-capiext: Use plain DLDFLAGS without flags for libruby 2020-11-22 19:09:58 +09:00
Takashi Kokubun 7ade7a8603
Clarify the intention of the include guard
This was a leftover of 27d5af59a3.
2020-11-21 23:44:49 -08:00
Takashi Kokubun 9eb34c2c9e
Make c_file / so_file construction consistent
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.
2020-11-21 22:38:23 -08:00
Takashi Kokubun e0156bd396
Make sure all threads are scanned on unload_units
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.
2020-11-21 19:36:55 -08:00
Nobuyoshi Nakada eb3906c6b8
dist: added DISTOPTS and PKGSDIR 2020-11-22 11:32:22 +09:00
Nobuyoshi Nakada e9c3de4764
make-snapshot: don't store symlinks by 7z for reproduceable pacakges 2020-11-22 11:30:02 +09:00
Nobuyoshi Nakada 0f51105ece
make-snapshot: measure archiving times 2020-11-22 11:01:17 +09:00
Nobuyoshi Nakada 821aa35c8b
make-snapshot: suppress messages copying cached files unless verbose 2020-11-22 10:59:32 +09:00
Nobuyoshi Nakada 11cd9339a8
make-snapshot: clean autoconf caches for reproduceable packages 2020-11-22 10:49:02 +09:00
git 5512de7603 * 2020-11-22 [ci skip] 2020-11-22 09:10:35 +09:00
Nobuyoshi Nakada 43a9a974e2
[Bug #17021] Make host_* values consistent with target_* 2020-11-21 23:21:52 +09:00
Nobuyoshi Nakada ece917bab3
Added rubyspec-capiext target
This target builds extensions for rubyspec optional C-API tests.
2020-11-21 23:17:48 +09:00
Takashi Kokubun a6db9e8d7b
Remove the unused o_file definition
It's calculated inside compile_c_to_so again.
2020-11-21 00:29:52 -08:00
Takashi Kokubun 8750d001c2
Fix wrong #ifdef usages with #if
Apparently #ifdef is always true
2020-11-20 23:48:43 -08:00
Takashi Kokubun 27d5af59a3
Unify some confusing macro usages
_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 5eb446d12f.
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.
2020-11-20 23:39:30 -08:00
Jeremy Evans d645f18f0f Minor fixes to NEWS for String subclass method change [ci skip] 2020-11-20 23:36:46 -08:00
Takashi Kokubun ed8e552d4d
Shrink the blocking region for compile_compact_jit_code
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.
2020-11-20 22:47:54 -08:00
Takashi Kokubun 3f8c60cf09
Remove obsoleted str_new_empty
since 58325daae3.

../string.c:1339:1: warning: ‘str_new_empty’ defined but not used [-Wunused-function]
 1339 | str_new_empty(VALUE str)
      | ^~~~~~~~~~~~~
2020-11-20 22:22:29 -08:00