maliit:fw.git
5 years agoMake QtQuick plugin factory work for Qt5 master
Michael Hasselmann [Tue, 23 Oct 2012 19:04:11 +0000 (21:04 +0200)]
Make QtQuick plugin factory work for Qt5

Re-enables loading of (pure) QML plugins, such as the Nemo Keyboard. There seem
to be rendering issues where the screen is not properly updated, making the
Nemo Keyboard completely unusable with Qt5, for now.

5 years agoFix Qt5 window flags to prevent plugin surface from stealing focus
Michael Hasselmann [Thu, 18 Oct 2012 11:47:48 +0000 (13:47 +0200)]
Fix Qt5 window flags to prevent plugin surface from stealing focus

RevBy: Jan Arne Petersen
Use the new Qt::WindowDoesNotAcceptFocus window flag. This prevents plugin
surfaces from stealing the focus from the application window.

5 years agoChanges: Bump version to 0.92.5.1
Michael Hasselmann [Tue, 9 Oct 2012 17:05:05 +0000 (19:05 +0200)]
Changes: Bump version to 0.92.5.1

5 years agoFix the nogtk configure switch
Michael Hasselmann [Tue, 9 Oct 2012 17:00:35 +0000 (19:00 +0200)]
Fix the nogtk configure switch

RevBy: TrustMe
Introduced with the last release, this did not skip building one of the
glib-based tests. This resulted in "$ qmake CONFIG+=nogtk" to break the build.

5 years agoNew: Monitor SW_TABLET_MODE to determine hardware keyboard presence
Daniel Drake [Wed, 3 Oct 2012 17:25:45 +0000 (11:25 -0600)]
New: Monitor SW_TABLET_MODE to determine hardware keyboard presence

RevBy: Michael Hasselmann
A new, default implementation for MImHwKeyboardTracker: we look for
a readable evdev device which has a SW_TABLET_MODE switch. If found,
we use that device for determining the presence/availability of the
hardware keyboard.

The previous keyboard presence methods (Maemo5, contextsubscriber)
are used when the compile-time options select them.

Ordinarily, evdev devices are only readable by root, but this is
changing: upstream developers point at using udev rules and uaccess to
make this device available to the active seat.

See http://www.spinics.net/lists/hotplug/msg05639.html and surrounding
discussion.

This solves a big part of the OSK use-case for OLPC: we only want
Maliit to activate when the laptop is "folded over" into tablet mode,
with the hardware keyboard physically obscured. This is communicated
via SW_TABLET_MODE. This solution is also expected to work for
other platforms with similar configuration.

5 years agoChanges: Bump version to 0.92.5
Michael Hasselmann [Wed, 26 Sep 2012 21:14:24 +0000 (23:14 +0200)]
Changes: Bump version to 0.92.5

5 years agoAllow compiling with Qt5
Christian Dywan [Fri, 14 Sep 2012 16:06:58 +0000 (18:06 +0200)]
Allow compiling with Qt5

RevBy: Michael Hasselmann
ModBy: Michael Hasselmann
Qt5 Beta release broke API again. Also fixed plugin loading (see
Q_PLUGIN_METADATA and the new but empty *.json files).

5 years agogtk: Allow to disable all gtk-related libs
Michael Hasselmann [Wed, 26 Sep 2012 18:19:05 +0000 (20:19 +0200)]
gtk: Allow to disable all gtk-related libs

RevBy: TrustMe
Use qmake CONFIG+=nogtk to disable building the GTK+ input context module and
the glib-based application support libraries.

I got annoyed that CONFIG+=disable-gtk-cache-update still installs the IM
module.

5 years agogtk: disconnect from dbusobj/proxy signals on IM context finalize
Carlos Garnacho [Wed, 19 Sep 2012 10:00:16 +0000 (12:00 +0200)]
gtk: disconnect from dbusobj/proxy signals on IM context finalize

RevBy: TrustMe
Those objects outlive the IM context, so they ended up emitting signals on no
longer valid objects.

5 years agoForgot replace one instance of libmaliit-keyboard-plugin.so with DefaultPlugin
Michael Hasselmann [Fri, 14 Sep 2012 13:03:04 +0000 (15:03 +0200)]
Forgot replace one instance of libmaliit-keyboard-plugin.so with DefaultPlugin

RevBy: TrustMe

6 years agoFix typoed ouput -> output in function name and comment
Pekka Vuorela [Mon, 17 Sep 2012 10:28:19 +0000 (13:28 +0300)]
Fix typoed ouput -> output in function name and comment

RevBy: Michael Hasselmann

