Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-27 | options/fix bundle refcount handling | Stanislaw Halik | |
We rolled up our own refcount while using shared_ptr at the same time. Remove all rolled-up logic and rely on shared_ptr's custom deleter to do the cleanups. This greatly simplifies the code here. Unfortunately, _fini ordering makes Qt crash after the app object runs out of scope: gui/main.cpp: QApplication app(argc, argv); Both things considered, use _exit(2) on Unix to avoid running static destructors. | |||
2017-02-27 | logic/shortcuts: free all heap memory in dtor | Stanislaw Halik | |
2017-02-27 | remove unfinished polish translation files | Stanislaw Halik | |
Polish speakers typically know English well enough and translations are awkward. | |||
2017-02-27 | gui/options: camera offset -> camera angle | Stanislaw Halik | |
Adjust translations. | |||
2017-02-27 | logic/tracker: invert prior to applying camera skew | Stanislaw Halik | |
2017-02-27 | logic/tracker: invert before applying camera angle | Stanislaw Halik | |
2017-02-26 | logic/tracker: remove unused code and struct membersopentrack-2.3.1+fix1 | Stanislaw Halik | |
It belonged to the "experimental" center method that got removed already. | |||
2017-02-26 | api/base-dialog: try harder to avoid double closing() signal | Stanislaw Halik | |
2017-02-26 | {api/base,gui/options}-dialog: prevent closing without signal | Stanislaw Halik | |
Use hide() to avoid emitting idempotent events. There's isVisible() but no isClosed() or equivalent. Worse yet, close() can return true twice in a row, despite what docs for `bool QWidget::close()' say. | |||
2017-02-25 | Merge pull request #553 from mrsanchos/unstable | Stanisław Halik | |
Add some translation strings | |||
2017-02-25 | Add some translation strings | Alexander Orokhovatskiy | |
2017-02-25 | cmake/i18n: rebuild .qm if .ts changes | Stanislaw Halik | |
2017-02-25 | logic/main-settings: default to camera center method | Stanislaw Halik | |
2017-02-25 | cmake/version: don't export from static library | Stanislaw Halik | |
2017-02-25 | gui/options-dialog: sprinkle some konst reference | Stanislaw Halik | |
2017-02-25 | gui/options-dialog: prevent crap key text from being saved | Stanislaw Halik | |
Unprintable characters won't work in addition to not displaying right. This happens with altgr diacritics on the Polish keyboard on Linux. Skip all key text with unprintable characters, as if the key was getting unbound. | |||
2017-02-25 | gui/options-dialog: prevent escape key closing on Linux | Stanislaw Halik | |
The escape key closed the dialog but prevented save/cancel hooks from being run. Now we get the hooks running twice but it's better than not at all. | |||
2017-02-25 | qxt-mini: multiple Linux support fixes | Stanislaw Halik | |
- Register an event filter once and keep it there. The refcount goes out of whack. Will further investigate. - Use an iterator over all shortcuts registered for given key combination - Lessen logspam Keyboard shortcut support on Linux looks pretty good now. The issue that blocked keys from being further processed was running XGrabKey multiple times with various modifiers. XGrabKey will block unlisted modifiers from being passed to other apps. The solution was to register once with AnyModifier and care about modifiers only later. | |||
2017-02-25 | gui/keyboard: drop modifier keys | Stanislaw Halik | |
For Linux. | |||
2017-02-25 | qxt-mini: refcount identical shortcuts rather than dropping them | Stanislaw Halik | |
Only for Linux. The OSX code should stay intact however. | |||
2017-02-25 | logic/shortcuts: remove shared_ptr usage | Stanislaw Halik | |
2017-02-25 | logic/shortcuts: reorder headers | Stanislaw Halik | |
2017-02-25 | qxt: remove ifdefs for Qt4. We're not using it again. | Stanislaw Halik | |
2017-02-25 | qxt/mac: reindent | Stanislaw Halik | |
2017-02-25 | cv: fix clang warning | Stanislaw Halik | |
2017-02-25 | gui/process-detector: fix it having a generic "dialog" name | Stanislaw Halik | |
2017-02-25 | contrib/util: add more unused attribute macros | Stanislaw Halik | |
2017-02-25 | tracker/pt: fix clang-reported compile error | Stanislaw Halik | |
2017-02-24 | cmake: install program sources more robustly | Stanislaw Halik | |
Before it skipped some subdirectory parts. | |||
2017-02-24 | cmake: fix policy scope | Stanislaw Halik | |
2017-02-24 | cmake/i18n: fix dependencies | Stanislaw Halik | |
Was broken on Unix make. | |||
2017-02-24 | logic/work: fix -Wreorder | Stanislaw Halik | |
2017-02-24 | gui: simplify keyboard listener dialog | Stanislaw Halik | |
It's now generated from .ui QDialog, not a manually created QDialog from QLabel in .ui. | |||
2017-02-23 | add empty .ts files for qxt-mini, x-plane-plugin | Stanislaw Halik | |
2017-02-23 | fix build errors on Linux | Stanislaw Halik | |
2017-02-23 | gui/options-dialog: prevent heisenbugs (?) | Stanislaw Halik | |
It's likely that there's some memory handling bug when stack-allocating Qt widgets and other components. Use QObject::deleteLater. Will check with Valgrind later. | |||
2017-02-23 | gui/options-dialog: few fixes | Stanislaw Halik | |
- Russian translation has slightly longer words. Don't hardcode the minimum size, rather allow layouts to expand the dialog. - Prevent shortcut window reflow depending on keybinding description text's length | |||
2017-02-23 | gui/process-detector: fix user interface layout issues | Stanislaw Halik | |
It can still break on some exotic styles like OSX. | |||
2017-02-23 | logic, gui: move selected-libraries to struct work | Stanislaw Halik | |
2017-02-23 | cmake/i18n: express i18n target deps properly | Stanislaw Halik | |
2017-02-23 | gui/main-window: simplify | Stanislaw Halik | |
2017-02-22 | tracker/pt: don't busy loop when trying to get a frame | Stanislaw Halik | |
Reported-by: @MathijsG Issue: #552 | |||
2017-02-22 | cmake: change translation regen logic | Stanislaw Halik | |
- lupdate runs after every source code change for that module - lrelease depends on .ts files created by lupdate - SDK_REGEN_TRANSLATIONS got removed - file dependencies are expressed right, so parallel build works | |||
2017-02-22 | filter/kalman: delete unused .ts file | Stanislaw Halik | |
We're not doing pl_PL translation. Kill the stray file. | |||
2017-02-22 | cmake/i18n: express file dependencies correctly | Stanislaw Halik | |
Otherwise parallel make was doing lupdate -> lrelease out of order, leading to badness. Also build failing unless all .ts files existed. We need a way to bootstrap .ts files obviously. | |||
2017-02-21 | cv/video-widget: make check for widget size more strict | Stanislaw Halik | |
It still causes assertion failures for @mrsanchos. | |||
2017-02-21 | gui/main-window: try avoid races the other way | Stanislaw Halik | |
2017-02-21 | Revert "gui/main-window: hopefully prevent rare race on close" | Stanislaw Halik | |
It doesn't cancel the settings when closing the module's dialog. This reverts commit f575f6402fc4e79e2d12c2bc897b616f112af4d9. | |||
2017-02-21 | cv/video-widget: short-circuit early in widget creation | Stanislaw Halik | |
Otherwise opencv has an assertion failure when creating a matrix with a zero dimension. | |||
2017-02-21 | cv/video-widget: reduce cpu load | Stanislaw Halik | |
Now that the resize happens in another thread, run timer less often |