nobu
72aa4a8c46
* configure.in (Makefile): set VCS and VCSUP.
...
* Makefile.in, win32/Makefile.sub (up): split from common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 08:33:02 +00:00
ko1
e39bd71126
* common.mk: btest-ruby should receive option with OPTS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15 15:27:06 +00:00
nobu
e668e36b49
* template/{encdb,transdb}.h.tmpl: moved enc/make_encdb.rb and
...
enc/trans/make_transdb.rb using tool/generic_erb.rb.
* common.mk (encdb.h, transdb.h): generates from avobe template.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-13 09:05:29 +00:00
nobu
040a7fa7e2
* common.mk (test-sample), rubytest.rb: use runruby.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09 03:29:10 +00:00
nobu
f597d65a6f
* instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):
...
use version invariant configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07 08:13:07 +00:00
usa
9282f9f9d4
* common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macro
...
definition from common.mk to {Makefile.in,win32/Makefile.sub}.
[ruby-dev:37678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-03 13:26:11 +00:00
usa
0d1e85ee4b
* common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,
...
known_errors.inc, miniprelude.c, newline.c): move rules from common.mk
to {Makefile.in,win32/Makefile.sub) for nmake.
[ruby-core:20993]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-02 18:03:05 +00:00
yugui
62be8b0154
* common.mk (revision.h): ignores failure of file2lastrev.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 06:16:56 +00:00
yugui
8f79efe0be
* common.mk (revision.h): uses tool/file2lastrev.rb to support
...
git-svn.
* version.h: changed version string as
`ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
[i386-darwin9.6.0]'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 13:19:17 +00:00
yugui
c09e5abeee
* Doxyfile.in: new file. Template of a configuration file for
...
Doxygen.
Intorduces C-level API reference generation with Doxygen.
* tool/file2lastrev.rb: wrapper script that abstracts subversion
and git-svn.
* tool/strip-rdoc.rb: filter for preventing doxygen from processing
rdoc comments.
* configure.in: (Doxyfile): Doxyfile is generated together with
Makefile.
(PACKAGE): configuration $(PACKAGE) is necessary for $(docdir).
* instruby.rb: adds a new install target 'capi'
* common.mk (capi): new target that generates C API documents with
Doxygen.
(install-capi): new target.
(pre-install-capi): ditto.
(do-install-capi): ditto.
(post-install-capi): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 13:19:08 +00:00
knu
4bf5646e64
Revert the previous change. [ruby-dev:37455]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 06:35:07 +00:00
knu
8636e50873
* common.mk (complex.$(OBJEXT), rational.$(OBJEXT)): Properly add
...
dependencies to version.h and revision.h to fix parallel build
with make -j#.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 04:57:45 +00:00
usa
ebed0a6e9a
* common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat
...
''\'' in such quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 11:18:14 +00:00
nobu
465bad4147
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
...
[ruby-core:20131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 06:02:27 +00:00
nobu
23f72026a4
* common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load the
...
shared library. [Bug #849 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 01:00:38 +00:00
yugui
f3634e5dc8
* common.mk (help): describes more targets.
...
based on a patch by Michael Klishin. [ruby-core:20523].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-13 13:20:26 +00:00
yugui
63a534194c
* common.mk (run, runruby, parse, gdb, gdb-ruby): you can also run
...
other scripts than $(srcdir)/test.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 10:35:31 +00:00
usa
a091c9e18f
* common.mk (win32.obj): depend on headers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09 16:29:08 +00:00
nobu
1b95e95ff2
* common.mk (revision.h): have to be updated daily or by non-trivial
...
commits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-29 05:36:53 +00:00
nobu
1e2b744ed2
* common.mk (exts): renamed to get rid of the existent directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:55:07 +00:00
nobu
9e1bddfda2
* common.mk (ext): split out the target for extension library.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 05:22:51 +00:00
nobu
8d47e63135
* common.mk (encs): depends on enc and trans.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 05:13:18 +00:00
ko1
34d1e9bb25
* include/ruby/vm.h: write a comment.
...
* common.mk: remove vm.h from any rules.
vm.h is not needed on this version.
* vm_core.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21 20:59:23 +00:00
nobu
de85d6e92e
* common.mk (srcs): removed ID_H_TARGET.
...
* tool/generic_erb.rb: always overwrites if no if-change option.
* template/id.h.tmpl: shows which token differs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-19 12:12:53 +00:00
yugui
c2091e37ec
* keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed
...
input files for code generators into defs/ directory.
* Makefile.in (lex.c): followed keywords and lex.c.src.
* common.mk (parser.o): followed keywords.
(INSNS): followed opt_*.def
* tools/instruction.rb: followed opt_*.def.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-18 22:30:13 +00:00
eban
c2fab59341
* common.mk: use added options for generic_erb.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 16:38:54 +00:00
nobu
26b3c7a0f3
* id.h: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 11:56:11 +00:00
nobu
b025ce4678
* common.mk (ID_H_TARGET): phony target to update id.h.
...
* tool/ifchange, win32/ifchange.bat: --timestamp option added.
* tool/generic_erb.rb: --timestamp, --output and --if-change options
added.
* template/id.h.tmpl: moved from id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 10:46:23 +00:00
akr
0f4ea5f3e3
* common.mk (TESTS): removed to re-enable test for minitest.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 14:49:32 +00:00
nobu
7485e91f76
* common.mk, enc/depend (enc, trans): targets for sources.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-16 05:34:25 +00:00
nobu
45f505c40f
* common.mk (TESTS): skips minitest by default, since it interferes
...
with test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-14 12:50:43 +00:00
yugui
bbbd9c0b7b
* x68/_dtos18.c: removed. Ruby no longer supports human68k.
...
* x68/_round.c: ditto.
* x68/fconvert.c: ditto.
* x68/select.c: ditto.
* ext/Setup.x68: ditto.
* missing/x68.c: ditto.
* dln.c (dln_find_exe_r): removed human68k supports.
(dln_find_1): ditto.
* lib/mkmf.rb: ditto.
* ext/extmk.rb (Init_ext): ditto.
* ext/socket/socket.c (init_sock): ditto.
* gc.c (GC_MALLOC_LIMIT): ditto.
(rb_setjmp, rb_jmpbuf): ditto.
(mark_current_machine_context): ditto.
* include/ruby/defines.h (PATH_ENV): ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* test/ruby/test_env.rb: ditto.
* test/ruby/test_path.rb: ditto.
* LEGAL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:12:13 +00:00
yugui
279c3cbdbe
* common.mk (gdb-ruby): new target. it runs ruby under controlled by
...
gdb.
* common.mk (dist): accepts RELNAME variable as the second argument of
make-snapshot.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 06:36:20 +00:00
nobu
e5afadda03
* common.mk (parse.h): removes line directives.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 10:21:02 +00:00
nobu
a2ae773503
* common.mk (dist): nothing is need to run BASERUBY.
...
* tool/make-snapshot: new option -archname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 09:40:04 +00:00
yugui
3cdf9d185c
Fixed build failure on some platforms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 08:44:04 +00:00
yugui
140048b59d
* common.mk (dist): Changed its dependencies and
...
action.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 08:27:19 +00:00
yugui
16c95b42ce
* error.c (Init_syserr): moved to the template.
...
(errno_missing): removed. fixed [ruby-dev:35958].
* defs/knwon_errors.def: added. extracted from Init_syserr.
* templates/known_errors.inc.tmpl: added. Template for Init_syserr.
c.f. [ruby-dev:35958].
* tools/generic_erb.rb: added. general purpose mapper which maps
data+template into source code.
* common.mk (error.$(OBJEXT), incs, known_errors.inc):
Fixed dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 08:18:49 +00:00
nobu
9ea58e6421
* common.mk (ENC_MK): defaulted to enc.mk.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 08:06:59 +00:00
akr
62390f4c9a
* common.mk: dependency updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 15:00:39 +00:00
ko1
4ee0a8e740
* common.mk: fix btest-* rules [ruby-dev:36528].
...
and remove obsolete rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 12:04:34 +00:00
ryan
d34a75b061
removed basedir and runner args to test/runner.rb. not valid args anymore
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 08:44:54 +00:00
ko1
757f1b135d
* common.mk (io.o): remove dependency for vm_core.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 09:08:41 +00:00
akr
75b10ac696
* debug.h (ruby_set_debug_option): declared.
...
* main.c: include debug.h.
* common.mk (main.$(OBJEXT)): dependency updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 08:03:41 +00:00
ko1
7f7834abf7
* include/ruby/node.h, vm_core.h: move definition of
...
RUBY_VM_METHOD_NODE to node.h.
* class.c, common.mk: remove useless inclusion.
* compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
move some definitions from vm_core.h to iseq.h.
* compile.c, iseq.c, vm.c: ditto.
* eval.c, compile.c: move some functions for parser
from eval.c to compile.c.
* eval_intern.h, vm_core.h: move va_init_list() macro to
vm_core.h.
* iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
* load.c, ruby.c: use rb_iseq_new_top() instead of
rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
* proc.c: use rb_iseq_first_lineno() instead of accessing
iseq structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 07:49:45 +00:00
akr
28f9e462fd
fix a typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 07:02:45 +00:00
ko1
23c291da09
* common.mk, hash.c: remove unused inclusion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 06:34:33 +00:00
ko1
7440ec27fd
* eval_safe.c, safe.c: rename eval_safe.c to safe.c.
...
* common.mk, eval.c, safe.c, inits.c: separate safe.c from eval.c and
make Init_safe().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 01:10:02 +00:00
ko1
8cd252ac6f
* common.mk: clean up
...
- remove blockinlining.$(OBJEXT) to built
- make ENCODING_H_INCLDUES variable (include/ruby/encoding.h)
- make VM_CORE_H_INCLUDES variable (vm_core.h)
- simplify rules.
- make depends rule to output depend status using gcc -MM.
* include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h.
* include/ruby.h: ditto.
* load.c: add inclusion explicitly.
* enumerator.c, object.c, parse.y, thread.c, vm_dump.c:
remove useless inclusion.
* eval_intern.h: cleanup inclusion.
* vm_core.h: rb_thread_t should be defined in this file.
* vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c.
* vm.h, vm_exec.h: rename vm.h to vm_exec.h.
* insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h.
* vm.c, vm_insnhelper.c, vm_insnhelper.h:
- rename vm_eval() to vm_exec_core().
- rename vm_eval_body() to vm_exec().
- cleanup include order.
* vm_method.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 00:20:28 +00:00
naruse
48aad600ba
* common.mk: prec.c is removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-19 23:05:52 +00:00