aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lib/unicode_normalize.rb: removing unnecessary 'self'.duerst2014-10-202-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: get rid of hard coded pathsnobu2014-10-202-5/+6
| | | | | | | | | * common.mk (lib/unicode_normalize/tables.rb): run at top srcdir. * tool/unicode_norm_gen.rb: add -input and -output options to set InputDataDir and OuputDataDir respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: for 1.8.5 BASERUBYnobu2014-10-201-9/+15
| | | | | | | * tool/unicode_norm_gen.rb: get rid of new features for 1.8.5 BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: downloader needs BASERUBYnobu2014-10-201-2/+1
| | | | | | | * configure.in: try downloader only if BASERUBY is working. use tarballs to build without BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: (unicode_normalize!): change method namesduerst2014-10-202-2/+7
| | | | | | in commented-out code. Followup to r48027. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: fix for 1.8 BASERUBYnobu2014-10-201-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: adjust indent of preprocessing directivesnobu2014-10-191-22/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby_atomic.h (ATOMIC_OR): should return previous valuenobu2014-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c, vm_insnhelper.c: improve performancenobu2014-10-193-2/+11
| | | | | | | | | * variable.c (rb_ivar_get), vm_insnhelper.c (vm_getivar): improve instance variable retrieval performance by checking ruby_verbose before call of rb_warning and evaluation of its argument. [ruby-core:65786] [Feature #10396] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: use existing filesnobu2014-10-191-1/+1
| | | | | | | * common.mk (update-unicode): use downloaded files if existing, not to require network connection always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: refactoringnobu2014-10-191-6/+3
| | | | | | * vm_insnhelper.c (vm_getivar): move common expressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add .gitignorenaruse2014-10-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add dependencynaruse2014-10-191-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-20svn2014-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk (srcs-enc): generate unicode_normalize/tables.rbnobu2014-10-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: remove BOMsnobu2014-10-192-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/unicode_normalize.rb: (unicode_normalize!): change method name.nagachika2014-10-192-1/+6
| | | | | | catch up the method name change at r48014. [Feature #10084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix missing quotenobu2014-10-191-1/+1
| | | | | | | * common.mk (lib/unicode_normalize/tables.rb): fix missing quote and script path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: nmake doesn't recognize ${} form. use $() instead.usa2014-10-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.hsbt2014-10-192-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/prelude.rb: Added automatic loading of lib/unicode_normalize.rb. This ↵duerst2014-10-192-0/+8
| | | | | | | | makes sure that all the methods that are available on String are available without explicit require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: Added a missing file extension in ↵duerst2014-10-192-1/+6
| | | | | | require statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Added a rule to generate lib/unicode_normalize/tables.rb.duerst2014-10-192-0/+11
| | | | | | This rule still needs to be integrated into the overall make process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Changed to dynamic loading of actual normalization ↵duerst2014-10-192-3/+16
| | | | | | code and tables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-10-190-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: support Tcl/Tk8.6.nagai2014-10-1910-17/+374
| | | | | | | | | | | | | | | * ext/tk/lib/tk.rb: ditto. * ext/tk/extconf.rb: ditto. * ext/tk/lib/tk_mac.rb: add new features of Tcl/Tk8.6. * ext/tk/lib/tkextlib/tile/treeview.rb: ditto. * ext/tk/lib/tkextlib/tile/fontchooser.rb: add an alias. * ext/tk/lib/tk/autoload.rb: ditto. * ext/tk/lib/tkextlib/tcllib/validator.rb: add a new feature of tklib extension. * ext/tk/lib/tkextlib/tkimg/dted.rb: a new supported format of Img extension. * ext/tk/lib/tkextlib/tkimg/raw.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Small documentation fix.duerst2014-10-192-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Added documentation.duerst2014-10-192-0/+53
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:duerst2014-10-193-2/+8
| | | | | | | File name change from lib/unicode_normalize/normalize_tables.rb to lib/unicode_normalize/tables.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Changing method names, see ↵duerst2014-10-192-3/+8
| | | | | | https://bugs.ruby-lang.org/issues/10084#note-7 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Changing module name.duerst2014-10-192-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Changing require statement, adjusting copyright.duerst2014-10-192-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize.rb: Importing fromduerst2014-10-192-0/+28
| | | | | | | https://github.com/duerst/eprun/blob/master/lib/string_normalize.rb. (removing trailing whitespace, fixing EOLs and adding EOL property) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Changed module name.duerst2014-10-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-10-191-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: Changed module name, adjusted copyright.duerst2014-10-192-15/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-10-191-176/+176
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-19svn2014-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: Importing fromduerst2014-10-192-0/+181
| | | | | | https://github.com/duerst/eprun/blob/master/lib/normalize.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-18svn2014-10-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, proc.c, vm_backtrace.c, vm_trace.c:ktsj2014-10-185-10/+8
| | | | | | remove rb_binding_new_with_cfp, and use rb_vm_make_binding instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.ktsj2014-10-185-29/+69
| | | | | | | | [ruby-dev:48616] [Bug #10368] * test/ruby/test_eval.rb: add a test code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): Add casts for char references for 'u'.akr2014-10-173-16/+26
| | | | | | | | Fix line ending recognition algorithm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): Add casts for char references for 'b' and 'h'.akr2014-10-172-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Avoid undefined behaviors found by gcc -fsanitize=undefined.akr2014-10-173-2/+13
| | | | | | | | | | gcc (Debian 4.9.1-16) 4.9.1 * string.c (rb_str_sum): Avoid undefined behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Avoid undefined behaviors found by gcc -fsanitize=undefined.akr2014-10-178-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | gcc (Debian 4.9.1-16) 4.9.1 * include/ruby/ruby.h (INT2FIX): Avoid undefined behavior. * node.h (nd_set_line): Ditto. * pack.c (encodes): Ditto. (pack_unpack): Ditto. * regint.h (BIT_STATUS_AT): Ditto. (BS_BIT): Ditto. * time.c (time_mdump): Ditto. (time_mload): Ditto. * vm_core.h (VM_FRAME_MAGIC_MASK): Ditto. * vm_trace.c (recalc_add_ruby_vm_event_flags): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.c (register_sym): debug codenobu2014-10-171-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: multiline anchorsnobu2014-10-171-3/+4
| | | | | | | * bin/erb (ARGV.switch, ERB::Main#run): use beginning/end of string anchors instead of beginning/end of line anchors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* erb: fix -U optionnobu2014-10-171-2/+2
| | | | | | * bin/erb (ERB::Main#run): fix NoMethodError at -U option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re.c: mak eregexps with binary escapes ASCII-8BITnobu2014-10-173-2/+19
| | | | | | | | | * re.c (unescape_nonascii): make dynamically compiled US-ASCII regexps ASCII-8BIT encoding if binary (hexadecimal, control, meta) escapes are contained, as well as literal regexps. [ruby-dev:48626] [Bug #10382] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e