Граф коммитов

120 Коммитов

Автор SHA1 Сообщение Дата
akr 5cc5e1c5be * ext/pathname/pathname.c (path_world_writable_p):
Pathname#world_writable? translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 10:31:01 +00:00
akr a42f6882c8 * ext/pathname/pathname.c (path_writable_p): Pathname#writable?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 00:26:19 +00:00
akr 0f070a1f4b * ext/pathname/pathname.c (path_symlink_p): Pathname#symlink?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 21:54:24 +00:00
akr 1a8a6580e9 * ext/pathname/pathname.c (path_sticky_p): Pathname#sticky? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 14:04:07 +00:00
akr e7ab96f6ed * ext/pathname/pathname.c (path_size_p): Pathname#size? translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 22:04:22 +00:00
akr eb0c31b1ad * ext/pathname/pathname.c (path_size): Pathname#size translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 13:43:37 +00:00
akr bafa881327 * ext/pathname/pathname.c (path_setgid_p): Pathname#setgid? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-08 11:57:34 +00:00
akr c37ec5c9d2 * ext/pathname/pathname.c (path_setuid_p): Pathname#setuid? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 21:26:33 +00:00
akr b9f2ea847e * ext/pathname/pathname.c (path_readable_real_p):
Pathname#readable_real?  translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 12:04:17 +00:00
akr 746f85beb4 * ext/pathname/pathname.c (path_world_readable_p):
Pathname#world_readable?  translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 14:08:08 +00:00
akr efe86e6c0d * ext/pathname/pathname.c (path_readable_p): Pathname#readable?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 21:17:54 +00:00
akr 5e620bdd65 * ext/pathname/pathname.c (path_owned_p): Pathname#owned?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 14:03:06 +00:00
akr 0c5b7fd01b * ext/pathname/pathname.c (path_socket_p): Pathname#socket?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 14:51:51 +00:00
akr 163b4dee96 * ext/pathname/pathname.c (path_pipe_p): Pathname#pipe?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 21:17:31 +00:00
akr d878c51357 * ext/pathname/pathname.c (path_file_p): Pathname#file?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 13:11:13 +00:00
akr 8ea12e525e * ext/pathname/pathname.c (path_directory_p): Pathname#directory?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-01 21:54:36 +00:00
akr b1729db292 * ext/pathname/pathname.c (path_grpowned_p): Pathname#grpowned?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-01 13:04:10 +00:00
akr 3121057559 * ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-31 12:11:02 +00:00
akr 16ceba0396 * ext/pathname/pathname.c (path_executable_real_p):
Pathname#executable_real? translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-30 12:30:14 +00:00
akr b8adf336a6 * ext/pathname/pathname.c (path_.executable_p): Pathname#.executable?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 22:33:09 +00:00
akr 2d0cbb3c3a * ext/pathname/pathname.c (path_chardev_p): Pathname#chardev?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-28 21:34:52 +00:00
akr b6595225c1 * ext/pathname/pathname.c (path_blockdev_p): Pathname#blockdev?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 23:19:30 +00:00
akr 9eb7262589 * ext/pathname/pathname.c (path_sysopen): Pathname#sysopen translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-26 20:16:25 +00:00
akr bafaff1f43 * ext/pathname/pathname.c (path_readlines): Pathname#readlines
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-26 12:50:13 +00:00
akr 2034fe610f * ext/pathname/pathname.c (path_binread): Pathname#binread translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-25 13:11:43 +00:00
akr f21230b491 * ext/pathname/pathname.c (path_read): Pathname#read translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-24 13:08:00 +00:00
akr 526d246f71 * ext/pathname/pathname.c (path_each_line): Pathname#each_line
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 14:16:06 +00:00
akr 86b26898eb * ext/pathname/pathname.c (path_split): Pathname#split translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-21 08:37:28 +00:00
akr 19fb560d21 * ext/pathname/pathname.c (path_expand_path): Pathname#expand_path
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-20 01:40:51 +00:00
akr 078d19b29f * ext/pathname/pathname.c (path_extname): Pathname#extname translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 01:06:49 +00:00
akr 05745ccfb3 * ext/pathname/pathname.c (path_dirname): Pathname#dirname translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-17 04:02:32 +00:00
akr adff6d4477 * ext/pathname/pathname.c (path_basename): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 13:16:41 +00:00
akr 16cd13c051 * ext/pathname/pathname.c (path_basename): Pathname#basename translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 12:40:10 +00:00
akr 5c55715c08 * ext/pathname/pathname.c (path_utime): Pathname#utime translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 15:16:19 +00:00
akr 87da8f0a29 * ext/pathname/pathname.c (path_truncate): Pathname#truncate translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-13 13:49:24 +00:00
akr 05d9fabda1 * ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
translated from pathname.rb.
-- この行以は下無視されます --

