Virgil Dupras
5c57a2a8fc
Instantiate Scanner on-the-fly
...
Previously, it would be instantiated on startup.
This will make our job easier for an upcoming SE/ME/PE merge.
2016-05-29 16:52:07 -04:00
Virgil Dupras
130581db53
Apply flake8 checks to tests
2016-05-29 15:02:39 -04:00
Virgil Dupras
9ed4b7abf0
refactoring: take ignore_list out of Scanner class
...
It's now `DupeGuru` that holds it and passes it to `get_dupe_groups()`,
the only place where it's actually used in `Scanner`.
This will make the SE/ME/PE merge easier by allowing us to instantiate
the Scanner on-the-fly since it doesn't hold state anymore.
2016-05-29 14:13:19 -04:00
Virgil Dupras
e7076bc3bd
Change license from BSD to GPLv3
...
See http://www.hardcoded.net/archive2014#2014-12-28 for context
2015-01-03 16:33:16 -05:00
Virgil Dupras
fc16ea8c49
Change copyright year to 2015
2015-01-03 16:30:57 -05:00
Virgil Dupras
ac32305532
Integrated the jobprogress library into hscommon
...
I have a fix to make in it and it's really silly to pretend that this
lib is of any use to anybody outside HS apps. Bringing it back here will
make things more simple.
2014-10-05 16:31:16 -04:00
Virgil Dupras
ca709a60cf
Updated copyright year to 2014
2014-04-19 12:19:11 -04:00
Virgil Dupras
781f13ae1a
Overwrite subfolders' state when setting states in folder dialog
...
Fixes #248
2014-03-15 17:31:33 -04:00
Virgil Dupras
c34c9562d3
Make non-numeric delta comparison case insensitive
...
Fixes #239 .
2013-11-23 15:31:20 -05:00
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
e8c42740cf
Fixed tests which were broken
2013-11-10 12:54:35 -05:00
Virgil Dupras
12cf9b800b
Merge branch 'master' into develop
2013-11-09 16:21:59 -05:00
Virgil Dupras
ba7e6494c6
Fixed crash on Dupe Count sorting with Delta + Dupes Only
...
Fixes #238
2013-11-09 16:20:33 -05:00
Virgil Dupras
72d8160b28
Fix boken tests
2013-11-08 16:45:14 -05:00
Virgil Dupras
e1f532e2fd
Fixed broken tests
2013-08-04 09:26:18 -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
7891fb5396
Refactoring: Moved some code from app.DupeGuru to fs.File.
...
Moved DupeGuru._get_display_info() to File.get_display_info().
This method used none of the app's global state or methods
and had nothing to do there.
2013-07-14 17:43:58 -04:00
Virgil Dupras
6dddcb1a47
Fixed scanner_test which was broken.
...
The monkeypatching made to hscommon.io wasn't correctly transferred to Path
after the migration at [dfc82cd].
2013-04-28 10:43:20 -04:00
Virgil Dupras
4a8ce9b6c4
Updated copyright year to 2013.
2013-04-28 10:35:51 -04:00
Virgil Dupras
91f3a59523
Fixed add_directory() test which were broken.
2012-08-09 10:22:04 -04:00
Virgil Dupras
4f097a3a89
[ #204 state:fixed] Added a message after re-prioritization telling how many dupe groups were changed by it.
2012-07-31 11:37:51 -04:00
Virgil Dupras
b19d6c9a27
[ #198 state:fixed] Added Longest/Shortest filename criteria in the re-prioritize dialog.
2012-07-31 11:18:39 -04:00
Virgil Dupras
07de7d6f0e
Fix test that became flaky under Python v3.3.
2012-07-08 09:03:05 -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
cd9f54163b
Pushed some action confirmation logic down from GUI layers to the core.
2012-03-10 10:58:08 -05:00
Virgil Dupras
93781a0f35
[ #195 state:fixed] Fixed bug where there would be a false reporting of discarded matches.
2012-02-26 11:18:29 -05:00
Virgil Dupras
a1fc64cd36
Ignore files in the scanning list that point to the same path as another file in the scanning list.
2012-02-21 11:14:12 -05:00
Virgil Dupras
d885bf0b18
Fixed tests.
2012-01-23 15:09:13 -05:00
Virgil Dupras
63180eaa5b
Merge dev branch with fix for #181
2011-11-28 13:40:19 -05:00
Virgil Dupras
25faa458b9
[ #181 state:fixed] Fixed a bug where performing actions like Mark All under a filtered environment would mark dupes even if they weren't in the filter.
2011-11-28 13:39:37 -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
9226a4fb7c
Fixed unittests.
2011-11-27 16:49:12 -05:00
Virgil Dupras
0571151c5f
Fixed delta columns.
2011-11-27 12:54:58 -05:00
Virgil Dupras
26e496a051
Fixed failing tests on Windows.
2011-09-29 19:23:35 +01:00
Virgil Dupras
9fac97c147
Don't allow dupes from ref folders to step down from their ref position during reprioritization.
2011-09-23 13:14:57 -04:00
Virgil Dupras
8102c89802
[ #169 state:fixed] Ignore filename extension during filename sorting in results.
2011-09-22 12:29:56 -04:00
Virgil Dupras
48e2acf0a2
[ #139 state:fixed] Make "mark selected" behave in a more standard way.
2011-09-22 12:12:43 -04:00
Virgil Dupras
01731a8277
Moved the 'markable' unit from hscommon to core.
2011-09-22 11:55:31 -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
60462698ac
Fixed unit tests.
2011-09-21 09:17:22 -04:00
Virgil Dupras
0f12103616
[ #138 state:fixed] Pri-dialog: Fixed the Folder crit category which didn't work well and added a replacement string for empty kind crit.
2011-09-20 10:38:48 -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
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
90f9493ccc
[ #138 ] Added the Filename reprioritization crit category.
2011-09-12 10:33:17 -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