6 years agoNew: MImSubViewOverride to track MAttributeExtension for enable-all-subviews override backport
Michael Hasselmann [Wed, 11 Jan 2012 12:23:40 +0000 (13:23 +0100)]
New: MImSubViewOverride to track MAttributeExtension for enable-all-subviews override

RevBy: TrustMe
We need to make sure that upon destruction of MAttributeExtensions which were
used for the enable-all-subviews override, we actually disable the override.
For that, we attach MImSubViewOverride to MAttributeExtension and let Qt's
QObject ownership do the rest.

6 years agoNew: Remember last active subview as enabled when disabling enable-all-subviews override
Michael Hasselmann [Tue, 10 Jan 2012 18:33:11 +0000 (19:33 +0100)]
New: Remember last active subview as enabled when disabling enable-all-subviews override

RevBy: TrustMe
Improve user friendliness by assuming that last active subview when
enable-all-subviews override gets disabled is also a subview the user wants to
keep enabled (because it most likely has been used).

6 years agoFixes: NB#295883 - All input methods are still installed after tapping the emergency...
Michael Hasselmann [Tue, 10 Jan 2012 18:27:18 +0000 (19:27 +0100)]
Fixes: NB#295883 - All input methods are still installed after tapping the emergency keyboard button in the device lock screen and typing the lock code on system startup

RevBy: TrustMe
This commit allows disabling of enable-all-layouts override.

6 years agoChanges: Guess an active subview from the list of enabled subviews, in case plugin...
Michael Hasselmann [Tue, 10 Jan 2012 17:23:47 +0000 (18:23 +0100)]
Changes: Guess an active subview from the list of enabled subviews, in case plugin was switched

RevBy: TrustMe
It is possible to navigate between plugins without calling
MIMPluginManager::setActivePlugin, which leads to a situation where the active
plugin is asked for the active subview even though the framework never set one
on that plugin instance.

This commit is a workaround which checks active but empty subviews and then
tries to guess an active subview so that MImOnScreenPlugins::activeSubview
doesn't accidentially has to return an empty subview.

6 years agoNew: Example application to enable all input methods
Michael Hasselmann [Mon, 2 Jan 2012 07:29:07 +0000 (08:29 +0100)]
New: Example application to enable all input methods

RevBy: TrustMe

6 years agoFixed: NB#295179 - Create a method to load all input plugins for security lock ui...
Viacheslav Sobolev [Mon, 19 Dec 2011 12:11:54 +0000 (14:11 +0200)]
Fixed: NB#295179 - Create a method to load all input plugins for security lock ui purpose

RevBy: Mohammad Anwari
Details: framework enables all available subviews if application
set special extended attribute to true

6 years agoUpdate README
David King [Wed, 16 Nov 2011 13:11:28 +0000 (14:11 +0100)]

RevBy: Michael Hasselmann
Make README more suitable as an introduction to the project. Also included
relevant links and mention mailing list.

6 years agoRefresh main page of Doxygen documentation
David King [Mon, 14 Nov 2011 14:41:17 +0000 (15:41 +0100)]
Refresh main page of Doxygen documentation

RevBy: Michael Hasselmann

6 years agoChanges: Clarify the flow of actions in pre-edit injection
Antti Pulakka [Wed, 16 Nov 2011 12:49:19 +0000 (14:49 +0200)]
Changes: Clarify the flow of actions in pre-edit injection

RevBy: Kimmo Surakka
Details: A change in libmeegotouch caused MInputContext::update() to be called
         less frequently. This change resulted in confusion with a third party
         plugin about how pre-edit injection is supposed to work. This
         documentation update hopefully clarifies the situation.

6 years agoFixes: NB#291062 - Regression: QML Components Gallery, Text Input, Sip Attributes...
Michael Hasselmann [Tue, 15 Nov 2011 14:19:08 +0000 (15:19 +0100)]
Fixes: NB#291062 - Regression: QML Components Gallery, Text Input, Sip Attributes Example failed.

RevBy: Jan Arne Petersen
Regression introduced by 028ec19 - "New: Add normalization for dynamic QObject
property names", fixed by ignoring normalization for deprecated property names.

6 years agoFix unnecessary X roundtrips
Jan Arne Petersen [Fri, 11 Nov 2011 11:19:18 +0000 (12:19 +0100)]
Fix unnecessary X roundtrips

Safe the Atom in wmStateAtom() instead of calling XInternAtom every

