meegotouch:qt-developers-libmeegotouch.git
7 years agoChanges: Releasing 0.20.16-1 0.20.26-1
Jörgen Scheibengruber [Thu, 8 Jul 2010 12:21:45 +0000 (15:21 +0300)]
Changes: Releasing 0.20.16-1

RevBy: TrustMe

7 years agoChanges: remove libcontentmanager-dev from Build-Depends of libmeegotouch
Mike FABIAN [Thu, 8 Jul 2010 11:31:24 +0000 (14:31 +0300)]
Changes: remove libcontentmanager-dev from Build-Depends of libmeegotouch

RevBy: Armin Berres, Bernd Lamecker

Details:
This was a cyclic build dependency, i.e. libmeegotouch depended on
libcontentmanager and libcontentmanager depended on libmeegotouch for
build.

Also remove libqttracker-dev from Build-Depends of libmeegotouch and
maemo-meegotouch-interfaces from the Depends: of the
meegotouch-qt-style package.

7 years agoFixes: NB#158821 - dui-servicefwgen should allow generation of namespaced code
Max Waterman [Fri, 2 Jul 2010 14:14:00 +0000 (17:14 +0300)]
Fixes: NB#158821 - dui-servicefwgen should allow generation of namespaced code

RevBy: dominik

Details:
Put namespace into all the autogenerated files.
Updated and run tests.

7 years agoChanges: Skips ft_mmoc when no development environment is installed.
Max Waterman [Thu, 8 Jul 2010 12:16:10 +0000 (15:16 +0300)]
Changes: Skips ft_mmoc when no development environment is installed.

RevBy: Tomas

Details:
Skips test when no development environment is installed.

7 years agoChanges: Deleted the extra cut/copy/paste buttons from mrichtextedit
Murugappan Nataraj [Tue, 6 Jul 2010 09:15:31 +0000 (14:45 +0530)]
Changes: Deleted the extra cut/copy/paste buttons from mrichtextedit

RevBy: Pekka Vuorela
Details: Text entry toolbar has default copy/paste buttons removing the extra
cut/copy/paste buttons from mrichtextedit. Adding implementation for toggling
the style buttons.

7 years agoFixes: NB#178690, no timezone offset query api is provided by MCity classcity list...
Mike FABIAN [Fri, 2 Jul 2010 08:59:31 +0000 (10:59 +0200)]
Fixes:  NB#178690, no timezone offset query api is provided by MCity classcity list improvements

RevBy: Peter Csaszar, John Tapsell

Details:

add methods

• qint32 timeZoneRawOffset() const
• qint32 timeZoneDstOffset(QDateTime dateTime  = QDateTime::currentDateTime()) const
• qint32 timeZoneTotalOffset(QDateTime dateTime = QDateTime::currentDateTime()) const

to MCity class.

add unit test for this.

7 years agoFixes: NB#165818 - MMessageBox content is always pannable
Maciej Jablonski [Thu, 8 Jul 2010 07:56:49 +0000 (09:56 +0200)]
Fixes: NB#165818 -  MMessageBox content is always pannable