6 years agoAccept any value for MALIIT_DEBUG instead of "0" or empty string
Pekka Vuorela [Mon, 17 Sep 2012 10:21:20 +0000 (13:21 +0300)]
Accept any value for MALIIT_DEBUG instead of "0" or empty string

RevBy: Michael Hasselmann

6 years agoFix out-of-tree build of ut_mimonscreenplugins.
Krzesimir Nowak [Fri, 14 Sep 2012 12:54:11 +0000 (14:54 +0200)]
Fix out-of-tree build of ut_mimonscreenplugins.

RevBy: TrustMe

Added build tree /src directory to include paths, because
ut_mimonscreenplugins includes config.h which is generated and put
into build tree, not source tree.

6 years agoAdd regression test for MALIIT#188
Michael Hasselmann [Fri, 14 Sep 2012 10:10:40 +0000 (12:10 +0200)]
Add regression test for MALIIT#188

RevBy: Krzesimir Nowak
Using our server-tests.conf, we check what happens with our default
configuration when no user configuration exists. Had to add some API to the
QSettings backend factory to allow for different organization and application
names. Togehter with the other three basic test cases for active and enabled
subview handling, this makes a good enough regression test for MALIIT#188.

6 years agoMove SubView code from header to source file
Michael Hasselmann [Fri, 14 Sep 2012 09:19:13 +0000 (11:19 +0200)]
Move SubView code from header to source file

RevBy: Krzesimir Nowak
No templated functions, and we don't care about explicitly inlining, so source
file is better place, even for a nested class.

6 years agoFixes: MALIIT#188 - maliit-server forgets active subview
Michael Hasselmann [Thu, 13 Sep 2012 23:01:46 +0000 (01:01 +0200)]
Fixes: MALIIT#188 - maliit-server forgets active subview

RevBy: Krzesimir Nowak
The goal is to guess an active subview from the enabled list, if none was set,
and to insert the currently active subview into enabled list.

Removed the unfortunate side effect in
MImOnScreenPlugins::updateEnabledSubviews that would also set the active
subview. Then fixed MImOnScreenPlugins::updateActiveSubviews by making it
single-exit, except for the trivial case when active subview didn't change,
which helps setting the active subview correctly.

In related news: The subview handling code in the framework is seriously
complex.

6 years agoFix coding style in connection factory
Michael Hasselmann [Mon, 3 Sep 2012 13:18:34 +0000 (15:18 +0200)]
Fix coding style in connection factory

RevBy: Krzesimir Nowak

6 years agoMore helpful error message when connection type is not specified
Michael Hasselmann [Mon, 3 Sep 2012 13:17:42 +0000 (15:17 +0200)]
More helpful error message when connection type is not specified

RevBy: Krzesimir Nowak

6 years agoFix typoed signal name 'recievedKeyEvent'
Pekka Vuorela [Tue, 28 Aug 2012 19:09:45 +0000 (22:09 +0300)]
Fix typoed signal name 'recievedKeyEvent'

RevBy: Michael Hasselmann

6 years agoMake sure ldconfig gets run before gtk-query-immodules
Pekka Vuorela [Tue, 28 Aug 2012 15:21:08 +0000 (18:21 +0300)]
Make sure ldconfig gets run before gtk-query-immodules

First time "make install" was failing because gtk-query-immodules
could not properly find dependent libraries.

RevBy: Michael Hasselmann

6 years agoGet rid of templated method.
Pekka Vuorela [Tue, 28 Aug 2012 14:38:40 +0000 (17:38 +0300)]
Get rid of templated method.

No longer needed when meegotouch usage is out.

RevBy: Michael Hasselmann

6 years agoDifferentiate direct input context plugin description strings
Pekka Vuorela [Tue, 28 Aug 2012 12:28:53 +0000 (15:28 +0300)]
Differentiate direct input context plugin description strings

Were duplicate with the normal one, making it impossible to know which
one multi input context chooses.

RevBy: Michael Hasselmann

6 years agoFixes: MALIIT#183 - Can not rotate the keyboard
Krzesimir Nowak [Mon, 27 Aug 2012 09:44:56 +0000 (11:44 +0200)]
Fixes: MALIIT#183 -  Can not rotate the keyboard

RevBy: Jan Arne Petersen

The new "disable-background-translucency" opt-in causes the
Qt::WA_TranslucentBackground hint not being set on created surfaces. That is for
non-compositing WMs on which VKB painting may result in garbled visuals.