6 years agoFix build support on 64bit Fedora
Jan Arne Petersen [Thu, 10 Nov 2011 16:16:36 +0000 (17:16 +0100)]
Fix build support on 64bit Fedora

Fix check for 64bit libraries to use gtk-query-immodules-3.0-64 instead
of gtk-query-immodules-3.0-32 on 64bit Fedora.

6 years agoAdd basic libmaliit links to documentation
David King [Thu, 10 Nov 2011 15:55:22 +0000 (16:55 +0100)]
Add basic libmaliit links to documentation

RevBy: Michael Hasselmann

6 years agoAdd comment on how VKB is hidden in GTK+ example
Michael Hasselmann [Fri, 11 Nov 2011 17:00:08 +0000 (18:00 +0100)]
Add comment on how VKB is hidden in GTK+ example

RevBy: TrustMe

6 years agoFix spelling mistake in documentation
Michael Hasselmann [Thu, 10 Nov 2011 16:48:54 +0000 (17:48 +0100)]
Fix spelling mistake in documentation

RevBy: TrustMe

6 years agoRename *-inputmethod to *-input-method in property names
Michael Hasselmann [Wed, 9 Nov 2011 22:16:34 +0000 (23:16 +0100)]
Rename *-inputmethod to *-input-method in property names

RevBy: Jan Arne Petersen
Now it matches the variable names again (which were *InputMethod). It could
otherwise cause problems with the QML components normalization.

6 years agoNew: Expose visualization priority through dynamic QObject property
Michael Hasselmann [Wed, 9 Nov 2011 22:03:38 +0000 (23:03 +0100)]
New: Expose visualization priority through dynamic QObject property

RevBy: Jan Arne Petersen
Used a more descriptive name for visualization priority -
Maliit::InputMethodQuery::suppressInputMethod. Can be used to hide VKB without
losing focus. Also shown in widgetproperties example.

6 years agoFixes: Remove wrong listing of private header in project file
Michael Hasselmann [Wed, 9 Nov 2011 21:34:33 +0000 (22:34 +0100)]
Fixes: Remove wrong listing of private header in project file

RevBy: TrustMe
MImUpdateReceiver has no private header, because it cleverly shares one with
MImUpdateEvent (both need to access the exact same private data).

6 years agoChanges: Include libmaalit documentation
David King [Wed, 9 Nov 2011 14:38:28 +0000 (15:38 +0100)]
Changes: Include libmaalit documentation

RevBy: Jan Arne Petersen

6 years agoNew: Add normalization for dynamic QObject property names
Michael Hasselmann [Tue, 8 Nov 2011 18:37:49 +0000 (19:37 +0100)]
New: Add normalization for dynamic QObject property names

RevBy: Jon Nordby
Maliit uses dynamic QObject properties to allow integration with Maliit even if
libmaliit cannot be used directly.
The property names usually contain hyphens, which causes problem when mapping
QML properties to QObject properties.  The canonical form for QML poperties
uses CamelCase, for example. Now with propery name normalization,
"customPropertyName" will be mapped to "maliit-custom-property-name",

6 years agoNew: Test dynamic property extraction in IC
Michael Hasselmann [Tue, 8 Nov 2011 16:40:29 +0000 (17:40 +0100)]
New: Test dynamic property extraction in IC

RevBy: Jon Nordby
Check whether a dynamic property ends up in the widget state map that is sent
to the server.

6 years agoNew: GTK+ example application
Jon Nordby [Mon, 7 Nov 2011 20:55:22 +0000 (21:55 +0100)]
New: GTK+ example application

RevBy: NeedsRev
For simple testing of Maliit GTK+ IC.
Builds for both GTK+ 2 and 3.

6 years agoChanges: Bump version to 0.80.8
Michael Hasselmann [Mon, 7 Nov 2011 17:47:05 +0000 (18:47 +0100)]
Changes: Bump version to 0.80.8

6 years agoChanges: Avoid a run-time warning in GTK+ IC reconnection code
Jon Nordby [Mon, 7 Nov 2011 15:49:40 +0000 (16:49 +0100)]
Changes: Avoid a run-time warning in GTK+ IC reconnection code

RevBy: TrustMe

6 years agoChanges: Normalize coding style in GTK+ IC
Jon Nordby [Thu, 3 Nov 2011 12:32:43 +0000 (13:32 +0100)]
Changes: Normalize coding style in GTK+ IC

RevBy: Michael Hasselmann
Makes the coding style closer to what is used in rest of codebase.
Significant changes:
- No space before opening paren in function parameters
- 4 space indent

