aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/shell.rb, lib/shell/process-controller.rb,knu2001-05-174-30/+30
| | | | | | | | lib/shell/command-processor.rb: translate Japanese comments into English. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Yay, shell.rb is back!knu2001-05-171-0/+273
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/shell.rd.jp: RD'ify and make some fixes.knu2001-05-173-410/+535
| | | | | | | | * doc/shell.rd: RD'ify, delete Japanese leftovers, make overall English fixes, and sync with doc/shell.rd.jp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-05-179-0/+1890
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): address of local_vars might change during eval.matz2001-05-173-13/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add .cvsignore to let CVS ignore Makefile which is automaticallyknu2001-05-171-0/+1
| | | | | | | generated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/MANIFEST: Added.eban2001-05-171-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missed ChangeLog entry.knu2001-05-161-0/+5
| | | | | | | | | | Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com> * lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb lib/irb/version.rb resolve ctrl-c problem git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.knu2001-05-163-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:knu2001-05-166-0/+12
| | | | | | | | | compile sha1 in as well as md5. * ext/Setup: put sha1 in a comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt.jp: add the Japanese version derived fromknu2001-05-164-17/+90
| | | | | | | | | | | | ext/md5/md5.txt.jp. * ext/sha1/sha1.txt: revise the copyright info and reduce the difference from ext/md5/md5.txt. * ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN toknu2001-05-163-16/+8
| | | | | | | detect the platform's endian. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-05-165-0/+372
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/md5/md5.txt: make wording fixes, and mention the newly addedknu2001-05-163-12/+24
| | | | | | | | | method: "<<". * ext/md5/md5.txt.jp: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (This is a forced commit to put the log entry for the previous commit)knu2001-05-160-0/+0
| | | | | | | | * ext/md5/md5init.c: add an instance method "<<" as an alias for "update". (inspired by Steve Coltrin's ruby-sha1) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missed entry.knu2001-05-161-0/+5
| | | | | | | | * ext/md5/md5init.c: add an instance method "<<" as an alias for "update". (inspired by Steve Coltrin's ruby-sha1) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_and): should not push frozen key string.matz2001-05-1620-77/+139
| | | | | | | | | | | | | | | | | | * array.c (rb_ary_or): ditto. * eval.c (rb_thread_schedule): should save context before raising deadlock, saved context for current thread might be obsolete. * time.c (make_time_t): non DST timezone shift supported (hopefully). * time.c (make_time_t): strict range detection for negative time_t. * signal.c: SIGINFO added. * eval.c (rb_ensure): should not SEGV when prot_tag is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: Modify copyright in resource script.usa2001-05-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.usa2001-05-122-9/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Put some missed entries to the ChangeLog.knu2001-05-111-0/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (rb_string_value): add volatile to avoid compiler warning.eban2001-05-113-2/+8
| | | | | | | * string.c (rb_string_value): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem): access boundary bug.matz2001-05-1115-58/+133
| | | | | | | | | | | | | | | | | | | * marshal.c (w_object): prohibit dumping out singleton classes. * object.c (rb_mod_to_s): distinguish singleton classes. * variable.c (rb_class2name): it's ok to reveal NilClass, TrueClass, FalseClass. * eval.c (rb_yield_0): preserve and restore ruby_cref as well. * eval.c (is_defined): core dumped during instance_eval for special constants. * eval.c (rb_eval): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Document find_library(), with_config() and dir_config().knu2001-05-101-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Remove the description of find_header() because such a function doesknu2001-05-101-10/+9
| | | | | | | | | not actually exist. * Update the description of dir_config(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix CVS access and mailing lists info.knu2001-05-102-9/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***keiju2001-05-084-27/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Hit `=begin' and `=end' in proper places so rd2 can format themknu2001-05-075-8/+10
| | | | | | | without a problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-05-073-0/+257
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Convert from JIS to EUC.knu2001-05-072-216/+216
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Obsoleted by IRB.knu2001-05-071-1015/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: fix for FreeBSD and GDBM.eban2001-05-071-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): "||=" should not warn for uninitialized instancematz2001-05-0710-58/+71
| | | | | | | | | | | variables. * eval.c (rb_eval): ditto. * eval.c (eval): preserve and restore ruby_cref as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftools.rb (syscopy): chmod destination file only ifeban2001-05-073-3/+9
| | | | | | | it does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_eGDBMFatalErrors -> rb_eGDBMFatalErroreban2001-05-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-0636-296/+2190
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of Japanese comments and fix English comments as appropriate.knu2001-05-0310-33/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* I'm committing this from a MacOS X host. :)knu2001-05-023-2/+15
| | | | | | | | | | * configure.in: get --enable-shared to work on MacOS X. * Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly. Now `make -jN' should work without a problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.h.in: add SIZEOF___INT64 definition.usa2001-05-022-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.eban2001-05-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): should not downgrade safe level.matz2001-05-0244-952/+1712
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext/dbm/extconf.rb: allow specifying dbm-type explicitly. * ext/dbm/extconf.rb: avoid gdbm if possible, because it leaks memory, whereas gdbm.so doesn't. potential incompatibility. * string.c (rb_str_insert): new method. * parse.y (yylex): lex_state after RESCUE_MOD should be EXPR_BEG. * array.c (rb_ary_insert): new method. * array.c (rb_ary_update): new utility function. * io.c (set_outfile): should check if closed before assignment. * eval.c (rb_eval): should preserve value of ruby_errinfo. * eval.c (rb_thread_schedule): infinite sleep should not cause dead lock. * array.c (rb_ary_flatten_bang): proper recursive detection. * eval.c (yield_under): need not to prohibit at safe level 4. * pack.c (pack_pack): p/P packs nil into NULL. * pack.c (pack_unpack): p/P unpacks NULL into nil. * pack.c (pack_pack): size check for P template. * ruby.c (set_arg0): wrong predicate when new $0 value is bigger than original space. * gc.c (id2ref): should use NUM2ULONG() * object.c (rb_mod_const_get): check whether name is a class variable name. * object.c (rb_mod_const_set): ditto. * object.c (rb_mod_const_defined): ditto. * marshal.c (w_float): precision changed to "%.16g" * eval.c (rb_call0): wrong retry behavior. * numeric.c (fix_aref): a bug on long>int architecture. * eval.c (rb_eval_string_wrap): should restore ruby_wrapper. * regex.c (re_compile_pattern): char class at either edge of range should be invalid. * eval.c (handle_rescue): use === to compare exception match. * error.c (syserr_eqq): comparison between SytemCallErrors should based on their error numbers. * eval.c (safe_getter): should use INT2NUM(). * bignum.c (rb_big2long): 2**31 cannot fit in 31 bit long. * regex.c (calculate_must_string): wrong length calculation. * eval.c (rb_thread_start_0): fixed memory leak. * parse.y (none): should clear cmdarg_stack too. * io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on some platforms. * file.c (rb_stat_dev): device functions should honor stat field types (except long long such as dev_t). * eval.c (rb_mod_nesting): should not push nil for nesting array. * eval.c (rb_mod_s_constants): should not search array by rb_mod_const_at() for nil (happens for singleton class). * class.c (rb_singleton_class_attached): should modify iv_tbl by itself, no longer use rb_iv_set() to avoid freeze check error. * variable.c (rb_const_get): error message "uninitialized constant Foo at Bar::Baz" instead of "uninitialized constantBar::Baz::Foo". * eval.c (rb_mod_included): new hook called from rb_mod_include(). * io.c (opt_i_set): should strdup() inplace_edit string. * eval.c (exec_under): need to push cref too. * eval.c (rb_f_missing): raise NameError for "undefined local variable or method". * error.c (Init_Exception): new exception NoMethodError. NameError moved under ScriptError again. * eval.c (rb_f_missing): use NoMethodError instead of NameError. * file.c (Init_File): should redifine "new" class method. * eval.c (PUSH_CREF): sharing cref node was problematic. maintain runtime cref list instead. * eval.c (rb_eval): copy defn node before registering. * eval.c (rb_load): clear ruby_cref before loading. * variable.c (rb_const_get): no recursion to show full class path for modules. * eval.c (rb_set_safe_level): should set safe level in curr_thread as well. * eval.c (safe_setter): ditto. * object.c (rb_obj_is_instance_of): nil belongs to false, not true. * time.c (make_time_t): proper (I hope) daylight saving time handling for both US and Europe. I HATE DST! * eval.c (rb_thread_wait_for): non blocked signal interrupt should stop the interval. * eval.c (proc_eq): class check aded. * eval.c (proc_eq): typo fixed ("return" was ommitted). * error.c (Init_Exception): move NameError under StandardError. * class.c (rb_mod_clone): should copy method bodies too. * bignum.c (bigdivrem): should trim trailing zero bdigits of remainder, even if dd == 0. * file.c (check3rdbyte): safe string check moved here. * time.c (make_time_t): remove HAVE_TM_ZONE code since it sometimes reports wrong time. * time.c (make_time_t): remove unnecessary range check for platforms where negative time_t is available. * process.c (proc_waitall): should push Process::Status instead of Finuxm status. * process.c (waitall_each): should add all entries in pid_tbl. these changes are inspired by Koji Arai. Thanks. * process.c (proc_wait): should not iterate if pid_tbl is 0. * process.c (proc_waitall): ditto. * numeric.c (flodivmod): a bug in no fmod case. * process.c (pst_wifsignaled): should apply WIFSIGNALED for status (int), not st (VALUE). * io.c (Init_IO): value of $/ and $\ are no longer restricted to strings. type checks are done on demand. * class.c (rb_include_module): module inclusion should be check taints. * ruby.h (STR2CSTR): replace to StringType() and StringTypePtr(). * ruby.h (rb_str2cstr): ditto. * eval.c (rb_load): should not copy topleve local variables. It cause variable/method ambiguity. Thanks to L. Peter Deutsch. * class.c (rb_include_module): freeze check at first. * eval.c (rb_attr): sprintf() and rb_intern() moved into conditional body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* These files are also obsoleted.knu2001-04-302-92/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from irb-tools 0.7.1.knu2001-04-304-13/+148
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-04-301-0/+185
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/irb.rb, lib/irb.rb, lib/irb/*, doc/irb/*: Merge from irbknu2001-04-301-0/+9
| | | | | | | | | | | 0.7.3. * instruby.rb: Install help-message's too. * lib/irb/main.rb: This file is not needed anymore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This file is not needed anymore.knu2001-04-301-867/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Install help-message's too.knu2001-04-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from irb 0.7.3.knu2001-04-308-59/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-04-3014-0/+2209
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't use tzname on cygwin 1.3.1+.eban2001-04-262-1/+16
| | | | | | | | * configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha to disable "DIVISION BY ZERO" exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add theknu2001-04-243-53/+52
| | | | | | | | | | specified include directory if already included in $CPPFLAGS. * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) return a more useful value, [include_dir, lib_dir]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e