Commit graph

232 commits

Author SHA1 Message Date
dzsekijo
868ed16635 distillate Fuse instance -> <file> method proxying code into a dedicated class 2006-06-01 13:07:07 +00:00
dzsekijo
b1c715a98f added licensing information 2006-06-01 08:20:26 +00:00
dzsekijo
fe2983b005 Update code so that it can use newer FUSE features / II.
Update directory related features:
 - Switch to readdir() from deprecated getdir() method.
 - Add support for new directory methods.
 - Make directory I/O stateful.
 - Extend OO wrappers to directories.
 - Switch from sequence based data transfer model to general
 - iterator based one.
 - Add a dedicated class to carry directory entries instead
 - of using tuples.
 - Add compact hooks.
2006-05-31 21:43:14 +00:00
dzsekijo
2bcf2878f2 Update code so that it can use newer FUSE features / I.
Make file I/O stateful:
  - If `open' methods returns an object, that will
    be preserved and passed around to I/O requests
    on the file in question.
  - Added support for `create' method
  - Wrap this mechanism into OO: file I/O methods
    can be implemented via an user specified class.
  - Add warning to README.new_fusepy_api
2006-05-31 16:42:54 +00:00
dzsekijo
4fad6a4f0e fix a statfs compat bug 2006-05-31 16:12:05 +00:00
dzsekijo
340af65a4e fix stat/offset integer overflows 2006-05-31 14:07:38 +00:00
dzsekijo
2cd16da84d Compat layer related fixes. 2006-05-29 21:53:06 +00:00
dzsekijo
305adbe6ad one Py_DECREF was put at the wrong place... 2006-05-29 13:20:18 +00:00
dzsekijo
af69299597 add some missing Py_DECREF-s 2006-05-29 13:14:18 +00:00
dzsekijo
47630721e3 Add support for st_rdev, st_blksize, st_block stat fields.
Noticed by Robert Bradford.
2006-05-28 23:53:17 +00:00
dzsekijo
03de2eb4e3 minor fixes 2006-05-28 23:40:38 +00:00
dzsekijo
0a3be77f65 Switch getattr / statfs to an object oriented interface. 2006-05-28 13:56:28 +00:00
dzsekijo
4158d7b0f7 add os.statvfs() compatible statvfs method
[mark statfs deprecated but keep working via a compat shim]
2006-05-27 18:58:51 +00:00
dzsekijo
b69e8d0b8e Fix: require the fuse argvec to be a non-empty sequence and check it properly. 2006-05-27 11:40:45 +00:00
dzsekijo
953afc77ce fix typo in xmp.py 2006-05-27 09:06:37 +00:00
dzsekijo
53fa1fa987 New Python API with enhanced commandline handling. 2006-05-27 08:04:40 +00:00
dzsekijo
5f77e13bbf setup.py related fixes 2006-05-27 07:23:51 +00:00
dzsekijo
120f3f0c10 Syntax cleanup 2: fix indetation, uniformize look 2006-05-26 16:01:53 +00:00
dzsekijo
217e3919e4 Syntax cleanup 1: strip leo markup. 2006-05-26 15:58:29 +00:00
dzsekijo
f148047acd Revamp fs initialization code. 2006-05-24 05:04:36 +00:00
dzsekijo
7b3b54b8d5 make use of library opts also when FUSE_VERSION >= 25 2006-05-23 20:00:10 +00:00
dzsekijo
24aae43bb3 fix previous fix 2006-05-23 18:23:14 +00:00
dzsekijo
5933e98182 result of argument type check was ignored in FuseInvalidate(), fix it 2006-05-23 16:00:35 +00:00
dzsekijo
894ade0a62 Update code so that it can be compiled against FUSE libs with API from 21 to 26 2006-05-23 07:08:49 +00:00
dzsekijo
d320c71314 Rebase build system on pkg-config. 2006-05-23 07:02:29 +00:00
dzsekijo
5a61be174c Fix statfs index mismatch in xmp.py 2006-05-23 06:53:03 +00:00
sdelafond
192971f945 * Removed unnecessary "st->st_ino = 0" line in _fusemodule.c.
* Added __init__ argument handling in fuse.py. Command-line
  arguments still take precedence over contructor ones.
* Removed unused os module from fuse.py.
* Changed  def read(self, path, length, offset) to
  def read(self, path, length, offset) so that len() can be
  used inside read().
2006-02-04 19:32:25 +00:00
sdelafond
4a9f49eb30 Changed license from GPL to LGPL, after approval from Steven James and
Jeff Epler.
2005-09-19 00:43:58 +00:00
sdelafond
f23b3b6dca Added support for statfs.bavail so that df can correctly report disk usage. 2005-04-07 18:25:07 +00:00
sdelafond
532e2aee70 Put Steven James name in, removed mine: his fixes are much cleaner
than mine.
2004-11-22 06:53:27 +00:00
sdelafond
57d4432e33 Took over maintainership. 2004-11-22 01:40:12 +00:00
mszeredi
e6e00fc574 Initial revision 2004-11-11 15:41:27 +00:00