Command used:
astyle --pad-oper --pad-header --unpad-paren --style=kr --convert-tabs --align-pointer=name

6 years agoFixes: Compilation warnings in GTK+ IC
Jon Nordby [Thu, 3 Nov 2011 12:23:38 +0000 (13:23 +0100)]
Fixes: Compilation warnings in GTK+ IC

RevBy: Michael Hasselmann
Removes all warnings. Also enables -Werror by
default with CONFIG+=debug for C code just like C++ code.

6 years agoNew: GTK+ IC retries connection when failing
Jon Nordby [Tue, 1 Nov 2011 17:55:44 +0000 (18:55 +0100)]
New: GTK+ IC retries connection when failing

RevBy: Michael Hasselmann
Creation of MeegoIMProxy and MeegoIMContextDbusObj singletons
now always succeeds, and is separate from connecting to DBus.

Each class using DBus has a _connect() method which will connect
to a given DBusGConnection. Maintaining the connection and calling
_connect() on these objects is the reponsiblity of the new
MeegoImConnector class.

6 years agoChanges: Remove unnecessary functions in GTK+ IC connection
Jon Nordby [Thu, 3 Nov 2011 19:31:35 +0000 (20:31 +0100)]
Changes: Remove unnecessary functions in GTK+ IC connection

RevBy: Michael Hasselmann
Not needed since peer-to-peer DBus connection was introduced.

6 years agoChanges: Emit signal when connection drops in GTK+ IC
Jon Nordby [Thu, 3 Nov 2011 19:08:19 +0000 (20:08 +0100)]
Changes: Emit signal when connection drops in GTK+ IC

RevBy: Michael Hasselmann
Allows to detect and handle connection drops.

6 years agoFixes: Wrong upchaining in meego_imcontext_finalize
Jon Nordby [Thu, 3 Nov 2011 18:55:01 +0000 (19:55 +0100)]
Fixes: Wrong upchaining in meego_imcontext_finalize

RevBy: Michael Hasselmann

6 years agoFixes: GTK+ IC crashes if server is not started on app startup
Jon Nordby [Tue, 1 Nov 2011 13:52:59 +0000 (14:52 +0100)]
Fixes: GTK+ IC crashes if server is not started on app startup

RevBy: Michael Hasselmann

6 years agoNew: Update GTK+ IM module cache when installing on Fedora
Jon Nordby [Fri, 4 Nov 2011 17:12:02 +0000 (18:12 +0100)]
New: Update GTK+ IM module cache when installing on Fedora

RevBy: TrustMe

6 years agoChanges: Whitespace fix in IM module cache update code
Jon Nordby [Fri, 4 Nov 2011 16:29:48 +0000 (17:29 +0100)]
Changes: Whitespace fix in IM module cache update code

RevBy: TrustMe

6 years agoNew: Update GTK+ IM module cache when installing on Ubuntu
Łukasz 'sil2100' Zemczak [Fri, 4 Nov 2011 12:49:53 +0000 (13:49 +0100)]
New: Update GTK+ IM module cache when installing on Ubuntu

RevBy: Jon Nordby
This behavior can be disabled by passing CONFIG+=disable-gtk-cache-update
which should be used in distribution packaging.

6 years agoNew: Add prefer-number example
Michael Hasselmann [Thu, 3 Nov 2011 20:42:17 +0000 (21:42 +0100)]
New: Add prefer-number example

RevBy: TrustMe

6 years agoNew: Add translucent input method example
Michael Hasselmann [Fri, 28 Oct 2011 18:14:42 +0000 (20:14 +0200)]
New: Add translucent input method example

RevBy: Jan Arne Petersen

6 years agoNew: Add MImUpdateReceiver, to demonstrate how to push updates to endpoints
Michael Hasselmann [Thu, 3 Nov 2011 15:05:34 +0000 (16:05 +0100)]
New: Add MImUpdateReceiver, to demonstrate how to push updates to endpoints

RevBy: Jan Arne Petersen
MImUpdateReceiver is an example that shows how to turn data-polling from events
into data-pushing via properties and change notifications.  Used in combination
with MImUpdateEvents: The event is propagated down to the final component,
where it is then processed by an event receiver. The receiver therefore acts as
an endpoint for events, allowing the actual consumers of event data to listen
to property changes. Using this approach, consumers are completely decoupled
from the event propagation itself.  Event receivers implemented in plugins are
supposed to be more specialized than the generic MImUpdateReceiver. They can be
designed to only carry the properties that is required for a given endpoint.
The life time of event receivers usually exceeds the life time of events, which
allows to keep signal connections alive.

