aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
...
* * load.c (rb_provided): check expanded path for relative pathnobu2008-04-071-3/+3
| | | | | | | | | | features, loading or loaded features are already expanded in 1.9. * variable.c (rb_autoload_load): no needs to check if provided before rb_require_safe. [ruby-dev:34266] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cmpint): moved from compar.c, to check bignummatz2008-04-061-3/+3
| | | | | | | | | zero. * range.c (range_step): add step for each iteration if begin and end are numeric. [ruby-core:15990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_tell): check if closed. [ruby-core:16223]nobu2008-04-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_qs): wrong boundary condition. a patch frommatz2008-04-041-3/+3
| | | | | | wanabe <s.wanabe AT gmail.com> in [ruby-dev:34248]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence, iseq_insns_unification,nobu2008-04-031-3/+3
| | | | | | | | | | | | | insn_data_to_s_detail): constified. * iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto. * template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto. * tool/instruction.rb (OptUnifsIncGenerator): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_int_check): function for DRY integer check.matz2008-04-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Config.default_config_hash): requiresnobu2008-03-311-4/+4
| | | | | | | win32/resolv to use Win32::Resolv. [ruby-dev:34138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_getc): set coderange while getting characters.naruse2008-03-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert git backfire in r15860; sorrymatz2008-03-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_dup): should copy is_lambda attribute as well.matz2008-03-301-3/+3
| | | | | | [ruby-talk:296244] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-03-29nobu2008-03-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-03-28usa2008-03-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rational.rb: add tests to achieve over 90% testmame2008-03-251-3/+3
| | | | | | | | | coverage of rational.c. * test/ruby/test_complex.rb: ditto for complex.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_massign_opt): no need to use alloca.nobu2008-03-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: sitearch should use target_cpu. [ruby-core:15986]nobu2008-03-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_sub, nucomp_expt): call corresponding functions.mame2008-03-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_tell, argf_seek_m, argf_set_pos, argf_rewind,nobu2008-03-191-3/+3
| | | | | | | | argf_fileno, argf_to_io, argf_eofl, argf_getc, argf_getbyte, argf_readchar, argf_readbyte, argf_each_line): use receiver. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt checkmatz2008-03-191-3/+3
| | | | | | during match. [ruby-talk:295002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_ss): simple shift search.naruse2008-03-171-3/+3
| | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch_qs): quick search. * re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string. * re.c (rb_memsearch_qs_utf8_hash): hash functions for above. * re.c (rb_memsearch): use above functions. * string.c (rb_str_index): give enc to rb_memsearch. * include/ruby/intern.h (rb_memsearch): move to encoding.h. * include/ruby/encoding.h (rb_memsearch): move from intern.h. * common.mk (PREP): add dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: unset GREP_OPTIONS. [ruby-core:15918]nobu2008-03-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).naruse2008-03-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().matz2008-03-151-3/+3
| | | | | | * string.c (rb_str_cmp): reduce invocation of rb_enc_compatible(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_divmod): should return integer division. [ruby-dev:34006]matz2008-03-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (stdint.h): check if presence.nobu2008-03-121-3/+3
| | | | | | | | | * configure.in (uint32_t): check if defined. * string.c (hash): fix for portability. [ruby-dev:34020] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_combination): argument check before creatingmatz2008-03-111-3/+3
| | | | | | | | Enumerator. * array.c (rb_ary_permutation): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (usage): remove some unimportant lines to fit -h messagematz2008-03-101-3/+3
| | | | | | in a page. [ruby-dev:34018] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): if t == s + pos, the character beginningnaruse2008-03-091-3/+3
| | | | | | from s + pos is valid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (search_nonascii): Use VALUE instead of unsigned longnaruse2008-03-081-3/+3
| | | | | | | | | | | | because VALUE can be the fastest unsigned integer type. On LLP64 unsigned long isn't the fastest. * string.c (str_strlen): ditto. * string.c (str_utf8_nth): ditto. * string.c (count_utf8_lead_bytes_with_ulong): ditto. * string.c (count_utf8_lead_bytes_with_word): renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-03-07usa2008-03-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (make_struct): preserve encoding of struct name.nobu2008-03-051-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: require 'continuation' to implement "restart"matz2008-03-051-3/+3
| | | | | | | | | | | | | | | command. [ruby-dev:33992] * lib/debug.rb (Context::debug_command): remove local variable shadowing to shut up warnings. [ruby-dev:33992] * lib/debug.rb (Context::display_list): ditto. * lib/debug.rb (Context::resume): ditto. * lib/debug.rb (Context::get_thread): no longer use #index for Hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): use rb_io_open instead of rb_f_open.naruse2008-03-031-3/+3
| | | | | | [ruby-core:15746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_any_hash): shrinks all results in Fixnum range.nobu2008-03-031-3/+3
| | | | | | | [ruby-core:15713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): check for successive underscores.nobu2008-03-011-3/+3
| | | | | | | [ruby-dev:33952] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_dummy_p): bootstrap encodings can not be dummy.nobu2008-02-291-4/+4
| | | | | | | | * encoding.c (rb_enc_ascget): no needs to call rb_enc_precise_mbclen() twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_new): remove encoding assumption of empty string.naruse2008-02-281-3/+3
| | | | | | | | | * hash.c ( rb_f_getenv, env_fetch, env_inspect): result of ENV should be always ASCII-8BIT. * object.c (nil_to_s): nil.to_s should be US-ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_str_coderange_scan_restartable): addednobu2008-02-281-1/+1
| | | | | | | | | | | | prototype. * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed unsed variables. * string.c (rb_enc_str_copy): unused now. may be used in future? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_coderange_scan_restartable): coderange scaningnaruse2008-02-271-2/+2
| | | | | | | | for partial read. * io.c (read_all): set coderange when not convert encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even ifnobu2008-02-261-3/+3
| | | | | | | | | | cross-compiling. * ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8 compatible for cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-26usa2008-02-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-25nobu2008-02-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (valid_filename): use O_EXCL to get rid of clobberingnobu2008-02-231-3/+3
| | | | | | | existing files in race conditions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-23nobu2008-02-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/{depend,make_encdb.rb,trans/make_transdb.rb}: sort in alpha-numeric order.nobu2008-02-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_putc): invoke stdout method so that redefining putcmatz2008-02-211-3/+3
| | | | | | | | may take effect. [ruby-talk:291844] * io.c (rb_f_puts): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtimenobu2008-02-201-3/+3
| | | | | | | load path. [ruby-list:44600] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): set arg->io even if no options passed.usa2008-02-201-3/+3
| | | | | | | | [ruby-dev:33072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_exec_node): no thread starts inside iseq compilation.nobu2008-02-191-3/+3
| | | | | | | | | * eval.c (rb_f_raise): skip current control frame. [ruby-core:15589] * insns.def (opt_div): raise as the ordinary method. [ruby-core:15589] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-18usa2008-02-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: made version infos confirm to OS spec.usa2008-02-161-3/+3
| | | | | | | | * {bcc32,win32}/Makefile.sub (*.rc): add dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e