RevBy: Dominik Kapusta
Details: New MDialogModel::AlwaysPannable property (set default to true
for MDialog and false for MMessageBox) controls automatic turning off
panning when dialog content fits dialog. Turning on in MDialog
implicates additional changes for other classes (for example combo box
contents are cached and placed on scene only when needed, so size of
elements visible on scene may fit, but full list won't).

7 years agoFixes: NB#175181
Michael Hasselmann [Sun, 27 Jun 2010 16:55:57 +0000 (19:55 +0300)]
Fixes: NB#175181

RevBy: Dominik
Details: The pannable viewport needs to take into account that it can be
covered by a SIP. Instead of resizing the viewport (which would cause unwanted
side effects), we artifically blow up its panning range so that contents
*below* the SIP are reachable through panning still.

7 years agoChanges: Removed unnecessary code. Namely inputPanelOpened/Closed handlers.
Jarno Malmari [Tue, 29 Jun 2010 16:20:15 +0000 (19:20 +0300)]
Changes: Removed unnecessary code. Namely inputPanelOpened/Closed handlers.

RevBy: Daniel d'Andrada, Michael Hasselmann, Dominik Kapusta

7 years agoNew: Status bar hides when virtual keyboard comes up.
Jarno Malmari [Tue, 29 Jun 2010 14:56:39 +0000 (17:56 +0300)]
New: Status bar hides when virtual keyboard comes up.

RevBy: Daniel d'Andrada, Michael Hasselmann, Dominik Kapusta
Details: Status bar and other navigation control hiding is moved to
MApplicationWindow. This restricts the functionality to apply only to
MApplicationWindow and not plain MWindows that can have status bar via
an MWindowDecorator. Currently the only common place for this hiding
logic would be in MSceneManager but it cannot take control over its
scene window's appearance statuses.

Workarounds have been suggested, such as hiding the necessary scene windows
in scene manager without touching their appearance status but windows can
only be hidden this way. Not shown.

Status bar hiding needs to work together with fullscreen mode and phone
calls (which make status bar always appear).

7 years agoFixes: unit tests for MInputMethodState
Michael Hasselmann [Mon, 5 Jul 2010 10:02:42 +0000 (13:02 +0300)]
Fixes: unit tests for MInputMethodState

RevBy: Jarno Malmari
Details: Since MIMS now adds a small delay to signal emission, to counter
effects from the panning gesture recognition in MPannableWidget, this test
needed some timing fixes, as well.

7 years agoChanges: MInputMethodState signals changed SIP area with small delay to combine them.
Jarno Malmari [Thu, 24 Jun 2010 11:00:14 +0000 (14:00 +0300)]
Changes: MInputMethodState signals changed SIP area with small delay to combine them.

RevBy: Daniel d'Andrada, Michael Hasselmann, Dominik Kapusta
Details: This is especially for moving directly between two widgets that wants
input method. Purpose of the delay is to make glass widget more transparent
to SIP handling.

7 years agoFixes: Some tests incorrectly declares argv and argc passed to MApplication.
Marcin Miklas [Wed, 7 Jul 2010 09:03:04 +0000 (11:03 +0200)]
Fixes: Some tests incorrectly declares argv and argc passed to MApplication.

RevBy: Jörgen
Details: argv and argc declarations should be static, because QApplication
requires them to be valid through application lifetime.

7 years agoFixes: Crashing ut_mdialog test.
Marcin Miklas [Tue, 6 Jul 2010 09:51:18 +0000 (11:51 +0200)]
Fixes: Crashing ut_mdialog test.

RevBy: Jörgen
Details: Simplified application creation.

7 years agoChanges: Translate widget view painter by right margin instead of left margin on...
Stanislav Ionascu [Wed, 7 Jul 2010 10:42:08 +0000 (13:42 +0300)]
Changes: Translate widget view painter by right margin instead of left margin on RTL layout direction.

RevBy: Tomas Junnonen
Details: Currently painter is always translated by the widget view left, independant
from layout direction. This causes some widgets (like the image widget), to improperly
respect the margins. Also it differs from the behavior that the child widgets
are painted inside contents rectangle, which on layout change mirrors the horizontal
margins.

7 years agoChanges: Fixed crashing pt_mtoolbar.
DUI-Team Symbio [Fri, 2 Jul 2010 10:07:42 +0000 (13:07 +0300)]
Changes: Fixed crashing pt_mtoolbar.

RevBy: Mirek
Details: Make sure scenemanager exists before checking querying orientation from it.

7 years agoFixes: NB#173512 - Unable to close any dialog displayed above list view using close...
Stanislav Ionascu [Tue, 6 Jul 2010 08:40:08 +0000 (11:40 +0300)]
Fixes: NB#173512 - Unable to close any dialog displayed above list view using close button

RevBy: Jörgen

Details: The issue was caused by list index improperly handling scene touch
events in scene event filter. The code was a workarround the pannable viewport
getting all mouse mouse events. In current state it does not need to filter
the scene events, but rather react on mouse (touch) events.

7 years agoFixes: NB#173151 - Expensive layouting during startup
Peter Penz [Mon, 5 Jul 2010 06:51:20 +0000 (08:51 +0200)]
Fixes: NB#173151 - Expensive layouting during startup

RevBy: Stanislav Ionascu

Details: Postpone the creation of the MList filter until it is requested the first time, as the creation of the list filter is quite expensive.

7 years agoChanges: Reuse MThemeImagesDirectory instances if possible to speedup the performance
Peter Penz [Wed, 7 Jul 2010 08:59:21 +0000 (10:59 +0200)]
Changes: Reuse MThemeImagesDirectory instances if possible to speedup the performance

RevBy: Armin Berres

Details: When changing the theme, creating MThemeImageDirectory instances is quite expensive and can take up to around 1 second per instance. Reusing existing instances, like e. g. the base theme directory, improves the performance.

7 years agoFixes: NB#178004 - Window goes black after dismiss() and subsequent appear()
Dominik Kapusta [Tue, 6 Jul 2010 07:41:02 +0000 (09:41 +0200)]
Fixes: NB#178004 - Window goes black after dismiss() and subsequent appear()

RevBy: Marcin Miklas, Tomas Junnonen
Details: Extend the transition queueing algorithm to cover corner cases
for application pages:
* disappear() and appear() when appearing in page switch animation
* appear() and disappear() when disappearing in page switch animation

7 years agoChanges: don’t check libicu-dev package version, it might not be installed at all
Mike FABIAN [Wed, 7 Jul 2010 08:53:48 +0000 (11:53 +0300)]
Changes: don’t check libicu-dev package version, it might not be installed at all

RevBy: Björn Schnabel

Details:

My last attempt to fix the libicu package version detection tried to
check libicu-dev, but that is nonsense as this is only a build
requirement and might not be installed on the test system at all.
Check on libicu44 package version instead.

7 years agoChanges: X11 property _MEEGOTOUCH_PRESTARTED is set in windows of applications in...
Juha Lintula [Fri, 18 Jun 2010 06:33:52 +0000 (09:33 +0300)]
Changes: X11 property _MEEGOTOUCH_PRESTARTED is set in windows of applications in prestarted state.

RevBy: Antti Kervinen, Jörgen

7 years agoChanges: make TRANSLATION_DIR the default translation path always
Mike FABIAN [Tue, 6 Jul 2010 14:28:18 +0000 (17:28 +0300)]
Changes: make TRANSLATION_DIR the default translation path always

RevBy: John Tapsell

Details:

See also Bug NB#178130.

Until now the default translation path (macro TRANSLATION_DIR, usually
"/usr/share/l10n/meegotouch") was set only in
mcomponentdata.cpp. Therefore, applications which were not
MApplications but only QApplications sometimes has no translation path
set at all unless they explicitly set the translation path list
themselves. To make this a bit more convenient, I set the default
translation path always now.

A non-MApplication still has to load the “common” translation file though,
if the “common” translations are needed, i.e. it still
has to do something like this sample application:

int main(int argc, char *argv[])
{
    QApplication app( argc, argv );

    MLocale systemLocale;
    systemLocale.installTrCatalog("common");
    systemLocale.installTrCatalog("other-catalog-if-necessary");
    MLocale::setDefault(systemLocale);

    //% "Yes"
    qDebug() << qtTrId("qtn_comm_command_yes");
    //% "No"
    qDebug() << qtTrId("qtn_comm_command_no");
}

7 years agoChanges: Modifed m-servicegen so that it uses WM_TRANSIENT_FOR to achieve the task...
Mikko Levonmaa [Fri, 18 Jun 2010 10:46:03 +0000 (13:46 +0300)]
Changes: Modifed m-servicegen so that it uses WM_TRANSIENT_FOR to achieve the task chaining behaviour

RevBy: Max

Details: Home screen switcher will monitor the TRANSIENCY atoms for the windows and act accordingly.
         Removed the backService functionality as that is not needed any more, since the compositor will
         bring the correct window to front

7 years agoFixes: NB#176803 - MLocale::formatDateTime allocates MLocale per call
Mike FABIAN [Tue, 6 Jul 2010 10:53:23 +0000 (13:53 +0300)]
Fixes: NB#176803 - MLocale::formatDateTime allocates MLocale per call

RevBy: Armin Berres, John Tapsell

Details:

QString MLocale::formatDateTime(const MCalendar &mCalendar, const QString &formatString) const

did indeed allocate an extra instance of MLocale to be able to format
localized numbers according to the lc_time setting.

Instead of allocating an MLocale object for this, add another private
member to MLocale to cache another icu::NumberFormat and use this in
formatDateTime to format localized numbers.

Benchmark results using the benchmarks in the previous commit:

Old:

RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_U_QDateTime():
     0.59 msecs per iteration (total: 76, iterations: 128)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_U_MCalendar():
     0.57 msecs per iteration (total: 73, iterations: 128)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_V_MCalendar():
     0.57 msecs per iteration (total: 73, iterations: 128)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_r_MCalendar():
     1.3 msecs per iteration (total: 88, iterations: 64)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_R_MCalendar():
     1.3 msecs per iteration (total: 84, iterations: 64)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_t_MCalendar():
     0.53 msecs per iteration (total: 69, iterations: 128)

New:

RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_U_QDateTime():
     0.28 msecs per iteration (total: 72, iterations: 256)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_U_MCalendar():
     0.25 msecs per iteration (total: 66, iterations: 256)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_V_MCalendar():
     0.24 msecs per iteration (total: 63, iterations: 256)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_r_MCalendar():
     0.98 msecs per iteration (total: 63, iterations: 64)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_R_MCalendar():
     1.0 msecs per iteration (total: 65, iterations: 64)
RESULT : Ut_MCalendar::benchmarkFormatDateTimePosixFormatString_t_MCalendar():
     0.23 msecs per iteration (total: 60, iterations: 256)

7 years agoChanges: add benchmarks and more tests for formatDateTime() to ut_mcalendar
Mike FABIAN [Mon, 5 Jul 2010 14:31:30 +0000 (17:31 +0300)]
Changes: add benchmarks and more tests for formatDateTime() to ut_mcalendar

RevBy: TrustMe

Details:

benchmarks and tests for

QString MLocale::formatDateTime(const MCalendar &mCalendar,
                                  const QString &formatString) const

and

QString MLocale::formatDateTime(const QDateTime &dateTime,
                                  const QString &formatString) const

7 years agoChanges: move libqttracker-dev, libcontentmanager-dev out of Depends: of meegotouch...
Mike FABIAN [Tue, 6 Jul 2010 11:42:46 +0000 (14:42 +0300)]
Changes: move libqttracker-dev, libcontentmanager-dev out of Depends: of  meegotouch-qt-style

RevBy: Armin Berres

Details:

Put them in BuildDepends: of libmeegotouch instead.

7 years agoChanges: Fix memory leak in list view private.
Stanislav Ionascu [Tue, 6 Jul 2010 06:02:13 +0000 (09:02 +0300)]
Changes: Fix memory leak in list view private.

RevBy: Jörgen

Details: The scroll to animation time line was not removed on private class destroy.
Fixes by setting the private class as a parent of the time line animation.

7 years agoChanges: Fix minor memory leaks in list items.
Stanislav Ionascu [Tue, 6 Jul 2010 06:00:36 +0000 (09:00 +0300)]
Changes: Fix minor memory leaks in list items.

RevBy: Jörgen

Details: The private class was not deleted when public class being destroyed.

7 years agoChanges: small speedup for ft_locales
Mike FABIAN [Tue, 6 Jul 2010 07:47:11 +0000 (10:47 +0300)]
Changes: small speedup for ft_locales

RevBy: Björn Schnabel

Details:

Because it runs into a timeout in CITA sometimes.

7 years agoRevert "Fixes: NB#176530 - Progress bar with unknown duration uses lot of cpu"
Tomas Junnonen [Tue, 6 Jul 2010 10:22:04 +0000 (13:22 +0300)]
Revert "Fixes: NB#176530 - Progress bar with unknown duration uses lot of cpu"

This reverts commit e74e69447bf62d8a1b8fda05afc411c6138efd4e.

7 years agoFixes: NB#176530 - Progress bar with unknown duration uses lot of cpu
denes dezso [Tue, 6 Jul 2010 04:04:53 +0000 (07:04 +0300)]
Fixes: NB#176530 - Progress bar with unknown duration uses lot of cpu

RevBy: Anna Gadomska, Tomas Junnonen
Details:
MScalableImage::draw(const QRect &rect, const QPoint& pixmapOffset, const QPixmap* pixmap, QPainter *painter) const
was rewritten.

7 years agoChanges: fix ut_phonenumberformatting
Mike FABIAN [Mon, 5 Jul 2010 13:42:00 +0000 (16:42 +0300)]
Changes: fix ut_phonenumberformatting

RevBy: Björn Schnabel

Details:

Sometimes a QTest::qWait(10) was apparently not enough on
the device.

Add a timeout loop instead to wait longer if necessary but not
unnecessarily long.

7 years agoChanges: fix ft_sorting test
Mike FABIAN [Mon, 5 Jul 2010 11:54:01 +0000 (14:54 +0300)]
Changes: fix ft_sorting test

RevBy: Björn Schnabel

Details:

Now that libicu44 packages are finally available on the device,
the check for libicu42 failed, better check the package version
of libicu by checking the libicu-dev package as only one
version of the libicu-dev package can be installed at the same time.
The check for libicu42 may be successfull even though libicu44 is
already installed and the rc file of libicu42 remains:

> dpkg -s  libicu42
Package: libicu42
Status: deinstall ok config-files
Priority: optional
Section: libs
Installed-Size: 10816
Maintainer: Jani Mikkonen <ext-jani.3.mikkonen@nokia.com>
Architecture: i386
Source: icu
Version: 4.2.1-0maemo5+0m6
Config-Version: 4.2.1-0maemo5+0m6
Replaces: icu, icu-locales, libicu40
Depends: libc6 (>= 2.8-0), libgcc1 (>= 1:4.3.3), libstdc++6 (>= 4.3.3)
Conflicts: icu, icu-locales, libicu40
Description: International Components for Unicode
 ICU is a C++ and C library that provides robust and full-featured
 Unicode and locale support.  This package contains the runtime
 libraries of base library, i18n library, and data library for ICU.

7 years agoChanges: update widgetsgallery translations
Mike FABIAN [Sun, 4 Jul 2010 21:59:40 +0000 (23:59 +0200)]
Changes: update widgetsgallery translations

RevBy: John Tapsell

7 years agoChanges: N900 application manager data update
Miroslav Safr [Tue, 29 Jun 2010 10:07:32 +0000 (13:07 +0300)]
Changes: N900 application manager data update
RevBy: MaxW
Details: debian/control file was upadted so the widgetsgallery shows properly in application manager
+Section: user/development
+Priority: extra
+XB-Maemo-Display-Name: Widgets Gallery
and updated new binary icon - XB-Maemo-Icon-26:

7 years agoChanges: 0.20.26~1
Jörgen Scheibengruber [Mon, 5 Jul 2010 12:28:03 +0000 (15:28 +0300)]
Changes: 0.20.26~1

RevBy: TrustMe

7 years agoChanges: Add another bug-fix to 0.20.25-1 0.20.25-1
Jörgen Scheibengruber [Mon, 5 Jul 2010 11:52:38 +0000 (14:52 +0300)]
Changes: Add another bug-fix to 0.20.25-1

RevBy: TrustMe

7 years agoFixes: NB#178001 - using MList::scrollTo() makes the list behave strange
Stanislav Ionascu [Mon, 5 Jul 2010 11:06:16 +0000 (14:06 +0300)]
Fixes: NB#178001 - using MList::scrollTo() makes the list behave strange

RevBy: Jörgen

Details: The list postponed the geometry update event to next event loop,
so if scroll-to was invoked before the geometry being ready, it would result
in pannable viewport not yet being ready for scrolling and wrong target
position for scrolling being calculated. The fix ensures that if pannable
viewport range is changed, then the target position for scrolling is recalculated.

7 years agoChanges: Releasing 0.20.25-1
Jörgen Scheibengruber [Mon, 5 Jul 2010 11:02:23 +0000 (14:02 +0300)]
Changes: Releasing 0.20.25-1

RevBy: TrustMe

7 years agoChanges: Functional test added to test application specific theme loading in boosted...
Juha Lintula [Wed, 30 Jun 2010 13:37:36 +0000 (16:37 +0300)]
Changes: Functional test added to test application specific theme loading in boosted MApplication's reinit.

RevBy: Antti Kervinen, Jörgen, Armin

7 years agoFixes: NB#176892 - svg ids are not shown on using fast launch in application
Antti Kervinen [Tue, 29 Jun 2010 13:29:18 +0000 (16:29 +0300)]
Fixes: NB#176892 - svg ids are not shown on using fast launch in application

RevBy: Juha Lintula

Details:
    Application name change after launching boosted application was
    not propagated to the theme daemon. Therefore application-specific
    graphics that were supposed to be fetched from the daemon did not
    work. This commit fixes the issue.

7 years agoChanges: Added MDialogStyle properties: TitleCapitalization and TitleBarAlignment.
Marcin Miklas [Fri, 2 Jul 2010 10:40:59 +0000 (12:40 +0200)]
Changes: Added MDialogStyle properties: TitleCapitalization and TitleBarAlignment.

RevBy: Dominik, Jörgen

Details: TitleCapitalization and TitleBarAlignment properties added to MDialogStyle.

7 years agoFixes: NB#175447 - meegotouch doesn't add dbus to QT features, but it needs...
Max Waterman [Sat, 3 Jul 2010 14:11:37 +0000 (17:11 +0300)]
Fixes: NB#175447  -  meegotouch doesn't add dbus to QT features, but it needs...

RevBy: Jörgen

Details:
Added QT+=dbus to the meegotouch_common.prf file for unix.
Adjusted examples/{chaining,servicefw} project files to test and use new config.

7 years agoChanges: Don't include private mlistview header in the public one.
Stanislav Ionascu [Fri, 2 Jul 2010 13:13:35 +0000 (16:13 +0300)]
Changes: Don't include private mlistview header in the public one.

RevBy: Jörgen

7 years agoFixes: NB#176453 - progress bar and spinner widgets get paint events when are offscreen.
Stanislav Ionascu [Thu, 1 Jul 2010 12:26:56 +0000 (15:26 +0300)]
Fixes: NB#176453 - progress bar and spinner widgets get paint events when are offscreen.

RevBy: Jörgen

Details: Progress bar and spinner installed a timer, and invoking paint event on each
timer timeout. The patch ensures that progress bar's and spinners timers are properly stopped
on displayExit event.

7 years agoChanges: add more tests for %r and %R
Mike FABIAN [Fri, 2 Jul 2010 08:57:51 +0000 (10:57 +0200)]
Changes: add more tests for %r and %R

RevBy: Holger Schröder

Details:

Chitrang Srivastava is using this for 24 hour and 12 hour time
short, make sure that it really works.

7 years agoFixes: NB#177613 - MCommonPixmaps crash happened
DUI-Team Symbio [Fri, 2 Jul 2010 06:42:15 +0000 (09:42 +0300)]
Fixes: NB#177613 - MCommonPixmaps crash happened

RevBy: Armin
Details: Check if there really is some items in the load list before loading.

7 years agoChanges: Allow to override swaphook via LD_PRELOAD
Jörgen Scheibengruber [Thu, 1 Jul 2010 15:51:04 +0000 (18:51 +0300)]
Changes: Allow to override swaphook via LD_PRELOAD

RevBy: Armin

Details: This allows widgetsgallery to be used with swaplogger again

7 years agoChanges: Fixed widgetsgallery list page image loading of filtered items
DUI-Team Symbio [Thu, 1 Jul 2010 10:46:01 +0000 (13:46 +0300)]
Changes: Fixed widgetsgallery list page image loading of filtered items

RevBy: Stanislav

7 years agoChanges: Fixed MListFilter viewport position check for pulled signal
DUI-Team Symbio [Thu, 1 Jul 2010 07:37:04 +0000 (10:37 +0300)]
Changes: Fixed MListFilter viewport position check for pulled signal

RevBy: Stanislav

7 years agoChanges: Use small shadow graphics when drawing shadow under the mnavigationbar.
DUI-Team Symbio [Wed, 30 Jun 2010 05:07:32 +0000 (08:07 +0300)]
Changes: Use small shadow graphics when drawing shadow under the mnavigationbar.

RevBy: Adrian Yanes, Jörgen

7 years agoFixes: NB#177339 - If MSlider is tapped on the min/max label slider handle moves...
denes dezso [Thu, 1 Jul 2010 07:36:08 +0000 (10:36 +0300)]
Fixes: NB#177339 -  If MSlider is tapped on the min/max label slider handle moves but sliderPressed signal is not emitted.

RevBy: TrustMe

7 years agoChanges: document the date symbol choices better
Mike FABIAN [Thu, 1 Jul 2010 10:28:57 +0000 (12:28 +0200)]
Changes: document the date symbol choices better

RevBy: John Tapsell

Details:

NB#176325 was caused by not using the proper way to abbreviate
date symbols. Maybe because of lack of documentation.

Improve unit test to show that the different abbreviations work
as expected.

7 years agoChanges: Updated ChangeLog to honor native filedialog change.
Torsten Rahn [Thu, 1 Jul 2010 12:04:34 +0000 (14:04 +0200)]
Changes: Updated ChangeLog to honor native filedialog change.

RevBy: TrustMe

Conflicts:

debian/changelog

7 years agoChanges: Adding deb-dependencies for native file dialog.
Torsten Rahn [Fri, 25 Jun 2010 09:43:56 +0000 (11:43 +0200)]
Changes: Adding deb-dependencies for native file dialog.

RevBy: TrustMe

7 years agoChanges: Added native file dialog from search framework.
Torsten Rahn [Wed, 23 Jun 2010 14:17:27 +0000 (16:17 +0200)]
Changes: Added native file dialog from search framework.

RevBy: TrustMe

7 years agoChanges: Releasing 0.20.24-1 0.20.24-1
Jörgen Scheibengruber [Thu, 1 Jul 2010 10:39:40 +0000 (13:39 +0300)]
Changes: Releasing 0.20.24-1

RevBy: TrustMe

7 years agoChanges: Added notice on the deactivation of automatic orientation changes
Daniel d'Andrada [Thu, 1 Jul 2010 09:21:10 +0000 (12:21 +0300)]
Changes: Added notice on the deactivation of automatic orientation changes

RevBy: TrustMe

7 years agoFixes: NB#177177 - Disable automatic rotation
Jaroslaw Jaryszew [Wed, 30 Jun 2010 09:58:50 +0000 (11:58 +0200)]
Fixes: NB#177177 - Disable automatic rotation

RevBy: Daniel d'Andrada
Details: Ugly hack:
When KB is open, application should ALWAYS be in landscape.
When KB is closed, application should ALWAYS be in portrait.

7 years agoChanges: Make the build work again
Holger Schroeder [Thu, 1 Jul 2010 08:26:19 +0000 (11:26 +0300)]
Changes: Make the build work again

RevBy: Stanislav Ionascu

7 years agoChanges: make setting of QMAKE_MOC work
Holger Schroeder [Wed, 30 Jun 2010 14:54:31 +0000 (16:54 +0200)]
Changes: make setting of QMAKE_MOC work

RevBy: Torsten Rahn

Details: for some reason the setting of the QMAKE_MOC
in some application using CONFIG += meegotouch was not working.
This fixes it.

7 years agoChanges: also add the meegotouch_mmoc.prf to install
Holger Schroeder [Wed, 30 Jun 2010 14:07:21 +0000 (16:07 +0200)]
Changes: also add the meegotouch_mmoc.prf to install

RevBy: Torsten Rahn

7 years agoChanges: Launcher documentation improvements
Antti Kervinen [Wed, 30 Jun 2010 11:13:48 +0000 (14:13 +0300)]
Changes: Launcher documentation improvements

RevBy: Armin

Details:
    Added
    - package config instructions
    - debugging instructions
    - platform security instructions
    - more commandline arguments issues
    - dbus and upstart issues

7 years agoChanges: add test for break iterator for Arabic mixed with Latin
Mike FABIAN [Wed, 30 Jun 2010 13:01:13 +0000 (15:01 +0200)]
Changes: add test for break iterator for Arabic mixed with Latin

RevBy: Pekka Taneli Vuorela

Details:

If Arabic text is mixed with Latin and there are not spaces between
the Arabic and the Latin, then MBreakIterator does not break between
the Arabic and the Latin, which looks like a bug. Reported as
NB#177492.

7 years agoChanges: some more doxygen documentation for the city and country list
Mike FABIAN [Tue, 29 Jun 2010 16:07:52 +0000 (18:07 +0200)]
Changes: some more doxygen documentation for the city and country list

RevBy: TrustMe

7 years agoChanges: Added missing meegotouch_mgen.prf to install_prf.files
Marcin Miklas [Wed, 30 Jun 2010 12:49:33 +0000 (14:49 +0200)]
Changes: Added missing meegotouch_mgen.prf to install_prf.files

RevBy:
Details: This fixes building of applications/libraries using mgen.

7 years agoMerge commit 'refs/merge-requests/727' of gitorious.org:maemo-6-ui-framework/libdui
Jörgen Scheibengruber [Wed, 30 Jun 2010 11:56:11 +0000 (14:56 +0300)]
Merge commit 'refs/merge-requests/727' of gitorious.org:maemo-6-ui-framework/libdui

7 years agoChanges: Fix a crash situation in ApplicationLayoutDirectionChange propagation loop.
Stanislav Ionascu [Mon, 28 Jun 2010 10:02:08 +0000 (13:02 +0300)]
Changes: Fix a crash situation in ApplicationLayoutDirectionChange propagation loop.

RevBy: Jörgen, Stanislav

Details: If an scene item is destroyed (deleted) from scene on layout direction change,
then the application would crash as the iterator would become invalid.
The fix makes a snapshot of current scene elements and starts to propagate the event,
veryfing that each item still exists in scene.

7 years agoChanges: MComboBox's appearance enhancements.
Marcin Miklas [Mon, 28 Jun 2010 09:30:20 +0000 (11:30 +0200)]
Changes: MComboBox's appearance enhancements.

RevBy: Stanislav Ionascu
Details: Now we need to have 3 types of comboboxes:
1) looks like ContentItem
2) looks like Button
3) looks like Button with title above.

