1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

20 commits

Author SHA1 Message Date
nobu
3f0d0b9398 * *.[chy]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22 01:00:18 +00:00
nobu
bcc1e704a6 * version.c, version.h: NO_STRING_LITERAL_CONCATENATION support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 08:02:47 +00:00
nobu
e53b516328 * common.mk (-IF-NO-STRING-LITERAL-CONCATENATION-): make description
and copyright literals.

* configure.in: enable to make description and copyright literals if
  string literal concatenation is not available.

* version.c (ruby_description, ruby_copyright): now always constant.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27 06:05:11 +00:00
eban
cff1d9dd2f auto update version.h test last
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 01:48:08 +00:00
eban
43381c5f0b auto update version.h test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 01:46:37 +00:00
nobu
c94f439166 * configure.in (STRINGIZE, NO_STRING_LITERAL_CONCATENATION): added
check.  [ruby-dev:34883]

* version.c (ruby_description, ruby_copyright): made constants if
  possible.

* defines.h (STRINGIZE): default definition for C89.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 01:07:22 +00:00
kazu
281833f5fe * version.c (ruby_description, ruby_copyright): backported from
1.9. bug#19002, [ruby-dev:34883]

* error.c (report_bug): uses ruby_description.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-31 13:14:50 +00:00
shyouhei
9744750be0 Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>
* version.h: addition of RUBY_PATCHLEVEL.
        * version.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-26 09:34:32 +00:00
nobu
594def33fc * version.c (ruby_show_version): flush for non-tty stdout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 00:54:36 +00:00
nobu
afe19a2c7c * version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.

* win32/resource.rb: ditto.

* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
  include them.

* win32/resource.rb: include winver.h for older WindowsCE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 14:26:21 +00:00
michal
9df466b287 Updated Copyrights of Matz to 2003.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-16 07:34:03 +00:00
matz
85e32dd221 * re.c (match_select): should propagate taintness.
* hash.c (rb_hash_set_default): Hash#default= should return the
  new value.

* string.c (rb_str_to_i): accepts optional base argument. [new]

* numeric.c (rb_fix2str): should not handle negative fixnum values
  int32 via calling sprintf() directly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-11 09:18:54 +00:00
matz
88abd791f5 * parse.y (str_extend): shuould allow interpolation of $-x.
* variable.c (rb_cvar_set): empty iv_tbl may cause infinite loop.

* variable.c (rb_cvar_get): ditto.

* variable.c (cvar_override_check): ditto.

* bignum.c (rb_big_eq): convert Bignum to Float, instead of
  reverse.

* time.c (time_localtime): getting tm should not be prohibited for
  frozen time objects.

* time.c (time_gmtime): ditto.

* version.c (Init_version): freeze RUBY_VERSION,
  RUBY_RELEASE_DATE, and RUBY_PLATFORM.

* file.c (Init_File): freeze File::SEPARATOR, ALT_SEPARATOR and
  PATH_SEPARATOR.

* file.c (rb_stat_cmp): should check operand type before calling
  get_stat().

* eval.c (rb_eval_cmd): should not invoke "call" with a block on
  any occasion.

* numeric.c (fix_aref): idx may be a Bignum.

* numeric.c (num_remainder): a bug in Numeric#remainder.

* eval.c (rb_exec_end_proc): END might be called within END
  block.

* class.c (rb_mod_clone): should not copy class name, since clone
  should remain anonymous.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-10-29 05:07:26 +00:00
matz
8e5c3b23f2 * dir.c (dir_s_glob): supprt backslash escape of metacharacters
and delimiters.

* dir.c (remove_backslases): remove backslashes from path before
  calling stat(2).

* dir.c (dir_s_glob): call rb_yield directly (via push_pattern) if
  block is given to the method.

* dir.c (push_pattern): do not call rb_ary_push; yield directly.

* eval.c (blk_copy_prev): reduced ALLOC_N too much.

* eval.c (frame_dup): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-14 05:52:06 +00:00
matz
fedf48986d 2000-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-01 09:42:38 +00:00
matz
de71615260 20000105
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-01-05 04:41:21 +00:00
matz
65a5162550 1.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-13 05:45:20 +00:00
matz
210367ec88 This commit was generated by cvs2svn to compensate for changes in r372,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-01-20 04:59:39 +00:00
matz
7ea2ceddb8 This commit was generated by cvs2svn to compensate for changes in r11,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1998-01-16 12:19:22 +00:00
matz
3db12e8b23 Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1998-01-16 12:13:05 +00:00