nobu
5f956fda43
* ChangeLog: commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 11:27:10 +00:00
nobu
a397887e58
* time.c (time_timespec): check out-of-range. [ruby-core:23282]
...
[Bug #1396 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 11:25:26 +00:00
akr
258ed42c12
* lib/time.rb (Time.parse): use year completion in Date._parse.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 10:34:29 +00:00
usa
f50bcf9317
* time.c (GMTIME, LOCALTIME): should set result if not have *_r().
...
* time.c (localtime_with_gmtoff): now always needed tmbuf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 02:13:44 +00:00
usa
8da932fe46
* dir.c (glob_helper): C99(gcc)-ism.
...
* time.c (find_time_t): GUESS macro needs the variable named ``result''
always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 01:40:09 +00:00
nobu
d5704eb61a
* time.c (localtime_with_gmtoff): fixed cross function jump.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 00:27:33 +00:00
akr
a69b87e80e
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 18:41:07 +00:00
akr
58c31ca6d8
updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 18:38:20 +00:00
akr
d9dd33fc27
* lib/time.rb (Time#rfc2822): pad leading zeros for year.
...
(Time#httpdate): ditto.
(Time#xmlschema): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 18:08:47 +00:00
akr
6df2f3d59c
add comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 17:41:24 +00:00
akr
f67380be58
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 17:16:11 +00:00
akr
fd9bfef325
* lib/time.rb (Time#xmlschema): use subsec instead of nsec.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 17:11:27 +00:00
akr
16dc9e04cb
* time.c (time_arg): use the year argument as-is. [ruby-dev:38194]
...
* lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 16:43:15 +00:00
akr
7930673c5d
describe about Time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 16:27:19 +00:00
nobu
ac3dcc30da
* time.c (find_time_t): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 15:32:19 +00:00
svn
7618e3b5ad
* 2009-04-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 15:11:51 +00:00
akr
1dd6a6dfa4
* time.c (leap_year_v_p): removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 15:11:44 +00:00
akr
3bc16f62c1
* time.c: remove time_t restriction from Time class.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 14:56:59 +00:00
nobu
143846ad36
* dir.c (dir_path, dir_each, glob_helper): use readdir_r() if
...
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 00:25:43 +00:00
nobu
94890f6a9e
* lib/mkmf.rb (init_mkmf): needs default library path even if
...
cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 00:20:25 +00:00
matz
8e75f9705f
* array.c (rb_ary_push): bypass rb_ary_store().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 22:09:30 +00:00
matz
dd54da6ede
* bignum.c (bigsub_int): subtraction without making internal
...
bignum values.
* bignum.c (bigadd_int): ditto for addition.
* bignum.c (bigtrunc): declare inline.
* bignum.c (rb_quad_pack): fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 17:53:36 +00:00
azav
5fc9b700bb
* symbian/setup (config.h): added TIMET2NUM and NUM2TIMET to match the change in time.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 15:27:02 +00:00
azav
2be23d4789
* symbian/setup (config.h): added TIMET2NUM and NUM2TIMET to match the change in time.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 15:11:46 +00:00
svn
7a2a815037
* 2009-04-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 15:04:25 +00:00
matz
254d12215c
* string.c (rb_str_split_m): faster processing on 7bit strings.
...
* string.c (ascii_isspace): faster isspace() for 7bit strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 15:04:18 +00:00
nobu
c7853b4344
* eval.c (ruby_cleanup): the order of local variables on stack is
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-19 05:43:20 +00:00
nobu
53054c0ff6
* gem_prelude.rb (Gem::QuickLoader#push_gem_version_on_load_path):
...
check for requirement if the gem is installed. a patch from
Kyosuke MOROHASHI at [ruby-dev:38020].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-19 04:17:26 +00:00
akr
f3d5d707cc
* process.c (proc_seteuid_m): defined to use rb_f_notimplement if not
...
implemented.
(proc_setegid_m): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 16:41:16 +00:00
svn
df8ff329bb
* 2009-04-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 16:04:42 +00:00
akr
1e96c9817e
* process.c (proc_setuid): use rb_f_notimplement if not implemented.
...
(proc_setgid): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 16:04:34 +00:00
akr
05a278b4cd
* ext/readline/readline.c: use rb_f_notimplement for methods not
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 14:10:06 +00:00
akr
be2d3f5979
* ext/curses/curses.c: use rb_f_notimplement for methods not
...
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 12:09:23 +00:00
svn
1196098343
* 2009-04-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 09:06:39 +00:00
akr
9fada90406
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 09:06:34 +00:00
akr
29655d072b
updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 17:21:51 +00:00
akr
8e8ae2a9c5
* node.h (rb_notimplement_body_p): declared.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 16:58:06 +00:00
mame
50cea7a5c9
* lib/cgi/core.rb (read_multipart): When path is not defined,
...
define local_path as a method always returning nil instead of
aliasing. This is because StringIO#path no longer exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 15:58:23 +00:00
svn
5e1cb6cbc6
* 2009-04-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 15:48:31 +00:00
mame
1b71f8f816
* dir.c (bracket): fix escape handling for range character in bracket
...
of fnmatch pattern. e.g., '[a\-c]' should not match 'b'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 15:48:25 +00:00
svn
c14689a0fd
* 2009-04-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 14:17:20 +00:00
akr
8b27d153d2
* class.c (rb_define_method_id): use rb_define_notimplement_method_id
...
if rb_f_notimplement is given.
(rb_define_protected_method): ditto.
(rb_define_private_method): ditto.
(rb_define_method): use rb_define_method_id.
* include/ruby/intern.h (rb_f_notimplement): declared.
(rb_define_notimplement_method_id): declared.
* proc.c (method_inspect): show not-implemented.
* vm_method.c (notimplement_body): new variable.
(rb_notimplement_body_p): new function.
(rb_method_boundp): return false if not implemented.
(rb_f_notimplement): new function.
(rb_define_notimplement_method_id): new function.
* process.c (rb_f_fork): use rb_f_notimplement if not implemented.
* file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 14:17:14 +00:00
mame
bded3bb726
* array.c (rb_ary_flatten): flatten(0) works as Array#dup.
...
[ruby-core:23168]
* test/ruby/test_array.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-15 11:47:54 +00:00
naruse
31c1883a54
* dir.c (fnmatch_helper): use rb_enc_precise_mbclen and
...
fail if bytes are invalid. [ruby-dev:38307]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-15 03:00:31 +00:00
nobu
205c4b490c
* dir.c (bracket): if same in bytes, path is matching.
...
[ruby-dev:38305]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-14 09:11:29 +00:00
nobu
946fe69932
* sprintf.c (rb_str_format): scan coderange incrementally.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-13 08:21:41 +00:00
naruse
b2ac99dfa3
* sprintf.c (rb_str_format): optimize previous commit.
...
[ruby-list:45954]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-13 02:40:20 +00:00
naruse
87335c3e2f
* sprintf.c (rb_str_format): check encoding compatibility only on
...
real parts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-13 02:00:30 +00:00
nobu
207becd942
* dir.c (bracket, fnmatch_helper): compare bytewise first, to get
...
rid of invalid byte sequence. [ruby-dev:38303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-12 10:54:59 +00:00
nobu
633479795e
* ChangeLog: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-11 00:04:54 +00:00