Fredrik Lundh is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

effbot / pil-2009-raclette http://effbot.org/zone/pil-index.htm

Work repository for PIL 1.1.7 and beyond. The "default" branch should be fairly solid, the other branches less so. For production use, see the pil-117 repository.

Clone this repository (size: 1.6 MB): HTTPS / SSH
hg clone https://bitbucket.org/effbot/pil-2009-raclette
hg clone ssh://hg@bitbucket.org/effbot/pil-2009-raclette

Searching 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 to descendants(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 | y and x + 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. Use grep(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 447

Author Revision Comments Message Labels Date
Fredrik Lundh 6a64b3083e35 Added Python interpreter override mechanism.
Tag
pil-120a0-20110108
Fredrik Lundh 6a37dbdfba19 Made feature check work under 3.2.
Fredrik Lundh 0ac3583b8a6e From Sandro Mani:
Fredrik Lundh 5388258f8ec0 Release preparations.
Fredrik Lundh 1ea25dd92178 Install cleanly under Python 3.
Fredrik Lundh 00e2b245b697 Tweaks.
Fredrik Lundh 71b9edf33b21 Don't crash in selftest if binary extensions not present.
Fredrik Lundh 39f231fda890 Removed local copy of doctest.py
Fredrik Lundh e247e0c0dfd4 Don't build extensions for Python 3.X yet.
Fredrik Lundh c4d9b862088f Make sure CID is stored as string.
Fredrik Lundh 341f11463da7 Store quantization arrays as lists.
Fredrik Lundh 3be1d3128a62 Added str/byte helpers.
Fredrik Lundh 498b9c6e9e63 Hacky ByteArray implementation for Python 3.X.
Fredrik Lundh 01734a5a6c43 Use exc_info() instead of exc_type/exc_value
Fredrik Lundh 24057cf6bdd4 Only import ImagePalette, ImageMode, and the warnings module when
Fredrik Lundh 29c8bc857516 Added basic binary stream test.
Fredrik Lundh ba0069bfa9c9 Replace int16/int32 helpers with stream get parser method.
Fredrik Lundh 6b1b0d371215 Fixed a few more integer division issues.
Fredrik Lundh b172bbbf32f6 Fixed a few integer division issues.
Fredrik Lundh 9256c873fbff Repaired 2.3 compatibility.
Fredrik Lundh 77e93940a7dd Fixed isinstance call.
Fredrik Lundh 20b8a17e8af8 Print version numbers for available support libraries, if known.
Fredrik Lundh bb918d6d157b Ignore directories and PDF files.
Fredrik Lundh a2c277880971 Mark init functions with PyMODINIT_FUNC
Fredrik Lundh fd86523f89c6 Updated setup and selftest to deal with new package layout.
Fredrik Lundh f6425f467061 Removed string module depencendy in make-manifest
Fredrik Lundh aa282e2a2a19 Ignore autogenerated MANIFEST file.
Fredrik Lundh 0455ba64f300 Rough 3.X support layer.
Fredrik Lundh 874630050099 Don't use 2.X-specific syntax in setup.py
Fredrik Lundh 7636b42b2b44 Added a few more Image-specific exception subclasses.
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 14
  8. 15
  9. »