summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2012-05-21 * .travis.yml (install): It seems tcl/tk is skipped in Travisshyouhei
CI. Trying to fix the situation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-21enc: fix dependenciesnobu
* enc/depend (ENCOBJS): add dependencies. * enc/make_encmake.rb (target_encodings): extract dependencies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-21* lib/net/ftp.rb (Net::FTP#transfercmd): rescue shutdown.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20ext/extmk.rb: reopen stdoutnobu
* ext/extmk.rb (extmake): reopen $stdout to NULL, since setting $stdout cannot affect child processes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20* enc/shift_jis.c (code_to_mbclen): returnnaruse
ONIGERR_INVALID_CODE_POINT_VALUE if the code is invalid. * enc/shift_jis.c (tr_next): increment character until the code is a valid character. [ruby-dev:45652] [Bug #6450] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20Bug #6462: EXTSOLIBSnobu
* Makefile.in (LIBRUBY_SO): link EXTSOLIBS too. * ext/extmk.rb (mf.macro): use EXTSOLIBS instead of SOLIBS to get rid of discard libraries needed by default. [Bug #6462] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19static-linked-ext: all linked rubynobu
* ext/extmk.rb (command_output): ENCOBJS is needed for all linked ruby, if --disable-shared and --with-static-linked-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19static-linked-ext: into librubynobu
* ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no static lined extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19static-linked-ext: into librubynobu
* Makefile.in, common.mk (PROGRAM): no extension libraries. * common.mk (build-ext): pass macros for libruby.so. * ext/extmk.rb (command_output): link extension libraries and encoding libraries into libruby.so, not ruby executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19ext/extmk.rb: fold long macronobu
* ext/extmk.rb (command_output): fold long macro lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19use LIBEXTnobu
* Makefile.in (LIBEXT): add macro. * configure.in (ENCOBJS, EXTOBJS): use LIBEXT, not hardcoded suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19fix typonobu
* Makefile.in (LIBRUBY_A): fix typo. re-applying r35242. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/openssl/extconf.rb: Use Logging::message instead of message.kosaki
* ext/zlib/extconf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18fix typos and spaceskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18[ruby-dev:45650]nobu
* lib/mkmf.rb (MakeMakefile#configuration): keep space at end of OUTFLAG and COUTFLAG. [ruby-dev:45650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* thread_pthread.c (rb_thread_create_timer_thread): Added errorkosaki
check when failing fcntl(). [Bug #6147] [ruby-dev:45364] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18ext/extmk.rb: link archives onlynobu
* ext/extmk.rb (extmake): link archives only, skip script only extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* cont.c: bump up fiber machine stack size when running on 64bitkosaki
arch. [Bug #6344] [ruby-dev:45554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* lib/uri/generic.rb (URI::Generic.build): duplicate args before addingnaruse
new items. (don't change arguments) * lib/uri/generic.rb (URI::Generic.build): use URI::Generic::COMPONENT if this method is called from URI::Generic. * lib/uri/generic.rb (URI::Generic.build2): escape only if the item is a String. * lib/uri/generic.rb (URI::Generic.build2): use DEFAULT_PARSER because it doesn't have parser method. [Bug #6420] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/zlib/extconf.rb: Use an exception instaed of bare puts.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/psych/extconf.rb: Use an exception instaed of bare abort.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/readline/extconf.rb: Use an exception instead of bare exit.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/ripper/extconf.rb: Use an exception instead of barekosaki
Logging.message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/openssl/extconf.rb: Clarify a message when hit Applekosaki
OpenSSL issue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-18* ext/extmk.rb: Show a message when extconf.rb raised an exception.kosaki
* ext/openssl/extconf.rb: Use exception raising instead of message and/or abort. We want to display error message to console _and_ logging into mkmf.log. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17* ext/syslog/lib/syslog/logger.rb: Added Syslog::Logger which wasdrbrain
ported from the SyslogLogger gem. [ruby-trunk - Feature #5096] * NEWS: ditto. * test/syslog/test_syslog_logger.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17* ext/psych/parser.c (transcode_string): fix encoding index names.tenderlove
Thanks markizko for reporting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17fix NaCl supportnobu
* configure.in: fix function name to be checked, to initialize rb_thread_cond_t properly. * thread_pthread.c (native_cond_initialize, native_cond_destroy): fix macro name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17* thread.c, thread_pthread.c: Moved pthread-specific preprocessoryugui
hacks to thread_pthread.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17* io.c: Fix a mistake on merging the patch in the previous commit.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17Imports Ruby's port to NativeClient (a.k.a NaCl).yugui
Patch by Google Inc. [ruby-core:45073]. * configure.in (RUBY_NACL): New M4 func to configure variables for NaCl. (RUBY_NACL_CHECK_PEPPER_TYPES): New M4 func to check the old names of Pepper interface types. (BTESTRUBY): New variable to specify which ruby should be run on "make btest". NaCl can run the built binary by sel_ldr, but it need rbconfig.rb. So this variable is distinguished from $MINIRUBY. * thread_pthread.c: Disabled some features on NaCl. * io.c: ditto. * process.c: ditto. * signal.c: ditto. * file.c: ditto. * missing/flock.c: ditto. * nacl/pepper_main.c: An example implementation of Pepper application that embeds Ruby. * nacl/example.html: An example of web page that uses the Pepper application. * nacl/nacl-config.rb: Detects variants of NaCl SDK. * nacl/GNUmakefile.in: Makefile template for NaCl specific build process. * nacl/package.rb: script for packaging a NaCl-Ruby embedding application. * nacl/reate_nmf.rb: Wrapper script of create_nmf.py * dln.c (dln_load): Added a hack to call on NaCl. * util.c (ruby_getcwd): Path to the current directort is not available on NaCl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17fix static-linked-extnobu
* ext/tk/extconf.rb: add -l options to $libs not $LDFLAGS, to be passed to EXTLIBS in exts.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17enc/encinit.c.erb: use %-linesnobu
* enc/encinit.c.erb: use %-lines to adjust indent in the generated file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17fix static-linked-extnobu
* lib/mkmf.rb (MakeMakefile#have_framework): combine -framework option and its argument with an equal sign not to be separated in merge_libs. * ext/tk/extconf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17fix static-linked-extnobu
* ext/extmk.rb: EXTLDFLAGS also needs to be passed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16configure.in: Fix an unbalanced quote.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16* ext/extmk.rb (exts.mk): use double quotes instead of single quotesusa
for commandline because it's not recognized as quotes on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16configure.in: use single quotesnobu
* configure.in (LD): enclose with single qoutes but not double quotes not to expand command substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16Supports static linking of extensions and encodings again.yugui
Fixes --with-static-linked-ext. Patch by Google Inc. [ruby-core:45073]. * Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static linked libraries. Also reintroduces extinit.o, introduces encinit.o introduces encinit.o * common.mk: Builds static libraries rather than shared objects if specified. * configure.in (LD): new substitution. Avoids PIE if s * enc/depend: Supports static linked libraries (libencs, libenc, libtrans): New target. * enc/encinit.c.erb: new template to generate the initialization of statically linked encodings. * enc/make_encmake.rb (--module): new flag to specify whether static or dynamic. * transcode_data.h (TRANS_INIT): New macro to get rid of the name collision of encoding initializers and transcoder initializers. * ext/extmk.rb: Fixes the behavior on $extstatic is true. * lib/mkmf.rb (clean-static): new target to clean up static linked libraries. * ruby.c (process_options): New initializes statically linked encodings here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16* io.c: fixed a merge mistake of r33878, reported by nobu via IRC.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15 * ext/date/date_strftime.c: should also be aware of flags ontadf
complex specifier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15* ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with stringtenderlove
subclass dumping and loading. * test/psych/test_array.rb: pertinent tests * test/psych/test_string.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15* ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps totenderlove
Psych::Omap objects rather than hashes. [Bug #6425] * test/psych/test_omap.rb: pertinent test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15* ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference totenderlove
custom coders so that GC does not impact dumped yaml reference ids. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15lib/test/unit.rb: --color optionnobu
* lib/test/unit.rb (Test::Unit::Options#setup_options): add --color option. * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): defer color code initialization to regard --color option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-14Bug #6403: reset states after empty argsnobu
* parse.y (f_arglist): should reset lexical states after empty argument list with no parenthesis as well as parenthesized list, so that reserved name method definition work. [ruby-dev:45626] [Bug #6403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-13* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-13* enumerator.c (lazy_take_func, lazy_take): multiple calls ofnagachika
force/to_a method to Enumerator::Lazy#take should return same results. [ruby-dev:45634] [Bug #6428] * test/ruby/test_lazy_enumerator.rb (test_take_recycle): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e