Permalink
Commits on May 20, 2011
Commits on May 19, 2011
  1. Check that the option string is not an empty string. If it is, don't add

    "-o" and an empty mountopts to the argument list.
    demonfoo committed May 19, 2011
  2. Found an error message that was using the old offset value; fixed to

    use the new, correct one.
    demonfoo committed May 19, 2011
  3. Make sure the first element in the args list is an empty string always;

    didn't think about the fact that if no "mountopts" is given, but "debug"
    is true, there won't be one.
    demonfoo committed May 19, 2011
  4. Remove inclusion of Data::Dumper. Remove incorrect duplicate document…

    …ation
    
    for readdir().
    demonfoo committed May 19, 2011
  5. Move XATTR_{CREATE,REPLACE} into the XS code, so we can get the

    definitions of the constants from sys/xattr.h instead of setting them
    to arbitrary platform-specific constant values.
    demonfoo committed May 19, 2011
  6. Remove a couple of unnecessary '#if FUSE_VERSION >= 24' blocks in the

    _PLfuse_create implementation. If the create() wrapper is supported
    (as of FUSE 2.5), we know those lines necessarily have to work, so
    the conditional is pointless.
    demonfoo committed May 19, 2011
  7. Align groups of hv_{fetch,store} calls. Compare to NULL, instead of a…

    …ssuming
    
    NULL is 0 (most arches it is, but it's not necessary a universal constant).
    Also make the hash building code in _PLfuse_create() consistent with
    the code in _PLfuse_open().
    demonfoo committed May 19, 2011
Commits on May 18, 2011
  1. Assorted minor cleanups. Restore 'symlink' fops member. Better handle

    NULL file arguments for functions that can operate on file/directory
    handles.
    demonfoo committed May 18, 2011
  2. Add return checking to several asprintf()s used for non 64-bit

    architectures. Also, abbreviate several unnecessary 4-line 'if (rv) ...'
    blocks to a single line with a ternary operator, as it's cleaner and
    (IMO) easier to read.
    demonfoo committed May 18, 2011
  3. Export the 'private_data' member of the fuse_context struct as

    'private', if any is set (via the init() function). Also, export the
    'umask' member if built against FUSE 2.8 or later.
    demonfoo committed May 18, 2011
  4. Implement additional FUSE operations.

    Implement all of the following:
     - opendir
     - releasedir
     - fsyncdir
     - init
     - destroy
     - access
     - create
     - ftruncate
     - fgetattr
     - lock
     - utimens
     - bmap
    
    Also replace the deficient readdir() operation with my own, which
    allows for significantly greater efficiency, and supports directory
    handles (as can be returned from opendir()). Also also, instead of
    using static initialization of fields to zero out the fops structure,
    call memset() in the INIT block of perl_fuse_main().
    demonfoo committed May 18, 2011
  5. Fold margs and fargs together into args; this fixes the handling of

    the '-o big_writes' mount option, which previously did not work
    at all.
    demonfoo committed May 18, 2011
  6. Handle getdir entries in order passed. Currently they are handed to the

    filler call in reverse order; this is kind of a pain in the butt.
    demonfoo committed May 18, 2011
  7. Add the fuse_version() static method. This is the basis of version

    checking required for later changes.
    demonfoo committed May 18, 2011
Commits on Feb 28, 2011
  1. a couple more file handle bugfixes

    -only run mg_find for SV's of type SVt_PVMG per "if the SV is not of type SVt_PVMG, Perl may core dump." under Finding Magic in perlguts
    -hv_store_ent returns NULL when storing an SV to an HV with tie magic, such as when the HV is utilizing threads::shared
    frett committed Feb 28, 2011
Commits on Feb 26, 2011
  1. a couple file handle bugfixes

    -make sure to adjust the refcount when storing a file handle
    -use the set/get magic macros instead of the underlying functions
    frett committed Feb 26, 2011
Commits on Feb 25, 2011
  1. cleanup example

    committed Feb 25, 2011
  2. document readdir

    committed Feb 25, 2011
  3. close RT #55953 - readdir

    committed Feb 25, 2011
  4. Merge branch 'frett-readdir'

    committed Feb 25, 2011
  5. Merge branch 'rt-55953-readdir' into master

    Conflicts:
    	AUTHORS
    	Fuse.xs
    frett committed Feb 25, 2011
Commits on Feb 24, 2011
  1. RT#55953 added readdir implementation

    cyga committed with Feb 24, 2011
Commits on Feb 16, 2011
  1. reduce code duplication in the CLONE method and make sure to dup the …

    …handles object when CLONEing
    frett committed Feb 16, 2011
Commits on Feb 15, 2011
  1. fixed thread cloning in <= perl5.10.0

    the pointer table used in cloning was destroyed before calling CLONE methods in <= perl5.10.0
    frett committed Feb 15, 2011
  2. not having a supported threads model shouldn't be fatal, fallback to …

    …non-threaded mode instead
    frett committed Feb 15, 2011