summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * re.c (rb_reg_s_quote): # also should be quoted.matz2002-05-074-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-05-07eban2002-05-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: forgot to add -Wl, to the gcc option on Cygwin/MinGW.eban2002-05-072-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_try): should initialize exceptionsnobu2002-05-072-7/+15
| | | | | | | properly. (ruby-bugs-ja:PR#232) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): The destination of the goto jump was wrong.aamine2002-05-072-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (superclass): undesirable "unexpected return" when the superclass ↵aamine2002-05-072-2/+9
| | | | | | is not a Class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-05-05knu2002-05-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: exclude topdir from the system configurationknu2002-05-042-4/+9
| | | | | | | section and prevent it from being overridden. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Back out the previous commit which was incorrect. I misread theknu2002-05-042-6/+1
| | | | | | | specification. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-05-04knu2002-05-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (fnmatch): Make PERIOD() independent of FNM_PATHNAME.knu2002-05-032-1/+6
| | | | | | | This fixes a bug where fnmatch('/?a', '/.a', 0) returned true. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.h.in: define HAVE_DECL_SYS_NERR.eban2002-05-032-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add #include <errno.h> in AC_CHECK_DECLS().eban2002-05-032-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-05-02eban2002-05-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban2002-05-023-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: use HAVE_DECL_SYS_NERR instead of platform names.matz2002-05-027-33/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Catch the exception SystemExit in extconf.rb.ttate2002-05-011-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-05-01eban2002-05-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): better iteration condition for floatmatz2002-05-017-104/+155
| | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* L641: rb_float_new(*((float*)ptr)) -> rb_float_new(*((double*)ptr)).ttate2002-05-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (insert): fix prototype for ANSI C.eban2002-04-282-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/ptr.c: missing break in switch statements.ttate2002-04-263-14/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ANSI C requires a named argument before `...'nobu2002-04-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_proc_new): make Proc from C function. [new]nobu2002-04-264-2/+17
| | | | | | | * intern.h (rb_proc_new): prototype. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-25nobu2002-04-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * various files: macro fix-up by Michal Rokos.matz2002-04-2510-48/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* discarded unused parametergotoken2002-04-241-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_to_proc): return self. [new]nobu2002-04-242-5/+21
| | | | | | | * eval.c (block_pass): no need to convert if block is Proc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set size of the initial stack fromeban2002-04-242-1/+6
| | | | | | | 2MB to 32MB on MinGW/Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): try to reduce residual on Float operations.matz2002-04-242-11/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2).eban2002-04-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.matz2002-04-2424-434/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_mark): must check if ptr is NULLnobu2002-04-234-5/+15
| | | | | | | | | | first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa2002-04-233-2/+11
| | | | | | | | | | of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: AC_INIT should take no argument.eban2002-04-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a sample which shows how to deal with C++ libraries.ttate2002-04-203-0/+97
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.usa2002-04-193-4/+10
| | | | | | | * win32/setup.mak: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: version 0.0 -> 1.7.2.eban2002-04-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: cleanup for autoconf 2.5x.eban2002-04-194-17/+16
| | | | | | | | * configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW. * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: include <mswsock.h> on __MINGW32__.eban2002-04-192-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-19eban2002-04-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban2002-04-192-9/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_to_s): remove redundant shy group.nobu2002-04-192-20/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,matz2002-04-196-49/+96
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dl/ptr.c: remove rb_dlptr_cast().ttate2002-04-192-39/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-18nobu2002-04-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): should treat backslash specially inmatz2002-04-1823-98/+146
| | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_to_s): new function for Regexp#to_s.akr2002-04-182-1/+46
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* copied from ext/etc.nobu2002-04-184-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify document.akr2002-04-182-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e