Skip to content
Commits on Aug 25, 2008
  1. @yugui

    re-adding tag v1_9_0_4 as an alias of trunk@18848

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_4@18849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Aug 25, 2008
  2. @akr

    "t" for Kernel#open described.

    Encoding and Encoding::Converted described.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 25, 2008
  3. @mame

    * ext/bigdecimal/bigdecimal.c (VpMult): fix double free.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Aug 25, 2008
  4. @yugui

    added tag v1_9_0_4

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_4@18845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Aug 25, 2008
  5. * 2008-08-26

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 25, 2008
  6. @akr

    * transcode.c (rb_econv_open): make last_tc NULL if there are only

      additional transcoders.
      (econv_description): extracted from rb_econv_open_exc.
      (rb_econv_open_exc): use econv_description.
      (econv_inspect): use econv_description.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 25, 2008
  7. @unak

    * win32.c (init_stdhandle): set binmode.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 25, 2008
  8. * lib/date/format.rb(strftime): can print with given arbitrary

    	  precision.
    
    	* lib/date/format.rb(strftime): optional flags and filed width
    	  should also affect %[nt].
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    tadf committed Aug 25, 2008
  9. @yugui

    added tag v1_9_0_4

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_4@18840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Aug 25, 2008
  10. * compile.c (defined_expr): default defined? should return

      "expression" without evaluating the expression.  [ruby-dev:35967]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Aug 25, 2008
  11. @mame

    * test/ruby/test_thread.rb (test_status_and_stop_p): reduce the risk

      of race condition.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Aug 25, 2008
  12. @mame

    * lib/irb/extend-command.rb (def_extend_command): check number of

      arguments.  [ruby-dev:35074]
    
    * lib/irb/ext/multi-irb.rb (search): check if a corresponding job is
      found.  [ruby-dev:35074]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Aug 25, 2008
  13. @mame

    * test/ruby/test_io.rb (test_dup): fix typo. see [ruby-dev:35958]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    mame committed Aug 25, 2008
  14. @akr

    * transcode.c (rb_econv_open_by_transcoder_entries): initialize

      last_error.  num_trans may be zero.
      (rb_econv_convert0): num_trans may be zero.
      (rb_econv_putbackable): ditto.
      (rb_econv_putback): ditto.
      (rb_econv_convert): input_ptr and output_ptr may be NULL.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 25, 2008
  15. * compile.c (defined_expr): should handle NODE_{AND,OR} as

      "expression".  [ruby-dev:35951]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Aug 25, 2008
  16. @znz

    remove traling spaces and fix a typo

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Aug 25, 2008
  17. @nobu

    * include/ruby/intern.h (rb_io_ungetbyte): added prototype.

    * io.c (rb_io_gets): use rb_io_getline_1 for unget buffer.
    
    * ruby.c (load_file): use rb_io_ungetbyte.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 25, 2008
  18. @nobu

    * transcode.c (rb_econv_substr_append): fix for buffer overrun.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 25, 2008
  19. @nobu

    * transcode.c (rb_econv_substr_append): fix for buffer overrun.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 25, 2008
  20. @yugui

    * parse.y (YYSTYPE): struct RVarmap has been no longer

      defnied.
      see also r11717 by matz.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Aug 25, 2008
  21. @nobu

    * transcode.c (rb_econv_open_exc): constified.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 25, 2008
Commits on Aug 24, 2008
  1. @nurse

    * enc/emacs_mule.c: fix ctype.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Aug 24, 2008
  2. @akr

    * configure.in (BUILTIN_TRANSSRCS): defined.

      (BUILTIN_TRANSOBJS): defined.
    
    * enc/Makefile.in (BUILTIN_TRANSES): defined.
    
    * enc/make_encmake.rb (BUILTIN_TRANSES): defined.
    
    * enc/depend: don't generate rules for builtin transcoders.
    
    * common.mk (COMMONOBJS): add BUILTIN_TRANSOBJS.
      (enc.mk): pass BUILTIN_TRANSOBJS.
      (newline.c): new rule.
      (newline.$(OBJEXT)): new ru.e
      (srcs): newline.c added.
    
    * Makefile.in (BUILTIN_TRANSSRCS): defined.
      (BUILTIN_TRANSOBJS): defined.
    
    * transcode.c (Init_transcode): call Init_newline.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  3. * 2008-08-25

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 24, 2008
  4. @akr

    * transcode.c (declare_transcoder): arguments order changed.

      (rb_declare_transcoder): call declare_transcoder just once.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  5. @akr

    * include/ruby/encoding.h (rb_econv_t): use rb_econv_option_t.

    * transcode.c: follow the rb_econv_t change.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  6. @akr

    * io.c (rb_io_init_copy): copy encs.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  7. @akr

    rdoc updated.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  8. @akr

    * io.c (rb_io_open): add an argument: vperm.

      (open_key_args): call rb_io_open with perm.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  9. @akr

    * io.c (sym_invalid): removed.

      (sym_undef): removed.
      (sym_ignore): removed.
      (sym_replace): removed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  10. @akr

    * io.c (rb_io_reopen): initialize fptr->encs.opts.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  11. @akr

    * io.c (rb_io_s_pipe): accept optional hash.

      (rb_io_set_encoding): ditto.
      (rb_io_extract_modeenc): use rb_econv_opts to initialize
      ecopts.
      (rb_file_open_generic): ditto.
      (rb_file_open_internal): ditto.
      (io_encoding_set): new argument: opt.
      (argf_set_encoding): copy fptr->encs.opts to argf_ecopts.
    
    * transcode.c (rb_econv_opts): accept Qnil for initialization.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  12. @akr

    * include/ruby/io.h (rb_io_enc_t): add opts field.

      (FMODE_INVALID_MASK): removed.
      (FMODE_INVALID_IGNORE): ditto.
      (FMODE_INVALID_REPLACE): ditto.
      (FMODE_UNDEF_MASK): ditto.
      (FMODE_UNDEF_IGNORE): ditto.
      (FMODE_UNDEF_REPLACE): ditto.
      (MakeOpenFile): initialize the opts field.
    
    * io.c (make_writeconv): use the opts field.
      (io_fwrite): ditto.
      (make_readconv): ditto.
      (argf_ecopts): new macro.
      (rb_io_extract_modeenc): fill the opts field.
      (argf_next_argv): ditto.
      (rb_file_open_generic): initialize the opts field.
      (rb_file_open_internal): ditto.
      (io_encoding_set): ditto.
      (argf_set_encoding): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  13. @akr

    * io.c (struct argf): use struct rb_io_enc_t.

      (argf_enc): follow the struct argf change.
      (argf_enc2): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
  14. @akr

    * include/ruby/encoding.h (rb_str_transcode): make 3rd argument

      rb_econv_option_t*.
    
    * transcode.c (transcode_loop): take rb_econv_option_t* as a argument.
      (str_transcode0): ditto.
      (str_transcode): make rb_econv_option_t and call str_transcode0 with
      it.
      (rb_str_transcode): take rb_econv_option_t*.
    
    * io.c (io_fwrite): follow the rb_str_transcode change.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Aug 24, 2008
Something went wrong with that request. Please try again.