Commit Graph

5248 Commits

Author SHA1 Message Date
Adam Honse
7d75432b69 Log manager SDK protocol 2026-05-07 12:12:12 -05:00
Adam Honse
d90a1d6f76 Log Console Updates 2026-05-07 00:37:16 -05:00
Adam Honse
0a77058d3b LogManager cleanup 2026-05-07 00:37:09 -05:00
Adam Honse
17313f0d94 Settings Rework
* Add JSON string configuration field to RGBController to store device-specific configurations
    * This JSON string holds both configuration and schema
    * Add settings schema tracking to SettingsManager
    * Implement dynamic settings widget that generates a settings UI based on a JSON schema
    * Implement SettingsManager callback for notifying of settings changes and settings schema updates
    * Always enable Entire Device zone option and use it to enable Edit Device
    * Rename SaveSizes to SaveConfiguration in ProfileManager and Sizes.json to Configuration.json
    * Add zone flag for indicating that a zone's geometry may change, informing profile manager to ignore this check
    * Remove Theme setting and Theme Manager, as this didn't work on most setups anyways and Qt6 has proper Windows dark theming
2026-05-07 00:36:59 -05:00
Dmitry Kychanov
5ab2c8de69 Fix losing software info upon changing language [next] 2026-05-05 01:37:27 -05:00
Dmitry Kychanov
0bda6af05a Fix device tabs not applying compact mode when hotplugging 2026-05-05 01:37:27 -05:00
Adam Honse
0b35e12425 Close SDK connection if magic value is not correctly received 2026-05-05 01:37:27 -05:00
Adam Honse
f6435d3f28 Implement size verification on RGBController set description functions 2026-05-05 01:37:27 -05:00
Adam Honse
6851a508e7 Clean up zone initialization dialog 2026-05-05 01:37:27 -05:00
Adam Honse
336be5bb44 Require local client permission for DeleteProfile, SaveProfile, UploadProfile, SetSettings, and SaveSettings operations, some general cleanup 2026-05-05 01:37:27 -05:00
Adam Honse
f221b4af18 Sanitize profile filenames 2026-05-05 01:37:27 -05:00
Adam Honse
cb20062b53 Add RescanDevices to plugin API 2026-05-05 01:37:27 -05:00
Adam Honse
f6b0e974fc Implement segment groups in zone editor 2026-05-05 01:37:27 -05:00
Adam Honse
9b84f28cba Rework server initialization
* Only create server instance if server is actually needed
    * Pass initial server host and port through ResourceManager
    * Allow setting default server host and port in Server settings
2026-05-05 01:37:27 -05:00
stephen iacovelli
9ac84ed408 Sort profiles list alphabetically 2026-05-05 01:37:27 -05:00
Adam Honse
959f8822f8 Organize OpenRGBSettingsPage with Group Boxes 2026-05-05 01:37:27 -05:00
Kasslim
fe20975199 Correct spelling Busses -> Buses
Commits merged by Adam Honse <calcprogrammer1@gmail.com>
2026-05-05 01:37:27 -05:00
诺诺
09ba68af1d Add Nollie controller OS2.1 2026-05-05 01:37:27 -05:00
Adam Honse
028b241e40 Initial implementation of OpenRGB SDK protocol Wireshark dissector 2026-05-05 01:37:27 -05:00
Adam Honse
8fa2a4a31d Add ACK to network packets processed by NetworkServer 2026-05-05 01:37:27 -05:00
Adam Honse
f8e23f527e Only update device view when RGBController::UpdateLEDs signal is sent to OpenRGBDevicePage, fix device view not refreshing if multiple LEDs are selected 2026-05-05 01:37:27 -05:00
Adam Honse
75f9714519 Don't emit selection update on mouse click event to avoid sending unnecessary events, also only send one type of event per mouse release event. Fix LED box not being updated 2026-05-05 01:37:27 -05:00
Adam Honse
4f21361185 Have dummy controller shut down its background thread immediately during constructor to save resources 2026-05-05 01:37:27 -05:00
Adam Honse
00a9d6f23c DeviceView code cleanup, formatting, commenting 2026-05-05 01:37:27 -05:00
Adam Honse
113f4ed429 Fix selecting LEDs in device view 2026-05-05 01:37:26 -05:00
Adam Honse
5a0e942bc4 TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-05-05 01:37:26 -05:00
Adam Honse
33bf135df2 Resize tabs when width is small 2026-05-05 01:37:26 -05:00
Adam Honse
e29852e90e Rework adding segments with ConfigureZone 2026-05-05 01:37:26 -05:00
Adam Honse
5a5b9c7bfe Zone and Segment type updates
* Add zone flags to indicate if fields are manually configurable and if they have been manually configured
  * Add flags field to segment type
  * Add segment flags for group start and group member
  * Add color mode support flags to zone (RGB, RBG, GRB, GBR, BRG, BGR)
  * Add color mode enum to zone
  * Update zone and segment description functions to support new fields
  * Rename the effects-only configurable size flag
  * Remove zone type and matrix map configuration from E1.31 manual configuration, use zone editor instead
  * Rework DeviceResizeZone to DeviceConfigureZone
  * Rework most ARGB controllers to allow zone customizations
  * Rework DRGBController to define devices in DRGBDevices list (similar to RazerDevices)
  * Rework NollieController to define devices in NollieDevices list (similar to RazerDevices)
