Karsten Schmidt is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againSearching for commits
Mercurial supports a functional language for selecting a set of revisions.
The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.
Identifiers such as branch names must be quoted with single
or double quotes if they contain characters outside of
[._a-zA-Z0-9\x80-\xff] or if they match one of the
predefined predicates.
Prefix operators
- not x
- Changesets not in x. Short form is
! x.
Infix operators
- x::y
-
A DAG range, meaning all changesets that are descendants of x and ancestors of y, including x and y themselves. If the first endpoint is left out, this is equivalent to
ancestors(y), if the second is left out it is equivalent todescendants(x).An alternative syntax is
x..y. - x:y
- All changesets with revision numbers between x and y, both inclusive. Either endpoint can be left out, they default to 0 and tip.
- x and y
- The intersection of changesets in x and y. Short form is
x & y. - x or y
- The union of changesets in x and y. There are two alternative
short forms:
x | yandx + y. - x - y
- Changesets in x but not in y.
Predicates
- all()
- All changesets, the same as
0:tip. - ancestor(single, single)
- Greatest common ancestor of the two changesets.
- ancestors(set)
- Changesets that are ancestors of a changeset in set.
- author(string)
- Alias for
user(string). - bookmark([name])
- The named bookmark or all bookmarks.
- branch(set)
- All changesets belonging to the branches of changesets in set.
- children(set)
- Child changesets of changesets in set.
- closed()
- Changeset is closed.
- date(interval)
- Changesets within the interval, see
hg help dates. - descendants(set)
- Changesets which are descendants of changesets in set.
- file(pattern)
- Changesets affecting files matched by pattern.
- follow()
- An alias for
::.(ancestors of the working copy's first parent). - grep(regex)
- Like
keyword(string)but accepts a regex. Usegrep(r'...')to ensure special escape characters are handled correctly. - head()
- Changeset is a named branch head.
- heads(set)
- Members of set with no children in set.
- id(string)
- Revision non-ambiguously specified by the given hex string prefix.
- keyword(string)
- Search commit message, user name, and names of changed files for string.
- limit(set, n)
- First n members of set.
- max(set)
- Changeset with highest revision number in set.
- merge()
- Changeset is a merge changeset.
- min(set)
- Changeset with lowest revision number in set.
- p1([set])
- First parent of changesets in set, or the working directory.
- p2([set])
- Second parent of changesets in set, or the working directory.
- parents([set])
- The set of all parents for all changesets in set, or the working directory.
- present(set)
- An empty set, if any revision in set isn't found; otherwise, all revisions in set.
- rev(number)
- Revision with the given numeric identifier.
- roots(set)
- Changesets with no parent changeset in set.
- tag(name)
- The specified tag by name, or all tagged revisions if no name is given.
- user(string)
- User name is string.
Commits 1–30 of 933
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
|
002972a60e15 |
refactoring/rewriting PointQuadtree to dynamically split & re-balance branch nodes, now simpler API with no need for min. node size, will be used as template for rewriting PointOctree too, updating SpatialIndex query methods to ask for optional, existing results list, adding Shape2D.getEdges(), updating tests |
|
||
|
|
8d5153d32f0a |
refactoring PointQuadtree to implement SpatialIndex API, updating SpatialIndex methods to return boolean instead of ints, updating AttractTest2D & QuadtreeTest |
|
||
|
|
48f99b98bc83 |
extracting new generic interface toxi.geom.SpatialIndex and updating its SpatialBins implementation and related changes in 2d physics |
|
||
|
|
763ad7a8ae5d |
adding SpatialBins & CoordinateExtractor, updating VerletPhysics2D & AttractionBehavior2D to support optional spatial indexing using SpatialBins |
|
||
|
|
2da65df85570 |
javadoc updates/corrections |
|
||
|
|
0ad5d044b25a |
updating test applets to latest quad/octree changes |
|
||
|
|
2c0176950dd8 |
adding Rect.intersectsCircle(), adding PointQuadtree.getPointsWithinCircle(), updating quad & ochtree to return Lists instead of ArrayLists, updating OctreeDemo, TreeGrowth, DLASpiral, adding QuadtreeTest |
|
||
|
|
689ddcd9bea3 |
minor refactoring of LineStrip2D.getDecimatedVertices(), renaming Matrix3d.getElement() into get(), removing individual element getters, adding setters/getters to FluidSolver2D, updating tests to reflect recent API changes, renaming PointCloud into PointCloud3D |
|
||
|
|
e59d53581293 |
updating ProfilePathAlignment demo to new spline syntax, updating physics readme |
|
||
|
|
b1955d9a378f |
fixed |
|
||
|
|
599d2a58cdf6 |
issue |
|
||
|
|
032471906b66 |
updating ErosionFunction and adding getters/setter for TalusAngleErosion |
|
||
|
|
91ff272b669d |
updating P5 examples with API changes and adding MeshAlignToTriangle example |
|
||
|
|
5acdef0df9f6 |
changing behavior for FileUtils.createDirectories() to literally create any directories for the given path, re-creating existing behavior as createDirectoriesForFile() (creating parent directories for a given file) |
|
||
|
|
203b4bda6b2a |
minor optimization in ScaleMap.getClippedValueFor() & getMappedValueFor() |
|
||
|
|
9ba0a16897f1 |
adding Box/Plane/MeshIntersector implementations of Intersector3D |
|
||
|
|
6012bfd45a14 |
adding Terrain.clear() & updateElevation() methods |
|
||
|
|
94bd573365f0 |
updating ReadonlyVec2D/Vec2D.min()/max() & minSelf()/maxSelf() to work with ReadonlyVec2D, updating Vec2D.angleBetween() to workaround float rounding errors |
|
||
|
|
426cf1202f88 |
refactoring/improving Triangle3D.containsPoint() now using barycentric coordinates, minor updates to isSameClockDir() too |
|
||
|
|
41c8859a9c9b |
adding Ray2D/3D.setNormalizedDirection() for pre-normalized vectors |
|
||
|
|
7cba972224d4 |
adding Polygon2D.scaleSize() methods |
|
||
|
|
4239f3c325bf |
bug fix Rect constructor for 2 points, ensuring width/height are always positive |
|
||
|
|
46e6bbb5606b |
adding Shape2D.getBoundingCircle() |
|
||
|
|
85a327305189 |
adding LineStrip2D.intersectLine() and scale() methods |
|
||
|
|
b32d3fa4e044 |
updating Voronoi.addPoints() to work with any java.util collection |
|
||
|
|
bcab35453edf |
adding NurbsCurve.toPolygon2D() and implementing for BasicNurbsCurve |
|
||
|
|
4d82ec4a26e8 |
overriding Integer/Float/DoubleRange.fromSamples() for varargs/primitive arrays |
|
||
|
|
d4e77f93ff97 |
refactoring toxi.sim.erosion.ErosionFunction: adding setElevation(), adding erodeWithinPolygon(), renaming erode() into erodeAll() |
|
||
|
|
2d292c2ec6bc |
MeshLatticBuilder: adding getter/setter for volume, adding setInputBounds() |
|
||
|
|
8e8c514c4233 |
updating RectConstraint to act as both container or obstacle, fixed bug in GravityBehavior2D/3D when attaching as local behavior, minor optimization in VerletPhysics2D/3D to only update springs (times numIterations) when there're springs... |
|