summaryrefslogtreecommitdiffstats
path: root/version.c
Commit message (Collapse)AuthorAgeFilesLines
* * version.c (ruby_initial_load_paths): moved terminating semicolon.nobu2009-10-221-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_LIB_VERSION): added for library version, tonobu2009-02-051-0/+31
| | | | | | | | | | | | | | | | | | split from core version. [ruby-dev:37748] * configure.in (RUBY_LIB_PATH, etc): moved actual version dependent stuff to version.c. * ruby.c (ruby_init_loadpath_safe): ditto. * version.c (ruby_initial_load_paths): moved initial load path version depending on version from ruby.c. * version.h (RUBY_VERSION_{MAJOR,MINOR,TEENY}): now mean library and API version, and reverted to 1.9.1. [ruby-dev:37889] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (Init_version): add RUBY_ENGINE constant.matz2008-08-141-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h test lasteban2008-06-211-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h testeban2008-06-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h testeban2008-06-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h testeban2008-06-211-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* auto update version.h testeban2008-06-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (MKSTR): make US-ASCII. [ruby-dev:34010]nobu2008-03-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-061-1/+0
| | | | | | | string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.nobu2007-12-221-9/+13
| | | | | | | | | | | | | | * configure.in (STRINGIZE): stringizing macro. * include/ruby/defines.h (STRINGIZE): fallback. * tool/make-snapshot: new file. * version.c (ruby_description, ruby_copyright): string constants for -v option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c: provide basic features for M17N.matz2007-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * parse.y: encoding aware parsing. * parse.y (pragma_encoding): encoding specification pragma. * parse.y (rb_intern3): encoding specified symbols. * string.c (rb_str_length): length based on characters. for older behavior, bytesize method added. * string.c (rb_str_index_m): index based on characters. rindex as well. * string.c (succ_char): encoding aware succeeding string. * string.c (rb_str_reverse): reverse based on characters. * string.c (rb_str_inspect): encoding aware string description. * string.c (rb_str_upcase_bang): encoding aware case conversion. downcase, capitalize, swapcase as well. * string.c (rb_str_tr_bang): tr based on characters. delete, squeeze, tr_s, count as well. * string.c (rb_str_split_m): split based on characters. * string.c (rb_str_each_line): encoding aware each_line. * string.c (rb_str_each_char): added. iteration based on characters. * string.c (rb_str_strip_bang): encoding aware whitespace stripping. lstrip, rstrip as well. * string.c (rb_str_justify): encoding aware justifying (ljust, rjust, center). * string.c (str_encoding): get encoding attribute from a string. * re.c (rb_reg_initialize): encoding aware regular expression * sprintf.c (rb_str_format): formatting (i.e. length count) based on characters. * io.c (rb_io_getc): getc to return one-character string. for older behavior, getbyte method added. * ext/stringio/stringio.c (strio_getc): ditto. * io.c (rb_io_ungetc): allow pushing arbitrary string at the current reading point. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/strscan/strscan.c: encoding support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>shyouhei2006-11-261-1/+3
| | | | | | | | * version.h: addition of RUBY_PATCHLEVEL. * version.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: moved to ANSI function style from K&R function style.ocean2005-09-121-3/+3
| | | | | | | | | | | | | | | | | (used protoize on windows, so still K&R remains on #ifdef part of other platforms. And `foo _((boo))' stuff is still there) [ruby-dev:26975] * bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c, enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c, io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c, prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c, regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c, sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c, version.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_show_version): flush for non-tty stdout.nobu2005-05-121-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_show_copyright): obtain copyright year fromnobu2004-03-251-4/+8
| | | | | | | | | RUBY_RELEASE_YEAR. * win32/resource.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (opt_rescue): use NODE_ERRINFO() instead ofmatz2004-01-221-5/+0
| | | | | | | | | | | NODE_GVAR("$!"), to avoid confusion from variable aliasing. [ruby-talk:90074] * version.c (Init_version): remove obsolete constants VERSION etc. [ruby-dev:22643] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated Copyrights of Matz to 2003.michal2003-01-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_select): should propagate taintness.matz2002-01-111-2/+2
| | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@1985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (str_extend): shuould allow interpolation of $-x.matz2001-10-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@1800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): supprt backslash escape of metacharactersmatz2001-02-141-2/+2
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@1183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-01matz2000-05-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 20000105matz2000-01-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-131-6/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-6/+6
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r11,matz1998-01-161-1/+1
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1998-01-161-0/+36
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e