summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * time.c (time_mload): use TIME_SET_UTC.akr2009-04-252-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_get_tm): take time_object instead of gmt.akr2009-04-252-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_succ): refactored to avoid gmt variable.akr2009-04-252-7/+12
| | | | | | | | | (strftimev): use TIME_UTC_P. (time_strftime): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (TIME_UTC_P): new macro..akr2009-04-252-63/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (TIME_SET_UTC): ditto. (TIME_LOCALTIME_P): ditto. (TIME_SET_LOCALTIME): ditto. (time_utc_p): use the above macro. (time_localtime): ditto. (time_localtime): ditto. (time_gmtime): ditto. (time_to_s): ditto. (time_add): ditto. (time_sec): ditto. (time_min): ditto. (time_hour): ditto. (time_mday): ditto. (time_mon): ditto. (time_year): ditto. (time_wday): ditto. (wday_p): ditto. (time_yday): ditto. (time_isdst): ditto. (time_zone): ditto. (time_utc_offset): ditto. (time_to_a): ditto. (strftimev): ditto. (time_strftime): ditto. (time_mdump): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-25svn2009-04-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mention Time.{utc,gm,local,mktime} as incompatibility.akr2009-04-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-24svn2009-04-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-04-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Trivial change in comment.knu2009-04-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-23svn2009-04-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Zlib::GzipFile#path): New method.knu2009-04-225-1/+73
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2009-04-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timespec): check out-of-range. [ruby-core:23282]nobu2009-04-222-3/+11
| | | | | | | [Bug #1396] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.parse): use year completion in Date._parse.akr2009-04-222-16/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (GMTIME, LOCALTIME): should set result if not have *_r().usa2009-04-222-3/+9
| | | | | | | | * time.c (localtime_with_gmtoff): now always needed tmbuf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): C99(gcc)-ism.usa2009-04-223-2/+10
| | | | | | | | | * time.c (find_time_t): GUESS macro needs the variable named ``result'' always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (localtime_with_gmtoff): fixed cross function jump.nobu2009-04-223-14/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-04-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-04-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time#rfc2822): pad leading zeros for year.akr2009-04-213-3/+22
| | | | | | | | | (Time#httpdate): ditto. (Time#xmlschema): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment.akr2009-04-211-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-04-211-7/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time#xmlschema): use subsec instead of nsec.akr2009-04-213-3/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_arg): use the year argument as-is. [ruby-dev:38194]akr2009-04-215-19/+27
| | | | | | | | * lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe about Time.akr2009-04-211-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): constified.nobu2009-04-212-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-22svn2009-04-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (leap_year_v_p): removed.akr2009-04-212-7/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: remove time_t restriction from Time class.akr2009-04-217-544/+1613
| | | | | | | | | | | | | | * timev.h: new file to define struct vtm. * strftime.c: format struct vtm instead of struct tm. * ext/syck/rubyext.c (mktime_do): don't use time_t; [ruby-dev:38191] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_path, dir_each, glob_helper): use readdir_r() ifnobu2009-04-213-11/+25
| | | | | | | available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): needs default library path even ifnobu2009-04-212-1/+6
| | | | | | | cross compiling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_push): bypass rb_ary_store().matz2009-04-202-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigsub_int): subtraction without making internalmatz2009-04-202-6/+147
| | | | | | | | | | | | bignum values. * bignum.c (bigadd_int): ditto for addition. * bignum.c (bigtrunc): declare inline. * bignum.c (rb_quad_pack): fix condition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): added TIMET2NUM and NUM2TIMET to match the ↵azav2009-04-201-0/+4
| | | | | | change in time.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): added TIMET2NUM and NUM2TIMET to match the ↵azav2009-04-201-0/+2
| | | | | | change in time.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-21svn2009-04-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_split_m): faster processing on 7bit strings.matz2009-04-202-9/+59
| | | | | | * string.c (ascii_isspace): faster isspace() for 7bit strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): the order of local variables on stack isnobu2009-04-197-15/+26
| | | | | | | | | | | | undefined. should use outermost VALUE for ruby_init_stack. * gc.c (ruby_get_stack_grow_direction, Init_stack): allows volatile pointer. * thread_*.c (ruby_init_stack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Gem::QuickLoader#push_gem_version_on_load_path):nobu2009-04-192-9/+17
| | | | | | | | check for requirement if the gem is installed. a patch from Kyosuke MOROHASHI at [ruby-dev:38020]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_seteuid_m): defined to use rb_f_notimplement if notakr2009-04-182-2/+20
| | | | | | | | | implemented. (proc_setegid_m): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-19svn2009-04-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setuid): use rb_f_notimplement if not implemented.akr2009-04-182-4/+13
| | | | | | | (proc_setgid): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: use rb_f_notimplement for methods notakr2009-04-1813-208/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | implemented. * ext/openssl/ossl_engine.c: ditto. * ext/openssl/ossl_config.c: ditto. * ext/openssl/ossl_cipher.c: ditto. * ext/openssl/ossl_pkcs5.c: ditto. * ext/openssl/ossl_x509ext.c: ditto. * ext/socket/socket.c: ditto. * ext/socket/basicsocket.c: ditto. * ext/socket/ancdata.c: ditto. * ext/socket/unixsocket.c: ditto. * ext/iconv/iconv.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: use rb_f_notimplement for methods notakr2009-04-182-47/+52
| | | | | | | implemented. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-18svn2009-04-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-04-181-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-04-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (rb_notimplement_body_p): declared.akr2009-04-168-157/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm_method.c (Init_eval_method): suppress a warning. * io.c (rb_io_fsync): use rb_f_notimplement if not implemented. (rb_io_close_on_exec_p): ditto. (rb_io_set_close_on_exec): ditto. (rb_io_fcntl): ditto. (rb_f_syscall): ditto. * dir.c (dir_tell): ditto. (dir_seek): ditto. (dir_s_chroot): ditto. * process.c (proc_getpgrp): ditto. (proc_setpgrp): ditto. (proc_getpgid): ditto. (proc_setpgid): ditto. (proc_setsid): ditto. (proc_getpriority): ditto. (proc_setpriority): ditto. (proc_getrlimit): ditto. (proc_setrlimit): ditto. (p_sys_setuid): ditto. (p_sys_setruid): ditto. (p_sys_seteuid): ditto. (p_sys_setreuid): ditto. (p_sys_setresuid): ditto. (p_sys_setgid): ditto. (p_sys_setrgid): ditto. (p_sys_setegid): ditto. (p_sys_setregid): ditto. (p_sys_setreuid): ditto. (p_sys_setresgid): ditto. (p_sys_issetugid): ditto. (proc_getgroups): ditto. (proc_setgroups): ditto. (proc_initgroups): ditto. (proc_daemon): ditto. (rb_proc_times): ditto. * file.c (rb_file_s_lchown): ditto. (rb_file_s_link): ditto. (rb_file_s_symlink): ditto. (rb_file_s_readlink): ditto. (rb_file_s_truncate): ditto. (rb_file_truncate): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (read_multipart): When path is not defined,mame2009-04-162-1/+13
| | | | | | | | define local_path as a method always returning nil instead of aliasing. This is because StringIO#path no longer exists. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-17svn2009-04-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e