Virgil Dupras
7d38de269a
v1.4.2
6 years ago
Andrew Senetar
5733670fc2
Workaround embedded null character ( #18 )
...
Workaround embedded null characters in strings. This fixes 17.
6 years ago
Virgil Dupras
22ed5dc09b
v1.4.1
6 years ago
Virgil Dupras
3071684f73
Fix newly-introduced crash under Windows
...
ref #14
6 years ago
Virgil Dupras
75a9cd6b55
v1.4.0
6 years ago
Virgil Dupras
f38aec6569
Reindent test_plat_other
6 years ago
Virgil Dupras
072e28cb1e
Update classification in setup.py
6 years ago
Virgil Dupras
016b90c1ac
Update copyright
6 years ago
Virgil Dupras
f324ff491e
Properly reuse the "compat" unit
6 years ago
Virgil Dupras
f3231ef857
Merge branch 'unicode-trash' of https://github.com/takluyver/send2trash into takluyver-unicode-trash
6 years ago
Virgil Dupras
b7e3057853
Fix tests, add tox.ini and travis.yml
6 years ago
Thomas Kluyver
7fece243d8
Use bytes throughout plat_other
6 years ago
Thomas Kluyver
4181ed65e9
Add failing test (on Python 2) for unicode file names
6 years ago
Thomas Kluyver
dd69edad3b
Fix test on Python 3
6 years ago
Virgil Dupras
bd9183afe9
v1.3.1
6 years ago
Kfir Hadas
f6f63b1796
Use text_type (unicode for PY2, str for PY3) ( #12 )
6 years ago
Virgil Dupras
0974912e78
Merge pull request #7 from julian-r/master
...
throwing a WindowsError with the code
8 years ago
Julian David Rath
6c01453fd3
throwing a WindowsError with the code
8 years ago
Virgil Dupras
7cbefa4317
Merge pull request #6 from glensc/patch-1
...
Update plat_other.py
8 years ago
Elan Ruusamäe
72bc94b48d
Update plat_other.py
...
minor typo fix
8 years ago
Virgil Dupras
35ad95bcd5
Fixed typo in changelog
11 years ago
Virgil Dupras
a568370c6a
v1.3.0
11 years ago
Virgil Dupras
baf125ff61
Added support for Gnome's gio
...
Instead of using our own Freedesktop's trash implementation,
use gio when it's available.
11 years ago
Virgil Dupras
bb8ed834da
Add same-codebase support for python 2.7.
...
When I opted for two codebases for python2/python3,
Send2Trash used C modules and it was easier to just have two
packages. With the ctypes version, supporting both python
versions becomes trivial and it's much more convenient to
merge them back into a single codebase.
I've only tested this code on Linux. I've converted plat_osx and
plat_win, but they only work theoretically.
11 years ago
Virgil Dupras
a8dbb1ac63
Renamed CHANGES --> CHANGES.rst
...
And fixed setup.py which was broken since README rename.
11 years ago
Virgil Dupras
bfd8f6e024
Updated repo URL to point to GH.
11 years ago
Virgil Dupras
8996fb9eac
Renamed README --> README.rst
11 years ago
Virgil Dupras
f7a6f217ce
Converted to git.
11 years ago
Virgil Dupras
a4936be846
Added tag 1.2.0 for changeset 2cba92b88b1d
13 years ago
Virgil Dupras
0f95d7506e
v1.2.0
13 years ago
gbn
b415ac86e3
Modification to symlink test case (that will actually fail when it should -- find_mount_point using abspath instead of realpath.)
13 years ago
gbn
eeaf4e8ffa
Add a test case for a path containing a symlink.
13 years ago
gbn
798893215c
Make the (still ugly) test no longer rely on ramfs/being root
13 years ago
gbn
aee2b7a8af
Check access and devices before attempting trash.
13 years ago
gbn
d090156c45
Use realpath to find mountpoint
13 years ago
Virgil Dupras
358b705cbc
Made a few minor style fixes, and added a proper error in cases where the target path of send2trash() doesn't exist.
13 years ago
gbn
eedbe258cb
URL Escape the Path in trashinfo
13 years ago
gbn
18e3187c2f
Replace == None with is None
13 years ago
gbn
8001be8f37
Remove import *
13 years ago
gbn
13b3943c82
Replace plat_other with one supporting the XDG Trash spec
...
Added tests for plat_other
13 years ago
Virgil Dupras
a8a771c9bd
Merged default branch with py3k. Py3k version of send2trash is now the default one (python 2 version is in the py2k branch).
13 years ago
Virgil Dupras
9189e685b1
Adjusted packaging metadata for 1.1.0.
...
--HG--
branch : py3k
13 years ago
Virgil Dupras
04ee6eaf9f
Added tag 1.1.0 for changeset de5f43fcce5e
...
--HG--
branch : py3k
13 years ago
Virgil Dupras
506e48b2e0
v1.1.0
...
--HG--
branch : py3k
13 years ago
Virgil Dupras
899a3efeb3
Converted the compiled win module to ctypes.
...
--HG--
branch : py3k
13 years ago
Virgil Dupras
a6907d57a9
Converted the compiled osx module to ctypes.
...
--HG--
branch : py3k
13 years ago
Virgil Dupras
51d8a51cb7
Added a setuptools-crappiness notice in the README.
14 years ago
Virgil Dupras
b5315cb73d
Added a setuptools-crappiness notice in the README.
...
--HG--
branch : py3k
extra : transplant_source : %F8%9A%02%C3%D2%AA%AB%2C%5D%94%EA%13%BD%D6%A0U%3F%D2N%C9
14 years ago
Virgil Dupras
86450a3dee
v1.0.2
14 years ago
Virgil Dupras
d1fcb13086
v1.0.2
...
--HG--
branch : py3k
14 years ago