Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-29 | compat/options: also use references for base_value slots | Stanislaw Halik | |
2016-06-29 | compat/options: separate module dll names from rest of settings | Stanislaw Halik | |
The other settings are modified by the options dialog. These are in the main ui. We need to be able to save modules without saving the options dialog. | |||
2016-06-29 | compat/options: make inline to fix lto | Stanislaw Halik | |
2016-06-20 | compat/options: inline method | Stanislaw Halik | |
2016-06-18 | compat, logic, api: fix export macro copy-paste errors | Stanislaw Halik | |
2016-06-16 | all: split "api" into "api" and "logic" | Stanislaw Halik | |
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough. | |||
2016-06-14 | compat, proto/fsuipc: fix GNU CXX 6.1.0+ build | Stanislaw Halik | |
Include cmath explicitly | |||
2016-06-14 | compat/options: use traits to prevent slider min/max persistence | Stanislaw Halik | |
Without it, the serialized min and max member vars were set in stone despite further code changes. Now only the current value is persisted. Add clamp for cur/min/max slider values. Store default value as t rather than underlying_t since it's always been casted anyway. Add trivial comment, update copyright. | |||
2016-06-14 | compat/options: workaround lto bug on windows | Stanislaw Halik | |
2016-06-14 | compat/options: slider_value improvements | Stanislaw Halik | |
- a comparison operator. Qt uses it with the metatype support. - pretty print support for QDebug | |||
2016-06-14 | compat/options: always do a full check of changes | Stanislaw Halik | |
Get rid of state variable and compare transient/saved state exactly. Marking the "modified" bit caused IO when changing and then changing back to the original value, then saving. | |||
2016-06-14 | gui, spline-widget, compat/options: ensure no qsettings IO when not modified | Stanislaw Halik | |
Turns out every MainWindow::save() and friends were doing useless IO several times during each save. I blame the bundle abstraction. For bundles we track the modified state, but the spline widget needs equality check since it doesn't use the options api. It was found by accident when adding qDebug() into the slider_value {de,}serializer code. The .ini file was being rewritten over and over again causing hundres of milliseconds pauses on Windows. Remove the save timer kludge from gui. Saves are now fast. | |||
2016-06-14 | compat/options: finish slider value support | Stanislaw Halik | |
Keeping "cur" in 0->1 distorts the value on save/reload. | |||
2016-06-11 | compat/options: untested float->double signal support | Stanislaw Halik | |
2016-06-10 | compat/timer: cleanup harmless warnings | Stanislaw Halik | |
2016-06-09 | compat/options: allow devirtualize | Stanislaw Halik | |
2016-05-26 | compat/options: finish slider value support more | Stanislaw Halik | |
2016-05-26 | compat/options: switch to correct QVariant usage | Stanislaw Halik | |
2016-05-26 | compat/mutex: drop const when casting mutex | Stanislaw Halik | |
Fixes const correctness in spline-widget | |||
2016-05-26 | compat/options: don't emit a vtable for struct opts | Stanislaw Halik | |
It's for convenience in `struct settings' and not meant for casting to base class. | |||
2016-05-25 | compat/options: allow binding floats 0->1 to slider widgets | Stanislaw Halik | |
2016-05-25 | compat/options: konst korrektness | Stanislaw Halik | |
2016-05-22 | {compat,api}/camera: make CoInitializeEx use the right threading apartment | Stanislaw Halik | |
2016-05-22 | compat/sleep: include headers outside namespace scope | Stanislaw Halik | |
2016-05-22 | cmake/many: update for dinput8 manual link removal | Stanislaw Halik | |
It's automatic now. | |||
2016-05-17 | cmake/many: remove obsolete keywords from cmake macro invocation | Stanislaw Halik | |
2016-05-17 | cmake: work for shared library destructors | Stanislaw Halik | |
Remove linker script usage. I'm worried about the potential interaction with shared libraries' _fini symbol for global destruction. Further, add -fuse-cxa-atexit in order to run the global destructors to begin with. This works on LLVM and GNU. MSVC doesn't export symbols by default. | |||
2016-05-16 | compat/timer: add elapsed_seconds method | Stanislaw Halik | |
2016-05-15 | many: remove executable bit from source files | Stanislaw Halik | |
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation. | |||
2016-05-13 | compat/shm: nix redundant cast | Stanislaw Halik | |
2016-05-13 | many: remove unneeded implicit type conversion double <-> float | Stanislaw Halik | |
2016-05-10 | compat/options: use auto connection type always | Stanislaw Halik | |
I'm unsure whether the context object for QObject::connect overload we're using in enum support is treated as the connection's target thread at all. Docs are silent on this. In the meantime, no crashes or other anomalies observed, while violating Qt thread safety invariants resulted in immediate crashes beforehand. So let's use Qt::AutoConnection and not worry for the time being. | |||
2016-05-09 | compat/options: add enum support | Stanislaw Halik | |
2015-12-06 | compat/options: get rid of std::string usage | Stanislaw Halik | |
It's pointless to use it here. | |||
2015-12-06 | compat/options: move from header | Stanislaw Halik | |
2015-12-06 | api/camera-names: move to compat/ | Stanislaw Halik | |
2015-12-06 | compat/shm: fix build | Stanislaw Halik | |
2015-12-03 | compat/shm: move header inclusion after guard | Stanislaw Halik | |
2015-12-03 | api, compat: clean up verbose fprintf logspam | Stanislaw Halik | |
2015-11-22 | compat/options: no need to heap-alloc here | Stanislaw Halik | |
2015-11-11 | options: konst korrektness | Stanislaw Halik | |
2015-11-05 | shm: set right permissions for the mapping | Stanislaw Halik | |
Fix a copy-paste error. | |||
2015-11-02 | shm: guard pragma against non-GNUC | Stanislaw Halik | |
2015-11-01 | shm: fix winegcc on osx targetting 10.8 | Stanislaw Halik | |
see: [ 74%] Generating opentrack-wrapper-wine.exe.so In file included from /Users/sthalik/dev/opentrack/proto-wine/opentrack-wrapper-wine-windows.cxx:7: In file included from /Users/sthalik/dev/opentrack/opentrack-compat/shm.cpp:9: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdio:108:10: fatal error: 'support/win32/support.h' file not found ^ 1 error generated. winegcc: clang++ failed | |||
2015-11-01 | shm: allow everyone to use the mapping on win32 | Stanislaw Halik | |
Issue: #261 | |||
2015-11-01 | options: whitespace | Stanislaw Halik | |
2015-11-01 | options: don't define options singleton in every module | Stanislaw Halik | |
Instead, define in opentrack-api.so only. Also, move to opentrack-compat to break a circular dependency | |||
2015-11-01 | all: adjust options.hpp move to compat | Stanislaw Halik | |
2015-11-01 | cmake: export only needed symbols | Stanislaw Halik | |
2015-11-01 | cmake: less linkage boilerplate | Stanislaw Halik | |