6 years agoNew: Allow apps to set translucent inputmethod property
Michael Hasselmann [Thu, 3 Nov 2011 14:49:46 +0000 (15:49 +0100)]
New: Allow apps to set translucent inputmethod property

RevBy: Jan Arne Petersen

6 years agoFixes: NB#284151 - [TASK] ImhPreferNumbers does not open page 2 on virtual keyboard
Michael Hasselmann [Tue, 1 Nov 2011 20:55:34 +0000 (21:55 +0100)]
Fixes: NB#284151 - [TASK] ImhPreferNumbers does not open page 2 on virtual keyboard

RevBy: Antti Pulakka, Jon Nordby

6 years agoChanges: Factor out common code in MImUpdateEvent
Michael Hasselmann [Wed, 2 Nov 2011 12:48:22 +0000 (13:48 +0100)]
Changes: Factor out common code in MImUpdateEvent

RevBy: Antti Pulakka, Jon Nordby
Extracting a property from the update map always follows the same principle, so
it got wrapped in a function.

6 years agoChanges: Improve MImUpdateEvent to be able to forward Qt input method hints
Michael Hasselmann [Tue, 1 Nov 2011 20:53:55 +0000 (21:53 +0100)]
Changes: Improve MImUpdateEvent to be able to forward Qt input method hints

RevBy: Antti Pulakka, Jon Nordby
Allow input method hints as additional c'tor parameter. We are required to set
the *last* bitmask of these hints if we want to be able to detect bit-wise
changes in the bitmask (and not just whether the bitmask itself changed).

6 years agoNew: Add internal namespace
Michael Hasselmann [Tue, 1 Nov 2011 20:51:57 +0000 (21:51 +0100)]
New: Add internal namespace

RevBy: Antti Pulakka, Jon Nordby
Details: Can be used to share string constants across classes and other bits.

6 years agoNew: Add -unconditional-show option to server
Jon Nordby [Tue, 1 Nov 2011 13:06:59 +0000 (14:06 +0100)]
New: Add -unconditional-show option to server

RevBy: Jan Arne Petersen
Changes: Allows to shortcut the visibility and remote window
tracking to work around issues with this on some platforms.

6 years agoFixes: GTK+ input context not showing plugin
Jon Nordby [Thu, 27 Oct 2011 19:06:38 +0000 (21:06 +0200)]
Fixes: GTK+ input context not showing plugin

RevBy: Jan Arne Petersen
Details: updateWidgetInformation was not implemented,
and the server now requires a valid winId for correct behavior.
focusState also included because it is also an important piece of
state information.

6 years agoChanges: Use qmake instead of autotools for GTK+ inputcontext
Jon Nordby [Wed, 26 Oct 2011 14:01:59 +0000 (16:01 +0200)]
Changes: Use qmake instead of autotools for GTK+ inputcontext

RevBy: Jan Arne Petersen
Integrates into our existing build system. Input contexts
for GTK2/GTK3 will be automatically built if the dependencies
are present.

6 years agoChanges: Rename GTK+ inputcontext from meego-im to Maliit
Jon Nordby [Wed, 26 Oct 2011 12:24:41 +0000 (14:24 +0200)]
Changes: Rename GTK+ inputcontext from meego-im to Maliit

RevBy: Jan Arne Petersen

6 years agoNew: Merge meegotouch-inputmethodbridges into master
Jon Nordby [Wed, 26 Oct 2011 11:21:10 +0000 (13:21 +0200)]
New: Merge meegotouch-inputmethodbridges into master

This makes the Gtk2 and Gtk3 input contexts from
part of mainline maliit-framework.

History of the repository has been preserved, with the
/ directory rewritten to gtk-input-context/

6 years agoFixes: MPreeditInjectionEvent compatibility
Jon Nordby [Wed, 5 Oct 2011 14:22:53 +0000 (16:22 +0200)]
Fixes: MPreeditInjectionEvent compatibility

RevBy: Michael Hasselmann
Also requires a change in libmeegotouch for fix to work:

6 years agoNew: Add MPreeditInjectionEvent compatibility test
Jon Nordby [Wed, 5 Oct 2011 12:15:40 +0000 (14:15 +0200)]
New: Add MPreeditInjectionEvent compatibility test

RevBy: Michael Hasselmann

