Граф коммитов

334 Коммитов

Автор SHA1 Сообщение Дата
nobu 9a46638fb3 * tool/rbinstall.rb: renamed to get rid of collision against
instruction.rb on command line completion of shell.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-30 07:57:11 +00:00
yugui d154bc4c7d * Doxyfile.in: removed. merged into template/Doxyfile.template
* configure.in: new checking for dot and doxygen.

* template/Doxyfile.template: merged with Doxyfile.in.
  configured some options.

* common.mk (capi): use $(DOXYGEN) instead of "doxygen".
  (Doxyfile): removed a duplicate entry in the dependency.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-29 15:34:05 +00:00
usa fc16289627 * common.mk (COMPILE_PRELUDE): need -I. before -rrbconfig.
[ruby-dev:38714]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-26 07:34:03 +00:00
nobu 8e86bd59c0 * common.mk (bignum.o, numeric.o): depend on util.h.
* bignum.c, marshal.c: fixed types.

* numeric.c (infinite_value): use ruby_div0.

* include/ruby/util.h (ruby_div0): moved from marshal.c.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-26 04:58:15 +00:00
yugui a654e0b57b * instruby.rb: moved into tool/.
* mkconfig.rb: ditto.

* rubytest.rb: ditto.

* runruby.rb: ditto.

* common.mk: follows the moves.

* configure.in: ditto.

* win32/Makefile.sub: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:42 +00:00
nobu 760f2c2917 * common.mk: marked PHONY targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14 01:52:10 +00:00
nobu c7853b4344 * eval.c (ruby_cleanup): the order of local variables on stack is
undefined.  should use outermost VALUE for ruby_init_stack.

* gc.c (ruby_get_stack_grow_direction, Init_stack): allows volatile
  pointer.

* thread_*.c (ruby_init_stack): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-19 05:43:20 +00:00
nobu 4ab8fb1a01 * common.mk (up): updates timestamp file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-10 02:32:15 +00:00
nobu d9921b1de6 * common.mk (info): shows configured names.
* configure.in (Makefile): works even if RUBY_INSTALL_NAME
  contains macro.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-07 04:35:24 +00:00
nobu f4cecb53bd * common.mk (ruby.imp): all symbols in static library need to be
exported, so that encoding-extensions can be loaded.  based on a
  patch from Yutaka Kanemoto <kinpoco AT gmail.com> at
  [ruby-talk:332282].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-28 02:10:34 +00:00
nobu 2bb561ea5f * common.mk (REVISION_H): keeps timestamp of revision.h.
[ruby-core:22900]

* tool/ifchange, win32/ifchange.bat: extended --timestamp option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 03:30:01 +00:00
nobu 40819d4599 * Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 00:29:00 +00:00
nobu 28398e91f1 * common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes.  [ruby-core:22891]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 00:17:21 +00:00
nobu 02136ebbb5 * common.mk (srcs-ext): creates ext/dl/callback/callback.c also.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-14 23:26:11 +00:00
nobu 1c2cc09063 * tool/ytab.sed: replaces backslashes with slash for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 16:08:24 +00:00
nobu 4e01509312 * common.mk: removed a comment already has no meaning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:53:59 +00:00
nobu 2a413f97a4 * configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
phisical directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:37:31 +00:00
nobu 6e000d8854 * Makefile.in, win32/Makefile.sub (INSNS): moved variable
definition before rule.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 05:28:42 +00:00
nobu 11075c9332 * win32/Makefile.sub (make_insns_rules): rule to make rules for insns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 02:52:21 +00:00
nobu 91c9a4becb * common.mk (main): passes $(MAKE) to mkmain_cmd
* ext/extmk.rb (command_output): uses arguments to invoke make.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 05:53:18 +00:00
nobu a6c52eec0c * common.mk (.y.c): removed extra backslash. [ruby-core:22602]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:11:00 +00:00
nobu 25d66aebcc * common.mk (INSNS, newline.c, miniprelude.c, prelude.c),
(node_name.inc, known_errors.inc): unified from Makefile.in and
  win32/Makefile.sub.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-26 09:36:13 +00:00
nobu 9632241261 * common.mk (main): split from exts and makes main program after
building exts with miniruby, to get rid of overwriting running
  program.  [ruby-core:22339]

* Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to
  run script file.

* ext/extmk.rb (parse_args): added --command-output option which
  creates script file to make main program.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-24 10:01:08 +00:00
nobu ff9bfed83d * common.mk (ripper.c): exec can't work on Windows.
* ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-24 08:58:10 +00:00
nobu 136f31b098 * Makefile.in (id.h): updates from parse.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:10:44 +00:00
nobu 42e0d76c25 * common.mk (Doxyfile): moved from Makefile.in.
* template/Doxyfile.tmpl: split from Doxyfile.in.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:10:28 +00:00
nobu c938de20cd * common.mk (distclean-enc, realclean-enc): do not call clean of
enc.mk twice or more.

* enc/depend (cleanobjs): added deffile.

* lib/mkmf.rb (create_makefile): removes deffile at clean instead
  of distclean.

* win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp
  files.

* win32/Makefile.sub (clean, distclean): have moved to common.mk.

* win32/rmdirs.bat: omits `not empty' message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 02:03:54 +00:00
nobu 0834056aec * common.mk (clean-extout): removes extout directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:23:47 +00:00
nobu 97de7d1081 * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
parents.

* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
  temprary rdoc.

* Makefile.in, win32/Makefile.sub (distclean): removes extout
  directory.

* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
  directories.

* common.mk (clean, distclean): cleans rdoc.

* configure.in (RMDIRS, RMALL): added to clean extout.

* lib/fileutils.rb (FileUtils#rmdir): added :parents option.

* lib/mkmf.rb (create_makefile): cleans installed files at clean
  instead of distclean.

* lib/mkmf.rb (create_makefile): added clean-so and clean-rb.

* lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS.

* lib/un.rb (rmdir): added -p option.

* tool/rmdirs, win32/rmdirs.bat: removes directory and the parents.

* win32/rm.bat: added -r option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:06:29 +00:00
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