Virgil Dupras
7cbefa4317
Merge pull request #6 from glensc/patch-1
...
Update plat_other.py
2016-04-10 19:04:38 -04:00
Elan Ruusamäe
72bc94b48d
Update plat_other.py
...
minor typo fix
2016-04-10 11:09:46 +03:00
Virgil Dupras
35ad95bcd5
Fixed typo in changelog
2013-07-19 19:33:09 -04:00
Virgil Dupras
a568370c6a
v1.3.0
2013-07-19 19:26:34 -04:00
Virgil Dupras
baf125ff61
Added support for Gnome's gio
...
Instead of using our own Freedesktop's trash implementation,
use gio when it's available.
2013-07-19 19:16:11 -04:00
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.
2013-07-19 18:42:32 -04:00
Virgil Dupras
a8dbb1ac63
Renamed CHANGES --> CHANGES.rst
...
And fixed setup.py which was broken since README rename.
2013-07-19 18:23:00 -04:00
Virgil Dupras
bfd8f6e024
Updated repo URL to point to GH.
2013-07-19 18:18:16 -04:00
Virgil Dupras
8996fb9eac
Renamed README --> README.rst
2013-07-19 18:14:27 -04:00
Virgil Dupras
f7a6f217ce
Converted to git.
2013-07-19 18:12:18 -04:00
Virgil Dupras
a4936be846
Added tag 1.2.0 for changeset 2cba92b88b1d
2011-03-16 10:27:52 +01:00
Virgil Dupras
0f95d7506e
v1.2.0
2011-03-16 10:27:41 +01:00
gbn
b415ac86e3
Modification to symlink test case (that will actually fail when it should -- find_mount_point using abspath instead of realpath.)
2011-03-13 15:35:14 -04:00
gbn
eeaf4e8ffa
Add a test case for a path containing a symlink.
2011-03-13 15:17:13 -04:00
gbn
798893215c
Make the (still ugly) test no longer rely on ramfs/being root
2011-03-13 14:43:24 -04:00
gbn
aee2b7a8af
Check access and devices before attempting trash.
2011-03-13 14:40:52 -04:00
gbn
d090156c45
Use realpath to find mountpoint
2011-03-13 14:38:03 -04:00
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.
2011-03-12 11:48:19 +01:00
gbn
eedbe258cb
URL Escape the Path in trashinfo
2011-03-10 14:56:19 -05:00
gbn
18e3187c2f
Replace == None with is None
2011-03-10 12:22:21 -05:00
gbn
8001be8f37
Remove import *
2011-03-10 12:21:05 -05:00
gbn
13b3943c82
Replace plat_other with one supporting the XDG Trash spec
...
Added tests for plat_other
2011-03-10 04:55:46 -05:00
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).
2011-02-14 11:00:09 +01:00
Virgil Dupras
9189e685b1
Adjusted packaging metadata for 1.1.0.
...
--HG--
branch : py3k
2010-10-18 12:22:13 +02:00
Virgil Dupras
04ee6eaf9f
Added tag 1.1.0 for changeset de5f43fcce5e
...
--HG--
branch : py3k
2010-10-18 12:13:42 +02:00
Virgil Dupras
506e48b2e0
v1.1.0
...
--HG--
branch : py3k
2010-10-18 12:13:37 +02:00
Virgil Dupras
899a3efeb3
Converted the compiled win module to ctypes.
...
--HG--
branch : py3k
2010-10-17 18:00:56 +01:00
Virgil Dupras
a6907d57a9
Converted the compiled osx module to ctypes.
...
--HG--
branch : py3k
2010-10-17 18:28:28 +02:00
Virgil Dupras
51d8a51cb7
Added a setuptools-crappiness notice in the README.
2010-07-13 12:19:19 +02:00
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
2010-07-13 12:19:19 +02:00
Virgil Dupras
86450a3dee
v1.0.2
2010-07-10 07:07:42 +02:00
Virgil Dupras
d1fcb13086
v1.0.2
...
--HG--
branch : py3k
2010-07-10 07:06:01 +02:00
Virgil Dupras
31907c9c4a
Fixed a bug in plat_other where conflict handling wouldn't be done correctly in external volume. Thanks to John Benediktsson for the tip.
2010-07-09 21:49:46 -07:00
Virgil Dupras
02dc392c45
Fixed a bug in plat_other where conflict handling wouldn't be done correctly in external volume. Thanks to John Benediktsson for the tip.
...
--HG--
branch : py3k
extra : transplant_source : %C6%11%009sx%B29%CF%EC%CC%D4%88r%BE%D8%BB%9AIa
2010-07-09 21:49:46 -07:00
Virgil Dupras
2572a7c00c
Fixed an infinite loop in plat_other when using a relative path in a mounted directory.
2010-07-09 21:46:19 -07:00
Virgil Dupras
7546aa606a
Fixed an infinite loop in plat_other when using a relative path in a mounted directory.
...
--HG--
branch : py3k
extra : transplant_source : %B4%A2%DB%EFn%BB%3A%F6%AE%06%F3%29%DB%06%FBE%D0%A2%BEt
2010-07-09 21:46:19 -07:00
Virgil Dupras
2858b5b153
Converted to py3k (haven't tried it on Windows yet, but it should compile and work...)
...
--HG--
branch : py3k
2010-07-07 16:12:13 +02:00
Virgil Dupras
88b90d859c
Updated package metadata.
2010-07-07 11:59:11 +02:00
Virgil Dupras
f5f9c5b352
Fixed the copyright comment which was at a strange place.
2010-04-21 10:30:51 +02:00
Virgil Dupras
06f03e14b4
Fixed spaces/tabs mixup.
2010-04-21 10:14:46 +02:00
Virgil Dupras
8313b0eebb
Added tag 1.0.1 for changeset a7e04d8e47e1
2010-04-19 11:25:35 +02:00
Virgil Dupras
e78d1d1bd9
Merged heads.
2010-04-19 11:25:02 +02:00
Virgil Dupras
de898fdcaa
v1.0.1: Fixed memory leak.
2010-04-19 11:24:06 +02:00
Virgil Dupras
a3e41602cf
Added long_description to setup.
2010-04-08 16:28:23 +02:00
Virgil Dupras
8b00632dd6
Set zip_safe to False, as it causes problems when creating executables for Windows of apps using it.
2010-04-07 16:25:01 +01:00
Virgil Dupras
fa68152b35
Added tag 1.0.0 for changeset 48c2103380f5
2010-04-07 13:16:55 +02:00
Virgil Dupras
19c1f2c444
Added missing sentinel in osx module's method defs.
2010-04-07 13:16:51 +02:00
Virgil Dupras
aff05287b3
Added README and CHANGES.
2010-04-07 10:43:36 +02:00
Virgil Dupras
203973d66c
Licensed under BSD.
2010-04-07 08:52:24 +02:00
Virgil Dupras
ae126c47bf
In plat_other, added support for sending to trash on external volumes.
2010-04-06 19:54:10 +02:00