aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* --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
* Make Windows command line quoting work.Gravatar Lukacs Berki2016-06-24
| | | | | | | Fixes #1445. -- MOS_MIGRATED_REVID=125773835
* 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
* 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
* 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
* 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
* Fix expansion rendering in help html output.Gravatar Ulf Adams2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125665042
* experimental UI: consider progress bar refreshed on every redrawGravatar Klaus Aehlig2016-06-23
| | | | | | | | | | | | | | | | | Whenever the UI has to write a line to the progress buffer, it removes the progress bar, write the line and re-adds the progress bar. Of course, the re-added progress bar is the one that represents the up-to-date state at the time of it being re-added. Therefore, this also is a refresh of the progress bar. So update the time stamp tracking the last refresh. In this way rate-limits on refreshes are honored more correctly; also, requirements of the progress bar having to be refreshed after a certain point in time that have been fulfilled by that implicit refresh are recognized as such, keeping the output less flickering. -- Change-Id: I44bcd85a149cb88fcde126119100a6e1ff1ba45d Reviewed-on: https://bazel-review.googlesource.com/#/c/3873 MOS_MIGRATED_REVID=125664608
* Make the Blaze client be able to terminate the server if needed.Gravatar Lukacs Berki2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125663574
* Fix anchors in the help page. Doh!Gravatar Ulf Adams2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125662988
* Generate the command-line reference from bazel help.Gravatar Ulf Adams2016-06-23
| | | | | | | -- Change-Id: I277f81472520b7f490cb178bb14c9618553cc4b2 Reviewed-on: https://bazel-review.googlesource.com/#/c/3880/ MOS_MIGRATED_REVID=125657323
* experimental UI: after analysis summarize the work done thereGravatar Klaus Aehlig2016-06-23
| | | | | | | | | | | | | At the end of the analysis phase, show the amount of work done during this phase (e.g., number of packages loaded) in a way similar to the last progress message shown for loading. In this way, users will over time learn the number of packages their project depends on; thus the progress shown during loading will become more meaningful to them. -- Change-Id: If56fab5704c419be988e55f0c1705b3732c11369 Reviewed-on: https://bazel-review.googlesource.com/#/c/3872 MOS_MIGRATED_REVID=125656896
* Minor style fixes in intellij_info_tests.bzlGravatar Dmitry Lomov2016-06-23
| | | | | | | | 1) remove no-op conversion to dictionary 2) use [] instead of dict.get -- MOS_MIGRATED_REVID=125655793
* Description redacted.Gravatar Lukacs Berki2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125652898
* Change the BufferedReader to BufferedInputStream, as the UTF-8 bom crashes ↵Gravatar Googler2016-06-23
| | | | | | | | | the BufferedReader. Add the errors a suppressed exceptions which is more useful for debugging. -- MOS_MIGRATED_REVID=125609925
* Adds the Android manifest merger as an option for android_binary rules. The ↵Gravatar Andrew Pellegrini2016-06-23
| | | | | | | | | merger that is used (legacy or android) is controlled by the manifest_merger attribute on android_binary and the default is controlled by the --android_manifest_merger flag. RELNOTES: The Android manifest merger is now available as an option for android_binary rules. The merger will honor tools annotations in AndroidManifest.xml and will perform placeholder substitutions using the values specified in android_binary.manifest_values. The merger may be selected by setting the manifest_merger attribute on android_binary. -- MOS_MIGRATED_REVID=125603954
* Make intellij_info_tests work again.Gravatar Dmitry Lomov2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125592395
* Add some additional logging when packages are not found in the bulk lookup.Gravatar Eric Fellheimer2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125592223
* Get rid of a bunch of IOExceptions that were being unnecessarily thrown. We ↵Gravatar Janak Ramakrishnan2016-06-23
| | | | | | | don't want to throw IOExceptions unless there is an actual IOException. Syntax errors in WORKSPACE files don't qualify, and neither do badly written Skylark rules. I may have misunderstood some code here, so please do push back if the root causes here really can be filesystem issues. -- MOS_MIGRATED_REVID=125591177
* Description redacted.Gravatar Carmi Grushko2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125589653
* Support for the compatibility generation of pbobjc.h files by the PB2 ↵Gravatar Sergio Campama2016-06-23
| | | | | | | 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=125584211