summaryrefslogtreecommitdiff
path: root/template
AgeCommit message (Collapse)Author
2015-06-28sizes.c.tmpl: extract RUBY_DEFINTnobu
* template/sizes.c.tmpl: extract RUBY_DEFINT to define sizes of types checked by configure.in, and fix size of intptr_t in universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-16* ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99akr
and x86_64 ABI. * template/sizes.c.tmpl: Relax a pattern for types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-11fake.rb.in: scan version.cnobu
* template/fake.rb.in: scan MKSTR and MKINT from version.c and then extract the value for them from version.i. * version.c (Init_version): use MKINT as the marker. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-10fake.rb.in: match spacesnobu
* template/fake.rb.in: expanded macro result may have spaces between tokens. [ruby-dev:49047] [Bug #11243] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-10fake.rb.in: accurate fakenobu
* template/fake.rb.in: turn into erb template from autoconf template to fake more accurately. * common.mk (fake.rb): needs preprocessed file now. * version.c (Init_version): add dummy expression to RUBY_ENGINE_VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-03* configure.in: Don't check __int128.akr
* ext/rbconfig/sizeof/extconf.rb: Check __int128. * ext/rbconfig/sizeof/depend: sizes.c depends on ext/rbconfig/sizeof/extconf.rb. * template/sizes.c.tmpl: Detect check_sizeof. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-13fake.rb.in: suppress warningnobu
* template/fake.rb.in: suppress "assigned but unused variable" warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12fake.rb.in: expand builddir firstnobu
* template/fake.rb.in (builddir): expand __FILE__ first which may contain symblic links. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12fake.rb.in: suppress warningnobu
* template/fake.rb.in: suppress "useless use of a literal in void context" warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-11* template/fake.rb.in: Don't assign baseruby, Because it's affect tohsbt
Makefile of native gem like json on bundled gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-12fake.rb.in: expand srcdirnobu
* template/fake.rb.in (top_srcdir): expand for the case @srcdir@ is not a relative path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07fake.rb.in: RUBY_PATCHLEVELnobu
* template/fake.rb.in: add RUBY_PATCHLEVEL and include it in RUBY_DESCRIPTION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07common.mk: same fake.rbnobu
* common.mk (fake.rb): generate from same template on all platforms including win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25fake.rb: rubyarchhdrdir for rubyspecnobu
* common.mk (test-rubyspec): use fake script to set header directories. * template/fake.rb.in (RUBYOPT): set -r option to propagate to forked processes. * tool/fake.rb (prehook): set rubyarchhdrdir too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-05configure.in: fix --with-ruby-version [ci skip]nobu
* configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version configuration option. get rid of quoting in config.status. * template/verconf.h.tmpl: quote RUBY_LIB_VERSION here. [ruby-core:66724] [Bug #10572] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-03prelude.c.tmpl: require_relativenobu
* template/prelude.c.tmpl (Prelude#translate): support for require_relative and comments followed by #. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27prelude.c.tmpl: no preludes, no code.nobu
* template/prelude.c.tmpl: no code if no prelude code is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25* template/prelude.c.tmpl: Don't expand RbConfig::Config[...].akr
It is not used now. * common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-19prelude.c.tmpl: strip prefixnobu
* template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix from prelude names, so that srcdir diffrences do not make the generated code diffrent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11unicode_norm_gen.tmpl: fix build errornobu
* template/unicode_norm_gen.tmpl: fix build error on CentOS 5 with ruby 1.8.5 which lacks Symbol#to_proc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11template/prelude.c.tmplnobu
* template/prelude.c.tmpl: move from tool/compile_prelude.rb and expand by generic_erb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11suppress warning: shadowing outer local variable - linenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10unicode_normalize: UNICODE_VERSION constantnobu
* template/unicode_norm_gen.tmpl (UnicodeNormalize): embed the version of Unicode data files used to generate. * test/test_unicode_normalize.rb (TestUnicodeNormalize): use the embedded version to load the test data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06unicode_norm_gen.tmpl: expand kompatible_tablenobu
* template/unicode_norm_gen.tmpl: expand kompatible_table so that recursive expansion is not needed at runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27id.h.tmpl: ANDOP and OROPnobu
* template/id.h.tmpl (token_op_ids): define && and || for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27parse.y: optimize IDs in rippernobu
* parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=, <=, ==, ===, !=, =~, !~, <<, >>, and call. * parse.y: use initialized IDs, warn and warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,duerst
minsns.inc.tmpl: fixed path of generating script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25template/unicode_norm_gen.tmpl: Adjusted name of generating file.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rbnobu
* template/unicode_norm_gen.tmpl: use generic_erb.rb to update if changed and manage timestamp, so that source tree on read-only filesystem works. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-03fake.rb.in: fix make install failureshirosaki
* template/fake.rb.in: fix make install failure due to MSYS path with mingw on MSYS environment. [ruby-core:64965] [Bug #10230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-14vm.inc.tmpl + instruction.rb: typo fixesnormal
* template/vm.inc.tmpl: "insns.c" => "insns.def" * tool/instruction.rb: typo fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-09fake.rb.in: use absolute pathnobu
* template/fake.rb.in (top_srcdir): use absolute path to resolve symbolic links in srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* template/fake.rb.in: fix failed to make install when srcdir != builddir.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-11symbol.c: remove dependency on parse.hnobu
* symbol.c (op_tbl): remove non-regular symbols. * symbol.c (global_symbols): start from the next of the preserved ID. * symbol.c: (rb_id2str): op_tbl does not exceed tLAST_OP_ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-06split tool/fake.rbnobu
* tool/fake.rb: split from template/fake.rb.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-06fake.rb.in: override File::ALT_SEPARATORnobu
* template/fake.rb.in (File::ALT_SEPARATOR): override ALT_SEPARATOR if different, not only a backslash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17Doxyfile.tmpl: exclude ccannobu
* template/Doxyfile.tmpl (EXCLUDE): exclude ccan. [ruby-core:62557] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-17* template/opt_sc.inc.tmpl: [DOC] Fix typo in comment by @imasahiro [ci ↵hsbt
skip][fix GH-595] * template/optinsn.inc.tmpl: ditto. * template/optunifs.inc.tmpl: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-26* parse.y: support Symbol GC. [ruby-trunk Feature #9634]nari
See this ticket about Symbol GC. * include/ruby/ruby.h: Declare few functions. * rb_sym2id: almost same as old SYM2ID but support dynamic symbols. * rb_id2sym: almost same as old ID2SYM but support dynamic symbols. * rb_sym2str: almost same as `rb_id2str(SYM2ID(sym))` but not pin down a dynamic symbol. Declare a new struct. * struct RSymbol: represents a dynamic symbol as object in Ruby's heaps. Add few macros. * STATIC_SYM_P: check a static symbol. * DYNAMIC_SYM_P: check a dynamic symbol. * RSYMBOL: cast to RSymbol * gc.c: declare RSymbol. support T_SYMBOL. * internal.h: Declare few functions. * rb_gc_free_dsymbol: free up a dynamic symbol. GC call this function at a sweep phase. * rb_str_dynamic_intern: convert a string to a dynamic symbol. * rb_check_id_without_pindown: not pinning function. * rb_sym2id_without_pindown: ditto. * rb_check_id_cstr_without_pindown: ditto. * string.c (Init_String): String#intern and String#to_sym use rb_str_dynamic_intern. * template/id.h.tmpl: use LSB of ID as a flag for determining a static symbol, so we shift left other ruby_id_types. * string.c: use rb_sym2str instead `rb_id2str(SYM2ID(sym))` to avoid pinning. * load.c: use xx_without_pindown function at creating temporary ID to avoid pinning. * object.c: ditto. * sprintf.c: ditto. * struct.c: ditto. * thread.c: ditto. * variable.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-27verconf.h.tmpl: renamenobu
* template/verconf.h.tmpl: rename from .in since this is an erb template file, but not for config.status. * common.mk (verconf.h): rename the dependent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-11* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-11* ext/win32ole/sample/olegen.rb: Fix typoa_matsuda
* ext/openssl/ossl_asn1.c: [DOC] Fix typo * lib/webrick/accesslog.rb: ditto * template/yarvarch.ja: ditto s/recieve/receive/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-18ext/rbconfig/sizeof: move to an extension librarynobu
* 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-10-19encdb.h.tmpl: remove stale macrosnobu
* 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-09-20.gdbinit: show ID typenobu
* .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-08-26sizes.c.tmpl: autogeneratenobu
* 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-07-01* template/encdb.h.tmpl: define encoding index macros to use the indexnaruse
statically from C source. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-20Remove an unnecessary mode comment.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16* template/verconf.h.in: unexpand exec_prefix.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16verconf.h: fix for default prefixnobu
* 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