summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-21* 2009-01-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-21* array.c (ary_double_capa): a new function to expand array morematz
aggressively. [ruby-core:21460] * array.c (rb_ary_store): use ary_double_capa(). * array.c (rb_ary_splice): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-21* enumerator.c (inspect_enumerator, yielder_new_i): addednobu
prototypes to suppress warnings due to a bug of VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-21* 2009-01-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-21* variable.c (rb_mod_remove_cvar): fixed rb_mod_remove_cvar() toshugo
pass test_cvar_scope_with_instance_eval in test/ruby/test_eval.rb. Module#remove_class_variable seems to be broken in r19711. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-20* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG.matz
[ruby-core:21453] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-19* node.h (rb_thread_raised_clear): should not clear flags other thannobu
raised flags. a patch by Tomoyuki Chikanaga <chikanag AT nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-14* ext/socket/extconf.rb (gai_strerror): checks if available and ifnobu
returns const pointer. * ext/socket/getaddrinfo.c (gai_strerror): defines only if non available. [ruby-core:21328] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* 2009-01-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too shortakr
sockaddr. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.nobu
* win32/win32.c (winnt_stat): gets rid of strange behavior of GetFileAttributes(). [ruby-core:21269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* 2009-01-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* eval.c (rb_thread_start_0): must use ruby_longjmp instead ofnobu
longjmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-11remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-11* hash.c (rb_hash_s_create): set nil as the value if assoc lengthnobu
is not enough. [ruby-core:21249] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* eval.c (TAG_THREAD): to start a new thread.nobu
* eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect, rb_load_protect, rb_thread_start_0): make thread anchor. * eval.c (proc_alloc): clone proc object if klass is not Proc or created in different thread. * eval.c (rb_block_pass): call a function with a block. [new] * eval.c (rb_thread_start_0): restore prot_tag before rewinding. * eval.c (rb_thread_start_0): update curr_thread before raising TAG_THREAD. [ruby-dev:25712] * eval.c (rb_thread_start_1): outer block variables wasn't linked to threads. fixed: [ruby-dev:25700] * eval.c (rb_thread_start_1): initialize newly pushed frame. fixed: [ruby-dev:25707] * node.h (struct rb_thread): added anchor. backported r7954, r7964, r7980, r7992, r8014 from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* 2009-01-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* configure.in: fix SEGV on Mac OS X 10.5.3 with --enable-shared.kazu
a patch from Wataru Kimura in Bug #193 [ruby-core:17333]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-06* eval.c (stack_extend): streamlined rb_thread_restore_context()nobu
to ensure O(1) time. based on a patch by Brent Roman <brent AT mbari.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-06* eval.c (cc_mark): frees the continuation's stack if its threadnobu
is dead to avoid recursive gc that segfaults. [ruby-core:13889] a patch by Brent Roman <brent AT mbari.org>. * eval.c (rb_cont_check): checks for valid continuation instance. * eval.c (rb_callcc): assigns th->thread before scope_dup() to avoid segfaults if this scope_dup() triggers a gc pass. a patch by Brent Roman <brent AT mbari.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* win32/win32.c (init_env): use user profile folder than personalnobu
folder. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* numeric.c (ruby_float_step): extracted from num_step().nobu
* range.c (range_step): uses ruby_float_step() for float range. [ruby-dev:37691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* ext/extmk.rb (extmake): does not use both of makefile.rb andnobu
extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* 2008-12-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* eval.c (rb_thread_schedule): Don't change status of threads whichakr
don't run next even if select notify readability/writability. [ruby-core:20446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-26* lib/optparse.rb (OptionParser::List#summarize): gives prioritynobu
to latter switches. [ruby-dev:36692] * lib/optparse.rb (OptionParser#summarize): do not append unnecessary line terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-25* 2008-12-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-25rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-19* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]xibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* 2008-12-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18 * test warning cleanups.nahi
* lib/webrick/https.rb, lib/soap/attachment.rb, test/xsd/test_xsd.rb: uninitialized instance variables. * lib/xsd/datatypes.rb: use Date#new! instead of Date#new0 according to deprecation message. * lib/webrick/httpservlet/cgihandler.rb, lib/xsd/codegen/gensupport.rb, lib/soap/property.rb, lib/soap/mimemessage.rb, test/webrick/test_cgi.rb: use String#each_line and String#lines.to_a instead of String#each according to deprecation message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* 2008-12-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17Merged 20854 from trunk.jeg2
* lib/xmlrpc/server.rb: Restricting method inspection to show only non-inherited public methods. [ruby-core:20603] * lib/xmlrpc/server.rb: Fixing method inspection so it doesn't trigger XMLRPC::FaultException when used. [ruby-core:20604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* enumerator.c (inspect_enumerator): Implement #inspect.knu
[ruby-dev:37248]-[ruby-dev:37263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* lib/date.rb (once): Use Object#object_id instead of Symbol#to_i;knu
backported from trunk besides the caching. * lib/erb.rb (ERB::Compiler::TrimScanner#scan): Use String#each_line instead of String#each. * rubytest.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* object.c (rb_any_to_a): Always use "... is deprecated" for aknu
deprecation warning to make it easier to find out what is deprecated and going to be removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* string.c (rb_str_each): Add a deprecation warning toknu
String#each. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* 2008-12-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* object.c (sym_to_i, sym_to_int): Add a deprecation warning toknu
Symbol#to_i. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* 2008-12-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* array.c (rb_ary_nitems, rb_ary_choice): Add a deprecationknu
warning. * hash.c (env_index, rb_hash_index): Simplify the deprecation warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* 2008-12-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.matz
a patch from [ruby-core:20561] * lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before exit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* enumerator.c (enumerator_next, enumerator_rewind),knu
lib/generator.rb (Enumerator#rewind): If the enclosed object responds to a "rewind" method, call it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb:kou
RSS::Maker.[] returns a maker class corresponds to passed version. * test/rss/test_maker_*.rb: add tests for RSS::Maker.[]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* test/ruby/test_enumerator.rb: Add tests for the recently addedknu
features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* lib/generator.rb (Enumerator#__generator): Now thatknu
Enumerator::Generator is defined, the Generator here must be referred to as ::Generator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* enumerator.c (enumerator_initialize): Add an ability to generateknu
an enumerator from a block. [ruby-dev:35903] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e