6 years agoFixes: activeConnection uninitialized in MInputContextConnection
Jon Nordby [Fri, 28 Oct 2011 10:09:56 +0000 (12:09 +0200)]
Fixes: activeConnection uninitialized in MInputContextConnection

RevBy: Michael Hasselmann
Caused a warning on first application connecting in

6 years agoFixes: Crash in Server->IC connection due to wrong upchaining
Jon Nordby [Fri, 28 Oct 2011 09:45:09 +0000 (11:45 +0200)]
Fixes: Crash in Server->IC connection due to wrong upchaining

RevBy: Michael Hasselmann
Details: dispose handler was chaining up to finalize handler
of parent class instead of the dispose handler,
and the finalize handler was never chaining up.

On some newer platforms (Arch Linux, Ubuntu 11.10) this would cause
a crash when the application disconnected from the server,
with warning messages like:
process 6813: arguments to dbus_connection_unregister_object_path() were incorrect, assertion "path != NULL" failed in file dbus-connection.c line 5727.

6 years agoFixes: Wrong values are shown when both label and icon are overriden.
Krzesimir Nowak [Mon, 24 Oct 2011 14:19:16 +0000 (16:19 +0200)]
Fixes: Wrong values are shown when both label and icon are overriden.

RevBy: Jon Nordby

6 years agoChanges: Bump version to 0.80.7
Michael Hasselmann [Fri, 21 Oct 2011 19:20:50 +0000 (21:20 +0200)]
Changes: Bump version to 0.80.7

6 years agoMove wm_state Atom constant into its own method
Carlos Martín [Thu, 20 Oct 2011 14:55:07 +0000 (16:55 +0200)]
Move wm_state Atom constant into its own method

RevBy: Michael Hasselmann

6 years agoFremantle: Add iconified window support to Matchbox WM
Carlos Martín [Tue, 30 Aug 2011 17:01:45 +0000 (19:01 +0200)]
Fremantle: Add iconified window support to Matchbox WM

RevBy: Michael Hasselmann

6 years agoFixes: Let IM properties on QObjects override IM queries
Michael Hasselmann [Wed, 19 Oct 2011 16:19:57 +0000 (18:19 +0200)]
Fixes: Let IM properties on QObjects override IM queries

RevBy: Jon Nordby
By changing the lookup order to
1. focusWidget()->property(.)
2. focusObject->property(.)
3. focusWidget()->inputMethodQuery(.)
we make ourselves less dependent on IM queries (and thus, less dependent on
QWidget), since properties will always be checked before the final IM query.
This allows easier integration with plain Qt, QML and Qt Components.

Also got rid of the graphics item and cast it into a graphics object right
away, as that's the interface we're actually using.

6 years agoCheck properties on the focus object itself when IM query fails
Michael Hasselmann [Wed, 19 Oct 2011 15:14:51 +0000 (17:14 +0200)]
Check properties on the focus object itself when IM query fails

RevBy: Jon Nordby
Qt Components cannot override QGraphicsWidget::inputMethodQuery, but it can use
one of our Maliit properties directly on the focus object instead.

6 years agoNew: Implement framework support for western numeric input override
Michael Hasselmann [Tue, 18 Oct 2011 11:27:29 +0000 (13:27 +0200)]
New: Implement framework support for western numeric input override

RevBy: Jon Nordby
Partial fix of "NB#285309 - No way to input Western Arabic numerals (1234) when
inputMethodHint in textfield is set to Qt.ImhDigitsOnly and language to

Introduces a new IM query, Maliit::WesternNumericInputEnforcedQuery. A Qt
property using the key Maliit::InputMethodQuery::westernNumericInputEnforced
can be used as fallback, but it needs to be set on the focused widget itself
(applies for plain Qt apps, but not suitable for LMT apps, for example).

7 years agoFixes: minputmethodnamespace.h installed to wrong directory
Jon Nordby [Fri, 21 Oct 2011 12:20:51 +0000 (14:20 +0200)]
Fixes: minputmethodnamespace.h installed to wrong directory

RevBy: TrustMe
Regression introduced in 26e535927e9ba832bd46b20f69709e930eaf97c3

7 years agoFixes: Label and icons are both shown at the same time.
Krzesimir Nowak [Tue, 18 Oct 2011 08:07:40 +0000 (10:07 +0200)]
Fixes: Label and icons are both shown at the same time.

RevBy: Jon Nordby
RevBy: Michael Hasselmann

