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

638 Коммитов

Автор SHA1 Сообщение Дата
nobu 9e1b74ff5b incs: timestamp file
* Makefile.in, common.mk (incs): replace real header with the
  timestamp file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 06:36:53 +00:00
nobu 42dc1e5ef8 * id.c: move vm_opts.h dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 04:12:12 +00:00
nobu a39b94d302 common.mk: -ext- tests
* common.mk (test-ruby): include -ext- tests, which check for core
  API and behavior.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-16 05:33:03 +00:00
nobu e7878d2082 common.mk: ID_H_TARGET
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the
  header will not be remade repetitively.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-15 07:20:12 +00:00
ko1 8eb93103e4 * vm_trace.c: separate trace_func related functions from
thread.c.
* thread.c: ditto.
* common.mk: add vm_trace.o.
* inits.c: call Init_vm_trace().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-15 04:39:10 +00:00
nobu 22e145141b common.mk: id.h dependency
* common.mk (.y.h): split from .y.c rule to manage dependency on
  parse.h.  [ruby-core:46741] [Bug #6789]
* common.mk (id.h): keep old file unless changed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08 13:45:41 +00:00
nagachika 8800a83f85 * common.mk: add a dependency. [ruby-core:46741] [Bug #6789]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-29 16:31:15 +00:00
nobu c51a826764 rb_thread_call_without_gvl
* include/ruby/thread.h: new header file for thread stuff.
* thread.c (rb_thread_call_without_gvl): export.  [Feature#4328]
  returns void* instead of VALUE.  [Feature #5543]
* thread.c (rb_thread_blocking_region): deprecate.  [ruby-core:46295]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-10 13:57:11 +00:00
nobu 3fceaf10ab make runnable
* common.mk (runnable): make symbolic links to run in build directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 02:16:08 +00:00
yugui 5e06b53953 * common.mk: Add missing dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-22 12:05:11 +00:00
nobu e6424f805b * removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-09 21:36:05 +00:00
nobu 60d5e14b92 installation dependencies
* common.mk (do-install-{all,nodoc,arch}): fix installation
  dependencies so build exts also.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-05 13:08:47 +00:00
ko1 b57c81ae3e * common.mk: fix to build vm_backtrace.c only itself (vm_backtrace.c
is no longer included from vm.c).  I hope this separation reduce
  compile time of vm.c.
* internal.h: ditto.
* vm.c, vm_core.h, vm_dump.c, vm_eval.c: ditto.
* vm_eval.c: some functions (callee, etc) moved to vm_backtrace.c.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-02 15:59:37 +00:00
ko1 681d73a923 * vm_backtrace.c: added. Separate backtrace related functions to
this file.
* vm.c, common.mk: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-02 15:23:37 +00:00
nobu a8f87d6d8d common test options
* common.mk (btest, test-sample, test-knownbugs, test-all, test-ruby):
  pass common options by TESTOPTS.

* tool/rubytest.rb: pass ARGV from make to sample/test.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-30 01:24:05 +00:00
nobu 1cb2f96158 common.mk: fix dependencies.
* common.mk (do-install-*): fix dependencies.  based on the patch by
  nagachika at [ruby-dev:45683].  [Bug #6506]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-28 04:35:36 +00:00
nobu a906a9d9be Bug #6462: EXTSOLIBS
* Makefile.in (LIBRUBY_SO): link EXTSOLIBS too.
* ext/extmk.rb (mf.macro): use EXTSOLIBS instead of SOLIBS to get rid
  of discard libraries needed by default.  [Bug #6462]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-20 03:25:14 +00:00
nobu 0e60b2c6a3 static-linked-ext: into libruby
* Makefile.in, common.mk (PROGRAM): no extension libraries.
* common.mk (build-ext): pass macros for libruby.so.
* ext/extmk.rb (command_output): link extension libraries and encoding
  libraries into libruby.so, not ruby executable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-19 02:37:21 +00:00
yugui 76bc2d1ed7 Imports Ruby's port to NativeClient (a.k.a NaCl).
Patch by Google Inc. [ruby-core:45073].

* configure.in (RUBY_NACL): New M4 func to configure variables for
  NaCl.
  (RUBY_NACL_CHECK_PEPPER_TYPES): New M4 func to check the old names
  of Pepper interface types.
  (BTESTRUBY): New variable to specify which ruby should be run on
  "make btest". NaCl can run the built binary by sel_ldr, but it need
  rbconfig.rb. So this variable is distinguished from $MINIRUBY.
  
* thread_pthread.c: Disabled some features on NaCl.

* io.c: ditto.

* process.c: ditto.

* signal.c: ditto.

* file.c: ditto.

* missing/flock.c: ditto.

* nacl/pepper_main.c: An example implementation of Pepper application
  that embeds Ruby.

* nacl/example.html: An example of web page that uses the Pepper
  application.

* nacl/nacl-config.rb: Detects variants of NaCl SDK.

* nacl/GNUmakefile.in: Makefile template for NaCl specific build
  process.

* nacl/package.rb: script for packaging a NaCl-Ruby embedding
  application. 

* nacl/reate_nmf.rb: Wrapper script of create_nmf.py

* dln.c (dln_load): Added a hack to call on NaCl.

* util.c (ruby_getcwd): Path to the current directort is not available
  on NaCl.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-17 02:48:59 +00:00
yugui 3fa3f9abb9 Supports static linking of extensions and encodings again.
Fixes --with-static-linked-ext.

Patch by Google Inc. [ruby-core:45073].

* Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static
  linked libraries. Also reintroduces extinit.o, introduces encinit.o
  introduces encinit.o

* common.mk: Builds static libraries rather than shared objects if
  specified.

* configure.in (LD): new substitution. 
  Avoids PIE if s

* enc/depend: Supports static linked libraries
  (libencs, libenc, libtrans): New target.

* enc/encinit.c.erb: new template to generate the initialization of
  statically linked encodings.

* enc/make_encmake.rb (--module): new flag to specify whether static
  or dynamic.

* transcode_data.h (TRANS_INIT): New macro to get rid of the name
  collision of encoding initializers and transcoder initializers.

* ext/extmk.rb: Fixes the behavior on $extstatic is true.

* lib/mkmf.rb (clean-static): new target to clean up static linked
  libraries.

* ruby.c (process_options): New initializes statically linked
  encodings here.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16 05:39:06 +00:00
ko1 e6bd1496a8 * common.mk: "$(Q)-..." doesn't work on nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-01 06:49:00 +00:00
ko1 458c30e57d * common.mk: replace '@' prefix to '$(Q)' to control build
process outputs.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-01 06:37:24 +00:00
nobu 902084a60a * common.mk (REVISION_H): create temporary file in cwd so that it
works if srcdir is not writable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 13:35:40 +00:00
nobu 61dc4a8dbc * configure.in (verconf.h): separate load path specific stuff from
config.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-27 13:44:25 +00:00
nobu ddc7bcd60e * win32/Makefile.sub (newline.c, miniprelude.c): search from source
directory, not depending on VPATH.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-26 05:08:55 +00:00
nobu e160610200 * enumerator.c (enumerator_each, generator_each): pass arguments to
the block with yielder.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08 15:26:01 +00:00
nobu 8d07e0870f * common.mk (clean-ext, distclean-ext, realclean-ext): remove exts.mk too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02 07:37:58 +00:00
nobu 27fbcb8e78 doc/capi
* common.mk (doc/capi): use macros.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-01 06:44:37 +00:00
shirosaki 4b1e9f0c47 * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.
* Makefile.in (clean-platform): add new target.
  It cleans `win32` directory.

* common.mk (clean): add a dependency for `win32` directory.
* common.mk (distclean): ditto.
* common.mk (distclean-platform): add new target.
  It cleans `win32` directory.
* common.mk ($(PLATFORM_D)): add new target to make `win32` directory.
* common.mk (win32/win32.$(OBJEXT)): move win32.o into `win32`
  directory.
* common.mk (win32/file.$(OBJEXT)): add new target for win32/file.c.

* configure.in: move win32.o into `win32` directory and add
  win32/file.o to MISSING.

* file.c (file_load_ok, rb_file_load_ok): replace static
  file_load_ok() with public rb_file_load_ok().
  It's to link Windows implementation in win32/file.c.
* file.c (rb_find_file_ext_safe): ditto.
* file.c (rb_find_file_safe): ditto.

* win32/file.c (rb_file_load_ok): new file. Add Windows specific
  optimized implementation of rb_file_load_ok(). We created a
  separated file to avoid too many #ifdef macro which is unreadable.

* win32/Makefile.sub (PLATFORM_DIR): add a variable for `win32`
  directory.
* win32/Makefile.sub (MISSING): move win32.obj into `win32`
  directory and add win32/file.obj to MISSING.
* win32/Makefile.sub (MAKEDIRS): replace MINIRUBY with BASERUBY.
  It's because miniruby doesn't exist when making `win32` directory.
* win32/Makefile.sub (clean-platform): add new target to clean `win32`
  directory.
* win32/Makefile.sub ({$(srcdir)}.c{}.obj): make it not match
  win32/file.c to build properly.
* win32/Makefile.sub (win32/win32.$(OBJEXT)): move win32.obj into
 `win32` directory.

  Patch created with Luis Lavena.
  [ruby-core:42480] [Feature #5999]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-28 15:51:25 +00:00
nobu 9167535c50 * common.mk (check, test-all): no exntension builds before test-all,
but check.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-25 07:58:14 +00:00
naruse 9e4ddb8f18 Revert "* common.mk (test-all): shut up nonsense skipping messages."
This reverts commit r34734.
Use -q on your environment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 09:06:40 +00:00
nobu e093cfae7a * common.mk (test-all): shut up nonsense skipping messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 06:47:09 +00:00
nobu 1aa4e11d16 * common.mk (test-all, test-ruby): more dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 01:18:09 +00:00
nobu 68262a2048 * common.mk (btest, btest-ruby, test-sample test-knownbugs)
(test-all, test-ruby): depend on prog.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-17 02:50:22 +00:00
nobu 0c5cfb68c8 * common.mk (test-ruby): pass TESTS for options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 07:35:13 +00:00
nobu fb37a14aa2 * common.mk (LIBRUBY_A): depends on main.o since r33774.
[ruby-core:41786] [Bug #5796]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-26 08:01:18 +00:00
kazu b32f79e0db * common.mk: add "check succeeded" message.
* README, README.ja: follow above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-22 21:06:23 +00:00
usa 2e683de901 * common.mk (newline.c, miniprelude.c): revert r33949 because the change
broke mswin build, and the changer said no reason about the change.
  [ruby-dev:45016] [Bug #5783]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-21 09:30:26 +00:00
drbrain 8010126721 * README.ja: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* README:  ditto
* common.mk:  ditto
* ext/bigdecimal/README:  ditto
* man/erb.1:  ditto
* man/irb.1:  ditto
* man/ri.1:  ditto
* man/ruby.1:  ditto
* man/ruby.1:  ditto
* sparc.c:  ditto
* tool/install-sh:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-19 21:07:09 +00:00
usa 3fbc62445e * common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
specific hack from common.mk to Makefile.in (and win32/Makefile.sub).
  [Bug #5711]

* lib/mkmf.rb: we can generate Makefile as we like.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14 11:02:00 +00:00
nobu 0e4b86b5b9 * common.mk (newline.c, miniprelude.c): use VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-05 08:13:28 +00:00
yugui 0f7e05a0a2 * common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
to man pages.  Fixes #5598. 
  (do-install-nodoc, do-install-local, do-install-man,
  dont-install-nodoc, dont-install-local, dont-install-man):
  No longer needs --mantype.

  Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>,
  patch by George Koehler <xkernigh AT netscape.net>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-28 15:14:14 +00:00
yugui 05ec839244 Forward-ports r32776 from branches/ruby_1_9_3 to trunk.
--
* common.mk (node_name.inc): Use $(Q) for consistency.

* Makefile.in (INSNS): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 14:17:37 +00:00
yugui f037909aed Forward-ports r32775 from branches/ruby_1_9_3 to trunk.
--
* common.mk (ECHO1): nmake does not allow parenthesis in make variable
  replacement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 14:17:31 +00:00
yugui 53d3b13233 Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.
* common.mk (ECHO1): ":" in a make variable replacement cause a syntax
  error with /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.

* configure.in (NULLCMD): new check.

* Makefile.in (NULLCMD): Reflects checking in configure.

* win32/Makefile.sub (NULLCMD): new assignment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 11:31:55 +00:00
nobu dd2dfc71e7 * common.mk (RUN_OPT): disable gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 23:39:42 +00:00
nobu b0f8bda2da * common.mk: add dependencies for EXT_SRCS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:39:07 +00:00
nobu b43b6cf71f * common.mk (sudo-precheck): true command is not standard on
Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 02:39:15 +00:00
akr 5ed8c08aa0 * eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't
declare internal functions.

* internal.h, vm_core.h: declare internal functions.

* array.c: include internal.h.

* common.mk: update dependency for array.o.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-18 08:26:19 +00:00
akr 3b59f6c562 forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-18 02:32:44 +00:00
akr c6575865aa * common.mk: dependencies updated.
* tool/update-deps: new file to assist update dependencies in
  common.mk.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 23:15:47 +00:00
nobu 8fc86b0d34 * common.mk (sudo-precheck): authenticate at first to sudo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 04:09:43 +00:00
kosaki 9d4e471cf9 * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,
RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing
  interrupt_flag bit lost.
* thread.c (rb_threadptr_execute_interrupts_rec): ditto.
* vm_core.h (typedef struct rb_thread_struct): change type of
  interrupt_flag to rb_atomic_t.
* atomic.h: move atomic ops definition from signal.c.
* signal.c: remove atomic ops definition.
* common.mk (gc, signal, thread, cont): add to dependency to atomic.h.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 14:27:08 +00:00
duerst 0dfbb49a83 fixed a grammatical error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 06:37:25 +00:00
ko1 5a363fbb50 * common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".
TESTRUN_SCRIPT is used by "make run", "make gdb" and so on.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 05:47:38 +00:00
nobu 52f5f410e4 * internal.h: add for internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 13:41:54 +00:00
nobu d2dd7416fa * common.mk (rdoc-coverage): remove duplicated target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 13:33:31 +00:00
drbrain f47ff4821d Use UTF-8 for rdoc-coverage and silence progress reporter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 03:03:19 +00:00
drbrain 7f2a943c5d * common.mk (rdoc): Add rdoc-coverage rule
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 01:54:34 +00:00
usa 8df705810d * common.mk (love): all you need is love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 02:07:28 +00:00
nobu acd036bcdc * common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
support paralell-make under ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 00:33:05 +00:00
nobu ba1de001b1 * common.mk (love): make ruby, not war.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 21:09:32 +00:00
nobu 18f39f4e57 * common.mk (love): for the birthday.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 13:53:11 +00:00
sorah 0695a5aa25 * common.mk: Use $RUNRUBY for worker process.
* lib/test/unit.rb: Fix bug.
* lib/test/unit.rb: @options[:ruby](@opts[:ruby]) is now Array.
* test/testunit/parallel.rb: Fix for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 04:47:48 +00:00
nobu 020dc4ba60 * configure.in (rubygems): add --disable-rubygems option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:03:26 +00:00
naruse dda0d61e68 * common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 02:48:04 +00:00
nobu 3e82d92338 * common.mk (showflags): show LD commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-10 12:34:15 +00:00
usa c5158538e7 * common.mk (EXTMK_ARGS): specify to pass macro V, because nmake
doesn't pass it via MAKEFLAGS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 03:16:30 +00:00
nobu 79d800c37e * common.mk (clean-local): remove pc file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-15 02:31:58 +00:00
usa 58f1c8fca8 * common.mk (help): there is no reason to use the abbreviation for here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 09:19:55 +00:00
nobu 9f4107a906 * common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 13:45:51 +00:00
nobu 03693cd590 * common.mk (test-build): test-all runs build tests on cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:47:54 +00:00
nobu c42bfb08b2 * common.mk (test-build): run all test normally on native environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:43:50 +00:00
nobu a3732110fb * common.mk (test-build): test for build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 13:55:15 +00:00
nobu 3c36edc0d2 * configure.in: link addr2line only for ELF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-27 06:43:30 +00:00
naruse 086301ac73 * addr2line.c: added to show source filename and line number of
functions in backtrace. [ruby-dev:42625]
  a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>

* addr2line.h: ditto.

* common.mk: add addr2line.$(OBJEXT).

* configure.in: check dl_iterate_phdr.

* vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in
  addr2line.c when the binary is ELF.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-26 03:28:50 +00:00
arton e2501757f6 add dependency(insns.inc) to compile.obj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 17:05:39 +00:00
nobu 9be87b1eb6 * Makefile.in (reconfig): force reconfigure with previous options.
* common.mk (showconfig): show configure flags, like as
  `config.status --config' generated by recent autoconf.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 22:37:48 +00:00
nobu 023eab5201 * win32/Makefile.sub (MAKEDIRS): should not include silent flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 09:38:38 +00:00
nobu 1b45a27a89 * common.mk (ext/ripper/ripper.c, ext/json/parser/parser.c): pass
Q and ECHO.  [ruby-core:33226]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 09:22:45 +00:00
nobu 223c0b48a1 * common.mk (showflags, help): emit messages at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 07:38:01 +00:00
nobu fe2295ea75 * common.mk (showflags, help): use caret to quote leading spaces on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:52:45 +00:00
nobu fd7c0279f8 * Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,
ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:51:42 +00:00
nobu feb67bc729 * common.mk (showflags): nmake ignores case difference of targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:56:48 +00:00
nobu 684a6059e9 * common.mk (all, main): show flags first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:35 +00:00
nobu fa5034ed02 * common.mk (Doxyfile, capi, rdoc): show messages only by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:33 +00:00
nobu 78c48e48ba * common.mk (SHOWFLAGS): show compile flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:47:17 +00:00
nobu f2f7a7740a * common.mk: hide long command lines by default. verbose-mode is
turned on by V=1 as before.
  http://jarp.does.notwork.org/diary/200605b.html#200605121

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:46:23 +00:00
nobu e2a62c218c * common.mk (ext/ripper/ripper.c): RUBY needs to be set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:26:18 +00:00
nobu 5098e6f7df * common.mk (INSTRUBY): run via $(SUDO) if given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:24:02 +00:00
nobu 786e4ce25a * enum.c: use constants in id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 00:40:56 +00:00
nobu 749ad16aa7 * common.mk (pkgconfig-data): moved from Makefile.in.
* tool/rbinstall.rb: install pc file only if non-empty.
  [ruby-core:32901] #3983

* win32/Makefile.sub (ruby_pc): create pc file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 03:47:15 +00:00
ko1 df26e9d44e * common.mk (run.gdb): Quit gdb on 'make gdb' when
no signals are received.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 18:00:20 +00:00
nobu a1d7e69106 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2010-10-08 01:52:37 +00:00
nobu feacd3c2e0 * Makefile.in (install-cross): target to install cross-compiling
stuff.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:34:56 +00:00
yugui 4a028d2c7e * common.mk (clean): removes all documents on cleaning.o
(CAPIOUT): new variable.
  (clean-capi, distclean-capi, realclean-capi): new targets

* Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto.

* win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi): 
  ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:25 +00:00
yugui 8889aef162 Merges r27968 from ruby_1_9_2 into trunk.
--
* common.mk (capi): uses a timestamp file to get rid of
  generating twice.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 15:57:39 +00:00
naruse 8ffeda041b * common.mk (node_name.inc): remove command option -n and give
file as stdin, because IronRuby 1.1 still doesn't support it.
  So now we can use ir.exe as BASERUBY.

* tool/node_name.rb: read stdin with while gets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 07:09:40 +00:00
naruse b2eb38fac5 * common.mk (clean): exclude *.inc. [ruby-dev:41931]
* common.mk (distclean): include *.inc.

* common.mk (help): change description about clean and distclean.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 00:36:24 +00:00
nobu 645114b25c * common.mk (version.o): depends on both of version.h and
include/ruby/version.h.   [ruby-dev:42063]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 13:31:10 +00:00
akr 03226ec1a6 * common.mk (capi): use -b option for doxygen. It disables stdout
buffering and prevents wrong reordering between stdout and stderr
  even when the output of "make" is redirected.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 08:46:53 +00:00
nobu 966532cc40 * Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
from test-rubyspec.

* common.mk (test-rubyspec): moved from Makefile.in.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 03:29:08 +00:00
nobu 288b9de79d * common.mk (RUBY_H_INCLUDES): add subst.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 23:58:57 +00:00
naruse f3372c22a6 * common.mk (clean): add prelude.c, config.log, and rbconfig.rb.
* common.mk (distclean): remove encdb.h, config.log, and rbconfig.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 08:40:30 +00:00
nobu 8d228b2579 * common.mk (EXT_SRCS): add ext/json/parser/parser.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 21:51:31 +00:00
nobu 0bd71ff354 * configure.in (XCFLAGS): use -fvisibility=hidden if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 21:38:25 +00:00
nobu 678f6b3716 * common.mk (test-knownbug): ignore known bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01 04:00:56 +00:00
nobu 8508e37b51 * common.mk (clear-installed-list): put redirection before set
command, since it seems to be handled by nmake in special way.
  [ruby-dev:41711]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-26 02:56:41 +00:00
nobu 1d408c933a * Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaning
targets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 17:32:03 +00:00
nobu 2b322524cd * gem_prelude.rb: load full rubygems at LoadError for activation
check.  [ruby-core:29486]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:27:16 +00:00
nobu e9ff453d86 * common.mk (change, prelude): phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 09:31:46 +00:00
nobu e16c316b52 * common.mk (change), tool/change_maker.rb: make a brief template
for ChangeLog.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24 03:52:46 +00:00
nobu fdac9a36c2 * common.mk (dln_find.o): fix dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 05:55:41 +00:00
nobu 2d8bbfa5da * common.mk (dln_find.o): fix dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 05:41:50 +00:00
nobu 40caeb6bd1 * error.c (rb_loaderror): use locale string, not ascii-8bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 04:55:29 +00:00
naruse 1538119662 * common.mk (rdoc): rdoc should depend main. Moreover when XRUBY
is miniruby, it can run after miniruby is built.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 22:02:37 +00:00
naruse 3a87c3c560 Add description about make benchmark to make help.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 03:34:45 +00:00
usa 202ce4fd63 * common.mk (help): small fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-15 02:52:12 +00:00
nobu d38090cff5 * common.mk (rdoc): independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 09:09:43 +00:00
nobu f01510d074 * common.mk (rdoc): no force-update, and add RDOCFLAGS.
* lib/rdoc/options.rb (RDoc#parse): no-force-update option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-03 06:09:37 +00:00
nobu 9afa9ba967 * dln_find.c: split from dln.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24 00:55:03 +00:00
nobu 074836aaca * common.mk: ext/dl/callback no longer exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 05:21:10 +00:00
nobu 26051e1d06 * dmyversion.c: empty load path in miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 07:28:00 +00:00
nobu ecc775772a * common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
  contains "." in $:.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 07:23:13 +00:00
mame 63cbe555b7 * ext/purelib.rb, common.mk: to simulate ruby command more precisely,
remove "." from $: of virtual environment for build and test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 16:21:56 +00:00
nobu 796931aa09 * common.mk (help): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 00:50:13 +00:00
nobu 0f02abb31b * common.mk (rdoc): needs encodings and exts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-22 05:26:38 +00:00
shyouhei 0d3de66006 * common.mk (compile.$(OBJEXT)): dependencies lacking.
* vm_method.c (rb_add_method_cfunc): invalid initializer for C89

	* compile.c (iseq_insns_unification): int might be smaller than int*


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-20 07:12:16 +00:00
usa f383363034 * common.mk (install-all): maybe typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-09 05:21:26 +00:00
yugui 295bc2fe25 removes the dtrace support. reverts r26239, r26238 and r26235.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05 05:59:23 +00:00
yugui 72b199940d * trace.h: new file. wraps tracing mechanisms.
* defs/dtrace.d: new file. defined a dtrace provider "ruby".

* include/ruby/ruby.h (LIKELY): moved from vm.c.
  (UNLIKELY): ditto.
  (OBJSETUP): probe "object-create".
  (RUBY_EVENT_RESCUE): new event.

* vm_exec.c (DEBUG_ENTER_INSN): embeded a probe insn-entry into it.
  (DEBUG_END_INSN): insn-return.

* vm.c (LIKELY): moved into ruby.h.
  (UNLIKELY): ditto.
  (Init_BareVM): embeded a probe "raise" into it.

* variable.c (rb_class2name_without_alloc): new utility function.

* tool/rbinstall.rb (install?(:ext, :arch, :'ext-arch')): installs 
  dtrace.d if necessary.

* thread_pthread.c (add_signal_thread_list): probe "raise".
  (rb_thread_create_timer_thread): ditto.

* thread.c (rb_thread_schedule_rec): probes "thread-enter" and
  "thread-leave",
  (thread_start_func_2): ditto.
  (thread_cleanup_func): probe "thread-term"

* lib/mkmf.rb: supports dtrace postprocessor on making an extension.

* iseq.c (rb_vm_insn_name): new utility function.
  (rb_vm_insn_len): ditto.

* insns.def (hook): probes "method-etnry", "method-return", "line",
  and "rescue".

* compile.c (iseq_compile_each): adds a trace op for "rescue" probe.

* gc.c (garbage_collect): probes "gc-begin" and "gc-end".
  (obj_free): probe "object-free"
  (garbage_collect_with_gvl): probe "raise"
  (negative_size_allocation_error): ditto.
  (rb_memerror): ditto.

* eval.c (rb_rescue2): probe "rescue"
  (rb_longjmp): probe "raise"

* ext/probe/probe.c: new extension for application defined probes.

* ext/probe/extconf.rb: ditto.

* configure.in (--with-tracing-model): new option to choose a tracing
  mechanism.
  (DTRACE): new substitution. name of dtrace(1).
  (RUBY_TRACING_MODEL): new substitution.
  (DTRACE_OBJ): ditto.
  (MINIDTRACE_OBJ): ditto.
  (GOLFDTRACE_OBJ): ditto.
  (LIBRUBY_DTRACE_OBJ): ditto.
  (RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on 
  the system needs postprocessing.
  (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace
  supports USDT.

* Makefile.in: 
  (DTRACE): new variable. name of dtrace(1).
  (TRACING_MODEL): new variable. name of the chosen tracing mechanism.
  (DTRACE_OBJ): same as the one in configure.in.
  (MINIDTRACE_OBJ): ditto.
  (GOLFDTRACE_OBJ): ditto.
  (LIBRUBY_DTRACE_OBJ): ditto.
  (CPPOUTFILE): new substitution. necessary for generating dtrace.d
  (trace_none.h): new target for TRACING_MODEL=none
  (RUBY_H_INCLUDES): appended a header for tracing.
  (distclean-local): also removes preprocessed version of dtrace.d
  ($(LIBRUBY_A)): needs $(LIBRUBY_DTRACE_OBJ) if dtrace needs 
  postprocessing.
  ($(PROGRAM)): ditto.
  (golf): ditto.
  (miniruby): ditto.
  ($(arch_hdrdir)/ruby/dtrace.d): new target. preprocessed verson 
  of defs/dtrace.d. generated if necessary.
  ($(arch_hdrdir)/ruby/trace_dtrace.h): new target.
  definition of probes.
  ($(LIBRUBY_DTRACE_OBJ)): new target. generated if dtrace needs 
  postprocessing.
  ($(DTRACE_OBJ)): ditto.
  ($(MINIDTRACE_OBJ)): ditto.
  ($(GOLFDTRACE_OBJ)): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-03 15:36:17 +00:00
mame 38828fa8d1 * node.c: node management added. Currently, only pretty-dumper is
implemented.  [ruby-dev:39853]

* ruby.c: --dump=parsetree and --dump=parsetree_with_comment options
  added.  This is just for debug or research purpose.  Note that the
  compatibility of these options are not supported at all.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 14:05:59 +00:00
nobu c21350f902 * win32/Makefile.sub (config.h): added RUBY_SITEARCH to use
different name from RUBY_ARCH.  [ruby-core:26324]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 18:45:34 +00:00
nobu e9af789d35 * configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnable
ruby without current libraries.

* common.mk (rdoc): use XRUBY.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22 22:32:39 +00:00
nobu 66150a89a6 * configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),
win32/mkexports.rb (each_export): exclude _threadptr_ functions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-10 09:19:05 +00:00
kanemoto 10806f146f * common.mk (ruby.imp): add text section [Bug #2064].
* common.mk (ruby.imp): do not export Init_*.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 16:26:31 +00:00
nobu d36c76dc71 * common.mk (eval.o): needs vm.h.
* eval.c (ruby_cleanup): destruct current VM before exit.

* gc.c (rb_objspace_free): free object space.

* vm.c (ruby_vm_destruct): destruct and free VM struct.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 07:29:17 +00:00
nobu 99b41f3858 * configure.in (CAPITARGET): enable iff doxygen is available.
* configure.in (INSTALLDOC): enable if rdoc or doxygen are enabled.

* common.mk (docs): target to make documents.

* Makefile.in, win32/Makefile.sub (install-{all,nodoc}): trigger
  by $(INSTALLDOC) from install.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:20:19 +00:00
nobu e0976d1a6d * common.mk (main): makes also encs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 01:12:58 +00:00
nobu 4d3dac97ad * common.mk (install-rdoc), configure.in (RDOCTARGET): removed
circular dependency.  [ruby-dev:39339]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 06:16:16 +00:00
nobu 68d8a2a474 * common.mk (install-all): target to install all.
* tool/rbinstall.rb (parse_args): accept all install targets.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 21:24:39 +00:00
nobu 3ab03a234d * configure.in, common.mk, */configure.bat (rdoc): make before
install if rdoc is enabled.  [ruby-dev:39325]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 02:23:47 +00:00
nobu 976c4de363 * common.mk (check-ruby): run all test of ruby itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 01:56:41 +00:00
ko1 cea5aeb795 * Makefile.in, common.mk: move a id.h generation rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:22:18 +00:00
akr ab0d1d2792 * common.mk: dependencies updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-30 05:13:42 +00:00
usa 012a13180a * win32/Makefile.sub (MAKEDIRS): define.
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24 04:23:56 +00:00
nobu a7b920686a * enc/unicode/name2ctype.h: split from enc/unicode.c and made a
perfect hash.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21 08:01:09 +00:00
usa 87bb97ceb5 * common.mk (yes-test-knownbug): use RUNRUBY instead of MINIRUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-12 07:00:37 +00:00
nobu 3ece383660 * marshal.c (class2path, w_unique, w_extended, w_class, w_uclass):
deal with non-ascii class path.  [ruby-core:24790]

* marshal.c (r_unique, path2class, path2module, obj_alloc_by_path),
  (r_object0): ditto.

* variable.c (rb_path_to_class): new encoding-aware function to
  get a class from its name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-09 21:55:55 +00:00
nobu 83c5dfb7ea * common.mk (ruby.imp): excluded prelude.o to get rid of circular
dependency.  [ruby-dev:39052]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-09 07:37:22 +00:00
yugui e60463034a * tool/compile_prelude.rb: replaces "require" with in-place evaluation
so that copy & paste for lib/rubygems/default.rb is not necessary.

* gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb.
  uses require instead.

* common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-30 14:12:25 +00:00
nobu 9adaa9e9df * common.mk (class.o): depends on vm_core.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 15:39:32 +00:00
nobu ce34147cf4 * configure.in, Makefile.in (TEST_RUNNABLE): tests are not
runnable if cross-compiling.

* common.mk (btest*, test*): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 02:13:00 +00:00
ko1 7030385273 * common.mk: add method.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15 23:56:25 +00:00
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