| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110778743
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110446625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
The original CL broke our CI because Bazel used an old version of Guava (18.0 instead of 19.0). We fixed this problem, so we can roll forward the original change.
*** Original change description ***
Automated [] rollback of [].
*** Reason for rollback ***
Broke the build: http://ci.bazel.io/job/Bazel/262/
*** Original change description ***
Skylark: implemented more string functions (isalnum, isdigit, etc).
--
MOS_MIGRATED_REVID=110439750
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke the build: http://ci.bazel.io/job/Bazel/262/
*** Original change description ***
Skylark: implemented more string functions (isalnum, isdigit, etc).
--
MOS_MIGRATED_REVID=110383960
|
|
|
|
|
|
|
|
|
| |
will make it easier to manage the transition from legacy Skylark path-style loads to label-based loads. We handle both old-style (path-based) imports and new-style (label-based) imports.
This class is in the cmdline package since it depends on Label-related code in the same package. The cmdline package depends on the syntax package, so this class can't go there, which would otherwise be a reasonable place to put it.
--
MOS_MIGRATED_REVID=110372547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skylark into their own package. This allows, e.g., classes in the syntax package to access classes in the cmdline package without creating circular dependencies.
While we're here:
- Removed a couple of unused BUILD deps flagged in [].
- Updated SkylarkRuleImplementationFunctionsTest to remove non-ASCII characters and
clarify the intent of the test.
--
MOS_MIGRATED_REVID=110360763
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110356439
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110348607
|
|
|
|
|
|
|
| |
Type "map" doesn't exist. "struct" is not allowed.
--
MOS_MIGRATED_REVID=110265638
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110261986
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110141376
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110025690
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109942021
|
|
|
|
|
|
|
| |
Reduces garbage.
--
MOS_MIGRATED_REVID=109914243
|
|
|
|
|
|
|
|
| |
We wind up hitting this code path each time we call a user defined function
to calculate a pretty string for profiling purposes.
--
MOS_MIGRATED_REVID=109580385
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108243881
|
|
|
|
|
|
|
| |
This makes query output independent of the insertion order of the dictionary.
--
MOS_MIGRATED_REVID=108061190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
internally. The load location for a Skylark Aspect is specified via a PathFragment, for consistency with current non-Aspect Skylark loads.
This should be a semantics-preserving change for users. In a subsequent CL, I'll change the Skylark syntax to allow load statements to use labels as well as paths, with the goal of eventually deprecating the latter.
Also:
- Removed the hack for handling relative loads in the prelude file.
- Refactored some redundant functionality in PackageFunction and SkylarkImportLookupFunction for handling loads.
- Removed the ability to put the BUILD file for the package containing a Skylark file under a different package root than the Skylark file itself. This functionality isn't currently used and is inconsistent with Blaze's handling of the package path elsewhere.
- Added BUILD files to a number of tests that load Skylark files; this is consistent with the requirement that all Skylark files need to be part of some package.
- Changed the constants used to set the location of the prelude file from paths to labels.
--
MOS_MIGRATED_REVID=107741568
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107582017
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107465479
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107416625
|
|
|
|
|
|
|
| |
Mostly reuses the interpreters argument checking and helper functions.
--
MOS_MIGRATED_REVID=107395974
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107394025
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107391382
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107389651
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107388016
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107385205
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107379557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107378197
|
|
|
|
|
|
|
|
| |
Add EvalExceptions for cases in which the interpreter would throw them
during evaluation of the function definition.
--
MOS_MIGRATED_REVID=107376021
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107231604
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107227795
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107225693
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107225692
|
|
|
|
|
|
|
|
| |
Does not yet contain any implementation for expressions and statements
but sets up various needed mechanisms and helper classes.
--
MOS_MIGRATED_REVID=107222845
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=107131704
|
|
|
|
|
|
|
|
|
| |
LineNumberTable$HashLine. This avoids creating largely the same set of PathFragment again and again.
Also remove unnecessary boxing/unboxing.
--
MOS_MIGRATED_REVID=106892926
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106605940
|
|
|
|
|
|
|
| |
Convert to Skylark values when destructuring a sequence or map.
--
MOS_MIGRATED_REVID=106591523
|
|
|
|
|
|
|
| |
Special-case the return statement to avoid throwing an exception.
--
MOS_MIGRATED_REVID=106488391
|
|
|
|
|
|
|
| |
e.g. for i in list: pass
--
MOS_MIGRATED_REVID=106488146
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106291132
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105956734
|
|
|
|
|
|
|
| |
REPOSITORY_NAME symbol.
--
MOS_MIGRATED_REVID=105954652
|
|
|
|
|
|
|
|
|
| |
file rather than a ParserInputSource.
This is part of a series of changes with the net result being that we open, read, and parse each BUILD file exactly once.
--
MOS_MIGRATED_REVID=105911557
|
|
|
|
|
|
|
| |
and fix the bugs that showed up as a result.
--
MOS_MIGRATED_REVID=105896905
|
|
|
|
|
|
|
|
| |
Use SkylarkList everywhere rather than either List or GlobList.
Keep a GlobList underneath a MutableList, where applicable.
--
MOS_MIGRATED_REVID=105864035
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105851371
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105591091
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105585492
|