aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]suke2007-11-173-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_odd_p): new method added. a patch from Tadashimatz2007-11-162-0/+41
| | | | | | | | Saito <shiba AT mail2.accsnet.ne.jp>. [ruby-dev:32305] * bignum.c (rb_big_even_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_iconv): also instance method needs to benobu2007-11-162-2/+5
| | | | | | | qualified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (Document-class): moved the simplest example tonobu2007-11-162-8/+16
| | | | | | | | | | the top. * ext/iconv/iconv.c (iconv_s_iconv): Document-method: needs class prefix for class method. [ruby-core:13542] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: added some declarations for event hooks.shugo2007-11-164-23/+40
| | | | | | | * lib/profile.rb: set VM::InstructionSequence.compile_option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.nobu2007-11-163-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * set eol-style.nobu2007-11-1627-1744/+1744
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add largefile.h, miniprelude.c,akr2007-11-150-0/+0
| | | | | | | | ext/fiber/extconf.h, ext/fiber/Makefile, ext/continuation/extconf.h, ext/continuation/Makefile for svn:ignore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: Node#value defined twice.why2007-11-154-4/+7
| | | | | | | * lib/yaml/: several method redefinitions causing warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/types.rb: Likewise, pass self to YAML::quick_emit.why2007-11-152-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (quick_emit): use combination of object_id and hash towhy2007-11-154-9/+27
| | | | | | | | identify repeated object references, since GC will reuse memory of objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add ML ref.usa2007-11-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/extconf.rb: check macro if cannot find func.usa2007-11-152-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: fix TMP_RUBY_PREFIX for relative load pathakr2007-11-152-2/+6
| | | | | | | environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* escape "{" too.akr2007-11-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: absolute path may not start with a slash.akr2007-11-152-2/+8
| | | | | | | pointed by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: fix first substitution.akr2007-11-152-3/+9
| | | | | | | use constant for prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prereq): added auto generated sources. [ruby-dev:32280]nobu2007-11-152-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: use constant for prefix.akr2007-11-152-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: use simple template system for sourceakr2007-11-152-32/+43
| | | | | | | code generation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::FileStore::restore): usematz2007-11-152-4/+18
| | | | | | | lockfile for exclusive locks. a patch from <tommy AT tmtm.org>. [ruby-dev:32296] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb (c_esc): need to escape closing brace.matz2007-11-153-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: adjust RbConfig::CONFIG paths relativeakr2007-11-152-12/+31
| | | | | | | to the installation path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (usage): fix typo on --disable-gems option.akr2007-11-152-1/+6
| | | | | | | pointed by Richard Kilmer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/test_https_proxy.rbmatz2007-11-142-0/+9
| | | | | | | (HTTPSProxyTest::test_https_proxy_authentication): initialize local variable 't' first. [ruby-dev:32253] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb: update not to use 1.8 assignment tomatz2007-11-143-32/+24
| | | | | | | | | | external local variable in the block parameters. [ruby-dev:32251] * test/strscan/test_stringscanner.rb: avoid $KCODE, and use String#force_encoding(). [ruby-dev:32251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in: rename prelude.c to miniprelude.c.akr2007-11-145-8/+17
| | | | | | | | | | | rename ext_prelude.c to prelude.c * win32/Makefile.sub: ditto. * bcc32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * blockinlining.c, compile.c, compile.h, debug.c, debug.h,ko12007-11-1318-107/+115
| | | | | | | | | | | id.c, insnhelper.h, insns.def, thread.c, thread_pthread.ci, thread_pthread.h, thread_win32.ci, thread_win32.h, vm.h, vm_dump.c, vm_evalbody.ci, vm_opts.h: fix comments and copyright year. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/makedocs.rb, template/insnstbl.html: removed.ko12007-11-133-101/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c): dependency also needs vpath.nobu2007-11-132-4/+11
| | | | | | | | * common.mk (node_name.inc, prelude.c): VPATH in nmake does not work for targets of explicit rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-11-131-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: no need to set ac_cv_func_isinf=yes on non-gccakr2007-11-132-6/+4
| | | | | | | solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): don't define is the macro is defined.akr2007-11-132-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (round): fallback definition.nobu2007-11-132-6/+26
| | | | | | | | * numeric.c (flo_divmod, flo_round): use round() always. [ruby-dev:32269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: introduce 2 macros:ko12007-11-1317-197/+213
| | | | | | | | | | | | | | | RFLOAT_VALUE(v), DOUBLE2NUM(dbl). Rename RFloat#value -> RFloat#double_value. Do not touch RFloat#double_value directly. * bignum.c, insns.def, marshal.c, math.c, numeric.c, object.c, pack.c, parse.y, process.c, random.c, sprintf.c, string.c, time.c: apply above changes. * ext/dl/mkcallback.rb, ext/json/ext/generator/generator.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: get rid of GNU sed feature. a patch from Laurentnobu2007-11-133-4/+9
| | | | | | | Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test.akr2007-11-131-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (parse.c), ext/ripper/depend (ripper.c): process afternobu2007-11-1310-56/+85
| | | | | | | | | | | | | | | | | | | | | bison with sed. [ruby-dev:32204] * ruby.c (proc_options): use yydebug in cmdline_options. * ruby.c (process_options): set yydebug flag of parser. * parse.y (yydebug): moved into struct parser_params. * parse.y (rb_parser_get_yydebug, rb_parser_set_yydebug): parser generic methods. * */Makefile.sub (parse.c): moved to common.mk. * tool/ytab.sed: comment out yydebug definition, and substitute yyerror with parser_yyerror. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flodivmod): work around for inifinity.nobu2007-11-133-2/+19
| | | | | | | | * numeric.c (flo_divmod): work around for platforms have no round(). [ruby-dev:32247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c.blt: moved from lex.c.akr2007-11-137-4/+79
| | | | | | | | | | | | | | | | * lex.c.src: copied from keywords. This is the source of lex.c.blt. * Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src. * win32/Makefile.sub (lex.c): re-introduce copy rule. * bcc32/Makefile.sub (lex.c): ditto. * wince/Makefile.sub (lex.c): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_specialized_instruction): check argc.ko12007-11-132-7/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/yaml/test_yaml.rb: fixed the failing YAML Struct testwhy2007-11-132-13/+18
| | | | | | | at ko1's request. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ]shyouhei2007-11-123-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb: fixed tests for set_trace_func.shugo2007-11-122-125/+164
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (call_trace_proc): should return value.usa2007-11-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (miniruby): use $(COMMONOBJS) and $(DMYEXT)usa2007-11-123-2/+7
| | | | | | | | instead of $(LIBRUBY_A). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (MINIOBJS): added prelude.$(OBJEXT).nobu2007-11-123-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk: add prelude.o to MINIOBJS.akr2007-11-123-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): rdoc about srcprefix. a patch fromnobu2007-11-122-0/+36
| | | | | | | Daniel Berger <djberg96 AT gmail.com> in [ruby-core:13378]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk: add ext_prelude.o to OBJS.akr2007-11-123-15/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e