]> git.k1024.org Git - pylibacl.git/blob - NEWS
Unify env and python variable TEST_DIR
[pylibacl.git] / NEWS
1 News
2 ====
3
4 Version 0.5.1
5 -------------
6
7 A bug-fix only release. Critical bugs (memory leaks and possible
8 segmentation faults) have been fixed thanks to Dave Malcolm and his
9 ``cpychecker`` tool. Additionally, some compatibility issues with Python
10 3.x have been fixed (str() methods returning bytes).
11
12 The documentation has been improved and changed from epydoc to sphinx;
13 note however that the documentation is still auto-generated from the
14 docstrings.
15
16 Project reorganisation: the project home page has been moved from
17 SourceForge to GitHub.
18
19
20 Version 0.5
21 -----------
22
23 Added support for Python 3.x and improved support for Unicode filenames.
24
25 Version 0.4
26 -----------
27
28 License
29 ~~~~~~~
30
31 Starting with this version, pylibacl is licensed under LGPL 2.1,
32 Febryary 1999 or any later versions (see README and COPYING).
33
34 Linux support
35 ~~~~~~~~~~~~~
36
37 A few more Linux-specific functions:
38
39 - add the ACL.equiv_mode() method, which will return the equivalent
40   octal mode if this is a basic ACL and raise an IOError exception
41   otherwise
42
43 - add the acl_extended(...) function, which will check if an fd or path
44   has an extended ACL
45
46 FreeBSD support
47 ~~~~~~~~~~~~~~~
48
49 FreeBSD 7.x will have almost all the acl manipulation functions that
50 Linux has, with the exception of __getstate__/__setstate__. As a
51 workaround, use the str() and ACL(text=...) methods to pass around
52 textual representations.
53
54 Interface
55 ~~~~~~~~~
56
57 At module level there are now a few constants exported for easy-checking
58 at runtime what features have been compiled in:
59
60 - HAS_ACL_FROM_MODE, denoting whether the ACL constructor supports the
61   mode=0xxx parameter
62
63 - HAS_ACL_CHECK, denoting whether ACL instances support the check()
64   method
65
66 - HAS_ACL_ENTRY, denoting whether ACL manipulation is possible and the
67   Entry and Permset classes are available
68
69 - HAS_EXTENEDED_CHECK, denoting whether the acl_extended function is
70   supported
71
72 - HAS_EQUIV_MODE, denoting whether ACL instances support the
73   equiv_mode() method
74
75 Internals
76 ~~~~~~~~~
77
78 Many functions have now unittests, which is a good thing.
79
80
81 Version 0.3
82 -----------
83
84 Linux support
85 ~~~~~~~~~~~~~
86
87 Under Linux, implement more functions from libacl:
88
89 - add ACL(mode=...), implementing acl_from_mode
90 - add ACL().to_any_text, implementing acl_to_any_text
91 - add ACL comparison, using acl_cmp
92 - add ACL().check, which is a more descriptive function than validate
93
94 .. Local Variables:
95 .. mode: rst
96 .. fill-column: 72
97 .. End: