History log of /haiku/src/kits/shared/SettingsMessage.cpp
Revision Date Author Comments
# 329ae20b 25-Apr-2021 Fredrik Modéen <fredrik@modeen.se>

Make Bluetooth Pref use BMessage to save data.

* This will break previus ways to store settings (as it only stored a struct)
* Now we use BMessage to save data.
* Added some stuff to SettingsMessage.
* Fix a bug in BluetoothSettingsView::_GetClassForMenu() and SettingsMessage::SetValue

Change-Id: I6a0fa1564e78460258f480947592eb4007985007
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3887
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 6cd4da00 25-Apr-2021 Fredrik Modéen <fredrik@modeen.se>

SettingsMessage: Add uint16 and uint64 support

* Thanks to kottan I notices something was of..
* Added uInt16 and uInt64, I was missing UInt16.

Change-Id: Id136dbb5a81392a7a694ac1fbbd9aefbd7f77af3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3888
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# c7ac2d50 23-Apr-2021 François Revol <revol@free.fr>

SettingsMessage: Remove existing int32 when saving an uint32

Fixes #16922 for good.

Previous attempt did read the saved value but didn't save it back properly.


# 51b5bca9 23-Apr-2021 Adrien Destugues <adrien.destugues@viveris.fr>

SettingsMessage: style fix.


# 8f16317a 23-Apr-2021 Máximo Castañeda <antiswen@yahoo.es>

Fix build

Change-Id: I0d3e3afc7262688e3bc90672766e6e7d263f06b8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3884
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 63046071 23-Apr-2021 Adrien Destugues <adrien.destugues@viveris.fr>

SettingsMessage: search for int32 version when searching an uint32 setting.

There was a bug in the version of this class previously used by MediaPlayer,
and as a result we have settings where uint32 fields are stored as int32.
If the uint32 version is not found, try the int32 version.

Fixes #16922.


# 6375ef05 10-Apr-2021 Fredrik Modéen <fredrik@modeen.se>

Move SettingsMessage to a central location

* Move SettingsMessage
* Remove SettingsMessage from MediaPlayer and WebPositive
* Use the central SettingsMessage in MediaPlayer and WebPositive (Later Bluetooth)
* Fix a Jam file.

Change-Id: I3bb82a40082c5ece5c2aea2468a77bcd9f15ce77
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3856
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>