Commit Graph

  • 7c2de26d1b Fix doc for classes. Steven Watanabe 2018-01-18 15:53:59 -0700
  • 00c540cbf0 Only print specific docs for args that are documented. Steven Watanabe 2018-01-18 12:38:41 -0700
  • fe432547dc Parse multiline comments. Steven Watanabe 2018-01-18 11:31:44 -0700
  • ac8ba7d5e6 Make doc parsing resilient against different line endings. Steven Watanabe 2018-01-18 10:34:04 -0700
  • 3d5f4f4710 Fix return type of dummy function. Steven Watanabe 2018-01-18 08:41:47 -0700
  • 358dd78eea Add a new rule check-has-flag, for detecting supported compiler arguments. Steven Watanabe 2018-01-17 20:30:38 -0700
  • 3edd6e36a0 FILE_OPEN should take a native path. Steven Watanabe 2018-01-17 16:57:51 -0700
  • d1f939a1e2 It shouldn't be necessary to import build-hooks into the global module. Steven Watanabe 2018-01-17 15:25:28 -0700
  • 8962fb490c Fix implicit-dependency when a single main target produces multiple types that are usable as implicit-dependencies by different actions. Steven Watanabe 2018-01-17 14:36:16 -0700
  • 6d2849534d When we see non-free usage requirements, issue a warning and ignore them. They don't actually work and are likely to break randomly, but several libraries use them anyway. Steven Watanabe 2018-01-17 10:10:59 -0700
  • 5ad92cd76f Use os.environ instead of modules.peek to handle paths with spaces. Steven Watanabe 2018-01-16 17:51:12 -0700
  • 9f481220c1 Allow named parameters in main target rules. Only implemented for the builtin type-based rules and testing rules. Steven Watanabe 2018-01-16 15:39:59 -0700
  • ebffaa1397 Avoid another conflict with python. Closes #284. Steven Watanabe 2018-01-16 13:59:52 -0700
  • 3f4db07187 Merge remote-tracking branch 'rdoeffinger/zstd' into develop Steven Watanabe 2018-01-16 12:11:14 -0700
  • c4888bee96 Add doc comment for lzma initialization. Steven Watanabe 2018-01-16 11:39:44 -0700
  • eb06ae1183 Merge remote-tracking branches 'rdoeffinger/typo' and 'rdoeffinger/lzma-test' into develop Steven Watanabe 2018-01-16 09:54:30 -0700
  • 01d7660ade Mark all targets produced by the same action as FAIL_EXPECTED. The engine gets really confused for link-fail with msvc/debug otherwise. Steven Watanabe 2018-01-16 08:08:01 -0700
  • 3b6a24e1ec Update docs up to develop commit f3133e9. Rene Rivera 2018-01-15 22:06:24 -0600
  • b7046cc5f2 We don't actually care about the import lib or .exp files. Steven Watanabe 2018-01-15 16:54:45 -0700
  • 0b2643eb41 Only consider features that are directly relevant when merging virtual targets. Steven Watanabe 2018-01-15 15:37:33 -0700
  • f4989237dc Add test for lzma.jam. Reimar Döffinger 2018-01-15 19:36:40 +0100
  • 884f5c2b7c Add zstd.jam file. Reimar Döffinger 2018-01-13 18:59:30 +0100
  • 5adf3fb009 Fix typo in comment in lzma.jam Reimar Döffinger 2018-01-15 19:20:58 +0100
  • a4c4b7dae8 Add in hello example doc. Rene Rivera 2018-01-15 11:17:19 -0600
  • 646ffd20f1 Don't include the footer. Rene Rivera 2018-01-15 10:58:07 -0600
  • 0370c83116 Squashed commit of the following: Rene Rivera 2018-01-15 10:36:37 -0600
  • d42b4472cc Tweak TOC, and fix syntax error. Rene Rivera 2018-01-14 20:12:14 -0600
  • da4c254863 Complete initial set of reformatted docs complete. Rene Rivera 2018-01-14 16:01:54 -0600
  • f5b5cace60 linking-generator and archive-generator always consider <link> to be relevant. Steven Watanabe 2018-01-13 16:25:00 -0700
  • 94d2cfcdb7 Rename zlib.py to avoid conflict with the builtin zlib module in python 2.7.14. Steven Watanabe 2018-01-13 14:43:54 -0700
  • 5cefb83f5c Always use a full three digit version for gcc. Steven Watanabe 2018-01-13 13:39:16 -0700
  • 02359cb669 Add missed file that is necessary for building Boost.Dll on windows. Steven Watanabe 2018-01-13 13:36:45 -0700
  • ee613a6a28 Implement feature relevance. * New feature <relevant> which is automatically deduced in most cases. * Features which are not relevant do not affect target paths and do not prevent merging of virtual targets. * generators.jam: generator.run always returns usage-requirements to allow usage-requirements in non-top-level generators. This is necessary because we're using usage-requirements to track relevance from flags. * New rule toolset.uses-features to specify features that the rule checks manually, instead of using toolset.flags. In the future, we should consider restricting the properties actually passed, to detect errors. * Adjust tests to handle the new paths (verified by inspection). * Add temporary option --ignore-relevance to consider all features relevant to aid migration. * New rule property.evaluate-conditional-relevance which helps tracking relevance in <conditional>. * Widely scattered changes to use the new interfaces. Steven Watanabe 2018-01-13 09:13:49 -0700
  • ae4e151967 Passing -a -n usually means that we just want to see all the commands. Actually re-running configuration checks just wastes time. Steven Watanabe 2018-01-12 16:03:57 -0700
  • ed37fd04af Merge regression.py, testing_support.py and test_result_dumping.py into testing.py. Also, make the tests from more systematic. Steven Watanabe 2018-01-12 15:44:22 -0700
  • 79dd4a7292 The manpage type should not break shared libraries with a version suffix. Steven Watanabe 2018-01-12 09:56:18 -0700
  • 05a7419969 Remove an evil hack. The comment explaining why it is necessary appears to be out-dated. Steven Watanabe 2018-01-11 15:26:28 -0700
  • f3133e945e Rework configuration file loading to be more consistent. Any configuration file can be set (or disabled) with --xxx-config=. --config= overrides all configuration files. Steven Watanabe 2018-01-11 13:57:53 -0700
  • dd694f0a3d Merge branch 'develop' Steven Watanabe 2018-01-10 15:32:06 -0700
  • 6945dad036 Added python tool examples. Contributed by Tom Kent. Fixes #171. Steven Watanabe 2018-01-09 08:23:19 -0700
  • e350366096 Add a Jamfile in the test directory which runs test_all.py. Refs #268. * python.jam: Allow run-pyd to work with just a python script. * BoostBuild.py: Adjust paths to work regardless of the current working directory. Steven Watanabe 2018-01-09 07:24:58 -0700
  • c01182064e Attempt to fix a couple tests with qcc. Steven Watanabe 2018-01-08 19:52:41 -0700
  • c4bfb6d2f7 Make mock-program compile in C++03 Steven Watanabe 2018-01-08 19:15:46 -0700
  • 6c5735a06d Add test for passing optional features on the command line. Steven Watanabe 2018-01-08 18:37:17 -0700
  • 6244e5ad21 Add specific tests for the processing of properties on the command line. * Fix problems in x-product that could make it return extra property-sets in complex cases. Also clarify exactly what it is supposed to do. * free_features_request.py: This is subsumed by the new test. * direct_request_test.py: This is mostly subsumed by the new test except for the last test for chained build-projects, which doesn't make much sense in the current code base as build-project is implemented very differently. * Document using / to separate properties. Steven Watanabe 2018-01-08 17:01:32 -0700
  • 429081e45e expect_content inadvertently ignored the first element. Steven Watanabe 2018-01-08 15:56:53 -0700
  • e5d385d390 Rework handling of indirect conditionals. * property-set now considers <conditional> to be conditional * property.evaluate-conditionals-in-context now handles indirect conditionals as well. This is the correct behavior for all places where evaluate-conditionals-in-context is currently used. * Indirect conditionals now translate paths relative to the project in which they were defined, not relative to the current project. * usage-requirements no longer use targets.evaluate-requirements, as the iterative algorithm is completely unnecessary (It's also wrong, since the new features shouldn't be applied to the evaluation context). * indirect conditionals are removed from the property set when they are evaluated, just list regular conditionals. (This is a consequence of passing them through evaluate-conditionals-in-context) * This also allows non-free features in usage-requirements to "work" again (for some definition of work). Steven Watanabe 2018-01-06 16:01:36 -0700
  • 15c876025a Make target requirements handle subfeatures and composites correctly * feature.add-defaults: No longer accepts conditionals and returns expanded properties. This matches the actual usage, and conditionals never really worked right anyway. * property.refine: Remove subfeatures of removed features. * Moved property-set expansion and adding defaults into targets.evaluate-requirements so that they correctly interact with the target requirements. * Expand subfeatures when matching target alternatives. * Non-property-specific subfeatures like <cxxstd>11-iso are expanded correctly. Steven Watanabe 2018-01-06 13:55:38 -0700
  • a4962133a0 Kill code that has no effect because it accesses a non-existent variable. This is already handled elsewhere. Steven Watanabe 2018-01-06 13:55:05 -0700
  • a3caa57af3 Clean up library modules. feature.get-values is nicer than property.select + G=. Steven Watanabe 2018-01-04 12:37:32 -0700
  • a0dbab8c78 Fix handling of implicit-dependency in xsltproc. Previously, <dependency> was necessary because the include scanner was not set up correctly. Steven Watanabe 2018-01-04 09:22:30 -0700
  • 12decb3ce6 Rewrite gcc to use toolset.flags again. Steven Watanabe 2018-01-01 12:51:43 -0700
  • bf5db0d505 Remove old test name. Steven Watanabe 2017-12-30 12:19:47 -0700
  • 61989801ca Unduplicate options. Allow ranlib and ar to be set, to make mocking easier. Fix condition for setting linker-type. Steven Watanabe 2017-12-30 10:58:14 -0700
  • 44598b2107 Clean up test names. Steven Watanabe 2017-12-30 10:53:03 -0700
  • 205146c15f Tests for clang-linux. Steven Watanabe 2017-12-29 12:32:58 -0700
  • dda019c9d9 Tests for intel-darwin. Steven Watanabe 2017-12-28 15:40:00 -0700
  • 6ffd6b9c7a Add test for clang-darwin. Steven Watanabe 2017-12-27 13:30:23 -0700
  • 53cf891d8a Add test for the darwin toolset. Steven Watanabe 2017-12-26 21:06:44 -0700
  • a84c6d4c0c Add gcc/target-os=darwin test. Steven Watanabe 2017-12-26 16:31:37 -0700
  • fa78d4fed7 Don't pass -d0, except for the tests that actually require it. Suppress global -d arguments for tests that check stdout or set -d explicitly. All tests now pass in verbose mode. Steven Watanabe 2017-12-26 13:25:40 -0700
  • 0c2f6ba03f Finally kill flavor as a gcc subfeature. Adjust check for cygwin. Steven Watanabe 2017-12-26 10:51:30 -0700
  • b339e8df4b Fix property order. Steven Watanabe 2017-12-26 10:38:14 -0700
  • 89b0e49d99 Adjust expected suffixes to work on OSX and windows for gcc.py. Steven Watanabe 2017-12-26 09:50:33 -0700
  • 858ad964c9 Add a mock of gcc as a first step towards testing all toolsets. Steven Watanabe 2017-12-23 15:57:26 -0700
  • c91455ff75 Add xcode 8, 7.3, 6.4 to Travis (#275) Peter Dimov 2017-12-23 19:13:41 +0200
  • c594b12b13 Adjust check for using clock_gettime. Steven Watanabe 2017-12-23 09:46:47 -0700
  • 14d745d691 Localize changes to the environment, so that we don't break later tests run in the same process. Steven Watanabe 2017-12-21 15:55:23 -0700
  • 6d7c0c752d Quote the name of the batch script so that it works when %TMP% contains a space. Fixes #274. Steven Watanabe 2017-12-21 15:16:45 -0700
  • d2b64dc55d Fix crash in the debugger's backtrace when a built-in function is on the stack. Steven Watanabe 2017-12-20 15:33:01 -0700
  • df321f5a3a Fix python tests. Steven Watanabe 2017-12-19 21:52:08 -0700
  • 65cd9ce416 Fix stupid mistake. (On the bright side, the code works anyway.) Steven Watanabe 2017-12-19 17:05:24 -0700
  • f56035d11a Sync ac with configure. Steven Watanabe 2017-12-19 15:59:51 -0700
  • 3ae87ff496 Add a new rule configure.choose that adds properties associated with the first target from a list that successfully builds. Steven Watanabe 2017-12-19 13:30:09 -0700
  • 8aa702aaf4 Try to fix the build for older versions of XCode. Steven Watanabe 2017-12-19 10:27:31 -0700
  • 0388086b3f Limit --remove-test-targets to the targets generated by the test case. This makes it safe to share object files and executables between test cases. Steven Watanabe 2017-12-18 15:51:49 -0700
  • 0c6d0165b0 Support nanosecond timestamp resolution for posix. Steven Watanabe 2017-12-18 13:09:07 -0700
  • 6fce57e7da Make sure that we can always detect touched files even if we didn't wait for any other reason. Steven Watanabe 2017-12-18 11:20:44 -0700
  • 5391e53038 Clear the current project after configuring a toolset from the command line. Steven Watanabe 2017-12-18 10:13:25 -0700
  • bb300dac25 Make test_all.py print more information on failure. Steven Watanabe 2017-12-16 16:11:39 -0700
  • 6c3397fac8 Fix crash when calling a member function that doesn't exist. Fixes #260. Steven Watanabe 2017-12-16 15:19:00 -0700
  • a96e3fcbc5 ignore doesn't handle . Steven Watanabe 2017-12-16 15:05:46 -0700
  • ff10c58b99 Fix Windows tests. Steven Watanabe 2017-12-16 13:16:21 -0700
  • 4d58880c20 Move the msvc setup scripts from TEMP into the build directory. They are created as virtual-targets, so --clean-all should work as well. The scripts will also be auto-updated if their timestamps are older than the originals. Refs #257. Steven Watanabe 2017-12-16 12:15:45 -0700
  • ff8709997e Fix new tests for Windows, matching 40e7f0e8dd Steven Watanabe 2017-12-15 16:00:32 -0700
  • e31489760c breakpoints should work even if they're hit repeatedly. Steven Watanabe 2017-12-15 15:15:54 -0700
  • 7369dd2631 Use the right setup scripts for several tools. Previously, the first setup script processed would be applied unconditionally, because api was not defined which leaves the condition blank, and later setup scripts would be applied to winapi=phone, because api was not properly localized. Steven Watanabe 2017-12-14 12:26:24 -0700
  • dbff38df17 Subfeature expansion should not strip trailing dashes. This was caused by the fact that a list containing only empty strings is evaluated as false, thus causing the while loop to terminate prematurely. Fixes #207. Steven Watanabe 2017-12-14 10:21:05 -0700
  • b000980cd3 Make the caching of symlink/hardlink/junction detection more consistent. Steven Watanabe 2017-12-12 12:18:52 -0700
  • 8cfe656d86 Fix rebuilding of configure checks with --reconfigure or -a. Steven Watanabe 2017-12-12 12:18:02 -0700
  • d81254cba0 Fix link-fail on Windows, Take 2. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259. Steven Watanabe 2017-12-12 09:59:21 -0700
  • 4269c9e663 Revert "Fix link-fail on Windows. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259." Steven Watanabe 2017-12-06 08:59:17 -0700
  • 994bad539a hash requires the first element of the struct to be the key. Steven Watanabe 2017-12-05 19:27:11 -0700
  • 192dedd2ee Fix debug builds of the debugger. Fixes #245. Fixes #246. Steven Watanabe 2017-12-05 18:26:09 -0700
  • 0c3089d3c0 Fix link-fail on Windows. FAIL_EXPECTED now works correctly for targets that have multiple updating actions. Fixes #259. Steven Watanabe 2017-12-04 17:54:49 -0700
  • 6cea15c958 Prevent --dump-tests from executing prematurely in the face of configuration checks and skipping some output. Steven Watanabe 2017-11-27 11:52:27 -0700
  • 50f13ef34a jpeglib.h requires stdio.h to be included first. Steven Watanabe 2017-11-24 16:31:24 -0700
  • 4e6e4038c8 Apply cleanup from zlib to png, tiff, and jpeg as well. Steven Watanabe 2017-11-24 14:39:14 -0700
  • 79a8a04d68 Adjust jpeg test to make it pass and add it to the global list of tests. Steven Watanabe 2017-11-24 14:03:23 -0700
  • 5557ee1423 Remove copy/pasted references to zlib. Steven Watanabe 2017-11-24 14:03:14 -0700