aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add SkyQuery-specific allrdeps implementation to allow batch getReverseDepsGravatar Googler2016-06-27
| | | | | | | with maximum limit -- MOS_MIGRATED_REVID=125959807
* Fixed java_stub_template.txt after disabling runfiles on WindowsGravatar Yun Peng2016-06-27
| | | | | | | -- Change-Id: Ia5def69207f6f69809ff09cda67910844749e63e Reviewed-on: https://bazel-review.googlesource.com/#/c/3907 MOS_MIGRATED_REVID=125957512
* Unhide --experimental_ui_actions_shownGravatar Klaus Aehlig2016-06-27
| | | | | | | -- Change-Id: I1b8acc9dbd73ede3952a51f3f67b32e1b7e536a2 Reviewed-on: https://bazel-review.googlesource.com/#/c/3900 MOS_MIGRATED_REVID=125957281
* Add skeleton code for a JNI .DLL on Windows.Gravatar Lukacs T. Berki2016-06-27
| | | | | | | | | Tested by hacking in a call to a JNI method into BatchMain.java . -- Change-Id: I77b0731fa6b81f8cbc80cf2a31d427764fad6ad1 Reviewed-on: https://bazel-review.googlesource.com/#/c/3908/ MOS_MIGRATED_REVID=125955521
* Add sandboxing design doc from philwo.Gravatar Ulf Adams2016-06-27
| | | | | | | -- Change-Id: Ib40fac6a616805defbf972f7eadd333e3e187335 Reviewed-on: https://bazel-review.googlesource.com/#/c/3891/1 MOS_MIGRATED_REVID=125954946
* Anabashed fix that makes bash tests run once and for all.Gravatar Dmitry Lomov2016-06-27
| | | | | -- MOS_MIGRATED_REVID=125954206
* experimental UI: honor --progress_in_terminal_titleGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | Make the experimental UI honor the --progress_in_terminal_title options which requests that the terminal title be set to a description of the current progress. -- Change-Id: I8ebded9ebb7e9f821344165fca6b5f6b9b254c68 Reviewed-on: https://bazel-review.googlesource.com/#/c/3904 MOS_MIGRATED_REVID=125953773
* Update concepts / BUILD files page.Gravatar Tobias Werth2016-06-27
| | | | | -- MOS_MIGRATED_REVID=125952754
* getting-started.md: fix typo in URLGravatar Klaus Aehlig2016-06-27
| | | | | | | -- Change-Id: Iab790f363ce1029da9706be6be176e4320bdcdb9 Reviewed-on: https://bazel-review.googlesource.com/#/c/3906 MOS_MIGRATED_REVID=125951789
* Move LoggingTerminalWriter out of testGravatar Klaus Aehlig2016-06-27
| | | | | | | | | ...so that it can be used by the main code base. -- Change-Id: Ibf59d74ab1b0cca9bd9406bb76ee6e71189653bf Reviewed-on: https://bazel-review.googlesource.com/#/c/3903 MOS_MIGRATED_REVID=125950656
* Make shell tests run on latest release too.Gravatar Dmitry Lomov2016-06-27
| | | | | | | Fixes #1448. -- MOS_MIGRATED_REVID=125943283
* experimental UI: Avoid empty linesGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | ...to save a bit of horizontal space in the scroll-back buffer. The color-coding already gives enough navigation hints. -- Change-Id: Id0e5decc6bd495a99ec839c096700406d8d1bab9 Reviewed-on: https://bazel-review.googlesource.com/#/c/3902 MOS_MIGRATED_REVID=125943242
* experimental UI: mention that we track the _running_ actionsGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | | | The experimental UI shows the oldest still running actions as well as the total number of running actions. However, just presenting them as "X actions" is confusing for some users; so be more explicit and mention them as "X actions running". -- Change-Id: I26b8450690dc8b233271596d3c85e9c0924f7333 Reviewed-on: https://bazel-review.googlesource.com/#/c/3901 MOS_MIGRATED_REVID=125941605
* Use Thread#isInterrupted() instead of Thread#interrupted() followed by ↵Gravatar Lukacs Berki2016-06-27
| | | | | | | Thread#interrupt() . -- MOS_MIGRATED_REVID=125933542
* Speed up resetting file/directory dates to zip epoch by 100x. Gravatar Googler2016-06-27
| | | | | | | | | | | | | It is better to use the {} + as it passes the file list to touch instead of calling touch command once for each file. This will reduce the number of times touch process is created and massively speed up the script From man page -exec utility [argument ...] {} + Same as -exec, except that ``{}'' is replaced with as many pathnames as possible for each invocation of utility. This behaviour is similar to that of xargs(1). -- MOS_MIGRATED_REVID=125821677
* Update build encyclopedia documentation to make clear that entitlements are ↵Gravatar Googler2016-06-27
| | | | | | | not supported on the Simulator out of the box yet. -- MOS_MIGRATED_REVID=125814847
* make StdRedirect available in the runfiles.Gravatar Googler2016-06-27
| | | | | -- MOS_MIGRATED_REVID=125804148
* Fix some GC churn issues when dealing with Labels:Gravatar Eric Fellheimer2016-06-27
| | | | | | | | - reduce use of #substring(), which must copy the sub-region of the string - specialize hashCode() implementation so that we don't need to push objects into an array. -- MOS_MIGRATED_REVID=125798978
* Replace "Getting Started" page by a Bazel "Hello World"Gravatar Klaus Aehlig2016-06-27
| | | | | | | | | | | | | | As we have a tutorial anyway, keep the "Getting started" page short and language agnositic, and do not duplicate parts that are taught in the tutorial anyway. The main purpose of the "Getting Started" page is to give the reader a quick feeling of the very basic Bazel concepts, as well as allowing to test if Bazel is installed correctly. -- Change-Id: I80baae1c424244d492c202eff0c613cbac187d43 Reviewed-on: https://bazel-review.googlesource.com/#/c/3882 MOS_MIGRATED_REVID=125796405
* - Move Java-specific content to Java landing pageGravatar Yun Peng2016-06-27
| | | | | | | | - Turn C++ Basic into a C++ language landing page - Reorganized tutorial menu -- MOS_MIGRATED_REVID=125796335
* --Gravatar Carmi Grushko2016-06-27
| | | | MOS_MIGRATED_REVID=125790153
* Provide clearer messaging when a build fails because a rule'sGravatar Greg Estren2016-06-27
| | | | | | | | | | | | | | | | | | supported environments get refined away by incompatible select paths. This is a fix of TODO: https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/analysis/constraints/ConstraintSemantics.java#L597 Old message: ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: all environments have been refined out of the following groups: //buildenv:environment_group New message: ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: the current command-line flags disqualify all supported environments because of incompatible select() paths: environment: //buildenv:gce removed by: //util/lib:some_dep_with_select (/workspace/util/lib/BUILD:12:1) -- MOS_MIGRATED_REVID=125788804
* Possibly fix "Why doesn't Google use..." list on Bazel FAQGravatar Googler2016-06-27
| | | | | -- MOS_MIGRATED_REVID=125788333
* Teach serve-docs.sh to generate a static web site.Gravatar Dmitry Lomov2016-06-27
| | | | | | | -- Change-Id: Ic75d8f1d05b0ccba2faaad6527ab2719612325d8 Reviewed-on: https://bazel-review.googlesource.com/#/c/3892/ MOS_MIGRATED_REVID=125779082
* Add a link to the command-line ref to the docs page.Gravatar Ulf Adams2016-06-27
| | | | | | | | Also move the output directories link up, and the skyframe link to the contribute page. -- MOS_MIGRATED_REVID=125776846
* Make Windows command line quoting work.Gravatar Lukacs Berki2016-06-24
| | | | | | | Fixes #1445. -- MOS_MIGRATED_REVID=125773835
* Do not require users to set TMPDIR for bootstrap on Windows.Gravatar Dmitry Lomov2016-06-24
| | | | | | | | | Fixes 1444. -- Change-Id: If9afa2bebcd35b0c0882685588d8e1f3b18f5344 Reviewed-on: https://bazel-review.googlesource.com/#/c/3890/ MOS_MIGRATED_REVID=125771832
* experimental UI: flush buffersGravatar Klaus Aehlig2016-06-24
| | | | | | | | | At the end of the build (or when realizing that there will be no build phase), the experimental UI drops into full streaming mode. When doing so, do not forget to flush all buffered incomplete lines for stdout and stderr. -- MOS_MIGRATED_REVID=125770854
* Set the default value of PRODUCT_NAME to "Bazel" and add a test to guaranteeGravatar Luis Fernando Pino Duque2016-06-24
| | | | | | | Bazel is using the right value. -- MOS_MIGRATED_REVID=125764994
* Corrected date of the design doc on Specifying environment variablesGravatar Damien Martin-Guillerez2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125764633
* Add a design document on about specifying environment variablesGravatar Klaus Aehlig2016-06-24
| | | | | | | | | | | | A lot of suggestions have been made about how the environment, in particular the PATH environment variable, should or should not influence the build. This design document suggests a solution that tries to be flexible enough to make all desired use cases possible in some way. -- Change-Id: I623ce880d6266625fea1213fa9f7c2bfe1a519df Reviewed-on: https://bazel-review.googlesource.com/#/c/3850 MOS_MIGRATED_REVID=125763387
* Do not try to read from the stdout/stderr streams of destroyed processes.Gravatar Lukacs Berki2016-06-24
| | | | | | | | | According to https://bugs.openjdk.java.net/browse/JDK-4311711 , the behavior is undefined and it reproducibly results in hangs on Windows. This makes Ctrl-C on be able to interrupt Bazel during the execution phase, too. There are no guarantees about actually killing the child processes, though: Process.destroy() apparently leaves some child processes running. Unfortunately, Java doesn't offer a solution to this, so we'll have to resort to native code in some way. -- MOS_MIGRATED_REVID=125758911
* Make ${OUTPUT_BASE}/server/jvm.out contain the stdout and stderr of the JVM ↵Gravatar Lukacs Berki2016-06-24
| | | | | | | of the server on Windows, too. -- MOS_MIGRATED_REVID=125758769
* Enable non_arc_srcs for experimental_objc_library. Allow build variables to ↵Gravatar Cal Peyser2016-06-24
| | | | | | | | | be passed to CcLibraryHelper for an individual source rather than the entire build. -- MOS_MIGRATED_REVID=125738742
* "xcode_locator -v" dedupes multiple copies of the same xcode version ↵Gravatar Chris Parsons2016-06-24
| | | | | | | | | installed on the host, and appends DEVELOPER_DIR to the specification on each line. This should be the last of what is needed from this option, in order to launch local generated xcode_config and xcode_version targets in skylark. -- MOS_MIGRATED_REVID=125725500
* Fix interning in PathFragment.create(char, bool, String[])Gravatar Michajlo Matijkiw2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125721556
* Roll forward commit 53c8f94cfb2ac7d41c8815e40e3d9d834789142bGravatar Liam Miller-Cushon2016-06-24
| | | | | | | | | If addDirectJars and addCompileTimeClassPathEntries are called multiple times on JavaTargetAttributes, the direct deps should always appear before transitive deps on the classpath. -- MOS_MIGRATED_REVID=125719132
* --Gravatar Carmi Grushko2016-06-24
| | | | MOS_MIGRATED_REVID=125712280
* Clarify documentation of type() - behavior might change in the future.Gravatar Laurent Le Brun2016-06-24
| | | | | | | Also, update difference with Python that was dropped from commit 1c88f9cfafcd7f8856066a0ca4531ca2fc92c5bd -- MOS_MIGRATED_REVID=125711726
* Fix Label and FileType doc locationsGravatar Kristina Chodorow2016-06-24
| | | | | | | | | Moves the constructors out of Globals and under the correct types. Fixes #945. -- MOS_MIGRATED_REVID=125708868
* Rollback of commit dc3dad6a905be2ae76d3b1213d7154bf112d1220.Gravatar Sergio Campama2016-06-24
| | | | | | | | | | | | | *** Reason for rollback *** Needs more design as it would fail on some edge cases *** Original change description *** Support for the compatibility generation of pbobjc.h files by the PB2 library. Previously it was gated by the use_objc_header_names attribute. Now, if the flag isn't set, it will generate both the pb and pbobjc ones, simplifying switching between libraries. -- MOS_MIGRATED_REVID=125705664
* Add test in GraphConcurrencyTest for concurrent createIfAbsent and get calls.Gravatar Janak Ramakrishnan2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125703258
* Document more differences with Python: nested functions and for loopsGravatar Laurent Le Brun2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125694309
* - Rename "Test Encyclopedia" to "Writing Tests"Gravatar Yue Gan2016-06-24
| | | | | | | | | - Remove non-existing links and add contents of the links - Document runfiles (from the Runfiles doc) - Deprecate JAVA_RUNFILES -- MOS_MIGRATED_REVID=125691421
* Sheepishly add a warning about the problem in which getConfiguredTarget() ↵Gravatar Cal Peyser2016-06-24
| | | | | | | returns null for failed SkyKey evaluations. -- MOS_MIGRATED_REVID=125684386
* Improve documentation for type()Gravatar Laurent Le Brun2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125683322
* Don't treat *OutsidePackageRootsException as normal IOExceptions in ↵Gravatar Janak Ramakrishnan2016-06-24
| | | | | | | PackageFunction, leading to InconsistentFilesystemExceptions being the root cause of a NoSuchPackageException. They are persistent and should be treated as the real root cause of the NoSuchPackageException. -- MOS_MIGRATED_REVID=125683253
* Fix quoting in arguments to [Gravatar Klaus Aehlig2016-06-23
| | | | | | | | | | | | | When comparing two strings with test(1) we need to make sure that the strings are passed each as precisely one argument to test (a.k.a. [). Shell variables, like $1, however may expand to zero or more arguments; hence quote appropriately. -- Change-Id: I7fd1cee970ed24e6c332b0da361bc916aafcb006 Reviewed-on: https://bazel-review.googlesource.com/#/c/3881 MOS_MIGRATED_REVID=125671405
* Rollback of commit 0de6a93fcc4fd6304936165b07963c4d722c44be.Gravatar Philipp Wollermann2016-06-23
| | | | | | | | | | | *** Reason for rollback *** This breaks the Bazel build because "putMappedXmlValue" does not exist. See: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=linux-x86_64/616/console -- MOS_MIGRATED_REVID=125671091
* Fix bashisms in src/create_embedded_tools.shGravatar Klaus Aehlig2016-06-23
| | | | | | | | | | | | | | ...and then make it a script for the POSIX shell. This script is called directly (and not as an argument to the shell), hence the #!-line needs to be correct. Making it a script for the POSIX shell has the advantage that the path is canonical. This is a corrected roll forward of b692917a. -- Change-Id: I9afa5642ea4c36d944de811135d57b974eefdfff Reviewed-on: https://bazel-review.googlesource.com/#/c/3852 MOS_MIGRATED_REVID=125670937