summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tagging pl369 for release.ruby_1_8_6_369wyhaines2009-06-090-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_369@23654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated the release dates.wyhaines2009-06-081-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed a typo in lib/soap/mimemessage.rb -- conent -> contentwyhaines2009-06-084-27/+64
| | | | | | | | Backported BigDecimal fixes to bugs with BigDecimal handling of very large inputs; these bugs caused bad things to happen in combination with Date. Tests were added to the rubyspec project to cover these fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21750:shyouhei2009-03-313-5/+16
| | | | | | | * lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21749:shyouhei2009-03-272-4/+27
| | | | | | | | | | | * lib/mkmf.rb (mkintpath): new function which converts native path to format acceptable in Makefile. * lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir. a patch by Alexey Borzenkov <snaury AT gmail.com> at [ruby-core:21448]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 22882,22961,22971:shyouhei2009-03-273-5/+22
| | | | | | | | | | * gc.c (run_final): calls free function. [ruby-core:22578] * gc.c (rb_gc_call_finalizer_at_exit): leave Thread objects unfinalized. [ruby-dev:38168] * gc.c (run_final): frees zombies only. [ruby-dev:38171] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 22011:shyouhei2009-03-234-10/+67
| | | | | | | | | * ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock mutex if got an exception while waiting, and should ensure unlocked after signaled. [ruby-dev:37545] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 17874,17886:shyouhei2009-03-234-19/+54
| | | | | | | | | | * eval.c (rb_thread_join): new API. * ext/thread/thread.c (wait_mutex, lock_mutex): wait until the locking thread exits. [ruby-dev:34856] * eval.c (rb_thread_value): missed to change at r17874. [ruby-core:17595] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 22654:22661:shyouhei2009-03-233-25/+23
| | | | | | | | | * file.c (file_load_ok): checks if regular file, except for the platform disallows to open directories, e.g. dosish. [ruby-dev:38097], [Bug #1221] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@23038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 16465:shyouhei2009-03-105-18/+73
| | | | | | | | | | * ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted prototype change in openssl bundled with newer OpenBSD. a patch from Takahiro Kambe <taca at back-street.net> in [ruby-dev:34691]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 22646:shyouhei2009-03-093-5/+11
| | | | | | | | | * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify returns positive value on success, not non-zero. [ruby-core:21762] backported r22440 from trunk. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21997:shyouhei2009-03-093-7/+40
| | | | | | | | * re.c (match_check): check if MatchData is initialized. [ruby-core:18749] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21994:shyouhei2009-03-093-2/+7
| | | | | | | | * lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy Kemper. [ruby-core:20113] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21913:shyouhei2009-03-093-1/+8
| | | | | | | | * io.c (io_getpartial): fflush after read for updating pos in FILE. not portable, I guess. [ruby-core:21561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21727:shyouhei2009-03-093-3/+17
| | | | | | | | | * gc.c (define_final): cannot define finalizer for immediate values. [ruby-core:21500] * gc.c (define_final): freezes or hides internal values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21688:shyouhei2009-03-083-15/+22
| | | | | | | | * parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG. [ruby-core:21453] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21677:shyouhei2009-02-253-2/+8
| | | | | | | | | * node.h (rb_thread_raised_clear): should not clear flags other than raised flags. a patch by Tomoyuki Chikanaga <chikanag AT nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21505:shyouhei2009-02-254-3/+29
| | | | | | | | | | * ext/socket/extconf.rb (gai_strerror): checks if available and if returns const pointer. * ext/socket/getaddrinfo.c (gai_strerror): defines only if non available. [ruby-core:21328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21447:shyouhei2009-02-253-31/+79
| | | | | | | | | * win32/win32.c (open_dir_handle): extracted from rb_w32_opendir. * win32/win32.c (winnt_stat): gets rid of strange behavior of GetFileAttributes(). [ruby-core:21269] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21432:shyouhei2009-02-234-32/+15
| | | | | | | | | * lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997] * test/erb/test_erb.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21354:shyouhei2009-02-223-35/+50
| | | | | | | | | * eval.c (stack_extend): streamlined rb_thread_restore_context() to ensure O(1) time. based on a patch by Brent Roman <brent AT mbari.org>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21353:shyouhei2009-02-223-13/+61
| | | | | | | | | | | | | * eval.c (cc_mark): frees the continuation's stack if its thread 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21297:shyouhei2009-02-214-7/+15
| | | | | | | | | * ext/extmk.rb (extmake): does not use both of makefile.rb and extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21165:shyouhei2009-02-213-21/+36
| | | | | | | | | * eval.c (rb_thread_schedule): Don't change status of threads which don't run next even if select notify readability/writability. [ruby-core:20446] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 21066:shyouhei2009-02-204-6/+42
| | | | | | | | | | * lib/optparse.rb (OptionParser::List#summarize): gives priority to latter switches. [ruby-dev:36692] * lib/optparse.rb (OptionParser#summarize): do not append unnecessary line terminator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20884:shyouhei2009-02-203-3/+9
| | | | | | | * lib/cgi/session.rb: ignore session_id options fixed.[Bug #605] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20855:shyouhei2009-02-203-2/+14
| | | | | | | | | | | Merged 20854 from trunk. * 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20752:shyouhei2009-02-193-6/+15
| | | | | | | | | | * lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed. a patch from [ruby-core:20561] * lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before exit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20581:shyouhei2009-02-193-2/+10
| | | | | | | | | * pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'. just ignores '*' in these cases. [ruby-dev:37289] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20580:shyouhei2009-02-194-6/+51
| | | | | | | | * pack.c (pack_pack): fixed length for odd length string. [ruby-dev:37283] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20540:shyouhei2009-02-183-1/+9
| | | | | | | * win32/win32.c (rb_w32_isatty): check whether fd is valid. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20537:shyouhei2009-02-183-2/+20
| | | | | | | | * win32/win32.c (waitpid): fix bug of checking child slot. * win32/win32.c (FindChildSlotByHandle): new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20525:shyouhei2009-02-183-1/+7
| | | | | | | | * pack.c (pack_pack): propagate taint status from format string to result string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20360:20363:shyouhei2009-02-183-23/+18
| | | | | | | | | * ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly. [ruby-dev:37182] * ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20354:shyouhei2009-02-173-5/+12
| | | | | | | | * string.c (str_independent): no independent string points null_str. [ruby-core:20082] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20300:shyouhei2009-02-164-9/+14
| | | | | | | | * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: fix NameError bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20287:shyouhei2009-02-163-10/+40
| | | | | | | | | | * string.c (rb_str_s_alloc, rb_str_replace): use null_str as well as rb_string_value so that extension libraries do not segfault. [ruby-core:19971] * string.c (rb_str_replace): reduced unnecessary malloc and copy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20276:20279:shyouhei2009-02-163-11/+18
| | | | | | | | | * test/rinda/test_rinda.rb: fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h. * test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failures git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20252:20255:shyouhei2009-02-163-4/+10
| | | | | | | | * lib/drb/drb.rb (DRbConn::alive?): fixed NoMethodError problem from NaHi [ruby-dev:37110]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20248:shyouhei2009-02-143-3/+9
| | | | | | | | | * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20246:shyouhei2009-02-143-5/+11
| | | | | | | | | * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line): use non-greedy match for path retrieval to avoid huge recursion for insanely long path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20245,20247:shyouhei2009-02-134-3/+12
| | | | | | | | * lib/logger.rb (ProgName): fixed for svn, based on a patch from Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20231:shyouhei2009-02-133-5/+15
| | | | | | | * shell/command-processor.rb: undefined method `top_level_test' in git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20228:shyouhei2009-02-113-4/+16
| | | | | | | | | | * ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug pointed by Ryan Platte fixed(Patch to the patch from "NATORI Shin"). [ruby-talk:273360] back ported from 1.9. fix [ruby-core:19791] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20225:shyouhei2009-02-103-5/+11
| | | | | | | | * eval.c (load_lock): makes circular require deadlock. [ruby-core:19821] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20214:shyouhei2009-02-103-18/+41
| | | | | | | | | * eval.c (rb_feature_p): returns found feature name if loading. [ruby-core:19798] * eval.c (search_required): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20189:shyouhei2009-02-093-9/+27
| | | | | | | | | | * win32/win32.c (rb_w32_accept): secure fd before accept because if error causes in securing, cannot restore the state of accepted socket. fixed [ruby-core:19728] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20166:shyouhei2009-02-093-1/+9
| | | | | | | | | * win32/win32.c (ifs_open_socket): should retry without proto_buffer if cannot find the suitable protocol. a patch from Heesob Park. fixed [ruby-core:19713] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20151:shyouhei2009-02-093-12/+26
| | | | | | | | * ext/stringio/stringio.c (strio_ungetc): should allow ungetc at the top of the buffer. ref #701 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 20142:shyouhei2009-02-053-5/+10
| | | | | | | | * ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in conversion. [ruby-list:45609] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e