aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configure.in, date: move ext/date-specific existence checkwip/cleanup-configureKazuki Yamaguchi2017-09-093-31/+7
| | | | | ext/date does not care of the type of timezone and altzone; just use have_var provided by mkmf.
* fixup! configure.in: don't check for atan2l() and atan2f()Kazuki Yamaguchi2017-09-091-2/+3
|
* configure.in: don't check for sys_nerrKazuki Yamaguchi2017-09-091-4/+0
| | | | We no longer use sys_nerr as of r3020.
* configure.in: don't check for existence and signedness of size_tKazuki Yamaguchi2017-09-091-3/+0
| | | | They are pointless.
* ext/socket/addrinfo.h: don't define offsetof() macroKazuki Yamaguchi2017-09-091-7/+0
| | | | | It's part of C89. Let's not define ourselves, as Ruby will not compile anyway on a system without offsetof().
* include/ruby/defines.h: assume C89-complianceKazuki Yamaguchi2017-09-091-14/+3
| | | | stdlib.h, stddef.h and string.h are part of C89.
* configure.in: don't check for dl_iterate_phdr()Kazuki Yamaguchi2017-09-091-1/+0
| | | | It is not used since r45335.
* configure.in: don't check for atan2l() and atan2f()Kazuki Yamaguchi2017-09-091-6/+2
| | | | | | We don't use them directly. The check was initially introduced to check whether the compiler conforms to C99 or not. This is not necessary since r45930.
* configure.in: don't check for llabs()Kazuki Yamaguchi2017-09-091-1/+0
| | | | It's not used.
* configure.in: don't check for broken memcmp()Kazuki Yamaguchi2017-09-095-23/+0
| | | | | Systems with a broken memcmp() are sufficiently old not to build Ruby successfully.
* configure.in: remove obsolete string.h replacementsKazuki Yamaguchi2017-09-099-143/+0
|
* configure.in: don't check for C89 math.h functionsKazuki Yamaguchi2017-09-095-62/+1
|
* configure.in: don't check for locale.hKazuki Yamaguchi2017-09-092-5/+0
| | | | locale.h is part of C89.
* configure.in: don't check for time.hKazuki Yamaguchi2017-09-093-20/+6
| | | | It's part of C89.
* configure.in: remove unused HAVE_TIMEZONE and TIMEZONE_VOIDKazuki Yamaguchi2017-09-091-12/+0
|
* configure.in: assume limits.h is always availableKazuki Yamaguchi2017-09-095-39/+3
| | | | It's a mandatory header in C89.
* configure.in: assume float.h is always availableKazuki Yamaguchi2017-09-097-14/+1
| | | | It is part of C89.
* configure.in: don't check whether ## preprocessor operator worksKazuki Yamaguchi2017-09-093-12/+1
| | | | This is part of C89.
* configure.in: assume stdarg.h existsKazuki Yamaguchi2017-09-0912-77/+15
| | | | It is part of C89.
* configure.in: don't check whether # operator worksKazuki Yamaguchi2017-09-092-24/+1
| | | | It is part of C89.
* configure.in: remove AC_C_CHAR_UNSIGNEDKazuki Yamaguchi2017-09-091-1/+0
| | | | We no longer use __CHAR_UNSIGNED__ since Ruby 1.4.0.
* configure.in: don't check for support for ANSI prototype declKazuki Yamaguchi2017-09-098-74/+18
| | | | Our minimum is already C89.
* configure.in: don't check whether string literal concatenation worksKazuki Yamaguchi2017-09-092-18/+0
| | | | It's part of C89.
* Sync .gitignore and svn:ignore and cleanup [ci skip]kazu2017-09-091-5/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-09-09svn2017-09-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fiber: fix machine stack marking when FIBER_USE_NATIVE is 0normal2017-09-082-1/+12
| | | | | | | | | | | | * cont.c (cont_mark): mark Fiber machine stack correctly when FIBER_USE_NATIVE is 0 * test/ruby/test_fiber.rb (test_mark_fiber): new test [Bug #13875] [ruby-core:82681] This bug appears to be introduced with r59557. ("refactoring Fiber status") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rollback to v1.15.4 version.hsbt2017-09-081-4/+3
| | | | | | In r59779, it contains current master version of bundler repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2017-09-080-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge bundler to standard libraries.hsbt2017-09-08409-1/+60699
| | | | | | | | | | | | | | | | | | rubygems 2.7.x depends bundler-1.15.x. This is preparation for rubygems and bundler migration. * lib/bundler.rb, lib/bundler/*: files of bundler-1.15.4 * spec/bundler/*: rspec examples of bundler-1.15.4. I applied patches. * https://github.com/bundler/bundler/pull/6007 * Exclude not working examples on ruby repository. * Fake ruby interpriter instead of installed ruby. * Makefile.in: Added test task named `test-bundler`. This task is only working macOS/linux yet. I'm going to support Windows environment later. * tool/sync_default_gems.rb: Added sync task for bundler. [Feature #12733][ruby-core:77172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: moved flagsnobu2017-09-082-3/+3
| | | | | | | | | | * configure.in (-DRUBY_DEVEL): moved from debugflags to XCFLAGS. this flags should be applied to the ruby core only. * configure.in (-fno-fast-math): moved from optflags to CFLAGS. this flag is not for optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix up r59776nobu2017-09-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move th->fiber to ec->fiber.ko12017-09-083-22/+23
| | | | | | | | * vm_core.h (rb_thread_t::fiber): move fiber field to rb_execution_context_t::fiber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update latest bundled-gems.hsbt2017-09-081-2/+2
| | | | | | | * minitest 5.10.3 * test-unit 3.2.5 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a label for bundled gems.hsbt2017-09-081-3/+3
| | | | | | "bundle gems" is a wrong name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* the working directory may not be srcdirusa2017-09-071-1/+1
| | | | | | | | * test/runner.rb (COVERAGE): should use require_relative instead of require, because the working directory may not be srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2017-09-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-09-08svn2017-09-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Measure the test coverage without SimpleCovmame2017-09-073-8/+80
| | | | | | | | | | | | | | | | | | | | | | | Now `make test-all COVERAGE=true` measures the test coverage by using `coverage.so` directly, and visualize the result by simplecov-html. There has been some problems in coverage measurement with SimpleCov. (They are not SimpleCov's fault, though.) (1) It is difficult to extract the measured data as a machine-readable format, such as Marshal. I want to visualize the coverage data with other coverage tools, such as LCOV and Cobertura. (I know we can use SimpleCov's formatter mechanism, but I don't want to depend upon SimpleCov so much.) (2) SimpleCov seems to miss some coverage data. For example, `lib/cgi.rb` and `lib/ostruct.rb` are dropped. I don't know why. (3) I have a plan to enhance `coverage.so` with branch coverage. It would be difficult to continue to only use SimpleCov as is. This is the most important reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove unneeded trace instruction for coveragemame2017-09-071-0/+5
| | | | | | | | | | | | | | When no instruction is emitted in `iseq_compile_each0` (i.e., when the line has no significant code), trace instruction for `RUBY_EVENT_LINE` has been optimized out. But trace for `RUBY_EVENT_COVERAGE` has not been removed. Now, it is also removed. `TestISeq#test_to_a_lines` has failed a long time under coverage measurement (`make test-all COVERAGE=true`). This change makes it pass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use `%i`-literal instead of array of symbolskazu2017-09-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix golfnobu2017-09-071-1/+5
| | | | | | | * common.mk (golf): MAINOBJ must be single object file name, so moved golf_prelude to EXTOBJS. [ruby-dev:50214] [Bug #13854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2017-09-07svn2017-09-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: unnormalized Fixnum valuenobu2017-09-078-5/+10
| | | | | | | * include/ruby/ruby.h (ST2FIX): fix unnormalized Fixnum value bug on mingw/mswin. [ruby-core:82687] [Bug #13877] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a typo [ci skip]kazu2017-09-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: fix false coderangenobu2017-09-062-9/+36
| | | | | | | | * string.c (rb_enc_str_scrub): enc can differ from the actual encoding of the string, the cached coderange is useless then. [ruby-core:82674] [Bug #13874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: optimize enumerate_grapheme_clustersnobu2017-09-061-1/+1
| | | | | | | * string.c (rb_str_enumerate_grapheme_clusters): optimize when single byte only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add mention of upgrade to Unicode 10.0.0 to NEWS fileduerst2017-09-061-1/+3
| | | | | | (this completes [Feature #13685]; [ci skip]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove Unicode 9.0.0-related filesduerst2017-09-062-43881/+0
| | | | | | We don't need these files anymore because we upgraded to Unicode 10.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update Ruby to Unicode 10.0.0duerst2017-09-064-78/+45236
| | | | | | | | | - In common.mk, set UNICODE_VERSION to 10.0.0 - Generate and add enc/unicode/10.0.0/casefold.h and enc/unicode/10.0.0/name2ctype.h - Update lib/unicode_normalize/tables.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update SimpleCov version (v0.10.0 -> v0.15.0)mame2017-09-061-2/+2
| | | | | | | To suppress warnings of Fixnum. Also simplecov-html updated (v0.10.0 -> v0.10.2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e