nobu
46f23b51f6
* lib/pp.rb (Struct#pretty_print): coerce to a string since
...
anonymous class has name no longer. [ruby-dev:38349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 22:13:50 +00:00
nobu
fbcde451c5
* configure.in (ruby_version): uses sed instead of grep if the
...
result is need, to get rid of GREP_OPTIONS. [ruby-dev:38336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 07:47:14 +00:00
nobu
2b08fc1947
* ext/readline/readline.c (readline_getc): use rl_getc_function if
...
possible, to get rid of hang up at EOF without a newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 16:25:15 +00:00
svn
c362380d9f
* 2009-04-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 15:47:27 +00:00
akr
ebd2090d29
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 15:47:24 +00:00
naruse
d0a4f8ada9
* enc/trans/utf8_mac.trans: Add converter for UTF8-MAC.
...
* enc/trans/utf8_mac-tbl.rb: ditto.
* test/ruby/test_econv.rb: tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 14:21:43 +00:00
naruse
b6285a01fb
* tool/transcode-tb (ActionMap#each_firstbyte):
...
if :asis collides other mappings, use another.
* tool/transcode-tb (ActionMap#generate_info):
add :asis for ASIS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 13:25:09 +00:00
naruse
0881a39acd
* transcode.c (ASIS): added for multi byte direct map.
...
* transcode.c (transcode_restartable0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 13:03:50 +00:00
naruse
67798d11b8
* tool/transcode-tb (ActionMap#generate_node):
...
Use ActionMap#gennode instead of generate_node
because of initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:34:15 +00:00
naruse
ce70dcc0ef
* .gitignore: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:22:18 +00:00
akr
d2214aa2fb
* lib/rake.rb: use RbConfig::CONFIG instead of Config::CONFIG.
...
* lib/rbconfig/datadir.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:18:00 +00:00
akr
d75996ec8a
* time.c (time_arg): unused variable removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 10:30:54 +00:00
nobu
5a809d60bd
* io.c: fixed types.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:46:41 +00:00
nobu
d222c7533c
* bootstraptest/test_io.rb: test for [ruby-dev:38131].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:44:35 +00:00
nobu
ff8681ba57
* io.c (io_reopen): keeps pathv for prep_stdio. [ruby-dev:38131]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:35:34 +00:00
nobu
a20f1713c3
* lib/optparse.rb (OptionParser#parse_in_order): do not make an
...
option from non-option argument. [ruby-dev:38333]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 06:13:11 +00:00
svn
cde360334d
* 2009-04-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:20 +00:00
nagai
0e61068c2b
* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:17 +00:00
nobu
1b67ef40c2
* process.c (proc_setegid): define only if needed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 10:28:25 +00:00
nobu
a7adde7a57
* configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
...
* process.c (proc_daemon): double fork to ensure not having ctty.
[ruby-core:23305]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 10:11:15 +00:00
nobu
16acb62022
* process.c (proc_seteuid): define only if needed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:26:58 +00:00
nobu
1d103770c6
* process.c: fixed types.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:26:22 +00:00
nobu
9bb7a8ccdd
* configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
...
* process.c (proc_daemon): double fork to ensure not having ctty.
[ruby-core:23311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:21:49 +00:00
akr
0dae2c910f
* time.c (month_arg): extracted from time_arg.
...
(validate_vtm): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 07:20:20 +00:00
akr
939383275c
* time.c (TIME_COPY_GMT): new macro.
...
(time_s_at): use TIME_COPY_GMT.
(time_succ): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 07:04:02 +00:00
akr
c7cfaac668
* time.c (time_mload): use TIME_SET_UTC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:54:49 +00:00
akr
c8f938d0b5
* time.c (time_get_tm): take time_object instead of gmt.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:48:39 +00:00
akr
4c2e943091
* time.c (time_succ): refactored to avoid gmt variable.
...
(strftimev): use TIME_UTC_P.
(time_strftime): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:40:59 +00:00
akr
afbb1ba21b
* time.c (TIME_UTC_P): new macro..
...
(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: svn+ssh://ci.ruby-lang.org/ruby/trunk@23271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:25:06 +00:00
svn
df4cd06d49
* 2009-04-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:04:44 +00:00
akr
73aa1639bc
mention Time.{utc,gm,local,mktime} as incompatibility.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:04:40 +00:00
svn
6b7cda3fd5
* 2009-04-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-23 17:48:02 +00:00
akr
8dc753f481
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-23 17:47:58 +00:00
knu
385223daa2
Trivial change in comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 16:32:43 +00:00
svn
1ce1b7e8df
* 2009-04-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 16:31:13 +00:00
knu
2bb576e5ac
* ext/zlib/zlib.c (Zlib::GzipFile#path): New method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 16:31:06 +00:00
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