aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
Commit message (Collapse)AuthorAgeFilesLines
...
* common.mk: remove old gemsnobu2014-11-251-1/+3
| | | | | | | * common.mk (update-gems): remove old version gems after successfully downloaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: keep verconf.h if unchangednobu2014-11-221-1/+1
| | | | | | | * common.mk (verconf.h): update only when changed to reduce unnecessary recompiling loadpath.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: use PWD with nmakenobu2014-11-211-1/+1
| | | | | | | | * common.mk (ext/ripper/ripper.c): move MAKEDIR to Makefile.sub. * win32/Makefile.sub (PWD): set to $(MAKEDIR), nmake built-in macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): revert about srcdir and top_srcdir.naruse2014-11-211-2/+2
| | | | | | | * common.mk (ext/ripper/ripper.c): use $(PWD) for Unix, $(MAKEDIR) for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update dependency.akr2014-11-211-134/+360
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix dependenciesnobu2014-11-211-1/+2
| | | | | | | * common.mk (ext/ripper/ripper.c): fix dependencies for the case to make ripper.y and id.h under the build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): id.h in VPATH may exist in the buildnaruse2014-11-201-1/+1
| | | | | | | | directory. * common.mk (ext/ripper/ripper.c): $(RM) was not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix build errornobu2014-11-191-1/+1
| | | | | | | | | | * common.mk (ext/ripper/ripper.c): VPATH is always ../.. from ext/ripper. * ext/ripper/depend (.y.c): VPATH is not needed for an intermediate file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: ims=nil optionnobu2014-11-191-1/+1
| | | | | | | | | * common.mk (update-gems): use ims=nil option. * tool/downloader.rb (Downloader.download): show the message if no need to download in verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/json/parser/parser.c): don't touch parse.c,naruse2014-11-191-6/+1
| | | | | | ruby repo is a downstream. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): use $(PWD) to getnaruse2014-11-191-2/+2
| | | | | | <build-directory>/ext/ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/ripper/ripper.c): pass build directory as VPATH.naruse2014-11-191-2/+3
| | | | | | * ext/ripper/depend (.y.c): use VPATH for y.tab.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: revert r48486 because it breaks mswin build. start over.usa2014-11-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: remove srcdir prefixnobu2014-11-181-2/+2
| | | | | | | * common.mk (PRELUDE_SCRIPTS): since tool/generic_erb.rb searches files in VPATH, srcdir prefix is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Dependencies updated.akr2014-11-181-100/+148
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (CCAN_LIST_INCLUDES): Unused variable removed.akr2014-11-161-11/+0
| | | | | | | | | | (ENCODING_H_INCLUDES): Ditto. (PROBES_H_INCLUDES): Ditto. (VM_CORE_H_INCLUDES): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r48450.akr2014-11-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Specify dependencies for generated C sources.akr2014-11-151-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: parse.o depends on parse.y before parse.h.akr2014-11-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: No need to declare dependencies whichakr2014-11-151-79/+1
| | | | | | | | will be detected by inference rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h: Include ruby.h and ruby/encoding.h to beakr2014-11-151-0/+100
| | | | | | | | includable without prior inclusion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mark auogenerated part.akr2014-11-151-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Remove comments in Dependency lines.akr2014-11-151-1011/+1011
| | | | | | | | | | | | Notified by usa. * enc/depend: Ditto. * ext/**/depend: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/update-deps: Extend to fix dependencies.akr2014-11-151-197/+1092
| | | | | | | | | | | | * common.mk: Dependencies updated by tool/update-deps. * enc/depend: Ditto. * ext/**/depend: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: STATIC_ASSERTnobu2014-11-131-1/+1
| | | | | | * st.c: include "internal.h" for STATIC_ASSERT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tables.rb: addnobu2014-11-111-1/+1
| | | | | | | * lib/unicode_normalize/tables.rb: commit not to download and convert Unicode data files every time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: relax dependencynobu2014-11-111-1/+2
| | | | | | | * common.mk (lib/unicode_normalize/tables.rb): should depend on Unicode data files only when downloading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (prelude.c): search from source directory,nobu2014-11-111-1/+1
| | | | | | not depending on VPATH, in parallel to r35135. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: nmakenobu2014-11-111-9/+9
| | | | | | * common.mk (prelude.c): workaround for nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: preludesnobu2014-11-111-0/+1
| | | | | | * common.mk (preludes): make prelude.c too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/prelude.c.tmplnobu2014-11-111-11/+14
| | | | | | | * 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
* reaply r48278nobu2014-11-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r48278 "common.mk: update unicode data only if BASERUBY is available"naruse2014-11-061-1/+1
| | | | | | | | Moreover its error "make[1]: *** No rule to make target `lib/unicode_normalize/tables.rb', needed by `srcs-lib'. Stop." is not a good error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update unicode data only if BASERUBY is availablenobu2014-11-051-1/+1
| | | | | | | | * common.mk (lib/unicode_normalize/tables.rb): do nothing unless BASERUBY is available. MINIRUBY cannot load extension libraries, so cannot update Unicode data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rewrite method/block parameter fitting logic to optimizeko12014-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyword arguments/parameters and a splat argument. [Feature #10440] (Details are described in this ticket) Most of complex part is moved to vm_args.c. Now, ISeq#to_a does not catch up new instruction format. * vm_core.h: change iseq data structures. * introduce rb_call_info_kw_arg_t to represent keyword arguments. * add rb_call_info_t::kw_arg. * rename rb_iseq_t::arg_post_len to rb_iseq_t::arg_post_num. * rename rb_iseq_t::arg_keywords to arg_keyword_num. * rename rb_iseq_t::arg_keyword to rb_iseq_t::arg_keyword_bits. to represent keyword bitmap parameter index. This bitmap parameter shows that which keyword parameters are given or not given (0 for given). It is refered by `checkkeyword' instruction described bellow. * rename rb_iseq_t::arg_keyword_check to rb_iseq_t::arg_keyword_rest to represent keyword rest parameter index. * add rb_iseq_t::arg_keyword_default_values to represent default keyword values. * rename VM_CALL_ARGS_SKIP_SETUP to VM_CALL_ARGS_SIMPLE to represent (ci->flag & (SPLAT|BLOCKARG)) && ci->blockiseq == NULL && ci->kw_arg == NULL. * vm_insnhelper.c, vm_args.c: rewrite with refactoring. * rewrite splat argument code. * rewrite keyword arguments/parameters code. * merge method and block parameter fitting code into one code base. * vm.c, vm_eval.c: catch up these changes. * compile.c (new_callinfo): callinfo requires kw_arg parameter. * compile.c (compile_array_): check the last argument Hash object or not. If Hash object and all keys are Symbol literals, they are compiled to keyword arguments. * insns.def (checkkeyword): add new instruction. This instruction check the availability of corresponding keyword. For example, a method "def foo k1: 'v1'; end" is cimpiled to the following instructions. 0000 checkkeyword 2, 0 # check k1 is given. 0003 branchif 9 # if given, jump to address #9 0005 putstring "v1" 0007 setlocal_OP__WC__0 3 # k1 = 'v1' 0009 trace 8 0011 putnil 0012 trace 16 0014 leave * insns.def (opt_send_simple): removed and add new instruction "opt_send_without_block". * parse.y (new_args_tail_gen): reorder variables. Before this patch, a method "def foo(k1: 1, kr1:, k2: 2, **krest, &b)" has parameter variables "k1, kr1, k2, &b, internal_id, krest", but this patch reorders to "kr1, k1, k2, internal_id, krest, &b". (locate a block variable at last) * parse.y (vtable_pop): added. This function remove latest `n' variables from vtable. * iseq.c: catch up iseq data changes. * proc.c: ditto. * class.c (keyword_error): export as rb_keyword_error(). * common.mk: depend vm_args.c for vm.o. * hash.c (rb_hash_has_key): export. * internal.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: remove dl from EXT_SRCSnobu2014-10-311-6/+1
| | | | | | | * common.mk (EXT_SRCS): remove dl/callback which has been removed at r48217. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: fix Unicode table dependencynobu2014-10-311-5/+7
| | | | | | | | * common.mk (.unicode-tables.time): needs Unicode files always, and should update after downloading these files. [ruby-core:66026] [Bug #10461] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate updatesnobu2014-10-301-4/+6
| | | | | | | * common.mk (UPDATE_LIBRARIES): separate autogenerated library script from downloaded data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: fix for the case ALWAYS_UPDATE_UNICODE=nonaruse2014-10-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate Unicode files directorynobu2014-10-301-11/+18
| | | | | | | | | | | | | * common.mk: download Unicode files into separate directory for the version. * tool/downloader.rb (Downloader::Unicode.download): strip version directory. * tool/downloader.rb (Downloader.download): strip directory name if download directory is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rbnobu2014-10-251-4/+8
| | | | | | | | * 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
* common.mk: timestamp for update-unicodenobu2014-10-231-3/+8
| | | | | | | * common.mk (.update-unicode.time): timestamp not to download same files twice at one build. [Bug #10415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update unicode files every timesnobu2014-10-221-2/+2
| | | | | | | * common.mk (update-unicode): invert dependency to run every times. [ruby-core:65842] [Bug #10415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update source treenobu2014-10-221-3/+5
| | | | | | | * common.mk (after-update): update files under source tree. [ruby-core:65840] [Bug #10414] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prelude.c): add dependency to LIB_SRCS becauseusa2014-10-221-1/+1
| | | | | | | | enc/prelude.rb requires lib/unicode_normalize.rb, and it's also requires lib/unicode_normalize/tables.rb (=LIB_SRCS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (build-ext): avoid trying to build dynamic librariesyugui2014-10-221-1/+1
| | | | | | if configured --with-static-linked-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Fixed grammar in comment [ci skip]duerst2014-10-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: comment on ALWAYS_UPDATE_UNICODE [ci skip]nobu2014-10-221-0/+2
| | | | | | | * common.mk (ALWAYS_UPDATE_UNICODE): comment to how to force always update Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: UNICODE_FILESnobu2014-10-211-9/+17
| | | | | | | | | | | * common.mk (UNICODE_FILES): revert the rule that Unicode data files depend on downloader target, and add missing dependency of lib/unicode_normalize/tables.rb * common.mk (after-configure): removed as srcdir should be read-only after update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Adding explicit creation of directoryduerst2014-10-211-0/+1
| | | | | | | enc/unicode/data because git doesn't handle empty directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e