Now icon, title, subtitle etc. objectNames can be set in style, so we can use
different styles from commonlayouts depending of combobox type.
Also added spearateTitle style property.

7 years agoChanges: removing old unnecessary style imports
Adrian Yanes [Tue, 29 Jun 2010 14:49:38 +0000 (17:49 +0300)]
Changes: removing old unnecessary style imports

RevBy: Stanislav, Jörgen

7 years agoChanges: Disabled MListFilter editor autocapitalization/correction/prediction
DUI-Team Symbio [Wed, 30 Jun 2010 07:58:55 +0000 (10:58 +0300)]
Changes: Disabled MListFilter editor autocapitalization/correction/prediction

RevBy: Stanislav, Jörgen

7 years agoRevert "Changes: spinner animation view/animation reimplemented"
Mike FABIAN [Wed, 30 Jun 2010 09:58:48 +0000 (11:58 +0200)]
Revert "Changes: spinner animation view/animation reimplemented"

This reverts commit 6dac29bbf852283dfc1f7d684a1b22964ecb7024.

7 years agoFixes: NB#176548 - Toolbar missing shade
DUI-Team Symbio [Tue, 29 Jun 2010 07:27:33 +0000 (10:27 +0300)]
Fixes: NB#176548 - Toolbar missing shade

