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–32 of 32

Author Revision Comments Message Labels Date
Fredrik Lundh 4ab7abbc3bde Added LittleCMS version query to ImageCms module.
Branch
cms
Fredrik Lundh ccd8600c9801 Added HWND/HDC support to ImageCms.get_display_profile().
Branch
cms
Fredrik Lundh 020f731e557e Added (experimental) method for fetching the ICC profile for the current display (currently Windows only).
Branch
cms
Fredrik Lundh 70942813037c Reopen cms branch.
Branch
cms
Fredrik Lundh 012bcaef916f More cleanup.
Branch
cms
Fredrik Lundh c6b4f350cb78 Build fixes.
Branch
cms
Fredrik Lundh aa8c66838127 Test/documentation tweaks.
Branch
cms
Fredrik Lundh ed91b01551f7 Unified buildTransform and buildTransformFromOpenProfiles.
Branch
cms
Fredrik Lundh 8f996d253c9c Added support for in-memory ICC profiles.
Branch
cms
Fredrik Lundh 420f347d92bf Replaced type wrappers with C-level objects.
Branch
cms
Fredrik Lundh fc53fbd24fce Added basic pythondoc markup, etc.
Branch
cms
Fredrik Lundh 5d1306e8f01e Moved more resource management to Python.
Branch
cms
Fredrik Lundh 9f21acd06064 Moved more error handling to the C level.
Branch
cms
Fredrik Lundh 08d7e774209e Simplied error handling.
Branch
cms
Fredrik Lundh 1412e932abf1 More profile type refactoring.
Branch
cms
Fredrik Lundh 5953747ad812 Made name/info/rendering intent attributes of the profile type.
Branch
cms
Fredrik Lundh 6390a887fb91 Replaced CObject with custom wrappers for increased type safety.
Branch
cms
Fredrik Lundh c73051e66b06 Style tweaks (C89 compatibility, etc).
Branch
cms
Fredrik Lundh bd3c47495a12 Simplified error handling in C code.
Branch
cms
Fredrik Lundh f03e16569438 Handle readonly files when doing "inplace" operations.
Branch
cms
Fredrik Lundh fa5e82c266d8 Fixed problem w. fetching properties for an existing Profile instance.
Branch
cms
Fredrik Lundh 55eb788b1d24 Merge in CMS changes from test system.
Branch
cms
Fredrik Lundh c3734cc23a0c Get rid of fixed-sized buffers.
Branch
cms
Fredrik Lundh 8effb5fb2f16 Skip imagecms test if ImageCms driver not available.
Branch
cms
Fredrik Lundh 7483c21b2909 More CMS smoke tests.
Branch
cms
Fredrik Lundh 4009cac4a1e2 Some basic sanity/smoke tests.
Branch
cms
Fredrik Lundh 1a10c1695238 Style tweaks.
Branch
cms
Fredrik Lundh 7cf00b25f6b3 Moved PIL.pyCMS to PIL.ImageCMS; added Kevin's test script to Tests.
Branch
cms
Fredrik Lundh bc39542a38ef Added Kevin Cazabon's pyCMS package.
Branch
cms
Fredrik Lundh ced6805537e2 Oops. Fixed sRGB filename.
Branch
cms
Fredrik Lundh f6fb54778f6e Added sample ICC profiles (from Kevin Cazabon)
Branch
cms
Fredrik Lundh 4bf415dfe470 Locate LittleCMS library.
Branch
cms