aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/rdoc/code_objects.rb: Remove debugging Kernel#p. Patch by Lincoln Stolldrbrain2008-03-091-0/+8
| | | | | | | | | | | <lstoll at lstoll.net> * lib/rdoc/generator/html.rb: Fully qualify AllReferences. Patch by Lincoln Stoll <lstoll at lstoll.net> * lib/rdoc/ri/writer.rb: Fix 1.8 backwards compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (isdirsep): backslash is valid path separator on cygwin too.nobu2008-03-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (search_nonascii): Use VALUE instead of unsigned longnaruse2008-03-081-0/+11
| | | | | | | | | | | | because VALUE can be the fastest unsigned integer type. On LLP64 unsigned long isn't the fastest. * string.c (str_strlen): ditto. * string.c (str_utf8_nth): ditto. * string.c (count_utf8_lead_bytes_with_ulong): ditto. * string.c (count_utf8_lead_bytes_with_word): renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: fix indent.mame2008-03-071-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (power_cache_init, power_cache_get_power0, Init_Bignum):mame2008-03-071-0/+5
| | | | | | | delayed initializing power cache per base. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_restore_0): fixed typo. [ruby-core:15821]nobu2008-03-071-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: rdoc added. [ruby-Patches-9762]nobu2008-03-071-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): space flag is in effect for Inf/NaN too.nobu2008-03-061-0/+5
| | | | | | | [ruby-dev:34002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): casting double to long is undefinedusa2008-03-061-1/+1
| | | | | | | | | if the interger part of double is out of the range of long. (fix previous commit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): casting double to long is undefinedusa2008-03-061-0/+5
| | | | | | | | if the interger part of double is out of the range of long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): ignore 0 flag for NaN and Inf.nobu2008-03-061-0/+5
| | | | | | | [ruby-dev:33994] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead ofusa2008-03-061-0/+7
| | | | | | | | | | ruby$(EXEEXT). suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:34000] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.akr2008-03-061-0/+6
| | | | | | | | * test/ruby/test_math.rb: accept errors by functions under missing/. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_str_transcode_bang): set coderange.naruse2008-03-061-0/+6
| | | | | | * transcode.c (rb_str_transcode): use rb_str_transcode_bang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (cbrt): add declaration.akr2008-03-061-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-add-log-current-method): use ruby stylenobu2008-03-061-0/+5
| | | | | | | method name format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): no need of loop.nobu2008-03-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_freeze): call rb_class_name() directly.matz2008-03-061-0/+5
| | | | | | [ruby-core:15802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (count_utf8_lead_bytes_with_ulong): fix shift size.naruse2008-03-051-5/+12
| | | | | | | | [ruby-dev:33993] * string.c (str_utf8_nth) fix wrong counting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): size_t returned from strlen() can benobu2008-03-051-0/+5
| | | | | | | unsigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (make_struct): preserve encoding of struct name.nobu2008-03-051-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (is_utf8_lead_byte, count_utf8_lead_bytes_with_ulong):naruse2008-03-051-0/+10
| | | | | | | | | | | defined for UTF-8 optimization. * string.c (str_strlen): use is_utf8_lead_byte and count_utf8_lead_bytes_with_ulong. * string.c (str_utf8_nth) ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_flock): returns false on EAGAIN if non-blocking.nobu2008-03-051-0/+5
| | | | | | | [ruby-core:15795] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Web Mar 5 17:43:43 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-03-051-0/+8
| | | | | | | | | | | | * transcode.c (transcode_loop): Adjusted detection of invalid (ill-formed) UTF-8 sequences. Fixing potential security issue, see http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes. * test/ruby/test_transcode.rb: Added two tests for above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_to_s): avoid rb_scan_args() when no argumentmatz2008-03-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | given. * bignum.c (rb_big_to_s): ditto. * enum.c (enum_first): ditto. * eval_jump.c (rb_f_catch): ditto. * io.c (rb_obj_display): ditto. * class.c (rb_obj_singleton_methods): ditto. * object.c (rb_class_initialize): ditto. * random.c (rb_f_srand): ditto. * range.c (range_step): ditto. * re.c (rb_reg_s_last_match): ditto. * string.c (rb_str_to_i): ditto. * string.c (rb_str_each_line): ditto. * string.c (rb_str_chomp_bang): ditto. * string.c (rb_str_sum): ditto. * string.c (str_modifiable): declare inline. * string.c (str_independent): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: require 'continuation' to implement "restart"matz2008-03-051-0/+14
| | | | | | | | | | | | | | | command. [ruby-dev:33992] * lib/debug.rb (Context::debug_command): remove local variable shadowing to shut up warnings. [ruby-dev:33992] * lib/debug.rb (Context::display_list): ditto. * lib/debug.rb (Context::resume): ditto. * lib/debug.rb (Context::get_thread): no longer use #index for Hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb::eval_input): SyntaxError should not bematz2008-03-041-0/+8
| | | | | | | | | considered as IRB bug. [ruby-dev:33991] * lib/irb/workspace.rb (IRB::WorkSpace::filter_backtrace): should filter 'irb.rb' as well for context mode 2 and 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (hash_equal): two hash tables are different when internalmatz2008-03-041-0/+3
| | | | | | comparison table differ. [ruby-dev:33989] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_aset): should not copy key string whenmatz2008-03-041-0/+5
| | | | | | compare_by_identity is set. [ruby-dev:33604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): disallow non digits '0o' expression.matz2008-03-041-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): use rb_io_open_with_args instead of rb_f_open.naruse2008-03-041-0/+5
| | | | | | [ruby-core:15763] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (add_heap): fix previous change. [ruby-dev:33988]akr2008-03-041-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (add_heap): use binary search to find the place to insert thenobu2008-03-041-0/+5
| | | | | | | new heap slot. [ruby-dev:33983] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): use rb_io_open instead of rb_f_open.naruse2008-03-031-0/+5
| | | | | | [ruby-core:15746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: should normalize pathgotoyuzo2008-03-031-0/+10
| | | | | | | | | | | | separators in path_info to prevent directory traversal attacks on DOSISH platforms. reported by Digital Security Research Group [DSECRG-08-026]. * lib/webrick/httpservlet/filehandler.rb: pathnames which have not to be published should be checked case-insensitively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (add_heap): sort heaps array in ascending order to usematz2008-03-031-0/+8
| | | | | | | | | binary search. * gc.c (is_pointer_to_heap): use binary search to identify object in heaps. works better when number of heap segments grow big. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_regsub): remove too strict encoding check.matz2008-03-031-0/+5
| | | | | | [ruby-dev:33966] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_any_hash): shrinks all results in Fixnum range.nobu2008-03-031-0/+5
| | | | | | | [ruby-core:15713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetc): reduce redundant call.nobu2008-03-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): parse shebang in us-ascii. a patch fromnobu2008-03-021-0/+5
| | | | | | | sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:33955] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): check for successive underscores.nobu2008-03-011-0/+5
| | | | | | | [ruby-dev:33952] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (struct argf): packed ARGF stuffs.nobu2008-03-011-0/+6
| | | | | | | * ruby.c (proc_options): use ruby_set_inplace_mode(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (recursive_collect): do not alwaysnobu2008-03-011-0/+5
| | | | | | | include all test_*.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * development snapshot 1.9.0-1 released.matz2008-03-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: make prereq uses MINIRUBY.matz2008-03-011-0/+7
| | | | | | | * tool/make-snapshot: allow packaging like 1.9.0-1 by second command-line argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/allpairs.rb: new file for all pairs method.akr2008-03-011-0/+8
| | | | | | | | | | * test/ruby/test_m17n_comb.rb: use allpairs.rb to reduce test cases. * test/ruby/test_sprintf_comb.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_inspect): use rb_str_inspect() instead ofmatz2008-03-011-0/+5
| | | | | | rb_str_dump(). [ruby-dev:33946] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.c (rb_get_method_body): ent->method may be freed bymatz2008-03-011-0/+8
| | | | | | | | | GC. [ruby-dev:31819] * thread.c (remove_event_hook): should not access freed memory. [ruby-dev:31820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: typo fixedmatz2008-03-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all, rb_io_getline_fast): encoding is rb_input_encoding.naruse2008-03-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e