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
nobu
51d25ca8c0
* template/ruby.pc.in (Libs): needs DLDFLAGS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 09:04:59 +00:00
nobu
4d9a6ab181
* Makefile.in (pkgconfig-data): create pkg-config metadata file.
...
* tool/rbinstall.rb: install pkg-config metadata file.
* template/ruby.pc.in: template of pkg-config metadata file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25 15:29:32 +00:00
naruse
b5dc2576cc
* ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441.
...
* spec/default.mspec: ditto.
* template/Doxyfile.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 05:48:05 +00:00
nobu
2527936cfc
* template/fake.rb.in: get rid of embeding an absolute path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 14:07:21 +00:00
nobu
d31350f827
* id.c (Init_id): add underscore name.
...
* parse.y (warn_unused_var): ignore underscore name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20 07:17:46 +00:00
nobu
ee1cfc11e3
* template/fake.rb.in: no need for hook if extmk.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 07:20:28 +00:00
nobu
1007748627
* template/fake.rb.in: not define $extout to make target in cwd.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 17:06:20 +00:00
nobu
2ff26f2220
* template/fake.rb.in: hooks for extconf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-06 02:21:40 +00:00
ko1
d3f73f45d8
* insns.def: Change the operand type of setinlinecache
...
(OFFSET to IC). This IC must be same as corresponding
getinlinecache instruction's IC operand.
This change is for a little performance improvement
(getting IC directly) and is for the AOT compilation development.
* compile.c, iseq.c, insns.def: Change the approach to handling inline
cahce (IC) type operand to enable the above change.
This change also affects ISeq#to_a method. The inline cache operand
will be dumped by fixnum, the index of inline cache, in other words,
inline cache identity.
* template/insns_info.inc.tmpl, tool/instruction.rb: No need to count
inline cache size (insn_iclen()).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24 17:06:15 +00:00
akr
3302b8fff5
* include/ruby/intern.h (rb_strerrno): declared.
...
* template/known_errors.inc.tmpl: generate defined_error() and
undefined_error() instead of set_syserr.
* error.c (Init_syserr): define defined_error() and undefined_error()
to follow the above change.
(rb_strerrno): defined.
* thread_pthread.c: show error message and errno macro name with
rb_bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24 00:26:52 +00:00
nobu
fe1ce93f52
* compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
...
thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 20:58:26 +00:00
usa
af424b17a0
* template/Doxyfile.tmpl: RbConfig::CONFIG['DOT'] is sometimes nil.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:16:19 +00:00
ko1
55cfc1e409
* template/id.h.tmpl: fix this.
...
* id.h: removed. Because this file is generated automatically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 08:50:19 +00:00
nobu
7439c06ab7
* configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extracts
...
from version.h for cross-compiling.
* template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20 22:14:58 +00:00
naruse
b3d7273dc1
Add functions and macros for second encoding definitions.
...
* encoding.c (rb_enc_set_base): Add for setting base encoding
with their names. this is internal function.
* template/encdb.h.tmpl: specify ENC_SET_BASE for second
encodings in each encoding files.
* enc/encdb.c (rb_enc_set_base): add a declaration.
(ENC_SET_BASE): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04 00:50:59 +00:00