Commit Graph

5258 Commits

Author SHA1 Message Date
Adam Honse
b86be6b75d Use RGBControllerInterface for plugin API 2026-05-23 15:17:05 -05:00
Adam Honse
c11090a4cf Add another thread in NetworkClient for handling ProfileManager requests outside of the main listener thread, to avoid deadlocking the waiting receivers 2026-05-20 08:13:17 -05:00
Adam Honse
a69390e5a8 Update translation files and fix some translation related issues 2026-05-14 23:21:10 -05:00
Adam Honse
a900d5c402 NetworkClient cleanup and internal API standardization 2026-05-14 17:26:12 -05:00
Adam Honse
f870dcdc3a NetworkServer cleanup and internal API standardization 2026-05-14 17:26:12 -05:00
Adam Honse
9a105ccdaf Add indication of standalone or local client mode to about page 2026-05-14 17:26:12 -05:00
Adam Honse
1faa2b1d31 Implement network request to get list of I2C buses so that the Get Hardware IDs dialog works in local client mode 2026-05-14 17:26:12 -05:00
Adam Honse
91923f3a82 Add option to force compact tabs and option to move tabs from left to top 2026-05-14 17:26:12 -05:00
Adam Honse
fcb594cb0e More LogManager cleanup, default to a log file count of 10, fix bug in log rotation 2026-05-14 17:26:12 -05:00
Adam Honse
32f0f1a9a2 Log manager SDK protocol 2026-05-14 17:26:12 -05:00
Adam Honse
4d379b97c6 Log Console Updates 2026-05-14 17:26:12 -05:00
Adam Honse
a3e5296bf2 LogManager cleanup 2026-05-14 17:26:12 -05:00
Adam Honse
072d27d9dd 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-14 17:25:35 -05:00
Dmitry Kychanov
201f2d7aba Fix losing software info upon changing language [next] 2026-05-07 17:24:47 -05:00
Dmitry Kychanov
28cd45b8c0 Fix device tabs not applying compact mode when hotplugging 2026-05-07 17:24:46 -05:00
Adam Honse
7a9aab5a37 Close SDK connection if magic value is not correctly received 2026-05-07 17:24:46 -05:00
Adam Honse
24ea50df71 Implement size verification on RGBController set description functions 2026-05-07 17:24:46 -05:00
Adam Honse
75df39252b Clean up zone initialization dialog 2026-05-07 17:24:46 -05:00
Adam Honse
385f123816 Require local client permission for DeleteProfile, SaveProfile, UploadProfile, SetSettings, and SaveSettings operations, some general cleanup 2026-05-07 17:24:46 -05:00
Adam Honse
e1fc54de85 Sanitize profile filenames 2026-05-07 17:24:46 -05:00
Adam Honse
e22e88d97d Add RescanDevices to plugin API 2026-05-07 17:24:46 -05:00
Adam Honse
0ba254e38f Implement segment groups in zone editor 2026-05-07 17:24:46 -05:00
Adam Honse
9d35d28a6a 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-07 17:24:46 -05:00
stephen iacovelli
b4b4f3b891 Sort profiles list alphabetically 2026-05-07 17:24:46 -05:00
Adam Honse
e1086712ad Organize OpenRGBSettingsPage with Group Boxes 2026-05-07 17:24:46 -05:00
Kasslim
fd7ccad1e6 Correct spelling Busses -> Buses
Commits merged by Adam Honse <calcprogrammer1@gmail.com>
2026-05-07 17:24:46 -05:00
诺诺
8bc1a0cb8f Add Nollie controller OS2.1 2026-05-07 17:24:46 -05:00
Adam Honse
5112224240 Initial implementation of OpenRGB SDK protocol Wireshark dissector 2026-05-07 17:24:46 -05:00
Adam Honse
5e2cc42290 Add ACK to network packets processed by NetworkServer 2026-05-07 17:24:46 -05:00
Adam Honse
b1436a8435 Only update device view when RGBController::UpdateLEDs signal is sent to OpenRGBDevicePage, fix device view not refreshing if multiple LEDs are selected 2026-05-07 17:24:46 -05:00
Adam Honse
a8d4e25642 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-07 17:24:46 -05:00
Adam Honse
2b3638ba57 Have dummy controller shut down its background thread immediately during constructor to save resources 2026-05-07 17:24:46 -05:00
Adam Honse
78369c2a92 DeviceView code cleanup, formatting, commenting 2026-05-07 17:24:46 -05:00
Adam Honse
03ce513254 Fix selecting LEDs in device view 2026-05-07 17:24:46 -05:00
Adam Honse
18503cccc6 TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-05-07 17:24:46 -05:00
Adam Honse
e1d46d3bb3 Resize tabs when width is small 2026-05-07 17:24:46 -05:00
Adam Honse
0466996970 Rework adding segments with ConfigureZone 2026-05-07 17:24:46 -05:00
Adam Honse
56bd7580ba 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-07 17:24:46 -05:00
Adam Honse
ca47047bf8 Add matrix map automatic generation to matrix map editor 2026-05-07 17:24:46 -05:00
Adam Honse
cc00690dd4 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-07 17:24:46 -05:00
Adam Honse
973311aa48 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-07 17:24:46 -05:00
Adam Honse
747afdf553 When saving sizes/manual configuration, keep any existing controllers that are not currently available 2026-05-07 17:24:46 -05:00
Adam Honse
8f11f8fd97 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-05-07 17:24:45 -05:00
Adam Honse
2b11f6fe07 Profile editor dialog 2026-05-07 17:24:45 -05:00
Adam Honse
94981f107b Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-05-07 17:24:45 -05:00
Adam Honse
0144a6a150 [next] Active profile tracking 2026-05-07 17:24:45 -05:00
Adam Honse
6ec8b80e65 Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-05-07 17:24:45 -05:00
Adam Honse
ddae1ed20a 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-07 17:24:45 -05:00
Adam Honse
70f79e97b4 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-07 17:24:45 -05:00
Adam Honse
d05fe1bdf1 Add detectors for filtering on IPU only (no VID/PID) 2026-05-07 17:24:45 -05:00