aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Parser: Improve error messages (mention what was expected)Gravatar Laurent Le Brun2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89296523
* Skylark: Implement string.index and string.rindexGravatar Laurent Le Brun2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89294740
* Skylark: the native module is refactored and documented.Gravatar Googler2015-03-24
| | | | | | | | - SkylarkNativeModule is added to handle to native module. - Glob function is migrated to be a SkylarkFunction. Note that other functions in the native module are more difficult to migrate since they are not static. -- MOS_MIGRATED_REVID=89292579
* Use getpwuid(getuid()) to determine the output root under LinuxGravatar Damien Martin-Guillerez2015-03-24
| | | | | | | | | | Also Fallback the default ouput root to /var/tmp if $HOME is not set under Linux. If $HOME environment variable was not set, Bazel would crash with a std::logic_error. Using getpwuid() make Bazel more resilient to wrong environment. -- MOS_MIGRATED_REVID=89292008
* Fix of the .classpath generation under OS XGravatar Damien Martin-Guillerez2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89291020
* Fixed Skylark python rule under OS XGravatar Damien Martin-Guillerez2015-03-23
| | | | | | | | find on OS X does not support not provided a path argument. Python example was failing because of it. -- MOS_MIGRATED_REVID=89287951
* A minor change in the path of ijars: previously the exec path of a ↵Gravatar Lukacs Berki2015-03-23
| | | | | | | | | java_binary was a prefix of the exec path of the associated ijar, which may cause problems. This was discovered using my "bindir == genfilesdir == outputdir" experiment. -- MOS_MIGRATED_REVID=89285440
* Skylark: document ctx.expand_make_variables.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89285345
* Skylark: Fix typing for slice/substring operator.Gravatar Laurent Le Brun2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89279534
* Add iossim to Bazel's third_partyGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89178334
* Recursively create cache dirGravatar Kristina Chodorow2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89162431
* Description redacted.Gravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89161226
* Add generated jars to gitignoreGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89154212
* Add serialization functionality to classes.Gravatar Eric Fellheimer2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89152485
* Only use a single copy of a nested bundle with ios_multi_cpus.Gravatar Peter Schmitt2015-03-23
| | | | | | | | | | | | We generate a nested bundle for each architecture specified in ios_multi_cpus which would cause any artifacts generated by these rules (such as info plists or compiled resource files) to clash in the final application bundle (where the bundle directory only exists once). For now just pick one architecture at random to store the bundle in - unfortunately we still generate the bundle for all architectures. -- MOS_MIGRATED_REVID=89152199
* Use a /var/tmp path for Bazel output tree on OSXGravatar Daniel Wagner-Hall2015-03-23
| | | | | | | | | The current value: 1) Isn't created by anything, and 2) Generates too long a path for the name of a Unix domain socket -- MOS_MIGRATED_REVID=89152182
* Reword documentation of --universe_scope to emphasize that it isn't ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | necessarily used (it's not used when SkyQuery isn't used, e.g. when --noorder_results isn't specified). -- MOS_MIGRATED_REVID=89150192
* Include generateSubmodules in the cache key.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89149156
* Remove default_obsolete reference (since the attributeGravatar Greg Estren2015-03-23
| | | | | | | has been removed). -- MOS_MIGRATED_REVID=89149128
* Description redacted.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89148288
* Add compilation of objc helper tools to compile.shGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89147775
* Use OS-specific caches for output rootGravatar Kristina Chodorow2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89144546
* Fix a grammar error in the "Why doesn't Google use ...?" sectionGravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89138470
* Don't bother cleaning the graph if we are crashing anyway, since attempting ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | to do so is very likely to obfuscate the original crash. -- MOS_MIGRATED_REVID=89138275
* Remove common java code between objc tools and rules.Gravatar Peter Schmitt2015-03-23
| | | | | | | | | | As we are releasing the tools somewhat independently of the rules these utility dependencies make life a lot harder. I'm sad about losing some of the enum type-safety but being able to treat the code independently is more than worth it. -- MOS_MIGRATED_REVID=89137624
* Pass pre-processed label to Xcodegen so it can be used as an Xcode target ↵Gravatar Matthew DeVore2015-03-23
| | | | | | | | | name without any extra work in Xcodegen. Use this label to determ ine the *correct* built library. -- MOS_MIGRATED_REVID=89135635
* Description redacted.Gravatar Greg Estren2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89134834
* Add experimental external event repository progress messages.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89134285
* Rolling forward rolled back change that did declared dependencies on ↵Gravatar Janak Ramakrishnan2015-03-23
| | | | | | | discovered inputs before execution, since the underlying cause has been fixed and a test has been added. -- MOS_MIGRATED_REVID=89134131
* Include all sources actually used by Bazel in BazelGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89133777
* Use a single critical path component in case of shared actions that run ↵Gravatar Miguel Alcon Pinto2015-03-23
| | | | | | | concurrently. We update the timing with the maximum elapsed time. This could prevent us from getting the critical path (because another smaller path could mask the critical path), but in practice we do not expect this to happen. -- MOS_MIGRATED_REVID=89133458
* Add xctest_app ipa file to files-to-buildGravatar Matthew DeVore2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89131807
* Add C++ flags to C++ linkstamp compiles.Gravatar Manuel Klimek2015-03-23
| | | | | | | | In the future, we will have linkstamp flags be generated by the crosstool feature configuration, just like normal compile actions. -- MOS_MIGRATED_REVID=89131127
* remove ActionMetadata#getInputCountGravatar Michajlo Matijkiw2015-03-23
| | | | | | | | | | | | Removing ActionMetadata#getInputCount instead of relying on all implementations of ActionMetadata keeping getInputCount and getInputs in sync. getInputCount is only used by a few tests and has no applications in the main code at the moment, so it is trivial to remove before we may come to rely on it more or its semantics get more complicated. -- MOS_MIGRATED_REVID=89130009
* Make rules referencing paths outside of the execution root an error.Gravatar Manuel Klimek2015-03-23
| | | | | | | RELNOTES: Referencing a path outside the execution root is now an error. -- MOS_MIGRATED_REVID=89129910
* Automated [] rollback of [].Gravatar Googler2015-03-23
| | | | | | | | | | | | | | | | | *** Reason for rollback *** This new default behavior is undesirable in many situations. *** Original change description *** Change the default value for test_output to "errors". This might be controversial, but I have many times seen users run their tests, and then select the failure log path in their terminal and then cat the log to their screen so they can search for their errors. Every time, I've pointed out, "you can add test_output=errors to your .blazerc," they've thought it was great. Sometimes they say, "Why isn't that just the default?" *** -- MOS_MIGRATED_REVID=89128948
* Don't print out action cache if it has more than 1000 entries. This prevents ↵Gravatar Janak Ramakrishnan2015-03-23
| | | | | | | IDE OOMing when a large action cache is in scope during debugging. -- MOS_MIGRATED_REVID=89127817
* Use a more restricted type bound on ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | | | SkyFunctionException#validateExceptionType. In practice, this function is only called with subtypes of Exception. Also, this changes emphasizes that the type of an error wrapped in SkyFunctionExceptions must be a subtype of Exception. Similarly, restrict SchedulerException to only wrapping Exceptions. This is true in practice, but was missed in an earlier change. -- MOS_MIGRATED_REVID=89127540
* Fix Bazel documentation subtleties.Gravatar Laszlo Csomor2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89126911
* Enable support for multiple variable assignments.Gravatar Laurent Le Brun2015-03-23
| | | | | | | | | | This happens in for loops, list comprehensions and simple assigment. e.g. a, b = expr [a for a, b in expr] -- MOS_MIGRATED_REVID=89123977
* Initial checkin of Python rules into Bazel.Gravatar Lukacs Berki2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89123900
* Skylark: proper anchor is generated for Boolean types in the documentation.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89123292
* Skylark: minor documentation cleanups.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89123209
* Parser: Allow more complex expressions as for loop variables.Gravatar Laurent Le Brun2015-03-23
| | | | | | | Also, use LValue in ForStatement. -- MOS_MIGRATED_REVID=89122760
* Allow bash unit tests to fails without failure messageGravatar Damien Martin-Guillerez2015-03-20
| | | | | | | | | | | This change allows tests to fails silently and have the test output by function preserved. Without it, a script that would set +e and have a failing command would generate a failure on the fetching of the failure message, making the whole test suite fails. -- MOS_MIGRATED_REVID=89120786
* Genrules "set -euo pipefail" by default.Gravatar Laszlo Csomor2015-03-20
| | | | | -- MOS_MIGRATED_REVID=89118665
* Parser: Support tuples without parens.Gravatar Laurent Le Brun2015-03-20
| | | | | | | | | | | | | | | In Python, tuples normally don't need parens, e.g. a, b = c, d for i, j in e: pass However, they are sometimes required to avoid ambiguity: fct((x, y)) [(1, 2), (3, 4)] This distinction is handled with parseExpression vs parseNonTupleExpression. -- MOS_MIGRATED_REVID=89118478
* FAQ: removed the sentence about using query as an interface with IDEGravatar Damien Martin-Guillerez2015-03-20
| | | | | | | | This part was tentative and the Eclipse classpath generation for Bazel is way more custom that what you would expect. -- MOS_MIGRATED_REVID=89118179
* Skylark: documentation is updated. SkylarkFileType.java is moved to the ↵Gravatar Googler2015-03-20
| | | | | | | ../lib/rules package. Unused code is removed. Anchor for lists is fixed in the doc. -- MOS_MIGRATED_REVID=89117189
* Split up the DefaultsPackageTest into C++ and Java parts. Move some tests outGravatar Ulf Adams2015-03-20
| | | | | | | of BuildConfigurationTest into a new test class. -- MOS_MIGRATED_REVID=89113080