RevBy: Daniel d'Andrada

7 years agoFixes: NB#174927 - MTheme::pixmap() and MTheme::pixmapCopy() return empty images
DUI-Team Symbio [Thu, 24 Jun 2010 11:10:05 +0000 (14:10 +0300)]
Fixes: NB#174927 - MTheme::pixmap() and MTheme::pixmapCopy() return empty images

RevBy: Armin Berres
Details:
Ensure that the copied pixmap is really loaded, dont just blindly return the
locally cached pixmap.

7 years agoChanges: Remove unnecessary headers from ut_mappletinventory*.pro
Daniel d'Andrada [Wed, 30 Jun 2010 08:16:14 +0000 (11:16 +0300)]
Changes: Remove unnecessary headers from ut_mappletinventory*.pro

RevBy: Holger Schroeder

7 years agoChanges: only use dependency on mmoc, if the binary is used
Holger Schroeder [Thu, 17 Jun 2010 08:56:13 +0000 (10:56 +0200)]
Changes: only use dependency on mmoc, if the binary is used

RevBy: Max Waterman
Details: On ARM we use the perl mmoc script right now,
and for that reason we should not use a predep on it.

7 years agoChanges: unify usage of mmoc and mgen in the different .pro files
Holger Schroeder [Fri, 11 Jun 2010 12:41:37 +0000 (14:41 +0200)]
Changes: unify usage of mmoc and mgen in the different .pro files