6 years agoFixes: Nothing happens after pressing action key in GTK+ overrides example.
Krzesimir Nowak [Mon, 6 Aug 2012 14:23:54 +0000 (16:23 +0200)]
Fixes: Nothing happens after pressing action key in GTK+ overrides example.

RevBy: Jan Arne Petersen

We actually can use "activated" signal. Previously, documentation said
that application should not connect to it.

That simplified a code a lot.

6 years agoChanges: Bump version to 0.92.4
Jan Arne Petersen [Wed, 8 Aug 2012 09:29:53 +0000 (11:29 +0200)]
Changes: Bump version to 0.92.4

6 years agoFixes: Extensions overrides are not registered for the first time.
Krzesimir Nowak [Tue, 7 Aug 2012 11:26:36 +0000 (13:26 +0200)]
Fixes: Extensions overrides are not registered for the first time.

RevBy: TrustMe

We were calling the wrong overload of extensionChanged. What we called
was actually a useless signal instead of method doing the DBus message
sending.

6 years agoIgnore generated glib marshallers files.
Krzesimir Nowak [Tue, 7 Aug 2012 11:25:35 +0000 (13:25 +0200)]
Ignore generated glib marshallers files.

RevBy: TrustMe

6 years agoDo not show warnings when not in debug mode
Jan Arne Petersen [Wed, 1 Aug 2012 11:13:50 +0000 (13:13 +0200)]
Do not show warnings when not in debug mode

RevBy: Krzesimir Nowak

6 years agoUse a generic invokeAction instead of copy/paste
Jan Arne Petersen [Wed, 25 Jul 2012 11:03:35 +0000 (13:03 +0200)]
Use a generic invokeAction instead of copy/paste

Implemented in the Qt input context by first looking for a slot and
when not available calling a sequence of key events. Implemented in the
Gtk+ input context by looking for a signal.

RevBy: Krzesimir Nowak

6 years agoUpdate news for 0.92.4 to include gconf backend removal
Jon Nordby [Sun, 5 Aug 2012 15:13:57 +0000 (17:13 +0200)]
Update news for 0.92.4 to include gconf backend removal

6 years agoClean up references to GConf in variablenames and comments
Jon Nordby [Thu, 26 Jul 2012 15:20:08 +0000 (17:20 +0200)]
Clean up references to GConf in variablenames and comments

RevBy: Krzesimir Nowak
These things have been non-gconf specific for a long time,
but still kept the old names.

6 years agoRemove GConf settings backend
Jon Nordby [Thu, 26 Jul 2012 13:56:53 +0000 (15:56 +0200)]
Remove GConf settings backend

RevBy: Krzesimir Nowak
Was deprecated in the previous release.

6 years agoAdd maliit-connection-0.80 dependency to pkg-config for maliit-1.0
Jon Nordby [Thu, 26 Jul 2012 13:10:23 +0000 (15:10 +0200)]
Add maliit-connection-0.80 dependency to pkg-config for maliit-1.0

RevBy: Krzesimir Nowak
libmaliit now links against maliit-connection, so it should include
that dependency in the pkg-config infomation.
This should fix the SDK build failures on the Maliit buildbot.

6 years agoFixes: Input context plugin does not load.
Krzesimir Nowak [Thu, 2 Aug 2012 10:53:28 +0000 (12:53 +0200)]
Fixes: Input context plugin does not load.

RevBy: Jan Arne Petersen

Using QT_DEBUG_PLUGINS shows that there were undefined references to
PreeditInjectionEvent. That showed up only when as-needed linker flag
was used. Seems like ordering issue.

6 years agoAdd content-type aware text entries to maliit-exampleapp-plainqt
Michael Hasselmann [Wed, 25 Jul 2012 09:31:35 +0000 (11:31 +0200)]
Add content-type aware text entries to maliit-exampleapp-plainqt

RevBy: Jan Arne Petersen, Krzesimir Nowak
This allows us to properly debug focus change and also shows the missing
content type support (via Qt::InputMethodHints) in maliit-keyboard.

6 years agoClean up code and fix coding style in maliit-exampleapp-plainqt
Michael Hasselmann [Wed, 25 Jul 2012 10:51:17 +0000 (12:51 +0200)]
Clean up code and fix coding style in maliit-exampleapp-plainqt

RevBy: Jan Arne Petersen, Krzesimir Nowak
Also changed the layout partially, to make it easier to extend.

6 years agoRemove dead code in maliit-exampleapp-plainqt
Michael Hasselmann [Wed, 25 Jul 2012 06:15:04 +0000 (08:15 +0200)]
Remove dead code in maliit-exampleapp-plainqt

RevBy: Jan Arne Petersen, Krzesimir Nowak