2026-05-05 01:37:26 -05:00
Adam Honse
cebbd3f8df Add matrix map automatic generation to matrix map editor 2026-05-05 01:37:26 -05:00
Adam Honse
68c96610f0 RGBController API changes and segment configuration updates
* Make the Get/Set RGBControler descriptor functions static
  * Add functions for getting the matrix_map_type for zone and segment matrix maps
  * Rename zone resize dialog to zone editor dialog
  * Add additional segment types
  * Add option to import segments configuration from JSON file in zone editor dialog
  * Update device view to be able to display matrix segment types
  * Add matrix map editor dialog for creating/editing segment matrix maps
  * Add option to export segments configuration to JSON file in zone editor dialog
2026-05-05 01:37:26 -05:00
Adam Honse
a735eb007d When updating existing profile without profile editor dialog, keep saved states for unavailable controllers, base color, and only update plugins already part of the existing profile 2026-05-05 01:37:26 -05:00
Adam Honse
f3bdc26794 When saving sizes/manual configuration, keep any existing controllers that are not currently available 2026-05-05 01:37:26 -05:00
Adam Honse
26ddefd532 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-05-05 01:37:26 -05:00
Adam Honse
cc59916daf Profile editor dialog 2026-05-05 01:37:26 -05:00
Adam Honse
f4dd1721cc Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-05-05 01:37:26 -05:00
Adam Honse
c7b9257bd0 [next] Active profile tracking 2026-05-05 01:37:26 -05:00
Adam Honse
2de19dff26 Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-05-05 01:37:26 -05:00
Adam Honse
92859fda5f Split HID and wrapped HID detector lists into specific detectors (with exact VID/PID matching) and generic detectors (with only IPU matching) and prioritize specific detectors when detecting HID devices 2026-05-05 01:37:26 -05:00
Adam Honse
e713300348 Move RGBController base destructor functionality into RGBController::Shutdown() so that update thread can be stopped before deleting the controller. Shutdown() must be called in every RGBController implementation before deleting the controller. Also some fixes to the NetworkServer to avoid deadlocking and disconnect issues 2026-05-05 01:37:26 -05:00
Adam Honse
8984a42234 Add detectors for filtering on IPU only (no VID/PID) 2026-05-05 01:37:26 -05:00
Adam Honse
6a707fc911 Drop support for old hidapi versions that don't support usage information 2026-05-05 01:37:26 -05:00
Adam Honse
5724bad6f8 Add some validity checks to mode setters and getters in RGBController 2026-05-05 01:37:26 -05:00
Adam Honse
7d6db029da [next] SDK v6: Implement client and server flags to indicate capabilities and... 2026-05-05 01:37:26 -05:00
Adam Honse
fc2efdfa2e SDK documentation updates 2026-05-05 01:37:26 -05:00
Adam Honse
61e5cfaf41 Expose LogManager in ResourceManager so that plugins can use it 2026-05-05 01:37:26 -05:00
Adam Honse
6402742134 Update NetworkClient to use log manager and use common name constant in server logs 2026-05-05 01:37:26 -05:00
Adam Honse
1ba8e05549 Use std::string.assign when setting strings in the SDK protocol and description handlers so that string size limit is enforced, then strip out null terminators 2026-05-05 01:37:26 -05:00
Adam Honse
2b82238ca6 Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-05-05 01:37:26 -05:00
Adam Honse
42de1646eb SDK v6: Use unique IDs for identifying RGBControllers in SDK protocol 2026-05-05 01:37:26 -05:00