7 years agoFixes: LD_LIBRARY_PATH for tests does not contain input-method-quick
Jon Nordby [Fri, 21 Oct 2011 09:40:55 +0000 (11:40 +0200)]
Fixes: LD_LIBRARY_PATH for tests does not contain input-method-quick

RevBy: TrustMe
This would make the test fail unless the input-method-quick
library was already installed, and otherwise unreliable because
the wrong library would be used (system instead of in-tree).

7 years agoChanges: Move common code/headers to new directory common/
Jon Nordby [Thu, 20 Oct 2011 09:15:40 +0000 (11:15 +0200)]
Changes: Move common code/headers to new directory common/

RevBy: Maksim Kirillov

This makes the dependencies between components clearer. For
instance, input-context did not really depend on code in src/
except for a namespace header.

The fact that maliit/ would not only handle the libmaliit
headers, pkg-config and similar was also a bit suprising.

7 years agoChanges: Remove unnecessary recompilation in tests
Jon Nordby [Thu, 20 Oct 2011 10:47:18 +0000 (12:47 +0200)]
Changes: Remove unnecessary recompilation in tests

RevBy: Maksim Kirillov
The files in question are already compiled and linked in
to the library the test is linked against, so there
is no need to rebuild them.

This also avoid needing special-casing for code coverage builds.

7 years agoChanges: Remove unecessary includes in connection classes
Jon Nordby [Thu, 20 Oct 2011 08:04:47 +0000 (10:04 +0200)]
Changes: Remove unecessary includes in connection classes

RevBy: Maksim Kirillov
Previous changes removed these dependencies :)

7 years agoFixes: Lookup of data files causes make check to fail in out-of-tree build
Jon Nordby [Mon, 17 Oct 2011 18:56:09 +0000 (20:56 +0200)]
Fixes: Lookup of data files causes make check to fail in out-of-tree build

RevBy: Michael Hasselmann
Details: Tests were assuming that their data files were located in
the same directory as the test executable. This is not the case of
out-of-tree builds.

7 years agoFixes: MInputContextConnection header
Michael Hasselmann [Mon, 17 Oct 2011 18:26:22 +0000 (20:26 +0200)]
Fixes: MInputContextConnection header

RevBy: Mohammad Anwari, Maksim Kirillov
Made c'tor explicit and also made class non-copyable.

7 years agoNew: MImUpdateEvent can be processed by plugins to detect widget changes
Michael Hasselmann [Mon, 17 Oct 2011 18:20:26 +0000 (20:20 +0200)]
New: MImUpdateEvent can be processed by plugins to detect widget changes

RevBy: Mohammad Anwari, Maksim Kirillov
Use MImUpdateEvent::propertiesChanged() list to query MImUpdateEvent::value(.).

7 years agoNew: Make it possible to properly inherit from MImExtensionEvent
Michael Hasselmann [Mon, 17 Oct 2011 18:15:22 +0000 (20:15 +0200)]
New: Make it possible to properly inherit from MImExtensionEvent

RevBy: Mohammad Anwari, Maksim Kirillov
Requires private header and additional c'tor that allows derived classes to use
MImExtensionEventPrivate. Avoids having to use more than one PIMPL instance in
the inheritance tree. I wish I knew the word for this PIMPL technique.

7 years agoChanges: Add strech to twofield example application
Jon Nordby [Mon, 17 Oct 2011 15:13:54 +0000 (17:13 +0200)]
Changes: Add strech to twofield example application

RevBy: TrustMe

7 years agoChanges: Extended QtQuick override example plugin.
Krzesimir Nowak [Fri, 14 Oct 2011 13:31:42 +0000 (15:31 +0200)]
Changes: Extended QtQuick override example plugin.

It is possible now to change default label of action key from vkb.

Revby: Jon Nordby

7 years agoFixes: Plugins get an empty map when focus is switched.
Krzesimir Nowak [Mon, 10 Oct 2011 11:44:25 +0000 (13:44 +0200)]
Fixes: Plugins get an empty map when focus is switched.

This caused label of action key in override plugins to be changed
to the default one and then, almost immediately, to overriden one.

Revby: Jon Nordby

7 years agoChanges: Extended twofields example a bit.
Krzesimir Nowak [Thu, 6 Oct 2011 12:59:33 +0000 (14:59 +0200)]
Changes: Extended twofields example a bit.

Now it sends empty strings for action key label if checkbox
is unchecked. Also added a third field which has no attribute
extension. This makes 'twofields' name false.

Revby: Jon Nordby

