Commit graph

208 commits

Author SHA1 Message Date
Elan Ruusamäe
f847ea23af Refactor makefile to support building multiple wheel targets 2024-02-17 17:19:00 +02:00
Sébastien Delafond
6c2732faac
Merge pull request #62 from ericpruitt/buffer-support
Add support for objects that support buffer protocol for "read" calls
2024-01-29 20:09:40 +01:00
Eric Pruitt
aa0eebb273 Add read support for objects that support buffer protocol 2024-01-27 16:47:11 -08:00
Sébastien Delafond
6042f35374
Merge pull request #58 from s-t-e-v-e-n-k/no-distutils-py312
Do not unilaterally import distutils in setup.py
2024-01-16 08:50:12 +01:00
Sébastien Delafond
05518a1d04 actions: enable workflow on PRs 2024-01-16 08:46:50 +01:00
Steve Kowalik
2403940124 Do not unilaterally import distutils in setup.py
Python 3.12 removed distutils completly, so also attempt to import
Extension from setuptools, and if that fails, to import it from
distutils.
2024-01-16 15:43:17 +11:00
Elan Ruusamäe
e6c876f94e
python-3 compatible example/cups.py, and associated documentation imported from the wiki (Closes: #54)
* Add README.cupsfs.md

Imported from Wiki: Initial Home page

Co-authored-by: Elan Ruusamäe <glen@delfi.ee>

* Extract cups.py to example directory

* Add python3 fixes

* Apply 2to3 fixes

* Format and re-indent to satisfy flake8

* Avoid star import as unable to detect undefined names

* Fix py3 issues in README.cups.md

* Apply spelling fixes to README.cups.md

* Cleanup un-needed trailing whitespace

* Fix &gt; in README.cups.md

It's rendered raw, no need to escape ">"

---------

Co-authored-by: Nikolaus Rath <Nikolaus@rath.org>
2023-12-15 08:45:54 +01:00
Sébastien Delafond
03a2f41379 README: explicit reST 2023-12-15 06:13:41 +01:00
Sébastien Delafond
1291bcbc1a README: update build status badge 2023-12-15 06:00:08 +01:00
Sébastien Delafond
93775c3d37 Bump version to 1.0.7 2023-12-04 09:46:08 +01:00
Sébastien Delafond
0398686309 Use raw strings for regular expressions (Closes: #52) 2023-12-04 09:17:59 +01:00
Sébastien Delafond
db0198b444
Merge pull request #53 from glensc/typos
Doc: Minor spelling fixes
2023-12-04 08:36:48 +01:00
Elan Ruusamäe
891dc5c2f2 Cleanup unused os import from example/_find_fuse_parts.py 2023-12-04 01:46:58 +02:00
Elan Ruusamäe
259d23bc52 Fix spelling errors in example/xmp.py 2023-12-04 01:46:47 +02:00
Elan Ruusamäe
eccf7613e8 Fix spelling errors in README.new_fusepy_api 2023-12-04 01:46:30 +02:00
Sébastien Delafond
49c05da3e3 actions: workflow_dispatch 2023-11-12 15:06:11 +01:00
Sébastien Delafond
ed75fac7d1 Bump version to 1.0.6 2023-11-12 15:01:19 +01:00
Sébastien Delafond
0264ec1643 wheel: manylinux_2_28 2023-11-12 15:01:19 +01:00
Sébastien Delafond
3bac4065b8 Travis -> GitHub Actions 2023-11-12 14:30:32 +01:00
Sébastien Delafond
269413b12b Officially support up to python 3.12 2023-11-12 14:30:23 +01:00
Sébastien Delafond
c711772c66 fusemodule: use PyUnicode_GET_LENGTH 2023-11-12 14:30:23 +01:00
Sébastien Delafond
8dcf5a7de9 Bump version to 1.0.5 2022-04-25 08:25:31 +02:00
Sébastien Delafond
efee8ed1e7 travis: use Ubuntu Focal 2022-04-25 08:19:00 +02:00
Sébastien Delafond
12b360b578 travis: add python versions 3.7 to 3.10 2022-04-25 08:06:20 +02:00
Sébastien Delafond
bf9f3a5269
Merge pull request #43 from cjwatson/py-ssize-t-clean
Define PY_SSIZE_T_CLEAN for Python 3.10
2022-04-25 08:01:03 +02:00
Colin Watson
afbd65d77a Define PY_SSIZE_T_CLEAN for Python 3.10
On Python 3.10, `PY_SSIZE_T_CLEAN` must be defined in order to use '#'
formats.  `ioctl_func` needs a slight change to comply with the new
regime.

(Several functions pass `size_t` here, which may be a little dodgy, but
the main point of this change seems to have been to transition from
`int` to `Py_ssize_t`, and at least `size_t` and `Py_ssize_t` have the
same size.)

Closes #41.
2022-04-23 16:29:36 +01:00
Sébastien Delafond
a11cb33c44 Bump version to 1.0.4 2021-05-02 08:20:59 +02:00
Sébastien Delafond
91f54b2e53
Merge pull request #36 from omeg/omeg/fix-str-leak
Fix temporary object leak in MyString_AsEncodedPath()
2021-05-02 08:18:32 +02:00
Sébastien Delafond
2bd2229c93
Merge pull request #35 from omeg/omeg/fix-open-leak
Fix object leak in open_func()
2021-04-15 08:47:01 +02:00
Rafał Wojdyła
14f9f8f444 Fix temporary objects leak 2021-04-07 08:50:29 +00:00
Rafał Wojdyła
24160e991a Fix object leak in open_func() 2021-04-06 11:14:38 +00:00
Sébastien Delafond
ae5668810a Bump version to 1.0.3 2021-02-19 08:26:04 +01:00
Sébastien Delafond
4d277ae28e
Merge pull request #31 from drougge/xmpfix2
Fix file write under Python 2 in xmp.py
2021-02-19 08:24:59 +01:00
Carl Drougge
80be99f817 Fix file write under Python 2 in xmp.py
I broke it with my locking fixes, apparently I only tested reading under
Python 2. (In Python 3 file.write returns the length, so I thought that
was true in Python 2 as well.) Sorry.
2021-02-18 20:21:25 +01:00
Sébastien Delafond
4eb07421cf New 1.0.2 release 2021-02-18 08:27:23 +01:00
Sébastien Delafond
27bb4b84c3
Merge pull request #30 from drougge/xmpfix
Fix race in xmp.py (Closes: #18)
2021-02-18 08:14:40 +01:00
Sébastien Delafond
373ff17ff4
Merge pull request #29 from drougge/pathfixes
Fix surrogateescape handling in fsyncdir/readdir/write
2021-02-18 08:14:19 +01:00
Carl Drougge
d2e922b774 Fix race in xmp.py (Closes: #18)
Using os.pread/os.pwrite is the easy and obvious fix, but unfortunately
those are not available in Python 2, so fall back to a per file lock.
2021-02-17 20:41:21 +01:00
Carl Drougge
1006867eb3 Make xmp.py work on Python 2 again. 2021-02-17 20:40:52 +01:00
Carl Drougge
33f439ddd0 Fix surrogateescape handling in fsyncdir/readdir/write
(Make non-UTF-8 paths work in these functions on Python >= 3.6)
2021-02-17 19:31:03 +01:00
Sébastien Delafond
ec3b879473 Officially support up to python 3.9 2021-01-18 10:17:06 +01:00
Sébastien Delafond
34371c0710 Bump version to 1.0.1 2021-01-18 10:10:59 +01:00
Sébastien Delafond
b5cdcde6ae
Merge pull request #28 from seahawk1986/improve_path_handling
Improve path handling for Python >= 3.6
2021-01-18 10:08:38 +01:00
Alexander Grothe
55032fe244 Improve path handling for Python >= 3.6
Prevents a crash when unicode strings created from non-pure utf-8 text with
'surrogateescape' error handling are used as paths for the fuse file system
(e.g. latin-1 encoded file names).

Fix accessing paths with arbitrary but allowed bytes (e.g. latin-1 encoded file names) which do not encode
utf-8 characters.
2021-01-17 23:18:01 +01:00
Sébastien Delafond
6f0921aa0a Remove unused make_release.sh and add basic Makefile to create sdist+manylinux_wheel (Closes: #21) 2019-12-17 09:10:26 +01:00
Sébastien Delafond
3b541a7114
Merge pull request #22 from abitrolly/patch-1
Clean up unused Distribution sublcass
2019-12-17 08:46:56 +01:00
Anatoli Babenia
c4086a1173
Clean up unused Distribution sublcass 2019-12-16 21:54:46 +03:00
Sébastien Delafond
de8cd6beaf Release v1.0.0 2019-07-19 06:37:09 +02:00
Sébastien Delafond
3f34448f34
Merge pull request #15 from mezantrop/master
Add missing Linux IOCTL definitions to compile on FreeBSD
2019-07-18 07:36:06 +02:00
Sébastien Delafond
da05e4d5d0
Merge pull request #17 from dlech/rwbytes
use bytes objects for read and write data
2019-07-18 07:34:18 +02:00