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 78
| Author | Revision | Comments | Message | Labels | Date |
|---|---|---|---|---|---|
|
|
0dbf02af5921 |
renaming toxi.core ns into toxi.macros, renaming IMesh/add-faces into conjf, add-meshes into merge-meshes, better use of destructuring in aabb/->mesh & in trianglemesh3d fn's, adding radius only version for ellipse constructor |
|
||
|
|
2a5a500081f0 |
adding union fn to IRect and implementing for Rect, adding unit test, fixing indentation in linestrip2d |
|
||
|
|
f750efc96502 |
updating linestrip2d/point-on-line to return first or last vertex if t is out of range |
|
||
|
|
a88e4805e139 |
implementing successive-pairs fn's as fully lazy (no more use of (drop) & (butlast)), making common/edges* fully lazy, updating add2d/sub2d & add3d/sub3d to also accept pure coordinates as arguments |
|
||
|
|
c44acc3d6721 |
updating ILine protocol and line2d implementation, adding new tests |
|
||
|
|
065f0591df17 |
adding apply-to-keys to collections.clj, adding transform/rotate/scale/translate/center-keys* fn's to common.clj, adding first bunch of docstrings to core protocols, implementing more protocols for line2d, linestrip2d, polygon2d, removing version meta from various functions, doing minor changes as proposed by kibitz, updating tests |
|
||
|
|
c4fac5056fde |
ongoing API simplification/consolidation and introduction of new toxi.geom.common NS for reusable functions, mainly for vertex containers. Added IHeading protocol and moved several fn's into IPath from other protocols, updating unit tests |
|
||
|
|
a47d932c8333 |
adding extrude & tesselate fn's to IPolygon2D, adding extrude-vertices to line-common, refactoring m3d-add-faces and adding m3d-flip (incl. IFlippable protocol), updating tests |
|
||
|
|
b6cafb6791fa |
moving generic line related fn's into new toxi.geom.line-common ns, adding IPath protocol and implementing for line2d, linestrip2d & polygon2d, adding new radius-only constructor version for ellipse |
|
||
|
|
30256369bf4e |
major structural refactoring: |
|
||
|
|
19f3bf8c5bdd |
adding IShape/center method, implementing for polygon2d and adding unit test |
|
||
|
|
57073a541b3f |
adding linestrip2d, moving protocol definitions into toxi.geom.core (removing protocols.clj), re-organizing/re-distributing several functions into different protocols (added IIntersectable & IProximity), updating unit tests |
|
||
|
|
7acd847c9029 |
bugfix polygon2d/transform to convert vertices into vec3d first before applying matrix, adding unit test for transform fn |
|
||
|
|
035f1d91a590 |
Closed branch module-refactor |
|
||
|
|
480396c85a4d |
Merge with module-refactor branch |
|
||
|
|
bc05d4576409 |
adding toxi.geom.clip ns with clip-convex fn (ported from ConvexPolygonClipper.java) |
|
||
|
|
33c55376def3 |
adding dynamic *header* string to objexport and replacing (apply str …) with clojure.string/join |
|
||
|
|
91af749ee7bb |
Added tag 0.2.0-20120309 for changeset 32c0f1a39439 |
|
||
|
|
32c0f1a39439 |
updating project version to 0.2.0-SNAPSHOT |
|
||
|
|
a1fc54d11e4d |
updating toxi.color files |
|
||
|
|
1eef4b7a014e |
updating all remaining toxi.geom modules & their tests to new project structure, done minor tweaks to various fn's as proposed by kibit |
|
||
|
|
338ab38c75e8 |
moving unique-item-index fn's from toxi.core to new toxi.data.index ns, also moving objexport & trianglemesh3d into new toxi.geom.mesh ns |
|
||
|
|
8a784e16a8f3 |
updating circle, ellipse, rect & polygon2d to new structure, renaming all to-XXX fn's to ->XXX, updating unit tests, adding :dimensions to IRect |
|
||
|
|
9176e16bbb8b |
adding no-arg version to math/random |
|
||
|
|
30b35c009825 |
updating line2d & unit tests |
|
||
|
|
b5ff8312e5b2 |
updating .hgignore |
|
||
|
|
d2b60c25f7a3 |
started refractoring geom modules to avoid use of (load), finished vec2d/3d so far, incl. updated unit tests |
|
||
|
|
473f144b1e95 |
renaming project into toxiclibs-clj, updating octree and scenegraph test |
|
||
|
|
05f9f3906d50 |
adding octree.clj |
|
||
|
|
bd07f038b896 |
updating unit tests |
|