RevBy: Max Waterman
Details: there was quite some code duplication in the usage
of mmoc and mgen in the project. this is now all simplified
and unified. all unit tests still pass.

7 years agoChanges: simplify feedback .pro files
Holger Schroeder [Fri, 11 Jun 2010 12:40:37 +0000 (14:40 +0200)]
Changes: simplify feedback .pro files

RevBy: Max Waterman
Details: these copy-steps are not needed...

7 years agoChanges: make ut_mapplicationinstancemanager work with mmoc
Holger Schroeder [Fri, 11 Jun 2010 12:38:53 +0000 (14:38 +0200)]
Changes: make ut_mapplicationinstancemanager work with mmoc

RevBy: Max Waterman
Details: here the problem was that some header files in this
test do contain M_MODEL_PROPERTY lines, but only qt moc
was used to build this test instead of mmoc. and so some
function declarations were not created. when i switched to
mmoc, the function declarations were created, and as the
cpp files were missing from the .pro file, the linker
was complaining about missing symbols.

7 years agoChanges: make ut_mapplicationextensionmanager work with mmoc
Holger Schroeder [Fri, 11 Jun 2010 12:33:13 +0000 (14:33 +0200)]
Changes: make ut_mapplicationextensionmanager work with mmoc

RevBy: Max Waterman
Details: here the problem was that some header files in this
test do contain M_MODEL_PROPERTY lines, but only qt moc
was used to build this test instead of mmoc. and so some
function declarations were not created. when i switched to
mmoc, the function declarations were created, and as the
cpp files were missing from the .pro file, the linker
was complaining about missing symbols.

