summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * bignum.c (rb_big2str0): faster Bugnum#to_s using Karatsubamatz2007-08-021-0/+7
| | | | | | | | algorithm. a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:31312], slightly modified by Kenta Murata <muraken AT gmail.com> in [ruby-dev:31339]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (option_to_str, arg_kcode, opt_kcode): options conversionnobu2007-08-021-1/+7
| | | | | | | | | | between int and string. * re.c (rb_reg_compile): append regexp options to error message. [ruby-dev:31334] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_compile_gen): set error if failed to compile regexpnobu2007-08-021-0/+9
| | | | | | | | | | | literal. [ruby-dev:31336] * re.c (rb_reg_compile): should not use regexp which could not get initialized. [ruby-dev:31333] return error message to let the parser know it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): should not check positional number asnobu2007-08-021-0/+5
| | | | | | | width. [ruby-core:11838] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * generic.rb (URI::Generic::merge_path): behave as RFC 3986.nobu2007-08-011-0/+5
| | | | | | | [ruby-talk:252052] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (_parse): now interprets slashed numericaltadf2007-07-311-0/+5
| | | | | | | | dates as a big endian (except dd/mm/yyyy). [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.nobu2007-07-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_aref): check for Bignum index range.nobu2007-07-301-0/+5
| | | | | | | [ruby-dev:31271] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest::self.const_missing): avoidmatz2007-07-281-0/+5
| | | | | | infinite recursive const_missing call. [ruby-talk:262193] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_eqq): call_super() in === does not work wellmatz2007-07-261-0/+5
| | | | | | since Enumerable#=== has different behavior. [ruby-dev:31296] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (load_1, dln_find_1): constified.nobu2007-07-261-1/+5
| | | | | | | * ruby.c (usage): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (conv_to_posix_path): removed.nobu2007-07-261-0/+12
| | | | | | | | | | | | | * ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_p): return nil if no argument. [ruby-dev:31285]nobu2007-07-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (USE_MATCH_RANGE_IS_COMPLETE_RANGE): undef to achieve oldmatz2007-07-231-0/+5
| | | | | | rindex behavior. [ruby-dev:31265] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixesmatz2007-07-231-0/+5
| | | | | | some memory violation. [ruby-dev:31070] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr_gen): warn for empty expression ().matz2007-07-231-0/+5
| | | | | | [ruby-dev:31252] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date._parse): now accepts some newtadf2007-07-221-0/+8
| | | | | | | | | | | hints. [experimental] * lib/parsedate.rb: followed the changes on lib/date/format.rb. [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (is_ruby_native_thread): made an int function asnobu2007-07-221-0/+8
| | | | | | | | | | well as version 1.8. * include/ruby/ruby.h (is_ruby_native_thread): moved prototype from intern.h as well as version 1.8. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_rename): deleted code to get rid of a bug ofnobu2007-07-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * include/ruby/intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/win32ole/win32ole.c (lcid_installed): ditto. * ext/socket/getnameinfo.c: include stdio.h always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb, lib/date/format.rb (Date._parse): now can take sometadf2007-07-211-0/+13
| | | | | | | | | | | | | | | | hints (its aim must be mainly determination of endianness of date). [experimental] * lib/date.rb, lib/date/format.rb (Date._parse): now completes truncated year as default action. [experimental] * lib/date.rb, lib/date/format.rb: added ::iso8601, ::rfc3339, ::xmlschema, ::rfc2822, ::httpdate, ::jisx0301, #xmlschema, #httpdate. [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: inverted rules order.nobu2007-07-211-1/+8
| | | | | | | | | | | * thread_win32.ci (w32_create_thread): bcc does not have _beginthreadex(). * bcc32/Makefile.sub: headers have moved. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_argsnobu2007-07-211-1/+9
| | | | | | | | | | | | support. * bcc32/setup.mak: check runtime version. * win32/win32.c (rb_w32_open_osfhandle): prototype has changed in bcc 5.82. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hnobu2007-07-211-1/+4
| | | | | | | only if extconf.h is created. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.nobu2007-07-211-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: include patchlevel number.nobu2007-07-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.nobu2007-07-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date._parse): completes calendar week based year.tadf2007-07-201-0/+7
| | | | | | | | | | | * lib/date/format.rb (Date._parse): detects year of ordinal date in extended format. * and some trivial adjustments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): raise SyntaxError instead of rb_bugnobu2007-07-201-0/+7
| | | | | | | | | since this function can be called from VM::InstructionSequence.load. * compile.c (insn_set_sc_state, iseq_set_sequence_stackcaching): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h (DECL_ANCHOR, INIT_ANCHOR): split not tonobu2007-07-201-0/+14
| | | | | | | | | | | | | | | | initialize aggregations with dynamic values. [ruby-talk:259306] * eval.c (rb_protect): not to initialize aggregations with dynamic values. [ruby-talk:259306] * gc.c (mark_current_machine_context): ditto. * thread.c (thgroup_list, call_trace_func): ditto. * vm.c (vm_init_redefined_flag): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (ossl_config_set_section): do notnobu2007-07-201-0/+5
| | | | | | | initialize aggregations with dynamic values. [ruby-talk:259306] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (remove_begin): keep empty NODE_BEGIN, instead of null.nobu2007-07-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummynobu2007-07-201-0/+8
| | | | | | | | | | NODE_BEGIN after errors. [ruby-dev:31100], [ruby-dev:31118] * parse.y (remove_begin): make empty NODE_BEGIN to NODE_NIL, instead of null. [ruby-dev:31252], [ruby-dev:31263] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (get_result_string): check $?.coredump? nobu2007-07-201-0/+8
| | | | | | | | | | first. * bootstraptest/runner.rb (cleanup_coredump, check_coredump): see stackdump file too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.ci (get_backtrace): check the result more.nobu2007-07-191-0/+5
| | | | | | | [ruby-dev:31261] [ruby-bugs-12398] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_lshift, rb_big_rshift): separated functionsnobu2007-07-191-0/+8
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@12814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]nobu2007-07-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_parser_append_print, rb_parser_while_loop): moved checknobu2007-07-181-0/+8
| | | | | | | | | | for node to the head. * ruby.c (proc_options): do nothing for -p/-n options if tree is null. submitted by Yusuke ENDOH <mame AT tsg.ne.jp> at [ruby-dev:31243]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_succ): Time#succ should return a time object in thematz2007-07-171-0/+5
| | | | | | same timezone mode to the original. [ruby-talk:260256] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): make %u behave like %d for negativematz2007-07-161-0/+6
| | | | | | | values, since decimal format does not work with preceding dots. [ruby-core:11575] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb (Base64::b64encode): should not specify /o optionmatz2007-07-161-0/+5
| | | | | | for regular expression. [ruby-dev:31221] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rindex_m): accept string-like object convertiblenobu2007-07-161-0/+5
| | | | | | | with #to_str method, as well as rb_str_index_m. [ruby-core:11692] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (getspecial): lfp_svar_get() requires int for specialnobu2007-07-151-0/+5
| | | | | | | global variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): more checks for format argument.nobu2007-07-151-0/+6
| | | | | | | | [ruby-core:11569], [ruby-core:11570], [ruby-core:11571], [ruby-core:11573] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): removed invariant variable. [ruby-dev:31236]nobu2007-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222]nobu2007-07-151-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext/digest/digest.c (rb_digest_instance_update, 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] * include/ruby/win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigtrunc): do not empty Bignum. [ruby-dev:31229]nobu2007-07-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225]nobu2007-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): check leading non-digits.nobu2007-07-151-0/+5
| | | | | | | [ruby-core:11691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225]nobu2007-07-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_pow): integer power calculation: 0**n => 0, matz2007-07-141-0/+8
| | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@12789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e