M    ChangeLog
M    ext/pathname/lib/pathname.rb
M    ext/pathname/pathname.c


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-12 14:39:46 +00:00
akr 98f53d5db2 * ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-12 12:18:44 +00:00
akr e5215bfdc5 * ext/pathname/pathname.c (path_stat): Pathname#stat translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 21:19:01 +00:00
akr 45bfb5318f * ext/pathname/pathname.c (path_rename): Pathname#rename translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 11:45:57 +00:00
akr 8aa17733fa * ext/pathname/pathname.c (path_readlink): Pathname#readlink translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 21:27:20 +00:00
akr ec5bb26fa0 * ext/pathname/pathname.c (path_open): Pathname#open
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 13:15:49 +00:00
akr 239692dde8 * ext/pathname/pathname.c (path_make_link): Pathname#make_link
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-08 10:29:16 +00:00
akr 739e022d00 * ext/pathname/pathname.c (path_ftype): Pathname#ftype translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-08 04:21:26 +00:00
akr b50fb9034e * ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and
Pathname#fnmatch? translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 22:33:51 +00:00
akr 49cb5a78a1 * ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 09:21:37 +00:00
nobu a438fce7e3 * ext/pathname/pathname.c (path_sub_ext): don't clobber shared string.
[ruby-core:31640]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 04:59:27 +00:00
akr d1893fe74d * ext/pathname/pathname.c (Init_pathname): fix number of arguments for
Pathname#chown.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 00:32:20 +00:00
akr 261bb184c6 * ext/pathname/pathname.c (path_chown): Pathname#chown translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 23:27:28 +00:00
akr 9352485e47 * ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 17:09:31 +00:00
akr c4c4bff456 * ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 12:30:28 +00:00
akr dc2676a8a0 * ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 20:53:56 +00:00
akr 9bf69293e7 * ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 13:09:53 +00:00
akr 88e78ac59b * ext/pathname/pathname.c (path_atime): Pathname#atime translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 21:25:43 +00:00
akr 88431b74fc * ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 20:35:33 +00:00
akr c29b801afa * ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 11:57:58 +00:00
akr caa05197d3 * ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 05:59:49 +00:00
akr 572b8b3749 * ext/pathname/pathname.c (path_sub): Pathname#sub translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 00:22:18 +00:00
akr b6ebd0622c * ext/pathname/pathname.c (path_inspect): Pathname#inspect translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 14:16:10 +00:00
akr 9006bd2015 * ext/pathname/pathname.c (Init_pathname): The alias,
Pathname#to_path, is translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 07:21:42 +00:00
akr c57e8f7ddc * ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 00:13:10 +00:00
akr be2f3c58e6 * ext/pathname/pathname.c (path_hash): Pathname#hash translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-30 12:44:41 +00:00
akr 8db76b2135 class description document moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 21:13:34 +00:00
akr 3608baa990 * ext/pathname/pathname.c (path_cmp): Pathname#<=> translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 13:29:20 +00:00
akr 7996581a82 * ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 13:24:55 +00:00
akr 0cb17010c4 * ext/pathname/pathname.c (path_taint): use rb_obj_taint.
(path_untaint): Pathname#untaint translated from
  pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-27 14:14:14 +00:00
akr aa4f1d8e81 * ext/pathname/pathname.c (path_taint): Pathname#taint translated from
pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 13:35:18 +00:00
akr a0d5258df0 * ext/pathname/pathname.c (get_strpath): check the type.
(path_initialize): bypass to_path call for T_STRING.
  (path_freeze): implemented.

* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 09:35:31 +00:00
akr 17749e5168 * ext/pathname/pathname.c (path_initialize): return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 16:10:19 +00:00
akr 03bb750d56 * ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
* ext/pathname/pathname.c (path_initialize): implemented.
  (get_strpath): new function.
  (set_strpath): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 15:03:31 +00:00
akr 4bf3cb5ba9 * ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
require pathname.so.

* ext/pathname/pathname.c: new file to define empty Pathname class.

* ext/pathname/extconf.rb: new file.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 04:50:19 +00:00