akr
cb025decff
* lib/pathname.rb (Pathname#unlink): use SystemCallError instead of
...
Errno::EISDIR because EISDIR is not portable.
[ruby-core:5001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 15:32:35 +00:00
seki
cd836a0cd2
use raise(exception) [ruby-dev:26164]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 13:28:32 +00:00
nobu
e27aaa177e
* configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
...
to get rid of types which might not be defined yet. [ruby-dev:26165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 09:56:53 +00:00
akr
eebb06165f
* lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory
...
was failed. [ruby-core:4992]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 05:50:45 +00:00
nobu
c23d3e4640
* win32/win32.c (unixtime_to_filetime): deal with DST.
...
[ruby-talk:141817]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 00:57:49 +00:00
ttate
a7c5e6bcec
Added DL::BUILD_RUBY_PLATFORM,BUILD_RUBY_VERSION.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 20:59:07 +00:00
nobu
36e3983a27
* error.c (exc_exception, {exit,name_err,syserr}_initialize): call
...
Execption#initialize. fixed: [ruby-talk:142593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 14:59:53 +00:00
nobu
642ddf7201
* configure.in: Check for the availability of pid_t, gid_t and uid_t and
...
remove AC_TYPE_UID_T. fixed: [ruby-core:04745]
* defines.h: Remove pid_t typedef.
* ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
the available system types.
* process.c: Change instances of pid_t and gid_t to their rb_*
counterparts.
* ext/pty/pty.c: Change pid_t to rb_pid_t.
* vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
* win32/Makefile.sub: Remove #define for {g,u}id_t.
* win32/win32.c: Change pid_t to rb_pid_t.
* wince/Makefile.sub: Remove #define for {g,u}id_t.
* wince/sys/types.h: Remove definitions of {p,g,u}id_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 14:57:53 +00:00
nobu
9bbb8406cb
* 2005-05-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 02:48:27 +00:00
nobu
434e8a3796
* intern.h (ruby_pragma): prototype. [ruby-core:04881]
...
* parse.y (parser_pragma): parse Emacsen hack.
* parse.y (parser_prepare): deal with specific syntax at the top.
* ruby.c (load_file): read the first line iff it started with shebang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 02:48:07 +00:00
ocean
2cf330ad77
restored @progress
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 02:23:45 +00:00
nobu
2c716f2b47
* ext/extmk.rb: keep srcdir unexpanded.
...
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
fixed: [ruby-core:04932]
* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
also INSTALL_PROG and INSTALL_DATA system dependent.
fixed: [ruby-core:04931]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
8726077bc1
* eval.c (unknown_node): add volatile directive to prototype.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:33:02 +00:00
ocean
74eab43d49
* variable.c (generic_ivar_get): rb_attr_get should not warn.
...
[ruby-dev:26010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 08:56:40 +00:00
ocean
6bbd130b4d
add ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 06:20:06 +00:00
ocean
49a84b0867
* test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's patch)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 05:24:19 +00:00
eban
3d240686f3
* 2005-05-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 05:18:33 +00:00
ocean
e1c5d1978b
add ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 04:50:14 +00:00
akr
40fd465e82
add tests for reading an extended file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 09:04:49 +00:00
naruse
cddaecb1ae
* ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 08:42:36 +00:00
ocean
d806a4daa7
* lib/rdoc/parsers/parse_c.rb: more readability for mixing
...
progress "c..." and warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:53:39 +00:00
ocean
bf4eb61819
* lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.
...
[ruby-core:4341] (based on Tilman Sauerbeck's patch)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:00:37 +00:00
ocean
72a6794070
reverted (commit miss) [ruby-dev:26141]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 02:24:41 +00:00
nobu
42de5af133
* version.c (ruby_show_version): flush for non-tty stdout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 00:54:36 +00:00
eban
dd9d1e580c
* 2005-05-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11 16:28:22 +00:00
nobu
058df1f632
* eval.c (unknown_node): ignore broken NODE to get rid of accessing
...
possibly inaccessible address. fixed: [ruby-dev:26122]
should emit more useful information like [ruby-dev:26126], though.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11 16:25:24 +00:00
matz
6fcad7f1c5
* eval.c (break_jump): break should not cross functions.
...
[ruby-list:40818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11 07:00:32 +00:00
ocean
edc4823184
* lib/tempfile.rb (Tempfile#unlink): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11 01:46:31 +00:00
nobu
b7c3cb31f0
* 2005-05-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11 00:05:52 +00:00
nobu
c3aa92a921
* eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings on
...
platforms which have no alloca(). fixed: [ruby-talk:141301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10 16:04:52 +00:00
eban
91e758c9d7
* 2005-05-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10 01:48:34 +00:00
nagai
3d8229b126
* ext/tk/lib/tkextlib/blt/winop.rb: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10 01:29:03 +00:00
ttate
e2a0e0faae
added a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-09 14:43:50 +00:00
ttate
597a64146f
replaced the local variable 'entity' with an instance variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-09 14:38:44 +00:00
eban
4c2929e152
* 2005-05-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-09 02:11:37 +00:00
ttate
4187afceca
use DL::CStructBuilder instead of CStructBuilder.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 18:56:23 +00:00
nagai
357ce6cfe4
* ext/tk/lib/tk/timer.rb: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 14:21:31 +00:00
ocean
8f1f1183f5
* hash.c (Init_Hash): remove custom "hash" and "eql?".
...
(ported from 1.8) [ruby-dev:26132]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 12:23:51 +00:00
eban
ff185d9e08
* 2005-05-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 08:20:27 +00:00
ocean
4c72dfd39f
* lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
...
[ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 07:54:20 +00:00
nobu
ce3785458a
* 2005-05-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-07 15:05:49 +00:00
nobu
d88a67866c
* lib/mkmf.rb (have_var): no libs argument is given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-07 13:58:26 +00:00
nobu
633fe04ddd
* 2005-05-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-05 23:25:58 +00:00
nobu
98c50b0b93
* hash.c:rb_hash_hash_i() should be static. [ruby-core:04815]
...
* re.c should include regint.h for declarations of oniguruma
functions. [ruby-core:04815]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-05 23:08:47 +00:00
nobu
833c2375aa
* 2005-05-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-01 00:59:08 +00:00
nobu
1ec656e349
* eval.c (rb_eval), parse.y (arg): reduce fixnum range literal at
...
parser. fixed: [ruby-dev:26113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-01 00:15:25 +00:00
nobu
fa1855c6d4
* ruby.c (process_sflag): replace '-' in variable names with '_'.
...
[ruby-dev:26107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-01 00:13:48 +00:00
nobu
dd5e79bace
* ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-30 13:00:16 +00:00
nobu
f64e6fed21
* ext/syck/rubyext.c: comment to be closed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-30 12:50:34 +00:00
nobu
15741e262e
* ext/stringio/stringio.c (strio_getline): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-30 04:11:33 +00:00