6 years agoAdd a text entry to settings example
Michael Hasselmann [Tue, 24 Jul 2012 21:05:48 +0000 (23:05 +0200)]
Add a text entry to settings example

RevBy: Jan Arne Petersen
Allows for quick testing of settings, because it makes it easier to directly
see the effects of changing settings. Before, you had to run at least another
(test) application and constantly switch between the two.

6 years agoMove newly added component diagram to doc/images, where it belongs
Jon Nordby [Tue, 24 Jul 2012 15:13:44 +0000 (17:13 +0200)]
Move newly added component diagram to doc/images, where it belongs

RevBy: TrustMe

6 years agoAdd components diagram for Maliit Framework
Jon Nordby [Tue, 24 Jul 2012 15:08:24 +0000 (17:08 +0200)]
Add components diagram for Maliit Framework

RevBy: TrustMe
Was previously only present on https://wiki.maliit.org/Components
as an exported file.

6 years agoRemove obsolete file switch-maliit-plugin.sh
Jon Nordby [Mon, 23 Jul 2012 14:53:35 +0000 (16:53 +0200)]
Remove obsolete file switch-maliit-plugin.sh

RevBy: TrustMe
Use the graphical maliit-exampleapp-settings or the CLI
maliit-exampleapp-settings-python3 instead.

6 years agoAdd a default subview to MInputMethodQuick
Jan Arne Petersen [Mon, 23 Jul 2012 10:13:07 +0000 (12:13 +0200)]
Add a default subview to MInputMethodQuick

Our plugin system requires to always have a subview available. For the
quick plugin use an empty id and title.

RevBy: Michael Hasselmann

6 years agoUse a fullscreen surface for quick input methods
Jan Arne Petersen [Mon, 23 Jul 2012 10:11:45 +0000 (12:11 +0200)]
Use a fullscreen surface for quick input methods

For our current quick plugins we should provide a fullscreen surface,
because that is what they expect (and there is no way to access the full
surface API from QML currently)

RevBy: Michael Hasselmann

6 years agoExplicitly specify temporary/persistent settings for MImSettings
Jon Nordby [Tue, 17 Jul 2012 14:27:13 +0000 (16:27 +0200)]
Explicitly specify temporary/persistent settings for MImSettings

RevBy: Jan Arne Petersen
Not specifying what to use is a programmer error and will abort.
This fixes "make check" overwriting the normal settings, and
ensures that such an issue does not sneak in again.

Only maliit-server standalone or Maliit in server-hosted mode
will use persistent settings. Tests and application hosted will
use temporary.
Because we don't want MImSettings to be public API, a wrapper
is added to MImServer for use in server-hosted mode.

6 years agoChanges: Bump version to 0.92.3
Michael Hasselmann [Wed, 18 Jul 2012 11:25:04 +0000 (13:25 +0200)]
Changes: Bump version to 0.92.3

6 years agoFollow the same style of setting default values in Ut_MIMPluginManager::init()
Jon Nordby [Tue, 17 Jul 2012 17:01:29 +0000 (19:01 +0200)]
Follow the same style of setting default values in Ut_MIMPluginManager::init()

RevBy: Jan Arne Petersen
Makes it easier to see the correlation between the values of the
different settings because they are now grouped together at top of the file.

6 years agoCall updateActiveSubview() after updateEnabledSubviews() in MImPluginManager
Jon Nordby [Tue, 17 Jul 2012 16:50:54 +0000 (18:50 +0200)]
Call updateActiveSubview() after updateEnabledSubviews() in MImPluginManager

RevBy: Jan Arne Petersen
Fixes tests failing after d57f823a8aefa695596ea6138416542108ef4533
The behavior of updateActiveSubview() depends on updateEnabledSubview(),
so their order matters.
There is also a reverse dependency. updateEnabledSubview() may set the active subview,
but this will safely be overwritten by updateActiveSubview() when called afterwards.

6 years agoSilence the warning about implicit dbus_g_value_parse_g_variant declaration.
Krzesimir Nowak [Tue, 17 Jul 2012 09:28:34 +0000 (11:28 +0200)]
Silence the warning about implicit dbus_g_value_parse_g_variant declaration.

RevBy: TrustMe

This function is in dbus/dbus-glib.h header, so include it.

6 years agoUpdate NEWS
Jon Nordby [Tue, 17 Jul 2012 08:19:29 +0000 (10:19 +0200)]
Update NEWS

RevBy: TrustMe

