You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kxkb
Mavridis Philippe aed24cdf3f Kxkb: layout switching and UI bugfixes and minor refactoring
* Layout switching
  - Improved layout change logic (indicator is now always updated when the actual switch occurs). This fixes layout switching triggered by the X11 shortcut not being synchronized with layout switching from the tray icon click and the TDE shortcut.
  - Kxkb will ignore XkbStateNotify events not related to XkbGroupState which caused strange behaviour with the system tray context menu.
  - Reapply Xkb settings when a keyboard device changes state
  - Do not run setxkbmap without arguments
  - Catch and process changes to Xkb layouts and options
  - Always check for Xkb opcode in X11 events, this fixes invalid group issue (Michele Calgaro)

* Tray indicator
  - Do not reload all Kxkb settings every time we are requested to get a pixmap!
  - Tray indicator pixmap manager improvements
  - Fix Quit tray icon menu item

* Configuration
  - Optimize settings reloading
  - Do not reload settings every time getKxkbOptions() is called; if settings actually need to be re-read, it must be done maunally before calling this function
  - Use pointer to global KxkbConfig instance instead of keeping own copy
  - Fixed optimized loading of initial settings using KxkbConfig::LOAD_INIT_OPTIONS (I had sort of broken it in the past)
  - Removed unused KxkbConfig::LOAD_ACTIVE_OPTIONS
  - `newInstance()` now delegates calling setLayout() to readSettings()
  - Merged `initTray()` into `readSettings()` - no reason to exist as separate function

* Refactoring
  - Merged KxkbLabelController into KxkbSystemTray
  - Rename LayoutIcon to LayoutIconManager for clarity
  - Minor code cleanup in LayoutIconManager
  - Remove use of singleton pattern for LayoutIconManager
  - Make XKBExtension a singleton.
  - Add mutex to XKBExtension to prevent it from processing configuration changes likely caused by KXkb
  - `XKBExtension::getServerOptions()` now also returns layout and variant information in a XkbOptions struct
  - New `KxkbConfig::setFromXkbOptions()` member can update current configuration from a XkbOptions struct
  - No need to use `tdeApp` pointer in KXKBApp (KUniqueApplication) class
  - Consistent code style and more appropriate function names and return types
  - Commented option sections for clarity
  - Removed superfluous debug messages
  - Add proper copyright header to extension.*

* Settings GUI
  - Make "Transparent background" checkbox available for theme colors in the GUI
  - Add customization options "Stretch flag", "Dim flag", "Show indicator bevel"
  - Disable KMilo checkbox when layout notifications disabled
  - Fix reading settings for TDE layout hotkeys

This resolves #547.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
..
pics Fix invalid headers in PNG files and optimize for size 9 years ago
CMakeL10n.txt KXkb: add keyboard layout notification 2 years ago
CMakeLists.txt Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
ConfigureChecks.cmake Fix FTBFS on freebsd 10 years ago
LICENSE Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 16 years ago
Makefile.am Additional k => tde renaming and fixes 12 years ago
TODO Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 13 years ago
configure.in.in Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 16 years ago
eventsrc Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
extension.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
extension.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kcmlayout.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kcmlayout.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kcmlayoutwidget.ui Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kcmmisc.cpp Use tdestandarddirs.h 7 months ago
kcmmisc.h Replace Q_OBJECT with TQ_OBJECT 2 years ago
kcmmiscwidget.ui Removed unused repeatBixBIOS checkbox from keyboard settings. This resolves bug 3142. 5 years ago
keyboard.desktop Desktop file translations: 5 years ago
keyboard_layout.desktop Desktop file translations: 5 years ago
kxkb.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kxkb.desktop Desktop file translations: 5 years ago
kxkb.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kxkb_groups Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 16 years ago
kxkbbindings.cpp Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines 2 years ago
kxkbconfig.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kxkbconfig.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kxkbtraywindow.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
kxkbtraywindow.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
layoutmap.cpp kxkb: re-add custom TDE switching shortcut 2 years ago
layoutmap.h kxkb: re-add custom TDE switching shortcut 2 years ago
layoutunit.h Kxkb: move LayoutUnit struct into its own file and add getLayoutName function 2 years ago
pixmap.cpp Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
pixmap.h Kxkb: layout switching and UI bugfixes and minor refactoring 6 months ago
rules.cpp Use tdestandarddirs.h 7 months ago
rules.h kxkb: utilize a translations provseided by xkeyboard-config 2 years ago
x11helper.cpp Use tdestandarddirs.h 7 months ago
x11helper.h kxkb: utilize a translations provseided by xkeyboard-config 2 years ago