Jocelyn Le Sage
84011fb46d
Handle OS termination signals. ( #425 )
...
* Handle OS termination signals.
* Added comment about why a timer is required to handle OS signals.
2017-06-20 12:04:38 -04:00
Virgil Dupras
35ea499857
Make docs installation optional
2017-06-20 11:49:11 -04:00
Virgil Dupras
245ed0ddec
Remove cocoa
...
The cocoa UI code now lives in dupeguru-cocoa.
2017-03-11 20:41:47 -05:00
Virgil Dupras
76cc2000ab
Add UI preference to picture cache type under Qt
2016-11-22 02:41:43 +00:00
1kakarot
9f3ec065ed
Added 'el' locale ( #382 )
2016-08-16 19:59:04 -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
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
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
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
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
0056f696df
refactoring: move fileclasses and folderclass options in app class
...
Previously, it was in `Directory`.
This will make our job easier for an upcoming SE/ME/PE merge.
2016-05-29 17:15:55 -04:00
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
197acbf5b3
qt: move scan_type preference to main window
...
It leads to better discoverability of dupeguru's options and will make
more sense after the big merge of all editions.
2016-05-28 21:54:25 -04:00
Virgil Dupras
bb1f0f5be6
Convert hscommon, qtlib and cocoalib to submodules
...
... rather than subtrees. That also represents a small qtlib updates
which needed a code adjustment.
2016-05-25 21:07:30 -04:00
Virgil Dupras
2ed1b82ecf
Push edition-specific scan option listing down to the core
...
... rather than have each UI layer repeat them.
Did qt, but not cocoa yet.
2016-05-24 22:53:03 -04:00
Virgil Dupras
de9122c3cb
Remove obsolete ABOUT_LICENSE
...
dupeGuru is GPL now
2016-05-24 22:36:37 -04:00
Virgil Dupras
40d9a486e2
Add Spanish and Dutch localizations
...
Thanks Josep and Kees Duvekot!
Also, made the language selector sorted alphabetically. It was getting
confusing in there.
2015-07-20 13:18:14 -04:00
Virgil Dupras
0068e7b85a
Add Korean localization (from woosuk park)
2015-04-12 22:22:00 -04:00
Virgil Dupras
23b29eb5c3
Add Polish localization (from mstefanski1987)
2015-04-12 21:53:45 -04:00
Virgil Dupras
6d263215ad
Fix wrong use_regexp option propagation to core (qt)
...
We need to flip `use_regexp` before sending it down to
`escape_filter_regexp`!
fixes #295
2015-04-05 09:17:35 -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
2166a0996c
Added tox configuration
...
... and fixed pep8 warnings. There's a lot of them that are still
ignored, but that's because it's too much of a step to take at once.
2014-10-13 15:08:59 -04:00
Virgil Dupras
04b06f7704
Removed the setNativeMenuBar() call under Qt
...
I put it there to make the menu usable under Ubuntu 13.10, but since
14.04, this line actually brakes it.
2014-05-03 09:34:41 -04:00
Virgil Dupras
ac3a9e3ba8
Removed Qt's "Check for updates"
...
It only worked on 32bit Windows, and it's gone now.
2014-04-19 18:21:56 -04:00
Virgil Dupras
ca709a60cf
Updated copyright year to 2014
2014-04-19 12:19:11 -04:00
Virgil Dupras
9b82ceca67
Updated windows packaging for Qt5
...
We now only support 64bit Windows.
2014-04-18 13:22:04 -04:00
Virgil Dupras
4c7c279dd2
Avoid crashes on quit under Windows
2014-04-18 10:55:01 -04:00
Virgil Dupras
79db31685e
Fixed crash on results double-click
...
Introduced by the Qt5 move. Looks like passing `None` to
`doubleClicked.emit()` doesn't cut it anymore.
2014-04-18 10:44:59 -04:00
Virgil Dupras
ba13b700b0
Fixed crashing save dialogs under Qt5
2014-03-30 15:57:07 -04:00
Virgil Dupras
10d1363334
Changed the error report so it brings the user to Github directly
...
Making error reporting too easy results in too much context-less
tracebacks which demand attention and, in the end, aren't of much use.
Requiring the user to report errors on Github will reduce the number of
reports, but hopefully make these reports have better context.
2014-03-29 17:42:23 -04:00
Virgil Dupras
8b83ed0e5c
Removed needless PyQt signal overloading
...
After a PyQt5 update, dupeGuru wouldn't run anymore because it choked on
signal overloading that weren't necessary.
2014-03-27 19:09:10 -04:00
Virgil Dupras
d924d7797a
Qt: Don't use a native menubar for the Result Window
...
Having two native menu bars in the app made the result window all
glitchy under Ubuntu 13.10.
2014-02-15 21:02:38 -05:00
Virgil Dupras
33c217ecc8
Straightened out Qt window parenting chain
2014-02-15 15:05:46 -05:00
Virgil Dupras
46f8984bdc
Merge branch 'qt5' into develop
...
Conflicts:
README.md
qtlib/about_box.py
qtlib/reg.py
qtlib/reg_demo_dialog.py
qtlib/reg_submit_dialog.py
2013-12-07 19:49:27 -05:00
Virgil Dupras
418acf6e5e
Merge branch 'regless' into develop
...
Conflicts:
cocoa/inter/app.py
core/app.py
hscommon/reg.py
locale/cs/LC_MESSAGES/ui.po
locale/de/LC_MESSAGES/ui.po
locale/fr/LC_MESSAGES/ui.po
locale/hy/LC_MESSAGES/ui.po
locale/it/LC_MESSAGES/ui.po
locale/pt_BR/LC_MESSAGES/ui.po
locale/ru/LC_MESSAGES/ui.po
locale/ui.pot
locale/uk/LC_MESSAGES/ui.po
locale/vi/LC_MESSAGES/ui.po
locale/zh_CN/LC_MESSAGES/ui.po
qt/base/app.py
2013-12-07 10:19:31 -05:00
Virgil Dupras
cb8bb5a70e
Disable symlink/hardlink option when not relevant (Qt)
...
When the "Replace with links" option is not enabled, the choice of
symlink or hardlink is irrelevant and causes confusion. Implemented core
mechanism for controlling the enabled state of that option. Also
implemented the Qt interface for it. Cocoa-part is still to be done.
I used this opportunity to greatly enhance documentation of this part of
the code. I'm beginning to like documenting...
Ref #247 .
2013-12-06 15:48:01 -05:00
Virgil Dupras
01403a3f92
Removed fairware
2013-11-30 17:54:40 -05:00
Virgil Dupras
cc5ea1dbc1
Fixed qt5 migration for ME and PE
2013-11-16 13:38:07 -05:00
Virgil Dupras
5a8cb6f5e3
Implemented super() inheritance style suggested by PyQt5
2013-10-20 15:53:59 -04:00
Virgil Dupras
664d630b96
Fixed occasional core dumps on exit
2013-10-20 15:38:24 -04:00
Virgil Dupras
a4256d3d2b
First Qt5 conversion commit
...
Replaced PyQt4 with PyQt5 and made all adjustments necessary to make
dupeGuru start up.
2013-10-20 15:15:09 -04:00