Virgil Dupras
10dbfa9b38
Refactoring: Path API compatibility with pathlib
...
Refactored dupeGuru to make hscommon.path's API a bit close to pathlib's
API. It's not 100% compatible yet, but it's much better than before.
This is more of a hscommon refactoring than a dupeguru one, but since
duepGuru is the main user of Path, it was the driver behind the
refactoring.
This refactoring also see the introduction of @pathify, which ensure
Path arguments. Previously, we were often unsure of whether the caller
of a function was passing a Path or a str. This problem is now solved
and this allows us to remove hscommon.io, an ill-conceived attempt to
solve that same ambiguity problem.
Fixes #235 .
2013-11-16 12:06:16 -05:00
Virgil Dupras
33d9569427
Refactoring: Created hscommon.desktop
...
This unit hosts previously awkward UI view methods which weren't related
to the view itself, but to the current desktop environment. These
functions are now at their appropriate place.
2013-10-12 13:54:13 -04:00
Virgil Dupras
7e8f9036d8
Began serious code documentation effort
...
Enabled the autodoc Sphinx extension and started adding docstrings to
classes, methods, etc.. It's quickly becoming quite interesting...
2013-08-18 18:36:09 -04:00
Virgil Dupras
b11b97dd7c
Improved delta values to support non-numerical values
...
Delta values now work for non-numerical values. Any column,
when its value differs from its ref, becomes orange.
A column that was already a "delta column" keeps its previous
behavior (dupe cells for these columns are always displayed in
orange).
Sorting behavior, when Dupes Only and Delta Values are enabled
at the same time, has also been extended to non-numerical
values, making it easy to mass-mark dupe rows with orange
values.
Documentation was updated, unit tests were added.
Fixes #213
2013-07-28 17:45:23 -04:00
Virgil Dupras
db0901b1de
Handle OSError during symlink support check
...
Under a windows that supports symlinks (Vista+), we still need
proper privileges. If we don't have it, OSError is raised and we
need to correctly handle this case. Ref #220 .
2013-07-14 13:59:03 -04:00
Virgil Dupras
9225697053
Added hardlink/symlink support for Windows Vista+.
...
Fixes #220 .
2013-07-14 11:58:49 -04:00
Virgil Dupras
4a8ce9b6c4
Updated copyright year to 2013.
2013-04-28 10:35:51 -04:00
Virgil Dupras
5a5a74d0e1
[ #194 state:fixed] Added the "Replace with symlink" deletion option.
2012-08-01 12:36:23 -04:00
Virgil Dupras
721591d3e3
Added a Deletion Options dialog that pops up when Send to Trash is triggered.
...
It offers hardlink and direct deletion options. This new feature supersedes the old "Send to Trash and Hardlink" menu item, which was removed.
2012-05-30 12:10:56 -04:00
Virgil Dupras
c63df97dd6
Fixed prioritize dialog which was broken.
2012-03-19 16:52:08 -04:00
Virgil Dupras
657f6743c2
Changed copyright year to 2012
2012-03-15 14:28:40 -04:00
Virgil Dupras
3fc83d6245
Added an Ignore List dialog.
2012-03-14 12:47:21 -04:00
Virgil Dupras
49a7043b4d
Updated hscommon to its tip.
...
Because the latest changes in hscommon include the introduction of a base GUIObject which significantly changes view setting mechanisms, significant adjustments had to be made in dupeGuru.
2012-03-13 14:27:08 -04:00
Virgil Dupras
878c744c21
Refactoring: de-notified problems_dialog. It simplifies things.
2012-03-13 11:58:07 -04:00
Virgil Dupras
4592000464
Removed extra_fairware_reminder.
...
With the introduction of dual-mode fairware, the presence of the extra fairware reminder has been made rather useless.
2012-02-27 09:44:51 -05:00
Virgil Dupras
9392f818cc
Pushed connect() calls in objc into the core.
...
--HG--
branch : objp
2012-01-13 16:34:21 -05:00
Virgil Dupras
58347bc36f
Removed view arguments from core.gui classes's init methods.
...
--HG--
branch : objp
2012-01-13 16:14:06 -05:00
Virgil Dupras
937ea73c87
Converted ProblemDialog to objp.
...
--HG--
branch : objp
2012-01-13 12:19:23 -05:00
Virgil Dupras
1b7068bfe9
[ #179 state:fixed] Added multiple-selection to the folder selection dialog and thus added the ability to remove multiple folders at once.
2011-11-28 15:25:18 -05:00
Virgil Dupras
756190cb8e
[ #179 ] Pushed the delete-or-exclude folder down from GUI layers to the core.
2011-11-28 14:52:48 -05:00
Virgil Dupras
3342b32882
[ #179 ] Refactored folder deletion so that it uses selection in the core's directory_tree instead of using the one from the GUI layer.
2011-11-28 14:21:10 -05:00
Virgil Dupras
760e4085fa
Merge dev branch with fix for #178
2011-11-28 13:16:22 -05:00
Virgil Dupras
fbe66d27c9
[ #178 state:fixed] Fixed a crash on adding a criterion with an empty selection.
2011-11-28 13:14:36 -05:00
Virgil Dupras
d9ae967439
Updated the qt part of dupeguru to adjust to the latest column reorganization.
2011-11-28 10:27:17 -05:00
Virgil Dupras
7e95404903
Moved column information in new edition-specific core result_table units.
2011-11-27 12:47:00 -05:00
Virgil Dupras
eb83b830df
Began a long overdue overhaul of the columns system. Cocoa-only so far, but it will affect the Qt part.
2011-11-26 10:55:14 -05:00
Virgil Dupras
436a8e686d
Fixed broken actions: reveal_path in problems dialog and copy/move under Qt.
2011-10-02 10:27:40 -04:00
Virgil Dupras
70689ce057
Removed data modules and moved their functionalities to core_*.app.
2011-09-21 10:26:58 -04:00
Virgil Dupras
664803c2ca
[ #138 ] Added ME-specific prioritizations and adjusted ME cocoa proj to the pri dialog.
2011-09-16 12:24:56 -04:00
Virgil Dupras
549e3e1f3b
[ #138 ] Began implementing the Cocoa interface of the prioritization dialog.
2011-09-13 16:31:25 -04:00
Virgil Dupras
cf606a494c
[ #138 ] Added a prompt label and a remove button to the reprioritization dialog (Qt).
2011-09-12 11:05:53 -04:00
Virgil Dupras
3ec2a3ef81
[ #138 ] Added drag & drop criteria re-ordering capabilities to the re-prioritization panel.
2011-09-09 18:24:17 -04:00
Virgil Dupras
b65c9b8c9a
[ #138 ] Added a crude-but-functional reprioritization dialog in Qt.
2011-09-09 12:01:15 -04:00
Virgil Dupras
2dc588e0fd
[ #138 ] Added FolderCategory and SizeCategory.
2011-09-08 13:28:19 -04:00
Virgil Dupras
9c30486f14
[ #138 ] Completed re-prioritization workflow, now all that is needed is to add more criteria, handle corner case and build the GUI for it.
2011-09-08 12:36:57 -04:00
Virgil Dupras
518228a368
[ #138 ] Added a very preliminary version of the prioritization dialog. A big part of this commit is about refactoring the tests and introducing a TestApp for dupeGuru (in core.tests.base).
2011-09-07 15:46:41 -04:00
Virgil Dupras
2ba3584b7e
[ #165 state:fixed] Don't collapse tree nodes on changing folder states. [Qt]
2011-07-12 12:51:11 -04:00
Virgil Dupras
f28ffc680a
[ #140 state:fixed] Fixed a crash on dupe renaming.
2011-04-13 16:23:22 +02:00
Virgil Dupras
279d44b7f3
[ #89 state:fixed] Added a Folders scan type in dgse.
...
--HG--
rename : core_se/tests/fs_test.py => core/tests/fs_test.py
2011-04-12 13:22:29 +02:00
Virgil Dupras
0fea59007c
Updated copyright year to 2011.
2011-04-12 10:04:01 +02:00
Virgil Dupras
731e68f164
[ #153 state:fixed] Fixed a refresh bug in directory panel.
2011-03-16 09:31:16 +01:00
Virgil Dupras
6e60ea6984
Added extra Fairware reminder. We'll see if that boosts dupeGuru contributions.
2011-03-05 13:03:23 +01:00
Virgil Dupras
da41d07dae
[ #115 state:fixed] Re-factored the data columns (and delta columns) and made the Dimensions column a delta one.
2011-01-29 11:07:33 +01:00
Virgil Dupras
95efac187b
Updated hscommon and adapted to changes in hscommon.gui.table.Table.refresh().
2010-11-24 16:12:10 +01:00
Virgil Dupras
4886982d43
Re-licensed to BSD
2010-09-30 12:17:41 +02:00
Virgil Dupras
a056be0842
Fixed UI glitch introduced by the move from outline to table for results (the selected row would not be kept visible after refreshes).
2010-09-26 12:09:50 +02:00
Virgil Dupras
0d8ed92a68
Converted the result tree into a result table.
...
--HG--
rename : cocoa/base/PyResultTree.h => cocoa/base/PyResultTable.h
rename : cocoa/base/ResultOutline.h => cocoa/base/ResultTable.h
rename : cocoa/base/ResultOutline.m => cocoa/base/ResultTable.m
rename : core/gui/result_tree.py => core/gui/result_table.py
2010-09-24 15:48:59 +02:00
Virgil Dupras
854d194f88
Converted to py3k. There's probably some bugs still. So far, I managed to run dupeGuru SE under pyobjc and qt.
2010-08-11 16:39:06 +02:00
Virgil Dupras
371426a08e
Adapted codebase to the hsutil/hscommon split and the hsmedia --> hsaudiotag rename.
2010-07-13 08:08:18 +02:00
Virgil Dupras
1e0f6bfecb
Added a dialog giving more information about the causes of problems during operations.
2010-04-12 12:21:01 +02:00