aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * configure.in (MINIDLNOBJS): removed.akr2007-11-123-10/+13
| | | | | | | | | (MINIOBJS): set to dln.o if dmydln.o is not used. * Makefile.in (miniruby): use MINIOBJS instead of MINIDLNOBJS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-parse-partial): handle stringifiedmatz2007-11-123-5/+11
| | | | | | symbols properly using ruby-forward-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit.akr2007-11-121-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename DLNOBJS to MINIDLNOBJS.akr2007-11-122-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLNOBJS): defined.akr2007-11-123-1/+14
| | | | | | | | * Makefile.in (miniruby): use DLNOBJS and COMMONOBJS instead of MINIOBJS and OBJS to avoid linking both dmydln.o and dln.o. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine doc.akr2007-11-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine dependencies of miniruby$(EXEEXT).akr2007-11-111-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert previous commit.akr2007-11-112-5/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): use $(LIBRUBY_A) with prelude.$(OBJEXT).akr2007-11-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.akr2007-11-114-9/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (lex.c): simplified.akr2007-11-112-9/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* copy $(srcdir)/lex.c if gperf failed and $@ is not exist.akr2007-11-111-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* report how lex.c handled.akr2007-11-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* touch lex.c only if lex.c exists.akr2007-11-112-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (lex.c): touch lex.c if gperf failed.akr2007-11-112-1/+11
| | | | | | | | | Although this may cause non-updated lex.c, svn co may generate keywords newer than lex.c especially on a file system which can record fractional mtime such as XFS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_call_method): pass mn->nd_clss toshugo2007-11-115-22/+48
| | | | | | | | | vm_call_cfunc() instead of klass. * vm.c (rb_thread_method_id_and_klass): traverse parent_iseq. * thread.c (call_trace_proc): use rb_thread_method_id_and_klass(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c: renamed from lex.c.blt.akr2007-11-113-6/+17
| | | | | | | | * Makefile.in (lex.c): use find command to check mtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/gem, {lib,test}/rubygems: set property.nobu2007-11-110-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add forgotten bin/gem for RubyGems.drbrain2007-11-102-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment for interpreter issue.akr2007-11-101-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): cast to unsigned char after dereferenceakr2007-11-102-1/+7
| | | | | | | | a pointer to a char to avoid SEGV with "\377".tr("a", "b"). on FreeBSD/amd64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk, Makefile.in: don't generateakr2007-11-104-15/+9
| | | | | | | libminiruby-static.a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't use 1.9 feature.akr2007-11-101-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix file list.akr2007-11-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in: generate libminiruby-static.a akr2007-11-104-15/+24
| | | | | | | which contains prelude.o for miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (EXPLOBJS): create new variable for ext_prelude.o.akr2007-11-103-9/+16
| | | | | | | | * Makefile.in(h: use EXPLOBJS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* format change.akr2007-11-101-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb: new file for gem libraries. currently empty.akr2007-11-107-14/+103
| | | | | | | | | | | | | | | | | * common.mk: generate ext_prelude.c by prelude.rb and gem_prelude.rb. ruby (not miniruby) is linked with ext_prelude.o instead of prelude.o. * inits.c (rb_call_inits): don't call Init_prelude. * ruby.c: support --disable-gems option. (ruby_init_gems): new function to define Gem::Enable and invoke Init_prelude. (process_options): call ruby_init_gems just after ruby_init_loadpath. * tool/compile_prelude.rb: support multiple files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (call_trace_proc): don't call ID2SYM() for ID_ALLOCATORshugo2007-11-102-1/+16
| | | | | | | to avoid SEGV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {lib,test}/rubygems: set property.nobu2007-11-101-183/+183
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems trunk revision 1493.drbrain2007-11-10144-0/+21330
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't override Enumerable#inject for 1.9drbrain2007-11-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: use ASCII encoding for string literals that aredavidflanagan2007-11-102-0/+19
| | | | | | | | 7-bit clean, fixing regression from my previous patch git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub: vendor_ruby support.nobu2007-11-104-3/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_nextc): added single line read forward buffer.nobu2007-11-092-15/+26
| | | | | | | * parse.y (parser_yylex): adjust line number for fluent interface. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e