summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-05-03* win32/config.h.in: define HAVE_DECL_SYS_NERR.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-03* configure.in: add #include <errno.h> in AC_CHECK_DECLS().eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-022002-05-02eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02* error.c: use HAVE_DECL_SYS_NERR instead of platform names.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01Catch the exception SystemExit in extconf.rb.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-012002-05-01eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01* numeric.c (num_step): better iteration condition for floatmatz
values; suggested by Masahiro TANAKA <masa@ir.isas.ac.jp>. * range.c (range_step): step (for Range#step method) <= 0 makes no sence, thus ArgError will be raised. * range.c (range_each): Range#each method is special case for Range#step(1) * file.c (rb_find_file): load must be done from an abolute path if $SAFE >= 4. * enum.c (enum_partition): new method. [new] * re.c (rb_reg_s_quote): quote whitespaces for /x cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-01L641: rb_float_new(*((float*)ptr)) -> rb_float_new(*((double*)ptr)).ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-28* win32/win32.c (insert): fix prototype for ANSI C.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26ext/dl/ptr.c: missing break in switch statements.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26ANSI C requires a named argument before `...'nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-26* eval.c (rb_proc_new): make Proc from C function. [new]nobu
* intern.h (rb_proc_new): prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-252002-04-25nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-25* various files: macro fix-up by Michal Rokos.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24discarded unused parametergotoken
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* eval.c (proc_to_proc): return self. [new]nobu
* eval.c (block_pass): no need to convert if block is Proc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* configure.in: set size of the initial stack fromeban
2MB to 32MB on MinGW/Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* numeric.c (num_step): try to reduce residual on Float operations.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-24* io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.matz
* io.c (rb_io_mode_modenum): ditto. * gc.c (rb_memerror): rename from mem_error, and exported. * gc.c (Init_GC): pre-allocate NoMemoryError instance. * object.c (convert_type): error message changed from "failed to convert" to "cannot convert", since it does not try to convert if an object does not respond to the converting method. * eval.c (block_pass): convert Method to Proc using rb_check_convert_type(). * object.c (rb_check_convert_type): always convert T_DATA * eval.c (rb_thread_cleanup): should not terminate main_thread by Fatal error. * regex.c (is_in_list): need to not exclude NUL and NEWLINE. * re.c (rb_reg_expr_str): wrong backslash escapement. * re.c (rb_reg_expr_str): do not escape embedded space characters. * marshal.c (w_object): T_DATA process patch from Joel VanderWerf <vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains undocumented, and it will be removed when marshaling is re-designed. * marshal.c (r_object): ditto. * numeric.c (num_step): Integer#step is moved to Numeric#step; Fixnum#step is merged into this method. * numeric.c (int_dotimes): Fixnum#times is merged. * numeric.c (int_upto): Fixnum#upto is merged. * numeric.c (int_downto): Fixnum#downto is merged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23* ext/stringio/stringio.c (strio_mark): must check if ptr is NULLnobu
first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa
of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-21* configure.in: AC_INIT should take no argument.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-20Add a sample which shows how to deal with C++ libraries.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.usa
* win32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* configure.in: version 0.0 -> 1.7.2.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* configure.in: cleanup for autoconf 2.5x.eban
* configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW. * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* win32/win32.c: include <mswsock.h> on __MINGW32__.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-192002-04-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* re.c (rb_reg_to_s): remove redundant shy group.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,matz
for example when terminated from signal handler. * regex.c (re_compile_pattern): remove /p support. * regex.h: ditto. * parse.y (parse_regx): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19ext/dl/ptr.c: remove rb_dlptr_cast().ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-182002-04-18nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18* re.c (rb_reg_expr_str): should treat backslash specially inmatz
escaping. * io.c: complete off_t handling; missing argument for fptr_finalize(); polished rb_scan_args call. * dir.c: wrap multi-statment macro by do { } while (0) * eval.c, numeric,c, sprintf.c, util.c: ditto. * bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum, Bignum, nor Float. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18* re.c (rb_reg_to_s): new function for Regexp#to_s.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18copied from ext/etc.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18modify document.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-17* ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat inknu
favor of its forthcoming successor, BigDecimal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-16* eval.c (assign): convert mrhs to mvalue.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-152002-04-15nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-15* pack.c (pack_unpack): should treat 'U' in character unit, not inmatz
byte unit. * error.c (exc_initialize): should clear backtrace information. * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). * rubyio.h: remove FMODE_FDOPEN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-14Correct.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-14Edit the documentation.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12* struct.c (rb_struct_select): fix typo.matz
* io.c (io_write): check error if written data is less than specified size to detect EPIPE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12* configure.in: add check for initstate(3).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12* win32/Makefile.sub: use missing/acosh.c.usa
* win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-122002-04-12nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12/tmp/lognobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e