summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2006-02-03* ruby.h: fixed prototype.ocean
* ext/syck/rubyext.c: defined symbol ID as global variable as others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* eval.c: unify ruby_class (for method definition) and ruby_cbasematz
(for constant reference). * eval.c (rb_call0): use TMP_ALLOC() instead of allocating a temporary array object. * eval.c (eval): need not to protect $SAFE value. [ruby-core:07177] * error.c (Init_Exception): change NameError to direct subclass of Exception so that default rescue do not handle it silently. * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] * numeric.c (int_upto): return an enumerator if no block is attached to the method. * numeric.c (int_downto): ditto. * numeric.c (int_dotimes): ditto. * enum.c (enum_first): new method Enumerable#first to take first n element from an enumerable. * enum.c (enum_group_by): new method Enumerable#group_by that groups enumerable values according to their block values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-03* ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etcocean
even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* ext/syck/emitter.c (syck_emitter_write): should not set '\0' onocean
emitter's marker. if marker points to the end of buffer, this is buffer overrun. (ex: YAML.dump("." * 12288)) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa
support of :'string' style Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* configure.in: The isinf is not regognized by autoconfocean
library guesser on solaris 10. [ruby-core:7138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-01* configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)ocean
where they are supported. modifing environ variable seems to segfault solaris 10. [ruby-core:7276] [ruby-dev:28270] * ruby.c (set_arg0): if use setenv(3), environ space cannot be used for altering argv[0]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-31* ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.nagai
* ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-30* ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.ocean
ex: YAML.load("!map:B {}"). [ruby-core:7217] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27* lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this caseocean
file name is "a:0". I don't know this really happens though... [ruby-Bugs:3344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-26* ext/socket/socket.c: turn on do_not_reverse_lookup by default.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-25* configure.in, dln.c, file.c, intern.h, missing.h (eaccess): usenobu
system routine if provided. fixed: [ruby-core:07195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* lib/test/unit/autorunner.rb (process_args): ignore arguments afternobu
'--' so that test scripts can handle them. fixed: [ruby-dev:28258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT onakr
IA64 to avoid reusing variable address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (ruby_setjmp): workaround for FreeBSD/i386akr
getcontext/setcontext bug. [ruby-dev:28263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-19* lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARCakr
if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* eval.c (rb_mod_method_defined): ditto.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* object.c (rb_mod_const_get, rb_mod_const_defined): added optionalnobu
flag to search ancestors, which is defaulted to true. fixed: [ruby-talk:175899] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* win32/setup.mak (MAKE): workaround for nmake 8.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17* win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-16* ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):ocean
should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13* file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=ocean
sizeof(void*). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13* lib/rdoc/diagram.rb:ocean
- properly quote bare element attributes - terminates dangling elements (e.g. <img>, <br>, <link>, etc) - converts "CVS" to the more HTML-friendly acronym element - adds missing type attributes to style elements based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028] * lib/rdoc/generators/html_generator.rb: ditto. * lib/rdoc/generators/template/html/hefss.rb: ditto. * lib/rdoc/generators/template/html/html.rb: ditto. * lib/rdoc/generators/template/html/kilmer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-12* ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widgetnagai
which is constructed with TkComposite module. [new feature] support 'command' option which is called just before popping up the balloon help. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10(ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10bit more explanation for previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* gc.c (garbage_collect): mark ruby_current_node.akr
if an exception is raised in a finalizer called by rb_gc_call_finalizer_at_exit, ruby_set_current_source may use collected ruby_current_node and mark_source_filename may corrupt memory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* ext/syck/rubyext.c (syck_resolver_transfer): should be able to loadocean
!ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] (written by akira yamada) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded inocean
ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10* lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quotedocean
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09* gc.c (gc_stress): renamed from always_gc and enabled by default.akr
(gc_stress_get): new function for GC.stress. (gc_stress_set): new function for GC.stress=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09* ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed byocean
http://www.zlib.net/ has zdll.lib. [ruby-dev:28209] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09* win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,ocean
(VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] * lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder) [ruby-core:7075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08* eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.akr
Intel C++ Compiler defines __GNUC__. http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08the bug was FreeBSD specific.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-07* parse.y (singleton): get rid of segfault on syntax error.nobu
fixed: [ruby-core:07070] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-06* eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 toakr
avoid BSD bug. BSD defines FD_ISSET as just a bitmap of unsigned long. So returning the value from rb_fd_isset discards upper 32bits on LP64 environment. http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05* configure.in: don't force getcontext on IA64.akr
* eval.c (ruby_setjmp): add an argument for just before getcontext. (THREAD_SAVE_CONTEXT): call rb_thread_save_context just before getcontext. [ruby-dev:28205] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-03some more typos fixed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-03fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01fix.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01* missing.h (isnan): avoid macro expantionakr
"extern int isinf(double);" to "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on HP-UX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01* win32/win32.c (rb_w32_seekdir): should not segfault even if passedocean
the location which rb_w32_telldir didn't return. (and should change `bits' position) [ruby-core:7035] * win32/dir.h: ditto. (stores `loc' instead of `bitpos') * test/ruby/test_dir.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31* eval.c (rb_thread_save_context): should not recycle scope object usednobu
in a thread. fixed: [ruby-dev:28177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31* ext/syck/rubyext.c: attribute name was truncated with Rev1.64.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31* lib/generator.rb: (Generator#initialize): should kill @loop_threadocean
before starting new thread. (occurs when called via Generator#rewind) [ruby-dev:28184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30Sorry, reverted. Mutex is damn slow.....ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30* lib/generator.rb: uses Mutex instead of Thread.critical.ocean
[ruby-dev:28184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30* win32/Makefile.sub: VC++8 support.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e