7 years agoChanges: implement tests for mmoc and mmoc.pl
Holger Schroeder [Wed, 9 Jun 2010 09:57:20 +0000 (11:57 +0200)]
Changes: implement tests for mmoc and mmoc.pl

RevBy: Max Waterman
Details: these tests run mmoc and mmoc.pl on some
files and check if the resulting files are equal
(or almost egual) to some correct files

7 years agoChanges: spinner animation view/animation reimplemented
Anna Gadomska [Thu, 24 Jun 2010 11:43:35 +0000 (14:43 +0300)]
Changes: spinner animation view/animation reimplemented

RevBy: TrustMe

7 years agoChanges: Fix a broken mWarning
Jörgen Scheibengruber [Tue, 29 Jun 2010 13:48:29 +0000 (16:48 +0300)]
Changes: Fix a broken mWarning

RevBy: TrustMe

7 years agoChanges: MListFilter improvements for widget and widgetsgallery list page
DUI-Team Symbio [Thu, 24 Jun 2010 06:16:18 +0000 (09:16 +0300)]
Changes: MListFilter improvements for widget and widgetsgallery list page

RevBy: Daniel, Stanislav, Jörgen

Details: Changed filtering regexp to incasesensitive, added delayed
text editor hiding, fixed multiple "panned from top" emits.
Updated MListFilter unit tests for case insensitive regexp

