Skip to content

Commit b559d83

Browse files
committed
Updated NEWS with the latest changes, updated version number to 0.15rc1 in anticipation of the upcoming release, cleaned up documentation, and rewrote setup.py with some changes from PLWM.
1 parent b388aa5 commit b559d83

6 files changed

Lines changed: 60 additions & 44 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include MANIFEST.in
22
include README COPYING NEWS TODO
33

4-
global-include .cvsignore
4+
global-include .cvsignore
55

66
recursive-include doc Makefile
77
include doc/src/*.texi

NEWS

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
-*-outline-*-
22

3-
NEWS for Python X Library
3+
NEWS for Python X Library
44

5-
* Version 0.15 ???
5+
* Version 0.15rc1 - 14 Nov 2009
6+
7+
Improved support for newer versions of Mac OS X, a couple of new
8+
extensions, and several bugfixes.
69

710
** Composite extension
811

@@ -14,7 +17,6 @@ together with the DAMAGE and XFIXES extensions. Typically you would
1417
also need RENDER or glX or some similar method of creating fancy
1518
graphics.
1619

17-
1820
** XF86 special function keysyms
1921

2022
Keysym definitions for special function keys found on modern
@@ -26,9 +28,14 @@ importing Xlib.XK:
2628

2729
Xlib.XK.load_keysym_group('xf86')
2830

31+
** RANDR extension
32+
33+
The RANDR extension complements XINERAMA as a way of getting data about the
34+
physical screens making up a virtual screen in X. An example of usage can
35+
be found in examples/xrandr.py.
2936

3037

31-
* Version 0.14 1 Oct 2007 (trialed as 0.14rc1 on 10 Jun 2007)
38+
* Version 0.14 - 1 Oct 2007 (trialed as 0.14rc1 on 10 Jun 2007)
3239

3340
A couple of new extensions, a Python 2.5 fix and a couple of aliases
3441
(Display.get_atom() now uses the internal cache and added
@@ -56,7 +63,7 @@ Bugfix to correct handling of XAuthority file parsing under Python 2.5
5663
causing failed authentication.
5764

5865

59-
* Version 0.13 6 Aug 2006 (trialed as 0.13pre1 on 22 Jul 2006)
66+
* Version 0.13 - 6 Aug 2006 (trialed as 0.13pre1 on 22 Jul 2006)
6067

6168
A small release to incorporate a number of minor corrections and bug
6269
fixes, including small changes to keysym handling, .Xauthority parsing,
@@ -65,7 +72,7 @@ WithdrawnState to WMHints. petli completed documentation for Display
6572
objects.
6673

6774

68-
* Version 0.12 29 Mar 2002
75+
* Version 0.12 - 29 Mar 2002
6976

7077
** SHAPE extension
7178

@@ -79,10 +86,10 @@ http://ftp.x.org/pub/R6.6/xc/doc/hardcopy/Xext/shape.PS.gz
7986

8087
In Python 2.2 FCNTL.FD_CLOEXEC has disappeared and FCNTL on the whole
8188
is deprecated, so that had to be dealt with to make the Xlib work with
82-
that version.
89+
that version.
8390

8491

85-
* Version 0.11 23 Feb 2002
92+
* Version 0.11 - 23 Feb 2002
8693

8794
** Regression tests for the protocol definition
8895

@@ -97,7 +104,7 @@ Additionally, a subtle bug in the core engine which could cause a
97104
"can't happen"-error has also been found and fixed.
98105

99106

100-
* Version 0.10 16 Dec 2001
107+
* Version 0.10 - 16 Dec 2001
101108

102109
** Event bugfix
103110

@@ -120,7 +127,7 @@ that will work on some combinations of image and drawable depth. It's
120127
not perfect, but it's a start.
121128

122129

123-
* Version 0.9 4 Dec 2001
130+
* Version 0.9 - 4 Dec 2001
124131

125132
** Documentation improved
126133

@@ -158,7 +165,7 @@ included a comma.
158165

159166

160167

161-
* Version 0.8 12 Jan 2001
168+
* Version 0.8 - 12 Jan 2001
162169

163170
** Uses distutils
164171

@@ -167,10 +174,10 @@ building easier.
167174

168175
** Tested with Python 2.0
169176

170-
A few incompatibilities with Python 2.0 has been fixed.
177+
A few incompatibilities with Python 2.0 has been fixed.
171178

172-
173-
* Version 0.7 8 Jan 2001
179+
180+
* Version 0.7 - 8 Jan 2001
174181

175182
** Fixed the 64-bit platform fix.
176183

@@ -190,7 +197,7 @@ class in Xlib/protocol/rq.py.
190197

191198

192199

193-
* Version 0.6 29 Dec 2000
200+
* Version 0.6 - 29 Dec 2000
194201

195202
** Fix to make python-xlib work on 64-bytes architectures.
196203

@@ -200,7 +207,7 @@ this is 32 bits as expected. On Alpha, it's 64 bits. python-xlib now
200207
probes how large each type code is to avoid this problem.
201208

202209

203-
* Version 0.5 28 Dec 2000
210+
* Version 0.5 - 28 Dec 2000
204211

205212
** Functions implemented to get and set all ICCCM WM properties on
206213
Window objects.
@@ -216,7 +223,7 @@ be fed into utils/parsexbug.py, which will output all requests,
216223
responses, errors and events in a readable format.
217224

218225

219-
* Version 0.4 4 Oct 2000
226+
* Version 0.4 - 4 Oct 2000
220227

221228
** Thread support completed, but not really stresstested yet.
222229

@@ -227,5 +234,3 @@ together with generic Unix code and some simple VMS code.
227234

228235
** The usual bunch of bugfixes.
229236

230-
231-

README

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The Python X Library
2+
The Python X Library
33

44
*** Copyright
55

@@ -17,7 +17,7 @@ details.
1717
*** Requirements
1818

1919
The Python X Library requires Python 1.5.2 or newer. It has been
20-
tested to various extents with Pythons 1.5.2, 2.0 - 2.5.
20+
tested to various extents with Python 1.5.2 and 2.0 through 2.6.
2121

2222

2323
*** Installation
@@ -74,11 +74,12 @@ The low-level protocol is complete, implementing client-side X11R6.
7474
The high-level object oriented interface is also fully functional.
7575
It is possible to write client applications with the library.
7676
Currently, the only real application using Python Xlib is the window
77-
manager PLWM, starting with version 2.0.
77+
manager PLWM, starting with version 2.0.
7878

7979
There is a resource database implementation, ICCCM support and a
80-
framework for adding X extension code. Currently only the XTEST
81-
extension has been implemented.
80+
framework for adding X extension code. Several extensions have been
81+
implemented; (RECORD, SHAPE, Xinerama, Composite, RANDR, and XTEST)
82+
patches for additions are very welcome.
8283

8384
There are most likely still bugs, but the library is at least stable
8485
enough to run PLWM. A continously bigger part of the library is
@@ -106,3 +107,4 @@ from that page as tar.gz-releases and from the CVS tree.
106107
There isn't any real web page yet, only a derivative of this file. It
107108
is located at http://python-xlib.sourceforge.net/. It now also
108109
features the documentation for downloading or browsing.
110+

TODO

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
* Faster, faster! The protocol engine isn't very fast, despite the
2121
optimizations in version 0.7. I've started on this, but it is a big
22-
job.
22+
job.
2323

2424
* The tread support and the protocol engine needs to be stress
2525
tested. They _seem_ to work, but that's no guarantee.
@@ -31,7 +31,7 @@
3131
testing the protocol definitions.
3232

3333
* Porting: the library should be runnable wherever there is a Python
34-
interpreter (with the necessary IPC support, that is.)
34+
interpreter (with the necessary IPC support, that is.)
3535

3636
* Widget set: a Python-optimized widget set using the X library would
3737
be really cute. The AnyGUI project could be a good front-end to
@@ -42,3 +42,4 @@
4242
could be usable for writing X proxies, or for that matter, a
4343
complete X server in Python (this might be a little too spaced-out,
4444
though...)
45+

Xlib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# along with this program; if not, write to the Free Software
1717
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1818

19-
__version__ = (0, 14)
19+
__version__ = (0, 15)
2020

21-
__version_extra__ = ''
21+
__version_extra__ = 'rc1'
2222

2323
__version_string__ = '.'.join(map(str, __version__)) + __version_extra__
2424

setup.py

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
# Distutils script for python-xlib
22

33
from distutils.core import setup
4+
import sys
5+
6+
if sys.version < '2.3.3':
7+
from distutils.dist import DistributionMetadata
8+
DistributionMetadata.download_url = None
49

510
import Xlib
611

7-
setup(name = 'python-xlib',
8-
version = Xlib.__version_string__,
12+
setup(name='python-xlib',
13+
version=Xlib.__version_string__,
14+
15+
description='Python X Library',
16+
download_url='http://sourceforge.net/projects/python-xlib/files/',
17+
url='http://python-xlib.sourceforge.net/',
18+
license='GPL',
919

10-
description = "Python X Library",
11-
url = 'http://python-xlib.sourceforge.net/',
20+
author='Peter Liljenberg',
21+
author_email='petli@ctrl-c.liu.se',
1222

13-
author = 'Peter Liljenberg',
14-
author_email = 'petli@ctrl-c.liu.se',
23+
packages=[
24+
'Xlib',
25+
'Xlib.ext',
26+
'Xlib.keysymdef',
27+
'Xlib.protocol',
28+
'Xlib.support',
29+
'Xlib.xobject'
30+
],
31+
)
1532

16-
packages = [
17-
'Xlib',
18-
'Xlib.ext',
19-
'Xlib.keysymdef',
20-
'Xlib.protocol',
21-
'Xlib.support',
22-
'Xlib.xobject'
23-
],
24-
)

0 commit comments

Comments
 (0)