6 years agoUse QSettings by default but allow to use GConf with CONFIG+=enable-gconf
Jon Nordby [Tue, 17 Jul 2012 07:03:06 +0000 (09:03 +0200)]
Use QSettings by default but allow to use GConf with CONFIG+=enable-gconf

RevBy: Michael Hasselmann

6 years agoDon't expose DBus dependency in libmaliit-connection-glib.pri
Jon Nordby [Mon, 16 Jul 2012 20:24:30 +0000 (22:24 +0200)]
Don't expose DBus dependency in libmaliit-connection-glib.pri

RevBy: TrustMe
This dependency is internal and should not be exposed to consumers
of the library. Also makes the dependency explicit for libmaliit-glib.

6 years agoFixes: 'connection' signal overwrites 'destroy' signal for MaliitSettingsManager
Jon Nordby [Mon, 9 Jul 2012 15:53:16 +0000 (17:53 +0200)]
Fixes: 'connection' signal overwrites 'destroy' signal for MaliitSettingsManager

RevBy: TrustMe
Another copy-paste bug. Caught by the unit-tests, woo:

/ut_maliit_glib_settings/MaliitSettingsManager/emits-disconnected:
(./ut_maliit_glib_settings:20323): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `signal_id > 0' failed
/ut_maliit_glib_settings/MaliitSettingsManager/emits-connected: **
ERROR:ut_maliit_glib_settings.c:147:test_settings_manager_emits_connected: assertion failed: (connected_recieved)

6 years agoNew: Add unit test for maliit-glib settings API
Jon Nordby [Mon, 9 Jul 2012 10:18:55 +0000 (12:18 +0200)]
New: Add unit test for maliit-glib settings API

RevBy: TrustMe
The tests mocks out maliit-server, because we cannot easily
host it in the test.

6 years agoRemove singleton pattern for MeegoIMProxy and MeegoIMContextDBusObj
Jon Nordby [Mon, 9 Jul 2012 15:48:25 +0000 (17:48 +0200)]
Remove singleton pattern for MeegoIMProxy and MeegoIMContextDBusObj

RevBy: NeedsRev
This ruined testability by not allowing to create clean instances,
and was generally misleading as the instances were in practice
managed by MeegoImConnector. Now they are normal members owned by
MeegoImConnector.
MeegoImConnector is still a singleton, so the object lifetimes
are not changed in the typical case. The exception is when
using the private API for MeegoImConnector to manage the instance.
This is what tests will do.

6 years agomaliit-glib: Add some documentation comments to MaliitSettingsManager
Jon Nordby [Mon, 9 Jul 2012 10:16:58 +0000 (12:16 +0200)]
maliit-glib: Add some documentation comments to MaliitSettingsManager

RevBy: Michael Hasselmann
Mention the relationship between load_plugin_settings and the
plugin-settings-recieved signal also on the function,
and give more details about locale handling.

6 years agomaliit-glib: Add public dependencies to .pri file
Jon Nordby [Mon, 9 Jul 2012 10:12:50 +0000 (12:12 +0200)]
maliit-glib: Add public dependencies to .pri file

RevBy: Michael Hasselmann
Makes things just-work for consumers when including this .pri file.

6 years agoconnection-glib: Add private API header for MeegoIMContextDBusObj
Jon Nordby [Thu, 12 Jul 2012 07:19:25 +0000 (09:19 +0200)]
connection-glib: Add private API header for MeegoIMContextDBusObj

RevBy: Michael Hasselmann
Allows tests to create mocks for incoming calls from maliit-server.

6 years agoconnection-glib: Allow to observe load_plugin_settings calls
Jon Nordby [Mon, 9 Jul 2012 10:02:07 +0000 (12:02 +0200)]
connection-glib: Allow to observe load_plugin_settings calls

RevBy: Michael Hasselmann
Used in tests to be able to mock out maliit-server for
this specific call.

6 years agoconnection-glib: Add private API to MeegoImConnector for setting the instance
Jon Nordby [Mon, 9 Jul 2012 09:59:01 +0000 (11:59 +0200)]
connection-glib: Add private API to MeegoImConnector for setting the instance

RevBy: Michael Hasselmann
Can be used in tests to specify the MeegoImConnector instance to use.
Also allow to specify whether the connector will try to reconnect.

6 years agoconnection-glib: Make DBus dependency private in MeegoImConnector
Jon Nordby [Mon, 9 Jul 2012 09:48:21 +0000 (11:48 +0200)]
connection-glib: Make DBus dependency private in MeegoImConnector

RevBy: Michael Hasselmann
Allows it to be used in tests without including dbus headers.
First step to being able to mock out the maliit-server over DBus
dependency.

6 years agoFixes: MALIIT#177 - maliit-exampleapp-settings unable to change layout if not previou...
Jon Nordby [Thu, 5 Jul 2012 12:01:00 +0000 (14:01 +0200)]
Fixes: MALIIT#177 - maliit-exampleapp-settings unable to change layout if not previously enabled

RevBy: Michael Hasselmann
We now enable activated layouts automatically. So it is no longer
strictly neccesary to first enable a layout and then enable.
This simplifies the API usage in settings applications.

6 years agoNew: CLI settings example application using maliit-glib and Python
Jon Nordby [Thu, 5 Jul 2012 23:10:56 +0000 (01:10 +0200)]
New: CLI settings example application using maliit-glib and Python

RevBy: Michael Hasselmann, Krzesimir Nowak
Allows to introspect server and plugin settings, through the
'list-plugins' and 'about' commands, and to get/set individual
settings using 'get' and 'set' commands, respectively.
This currently covers all the API exposed by maliit-glib,
except for value change notifications.

Based on work started by Krzesimir Nowak.

6 years agoUpdate LD_LIBRARY_PATH in tests to reflect build dir changes
Jon Nordby [Mon, 9 Jul 2012 18:24:14 +0000 (20:24 +0200)]
Update LD_LIBRARY_PATH in tests to reflect build dir changes

RevBy: Krzesimir Nowak
Much simpler now, and less likely that some directory is
missed and that we acidentially test system libraries instead
of in-tree libraries.

6 years agoPut libraries in ./lib and plugins in ./lib/plugins when built
Jon Nordby [Mon, 9 Jul 2012 17:29:36 +0000 (19:29 +0200)]
Put libraries in ./lib and plugins in ./lib/plugins when built

RevBy: Krzesimir Nowak
This simplifies setting LD_LIBRARY_PATH when trying
to use in-tree libraries, like for tests.

6 years agoUse .pri includes in all tests instead of setting LIBS/INCLUDES
Jon Nordby [Mon, 9 Jul 2012 17:27:26 +0000 (19:27 +0200)]
Use .pri includes in all tests instead of setting LIBS/INCLUDES

RevBy: Krzesimir Nowak
Most tests where cleaned up to use this style during the
initial Windows porting that was done, but not those that
are X11 specific.

6 years agoFixes: Warnings shown about registerExistingAttributeExtension not being a slot.
Krzesimir Nowak [Tue, 10 Jul 2012 10:16:06 +0000 (12:16 +0200)]
Fixes: Warnings shown about registerExistingAttributeExtension not being a slot.

RevBy: Michael Hasselmann

Apparently missing semicolon after Q_DECLARE_PRIVATE confuses moc, but
the header was still compilable. Moved the Q_* macros to the beginning
of the class.

6 years agoFixes: Checkboxes in settings example are shown always without titles.
Krzesimir Nowak [Tue, 10 Jul 2012 10:09:53 +0000 (12:09 +0200)]
Fixes: Checkboxes in settings example are shown always without titles.

RevBy: Michael Hasselmann

That was probably because of two things:
1. setChecked() does not emit stateChanged signal, but toggled signal.
2. toggled() signal is not emitted when passing false to setChecked(),
because being unchecked is the default state and thus setting it to
unchecked again causes no state change and no signal emission.

6 years agoUntabify the extensions registry code.
Krzesimir Nowak [Tue, 10 Jul 2012 10:04:14 +0000 (12:04 +0200)]
Untabify the extensions registry code.

RevBy: Michael Hasselmann

6 years agoUpdate contact lines in comment headers
Murray Cumming [Thu, 28 Jun 2012 15:56:37 +0000 (17:56 +0200)]
Update contact lines in comment headers

RevBy: Michael Hasselmann
Also call it Maliit Framework instead of maliit-framework or libmeegotouch.

6 years agoChange meego-im to maliit in comment headers
Murray Cumming [Thu, 28 Jun 2012 15:38:40 +0000 (17:38 +0200)]
Change meego-im to maliit in comment headers

RevBy: Michael Hasselmann

6 years agoFix out-of-tree build
Jon Nordby [Mon, 9 Jul 2012 21:56:46 +0000 (23:56 +0200)]
Fix out-of-tree build

RevBy: Michael Hasselmann
With .pri files included from other .pri files from .pro
different places in the hierarchy, this is seems to be the only
thing that works correctly for both in-tree and out-of-tree.

6 years agoFixes: Attributes of a MaliitSettingsEntry in maliit-glib always empty
Krzesimir Nowak [Mon, 9 Jul 2012 11:50:29 +0000 (13:50 +0200)]
Fixes: Attributes of a MaliitSettingsEntry in maliit-glib always empty

RevBy: Jon Nordby
Yet another copy-paste error.

6 years agoChanges: Bump version to 0.92.2.1
Jon Nordby [Tue, 3 Jul 2012 18:20:41 +0000 (20:20 +0200)]
Changes: Bump version to 0.92.2.1

6 years agoMention required CONFIG+=local-install in INSTALL.local docs
Jon Nordby [Tue, 3 Jul 2012 17:08:22 +0000 (19:08 +0200)]
Mention required CONFIG+=local-install in INSTALL.local docs

6 years agoRename CONFIG+=enforce-install-prefix to CONFIG+=local-install
Jon Nordby [Tue, 3 Jul 2012 17:09:03 +0000 (19:09 +0200)]
Rename CONFIG+=enforce-install-prefix to CONFIG+=local-install

This better reflects the intended use: Installing to a non-system
directory like underneath $HOME

6 years agoRevert "Remove enforce-install-prefix override"
Jon Nordby [Tue, 3 Jul 2012 16:54:04 +0000 (18:54 +0200)]
Revert "Remove enforce-install-prefix override"

This reverts commit 581f34945d6cd30e45f5244d262d177f7389b1c6.

6 years agoRevert "New: Let IM cache update script use original Gtk+ library install path"
Jon Nordby [Tue, 3 Jul 2012 16:53:53 +0000 (18:53 +0200)]
Revert "New: Let IM cache update script use original Gtk+ library install path"

This reverts commit 290dc6237767e0c06a6fde6adc43adc7a78bf112.

6 years agoChanges: Bump version to 0.92.2
Michael Hasselmann [Fri, 29 Jun 2012 13:35:24 +0000 (15:35 +0200)]
Changes: Bump version to 0.92.2

6 years agoFix dependency on Gio.
Krzesimir Nowak [Fri, 29 Jun 2012 08:49:21 +0000 (10:49 +0200)]
Fix dependency on Gio.

RevBy: Jan Arne Petersen

New python3 example was failing to run because of some undefined
symbol from Gio.

6 years agoRemove private MaliitAttributeExtension API from public header.
Krzesimir Nowak [Wed, 27 Jun 2012 14:45:40 +0000 (16:45 +0200)]
Remove private MaliitAttributeExtension API from public header.

RevBy: Jan Arne Petersen
It is already defined in maliitattributeextensionprivate.h.

6 years agoEnable all warnings from g-ir-scanner.
Krzesimir Nowak [Wed, 27 Jun 2012 14:44:17 +0000 (16:44 +0200)]
Enable all warnings from g-ir-scanner.

RevBy: Jan Arne Petersen
Those might be interesting for us in scope of GObject introspection.

6 years agoGenerate documentation for new settings API.
Krzesimir Nowak [Wed, 27 Jun 2012 14:42:49 +0000 (16:42 +0200)]
Generate documentation for new settings API.

RevBy: Jan Arne Petersen

6 years agoAdd more docs to Maliit Glib attribute extension, registry and input method.
Krzesimir Nowak [Wed, 27 Jun 2012 14:41:15 +0000 (16:41 +0200)]
Add more docs to Maliit Glib attribute extension, registry and input method.

RevBy: Jan Arne Petersen

6 years agoAdd Maliit Glib settings API to build system.
Krzesimir Nowak [Wed, 27 Jun 2012 14:39:59 +0000 (16:39 +0200)]
Add Maliit Glib settings API to build system.

RevBy: Jan Arne Petersen

6 years agoAdd MaliitSettingsManager implementation.
Krzesimir Nowak [Wed, 27 Jun 2012 14:38:02 +0000 (16:38 +0200)]
Add MaliitSettingsManager implementation.

RevBy: Jan Arne Petersen

6 years agoAdd private MaliitAttributeExtension constructor.
Krzesimir Nowak [Wed, 27 Jun 2012 14:36:47 +0000 (16:36 +0200)]
Add private MaliitAttributeExtension constructor.

RevBy: Jan Arne Petersen

This constructor is going to be used by MaliitSettingsManager to
create MaliitAttributeExtension with specific id. Also, loosened a bit
strictness of keys and extension ids. with settings introduced it is
possible to have a key in form /a/b/c/d and we were allowing only
/a/b/c. Also now we are getting extension ids lower than zero from
maliit-server, so we have to allow them in property installer.

6 years agoAdd MaliitPluginSettings implementation.
Krzesimir Nowak [Wed, 27 Jun 2012 14:26:35 +0000 (16:26 +0200)]
Add MaliitPluginSettings implementation.

RevBy: Jan Arne Petersen

6 years agoAdd MaliitSettingsEntry implementation.
Krzesimir Nowak [Wed, 27 Jun 2012 14:30:47 +0000 (16:30 +0200)]
Add MaliitSettingsEntry implementation.

RevBy: Jan Arne Petersen

6 years agoAdd miscellaneous maliit settings functions and types.
Krzesimir Nowak [Wed, 27 Jun 2012 14:27:08 +0000 (16:27 +0200)]
Add miscellaneous maliit settings functions and types.

RevBy: Jan Arne Petersen

6 years agoAdd load plugin settings functionality to connection glib.
Krzesimir Nowak [Wed, 27 Jun 2012 14:25:15 +0000 (16:25 +0200)]
Add load plugin settings functionality to connection glib.

RevBy: Jan Arne Petersen

6 years agoFix wrong variable name in build file
Michael Hasselmann [Fri, 29 Jun 2012 12:30:19 +0000 (14:30 +0200)]
Fix wrong variable name in build file

RevBy: Jan Arne Petersen
Use GTK3_DIR, not GTK2_DIR (probably a copy and paste bug).

6 years agoNew: Let IM cache update script use original Gtk+ library install path
Michael Hasselmann [Fri, 29 Jun 2012 12:29:18 +0000 (14:29 +0200)]
New: Let IM cache update script use original Gtk+ library install path

RevBy: Jan Arne Petersen

6 years agoNew: Emit GtkIMContext::clear-area on VKB relocations
Carlos Garnacho [Wed, 27 Jun 2012 13:56:46 +0000 (15:56 +0200)]
New: Emit GtkIMContext::clear-area on VKB relocations

If available, this signal can be used to tell the GTK+ UI to keep the focus
area visible whenever it would be covered by the input method area.

6 years agoFix possible null pointer dereference.
Krzesimir Nowak [Tue, 26 Jun 2012 09:29:35 +0000 (11:29 +0200)]
Fix possible null pointer dereference.

RevBy: Jan Arne Petersen, Michael Hasselmann
It wasn't possible in current code as we always pass a valid pointer,
but we never know how we are going to use it in future. Also, gcc was
complaining about using uninitialized value in this place.

6 years agoFixes: Some examples and tests fail to link.
Krzesimir Nowak [Tue, 26 Jun 2012 08:42:13 +0000 (10:42 +0200)]
Fixes: Some examples and tests fail to link.

RevBy: Jan Arne Petersen, Michael Hasselmann
This was caused by adding a new dependency on libmaliit-connection to
libmaliit, so tests weren't pulling new dependency, because they
depended on libmaliit.so explicitly instead of including
libmaliit-pri. Also, libmaliit.pri should be updated then as well.

6 years agoMove test surface factory to plugins directory.
Krzesimir Nowak [Tue, 26 Jun 2012 08:22:10 +0000 (10:22 +0200)]
Move test surface factory to plugins directory.

RevBy: Jan Arne Petersen, Michael Hasselmann
Integration tests in plugins might want to be independent from
maliit-server, so it will be easier for them when test surface factory
is in the same place as some surface base classes.

6 years agoFixes: Settings are not propagated to plugins in some cases.
Krzesimir Nowak [Wed, 20 Jun 2012 13:27:55 +0000 (15:27 +0200)]
Fixes: Settings are not propagated to plugins in some cases.

RevBy: Jon Nordby

Settings are implemented by using attribute extensions with some
special ids. By default all changes in attribute extensions goes
through registry, which notifies input context about it. Input context
uses its connection to send a message to server. But if we haven't
focused any input widget and thus no input context was created yet,
then registry's notifications went to /dev/null and thus server did
not get any messages. Here it was fixed by establishing a connection
to server in registry, so it is now independent from input context.

6 years agoFix license in settings example.
Krzesimir Nowak [Thu, 21 Jun 2012 13:28:55 +0000 (15:28 +0200)]
Fix license in settings example.

RevBy: Jon Nordby

6 years agoChanges: Settings example app now shows per plugin settings.
Krzesimir Nowak [Wed, 13 Jun 2012 09:44:00 +0000 (11:44 +0200)]
Changes: Settings example app now shows per plugin settings.

RevBy: Jon Nordby

6 years agoPrint a type of connection we failed to get.
Krzesimir Nowak [Wed, 13 Jun 2012 09:43:12 +0000 (11:43 +0200)]
Print a type of connection we failed to get.

RevBy: Jon Nordby