Virgil Dupras
76e5817ff3
Add Makefile
...
I finally took the time to properly learn how to write makefiles. This
was long overdue, but here we go.
Much of the makefile wraps `build.py`, but gradually, we'll extract
stuff from there until the makefile is the main container for build
logic.
2016-08-15 22:54:22 -04:00
Virgil Dupras
20dc2d63fd
qt: save prefs on close more predictably
...
Ticket #379 reports crashes on quit due to `willSavePrefs` being called
when result and details dialogs are already freed. I can't reproduce the
crash, but it's still a bad idea to rely on the timing of
`aboutToQuit()` to launch this process.
This commits uses a more predictable place to emit `willSavePrefs` and
I'm pretty sure it will fix the crash at #379 .
2016-08-14 21:11:24 -04:00
Virgil Dupras
28d2aa8197
cocoa: fix crash on load results
...
During createResultsWindow(), we would initialize the details panel too late.
fixes #380
2016-08-14 20:31:14 -04:00
Virgil Dupras
5be9d537a5
qt: fix broken load results dialog
...
`QFileDialog.getOpenFileName`, under pyqt5, returns a tuple, not only a
file path.
2016-08-14 20:01:46 -04:00
Virgil Dupras
b97e89d4d8
package.py: use proper prefix for submodules archive file
2016-08-13 20:37:08 -04:00
Virgil Dupras
0f4992de47
package.py: include submodules src in tar.gz
...
Otherwise, that results in an incomplete source package!
2016-08-13 20:30:24 -04:00
Virgil Dupras
55ad9ef33a
Fix qt.platform.BASE_PATH location
...
It was wrong since it was moved from qt/base.
fixes #378
2016-07-21 20:39:15 -04:00
Virgil Dupras
e69a1764a0
Fix cocoa build script
...
It wouldn't properly find python 3.5 dylib for linking.
2016-07-01 19:50:19 -04:00
Virgil Dupras
215307df93
Remove this dependency inclusion thing in src packages
...
It's pointless and wasteful.
2016-07-01 17:12:31 -04:00
Virgil Dupras
3aa99c396b
Bump OS X requirements to 10.8 and update README
...
Because of Sparkle, it's now required to build dupeguru on 10.10+, but with MACOSX_DEPLOYMENT_TARGET, which we now properly set, the results properly runs on 10.8.
This requires a python that has also been compiled with MACOSX_DEPLOYMENT_TARGET=10.8
2016-07-01 15:36:15 -04:00
Virgil Dupras
9f2c3e7732
Fix failing test on OS X / py35
...
A 100 recursion limit was too low in that environment.
2016-07-01 15:29:50 -04:00
Eugene San
d660cef245
Update packaging to conform with package unification and few fixes ( #372 )
...
* Rename package (dupeguru-se -> dupeguru)
* Update package name in .desktop files and scripts
* Add Ubuntu package building instructions
* Fix build_pe_modules.py
* Add description to package
* Add conflicts dependencies to replace previous versions
* Update python version
* Unify .json configs
* Few cosmetics changes (mainly missing end-lines and images permissions)
2016-06-28 22:39:23 -04:00
Virgil Dupras
bdd404ce0e
Remove appscript from OS X requirements
...
It's not needed anymore.
2016-06-10 09:48:53 -04:00
Virgil Dupras
df9f72d9bf
v4.0.0
2016-06-10 09:16:54 -04:00
Virgil Dupras
53bbc5901c
Add xenial to the list of supported ubuntu distros
2016-06-10 09:15:20 -04:00
Virgil Dupras
0959f4581e
Update to Sparkle 1.14
2016-06-08 13:28:52 -04:00
Virgil Dupras
b1ef3dc8fe
Simplify progress report during scanning
...
We now get less progress feedback, but in exchange, our progress job is
simpler. Previously, our progress bar would often get wonky towards the
end of the scan and I didn't have the energy to debug that.
Besides, people don't care about that level of progress feedback.
2016-06-08 12:29:28 -04:00
Virgil Dupras
334f4dd2ae
Increase md5 reading buffer to 1mb
...
This makes md5 computing faster without using too much memory.
2016-06-08 12:23:10 -04:00
Virgil Dupras
fbdd1d866e
Simplify getmatches_by_contents() signature
...
partial and sizeattr attributes are not needed anymore.
2016-06-08 12:06:08 -04:00
Virgil Dupras
64e86c9ff9
Add ctags config
2016-06-07 21:36:25 -04:00
Virgil Dupras
80f659858c
Fail with excplicit message when unable to load results file
...
Previously, we would simply show an empty results window. Not very
helpful.
2016-06-07 21:34:04 -04:00
Virgil Dupras
ef8f8f0e44
Fix broken tests
2016-06-07 21:32:30 -04:00
Virgil Dupras
b7a7282c2a
Fix results loading
...
The merge operation broke it. It would try to access a result_table that
didn't exist yet.
2016-06-07 16:56:59 -04:00
Virgil Dupras
668821301c
Update documentation
2016-06-06 20:48:26 -04:00
Virgil Dupras
13fb06a693
Remove ContentsAusio scan type
...
It had few uses and had a confusing name. People though it did fuzzy
audio data matching, which it does not.
2016-06-06 17:08:41 -04:00
Virgil Dupras
61b219ff43
flake8 fix
2016-06-06 17:05:48 -04:00
Virgil Dupras
c4aeda0bd0
Clean up README
2016-06-06 17:00:57 -04:00
Virgil Dupras
76f3332d36
Remove windows leftover file
2016-06-06 17:00:38 -04:00
Virgil Dupras
b47b1e11af
cocoa: remove inter.app_se
...
The last remnant of the pre-merge era.
2016-06-06 11:20:45 -04:00
Virgil Dupras
168d94910b
cocoa: fix image loading in picture mode details panel
...
I had broken it during the big merge.
2016-06-06 11:03:09 -04:00
Virgil Dupras
ca3172044f
qt: move scan type and app mode selector to the top of the window
2016-06-06 10:29:02 -04:00
Virgil Dupras
f66849b09d
Fix tox tests
2016-06-06 10:21:32 -04:00
Virgil Dupras
8c1078aa71
cocoa: merge se/me/pe into one single app
...
That merge has already been done in core and qt, we're following.
I broke picture scan details panel image loading. Will fix later.
2016-06-05 21:18:48 -04:00
Virgil Dupras
b780816e3c
Merge commit 'a65077f871481ca98ce51810751e66f228cb096a'
...
# Conflicts:
# build.py
# core/pe/iphoto_plist.py
2016-06-05 13:18:33 -04:00
Virgil Dupras
fb8a384a6a
cocoa: get rid of edition-specific ResultWindow overrides
2016-06-04 21:18:14 -04:00
Virgil Dupras
2be4ae8f65
cocoa: move scan type selector to directory window
...
Also, use dynamic scan type labels supplied by core.
2016-06-02 21:31:12 -04:00
Virgil Dupras
f8686ffb55
cocoa: remove iPhoto and Aperture support
...
These apps don't exist anymore.
2016-06-01 22:34:16 -04:00
Virgil Dupras
3093a42553
cocoa: remove iTunes support
...
It was an unmaintained feature that wasn't working well with recent OS X releases.
2016-06-01 22:12:27 -04:00
Virgil Dupras
83d934fd4f
cocoa: make auto-update URLs HTTPS
2016-06-01 21:57:27 -04:00
Virgil Dupras
f3c09c7a8d
cocoa: adjust to latest changes
...
...that is, scanner on-the-fly instantiation and fileclasses/folderclass config move.
We haven't moved the scan type selector in the UI yet.
2016-06-01 21:56:18 -04:00
Virgil Dupras
a65077f871
Merge core_{se,me,pe} into core.{se,me,pe}
2016-05-31 22:32:37 -04:00
Virgil Dupras
d4919054f9
qt: move qt.base units into qt root package
2016-05-31 21:59:31 -04:00
Virgil Dupras
773f6651e6
Merge core_se.app into core.app
2016-05-31 21:43:24 -04:00
Virgil Dupras
9a25670552
qt: merge se.app into base.app
2016-05-31 21:22:50 -04:00
Virgil Dupras
8c9ef3ea29
Re-add the Clear Picture Cache action
2016-05-31 20:55:32 -04:00
Virgil Dupras
7256adb4d4
qt: remove UI testapp
2016-05-31 20:23:09 -04:00
Virgil Dupras
ad45a6e16e
Adapt build/package scripts to single-edition
2016-05-31 20:21:07 -04:00
Virgil Dupras
c865f84c16
Merge PE into SE
2016-05-30 22:27:59 -04:00
Virgil Dupras
7d749779f2
qt: merge ME edition into SE
...
(breaks PE temporarily)
Adds a Standard/Music Application Mode button to SE and thus adds the
ability to run ME scan types in SE. When in Music mode, the
Music-specific results window, details panel and preferences panel will
show up.
All preferences except scan_type become shared between app modes
(changing the pref in a mode changes it in the other mode).
Results Window and Details Panel are now re-created at each scan
operation because they could change their type between two runs.
Preferences panel is instantiated on the fly and discarded after close.
This is a very big merge operation and I'm trying to touch as little
code as possible, sometimes at the cost of elegance. I try to minimize
the breakage that this change brings.
2016-05-29 22:37:38 -04:00
Virgil Dupras
8b878b7b13
core_me: properly set scanner class
...
It was wrongly instatiating the scanner on startup (we now do it
on-the-fly).
2016-05-29 17:22:46 -04:00