aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * eval_error.c (error_handle): commit miss.nobu2008-02-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_copy): removed.naruse2008-02-282-12/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (stack_check): made flag per threads.nobu2008-02-284-17/+33
| | | | | | | * thread.c (rb_thread_set_raised, rb_thread_reset_raised): prefixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_flock): immediately returns on EAGAIN ifnobu2008-02-282-2/+9
| | | | | | | non-blocking. [ruby-core:15672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_1): get rid of segfault. [ruby-dev:33938]nobu2008-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_1): get rid of segfault. [ruby-dev:33938]nobu2008-02-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_reverse_bang): removed unsed variables.nobu2008-02-282-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_str_coderange_scan_restartable): addednobu2008-02-284-10/+20
| | | | | | | | | | | | prototype. * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed unsed variables. * string.c (rb_enc_str_copy): unused now. may be used in future? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): fix if.naruse2008-02-271-2/+2
| | | | | | * io.c (rb_io_getline_1): move needless set encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb, ext/tk/lib/*: make default widget set nagai2008-02-2788-464/+844
| | | | | | | | | | | | | | | | | | | | | | | | switchable between Tk (standard Tcl/Tk widget set) and Ttk (Tile). Initial default widget set is Tk. Now, toplevel widget classes are removed and defined as aliases. For example, "TkButton" is an alias of the "Tk::Button" class. Those aliases are replaced when switching default widget set. "Tk.default_widget_set=" is the method for switching default widget set. "Tk.default_widget_set = :Ttk" defines Ttk (Tile) widget set as default. It means that "TkButton" denotes "Tk::Tile::Button" class. And then, "TkButton.new" creates a Tk::Tile::Button widget. Of course, you can back to use standard Tk widgets as the default widget set by calling "Tk.default_widget_set = :Tk", whenever you want. Based on thie feature, you can use Ttk widget styling engine on your old Ruby/Tk application without modifying its source, if you don'tuse widget options unsupported on Ttk widgets (At first, call "Tk.default_widget_set = :Ttk", and next load and run your application). This is one step for supporting Tcl/Tk8.5 features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_coderange_scan_restartable): coderange scaningnaruse2008-02-274-4/+75
| | | | | | | | for partial read. * io.c (read_all): set coderange when not convert encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, enc/make_encmake.rb: load current mkmf.rb even ifnobu2008-02-265-25/+38
| | | | | | | | | | cross-compiling. * ext/extmk.rb, enc/make_encmake.rb, lib/mkmf.rb: need to be 1.8 compatible for cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): should distinguishmatz2008-02-262-1/+6
| | | | | | comment and # in strings. [ruby-dev:33874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (combi_len, rb_ary_product): check for overflow.nobu2008-02-262-2/+15
| | | | | | | [ruby-Bugs-18355] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (recursive_cmp): compare minimal length parts.nobu2008-02-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{ec,dh,dsa,rsa}.c: Remove useless warnings.technorama2008-02-267-33/+26
| | | | | | | | | | * ext/openssl/ossl_asn1.c: Simplify code. * ext/openssl/ossl_ssl_session.c Fix compiler warnings. Undefine #id if SSL_SESSION_get_id is not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr_gen): removed inappropriate warning.nobu2008-02-262-0/+13
| | | | | | | [ruby-core:15660] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (tokadd_escape): refactored. [ruby-core:15657]akr2008-02-262-6/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_eql, rb_ary_cmp): get rid of stack overflow withnobu2008-02-262-19/+44
| | | | | | | self-recursive constructs. [ruby-Bugs-18356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c: sorry, commit miss.usa2008-02-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-26usa2008-02-262-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (ROBJECT_NUMIV): renamed from ROBJECT_LEN.akr2008-02-256-38/+51
| | | | | | | | | | | | | | | | (ROBJECT_IVPTR): renamed from ROBJECT_PTR. * variable.c: follow the above renaming. * object.c: ditto. * gc.c: ditto. * marshal.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-25nobu2008-02-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/digest.c ext/openssl/lib/openssl/digest.rb:technorama2008-02-253-124/+51
| | | | | | | | | | Commit patch #9280 from Akinori MUSHA. Simplify the OpenSSL::Digest class and make use of the existing Digest framework. Enhance performance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add ML ref.usa2008-02-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big2str_karatsuba): initialize cache if not initialized.usa2008-02-252-2/+11
| | | | | | | | * bignum.c (Init_Bignum): delayed initializing cache. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (Init_process): share bignum objects for RLIM_INFINITY,akr2008-02-252-7/+15
| | | | | | | RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Feb 25 10:41:41 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-02-252-3/+8
| | | | | | | | | * encoding.c (Encoding#dummy): minor grammatical fixes in rdoc documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (clean-local): should be double-colon.nobu2008-02-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (clean-local): remove def file.nobu2008-02-242-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, {bcc,win}32/Makefile.sub (clean-local): removenobu2008-02-245-8/+10
| | | | | | | intermediate files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (enable_option, disable_option): allow all for all knownnobu2008-02-232-15/+31
| | | | | | | features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (ruby_set_debug_option): separated ruby_each_words().nobu2008-02-235-29/+106
| | | | | | | | | | | | | | | * util.c (ruby_each_words): extracted from ruby_set_debug_option(). * ruby.c (proc_options): generalized enable/disable options. * ruby.c (ruby_init_gems): take enabled flag. [ruby-core:14840] * ruby.c (process_options): added --disable-rubyopt flag. * include/ruby/util.h (ruby_each_words): prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): check if argument for -E exists.nobu2008-02-232-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-label-indent): fix for labels insidenobu2008-02-232-1/+6
| | | | | | | blocks in switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (ruby_debug_print_indent): use length in fprintf.nobu2008-02-231-4/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (valid_filename): use O_EXCL to get rid of clobberingnobu2008-02-233-12/+13
| | | | | | | existing files in race conditions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_init_cp): should return value.usa2008-02-232-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow type.naruse2008-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_sublen): removed.naruse2008-02-232-12/+13
| | | | | | | * string.c (rb_str_reverse, rb_str_reverse_bang): use single_byte_optimizable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_copy_for_substr): renamed fromnaruse2008-02-232-22/+44
| | | | | | | | rb_enc_cr_str_copy. * string.c: use rb_enc_cr_str_copy_for_substr and keep coderange. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_encoding2cp): remove US-ASCIIsuke2008-02-232-1/+5
| | | | | | | mapping. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-23nobu2008-02-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rlimit_resource_type): new function.akr2008-02-223-25/+203
| | | | | | | | | | | (rlimit_resource_value): new function. (proc_getrlimit): use rlimit_resource_type to accept symbol and string as resource type. (proc_setrlimit): use rlimit_resource_type and rlimit_resource_value to accept symbol and string as resource type and values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix missing STR_ENC_GET.naruse2008-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add ascii incompatible case.naruse2008-02-221-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_copy): check string's coderange is 7bit ornaruse2008-02-222-2/+16
| | | | | | valid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (BIGZEROP): fix for longer Bignum zeros. [ruby-Bugs-17454]nobu2008-02-222-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_mbclen): return minlen instead of 1 whenakr2008-02-224-9/+48
| | | | | | | | | | | | | | a character is not found properly. * string.c (rb_enc_strlen): round up string length with fixed multibyte encoding such as UTF-32. (rb_enc_strlen_cr): ditto. (rb_str_substr): fix substring with fixed multibyte encoding. (rb_str_justify): check number of characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): string of ascii incompatible encodingnaruse2008-02-222-0/+6
| | | | | | should be escaped and returned as US-ASCII encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e