Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

Commits on master

internal/core/adt: skip in-flight nodes when reclaiming buffers
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
master
Marcel van Lohuizen committed
cmd/cue: preserve mtimes in cue fix and cue trim no-op rewrites
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cmd/cue: document mtime drift in fix and trim
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/testdata: add test for issue #4312
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
Daniel Martí committed
internal/core/compile: strip @test attributes from mirrored inputs
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: flush label-only cyclic CallExpr deferments
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
update dependencies ahead of the next alpha release
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cmd/cue: fix json error tests on Go tip
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
encoding/ini: make dotted section-name nesting configurable
Signed-off-by: Regina Zhang <ruijzhan@microsoft.com>
Regina Zhang committed
Daniel Martí committed
internal/core/adt: remove unused Bottom.Permanent field
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/core/adt: remove unused Bottom.ForCycle field
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
Daniel Martí committed
internal/core/adt: remove unused StructLit.IsOpen field
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/ci: set GORACE in the base config
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/core/adt: fix data race in concurrent FillPath
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
pkg/tool/exec: default env to an empty struct
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cmd/cue/cmd: add test for exec.Run JSON marshaling
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
all: make use of strings.CutPrefix
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/testdata: add test for issue #4174
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/testdata: add test for issue #4094
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/testdata: add test for issue #4091
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/parser: remove pre-v0.2 alias special error
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/parser: add test cases for pre-v0.2 alias handling
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/parser: remove dead error test code
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/core/compile: isolate txtar goldens
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: skip Disjunctions on ancestor-cycle arcs
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: fix stale BaseValue cycle on cross-package imports
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
cue: add Unify regression test for comp-produced sub-vertex
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: re-deref v in Vertex.lookup after state.process
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: dependency-tracking comprehension pushdown
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
encoding/jsonschema: fix closedness handling in Generate
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Roger Peppe committed
encoding/jsonschema: pass closedness mode through OrOp in Generate
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Roger Peppe committed
encoding/jsonschema: add test case
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Roger Peppe committed
encoding/jsonschema: add tests for closedness bugs in Generate
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Roger Peppe committed
internal/core/toposort: interleave sibling Repeats in field ordering
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/export: add another test for the toposort bug
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/export: add topocomp regression test
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/export: dedup conjuncts sharing the same body AST
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: add reproducer for unity failure
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
cue/testdata: add regression test cases to comprehensions/pushdown
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
cmd/cue: surface [inputs] and [flags] in command help
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
mod/modcache: retry .partial file writes on Windows
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/ci: allow specifying a custom ref in checkoutCode
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
internal/core/adt: propagate cycle errors via state in reportFieldError
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: tighten up states
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/core/adt: add some edge case tests
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
cue: handle ArcPending and ArcNotPresent in fromArcType
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
cue: drop stale same-runtime/build requirement from Value docs
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cmd/cue: error when -d/--schema is used without non-CUE input
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cmd/cue: test current -d behavior with only CUE input
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
add a SECURITY.md for easier GitHub discovery
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed
cue/testdata: relax test assertions for refactoring stability
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Marcel van Lohuizen committed
internal/golangorgx: remove unused dead files
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Daniel Martí committed