Adam Honse
c71cc4f18a
Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect
7 months ago
Adam Honse
30f9b84d5f
Use GetName instead of directly accessing the RGBController::name member outside of Controllers
9 months ago
Adam Honse
9fb71a30ec
Use getter functions when accessing string fields in RGBControllers in ProfileManager and cli
9 months ago
Adam Honse
8fbde8073d
Do not save virtual or remote devices to sizes.ors
1 year ago
Adam Honse
77fd471915
Only load segments from profile if segment count differs from base controller, prevents segment duplication on devices with autogenerated segments
1 year ago
morg
59e303c882
Add missing tags in logs
1 year ago
Adam Honse
b0c3856ab4
Fix warnings in ProfileManager.cpp
1 year ago
Adam Honse
9281f8ed5c
Fix possible loss of data warnings in ProfileManager.cpp
2 years ago
Adam Honse
f4ff81bd45
Fix uninitialized bytes valgrind warning in ProfileManager.cpp
2 years ago
Adam Honse
a7c400bc65
Update yet more file header comments to standardized new format
2 years ago
morg
2eb43fa445
Remove null terminating chars from profile names before using them in ProfileManager
2 years ago
Dmitry K
51712f08b5
Removed include directives from ResourceManager.h to speed up build process
3 years ago
Geoffrey Mon
7b286352da
Read I2C bus location more reliably
3 years ago
Frédéric Mercille
164f53dc91
Fix for Issue 3359 - Log which devices fail to load properly, but still update...
3 years ago
Shady Nawara
b05b5205de
Fix segments load from profile
3 years ago
Adam Honse
447e936464
Segments
3 years ago
Dmitry K
b409b5f7cc
Added support for unicode paths (filesystem::path approach)
3 years ago
Aleš Nezbeda
2603dbe4ab
Fix profile not being applied when I2C bus ID changes on reboot
4 years ago
Adam Honse
4391f6db60
Attempt to fix https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/1820 by moving return statement
5 years ago
morg
3b49e9329b
Add logs for invalid profiles
5 years ago
Alex
4af8614fce
Add formated loging for device detection
...
Commits merged and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Chris
a46eccef3c
Added brightness to profile loading and saving
...
* Bumped profile version to 3
* Loading a v1/v2 profile onto a device with brightness will work
* Loading a v3 profile onto a device without brightness also works
* Add profile version parameter to Get/SetModeDescription
Commit amended for code style and to update versioning by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Gabriel Marcano
30f88d5fcf
Fix mismatched new[] / delete
...
- The device description buffer was allocated using new[] in
RGBController. Make sure to free it using delete[].
5 years ago
Adam Honse
5616f547e4
Fix a bunch of warnings
5 years ago
k1-801
ad2cd89128
Add filesystem header to select between std::filesystem and std::experimental::filesystem depending on system availability.
...
Commit amended by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse
827b75320c
Fix profile versioning. Profile version 1 used protocol version 0. Move profile version up to 2 using protocol version 2 and keep them synchronized if a new protocol version is added
5 years ago
Chris
ae8b502ad2
Gathering logging info to fix #1241
...
* Aligning profile version and header string
* Adding profile validation loggging
* Adding success / failure logging for each controller when attempting
to load profile
5 years ago
morg
8ef9f622f1
Fix memory leak (RGBController::GetDeviceDescription)
5 years ago
k1-801
1fdd4379a7
Small adjustments in LogManager
5 years ago
Chris
d65def0179
Fixing --help string for -p option
...
* Tweaked the profile mananger to allow to load profiles either with or
without the file extension
* Changed the --help string to reflect the change
5 years ago
Aleksey Krichevskiy
75a14f2250
ProfileManager: trunc flag to file overwrite
5 years ago
jath03
84861ef989
Fixing profile loading #1135
5 years ago
Jack
f844108022
Removing .orp extension from profile names
5 years ago
Diogo Trindade
f63aec118c
Fixed profile string sdk response not being null terminated
5 years ago
morg
e2bc1003e6
Add profile management to SDK
...
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse
72070f95ad
Fix profile deletion
5 years ago
Adam Honse
61d4b8fa5d
More size loading fixes
6 years ago
Adam Honse
a7acefb284
Ignore location string when loading profiles for HID devices
6 years ago
Adam Honse
3f7c981ba2
Use up-to-date controller list in profile manager
6 years ago
Adam Honse
ddfcd1caf9
Split CLI processing into pre- and post-detection functions and add --localconfig and --nodetect options
6 years ago
Adam Honse
72da8f362c
SDK protocol versioning implemented. Protocol updated to version 1 which adds vendor string to controller request.
6 years ago
Adam Honse
a24909471f
Fix Profile list loading
6 years ago
Adam Honse
f7d187f5b2
Use XDG-compliant configuration directory (APPDATA on Windows)
6 years ago
Adam Honse
b19dfdb010
Fix profile loading
6 years ago
Adam Honse
e767b3db90
Split functionality for applying sizes and settings from a temporary controller list to a controller to its own function
6 years ago
Adam Honse
da8c06756b
Split functionality for loading temporary controllers from a saved profile into its own function
6 years ago
Térence Clastres
53379c5482
Fixes for memory issues detected by valgrind
6 years ago
Adam Honse
2b660a47c7
Fix wrong index being used in profile lookup that would cause segfaults if there are more controllers detected than in profile
6 years ago
Adam Honse
aa182936ba
Clean up warnings, except in hidapi and cli files
6 years ago
Adam Honse
18c18e3999
Automatically save a sizes.ors profile when resizing a zone, then automatically load zone sizes from sizes.ors on start
6 years ago