nobu
28849ce257
ext/rbconfig/sizeof: move to an extension library
...
* common.mk, ext/rbconfig/sizeof: move RbConfig::SIZEOF to an
extension library to get rid of annoying nmake VPATH rule.
* inits.c (rb_call_inits), miniinit.c (Init_sizes): RbConfig::SIZEOF
is no loger built-in.
* template/sizes.c.tmpl (Init_sizeof): rename initialization function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-18 14:19:16 +00:00
nobu
16b445008d
encdb.h.tmpl: remove stale macros
...
* template/encdb.h.tmpl: remove stale ENCIDX macros which never been
used, ENCINDEX enums is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-19 12:00:41 +00:00
nobu
aee98a1c2b
.gdbinit: show ID type
...
* .gdbinit (rp_id): show ID type.
* template/id.h.tmpl (ruby_id_types): make enum for debugger.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-20 04:53:08 +00:00
nobu
21d7cd3988
sizes.c.tmpl: autogenerate
...
* template/sizes.c.tmpl: generate automatically by extracting
RUBY_CHECK_SIZEOF from configure.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-26 03:37:15 +00:00
naruse
5308b0fd5e
* template/encdb.h.tmpl: define encoding index macros to use the index
...
statically from C source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-01 14:12:10 +00:00
knu
7573bdd592
Remove an unnecessary mode comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-20 10:19:05 +00:00
nobu
de03518cc7
* template/verconf.h.in: unexpand exec_prefix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 13:35:44 +00:00
nobu
49d37e6edc
verconf.h: fix for default prefix
...
* configure.in, template/verconf.h.in (RUBY_EXEC_PREFIX): fix for
default prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 07:15:48 +00:00
nobu
f13a0a4dda
* template/verconf.h.in: not typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 07:15:45 +00:00
usa
d5cb69007b
* template/verconf.h.in: typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 05:59:58 +00:00
nobu
434f0abd02
verconf.h.in: template for verconf.h
...
* template/verconf.h.in: generate verconf.h from the template and
rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 04:13:40 +00:00
nobu
36de5e4db5
ruby.pc.in: rubyarchhdrdir
...
* template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch.
[Bug #7874 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-05 04:29:01 +00:00
nobu
5c1af05ef5
defs/gmake.mk: serialize test targets.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 11:59:23 +00:00
nobu
6332415800
GNUmakefile.in: new template
...
* template/GNUmakefile.in: split from configure.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-06 06:30:08 +00:00
nobu
724d7f0370
ruby.pc.in: reorder
...
* template/ruby.pc.in: reorder library flags which may refer library
names. [Bug #7913 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 22:53:14 +00:00
nobu
0d46721033
configure.in: sitearch
...
* configure.in (rubysitearchprefix): sitearchdir and vendorarchdir
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-11 04:17:22 +00:00
nobu
834fd50ae2
configure.in: multiarch option
...
* configure.in (multiarch): add option to move architecture dependent
directories. [Feature #6111 ]
* template/ruby.pc.in: add arch dependent paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:33:03 +00:00
nobu
29c214e4a0
configure.in: arch dependent library directory options
...
* configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add
options to customize architecture dependent library directories.
* template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use
configured values.
* tool/mkconfig.rb: expand rubyarchdir to extract prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:32:53 +00:00
nobu
d32b122996
configure.in: RUBY_VERSION_NAME
...
* configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add
substitution and define.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:32:48 +00:00
nobu
94a4bc0ef4
id.h.tmpl: ID2ATTRSET
...
* template/id.h.tmpl (ID2ATTRSET): compile time constant macro for
ID_ATTRSET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 07:38:11 +00:00
nobu
2edcf87c1c
id.def: check duplication
...
* defs/id.def (KeywordError): check duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 07:38:07 +00:00
nobu
298694a2fd
id.def: other scope ID
...
* defs/id.def: support for other scope IDs,
ID_{INSTANCE,GLOBAL,CONST,CLASS}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 07:38:03 +00:00
nobu
28ee4c2966
id.c: generate
...
* common.mk, defs/id.def, template/id.c.tmpl: generate id.c as well as id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04 17:36:19 +00:00
nobu
784019f740
id.h.tmpl: remove unused id
...
* template/id.h.tmpl (attr_ids): remove Bitblt and Answer which are no
longer predefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04 14:54:21 +00:00
nobu
17a2be29b9
id.h.tmpl: move empty?
...
* template/id.h.tmpl (preserved_ids): "empty?" is not an attribute name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 09:25:19 +00:00
nobu
cf9d17a3d3
vm_method.c: make initialize methods private
...
* id.c (Init_id), template/id.h.tmpl: add initialize_{copy,clone,dup}
and respond_to_missing?.
* vm_method.c (rb_method_entry_make): make above methods private.
[Feature #6539 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01 09:16:52 +00:00
knu
d5d2440e0f
Drop executable bits of files that are not executable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-22 05:54:13 +00:00
nobu
928d1a5261
encoding.c: unicode_p
...
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide
UTF encodings are dummy but Unicode.
* encoding.c (rb_encdb_set_unicode): set Unicode flag.
* template/encdb.h.tmpl: allow ENC_DUMMY variants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-06 00:42:14 +00:00
takano32
ae114a8ee6
* template/Doxyfile.tmpl: remove SHOW_DIRECTORIES and
...
HTML_ALIGN_MEMBERS lines. They have been obsolete in
Doxygen version 1.8.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-05 08:20:34 +00:00
ko1
1bebb22ce1
* insns.def: add new instruction `opt_empty_p' for optimize `empty?'
...
method. Apply a patch proposed at [ruby-dev:46120]
[ruby-trunk - Feature #6972 ] by Glass_saga (Masaki Matsushita).
* compile.c (iseq_specialized_instruction), vm.c, vm_insnhelper.h:
ditto.
* id.c, template/id.h.tmpl: ditto.
* test/ruby/test_optimization.rb: test for this changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-26 09:34:46 +00:00
nobu
470c941ce5
id.h: independent from parse.h
...
* template/id.h.tmpl, tool/id2token.rb: make id.h independent from
parse.h, and make parse.c dependent on it instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-31 05:31:20 +00:00
nobu
bcbc1f722c
generic_erb.rb: --vpath option
...
* tool/generic_erb.rb (vpath.open): move --vpath option from
template/id.h.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-25 07:20:29 +00:00
nobu
f7c2791c60
id.h.tmpl: preserved ids
...
* template/id.h.tmpl (preserved_ids): move from parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 08:35:12 +00:00
nobu
200cea6326
id.h.tmpl: joke method names
...
* template/id.h.tmpl (method_ids): create also joke method names
non-separatedly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-17 08:35:08 +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
1fcc1762ad
fake.rb.in: remove duplications
...
* template/fake.rb.in (builddir): remove duplications
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09 14:46:44 +00:00
nobu
cfcc9b53c2
* template/Doxyfile.tmpl (EXCLUDE_PATTERNS): exclude files only for tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 14:56:36 +00:00
nobu
f959f2afdd
* template/Doxyfile.tmpl: exclude generated files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-03 14:05:34 +00:00
nobu
48f9f0bda9
method_ids
...
* template/id.h.tmpl (method_ids): define at once predefined method IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-14 01:35:06 +00:00
nobu
a5e49f9901
* template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir
...
and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-21 05:41:12 +00:00
nobu
b2c44e7af5
* template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include.
...
[ruby-core:40843] [Bug #5597 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09 02:40:39 +00:00
ayumin
fa5446f14e
* template/yarvarch.ja:
...
Change encoding from Shift-JIS to UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 17:09:30 +00:00
nobu
c7f86bb5f6
* template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 02:39:05 +00:00
akr
de4c25a001
* template/id.h.tmpl: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26 13:45:42 +00:00
nobu
6df0210388
* template/fake.rb.in (ruby): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23 01:32:57 +00:00
kazu
e8c539a7e3
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
...
defined. [ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 11:49:32 +00:00
nobu
a18a4811a0
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
...
[ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 11:05:52 +00:00
nobu
6d9cd4840d
* template/ruby.pc.in (arch, sitearch): reordered.
...
* configure.in: keep failed file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 22:24:06 +00:00
nobu
f46689f68f
* configure.in (ruby_pc): erase runtime-defined variables and
...
check if generated pc file is valid.
* template/ruby.pc.in (DEFFILE): need for mingw.
* template/ruby.pc.in (LIBRUBY): fix the order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 05:37:43 +00:00
nobu
d78e20912f
* win32/Makefile.sub (ruby_pc): ignore missing variables.
...
* template/ruby.pc.in: add missing variables for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 02:33:59 +00:00