Age | Commit message (Collapse) | Author |
|
779abe89eb am: 3de57e0bcb
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/2552135
Change-Id: Iddea2872a5a920f85dd53585555b14ac468a8e06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
779abe89eb
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/2552135
Change-Id: Ibaa1d3c72d7d3fd2ba4574bb2ee7c6d80be1246d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/2552135
Change-Id: Ide104c56e24c783ab8d699befa8087adc5c6475e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/2552135
Change-Id: I6c4345c86133690add0b024c29df9253a50b65ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/2552135
Change-Id: I11ffae1ee3f60518b5e8a96392b899f650658dee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
To be used by the starlark interpreter embedded in soong.
Bug: 279095899
Test: m nothing
Change-Id: I6227e0ba19fcd3ba331c561e6666614246824072
|
|
Bug: 189946434
Change-Id: I6b510895f27575d1cb7b797780c1aeeb8fa0cca1
|
|
87b79b8fa6 am: 96856bab52 am: 3f012eaf4c
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1672645
Change-Id: I5e736e6fcefcac5062e92e4b7ebb91ff9d546600
|
|
87b79b8fa6 am: 96856bab52 am: 3f012eaf4c
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1672645
Change-Id: I32c5db1768bb1cbccabe7df5d2c3753979b63453
|
|
87b79b8fa6 am: 96856bab52
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1672645
Change-Id: If90699c830bb9c71982496f034a331c98ac6ae62
|
|
87b79b8fa6
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1672645
Change-Id: I5e807767e148ee53a21e5ed346c1768b9a2187f0
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1672645
Change-Id: I2aa0e3df6011f64b1e8ce82730cf99213a6eb0cd
|
|
Change build directives to avoids additional external dependency
(golang.org/x/sys/unix) at the cost of small performance degradation
when handling integers.
Bug: 172923994
Test: treehugger
Change-Id: I11aa727031a523a309ba9372300e6d413847e02d
|
|
am: 9572ba706c
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1635119
Change-Id: I9c33b9d4161ff6b2822dc7d4b951131dc504285d
|
|
am: 9572ba706c
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1635119
Change-Id: I2bdef435e665563e542181a9f96c96d57d2977ad
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1635119
Change-Id: I31873ffb1950e9cd2f36f10e26ba12205847fee7
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1635119
Change-Id: I239b329b71a164fb9b93e1cdef3216bfe36aab1a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1635119
Change-Id: I37d530b13770eb0c066464078cd3955400025571
|
|
Bug: 180529448
Test: treehugger
Change-Id: I56fdd04239fb0c53c25907390bab927d8679e79c
|
|
4603692ae4 am: b2bf863872 am: 880427e421
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1609821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If3a224c98fd96190a2f5ba307e9d18c9adb650d9
|
|
4603692ae4 am: b2bf863872 am: 880427e421
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1609821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If66afcb1ba81e01634ddb667131e2e6d4375b6a9
|
|
4603692ae4 am: b2bf863872
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1609821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib4447f38306ba589a5b6bad353322207c3c108e2
|
|
4603692ae4
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1609821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie833d8c4890fb7b21012cd5cd38a5e7e7bd95c7a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1609821
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib2012f89569b5f450427f1efd719c371db3abd4f
|
|
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia76dda689eed6ca5031697b335871c4b2335b2b0
|
|
am: 76e40a5192 am: d1252bd970
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3b1a819337c183126ec4860ab1763809478f5869
|
|
8a51b9f1ff am: 0b870394cf am: 91deed19b4
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie2bc485d1d0b88365106d308d9c36f134f7a2942
|
|
am: 76e40a5192 am: d1252bd970
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If335bd92e8a67f0261ce6ce0b706da82e80ec01e
|
|
8a51b9f1ff am: 0b870394cf am: 91deed19b4
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia6d5a4ec3532d47d59bb628a34c3b4ee10a3bde7
|
|
b1ac553fdc
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8423ec7f82305d39c1f882355fb4eacf43634184
|
|
b1ac553fdc
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I06bf9234789ee004045d8797c206cecd92071d87
|
|
am: 76e40a5192
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I797aa634e9677d076cffa4b5418038d466ffdcbf
|
|
8a51b9f1ff am: 0b870394cf
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic629cd875834eb38e13629807e295303e135ddee
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7de853231e5f99ff3e6d803ba7d0e774f329fbc3
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2ff23ca0c300a7a8e1bca3b8b0ad227c6f51e492
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I622499f79660089c5f85319c49d521cc1b1fe6c9
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I75502a9aa211e4ce1785124baecbd2e795f18b12
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1516c89924f537fa489650e135b80b7727582f8d
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iacfaa96de2377308aa3c695bc7fc40fc1f89fa73
|
|
Original change: https://android-review.googlesource.com/c/platform/external/starlark-go/+/1592915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2342babc15ec846be46b25cb69fe8432104f0330
|
|
Bug: 180529448
Test: m nothing
Change-Id: Ie5c3fba85dd00a3ec4f7ea56f435cbd2e34e77bb
|
|
Bug: 180529448
Test: N/A
Change-Id: Iee18f0ea86b67eb8d0a325464e4e9a330650c121
|
|
Bug: 180529448
Test: N/A
Change-Id: I36e5c9f953ef2df0c1952c3ce7a426ba96529be1
|
|
THIS IS AN INCOMPATIBLE LANGUAGE CHANGE; see below
This change defines a 'bytes' data type, an immutable string of
bytes. In this Go implementation of Starlark, ordinary strings
are also strings of bytes, so the behavior of the two is very similar.
However, that is not required by the spec. Other implementations of
Starlark, notably in Java, may use strings of UTF-16 codes for the
ordinary string type, and thus need a distinct type for byte strings.
See testdata/bytes.star for a tour of the API, and some remaining
questions. See the attached issue for an outline of the proposed
spec change. A Java implementation is underway, but is greatly
complicated by Bazel's unfortunate misdecoding of UTF-8 files as
Latin1.
The string.elems iterable view is now indexable.
The old syntax.quote function (which was in fact not used
except in tests) has been replaced by syntax.Quote,
which is similar to Go's strconv.Quote.
This change removes go.starlark.net.lib.proto.Bytes.
IMPORTANT: string literals that previously used hex escapes
\xXX or octal escapes \OOO to denote byte values greater than 127
will now result in a compile error advising you to use \u
escapes instead if you want the UTF-8 encoding of a code point
in the range U+80 to U+FF. A string literal can no longer
denote invalid text, such as the 1-element string formerly
written "\xff".
Updates https://github.com/bazelbuild/starlark/issues/112
Fixes https://github.com/google/starlark-go/issues/222
|
|
The new FilePortion type, which may be provided to the scanner,
parser, or ExecFile functions, combines a piece of text along
with its start line/column numbers, for applications that
extract a Starlark expression from the middle of a larger file.
Fixes https://github.com/google/starlark-go/issues/346
|
|
|
|
Previously, when int was called with an explicit base,
it would report an error if the digit string starts
with a base prefix for a different base, such as int("0b101", 16).
Now, it uses the base prefix only if it matches the requested
base, so the example above would return 0x0b101, as would
int("0x0b101", 16).
The int(string, int) case has been split out for clarity.
Update doc.
Fixes #337
|
|
See https://www.adexchanger.com/data-driven-thinking/no-more-inflammatory-jargon-change-blacklist-to-blocklist/
|
|
The contents of a cell may be null, just like any other local.
We should report this as an error.
So that we can name the variable in the error message,
we change the instruction set so that LOCAL<local>+CELL
are combined into a single LOCALCELL<local> instruction,
and FREE<free>+CELL become a single FREECELL<free> instruction.
For symmetry we also combine LOCAL<local>+SETCELL into SETLOCALCELL,
though it cannot fail. (Happily, all three changes are optimizations
previously described by TODO comments.)
Fixes #340
|
|
|