7 years agoChanges: Themedaemon should not abort when theme ids changed
Armin Berres [Thu, 24 Jun 2010 08:31:51 +0000 (10:31 +0200)]
Changes: Themedaemon should not abort when theme ids changed

RevBy: Jörgen, Fabian

Changes:
When a theme id is changed the themedaemon cannot preload the
id anymore. Right now it is aborting in this case and one has to
manually clear the preload list. Instead of this unknown elements
are ignored and deleted from the preload list.

7 years agoChanges: Improve performance of MStyleContainer::currentStyle()
Peter Penz [Fri, 25 Jun 2010 07:24:48 +0000 (09:24 +0200)]
Changes: Improve performance of MStyleContainer::currentStyle()

RevBy: Armin, Jörgen

Details:
    When panning through a list, MStyleContainer::currentStyle() is
    invoked several thousands of times. With this small patch panning
    the list of the widgetsgallery in the portrait mode gets faster
    by around 1 fps. The patch is related to NB#174717, but probably
    further investigations need to be done to speedup the performance.

7 years agoChanges: Improve performance of MWidgetView::reactiveMargins() and MWidgetView::margins()
Peter Penz [Thu, 24 Jun 2010 14:05:26 +0000 (16:05 +0200)]
Changes: Improve performance of MWidgetView::reactiveMargins() and MWidgetView::margins()

