summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add tag v1_8_6_75v1_8_6_75shyouhei2007-08-220-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_6_75@13197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.shyouhei2007-08-224-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.shyouhei2007-08-223-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (ossl_config_set_section): do notshyouhei2007-08-223-2/+10
| | | | | | | initialize aggregations with dynamic values. [ruby-talk:259306] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (get_backtrace): check the result more.shyouhei2007-08-224-8/+15
| | | | | | | [ruby-dev:31261] [ruby-bugs-12398] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_lshift, rb_big_rshift): separated functionsshyouhei2007-08-225-20/+132
| | | | | | | | | to get rid of infinite recursion. fixed calculation in edge cases. [ruby-dev:31244] * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]shyouhei2007-08-223-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_succ): Time#succ should return a time object in theshyouhei2007-08-223-2/+12
| | | | | | | same timezone mode to the original. [ruby-talk:260256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_pow): integer power calculation: 0**n => 0, shyouhei2007-08-223-6/+45
| | | | | | | | | 1**n => 1, -1**n => 1 (n: even) / -1 (n: odd). * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): should not specify /o optionshyouhei2007-08-223-2/+7
| | | | | | | for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): more checks for format argument.shyouhei2007-08-223-29/+44
| | | | | | | | [ruby-core:11569], [ruby-core:11570], [ruby-core:11571], [ruby-core:11573] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_update,shyouhei2007-08-2210-9/+45
| | | | | | | | | | | | | | | | | | | | rb_digest_instance_finish, rb_digest_instance_reset, rb_digest_instance_block_length): %s in rb_raise() expects char*. [ruby-dev:31222] * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231] * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231] * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise() instead of rb_raise(). [ruby-dev:31222] * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232] * ext/syck/syck.h: include stdlib.h for malloc() and free(). [ruby-dev:31232] * ext/syck/syck.h (syck_parser_set_input_type): prototype added. [ruby-dev:31231] * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232] * win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): check leading non-digits.shyouhei2007-08-223-16/+22
| | | | | | | [ruby-core:11691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_neg): SIGNED_VALUE isn't in 1.8.shyouhei2007-08-223-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_pow): 0**2 should not raise floating pointshyouhei2007-08-223-1/+7
| | | | | | | exception. [ruby-dev:31216] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): enclose command line except forshyouhei2007-08-223-11/+25
| | | | | | | command.com which can not handle quotes. [ruby-talk:258939] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandshyouhei2007-08-223-6/+13
| | | | | | | ::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_init_copy): disallow changing the size.shyouhei2007-08-223-4/+10
| | | | | | | [ruby-dev:31168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: documentation fix. srand(0) initializes PRNG with '0',shyouhei2007-08-223-3/+9
| | | | | | | not with random_seed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.shyouhei2007-08-224-19/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): sign bit extension should not be doneshyouhei2007-08-223-3/+8
| | | | | | | | if FPLUS flag is specified. [ruby-list:39224] numbers if FZERO is specified. [ruby-list:39218] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_initialize): should call rb_ary_modify() first.shyouhei2007-08-223-2/+7
| | | | | | | [ruby-core:11562] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): return non-valid token for an invalidshyouhei2007-08-223-1/+8
| | | | | | | | instance/class variable name. a patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): return non-null NODE even if yyerror(). based on ashyouhei2007-08-223-1/+7
| | | | | | | patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_exec_v, rb_proc_exec): preserve errno.shyouhei2007-08-223-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occuredshyouhei2007-08-223-8/+30
| | | | | | | in at_exit blocks. [ruby-core:11263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_path2class): get rid of dangling pointer caused byshyouhei2007-08-213-4/+14
| | | | | | | optimized out value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/lib/dl/win32.rb: seems that dl doesn't accept void argument.shyouhei2007-08-213-2/+7
| | | | | | | fixed [ruby-bugs:PR#5489]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle moreshyouhei2007-08-212-2/+2
| | | | | | | extensions. [ruby-dev:30972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): prohibit loading extension libraries toshyouhei2007-08-213-3/+9
| | | | | | | miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_kill_thread): renamed in order to get rid of conflictshyouhei2007-08-213-4/+9
| | | | | | | with a BeOS system function. [ruby-core:10830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (ruby_setreuid, ruby_setregid): rename to get rid of nameshyouhei2007-08-213-3/+14
| | | | | | | clash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (ResponseParser#next_token): fixedshyouhei2007-08-213-3/+12
| | | | | | | | | | error message. (backported from HEAD) * lib/net/imap.rb (ResponseParser#parse_error): fixed the condition not to refer @token.symbol unexpectedly. Thanks, Dick Monahan. (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_extended): erroneous check condition when dumpshyouhei2007-08-213-7/+12
| | | | | | | method is defined. [ruby-core:10646] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patchlevel 40shyouhei2007-08-151-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/formatters: set propertyies.nobu2007-07-300-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixes a bug in the pretty printer related to an incomplete refactoring.ser2007-07-283-7/+12
| | | | | | | Merge code cleanups Fixes another bug related to the formatting code refactoring in 3.1.7 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1278@bean: ser | 2007-06-07 00:53:06 -0400ser2007-07-2826-1444/+1783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a double-encoding bug. This was a regression, related to ticket:48. r1292@bean: ser | 2007-07-25 08:19:36 -0400 r1279@bean: ser | 2007-06-09 23:19:02 -0400 Fixes ticket:89 -- encoding CP-1252 was broken. ISO-8859-15 had the same problem. Also in this patch is a fix to merge.rb (unused, but it should at least contain no errors), and a unit test for ticket:88. r1293@bean: ser | 2007-07-25 08:19:37 -0400 r1281@bean: ser | 2007-07-24 11:08:48 -0400 Addresses ticket:85 This is a major rewrite of the XML formatting code. The XML writers have all been extracted out of the classes and put into their own class containers. This makes writing parsers easier, and cleaner. There are three formatters, which correspond to the previous three XML writing modes: REXML::Formatters::Default Prints the XML document exactly as it was parsed REXML::Formatters::Pretty Pretty prints the XML document, destroying whitespace in the document REXML::Formatters::Transitive Pretty prints the XML document, preserving whitespace All of the write() functions have been deprecated (some are still used, but these will also go away) except the write() function on Document, which is left for convenience. To pretty print an XML document the canonical way: formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces formatter.write( document, output ) r1296@bean: ser | 2007-07-25 08:19:40 -0400 r1287@bean: ser | 2007-07-24 20:12:25 -0400 Applied patch from Jeff Barczewski. Note that this changes what the values of the name and IDs are from the previous behavior -- the values no longer include the quotes. This is the correct behavior, so I'm leaving it in, but it is not backwards compatible. Also fixes the serializer so that it outputs the doctype in a correct format (needed as a result of this change). r1297@bean: ser | 2007-07-25 08:38:38 -0400 Version update r1298@bean: ser | 2007-07-25 08:40:30 -0400 r1291@bean (orig r12517): ryan | 2007-06-11 20:38:57 -0400 Fixed typo in code. Fixes bug #10420 r1304@bean: ser | 2007-07-27 22:34:18 -0400 Whitespace changes only git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patchlevel 39shyouhei2007-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status()nobu2007-06-184-4/+10
| | | | | | | to get rid of error in C++. [ruby-list:43615] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):shyouhei2007-06-144-7/+13
| | | | | | | get rid of invoking shell. [ruby-dev:30942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stable version 1.8.6-p36 released.shyouhei2007-06-122-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_cancel_timer): fix undefined functionshyouhei2007-06-083-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_cmd): just return if no exceptions.shyouhei2007-06-083-1/+10
| | | | | | | | [ruby-dev:30820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patchlevel 34shyouhei2007-06-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_cmd): just return if no exceptions.shyouhei2007-06-082-0/+10
| | | | | | | [ruby-dev:30820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_cmd): just return if no exceptions.shyouhei2007-06-083-2/+7
| | | | | | | [ruby-dev:30820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): store attributes of the secondshyouhei2007-06-083-33/+36
| | | | | | | | | | entries or later too. * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, intern.h, ext/thread/thread.c: should not free queueshyouhei2007-06-075-38/+99
| | | | | | | | while any live threads are waiting. [ruby-dev:30653] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2007-06-07shyouhei2007-06-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e