Commit graph

232 commits

Author SHA1 Message Date
dzsekijo
8b37312236 random docstring fixes 2007-05-15 13:53:19 +00:00
dzsekijo
4e22c3952c make setup.py PyPI compatible 2007-05-15 13:40:56 +00:00
dzsekijo
fdc05771d9 make version string adhere to FUSE versioning conventions 2007-05-14 22:56:55 +00:00
dzsekijo
5424512e5d add support for Python egg creation 2007-05-14 22:43:59 +00:00
dzsekijo
d36a421687 added support for utimens and bmap methods 2007-05-11 13:23:06 +00:00
dzsekijo
c5bd8185e5 use the dedicated size_t value builder if Python supports it (version >= 2.5.0) 2007-05-11 09:41:18 +00:00
dzsekijo
1293a1304d minor meta fixes 2007-05-07 23:17:10 +00:00
dzsekijo
a8a22c55a0 add support for advisory locking ("lock" filesystem method) 2007-05-07 21:46:44 +00:00
dzsekijo
a3329df184 refactor the classes representing system structures 2007-05-07 21:28:58 +00:00
dzsekijo
bc6033be23 Fix flush and fsync in xmp.py.
- Don't call file.flush() if file is not open for writing
  (a fix for OS-es which adhere more to POSIX than Linux in this respect,
  eg. *BSD).
- Do call file.flush() both from both of fsync and flush methods because data
  is to be flushed out from userspace cache anyway before we can go on.
2007-05-07 21:03:34 +00:00
dzsekijo
a32dc39e08 get rid of handcrafted ChangeLog 2007-05-02 23:10:06 +00:00
dzsekijo
e4bbad4f40 delete leaked in junk code 2007-05-01 15:21:08 +00:00
dzsekijo
a03ce273b0 make keep_cache and direct_io settable filewise 2007-05-01 15:04:19 +00:00
dzsekijo
2aeccd0989 check for float stat fields everywhere, not only on OS X 2007-03-13 12:34:10 +00:00
dzsekijo
1c6da07009 document file class inistantiation via OPEN vs. via CREATE 2007-02-27 17:50:33 +00:00
dzsekijo
272bfc0bbb Handle float stat fields of OS X.
Patch based on code by Paul Fredrickson.
2007-02-24 01:55:54 +00:00
dzsekijo
41e55823fb fix memory leak in FuseGetContext() 2007-01-18 23:13:21 +00:00
dzsekijo
93e64d1b4b Clean up header inclusions.
Assisted by Eric Evans.
2006-12-14 09:45:08 +00:00
dzsekijo
93651eeabf hush some warnings 2006-12-13 08:29:18 +00:00
dzsekijo
2ac18c6ebc clean up threading related code a bit, let module be compiled for Pythons with no threading support 2006-12-12 17:44:29 +00:00
dzsekijo
a6e156fbe3 Move Python locking into method handlers in order to avoid LORs.
Bug reported by Eric Evans. Fix based on idea and code from Miklos
Szeredi.
2006-12-11 21:40:17 +00:00
dzsekijo
f4050ee5d8 further refinements on Py -> C conversion 2006-11-30 13:10:17 +00:00
dzsekijo
d13419ac6f Fix bogus conversion from Python integer types to C ones when C-ifying system structures.
Bug reported by David Loveall.
2006-11-29 17:39:02 +00:00
dzsekijo
caffe5fd92 announce version of the current API by means of FUSE_PYTHON_API_VERSION constant 2006-10-14 20:48:04 +00:00
dzsekijo
4ca78fbdad make fuse-python API explicitly specifiable instead of just having a compat hook 2006-10-14 15:57:15 +00:00
dzsekijo
be44e3c941 emit a more useful error message when examples fail to import fuse 2006-10-12 23:53:50 +00:00
dzsekijo
e2b3ad6eed fix 2006-10-12 23:51:40 +00:00
dzsekijo
2d0e9dc6aa added support for init and destroy FUSE operations 2006-10-12 23:24:38 +00:00
dzsekijo
7cf2a3523a added FAQ 2006-08-29 10:44:08 +00:00
dzsekijo
2ec159d7da Let user override FUSE_USE_VERSION.
This might help in getting around problems with FUSE snapshots
  when the API is in motion.
  Based on report by Pter Szilgyi