RevBy: Armin Berres

Details:
    Although getting the bounding rectangle of a widget is quite fast,
    a huge number of calls is done during e. g. panning through a list.
    The patch improves the performance of MWidgetView::reactiveMargins()
    and MWidgetView::margins(): Each call of the -> operator for the style
    container results in calling MStyleContainer::currentStyle(), that
    contains calls like MApplication::activeWindow(). So now one call is done
    instead of four. Panning the list of the widgetsgallery in the portrait
    mode gets faster by around 2 - 3 fps. The patch is related to NB#174717,
    but probably further investigations need to be done to speedup the
    performance.

7 years agoChanges: use QAtomicInt instead of int for reference counting
Armin Berres [Thu, 24 Jun 2010 12:50:04 +0000 (14:50 +0200)]
Changes: use QAtomicInt instead of int for reference counting

RevBy: Jörgen, Peter

7 years agoChanges: initialize pixmaps transparent/green
Armin Berres [Fri, 25 Jun 2010 12:56:37 +0000 (14:56 +0200)]
Changes: initialize pixmaps transparent/green

RevBy: Peter, Jörgen

Details:
In the release builds temporary pixmaps should be transparent and
not visible at all. Optionally for debugging purposes they can be
rendered in green.

7 years agoChanges: Fix button icon layout positioning.
Stanislav Ionascu [Mon, 28 Jun 2010 05:44:06 +0000 (08:44 +0300)]
Changes: Fix button icon layout positioning.

RevBy: Peter, Jörgen

Details: Two cases fixed,
1) With large padding and icon with label being right aligned.
2) With button label text exceeding button width.

7 years agoChanges: Clean up gesture emulation in MScene
Michael Hasselmann [Thu, 24 Jun 2010 09:14:11 +0000 (12:14 +0300)]
Changes: Clean up gesture emulation in MScene

RevBy: Michał Guminiak

7 years agoChanges: Allow a sandboxed build
Harald Fernengel [Thu, 17 Jun 2010 12:10:23 +0000 (14:10 +0200)]
Changes: Allow a sandboxed build

RevBy: Daniel d'Andrada
Details:
Instead of hard-coding /etc and /usr, use the corresponding prefixes.
This allows installing and working with dui in a sandboxed environment,
and also allows installation into a special prefix without root
permissions.

7 years agoFixes: NB#176909 - spinners in widgetsgallery list are not replaced with images anymore
Stanislav Ionascu [Mon, 28 Jun 2010 12:40:13 +0000 (15:40 +0300)]
Fixes: NB#176909 - spinners in widgetsgallery list are not replaced with images anymore

RevBy: Armin, Jörgen

Details: Fixes the issue commit 63dd8f8ecddc933907399df651e74243e3e972b8 introduced.
Some improved spinner->image replacement code for the phone book cell class.

7 years agoFixes: NB#173438 - connection failed, DHCP cut in portrait view
Dominik Kapusta [Thu, 24 Jun 2010 11:04:36 +0000 (13:04 +0200)]
Fixes: NB#173438 - connection failed, DHCP cut in portrait view

RevBy: Daniel d'Andrada
Details: Set word wrapping on a title label in MMessageBox.

7 years agoFixes: NB#175820 - 'Contacts' application is crashing in portrait mode.
Michal Guminiak [Thu, 24 Jun 2010 07:58:24 +0000 (09:58 +0200)]
Fixes: NB#175820 - 'Contacts' application is crashing in portrait mode.

RevBy: John Tapsell
Details: When the pannable viewport object is being destroyed, it should not
try setting range and recalculating physical range.

7 years agoChanges: MListFilter unit test
DUI-Team Symbio [Tue, 15 Jun 2010 09:39:49 +0000 (12:39 +0300)]
Changes: MListFilter unit test

RevBy: TrustMe

7 years agoFixes: NB#176352 - Sometimes navigation bar is not fully hidden/shown when requested
Dominik Kapusta [Thu, 24 Jun 2010 08:29:36 +0000 (10:29 +0200)]
Fixes: NB#176352 - Sometimes navigation bar is not fully hidden/shown when requested

RevBy: Daniel d'Andrada
Details: Don't check for isVisible() when calling disappear() on a component.

7 years agoChanges: Fixed MSliderView to honor MWidgetStyle feedback attributes
Antti Pulakka [Wed, 23 Jun 2010 10:47:47 +0000 (13:47 +0300)]
Changes: Fixed MSliderView to honor MWidgetStyle feedback attributes

RevBy: Daniel d'Andrada
Details:
It should be possible to use "press" and "release" feedbacks for
MSlider, since MSliderStyle inherits MWidgetStyle which has
"press" and "release" feedbacks defined.

7 years agoChanges: obsolete sliders and DuiBuyttons related entries were removed from
denes dezso [Tue, 29 Jun 2010 01:56:18 +0000 (04:56 +0300)]
Changes: obsolete sliders and DuiBuyttons related entries were removed from
         demos/widgetsgallery/theme/base/style/widgetsgallery.css

RevBy: Miroslav Safr