summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-02-27options/fix bundle refcount handlingStanislaw 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-27logic/shortcuts: free all heap memory in dtorStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-27gui/options: camera offset -> camera angleStanislaw Halik
Adjust translations.
2017-02-27logic/tracker: invert prior to applying camera skewStanislaw Halik
2017-02-27logic/tracker: invert before applying camera angleStanislaw Halik
2017-02-26logic/tracker: remove unused code and struct membersopentrack-2.3.1+fix1Stanislaw Halik
It belonged to the "experimental" center method that got removed already.
2017-02-26api/base-dialog: try harder to avoid double closing() signalStanislaw Halik
2017-02-26{api/base,gui/options}-dialog: prevent closing without signalStanislaw 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-25Merge pull request #553 from mrsanchos/unstableStanisław Halik
Add some translation strings
2017-02-25Add some translation stringsAlexander Orokhovatskiy
2017-02-25cmake/i18n: rebuild .qm if .ts changesStanislaw Halik
2017-02-25logic/main-settings: default to camera center methodStanislaw Halik
2017-02-25cmake/version: don't export from static libraryStanislaw Halik
2017-02-25gui/options-dialog: sprinkle some konst referenceStanislaw Halik
2017-02-25gui/options-dialog: prevent crap key text from being savedStanislaw 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-25gui/options-dialog: prevent escape key closing on LinuxStanislaw 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-25qxt-mini: multiple Linux support fixesStanislaw 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-25gui/keyboard: drop modifier keysStanislaw Halik
For Linux.
2017-02-25qxt-mini: refcount identical shortcuts rather than dropping themStanislaw Halik
Only for Linux. The OSX code should stay intact however.
2017-02-25logic/shortcuts: remove shared_ptr usageStanislaw Halik
2017-02-25logic/shortcuts: reorder headersStanislaw Halik
2017-02-25qxt: remove ifdefs for Qt4. We're not using it again.Stanislaw Halik
2017-02-25qxt/mac: reindentStanislaw Halik
2017-02-25cv: fix clang warningStanislaw Halik
2017-02-25gui/process-detector: fix it having a generic "dialog" nameStanislaw Halik
2017-02-25contrib/util: add more unused attribute macrosStanislaw Halik
2017-02-25tracker/pt: fix clang-reported compile errorStanislaw Halik
2017-02-24cmake: install program sources more robustlyStanislaw Halik
Before it skipped some subdirectory parts.
2017-02-24cmake: fix policy scopeStanislaw Halik
2017-02-24cmake/i18n: fix dependenciesStanislaw Halik
Was broken on Unix make.
2017-02-24logic/work: fix -WreorderStanislaw Halik
2017-02-24gui: simplify keyboard listener dialogStanislaw Halik
It's now generated from .ui QDialog, not a manually created QDialog from QLabel in .ui.
2017-02-23add empty .ts files for qxt-mini, x-plane-pluginStanislaw Halik
2017-02-23fix build errors on LinuxStanislaw Halik
2017-02-23gui/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-23gui/options-dialog: few fixesStanislaw 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-23gui/process-detector: fix user interface layout issuesStanislaw Halik
It can still break on some exotic styles like OSX.
2017-02-23logic, gui: move selected-libraries to struct workStanislaw Halik
2017-02-23cmake/i18n: express i18n target deps properlyStanislaw Halik
2017-02-23gui/main-window: simplifyStanislaw Halik
2017-02-22tracker/pt: don't busy loop when trying to get a frameStanislaw Halik
Reported-by: @MathijsG Issue: #552
2017-02-22cmake: change translation regen logicStanislaw 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-22filter/kalman: delete unused .ts fileStanislaw Halik
We're not doing pl_PL translation. Kill the stray file.
2017-02-22cmake/i18n: express file dependencies correctlyStanislaw 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-21cv/video-widget: make check for widget size more strictStanislaw Halik
It still causes assertion failures for @mrsanchos.
2017-02-21gui/main-window: try avoid races the other wayStanislaw Halik
2017-02-21Revert "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-21cv/video-widget: short-circuit early in widget creationStanislaw Halik
Otherwise opencv has an assertion failure when creating a matrix with a zero dimension.
2017-02-21cv/video-widget: reduce cpu loadStanislaw Halik
Now that the resize happens in another thread, run timer less often