2006-07-20 07:36:18 +00:00
dzsekijo
78c874dbed Resolve some Python 2.3 compatibility problems.
Issues reported by Tienshiao Ma.
2006-07-17 10:26:25 +00:00
dzsekijo
6c1743d646 nitpick about some subtleties in xmp.py 2006-06-19 23:13:45 +00:00
dzsekijo
3a58c58ed7 fix bogus signature upon `create' method invocation 2006-06-19 22:54:16 +00:00
dzsekijo
213d8e59e3 Fix.
- fix bug in parsing two-in-one options
 - make SubOptsHive (FuseArgs) string representation sorted
2006-06-07 09:10:54 +00:00
dzsekijo
76f21d74bd make Fuse.fuseoptref() detect "-o [foo]bar" like two-in-one options 2006-06-07 08:18:22 +00:00
dzsekijo
0599b334aa let user specify an alternative parser class/`-o' handler for Fuse 2006-06-07 07:42:44 +00:00
dzsekijo
5138d0eb30 set True as the default value of the `fetch_mp' parser option 2006-06-06 22:24:57 +00:00
dzsekijo
9a004ad3cc Restructured source tree / II.:
- Created fuseparts package
 - <generic opt parsing code> -> fuseparts/subbedoptparse.py
 - _fusemeta.py -> fuseparts/__init__.py
 - _fusemodule.c -> fuseparts/_fusemodule.c
2006-06-06 20:19:10 +00:00
dzsekijo
e962bfae5a fix out-of-date information in INSTALL 2006-06-06 18:47:00 +00:00
dzsekijo
8c4546ecbf Restructured source tree, updated docs/metainformation.
Source tree changes:
 - README -> README.historic
 - xmp.py -> example/xmp.py
 - added example/hello.py (contributed by Andrew Straw)
 - added example/_find_fuse_parts.py (aux script)
2006-06-06 18:39:03 +00:00
dzsekijo
fa051fba9b updated docs 2006-06-06 07:00:07 +00:00
dzsekijo
9a252a04d9 replace foo.has_key(bar)' with bar in foo' 2006-06-06 05:00:26 +00:00
dzsekijo
fa51f68eb0 add support for querying any fs method in feature requester 2006-06-06 04:44:14 +00:00
dzsekijo
22d10fca48 Option parsing refactorization.
- Generic suboption parsing code separated into a dedicated classes
 - Implement FUSE option parsing by subclassing the aforementioned
   classes
2006-06-06 01:13:47 +00:00
dzsekijo
a73715442c some refinements in method naming and feature requesting 2006-06-05 00:04:14 +00:00
dzsekijo
ab610d0bdb sanitize xmp.py methods 2006-06-04 22:45:33 +00:00
dzsekijo
a911de4dbe Rewrite feature requesting interface.
- rename functions: `feature_need' -> `feature_needs' and
   `feature_req' -> `feature_assert'
 - give a more robust and clean implementation
2006-06-04 19:51:07 +00:00
dzsekijo
0cd67da991 added interface for retrieving FUSE API version and requiring features from the underlying library 2006-06-04 17:37:21 +00:00
dzsekijo
3c340d7470 Added support for the rest of FUSE methods.
(flush, fgetattr, ftruncate, access, getxattr, listxattr, setxattr,
removexattr)
2006-06-04 14:35:45 +00:00
dzsekijo
54d8d40891 fix bogus termination of directory reading 2006-06-01 15:14:31 +00:00