aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/dl/test_handle.rb: skip some tests on mswin/mingw.wanabe2010-03-201-0/+3
| | | | | | because RTLD_DEFAULT and RTLD_NEXT don't work well on windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2010-03-201-0/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_uniq_bang): the array is already unique if theakr2010-03-203-0/+53
| | | | | | | | length is zero or one. (rb_ary_uniq): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].nobu2010-03-2021-28/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for lessakr2010-03-202-28/+39
| | | | | | | method calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_cfunc.rb (test_to_s): a result of sprintf("%x", ptr)wanabe2010-03-191-1/+1
| | | | | | may contain 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.wanabe2010-03-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_dl2.rb (DL::TestDL#ptr2num): add for LLP64.wanabe2010-03-191-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-20svn2010-03-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_dl2.rb: require 'dl/func' to refer DL::Function.wanabe2010-03-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2010-03-191-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2010-03-181-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-19svn2010-03-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sum): don't call method for each byte.akr2010-03-182-25/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): link $(NORMALMAINOBJ).nobu2010-03-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: scan singleton mappings sequentially.akr2010-03-182-35/+76
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS and fix ChangeLog.naruse2010-03-182-7/+12
| | | | | | | | | | * new methods: * URI.encode_www_form * URI.decode_www_form * URI.encode_www_form_component * URI.decode_www_form_component git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXEC_PREFIX): added to config.h.nobu2010-03-174-3/+27
| | | | | | | | | | * ruby.c (ruby_init_loadpath_safe): TMP_RUBY_PREFIX should be exec_prefix, not rubylibprefix. [ruby-core:28718] * version.c (RUBY_LIB_PREFIX): fallback to RUBY_EXEC_PREFIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_{to_i,mod,divmod,div2}):nobu2010-03-172-7/+6
| | | | | | | removed unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3): get rid of type-punning cast.nobu2010-03-172-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_body): add mark to jump table hash of case.mame2010-03-172-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): Add support for Hexadecimalnaruse2010-03-173-0/+52
| | | | | | floating-point expression [ruby-dev:40650] #2969 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2010-03-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-18svn2010-03-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI#{en,de}code_www_form_component):naruse2010-03-173-33/+106
| | | | | | | | | | | | | | | | | | | | renamed from URI#{en,de}code_www_component. [ruby-dev:40672] * lib/uri/common.rb (URI#encode_www_form_component): %-encoded element should have always two hex. * lib/uri/common.rb (URI#encode_www_form_component): better treatment for ASCII incompatible encodings and encodings whose lead byte may use 7bit. * lib/uri/common.rb (URI#decode_www_form_component): add %20. * lib/uri/common.rb (URI#decode_www_form_component): add result's encoding as 2nd argument. * lib/uri/common.rb (URI#decode_www_form): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_aset): allow recursive key. [ruby-core:24648]nobu2010-03-172-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (rb_warning, rb_sys_warning): fixed typo in rdoc.nobu2010-03-162-1/+6
| | | | | | | [ruby-core:28696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, iseq.c, ruby.c, vm.c, vm_core.h, vm_eval.c: add absolutemame2010-03-1610-53/+89
| | | | | | | | | | | | | | | path field into rb_iseq_t. The field contains a string representing a path to corresponding source file. or nil when the iseq is created from -e, stdin, eval, etc. This field is used for require_relative. [ruby-dev:40004] * load.c (rb_f_require_relative): add C implementation of require_relative. * prelude.rb (require_relative): get rid of Ruby implementation of require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-17svn2010-03-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3): prohibit Symbol with an invalid encoding.mame2010-03-164-1/+15
| | | | | | | | [ruby-core:24621] * test/ruby/test_m17n_comb.rb: modify a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: specialize for singletom mappings.akr2010-03-162-26/+66
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/emoji.trans: added codepoints leading 0xf4 into nomap_table.muraken2010-03-162-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpCtoV): keep e's sign.naruse2010-03-162-0/+7
| | | | | | | When e doesn't over flow e * BASE_FIG but overflow e * 10, e will overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_str_conv_enc_opts): missing prototype.nobu2010-03-162-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tmpdir: split from lib/tmpdir.rb.nobu2010-03-165-37/+66
| | | | | | | * win32/win32.c (rb_w32_system_tmpdir): extracted from init_env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): remvoed duplicated code.nobu2010-03-162-6/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (ENC_TO_ENCINDEX): suppress warnings.nobu2010-03-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RSHIFT): parenthesize the argument of cast insteadnobu2010-03-162-2/+7
| | | | | | of the result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): ignore dname if it has differentnobu2010-03-162-1/+25
| | | | | | drive letter or UNC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2010-03-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: redundant loop removed.akr2010-03-152-12/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: refactored to use tree as memo key.akr2010-03-152-55/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-16svn2010-03-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: more info in generating macro names.akr2010-03-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.akr2010-03-152-14/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_tblgen): add valid_encodingakr2010-03-154-19/+34
| | | | | | | | | | | | | optional argument. * enc/trans/single_byte.trans use valid_encoding argument for transcode_tblgen. * enc/trans/chinese.trans: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (default_rand): removed initial buffer.nobu2010-03-152-25/+42
| | | | | | | | | * random.c (Init_RandomSeed): initialize seed of default random. * random.c (Init_RandomSeed2): turn the seed to Bignum object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_print): RDoc update. a patch from Daniel Kelleymatz2010-03-153-1/+25
| | | | | | in [ruby-core:28643]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (next_state): no initialization here.nobu2010-03-152-23/+23
| | | | | | | * random.c (default_mt): always return initialized MT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]naruse2010-03-153-6/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e