therubyracer 0.4.9-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/Doxyfile +1514 -0
- data/History.txt +43 -0
- data/README.rdoc +157 -0
- data/Rakefile +51 -0
- data/docs/data_conversion.txt +18 -0
- data/ext/v8/callbacks.cpp +160 -0
- data/ext/v8/callbacks.h +14 -0
- data/ext/v8/convert_ruby.cpp +8 -0
- data/ext/v8/convert_ruby.h +99 -0
- data/ext/v8/convert_string.cpp +10 -0
- data/ext/v8/convert_string.h +73 -0
- data/ext/v8/convert_v8.cpp +9 -0
- data/ext/v8/convert_v8.h +121 -0
- data/ext/v8/converters.cpp +83 -0
- data/ext/v8/converters.h +23 -0
- data/ext/v8/extconf.rb +36 -0
- data/ext/v8/upstream/2.0.6/.gitignore +26 -0
- data/ext/v8/upstream/2.0.6/AUTHORS +23 -0
- data/ext/v8/upstream/2.0.6/ChangeLog +1479 -0
- data/ext/v8/upstream/2.0.6/LICENSE +55 -0
- data/ext/v8/upstream/2.0.6/SConstruct +1028 -0
- data/ext/v8/upstream/2.0.6/include/v8-debug.h +275 -0
- data/ext/v8/upstream/2.0.6/include/v8.h +3236 -0
- data/ext/v8/upstream/2.0.6/src/SConscript +283 -0
- data/ext/v8/upstream/2.0.6/src/accessors.cc +695 -0
- data/ext/v8/upstream/2.0.6/src/accessors.h +114 -0
- data/ext/v8/upstream/2.0.6/src/allocation.cc +198 -0
- data/ext/v8/upstream/2.0.6/src/allocation.h +169 -0
- data/ext/v8/upstream/2.0.6/src/api.cc +3831 -0
- data/ext/v8/upstream/2.0.6/src/api.h +479 -0
- data/ext/v8/upstream/2.0.6/src/apinatives.js +110 -0
- data/ext/v8/upstream/2.0.6/src/apiutils.h +69 -0
- data/ext/v8/upstream/2.0.6/src/arguments.h +97 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-arm-inl.h +277 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-arm.cc +1821 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-arm.h +1027 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-thumb2-inl.h +267 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-thumb2.cc +1821 -0
- data/ext/v8/upstream/2.0.6/src/arm/assembler-thumb2.h +1027 -0
- data/ext/v8/upstream/2.0.6/src/arm/builtins-arm.cc +1271 -0
- data/ext/v8/upstream/2.0.6/src/arm/codegen-arm-inl.h +74 -0
- data/ext/v8/upstream/2.0.6/src/arm/codegen-arm.cc +6682 -0
- data/ext/v8/upstream/2.0.6/src/arm/codegen-arm.h +535 -0
- data/ext/v8/upstream/2.0.6/src/arm/constants-arm.cc +112 -0
- data/ext/v8/upstream/2.0.6/src/arm/constants-arm.h +347 -0
- data/ext/v8/upstream/2.0.6/src/arm/cpu-arm.cc +132 -0
- data/ext/v8/upstream/2.0.6/src/arm/debug-arm.cc +213 -0
- data/ext/v8/upstream/2.0.6/src/arm/disasm-arm.cc +1166 -0
- data/ext/v8/upstream/2.0.6/src/arm/fast-codegen-arm.cc +1698 -0
- data/ext/v8/upstream/2.0.6/src/arm/frames-arm.cc +123 -0
- data/ext/v8/upstream/2.0.6/src/arm/frames-arm.h +162 -0
- data/ext/v8/upstream/2.0.6/src/arm/ic-arm.cc +849 -0
- data/ext/v8/upstream/2.0.6/src/arm/jump-target-arm.cc +238 -0
- data/ext/v8/upstream/2.0.6/src/arm/macro-assembler-arm.cc +1259 -0
- data/ext/v8/upstream/2.0.6/src/arm/macro-assembler-arm.h +423 -0
- data/ext/v8/upstream/2.0.6/src/arm/regexp-macro-assembler-arm.cc +1266 -0
- data/ext/v8/upstream/2.0.6/src/arm/regexp-macro-assembler-arm.h +282 -0
- data/ext/v8/upstream/2.0.6/src/arm/register-allocator-arm-inl.h +103 -0
- data/ext/v8/upstream/2.0.6/src/arm/register-allocator-arm.cc +59 -0
- data/ext/v8/upstream/2.0.6/src/arm/register-allocator-arm.h +43 -0
- data/ext/v8/upstream/2.0.6/src/arm/simulator-arm.cc +2264 -0
- data/ext/v8/upstream/2.0.6/src/arm/simulator-arm.h +306 -0
- data/ext/v8/upstream/2.0.6/src/arm/stub-cache-arm.cc +1516 -0
- data/ext/v8/upstream/2.0.6/src/arm/virtual-frame-arm.cc +412 -0
- data/ext/v8/upstream/2.0.6/src/arm/virtual-frame-arm.h +532 -0
- data/ext/v8/upstream/2.0.6/src/array.js +1154 -0
- data/ext/v8/upstream/2.0.6/src/assembler.cc +772 -0
- data/ext/v8/upstream/2.0.6/src/assembler.h +525 -0
- data/ext/v8/upstream/2.0.6/src/ast.cc +512 -0
- data/ext/v8/upstream/2.0.6/src/ast.h +1820 -0
- data/ext/v8/upstream/2.0.6/src/bootstrapper.cc +1680 -0
- data/ext/v8/upstream/2.0.6/src/bootstrapper.h +103 -0
- data/ext/v8/upstream/2.0.6/src/builtins.cc +851 -0
- data/ext/v8/upstream/2.0.6/src/builtins.h +245 -0
- data/ext/v8/upstream/2.0.6/src/bytecodes-irregexp.h +104 -0
- data/ext/v8/upstream/2.0.6/src/char-predicates-inl.h +86 -0
- data/ext/v8/upstream/2.0.6/src/char-predicates.h +65 -0
- data/ext/v8/upstream/2.0.6/src/checks.cc +100 -0
- data/ext/v8/upstream/2.0.6/src/checks.h +284 -0
- data/ext/v8/upstream/2.0.6/src/code-stubs.cc +164 -0
- data/ext/v8/upstream/2.0.6/src/code-stubs.h +164 -0
- data/ext/v8/upstream/2.0.6/src/code.h +68 -0
- data/ext/v8/upstream/2.0.6/src/codegen-inl.h +88 -0
- data/ext/v8/upstream/2.0.6/src/codegen.cc +504 -0
- data/ext/v8/upstream/2.0.6/src/codegen.h +522 -0
- data/ext/v8/upstream/2.0.6/src/compilation-cache.cc +490 -0
- data/ext/v8/upstream/2.0.6/src/compilation-cache.h +98 -0
- data/ext/v8/upstream/2.0.6/src/compiler.cc +1132 -0
- data/ext/v8/upstream/2.0.6/src/compiler.h +107 -0
- data/ext/v8/upstream/2.0.6/src/contexts.cc +256 -0
- data/ext/v8/upstream/2.0.6/src/contexts.h +345 -0
- data/ext/v8/upstream/2.0.6/src/conversions-inl.h +95 -0
- data/ext/v8/upstream/2.0.6/src/conversions.cc +709 -0
- data/ext/v8/upstream/2.0.6/src/conversions.h +118 -0
- data/ext/v8/upstream/2.0.6/src/counters.cc +78 -0
- data/ext/v8/upstream/2.0.6/src/counters.h +239 -0
- data/ext/v8/upstream/2.0.6/src/cpu.h +65 -0
- data/ext/v8/upstream/2.0.6/src/d8-debug.cc +345 -0
- data/ext/v8/upstream/2.0.6/src/d8-debug.h +155 -0
- data/ext/v8/upstream/2.0.6/src/d8-posix.cc +675 -0
- data/ext/v8/upstream/2.0.6/src/d8-readline.cc +128 -0
- data/ext/v8/upstream/2.0.6/src/d8-windows.cc +42 -0
- data/ext/v8/upstream/2.0.6/src/d8.cc +776 -0
- data/ext/v8/upstream/2.0.6/src/d8.h +225 -0
- data/ext/v8/upstream/2.0.6/src/d8.js +1625 -0
- data/ext/v8/upstream/2.0.6/src/date-delay.js +1138 -0
- data/ext/v8/upstream/2.0.6/src/dateparser-inl.h +114 -0
- data/ext/v8/upstream/2.0.6/src/dateparser.cc +186 -0
- data/ext/v8/upstream/2.0.6/src/dateparser.h +240 -0
- data/ext/v8/upstream/2.0.6/src/debug-agent.cc +425 -0
- data/ext/v8/upstream/2.0.6/src/debug-agent.h +129 -0
- data/ext/v8/upstream/2.0.6/src/debug-delay.js +2073 -0
- data/ext/v8/upstream/2.0.6/src/debug.cc +2751 -0
- data/ext/v8/upstream/2.0.6/src/debug.h +866 -0
- data/ext/v8/upstream/2.0.6/src/disasm.h +77 -0
- data/ext/v8/upstream/2.0.6/src/disassembler.cc +318 -0
- data/ext/v8/upstream/2.0.6/src/disassembler.h +56 -0
- data/ext/v8/upstream/2.0.6/src/dtoa-config.c +91 -0
- data/ext/v8/upstream/2.0.6/src/execution.cc +701 -0
- data/ext/v8/upstream/2.0.6/src/execution.h +312 -0
- data/ext/v8/upstream/2.0.6/src/factory.cc +957 -0
- data/ext/v8/upstream/2.0.6/src/factory.h +393 -0
- data/ext/v8/upstream/2.0.6/src/fast-codegen.cc +725 -0
- data/ext/v8/upstream/2.0.6/src/fast-codegen.h +371 -0
- data/ext/v8/upstream/2.0.6/src/flag-definitions.h +426 -0
- data/ext/v8/upstream/2.0.6/src/flags.cc +555 -0
- data/ext/v8/upstream/2.0.6/src/flags.h +81 -0
- data/ext/v8/upstream/2.0.6/src/frame-element.cc +45 -0
- data/ext/v8/upstream/2.0.6/src/frame-element.h +235 -0
- data/ext/v8/upstream/2.0.6/src/frames-inl.h +215 -0
- data/ext/v8/upstream/2.0.6/src/frames.cc +749 -0
- data/ext/v8/upstream/2.0.6/src/frames.h +659 -0
- data/ext/v8/upstream/2.0.6/src/func-name-inferrer.cc +76 -0
- data/ext/v8/upstream/2.0.6/src/func-name-inferrer.h +135 -0
- data/ext/v8/upstream/2.0.6/src/global-handles.cc +516 -0
- data/ext/v8/upstream/2.0.6/src/global-handles.h +180 -0
- data/ext/v8/upstream/2.0.6/src/globals.h +608 -0
- data/ext/v8/upstream/2.0.6/src/handles-inl.h +76 -0
- data/ext/v8/upstream/2.0.6/src/handles.cc +811 -0
- data/ext/v8/upstream/2.0.6/src/handles.h +367 -0
- data/ext/v8/upstream/2.0.6/src/hashmap.cc +226 -0
- data/ext/v8/upstream/2.0.6/src/hashmap.h +120 -0
- data/ext/v8/upstream/2.0.6/src/heap-inl.h +407 -0
- data/ext/v8/upstream/2.0.6/src/heap-profiler.cc +695 -0
- data/ext/v8/upstream/2.0.6/src/heap-profiler.h +277 -0
- data/ext/v8/upstream/2.0.6/src/heap.cc +4204 -0
- data/ext/v8/upstream/2.0.6/src/heap.h +1704 -0
- data/ext/v8/upstream/2.0.6/src/ia32/assembler-ia32-inl.h +325 -0
- data/ext/v8/upstream/2.0.6/src/ia32/assembler-ia32.cc +2375 -0
- data/ext/v8/upstream/2.0.6/src/ia32/assembler-ia32.h +914 -0
- data/ext/v8/upstream/2.0.6/src/ia32/builtins-ia32.cc +1222 -0
- data/ext/v8/upstream/2.0.6/src/ia32/codegen-ia32-inl.h +46 -0
- data/ext/v8/upstream/2.0.6/src/ia32/codegen-ia32.cc +9770 -0
- data/ext/v8/upstream/2.0.6/src/ia32/codegen-ia32.h +834 -0
- data/ext/v8/upstream/2.0.6/src/ia32/cpu-ia32.cc +79 -0
- data/ext/v8/upstream/2.0.6/src/ia32/debug-ia32.cc +208 -0
- data/ext/v8/upstream/2.0.6/src/ia32/disasm-ia32.cc +1357 -0
- data/ext/v8/upstream/2.0.6/src/ia32/fast-codegen-ia32.cc +1813 -0
- data/ext/v8/upstream/2.0.6/src/ia32/frames-ia32.cc +111 -0
- data/ext/v8/upstream/2.0.6/src/ia32/frames-ia32.h +135 -0
- data/ext/v8/upstream/2.0.6/src/ia32/ic-ia32.cc +1490 -0
- data/ext/v8/upstream/2.0.6/src/ia32/jump-target-ia32.cc +432 -0
- data/ext/v8/upstream/2.0.6/src/ia32/macro-assembler-ia32.cc +1517 -0
- data/ext/v8/upstream/2.0.6/src/ia32/macro-assembler-ia32.h +528 -0
- data/ext/v8/upstream/2.0.6/src/ia32/regexp-macro-assembler-ia32.cc +1219 -0
- data/ext/v8/upstream/2.0.6/src/ia32/regexp-macro-assembler-ia32.h +230 -0
- data/ext/v8/upstream/2.0.6/src/ia32/register-allocator-ia32-inl.h +82 -0
- data/ext/v8/upstream/2.0.6/src/ia32/register-allocator-ia32.cc +99 -0
- data/ext/v8/upstream/2.0.6/src/ia32/register-allocator-ia32.h +43 -0
- data/ext/v8/upstream/2.0.6/src/ia32/simulator-ia32.cc +30 -0
- data/ext/v8/upstream/2.0.6/src/ia32/simulator-ia32.h +62 -0
- data/ext/v8/upstream/2.0.6/src/ia32/stub-cache-ia32.cc +1961 -0
- data/ext/v8/upstream/2.0.6/src/ia32/virtual-frame-ia32.cc +1105 -0
- data/ext/v8/upstream/2.0.6/src/ia32/virtual-frame-ia32.h +580 -0
- data/ext/v8/upstream/2.0.6/src/ic-inl.h +93 -0
- data/ext/v8/upstream/2.0.6/src/ic.cc +1426 -0
- data/ext/v8/upstream/2.0.6/src/ic.h +443 -0
- data/ext/v8/upstream/2.0.6/src/interpreter-irregexp.cc +646 -0
- data/ext/v8/upstream/2.0.6/src/interpreter-irregexp.h +48 -0
- data/ext/v8/upstream/2.0.6/src/json-delay.js +254 -0
- data/ext/v8/upstream/2.0.6/src/jsregexp.cc +5234 -0
- data/ext/v8/upstream/2.0.6/src/jsregexp.h +1439 -0
- data/ext/v8/upstream/2.0.6/src/jump-target-inl.h +49 -0
- data/ext/v8/upstream/2.0.6/src/jump-target.cc +383 -0
- data/ext/v8/upstream/2.0.6/src/jump-target.h +280 -0
- data/ext/v8/upstream/2.0.6/src/list-inl.h +166 -0
- data/ext/v8/upstream/2.0.6/src/list.h +158 -0
- data/ext/v8/upstream/2.0.6/src/log-inl.h +126 -0
- data/ext/v8/upstream/2.0.6/src/log-utils.cc +503 -0
- data/ext/v8/upstream/2.0.6/src/log-utils.h +292 -0
- data/ext/v8/upstream/2.0.6/src/log.cc +1457 -0
- data/ext/v8/upstream/2.0.6/src/log.h +371 -0
- data/ext/v8/upstream/2.0.6/src/macro-assembler.h +93 -0
- data/ext/v8/upstream/2.0.6/src/macros.py +137 -0
- data/ext/v8/upstream/2.0.6/src/mark-compact.cc +2007 -0
- data/ext/v8/upstream/2.0.6/src/mark-compact.h +442 -0
- data/ext/v8/upstream/2.0.6/src/math.js +263 -0
- data/ext/v8/upstream/2.0.6/src/memory.h +74 -0
- data/ext/v8/upstream/2.0.6/src/messages.cc +177 -0
- data/ext/v8/upstream/2.0.6/src/messages.h +112 -0
- data/ext/v8/upstream/2.0.6/src/messages.js +937 -0
- data/ext/v8/upstream/2.0.6/src/mirror-delay.js +2332 -0
- data/ext/v8/upstream/2.0.6/src/mksnapshot.cc +169 -0
- data/ext/v8/upstream/2.0.6/src/natives.h +63 -0
- data/ext/v8/upstream/2.0.6/src/objects-debug.cc +1317 -0
- data/ext/v8/upstream/2.0.6/src/objects-inl.h +3044 -0
- data/ext/v8/upstream/2.0.6/src/objects.cc +8306 -0
- data/ext/v8/upstream/2.0.6/src/objects.h +4960 -0
- data/ext/v8/upstream/2.0.6/src/oprofile-agent.cc +116 -0
- data/ext/v8/upstream/2.0.6/src/oprofile-agent.h +69 -0
- data/ext/v8/upstream/2.0.6/src/parser.cc +4810 -0
- data/ext/v8/upstream/2.0.6/src/parser.h +195 -0
- data/ext/v8/upstream/2.0.6/src/platform-freebsd.cc +645 -0
- data/ext/v8/upstream/2.0.6/src/platform-linux.cc +808 -0
- data/ext/v8/upstream/2.0.6/src/platform-macos.cc +643 -0
- data/ext/v8/upstream/2.0.6/src/platform-nullos.cc +454 -0
- data/ext/v8/upstream/2.0.6/src/platform-openbsd.cc +597 -0
- data/ext/v8/upstream/2.0.6/src/platform-posix.cc +380 -0
- data/ext/v8/upstream/2.0.6/src/platform-win32.cc +1908 -0
- data/ext/v8/upstream/2.0.6/src/platform.h +556 -0
- data/ext/v8/upstream/2.0.6/src/prettyprinter.cc +1511 -0
- data/ext/v8/upstream/2.0.6/src/prettyprinter.h +219 -0
- data/ext/v8/upstream/2.0.6/src/property.cc +96 -0
- data/ext/v8/upstream/2.0.6/src/property.h +327 -0
- data/ext/v8/upstream/2.0.6/src/regexp-delay.js +406 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler-irregexp-inl.h +78 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler-irregexp.cc +464 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler-irregexp.h +141 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler-tracer.cc +356 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler-tracer.h +103 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler.cc +240 -0
- data/ext/v8/upstream/2.0.6/src/regexp-macro-assembler.h +220 -0
- data/ext/v8/upstream/2.0.6/src/regexp-stack.cc +103 -0
- data/ext/v8/upstream/2.0.6/src/regexp-stack.h +123 -0
- data/ext/v8/upstream/2.0.6/src/register-allocator-inl.h +74 -0
- data/ext/v8/upstream/2.0.6/src/register-allocator.cc +100 -0
- data/ext/v8/upstream/2.0.6/src/register-allocator.h +295 -0
- data/ext/v8/upstream/2.0.6/src/rewriter.cc +855 -0
- data/ext/v8/upstream/2.0.6/src/rewriter.h +54 -0
- data/ext/v8/upstream/2.0.6/src/runtime.cc +8163 -0
- data/ext/v8/upstream/2.0.6/src/runtime.h +432 -0
- data/ext/v8/upstream/2.0.6/src/runtime.js +626 -0
- data/ext/v8/upstream/2.0.6/src/scanner.cc +1098 -0
- data/ext/v8/upstream/2.0.6/src/scanner.h +425 -0
- data/ext/v8/upstream/2.0.6/src/scopeinfo.cc +649 -0
- data/ext/v8/upstream/2.0.6/src/scopeinfo.h +236 -0
- data/ext/v8/upstream/2.0.6/src/scopes.cc +963 -0
- data/ext/v8/upstream/2.0.6/src/scopes.h +401 -0
- data/ext/v8/upstream/2.0.6/src/serialize.cc +1260 -0
- data/ext/v8/upstream/2.0.6/src/serialize.h +404 -0
- data/ext/v8/upstream/2.0.6/src/shell.h +55 -0
- data/ext/v8/upstream/2.0.6/src/simulator.h +41 -0
- data/ext/v8/upstream/2.0.6/src/smart-pointer.h +109 -0
- data/ext/v8/upstream/2.0.6/src/snapshot-common.cc +97 -0
- data/ext/v8/upstream/2.0.6/src/snapshot-empty.cc +40 -0
- data/ext/v8/upstream/2.0.6/src/snapshot.h +59 -0
- data/ext/v8/upstream/2.0.6/src/spaces-inl.h +372 -0
- data/ext/v8/upstream/2.0.6/src/spaces.cc +2864 -0
- data/ext/v8/upstream/2.0.6/src/spaces.h +2072 -0
- data/ext/v8/upstream/2.0.6/src/string-stream.cc +584 -0
- data/ext/v8/upstream/2.0.6/src/string-stream.h +189 -0
- data/ext/v8/upstream/2.0.6/src/string.js +901 -0
- data/ext/v8/upstream/2.0.6/src/stub-cache.cc +1108 -0
- data/ext/v8/upstream/2.0.6/src/stub-cache.h +578 -0
- data/ext/v8/upstream/2.0.6/src/third_party/dtoa/COPYING +15 -0
- data/ext/v8/upstream/2.0.6/src/third_party/dtoa/dtoa.c +3330 -0
- data/ext/v8/upstream/2.0.6/src/third_party/valgrind/valgrind.h +3925 -0
- data/ext/v8/upstream/2.0.6/src/token.cc +56 -0
- data/ext/v8/upstream/2.0.6/src/token.h +270 -0
- data/ext/v8/upstream/2.0.6/src/top.cc +991 -0
- data/ext/v8/upstream/2.0.6/src/top.h +459 -0
- data/ext/v8/upstream/2.0.6/src/unicode-inl.h +238 -0
- data/ext/v8/upstream/2.0.6/src/unicode.cc +749 -0
- data/ext/v8/upstream/2.0.6/src/unicode.h +279 -0
- data/ext/v8/upstream/2.0.6/src/uri.js +415 -0
- data/ext/v8/upstream/2.0.6/src/usage-analyzer.cc +426 -0
- data/ext/v8/upstream/2.0.6/src/usage-analyzer.h +40 -0
- data/ext/v8/upstream/2.0.6/src/utils.cc +322 -0
- data/ext/v8/upstream/2.0.6/src/utils.h +592 -0
- data/ext/v8/upstream/2.0.6/src/v8-counters.cc +55 -0
- data/ext/v8/upstream/2.0.6/src/v8-counters.h +198 -0
- data/ext/v8/upstream/2.0.6/src/v8.cc +193 -0
- data/ext/v8/upstream/2.0.6/src/v8.h +119 -0
- data/ext/v8/upstream/2.0.6/src/v8natives.js +846 -0
- data/ext/v8/upstream/2.0.6/src/v8threads.cc +450 -0
- data/ext/v8/upstream/2.0.6/src/v8threads.h +144 -0
- data/ext/v8/upstream/2.0.6/src/variables.cc +163 -0
- data/ext/v8/upstream/2.0.6/src/variables.h +235 -0
- data/ext/v8/upstream/2.0.6/src/version.cc +88 -0
- data/ext/v8/upstream/2.0.6/src/version.h +64 -0
- data/ext/v8/upstream/2.0.6/src/virtual-frame.cc +381 -0
- data/ext/v8/upstream/2.0.6/src/virtual-frame.h +44 -0
- data/ext/v8/upstream/2.0.6/src/x64/assembler-x64-inl.h +352 -0
- data/ext/v8/upstream/2.0.6/src/x64/assembler-x64.cc +2539 -0
- data/ext/v8/upstream/2.0.6/src/x64/assembler-x64.h +1399 -0
- data/ext/v8/upstream/2.0.6/src/x64/builtins-x64.cc +1255 -0
- data/ext/v8/upstream/2.0.6/src/x64/codegen-x64-inl.h +46 -0
- data/ext/v8/upstream/2.0.6/src/x64/codegen-x64.cc +8223 -0
- data/ext/v8/upstream/2.0.6/src/x64/codegen-x64.h +785 -0
- data/ext/v8/upstream/2.0.6/src/x64/cpu-x64.cc +79 -0
- data/ext/v8/upstream/2.0.6/src/x64/debug-x64.cc +202 -0
- data/ext/v8/upstream/2.0.6/src/x64/disasm-x64.cc +1596 -0
- data/ext/v8/upstream/2.0.6/src/x64/fast-codegen-x64.cc +1820 -0
- data/ext/v8/upstream/2.0.6/src/x64/frames-x64.cc +109 -0
- data/ext/v8/upstream/2.0.6/src/x64/frames-x64.h +121 -0
- data/ext/v8/upstream/2.0.6/src/x64/ic-x64.cc +1392 -0
- data/ext/v8/upstream/2.0.6/src/x64/jump-target-x64.cc +432 -0
- data/ext/v8/upstream/2.0.6/src/x64/macro-assembler-x64.cc +2409 -0
- data/ext/v8/upstream/2.0.6/src/x64/macro-assembler-x64.h +765 -0
- data/ext/v8/upstream/2.0.6/src/x64/regexp-macro-assembler-x64.cc +1337 -0
- data/ext/v8/upstream/2.0.6/src/x64/regexp-macro-assembler-x64.h +295 -0
- data/ext/v8/upstream/2.0.6/src/x64/register-allocator-x64-inl.h +86 -0
- data/ext/v8/upstream/2.0.6/src/x64/register-allocator-x64.cc +84 -0
- data/ext/v8/upstream/2.0.6/src/x64/register-allocator-x64.h +43 -0
- data/ext/v8/upstream/2.0.6/src/x64/simulator-x64.cc +27 -0
- data/ext/v8/upstream/2.0.6/src/x64/simulator-x64.h +63 -0
- data/ext/v8/upstream/2.0.6/src/x64/stub-cache-x64.cc +1884 -0
- data/ext/v8/upstream/2.0.6/src/x64/virtual-frame-x64.cc +1089 -0
- data/ext/v8/upstream/2.0.6/src/x64/virtual-frame-x64.h +560 -0
- data/ext/v8/upstream/2.0.6/src/zone-inl.h +297 -0
- data/ext/v8/upstream/2.0.6/src/zone.cc +193 -0
- data/ext/v8/upstream/2.0.6/src/zone.h +305 -0
- data/ext/v8/upstream/2.0.6/tools/codemap.js +258 -0
- data/ext/v8/upstream/2.0.6/tools/consarray.js +93 -0
- data/ext/v8/upstream/2.0.6/tools/csvparser.js +98 -0
- data/ext/v8/upstream/2.0.6/tools/gyp/v8.gyp +620 -0
- data/ext/v8/upstream/2.0.6/tools/js2c.py +376 -0
- data/ext/v8/upstream/2.0.6/tools/jsmin.py +280 -0
- data/ext/v8/upstream/2.0.6/tools/linux-tick-processor +24 -0
- data/ext/v8/upstream/2.0.6/tools/linux-tick-processor.py +78 -0
- data/ext/v8/upstream/2.0.6/tools/logreader.js +320 -0
- data/ext/v8/upstream/2.0.6/tools/mac-nm +18 -0
- data/ext/v8/upstream/2.0.6/tools/mac-tick-processor +6 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/annotate +7 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/common +19 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/dump +7 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/report +7 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/reset +7 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/run +14 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/shutdown +7 -0
- data/ext/v8/upstream/2.0.6/tools/oprofile/start +7 -0
- data/ext/v8/upstream/2.0.6/tools/presubmit.py +299 -0
- data/ext/v8/upstream/2.0.6/tools/process-heap-prof.py +120 -0
- data/ext/v8/upstream/2.0.6/tools/profile.js +621 -0
- data/ext/v8/upstream/2.0.6/tools/profile_view.js +224 -0
- data/ext/v8/upstream/2.0.6/tools/run-valgrind.py +77 -0
- data/ext/v8/upstream/2.0.6/tools/splaytree.js +322 -0
- data/ext/v8/upstream/2.0.6/tools/splaytree.py +226 -0
- data/ext/v8/upstream/2.0.6/tools/stats-viewer.py +456 -0
- data/ext/v8/upstream/2.0.6/tools/test.py +1370 -0
- data/ext/v8/upstream/2.0.6/tools/tickprocessor-driver.js +53 -0
- data/ext/v8/upstream/2.0.6/tools/tickprocessor.js +731 -0
- data/ext/v8/upstream/2.0.6/tools/tickprocessor.py +535 -0
- data/ext/v8/upstream/2.0.6/tools/utils.py +82 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/README.txt +71 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/arm.vsprops +14 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/common.vsprops +35 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/d8.vcproj +199 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/d8_arm.vcproj +199 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/d8_x64.vcproj +201 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/d8js2c.cmd +6 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/debug.vsprops +17 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/ia32.vsprops +13 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/js2c.cmd +6 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/release.vsprops +24 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8.sln +101 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8.vcproj +223 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_arm.sln +74 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_arm.vcproj +223 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_base.vcproj +971 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_base_arm.vcproj +983 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_base_x64.vcproj +959 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_cctest.vcproj +255 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_cctest_arm.vcproj +243 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_cctest_x64.vcproj +257 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_mksnapshot.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_mksnapshot_x64.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_process_sample.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_process_sample_arm.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_process_sample_x64.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_shell_sample.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_shell_sample_arm.vcproj +151 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_shell_sample_x64.vcproj +153 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_snapshot.vcproj +142 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_snapshot_cc.vcproj +92 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_snapshot_cc_x64.vcproj +92 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_snapshot_x64.vcproj +142 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_x64.sln +101 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/v8_x64.vcproj +223 -0
- data/ext/v8/upstream/2.0.6/tools/visual_studio/x64.vsprops +13 -0
- data/ext/v8/upstream/2.0.6/tools/windows-tick-processor.bat +5 -0
- data/ext/v8/upstream/2.0.6/tools/windows-tick-processor.py +137 -0
- data/ext/v8/upstream/Makefile +31 -0
- data/ext/v8/upstream/no-strict-aliasing.patch +13 -0
- data/ext/v8/upstream/scons/CHANGES.txt +5183 -0
- data/ext/v8/upstream/scons/LICENSE.txt +20 -0
- data/ext/v8/upstream/scons/MANIFEST +202 -0
- data/ext/v8/upstream/scons/PKG-INFO +13 -0
- data/ext/v8/upstream/scons/README.txt +273 -0
- data/ext/v8/upstream/scons/RELEASE.txt +1040 -0
- data/ext/v8/upstream/scons/engine/SCons/Action.py +1256 -0
- data/ext/v8/upstream/scons/engine/SCons/Builder.py +868 -0
- data/ext/v8/upstream/scons/engine/SCons/CacheDir.py +217 -0
- data/ext/v8/upstream/scons/engine/SCons/Conftest.py +794 -0
- data/ext/v8/upstream/scons/engine/SCons/Debug.py +237 -0
- data/ext/v8/upstream/scons/engine/SCons/Defaults.py +485 -0
- data/ext/v8/upstream/scons/engine/SCons/Environment.py +2327 -0
- data/ext/v8/upstream/scons/engine/SCons/Errors.py +207 -0
- data/ext/v8/upstream/scons/engine/SCons/Executor.py +636 -0
- data/ext/v8/upstream/scons/engine/SCons/Job.py +435 -0
- data/ext/v8/upstream/scons/engine/SCons/Memoize.py +292 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/Alias.py +153 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/FS.py +3220 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/Python.py +128 -0
- data/ext/v8/upstream/scons/engine/SCons/Node/__init__.py +1341 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/BoolOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/EnumOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/ListOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/PackageOption.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/PathOption.py +76 -0
- data/ext/v8/upstream/scons/engine/SCons/Options/__init__.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/PathList.py +232 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/__init__.py +236 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/aix.py +70 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/cygwin.py +55 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/darwin.py +46 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/hpux.py +46 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/irix.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/os2.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/posix.py +264 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/sunos.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Platform/win32.py +386 -0
- data/ext/v8/upstream/scons/engine/SCons/SConf.py +1038 -0
- data/ext/v8/upstream/scons/engine/SCons/SConsign.py +381 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/C.py +132 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/D.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Dir.py +111 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Fortran.py +320 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/IDL.py +48 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/LaTeX.py +378 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/Prog.py +103 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/RC.py +55 -0
- data/ext/v8/upstream/scons/engine/SCons/Scanner/__init__.py +415 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/Interactive.py +386 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/Main.py +1360 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/SConsOptions.py +944 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/SConscript.py +642 -0
- data/ext/v8/upstream/scons/engine/SCons/Script/__init__.py +414 -0
- data/ext/v8/upstream/scons/engine/SCons/Sig.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Subst.py +911 -0
- data/ext/v8/upstream/scons/engine/SCons/Taskmaster.py +1030 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/386asm.py +61 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/BitKeeper.py +65 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/CVS.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/FortranCommon.py +247 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/JavaCommon.py +324 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/common.py +210 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/netframework.py +84 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/sdk.py +321 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vc.py +367 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/MSCommon/vs.py +497 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/Perforce.py +104 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/PharLapCommon.py +138 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/RCS.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/SCCS.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/Subversion.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/__init__.py +675 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixc++.py +82 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixcc.py +74 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixf77.py +80 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/aixlink.py +76 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/applelink.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ar.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/as.py +78 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/bcc32.py +82 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/c++.py +99 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/cc.py +114 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/cvf.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/default.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dmd.py +224 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvi.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvipdf.py +125 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/dvips.py +94 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f77.py +62 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f90.py +62 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/f95.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/filesystem.py +98 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/fortran.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/g++.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/g77.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gas.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gcc.py +80 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gfortran.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gnulink.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/gs.py +81 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpc++.py +85 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hpcc.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/hplink.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/icc.py +59 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/icl.py +52 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifl.py +72 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ifort.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink.py +59 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ilink32.py +60 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/install.py +229 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/intelc.py +490 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/ipkg.py +71 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/jar.py +110 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/javac.py +234 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/javah.py +138 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/latex.py +79 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/lex.py +99 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/link.py +121 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/linkloc.py +112 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/m4.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/masm.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/midl.py +90 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mingw.py +159 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslib.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mslink.py +266 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mssdk.py +50 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvc.py +269 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/msvs.py +1439 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwcc.py +208 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/mwld.py +107 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/nasm.py +72 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/__init__.py +314 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/msi.py +526 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/rpm.py +367 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/targz.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/packaging/zip.py +44 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdf.py +78 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdflatex.py +83 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/pdftex.py +108 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/qt.py +336 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rmic.py +121 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpcgen.py +70 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/rpm.py +132 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgiar.py +68 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgic++.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgicc.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sgilink.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunar.py +67 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunc++.py +142 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/suncc.py +58 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf77.py +63 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf90.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunf95.py +64 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/sunlink.py +77 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/swig.py +186 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tar.py +73 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tex.py +805 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/textfile.py +175 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/tlib.py +53 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/wix.py +100 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/yacc.py +131 -0
- data/ext/v8/upstream/scons/engine/SCons/Tool/zip.py +100 -0
- data/ext/v8/upstream/scons/engine/SCons/Util.py +1645 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/BoolVariable.py +91 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/EnumVariable.py +107 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/ListVariable.py +139 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/PackageVariable.py +109 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/PathVariable.py +147 -0
- data/ext/v8/upstream/scons/engine/SCons/Variables/__init__.py +317 -0
- data/ext/v8/upstream/scons/engine/SCons/Warnings.py +228 -0
- data/ext/v8/upstream/scons/engine/SCons/__init__.py +49 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/__init__.py +302 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_UserString.py +98 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_hashlib.py +91 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_itertools.py +124 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_optparse.py +1725 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets.py +583 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_sets15.py +176 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_shlex.py +325 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_subprocess.py +1296 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/_scons_textwrap.py +382 -0
- data/ext/v8/upstream/scons/engine/SCons/compat/builtins.py +187 -0
- data/ext/v8/upstream/scons/engine/SCons/cpp.py +598 -0
- data/ext/v8/upstream/scons/engine/SCons/dblite.py +248 -0
- data/ext/v8/upstream/scons/engine/SCons/exitfuncs.py +77 -0
- data/ext/v8/upstream/scons/os_spawnv_fix.diff +83 -0
- data/ext/v8/upstream/scons/scons-time.1 +1017 -0
- data/ext/v8/upstream/scons/scons.1 +15179 -0
- data/ext/v8/upstream/scons/sconsign.1 +208 -0
- data/ext/v8/upstream/scons/script/scons +184 -0
- data/ext/v8/upstream/scons/script/scons-time +1529 -0
- data/ext/v8/upstream/scons/script/scons.bat +31 -0
- data/ext/v8/upstream/scons/script/sconsign +508 -0
- data/ext/v8/upstream/scons/setup.cfg +6 -0
- data/ext/v8/upstream/scons/setup.py +427 -0
- data/ext/v8/v8.cpp +89 -0
- data/ext/v8/v8_cxt.cpp +92 -0
- data/ext/v8/v8_cxt.h +20 -0
- data/ext/v8/v8_func.cpp +10 -0
- data/ext/v8/v8_func.h +11 -0
- data/ext/v8/v8_msg.cpp +54 -0
- data/ext/v8/v8_msg.h +18 -0
- data/ext/v8/v8_obj.cpp +52 -0
- data/ext/v8/v8_obj.h +13 -0
- data/ext/v8/v8_ref.cpp +26 -0
- data/ext/v8/v8_ref.h +31 -0
- data/ext/v8/v8_script.cpp +20 -0
- data/ext/v8/v8_script.h +8 -0
- data/ext/v8/v8_standalone.cpp +69 -0
- data/ext/v8/v8_standalone.h +31 -0
- data/ext/v8/v8_str.cpp +17 -0
- data/ext/v8/v8_str.h +9 -0
- data/ext/v8/v8_template.cpp +53 -0
- data/ext/v8/v8_template.h +13 -0
- data/lib/v8.rb +10 -0
- data/lib/v8/context.rb +101 -0
- data/lib/v8/object.rb +38 -0
- data/lib/v8/to.rb +33 -0
- data/lib/v8/v8.so +0 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/ext/cxt_spec.rb +25 -0
- data/spec/ext/obj_spec.rb +13 -0
- data/spec/redjs/jsapi_spec.rb +405 -0
- data/spec/redjs/tap.rb +8 -0
- data/spec/redjs_helper.rb +3 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/v8/to_spec.rb +15 -0
- data/tasks/rspec.rake +21 -0
- data/therubyracer.gemspec +680 -0
- metadata +697 -0
@@ -0,0 +1,1040 @@
|
|
1
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# src/RELEASE.txt 4629 2010/01/17 22:23:21 scons
|
3
|
+
|
4
|
+
|
5
|
+
SCons - a software construction tool
|
6
|
+
|
7
|
+
Release Notes
|
8
|
+
|
9
|
+
|
10
|
+
This is SCons, a tool for building software (and other files). SCons is
|
11
|
+
implemented in Python, and its "configuration files" are actually Python
|
12
|
+
scripts, allowing you to use the full power of a real scripting language
|
13
|
+
to solve build problems. You do not, however, need to know Python to
|
14
|
+
use SCons effectively.
|
15
|
+
|
16
|
+
So that everyone using SCons can help each other learn how to use it
|
17
|
+
more effectively, please sign up for the scons-users mailing list at:
|
18
|
+
|
19
|
+
http://lists.sourceforge.net/lists/listinfo/scons-users
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
RELEASE 1.2.0.d20100117 - Sun, 17 Jan 2010 14:26:59 -0800
|
24
|
+
|
25
|
+
Please consult the CHANGES.txt file for a list of specific changes
|
26
|
+
since last release.
|
27
|
+
|
28
|
+
Please note the following important changes scheduled for the next
|
29
|
+
minor release (1.3.0):
|
30
|
+
|
31
|
+
-- DEPRECATED FEATURES WILL GENERATE MANDATORY WARNINGS IN 1.3.0
|
32
|
+
|
33
|
+
In keeping with our deprecation cycle, the following deprecated
|
34
|
+
features will still be supported in 1.3.0 but will generate
|
35
|
+
mandatory, non-disableable warnings:
|
36
|
+
|
37
|
+
-- Support for Python versions 1.5, 1.6, 2.0, 2.1, 2.2, and 2.3.
|
38
|
+
-- The overrides= keyword argument to the Builder() call.
|
39
|
+
-- The scanner= keyword argument to the Builder() call.
|
40
|
+
-- The BuildDir() function and env.BuildDir() method.
|
41
|
+
-- The env.Copy() method.
|
42
|
+
-- The SourceSignatures() function and
|
43
|
+
env.SourceSignatures() method.
|
44
|
+
-- The TargetSignatures() function and
|
45
|
+
env.TargetSignatures() method.
|
46
|
+
-- The Sig module (now an unnused stub).
|
47
|
+
-- The --debug=dtree, --debug=stree and --debug=tree options.
|
48
|
+
-- The --debug=nomemoizer option.
|
49
|
+
-- The Options object and the related BoolOption(),
|
50
|
+
EnumOption(), ListOption(), PackageOption() and
|
51
|
+
PathOption() functions.
|
52
|
+
|
53
|
+
The mandatory warnings will be issued in order to make sure
|
54
|
+
users of 1.3.0 notice *prior* to the release of SCons 2.0.0, that
|
55
|
+
these features will be removed. In SCons 2.0.0 these features
|
56
|
+
will no longer work at all, and will instead generate specific
|
57
|
+
fatal errors when anyone tries to use them.
|
58
|
+
|
59
|
+
Please note the following important changes since release 1.2.0:
|
60
|
+
|
61
|
+
-- Support for Latex glosseries and acronyms has been added
|
62
|
+
|
63
|
+
-- MICROSOFT VISUAL STUDIO VERSION/ARCH DETECTION HAS CHANGED
|
64
|
+
|
65
|
+
The way SCons detects Visual Studio on Windows has changed in
|
66
|
+
1.3. By default, it should now use the latest installed
|
67
|
+
Visual Studio version on your machine, and compile for 32 or
|
68
|
+
64 bits according to whether your OS is 32 or 64 bits (32/64
|
69
|
+
bit python makes no difference).
|
70
|
+
|
71
|
+
Two new variables control Visual Studio: MSVC_VERSION and
|
72
|
+
TARGET_ARCH. These variables ONLY take effect when passed to
|
73
|
+
the Environment() constructor; setting them later has no
|
74
|
+
effect. To use a non-default Visual Studio version, set
|
75
|
+
MSVC_VERSION to e.g. "8.0" or "7.1". Setting it to "xxx" (or
|
76
|
+
any nonexistent value) will make it print out the valid
|
77
|
+
versions on your system. To use a non-default architecture,
|
78
|
+
set TARGET_ARCH to "x86" or "x86_64" (various synonyms are
|
79
|
+
accepted).
|
80
|
+
|
81
|
+
Note that if you use MSVS_VERSION to build Visual Studio
|
82
|
+
projects from your SConstructs, MSVS_VERSION must be set to
|
83
|
+
the same version as MSVC_VERSION.
|
84
|
+
|
85
|
+
Support for HOST_OS,HOST_ARCH,TARGET_OS, TARGET_ARCH has been
|
86
|
+
added to allow specifying different target arch than the host
|
87
|
+
system. This is only supported for Visual Studio/Visual C++
|
88
|
+
at this time.
|
89
|
+
|
90
|
+
-- VISUAL C/C++ PRECOMPILED HEADERS WILL BE REBUILT
|
91
|
+
|
92
|
+
Precompiled header files built with Visual C/C++ will be
|
93
|
+
rebuilt after upgrading from 1.2.0 to a later release.
|
94
|
+
|
95
|
+
This rebuild is normal and will occur because the command line
|
96
|
+
defined by the $PCHCOM construction variable has had the $CCFLAGS
|
97
|
+
variable added, and has been rearranged to put the "/Fo" output
|
98
|
+
flag towards the beginning of the line, consistent with the
|
99
|
+
related command lines for $CCCOM, $CXXCOM, etc.
|
100
|
+
|
101
|
+
-- CHANGES TO SOME LINKER COMMAND LINES WILL CAUSE RELINKING
|
102
|
+
|
103
|
+
Changes to the command line definitions for the Microsoft link.exe
|
104
|
+
linker, the OS/2 ilink linker and the Phar Lap linkloc linker
|
105
|
+
will cause targets built with those tools be to be rebuilt after
|
106
|
+
upgrading from 1.2.0 to a later release.
|
107
|
+
|
108
|
+
This relink is normal and will occur because the command lines for
|
109
|
+
these tools have been redefined to remove unnecessary nested $(
|
110
|
+
and $) character strings.
|
111
|
+
|
112
|
+
-- MSVS_USE_MFC_DIRS and MSVS_IGNORE_IDE_PATHS are obsoleted and
|
113
|
+
have no effect.
|
114
|
+
|
115
|
+
Please note the following important changes since release 1.1.0:
|
116
|
+
|
117
|
+
-- THE $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES
|
118
|
+
AND $UNCHANGED_TARGETS VARIABLES WILL BECOME RESERVED
|
119
|
+
|
120
|
+
A future release (probably 1.3.0) will make the construction
|
121
|
+
variable names $CHANGED_SOURCES, $CHANGED_TARGETS,
|
122
|
+
$UNCHANGED_SOURCES and $UNCHANGED_TARGETS into reserved
|
123
|
+
construction variable names controlled by SCons itself (like
|
124
|
+
the current $SOURCE, $TARGETS, etc.).
|
125
|
+
|
126
|
+
Setting these variable names in the current release will generate
|
127
|
+
a warning but still set the variables. When they become reserved
|
128
|
+
variable names, they will generate a different warning message
|
129
|
+
and attempts to set these variables will be ignored.
|
130
|
+
|
131
|
+
SCons configurations that happen to use these variable names
|
132
|
+
should be changed to use different variable names, in order
|
133
|
+
to ensure that the configuration continues to work with future
|
134
|
+
versions of SCons.
|
135
|
+
|
136
|
+
-- THE Options OBJECT AND RELATED FUNCTIONS NOW GENERATE WARNINGS
|
137
|
+
|
138
|
+
Use of the Options object, and related functions BoolOption(),
|
139
|
+
EnumOption(), ListOption(), PackageOption() and PathOption()
|
140
|
+
were announced as deprecated in release 0.98.1. Since then,
|
141
|
+
however, no warning messages were ever implemented for the
|
142
|
+
use of these deprecated functions.
|
143
|
+
|
144
|
+
By default, release 1.2.0 prints warning messages when these
|
145
|
+
deprecated features are used. Warnings about all deprecated
|
146
|
+
features may be suppressed by using the --warn=no-deprecated
|
147
|
+
command-line option:
|
148
|
+
|
149
|
+
$ scons --warn=no-deprecated
|
150
|
+
|
151
|
+
Or by using the appropriate SetOption() call in any SConscript
|
152
|
+
file:
|
153
|
+
|
154
|
+
SetOption('warn', 'no-deprecated')
|
155
|
+
|
156
|
+
You may optionally disable just warnings about the deprecation
|
157
|
+
of the Options object and its related functions as follows:
|
158
|
+
|
159
|
+
SetOption('warn', 'no-deprecated-options')
|
160
|
+
|
161
|
+
The current plan is for these warnings to become mandatory
|
162
|
+
(non-suppressible) in release 1.3.0, and for the use of Options
|
163
|
+
and its related functions to generate errors in release 2.0.
|
164
|
+
|
165
|
+
Please note the following important changes since release 0.98.4:
|
166
|
+
|
167
|
+
-- scons.bat NOW RETURNS THE REAL SCONS EXIT STATUS
|
168
|
+
|
169
|
+
The scons.bat script shipped with SCons used to exit with
|
170
|
+
a status of 1 when it detected any failed (non-zero) exit
|
171
|
+
status from the underlying Python execution of SCons itself.
|
172
|
+
The scons.bat script now exits with the actual status
|
173
|
+
returned by SCons.
|
174
|
+
|
175
|
+
-- SCONS NOW WARNS WHEN TRYING TO LINK C++ AND FORTRAN OBJECT FILES
|
176
|
+
|
177
|
+
Some C++ toolchains do not understand Fortran runtimes and create
|
178
|
+
unpredictable executables when linking C++ and Fortran object
|
179
|
+
files together. SCons now issues a warning if you try to link
|
180
|
+
C++ and Fortran object files into the same executable:
|
181
|
+
|
182
|
+
scons: warning: Using $CXX to link Fortran and C++ code together.
|
183
|
+
This may generate a buggy executable if the '/usr/bin/gcc'
|
184
|
+
compiler does not know how to deal with Fortran runtimes.
|
185
|
+
|
186
|
+
The warning may be suppressed with either the --warning=no-link
|
187
|
+
or --warning=no-fortran-cxx-mix command line options, or by
|
188
|
+
adding either of the following lines to a SConscript file:
|
189
|
+
|
190
|
+
SetOption('warn', 'no-link')
|
191
|
+
SetOption('warn', 'no-fortran-cxx-mix')
|
192
|
+
|
193
|
+
Please note the following important changes since release 0.98:
|
194
|
+
|
195
|
+
-- SCONS NO LONGER SETS THE GNU TOOLCHAIN -fPIC FLAG IN $SHCXXFLAGS
|
196
|
+
|
197
|
+
The GNU toolchain support in previous versions of SCons would
|
198
|
+
add the -fPIC flag to the $SHCXXFLAGS construction variable.
|
199
|
+
The -fPIC flag has been now been removed from the default
|
200
|
+
$SHCXXFLAGS setting. Instead, the $SHCXXCOM construction variable
|
201
|
+
(the default SCons command line for compiling shared objects
|
202
|
+
from C++ source files) has been changed to add the $SHCCFLAGS
|
203
|
+
variable, which contains the -fPIC flag.
|
204
|
+
|
205
|
+
This change was made in order to make the behavior of the default
|
206
|
+
C++ compilation line including $SHCCFLAGS consistent with the
|
207
|
+
default C compilation line including $CCFLAGS.
|
208
|
+
|
209
|
+
This change should have no impact on configurations that use
|
210
|
+
the default $SHCXXCOM command line. It may have an impact on
|
211
|
+
configurations that were using the default $SHCXXFLAGS value
|
212
|
+
*without* the $SHCCFLAGS variable to get the -fPIC flag into a
|
213
|
+
custom command line. You can fix these by adding the $SHCCFLAGS
|
214
|
+
to the custom command line.
|
215
|
+
|
216
|
+
Adding $SHCCFLAGS is backwards compatible with older SCons
|
217
|
+
releases, although it might cause the -fPIC flag to be repeated
|
218
|
+
on the command line if you execute it on an older version of
|
219
|
+
SCons that sets -fPIC in both the $SHCCLAFGS and $SHCXXFLAGS
|
220
|
+
variables. Duplicating the -fPIC flag on the g++ command line
|
221
|
+
will not cause any compilation problems, but the change to the
|
222
|
+
command line may cause SCons to rebuild object files.
|
223
|
+
|
224
|
+
-- FORTRAN NOW COMPILES .f FILES WITH gfortran BY DEFAULT
|
225
|
+
|
226
|
+
The Fortran Tool modules have had a major overhaul with the intent
|
227
|
+
of making them work as-is for most configurations. In general,
|
228
|
+
most configurations that use default settings should not see
|
229
|
+
any noticeable difference.
|
230
|
+
|
231
|
+
One configuration that has changed is if you have both a gfortran
|
232
|
+
and g77 compiler installed. In this case, previous versions of
|
233
|
+
SCons would, by default, use g77 by default to compile files with
|
234
|
+
a .f suffix, while SCons 0.98.1 will use the gfortran compiler
|
235
|
+
by default. The old behavior may be preserved by explicitly
|
236
|
+
initializing construction environments with the 'g77' Tool module:
|
237
|
+
|
238
|
+
env = Environment(tools = ['g77', 'default'])
|
239
|
+
|
240
|
+
The above code is backwards compatible to older versions of SCons.
|
241
|
+
|
242
|
+
If you notice any other changes in the behavior of default
|
243
|
+
Fortran support, please let us know so we can document them in
|
244
|
+
these release notes for other users.
|
245
|
+
|
246
|
+
Please note the following important changes since release 0.97.0d20071212:
|
247
|
+
|
248
|
+
-- SUPPORT FOR PYTHON VERSIONS BEFORE 2.2 IS NOW DEPRECATED
|
249
|
+
|
250
|
+
SCons now prints the following warning when it is run by any
|
251
|
+
Python 1.5, 2.0 or 2.1 release or sub-release:
|
252
|
+
|
253
|
+
scons: warning: Support for pre-2.2 Python (VERSION) is deprecated.
|
254
|
+
If this will cause hardship, contact dev@scons.tigris.org.
|
255
|
+
|
256
|
+
You may disable all warnings about deprecated features by adding
|
257
|
+
the option "--warn=no-deprecated" to the command line or to the
|
258
|
+
$SCONSFLAGS environment variable:
|
259
|
+
|
260
|
+
$ scons --warn=no-deprecated
|
261
|
+
|
262
|
+
Using '--warn=no-deprecated' is compatible with earlier versions
|
263
|
+
of SCons.
|
264
|
+
|
265
|
+
You may also, as of this version of SCons, disable all warnings
|
266
|
+
about deprecated features by adding the following to any
|
267
|
+
SConscript file:
|
268
|
+
|
269
|
+
SetOption('warn', 'no-deprecated')
|
270
|
+
|
271
|
+
You may disable only the specific warning about running under
|
272
|
+
a deprecated Python version by adding the following to any
|
273
|
+
SConscript file:
|
274
|
+
|
275
|
+
SetOption('warn', 'no-python-version')
|
276
|
+
|
277
|
+
The warning may also be suppressed on the command line:
|
278
|
+
|
279
|
+
$ scons --warn=no-python-version
|
280
|
+
|
281
|
+
Or by specifying the --warn=no-python-version option in the
|
282
|
+
$SCONSFLAGS environment variable.
|
283
|
+
|
284
|
+
Using SetOption('warn', ...), and the 'no-python-version'
|
285
|
+
command-line option for suppressing this specific warning,
|
286
|
+
are *not* backwards-compatible to earlier versions of SCons.
|
287
|
+
|
288
|
+
-- THE env.Copy() METHOD IS NOW OFFICIALLY DEPRECATED
|
289
|
+
|
290
|
+
The env.Copy() method is now officially deprecated and will
|
291
|
+
be removed in a future release. Using the env.Copy() method
|
292
|
+
now generates the following message:
|
293
|
+
|
294
|
+
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
|
295
|
+
|
296
|
+
You may disable all warnings about deprecated features by adding
|
297
|
+
the option "--warn=no-deprecated" to the command line or to the
|
298
|
+
$SCONSFLAGS environment variable:
|
299
|
+
|
300
|
+
$ scons --warn=no-deprecated
|
301
|
+
|
302
|
+
Using '--warn=no-deprecated' is compatible with earlier versions
|
303
|
+
of SCons.
|
304
|
+
|
305
|
+
You may also, as of this version of SCons, disable all warnings
|
306
|
+
about deprecated features by adding the following to any
|
307
|
+
SConscript file:
|
308
|
+
|
309
|
+
SetOption('warn', 'no-deprecated')
|
310
|
+
|
311
|
+
You may disable only the specific warning about the deprecated
|
312
|
+
env.Copy() method by adding the following to any SConscript
|
313
|
+
file:
|
314
|
+
|
315
|
+
SetOption('warn', 'no-deprecated-copy')
|
316
|
+
|
317
|
+
The warning may also be suppressed on the command line:
|
318
|
+
|
319
|
+
$ scons --warn=no-deprecated-copy
|
320
|
+
|
321
|
+
Or by specifying the --warn=no-deprecated-copy option in the
|
322
|
+
$SCONSFLAGS environment variable.
|
323
|
+
|
324
|
+
Using SetOption('warn', ...), and the 'no-deprecated-copy'
|
325
|
+
command-line option for suppressing this specific warning,
|
326
|
+
are *not* backwards-compatible to earlier versions of SCons.
|
327
|
+
|
328
|
+
-- THE --debug=dtree, --debug=stree AND --debug=tree OPTIONS ARE DEPRECATED
|
329
|
+
|
330
|
+
The --debug=dtree, --debug=stree and --debug=tree methods
|
331
|
+
are now officially deprecated and will be removed in a
|
332
|
+
future release. Using these options now generate a warning
|
333
|
+
message recommending use of the --tree=derived, --tree=all,status
|
334
|
+
and --tree=all options, respectively.
|
335
|
+
|
336
|
+
You may disable these warnings, and all warnings about
|
337
|
+
deprecated features, by adding the option "--warn=no-deprecated"
|
338
|
+
to the command line or to the $SCONSFLAGS environment
|
339
|
+
variable:
|
340
|
+
|
341
|
+
$ scons --warn=no-deprecated
|
342
|
+
|
343
|
+
Using '--warn=no-deprecated' is compatible with earlier versions
|
344
|
+
of SCons.
|
345
|
+
|
346
|
+
-- THE TargetSignatures() AND SourceSignatures() FUNCTIONS ARE DEPRECATED
|
347
|
+
|
348
|
+
The TargetSignatures() and SourceSignatures() functions,
|
349
|
+
and their corresponding env.TargetSignatures() and
|
350
|
+
env.SourceSignatures() methods, are now officially deprecated
|
351
|
+
and will be be removed in a future release. Using ahy of
|
352
|
+
these functions or methods now generates a message
|
353
|
+
similar to the following:
|
354
|
+
|
355
|
+
scons: warning: The env.TargetSignatures() method is deprecated;
|
356
|
+
convert your build to use the env.Decider() method instead.
|
357
|
+
|
358
|
+
You may disable all warnings about deprecated features by adding
|
359
|
+
the option "--warn=no-deprecated" to the command line or to the
|
360
|
+
$SCONSFLAGS environment variable:
|
361
|
+
|
362
|
+
$ scons --warn=no-deprecated
|
363
|
+
|
364
|
+
Using '--warn=no-deprecated' is compatible with earlier versions
|
365
|
+
of SCons.
|
366
|
+
|
367
|
+
You may also, as of this version of SCons, disable all warnings
|
368
|
+
about deprecated features by adding the following to any
|
369
|
+
SConscript file:
|
370
|
+
|
371
|
+
SetOption('warn', 'no-deprecated')
|
372
|
+
|
373
|
+
You may disable only the specific warning about the use of
|
374
|
+
TargetSignatures() or SourceSignatures() by adding the
|
375
|
+
following to any SConscript file:
|
376
|
+
|
377
|
+
SetOption('warn', 'no-deprecated-target-signatures')
|
378
|
+
SetOption('warn', 'no-deprecated-source-signatures')
|
379
|
+
|
380
|
+
The warnings may also be suppressed on the command line:
|
381
|
+
|
382
|
+
$ scons --warn=no-deprecated-target-signatures --warn=no-deprecated-source-signatures
|
383
|
+
|
384
|
+
Or by specifying these options in the $SCONSFLAGS environment
|
385
|
+
variable.
|
386
|
+
|
387
|
+
Using SetOption('warn', ...), or the command-line options
|
388
|
+
for suppressing these warnings, is *not* backwards-compatible
|
389
|
+
to earlier versions of SCons.
|
390
|
+
|
391
|
+
-- File(), Dir() and Entry() NOW RETURN A LIST WHEN THE INPUT IS A SEQUENCE
|
392
|
+
|
393
|
+
Previously, if these methods were passed a list, the list was
|
394
|
+
substituted and stringified, then passed as a single string to
|
395
|
+
create a File/Dir/Entry Node. This rarely if ever worked with
|
396
|
+
more than one element in the list. They now return a list of
|
397
|
+
Nodes when passed a list.
|
398
|
+
|
399
|
+
One case that works differently now is a passing in a
|
400
|
+
single-element sequence; that formerly was stringified
|
401
|
+
(returning its only element) and then a single Node would be
|
402
|
+
returned. Now a single-element list containing the Node will
|
403
|
+
be returned, for consistency.
|
404
|
+
|
405
|
+
-- THE env.subst() METHOD NOW RETURNS A LIST WHEN THE INPUT IS A SEQUENCE
|
406
|
+
|
407
|
+
The env.subst() method now returns a list with the elements
|
408
|
+
expanded when given a list as input. Previously, the env.subst()
|
409
|
+
method would always turn its result into a string.
|
410
|
+
|
411
|
+
This behavior was changed because it interfered with being able
|
412
|
+
to include things like lists within the expansion of variables
|
413
|
+
like $CPPPATH and then have SCons understand that the elements
|
414
|
+
of the "internal" lists still needed to be treated separately.
|
415
|
+
This would cause a $CPPPATH list like ['subdir1', 'subdir']
|
416
|
+
to show up in a command line as "-Isubdir1 subdir".
|
417
|
+
|
418
|
+
-- THE Jar() BUILDER NOW USES THE Java() BUILDER CLASSDIR BY DEFAULT
|
419
|
+
|
420
|
+
By default, the Jar() Builder will now use the class directory
|
421
|
+
specified when the Java() builder is called. So the following
|
422
|
+
input:
|
423
|
+
|
424
|
+
classes = env.Java('classes', 'src')
|
425
|
+
env.Jar('out.jar', classes)
|
426
|
+
|
427
|
+
Will cause "-C classes" to be passed the "jar" command invocation,
|
428
|
+
and the Java classes in the "out.jar" file will not be prefixed
|
429
|
+
"classes/".
|
430
|
+
|
431
|
+
Explicitly setting the $JARCHDIR variable overrides this default
|
432
|
+
behavior. The old behavior of not passing any -C option to the
|
433
|
+
"jar" command can be preserved by explicitly setting $JARCHDIR
|
434
|
+
to None:
|
435
|
+
|
436
|
+
env = Environment(JARCHDIR = None)
|
437
|
+
|
438
|
+
The above setting is compatible with older versions of SCons.
|
439
|
+
|
440
|
+
Please note the following important changes since release 0.97.0d20070918:
|
441
|
+
|
442
|
+
-- SCons REDEFINES PYTHON open() AND file() ON Windows TO NOT PASS
|
443
|
+
ON OPEN FILE HANDLES TO CREATED PROCESSES
|
444
|
+
|
445
|
+
On Windows systems, SCons now redefines the Python open()
|
446
|
+
and file() functions so that, if the Python Win32 extensions
|
447
|
+
are available, the file handles for any opened files will *not*
|
448
|
+
be inherited by subprocesses, such as the spawned compilers and
|
449
|
+
other tools invoked to build the software.
|
450
|
+
|
451
|
+
This prevents certain race conditions where a file handle for
|
452
|
+
a file opened by Python (either in a Python function action,
|
453
|
+
or directly in a SConscript file) could be inherited and help
|
454
|
+
open by a subprocess, interfering with the ability of other
|
455
|
+
processes to create or modify the file.
|
456
|
+
|
457
|
+
In general, this should not cause problems for the vast majority
|
458
|
+
of configurations. The only time this would be a problem would be
|
459
|
+
in the unlikely event that a process spawned by SCons specifically
|
460
|
+
*expected* to use an inherited file handle opened by SCons.
|
461
|
+
|
462
|
+
If the Python Win32 extensions are not installed or are an
|
463
|
+
earlier version that does not have the ability to disable file
|
464
|
+
handle inheritance, SCons will print a warning message when the
|
465
|
+
-j option is used. The warning message may be suppressed by
|
466
|
+
specifying --warn=no-parallel-support.
|
467
|
+
|
468
|
+
Please note the following important changes since release 0.97.0d20070809:
|
469
|
+
|
470
|
+
-- "content" SIGNATURES ARE NOW THE DEFAULT BEHAVIOR
|
471
|
+
|
472
|
+
The default behavior of SCons is now to use the MD5 checksum of
|
473
|
+
all file contents to decide if any files have changed and should
|
474
|
+
cause rebuilds of their source files. This means that SCons may
|
475
|
+
decide not to rebuild "downstream" targets if a a given input
|
476
|
+
file is rebuilt to the exact same contents as the last time.
|
477
|
+
The old behavior may preserved by explicity specifying:
|
478
|
+
|
479
|
+
TargetSignatures("build")
|
480
|
+
|
481
|
+
In any of your SConscript files.
|
482
|
+
|
483
|
+
-- TARGETS NOW IMPLICITLY DEPEND ON THE COMMAND THAT BUILDS THEM
|
484
|
+
|
485
|
+
For all targets built by calling external commands (such as a
|
486
|
+
compiler or other utility), SCons now adds an implicit dependency
|
487
|
+
on the command(s) used to build the target.
|
488
|
+
|
489
|
+
This will cause rebuilds of all targets built by external commands
|
490
|
+
when running SCons in a tree built by previous version of SCons,
|
491
|
+
in order to update the recorded signatures.
|
492
|
+
|
493
|
+
The old behavior of not having targets depend on the external
|
494
|
+
commands that build them can be preserved by setting a new
|
495
|
+
$IMPLICIT_COMMAND_DEPENDENCIES construction variable to a
|
496
|
+
non-True value:
|
497
|
+
|
498
|
+
env = Environment(IMPLICIT_COMMAND_DEPENDENCIES = 0)
|
499
|
+
|
500
|
+
or by adding Ignore() calls for any targets where the behavior
|
501
|
+
is desired:
|
502
|
+
|
503
|
+
Ignore('/usr/bin/gcc', 'foo.o')
|
504
|
+
|
505
|
+
Both of these settings are compatible with older versions
|
506
|
+
of SCons.
|
507
|
+
|
508
|
+
-- CHANGING SourceSignature() MAY CAUSE "UNECESSARY" REBUILDS
|
509
|
+
|
510
|
+
If you change the SourceSignature() value from 'timestamp' to
|
511
|
+
'MD5', SCons will now rebuild targets that were already up-to-date
|
512
|
+
with respect to their source files.
|
513
|
+
|
514
|
+
This will happen because SCons did not record the content
|
515
|
+
signatures of the input source files when the target was last
|
516
|
+
built--it only recorded the timestamps--and it must record them
|
517
|
+
to make sure the signature information is correct. However,
|
518
|
+
the content of source files may have changed since the last
|
519
|
+
timestamp build was performed, and SCons would not have any way to
|
520
|
+
verify that. (It would have had to open up the file and record
|
521
|
+
a content signature, which is one of the things you're trying to
|
522
|
+
avoid by specifying use of timestamps....) So in order to make
|
523
|
+
sure the built targets reflect the contents of the source files,
|
524
|
+
the targets must be rebuilt.
|
525
|
+
|
526
|
+
Change the SourceSignature() value from 'MD5' to 'timestamp'
|
527
|
+
should correctly not rebuild target files, because the timestamp
|
528
|
+
of the files is always recorded.
|
529
|
+
|
530
|
+
In previous versions of SCons, changing the SourceSignature()
|
531
|
+
value would lead to unpredictable behavior, usually including
|
532
|
+
rebuilding targets.
|
533
|
+
|
534
|
+
-- THE Return() FUNCTION NOW ACTUALLY RETURNS IMMEDIATELY
|
535
|
+
|
536
|
+
The Return() function now immediately stops processing the
|
537
|
+
SConscript file in which it appears and returns the values of the
|
538
|
+
variables named in its arguments. It used to continue processing
|
539
|
+
the rest of the SConscript file, and then return the values of the
|
540
|
+
specified variables at the point the Return() function was called.
|
541
|
+
|
542
|
+
The old behavior may be requested by adding a "stop=False"
|
543
|
+
keyword argument to the Return() call:
|
544
|
+
|
545
|
+
Return('value', stop=False)
|
546
|
+
|
547
|
+
The "stop=" keyword argument is *not* compatible with SCons
|
548
|
+
versions 0.97.0d20070809 or earlier.
|
549
|
+
|
550
|
+
Please note the following important changes since release 0.97:
|
551
|
+
|
552
|
+
-- env.CacheDir() NOW ONLY AFFECTS CONSTRUCTION ENVIRONMENT TARGETS
|
553
|
+
|
554
|
+
The env.CacheDir() method now only causes derived files to be
|
555
|
+
retrieved from the specified cache directory for targets built
|
556
|
+
with the specified specified construction environment ("env").
|
557
|
+
|
558
|
+
Previously, any call to env.CacheDir() or CacheDir() would modify
|
559
|
+
a global setting and cause all built targets to be retrieved
|
560
|
+
from the specified cache directory. This behavior was changed so
|
561
|
+
that env.CacheDir() would be consistent with other construction
|
562
|
+
environment methods, which only affect targets built with the
|
563
|
+
specified construction environment.
|
564
|
+
|
565
|
+
The old behavior of changing the global behavior may be preserved
|
566
|
+
by changing any env.CacheDir() calls to:
|
567
|
+
|
568
|
+
CacheDir('/path/to/cache/directory')
|
569
|
+
|
570
|
+
The above change is backwards-compatible and works in all earlier
|
571
|
+
versions of SCons that support CacheDir().
|
572
|
+
|
573
|
+
-- INTERPRETATION OF SUFFIX-LESS SOURCE ARGUMENTS HAS CHANGED
|
574
|
+
|
575
|
+
The interpretation of source arguments (files) without suffixes
|
576
|
+
has changed in one specific configuration.
|
577
|
+
|
578
|
+
Previously, if a Builder had a src_suffix specified (indicating
|
579
|
+
that source files without suffixes should have that suffix
|
580
|
+
appended), the suffix would only be applied to suffix-less source
|
581
|
+
arguments if the Builder did *not* have one or more attached
|
582
|
+
source Builders (that is, the Builder was not a "multi-stage"
|
583
|
+
Builder). So in the following configuration:
|
584
|
+
|
585
|
+
build_foo = Builder(src_suffix = '.foo')
|
586
|
+
build_bar = Builder(src_suffix = '.bar',
|
587
|
+
src_builder = build_bar)
|
588
|
+
|
589
|
+
env = Environment(BUILDERS = {
|
590
|
+
'Foo' : build_foo,
|
591
|
+
'Boo' : build_bar,
|
592
|
+
})
|
593
|
+
|
594
|
+
env.Foo('tgt1', 'src1')
|
595
|
+
env.Bar('tgt2', 'src2')
|
596
|
+
|
597
|
+
SCons would have expected to find a source file 'src1.foo' for the
|
598
|
+
env.Foo() call, but a source file 'src2' for the env.Bar() call.
|
599
|
+
|
600
|
+
This behavior has now been made consistent, so that the two
|
601
|
+
above calls would expect source files named 'src1.foo' and
|
602
|
+
'src2.bar', respectively.
|
603
|
+
|
604
|
+
Note that, if genuinely desired, the old behavior of building
|
605
|
+
from a source file without a suffix at all (when the Builder has
|
606
|
+
a src_suffix *and* a src_builder) can be specified explicity by
|
607
|
+
turning the string into a File Node directly:
|
608
|
+
|
609
|
+
env.Bar('tgt2', File('src2'))
|
610
|
+
|
611
|
+
The above use of File() is backwards-compatible and will work
|
612
|
+
on earlier versions of SCons.
|
613
|
+
|
614
|
+
-- THE DEFAULT EXECUTION PATH FOR Solaris HAS CHANGED
|
615
|
+
|
616
|
+
On Solaris systems, SCons now adds the "/opt/SUNWspro/bin"
|
617
|
+
directory to the default execution $PATH variable before the
|
618
|
+
"/usr/ccs/bin" directory. This was done to reflect the fact
|
619
|
+
that /opt/SUNWspro/ is the default for SUN tools, but it may
|
620
|
+
cause a different compiler to be used if you have compilers
|
621
|
+
installed in both directories.
|
622
|
+
|
623
|
+
-- GENERATED config.h FILES NOW SAY "#define HAVE_{FEATURE} 1"
|
624
|
+
|
625
|
+
When generating a "config.h" file, SCons now defines values that
|
626
|
+
record the existence of a feature with a "1" value:
|
627
|
+
|
628
|
+
#define HAVE_FEATURE 1
|
629
|
+
|
630
|
+
Instead of printing the line without a "1", as it used to:
|
631
|
+
|
632
|
+
#define HAVE_FEATURE
|
633
|
+
|
634
|
+
This should not cause any problems in the normal use of "#ifdef
|
635
|
+
HAVE_{FEATURE}" statements interpreted by a C preprocessor, but
|
636
|
+
might cause a compatibility issue if a script or other utility
|
637
|
+
looks for an exact match of the previous text.
|
638
|
+
|
639
|
+
Please note the following planned, future changes:
|
640
|
+
|
641
|
+
-- THE Options OBJECT AND RELATED FUNCTIONS WILL BE DEPRECATED
|
642
|
+
|
643
|
+
The Options object is being replaced by a new Variables
|
644
|
+
object, which uses a new Variables.AddVariable() method
|
645
|
+
where the previous interface used Options.AddOptions().
|
646
|
+
|
647
|
+
Similarly, the following utility functions are being replaced
|
648
|
+
by the following similarly-named functions:
|
649
|
+
|
650
|
+
BoolOption() BoolVariable()
|
651
|
+
EnumOption() EnumVariable()
|
652
|
+
ListOption() ListVariable()
|
653
|
+
PackageOption() PackageVariable()
|
654
|
+
PathOption() PathVariable()
|
655
|
+
|
656
|
+
And also related, the options= keyword argument when creating
|
657
|
+
construction environments with the Environment() functions is
|
658
|
+
being replaced with a variables= keyword argument.
|
659
|
+
|
660
|
+
In some future release a deprecation warning will be added to
|
661
|
+
existing uses of the Options object, its methods, the above
|
662
|
+
utility functions, and the options= keyword argument of the
|
663
|
+
Environment() function. At some point after the deprecation
|
664
|
+
warning is added, the Options object, related functions and
|
665
|
+
options= keyword argument will be removed entirely.
|
666
|
+
|
667
|
+
You can prepare for this by changing all your uses of the Options
|
668
|
+
object and related functions to the Variables object and the new
|
669
|
+
function names, and changing any uses of the options= keyword
|
670
|
+
argument to variables=.
|
671
|
+
|
672
|
+
NOTE: CONVERTING TO USING THE NEW Variables OBJECT OR THE
|
673
|
+
RELATED *Variable() FUNCTIONS, OR USING THE NEW variable=
|
674
|
+
KEYWORD ARGUMENT, IS NOT BACKWARDS COMPATIBLE TO VERSIONS OF
|
675
|
+
SCons BEFORE 0.98. YOUR SConscript FILES WILL NOT WORK ON
|
676
|
+
EARLIER VERSIONS OF SCons AFTER MAKING THIS CHANGE.
|
677
|
+
|
678
|
+
If you change SConscript files in software that you make available
|
679
|
+
for download or otherwise distribute, other users may try to
|
680
|
+
build your software with an earlier version of SCons that does
|
681
|
+
not have the Variables object or related *Variable() functions.
|
682
|
+
We recommend preparing for this in one of two ways:
|
683
|
+
|
684
|
+
-- Make your SConscript files backwards-compatible by
|
685
|
+
modifying your calls with Python try:-except: blocks
|
686
|
+
as follows:
|
687
|
+
|
688
|
+
try:
|
689
|
+
vars = Variables('custom.py', ARGUMENTS)
|
690
|
+
vars.AddVariables(
|
691
|
+
BoolVariable('WARNINGS', 'cmopile with -Wall', 1),
|
692
|
+
EnumVariable('DEBUG', 'debug version', 'no'
|
693
|
+
allowed_values=('yes', 'no', 'full'),
|
694
|
+
map={}, ignorecase=0),
|
695
|
+
ListVariable('SHAREDLIBS',
|
696
|
+
'libraries to build shared',
|
697
|
+
'all',
|
698
|
+
names = list_of_libs),
|
699
|
+
PackageVariable('X11',
|
700
|
+
'use X11 from here',
|
701
|
+
'/usr/bin/X11'),
|
702
|
+
PathVariable('QTDIR', 'root of Qt', qtdir),
|
703
|
+
)
|
704
|
+
except NameError:
|
705
|
+
vars = Options('custom.py', ARGUMENTS)
|
706
|
+
vars.AddOptions(
|
707
|
+
BoolOption('WARNINGS', 'cmopile with -Wall', 1),
|
708
|
+
EnumOption('DEBUG', 'debug version', 'no'
|
709
|
+
allowed_values=('yes', 'no', 'full'),
|
710
|
+
map={}, ignorecase=0),
|
711
|
+
ListOption('SHAREDLIBS',
|
712
|
+
'libraries to build shared',
|
713
|
+
'all',
|
714
|
+
names = list_of_libs),
|
715
|
+
PackageOption('X11',
|
716
|
+
'use X11 from here',
|
717
|
+
'/usr/bin/X11'),
|
718
|
+
PathOption('QTDIR', 'root of Qt', qtdir),
|
719
|
+
)
|
720
|
+
|
721
|
+
Additionally, you can check for availability of the new
|
722
|
+
variables= keyword argument as follows:
|
723
|
+
|
724
|
+
try:
|
725
|
+
env = Environment(variables=vars)
|
726
|
+
except TypeError:
|
727
|
+
env = Environment(options=vars)
|
728
|
+
|
729
|
+
(Note that we plan to maintain the existing Options object
|
730
|
+
name for some time, to ensure backwards compatibility,
|
731
|
+
so in practice it may be easier to just continue to use
|
732
|
+
the old name until you're reasonably sure you won't have
|
733
|
+
people trying to build your software with versions of
|
734
|
+
SCons earlier than 0.98.1.)
|
735
|
+
|
736
|
+
-- Use the EnsureSConsVersion() function to provide a
|
737
|
+
descriptive error message if your SConscript files
|
738
|
+
are executed by an earlier version of SCons:
|
739
|
+
|
740
|
+
EnsureSConsVersion(0, 98, 1)
|
741
|
+
|
742
|
+
-- THE BuildDir() METHOD AND FUNCTION WILL BE DEPRECATED
|
743
|
+
|
744
|
+
The env.BuildDir() method and BuildDir() function are being
|
745
|
+
replaced by the new env.VariantDir() method and VariantDir()
|
746
|
+
function.
|
747
|
+
|
748
|
+
In some future release a deprecation warning will be added
|
749
|
+
to existing uses of the env.BuildDir() method and BuildDir()
|
750
|
+
function. At some point after the deprecation warning, the
|
751
|
+
env.Builder() method and BuildDir() function will either
|
752
|
+
be removed entirely or have their behavior changed.
|
753
|
+
|
754
|
+
You can prepare for this by changing all your uses of the
|
755
|
+
env.BuildDir() method to env.VariantDir() and uses of the
|
756
|
+
global BuildDir() function to VariantDir(). If you use a
|
757
|
+
named keyword argument of "build_dir" when calling
|
758
|
+
env.BuildDir() or BuildDir():
|
759
|
+
|
760
|
+
env.BuildDir(build_dir='opt', src_dir='src')
|
761
|
+
|
762
|
+
The keyword must be changed to "variant_dir":
|
763
|
+
|
764
|
+
env.VariantDir(variant_dir='opt', src_dir='src')
|
765
|
+
|
766
|
+
NOTE: CHANGING USES OF env.BuildDir() AND BuildDir() to
|
767
|
+
env.VariantDir() AND VariantDir() IS NOT BACKWARDS COMPATIBLE
|
768
|
+
TO VERSIONS OF SCons BEFORE 0.98. YOUR SConscript FILES
|
769
|
+
WILL NOT WORK ON EARLIER VERSIONS OF SCons AFTER MAKING
|
770
|
+
THIS CHANGE.
|
771
|
+
|
772
|
+
If you change SConscript files in software that you make
|
773
|
+
available for download or otherwise distribute, other users
|
774
|
+
may try to build your software with an earlier version of
|
775
|
+
SCons that does not have the env.VariantDir() method or
|
776
|
+
VariantDir() fnction. We recommend preparing for this in
|
777
|
+
one of two ways:
|
778
|
+
|
779
|
+
-- Make your SConscript files backwards-compatible by
|
780
|
+
including the following code near the beginning of your
|
781
|
+
top-level SConstruct file:
|
782
|
+
|
783
|
+
import SCons.Environment
|
784
|
+
try:
|
785
|
+
SCons.Environment.Environment.VariantDir
|
786
|
+
except AttributeError:
|
787
|
+
SCons.Environment.Environment.VariantDir = \
|
788
|
+
SCons.Environment.Environment.BuildDir
|
789
|
+
|
790
|
+
-- Use the EnsureSConsVersion() function to provide a
|
791
|
+
descriptive error message if your SConscript files
|
792
|
+
are executed by an earlier version of SCons:
|
793
|
+
|
794
|
+
EnsureSConsVersion(0, 98)
|
795
|
+
|
796
|
+
-- THE SConscript() "build_dir" KEYWORD ARGUMENT WILL BE DEPRECATED
|
797
|
+
|
798
|
+
The "build_dir" keyword argument of the SConscript function
|
799
|
+
and env.SConscript() method are being replaced by a new
|
800
|
+
"variant_dir" keyword argument.
|
801
|
+
|
802
|
+
In some future release a deprecation warning will be added
|
803
|
+
to existing uses of the SConscript()/env.SConscript()
|
804
|
+
"build_dir" keyword argument. At some point after the
|
805
|
+
deprecation warning, support for this keyword argument will
|
806
|
+
be removed entirely.
|
807
|
+
|
808
|
+
You can prepare for this by changing all your uses of the
|
809
|
+
SConscript()/env.SConscript() 'build_dir" keyword argument:
|
810
|
+
|
811
|
+
SConscript('src/SConscript', build_dir='opt')
|
812
|
+
|
813
|
+
To use the new "variant_dir" keyword argument:
|
814
|
+
|
815
|
+
SConscript('src/SConscript', variant_dir='opt')
|
816
|
+
|
817
|
+
NOTE: USING THE NEW "variant_dir" KEYWORD IS NOT BACKWARDS
|
818
|
+
COMPATIBLE TO VERSIONS OF SCons BEFORE 0.98. YOUR SConscript
|
819
|
+
FILES WILL NOT WORK ON EARLIER VERSIONS OF SCons AFTER
|
820
|
+
MAKING THIS CHANGE.
|
821
|
+
|
822
|
+
If you change SConscript files in software that you make
|
823
|
+
available for download or otherwise distribute, other users
|
824
|
+
may try to build your software with an earlier version of
|
825
|
+
SCons that does not support the "variant_dir" keyword.
|
826
|
+
|
827
|
+
If you can insist that users use a recent version of SCons
|
828
|
+
that supports "variant_dir", we recommend using the
|
829
|
+
EnsureSConsVersion() function to provide a descriptive error
|
830
|
+
message if your SConscript files are executed by an earlier
|
831
|
+
version of SCons:
|
832
|
+
|
833
|
+
EnsureSConsVersion(0, 98)
|
834
|
+
|
835
|
+
If you want to make sure that your SConscript files will
|
836
|
+
still work with earlier versions of SCons, then your best
|
837
|
+
bet is to continue to use the "build_dir" keyword until the
|
838
|
+
support is removed (which, in all likelihood, won't happen
|
839
|
+
for quite some time).
|
840
|
+
|
841
|
+
-- SCANNER NAMES HAVE BEEN DEPRECATED AND WILL BE REMOVED
|
842
|
+
|
843
|
+
Several internal variable names in SCons.Defaults for various
|
844
|
+
pre-made default Scanner objects have been deprecated and will
|
845
|
+
be removed in a future revision. In their place are several new
|
846
|
+
global variable names that are now part of the publicly-supported
|
847
|
+
interface:
|
848
|
+
|
849
|
+
NEW NAME DEPRECATED NAME
|
850
|
+
-------- ----------------------------
|
851
|
+
CScanner SCons.Defaults.CScan
|
852
|
+
DSCanner SCons.Defaults.DScan
|
853
|
+
SourceFileScanner SCons.Defaults.ObjSourceScan
|
854
|
+
ProgramScanner SCons.Defaults.ProgScan
|
855
|
+
|
856
|
+
Of these, only ObjSourceScan was probably used at all, to add
|
857
|
+
new mappings of file suffixes to other scanners for use by the
|
858
|
+
Object() Builder. This should now be done as follows:
|
859
|
+
|
860
|
+
SourceFileScanner.add_scanner('.x', XScanner)
|
861
|
+
|
862
|
+
-- THE env.Copy() METHOD WILL CHANGE OR GO AWAY ENTIRELY
|
863
|
+
|
864
|
+
The env.Copy() method (to make a copy of a construction
|
865
|
+
environment) is being replaced by the env.Clone() method.
|
866
|
+
|
867
|
+
As of SCons 0.98, a deprecation warning has been added to
|
868
|
+
current uses of the env.Copy() method. At some point in
|
869
|
+
the future, the env.Copy() method will either be removed
|
870
|
+
entirely or have its behavior changed.
|
871
|
+
|
872
|
+
You can prepare for this by changing all your uses of env.Copy()
|
873
|
+
to env.Clone(), which has the exact same calling arguments.
|
874
|
+
|
875
|
+
NOTE: CHANGING USES OF env.Copy() TO env.Clone() WILL MAKE
|
876
|
+
YOUR SConscript FILES NOT WORK ON VERSIONS OF SCons BEFORE
|
877
|
+
0.96.93.
|
878
|
+
|
879
|
+
If you change SConscript files in software that you make
|
880
|
+
available for download or otherwise distribute, other users
|
881
|
+
may try to build your software with an earlier version of
|
882
|
+
SCons that does not have the env.Clone() method. We recommend
|
883
|
+
preparing for this in one of two ways:
|
884
|
+
|
885
|
+
-- Make your SConscript files backwards-compatible by
|
886
|
+
including the following code near the beginning of your
|
887
|
+
top-level SConstruct file:
|
888
|
+
|
889
|
+
import SCons.Environment
|
890
|
+
try:
|
891
|
+
SCons.Environment.Environment.Clone
|
892
|
+
except AttributeError:
|
893
|
+
SCons.Environment.Environment.Clone = \
|
894
|
+
SCons.Environment.Environment.Copy
|
895
|
+
|
896
|
+
-- Use the EnsureSConsVersion() function to provide a
|
897
|
+
descriptive error message if your SConscript files
|
898
|
+
are executed by an earlier version of SCons:
|
899
|
+
|
900
|
+
EnsureSConsVersion(0, 96, 93)
|
901
|
+
|
902
|
+
-- THE CheckLib Configure TEST WILL CHANGE BEHAVIOR
|
903
|
+
|
904
|
+
The CheckLib() Configure test appends the lib(s) to the
|
905
|
+
Environment's LIBS list in 1.3 and earlier. In 1.3 there is a
|
906
|
+
new CheckLib argument, append, which defaults to True to
|
907
|
+
preserve the old behavior. In a future release, append will
|
908
|
+
be changed to default to False, to conform with autoconf and
|
909
|
+
user expectations, since it is usually used to build up
|
910
|
+
library lists in a right-to-left way.
|
911
|
+
|
912
|
+
|
913
|
+
|
914
|
+
SCons is developed with an extensive regression test suite, and a
|
915
|
+
rigorous development methodology for continually improving that suite.
|
916
|
+
Because of this, SCons is of sufficient quality that you can use it
|
917
|
+
for real work.
|
918
|
+
|
919
|
+
The interfaces in release 1.0 will *not* be knowingly changed in
|
920
|
+
any new, future 1.x release. If an interface change should ever
|
921
|
+
become necessary due to extraordinary circumstances, the change
|
922
|
+
and an appropriate transition strategy will be documented in these
|
923
|
+
RELEASE notes.
|
924
|
+
|
925
|
+
As you use SCons, please heed the following:
|
926
|
+
|
927
|
+
- Please report any bugs or other problems that you find to our bug
|
928
|
+
tracker at our SourceForge project page:
|
929
|
+
|
930
|
+
http://sourceforge.net/tracker/?func=add&group_id=30337&atid=398971
|
931
|
+
|
932
|
+
We have a reliable bug-fixing methodology already in place and
|
933
|
+
strive to respond to problems relatively quickly.
|
934
|
+
|
935
|
+
- Documentation is spottier than we'd like. You may need to dive
|
936
|
+
into the source code to figure out how to do something. Asking
|
937
|
+
questions on the scons-users mailing list is also welcome. We
|
938
|
+
will be addressing the documentation in upcoming releases, but
|
939
|
+
would be more than glad to have your assistance in correcting this
|
940
|
+
problem... :-)
|
941
|
+
|
942
|
+
- The "SCons Design" documentation on the SCons web site is very
|
943
|
+
out of date, as we made significant changes to portions of the
|
944
|
+
interface as we figured out what worked and what didn't during the
|
945
|
+
extensive beta implementation. The "SCons Design" document should
|
946
|
+
be used only for historical purposes, or for just an extremely
|
947
|
+
general understanding of SCons' architectural goals.
|
948
|
+
|
949
|
+
- There may be performance issues. Improving SCons performance
|
950
|
+
is an ongoing priority. If you still find the performance
|
951
|
+
unacceptable, we would very much like to hear from you and learn
|
952
|
+
more about your configuration so we can optimize the right things.
|
953
|
+
|
954
|
+
- Error messages don't always exist where they'd be helpful.
|
955
|
+
Please let us know about any errors you ran into that would
|
956
|
+
have benefitted from a (more) descriptive message.
|
957
|
+
|
958
|
+
KNOWN PROBLEMS IN THIS RELEASE:
|
959
|
+
|
960
|
+
For a complete list of known problems, consult the SCons Issue Tracker
|
961
|
+
at tigris.org:
|
962
|
+
|
963
|
+
http://scons.tigris.org/project_issues.html
|
964
|
+
|
965
|
+
- Support for parallel builds (-j) does not work on WIN32 systems
|
966
|
+
prior to *official* Python release 2.2 (not 2.2 pre-releases).
|
967
|
+
|
968
|
+
Prior to Python 2.2, there is a bug in Python's Win32
|
969
|
+
implementation such that when a thread spawns an external command,
|
970
|
+
it blocks all threads from running. This breaks the SCons
|
971
|
+
multithreading architecture used to support -j builds.
|
972
|
+
|
973
|
+
We have included a patch file, os_spawnv_fix.diff, that you can
|
974
|
+
use if you you want to fix your version of Python to support
|
975
|
+
parallel builds in SCons.
|
976
|
+
|
977
|
+
- Again, the "SCons Design" documentation on the SCons web site is
|
978
|
+
out of date. Take what you read there with a grain of salt.
|
979
|
+
|
980
|
+
- On Win32 systems, you must put a space between the redirection
|
981
|
+
characters < and >, and the specified files (or construction
|
982
|
+
variable expansions):
|
983
|
+
|
984
|
+
command < $SOURCE > $TARGET
|
985
|
+
|
986
|
+
If you don't supply a space (for example, "<$SOURCE"), SCons will
|
987
|
+
not recognize the redirection.
|
988
|
+
|
989
|
+
- MSVC .res files are not rebuilt when icons change.
|
990
|
+
|
991
|
+
- The -c option does not clean up .sconsign files or directories
|
992
|
+
created as part of the build, and also does not clean up
|
993
|
+
SideEffect files (for example, Visual Studio .pdb files).
|
994
|
+
|
995
|
+
- When using multiple Repositories, changing the name of an include
|
996
|
+
file can cause an old version of the file to be used.
|
997
|
+
|
998
|
+
- There is currently no way to force use of a relative path (../*)
|
999
|
+
for directories outside the top-level SConstruct file.
|
1000
|
+
|
1001
|
+
- The Jar() Builder will, on its second or subsequent invocation,
|
1002
|
+
package up the .sconsign files that SCons uses to track signatures.
|
1003
|
+
You can work around this by using the SConsignFile() function
|
1004
|
+
to collect all of the .sconsign information into a single file
|
1005
|
+
outside of the directory being packaged by Jar().
|
1006
|
+
|
1007
|
+
- SCons does not currently have a way to detect that an intermediate
|
1008
|
+
file has been corrupted from outside and should be rebuilt.
|
1009
|
+
|
1010
|
+
- Unicode characters in path names do not work in all circumstances.
|
1011
|
+
|
1012
|
+
- SCons does not currently automatically check out SConstruct or
|
1013
|
+
SConscript files from SCCS, RCS or BitKeeper.
|
1014
|
+
|
1015
|
+
- No support yet for the following planned command-line options:
|
1016
|
+
|
1017
|
+
-d -e -l --list-actions --list-derived --list-where
|
1018
|
+
-o --override -p -r -R -w --write-filenames
|
1019
|
+
-W --warn-undefined-variables
|
1020
|
+
|
1021
|
+
|
1022
|
+
|
1023
|
+
Thank you for your interest, and please let us know how we can help
|
1024
|
+
improve SCons for your needs.
|
1025
|
+
|
1026
|
+
Steven Knight
|
1027
|
+
knight at baldmt dot com
|
1028
|
+
http://www.baldmt.com/~knight/
|
1029
|
+
|
1030
|
+
With plenty of help from the SCons Development team:
|
1031
|
+
Chad Austin
|
1032
|
+
Charles Crain
|
1033
|
+
Bill Deegan
|
1034
|
+
Steve Leblanc
|
1035
|
+
Greg Noel
|
1036
|
+
Gary Oberbrunner
|
1037
|
+
Anthony Roach
|
1038
|
+
Greg Spencer
|
1039
|
+
Christoph Wiedemann
|
1040
|
+
|