summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-31* win32/setup.mak: $(APPEND) with some arguments insert a space beforeusa
the arguments, so it causes error if the arguments are expected to be a macro definition. this fix resolve the build error introduced at r48210. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31win32/setup.mak: get target architecture from the compilernobu
* win32/Makefile.sub, win32/setup.mak (MACHINE): get target architecture from the compiler, instead of environment variable at build time, which is irrelevant to runtime environment, and not set when running in cygwin sshd. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31test_time.rb: test_iso8601nobu
* test/test_time.rb (TestTimeExtension#test_iso8601): run all xmlschema tests with iso8601 method, and fix the test name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31Bump Syslog::Logger::VERSION to 2.1.0.knu
* ext/syslog/lib/syslog/logger.rb (Syslog::Logger::VERSION): Bump the VERSION to 2.1.0. [ruby-core:64483] [Bug #10159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31Document that Net::IMAP#fetch will return nil instead of an emtpy array.knu
* lib/net/imap.rb (Net::IMAP#fetch): [DOC] Document that Net::IMAP#fetch will return nil instead of an emtpy array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31fix a typo [ci skip]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31common.mk: fix Unicode table dependencynobu
* common.mk (.unicode-tables.time): needs Unicode files always, and should update after downloading these files. [ruby-core:66026] [Bug #10461] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31extmk.rb: include UPDATE_LIBRARIESnobu
* ext/extmk.rb: include UPDATE_LIBRARIES in SUBMAKEOPTS for NMAKE which does not include macro definitions given by command line in MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31* .travis.yml: reverted r48199, it's unlated configuration.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31* test/test_unicode_normalize.rb: added unicode version number tohsbt
test data location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31* .gitignore: ignored unicode data with version directories.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31* 2014-10-31svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31* .travis.yml: tweak build scripts for unicode_normalize.rb.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30common.mk: separate updatesnobu
* common.mk (UPDATE_LIBRARIES): separate autogenerated library script from downloaded data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30* common.mk: fix for the case ALWAYS_UPDATE_UNICODE=nonaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30common.mk: separate Unicode files directorynobu
* common.mk: download Unicode files into separate directory for the version. * tool/downloader.rb (Downloader::Unicode.download): strip version directory. * tool/downloader.rb (Downloader.download): strip directory name if download directory is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30tkutil.c: remove useless branchesnobu
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): remove useless branches and get rid of out of bound access. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30tool/downloader.rb: changed Unicode data download locationduerst
from latest Unicode version to Unicode 7.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30vm_insnhelper.c: allow to_arynobu
* vm_insnhelper.c (vm_callee_setup_arg{_complex,}): try conversion by to_ary for a lambda, as well as a proc. [ruby-core:65887] [Bug #9605] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30ruby.h: optimize NUM2CHRnobu
* include/ruby/ruby.h (rb_num2char_inline): use RB_TYPE_P for optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29* 2014-10-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29parse.y: reset current_arg after block varnobu
* parse.y (block_param_def): reset current_arg after block parameter definition, not to warn references in that block body. [ruby-core:65990] [Bug #10314] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29parse.y: warn iside a blocknobu
* parse.y (gettable_gen): also warn circular argument reference even inside a block. [ruby-core:65990] [Bug #10314] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29parse.y: warn circular argument referencenobu
* parse.y (gettable_gen): warn circular argument reference, for transition from 2.1 and earlier. [ruby-core:65990] [Bug #10314] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29parse.y: unused membernobu
* parse.y (parser_params): remove unused member `cur_mid`. this has been taken over by `in_def` since 1.6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29load.c: transcode pathnobu
* load.c (rb_f_load): path name needs to be transcoded to OS path encoding. [ruby-list:49994] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29test_require.rb: renamenobu
* test/ruby/test_require.rb (test_load_scope): rename and add failure message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29configure.in: fix for old Apple compilersnobu
* configure.in (__builtin_setjmp): disable with gcc/clang earlier than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10272] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29* lib/matrix.rb: Generalize Vector#cross_product to arbitrary dimensionsmarcandre
based on a patch by gogo tanaka [#10074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29* lib/matrix.rb: Add Matrix#adjucatemarcandre
patch by gogo tanaka [#10056] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29* lib/matrix.rb: Add aliases for Vector#cross & dotmarcandre
patch by gogo tanaka [#10352] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-29* gems/bundled_gems: Update latest version of bundled gems.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28* 2014-10-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28signal.c: avoid repeated disable/enable interruptnormal
We only install system-level signal handlers during init (before any threads or user code is running), so there's no need to repeatedly enable/disable the interrupts at that time. We also do not change system-level sig handlers once user-level code is running. This saves about 20 syscalls at startup and makes the executable smaller (numbers from 32-bit x86): text data bss dec hex filename before: 2815726 12100 30552 2858378 2b9d8a ruby after: 2815022 12100 30552 2857674 2b9aca ruby * signal.c (install_sighandler): remove rb_disable_interrupt and rb_enable_interrupt calls (init_sigchld): ditto (Init_signal): disable and enable interrupt once around all install_sighandler and init_sigchld to reduce syscalls at start [Feature #9345] [ruby-core:59480] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28ruby.c: no -r when dumpnobu
* ruby.c (process_options, load_file_internal2): should not require other files when dump option is given. [ruby-dev:48712] [Bug #10435] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28* configure.in: remove apple-gcc4.2 from CC candidates.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28* 2014-10-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-28eventids2.c: reduce sizenobu
* ext/ripper/eventids2.c (token_assoc): reduce size. unsigned short can hold 65535 at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27* lib/rexml/entity.rb: keep the entity size within the limitation.usa
reported by Willis Vandevanter <will@silentrobots.com> and patched by nahi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27proc.c: fix method proc binding receivernobu
* proc.c (method_proc): the receiver of binding from method should be same as the receiver of the method. [ruby-core:65917] [Bug #10432] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27proc.c: local variablenobu
* proc.c (proc_binding): extract a local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27* test/ruby/test_super.rb: add a test to check block passing.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27* gc.c: is_incremental_marking(), will_be_incremental_marking():ko1
use `&&' with GC_ENABLE_INCREMENTAL_MARK intead of using #if/#else/#endif. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27eventids2.c: reduce sizenobu
* ext/ripper/eventids2.c (token_to_eventid): reduce relocations and element size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27ripper/tools/generate.rb: shorten generated sourcenobu
* ext/ripper/tools/generate.rb (generate_eventids1): shorten generated source. * ext/ripper/tools/generate.rb (generate_eventids2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27id.h.tmpl: ANDOP and OROPnobu
* template/id.h.tmpl (token_op_ids): define && and || for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27parse.y: optimize IDs in rippernobu
* parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=, <=, ==, ===, !=, =~, !~, <<, >>, and call. * parse.y: use initialized IDs, warn and warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27symbol.h: optimize ID2SYMnobu
* symbol.h (rb_id2sym): optimize for predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27test_parser_events.rb: split test_binarynobu
* test/ripper/test_parser_events.rb (test_binary): split for each operators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e