7 years agoFixes: Action key label does not change back in QtQuick override plugin.
Krzesimir Nowak [Tue, 11 Oct 2011 08:04:50 +0000 (10:04 +0200)]
Fixes: Action key label does not change back in QtQuick override plugin.

Revby: Jon Nordby

7 years agoNew: Add support for default key values in QtQuick.
Krzesimir Nowak [Thu, 6 Oct 2011 13:04:10 +0000 (15:04 +0200)]
New: Add support for default key values in QtQuick.

Revby: Jon Nordby

7 years agoFixes: Action key label does not change back in C++ override plugin.
Krzesimir Nowak [Thu, 6 Oct 2011 13:01:18 +0000 (15:01 +0200)]
Fixes: Action key label does not change back in C++ override plugin.

Revby: Jon Nordby

7 years agoChanges: Clarify the role of empty map in setKeyOverrides() docs.
Krzesimir Nowak [Mon, 10 Oct 2011 12:36:53 +0000 (14:36 +0200)]
Changes: Clarify the role of empty map in setKeyOverrides() docs.

Revby: Jon Nordby`

7 years agoChanges: Do MApplicationPage special casing in MInputContext without LMT
Jon Nordby [Thu, 6 Oct 2011 12:51:16 +0000 (14:51 +0200)]
Changes: Do MApplicationPage special casing in MInputContext without LMT

RevBy: Michael Hasselmann
Details: Last remaining meegotouch dependency.

7 years agoFixes: Warning about nonexistent ../stubs/stubbase.h shows up.
Krzesimir Nowak [Thu, 13 Oct 2011 08:44:14 +0000 (10:44 +0200)]
Fixes: Warning about nonexistent ../stubs/stubbase.h shows up.

Revby: Jon Nordby

7 years agoFixes: Documentation was not installed.
Krzesimir Nowak [Wed, 12 Oct 2011 14:06:05 +0000 (16:06 +0200)]
Fixes: Documentation was not installed.

RevBy: Jon Nordby

7 years agoRemove unused function in MIMPluginManager
Jan Arne Petersen [Thu, 6 Oct 2011 14:34:58 +0000 (16:34 +0200)]
Remove unused function in MIMPluginManager

Remove unused function MIMPluginManagerPrivate::convertAndFilterHandlers
and unit tests.

7 years agoChanges: Fix example plugin tests after directory restructuring
Jon Nordby [Fri, 7 Oct 2011 14:42:20 +0000 (16:42 +0200)]
Changes: Fix example plugin tests after directory restructuring

RevBy: TrustMe

7 years agoChanges: Add qml plugin files to OTHER_FILES
Jon Nordby [Fri, 7 Oct 2011 14:41:58 +0000 (16:41 +0200)]
Changes: Add qml plugin files to OTHER_FILES

7 years agoChanges: Build twofields example app against in-tree, not installed libs
Jon Nordby [Thu, 6 Oct 2011 15:53:44 +0000 (17:53 +0200)]
Changes: Build twofields example app against in-tree, not installed libs

RevBy: TrustMe

7 years agoChanges: Do not optimize code when compiling in debug mode.
Krzesimir Nowak [Tue, 27 Sep 2011 12:43:54 +0000 (14:43 +0200)]
Changes: Do not optimize code when compiling in debug mode.

RevBy: Jon Nordby
Useful when debugging - no <optimized out> values are shown.

7 years agoFixes: Plainqt was installed always at /usr/bin.
Krzesimir Nowak [Tue, 27 Sep 2011 12:34:21 +0000 (14:34 +0200)]
Fixes: Plainqt was installed always at /usr/bin.

RevBy: Jon Nordby
Use M_IM_INSTALL_BIN variable from config.pri.

7 years agoNew: Add an example with login and password fields.
Krzesimir Nowak [Thu, 22 Sep 2011 13:15:04 +0000 (15:15 +0200)]
New: Add an example with login and password fields.

RevBy: Jon Nordby
An example app showing how to use dynamic properties for overriding

7 years agoNew: Support property for common input method queries.
Krzesimir Nowak [Thu, 22 Sep 2011 13:15:53 +0000 (15:15 +0200)]
New: Support property for common input method queries.

RevBy: Jon Nordby
Those names will be used by input context to query dynamic properties
of focused widget. Also, C++ applications can use them to quickly provide
essential data for input context by using QObject's setProperty()
instead of subclassing a widget and overloading inputMethodQuery()

7 years agoNew: Add new QtQuick plugin with overridable actionKey.
Krzesimir Nowak [Tue, 27 Sep 2011 12:22:11 +0000 (14:22 +0200)]
New: Add new QtQuick plugin with overridable actionKey.

RevBy: Jon Nordby
This example shows how to write a vkb with overridable action key.

7 years agoNew: Add support for action key overrides in QtQuick.
Krzesimir Nowak [Tue, 27 Sep 2011 12:31:25 +0000 (14:31 +0200)]
New: Add support for action key overrides in QtQuick.

RevBy: Jon Nordby

7 years agoNew: Add new C++ plugin with overridable actionKey.
Krzesimir Nowak [Tue, 27 Sep 2011 12:20:22 +0000 (14:20 +0200)]
New: Add new C++ plugin with overridable actionKey.

RevBy: Jon Nordby
This plugin shows how to override an action key.

7 years agoChanges: Make MKeyOverride usable for QtQuick.
Krzesimir Nowak [Tue, 27 Sep 2011 12:28:26 +0000 (14:28 +0200)]
Changes: Make MKeyOverride usable for QtQuick.

RevBy: Jon Nordby
QtQuick will need properties that send notify signals on change.

Also added All enum member.

7 years agoChanges: Move 'cyclekeys' plugin into plugins/qml/ directory.
Krzesimir Nowak [Tue, 27 Sep 2011 12:17:08 +0000 (14:17 +0200)]
Changes: Move 'cyclekeys' plugin into plugins/qml/ directory.

RevBy: Jon Nordby
Please see previous commits.

7 years agoChange: Move 'quick' plugin into plugins/qml/ directory as 'helloworld'.
Krzesimir Nowak [Tue, 27 Sep 2011 13:38:44 +0000 (15:38 +0200)]
Change: Move 'quick' plugin into plugins/qml/ directory as 'helloworld'.

RevBy: Jon Nordby
See previous commit. Also made vkb appearance nicer (border, rounded
corners, shorter height).

7 years agoChanges: Move 'standard' plugin into plugins/cxx/ directory as 'helloworld'.
Krzesimir Nowak [Tue, 27 Sep 2011 11:50:53 +0000 (13:50 +0200)]
Changes: Move 'standard' plugin into plugins/cxx/ directory as 'helloworld'.

RevBy: Jon Nordby
Plugins written in C++ will reside in cxx directory and the ones in
qml directory - that allows programmer to write examples in both
languages showing the same feature.

7 years agoSkip Ut_MImRotationAnimation test
Jan Arne Petersen [Thu, 29 Sep 2011 08:14:53 +0000 (10:14 +0200)]
Skip Ut_MImRotationAnimation test

Skip Ut_MImRotationAnimation::testPassthruHiddenDuringRotation because
it is unreliable on device and not really important.

7 years agoFixes: Extension attributes are not registered after input context creation.
Krzesimir Nowak [Mon, 26 Sep 2011 09:15:36 +0000 (11:15 +0200)]
Fixes: Extension attributes are not registered after input context creation.

RevBy: Jon Nordby
This was because input context registers such extensions after receiving
a signal that connection to server is established. But input context is
created right after establishing such connection. To fix it, connecting
to server is deferred to mainloop. Also, this requirement is documented
in base class.

Regression introduced in 3780d15e1513bd032bdce2822b19f706b18cce73

7 years agoFix unredirecting in self-compositing mode
Jan Arne Petersen [Fri, 23 Sep 2011 13:22:05 +0000 (15:22 +0200)]
Fix unredirecting in self-compositing mode

RemoteWindow should only be unredirected in non self-compositing mode
not the other way around.

Fixes: NB#283995 - When VKB is invoked in any application & device is
rotated then application is not visible.

7 years agoCleanup main and add more comments
Jan Arne Petersen [Tue, 20 Sep 2011 14:25:45 +0000 (16:25 +0200)]
Cleanup main and add more comments

RevBy: Jon Nordby

7 years agoAdd workaround for QT Lighthouse to example.
Jan Arne Petersen [Sat, 17 Sep 2011 20:19:41 +0000 (22:19 +0200)]
Add workaround for QT Lighthouse to example.

Use correct input context also in QT Lighthouse case, where the
environment variable currently does not work.

RevBy: Jon Nordby

7 years agoAdd simple support for QT Lighthouse
Jan Arne Petersen [Sat, 17 Sep 2011 20:15:35 +0000 (22:15 +0200)]
Add simple support for QT Lighthouse

Add MImQPAPlatform class to provide some simple support for QT

RevBy: Jon Nordby