aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-07-30Changes: Fix right-to-left alignment, wrong clipping and single-line wrapping.Peter Penz
RevBy: John Tapsell Details: The clipping "worked" already before, but it relied on a specific implementation of adjustTextOffset(), which is dangerous. This has been fixed so that the clipping also works in cases where adjustTextOffset() does not fulfill those assertions. The right-to-left alignment code had been fixed for some corner cases like when no horizontal alignment has been specified at all. When no wrapping is defined, also the character QChar::LineSeparator must be replaced by a space to stay backward compatible.
2010-07-30Changes: Use QStaticText instead of doing a custom text caching in MLabelPeter Penz
Fixes: NB#179282 - No anti-alias available for the clock symbol in lock window Fixes: NB#179142 - MLabel is not word wrapping correctly with the QTextOption::WrapAtWordBoundaryOrAnywhere option RevBy: Armin Berres, John Tapsell, Jörgen Scheibengruber Details: Using QStaticText improves the painting performance, when the the text is changed rarely. The performance benchmark pt_mlabel, which has been disabled a while ago and did work anymore with the latest source, has been adjusted and enabled again. Beside the performance improvement NB#179282 had been fixed by providing a render hint to QPainter. NB#179142 has been fixed automatically by using QStaticText, which internally uses QTextOption and hence respects QTextOption::WrapAtWordBoundaryOrAnywhere.
2010-07-30Fixes: NB#181745 - MCompleter highlighting does not work properly when white ↵Ning Chi
space predicts the keyword RevBy: Mohammad Anwari Details: The highlight policy of MCompleterView is not correct in some case, sometime mcompleter highlight a wrong string in the result string. Now it only highlight if there is a match found.
2010-07-30Fixes: NB#181745Ning Chi
RevBy: TBD Details: Fix NB#181745 - MCompleter highlighting does not work properly when white space predicts the keyword. New methods charactersToTrimForCompletionPrefix() and setCharactersToTrimForCompletionPrefix().
2010-07-30Fixes: NB#176789 - Loading a specific theme icons / styles when the language ↵Janne Heikkilä
is switched (example: arabic) is not working RevBy: Tomas Junnonen Details: Added support for localizing all the graphics assets (images, icons, svgs). Previously only icons could be localized.
2010-07-30Fixes: MPhysics2DPanning::setPosition should check if the new position is valid.Michal Guminiak
RevBy: Tomas Junnonen Details: It shouldn't be possible to set a new position in an unallowed panning direction.
2010-07-30Fixes: NB#182051 - closing the various setting ui from the SUW is closing ↵Dominik Kapusta
the SUW itself RevBy: Michał Details: Block signals from MEscapeButtonPanel when updating auto escape mode when a page is popped from the page stack. It was causing the close button geometry to be temporarily overwritten, allowing user to actually close the application by quickly tapping the back button twice.
2010-07-29Changes: coverity fix CID#1052Anna Gadomska
RevBy: Michał
2010-07-29Fixes: NB#178931 - System modal dialog cannot be invoked twiceDominik Kapusta
RevBy: Michał Details: Guard MSceneWindowPrivate::sceneManager pointer. When the system modal dialog is closed and it's window is deleted (together with the scene manager), the pointer is zeroed and upon next call to appear it will be recognised as invalid pointer and it won't be dereferenced, especially in MSceneManagerPrivate::addSceneWindow().
2010-07-29Changes: themedaemon extract ids from all svgsArmin Berres
RevBy: Janne Heikkilä, Peter Penz, Tomas Junnonen Details: When the themedaemon is supposed to return an pixmap for a special id it could theoretically be part of any available svg. In the worst case the themedaemon has to iterate over all svgs to find an id. To speed this up so called .ids files could be used to specify which ids are contained in an svg. If an id from an .ids file has been requested the lookup has been fast. Ff not the themedaemon had to to the iteration. Quite some svg files did not have .ids files. To solve this problem the .ids files are obsolet with this commit. The themedaemon extracts the ids contained in all svgs now at startup and caches the result. When an id is requested now the themedaemon can use a lookup table to directly determine the needed svg file. As extracting the ids from the svgs is not the cheapest opertion the ids are saved in cache file which are updated whenever the svg changes.
2010-07-29Fixes: NB#182176 - COREWEB: /usr/bin/sysuid 'QGraphicsScene::mouseGrabberItem'Michal Guminiak
RevBy: Tomas Junnonen Details: The check for scene object has been added to avoid crashes in pannable widget.
2010-07-29Changes: reduce themedaemon memory usageArmin Berres
RevBy: Peter Details: When loading a png/jpg image or loading an icon the themedaemon was always keeping a QImage/QSvgRenderer in memory as long as a client requested the theme element. Not the QImage is freed imediately and the QSvgRenderer will be freed when it is unused for three seconds. Memory usage us reduced from a bit more than 6Mb to a bit more than 4Mb.
2010-07-28Changes: coverity fixes, CID#1045Anna Gadomska
RevBy: TrustMe
2010-07-28Revert "Changes: Block the painting in MWindow until the layouting has been ↵Sergiy Dubovik
finished" This reverts commit bcc182a806db94fa124aae7efae7c65289694538. Bugzilla number 182210
2010-07-28Changes: Fixed compile error on non X11 platforms.Juergen Bocklage-Ryannel
RevBy: Sergiy
2010-07-28Changes: Documented ownership transference of scene windowsDaniel d'Andrada
RevBy: TrustMe
2010-07-28Fixes: NB#180708 - booster-m does not react to theme changesPertti Kellomäki
RevBy: Armin Details: Do not send theme change packets to the booster from the theme daemon. The booster is not sitting in an event loop, and consequently will not reply to such messages. The identification of the booster is now done by using a magic name, which is ugly. Optimally, the theme protocol should be augmented so that the booster could identify itself by sending a booster specific registration packet. Tested on device against 0.20.27-1.
2010-07-28Changes: name of visibilityChangedSlot method was changes to ↵denes dezso
changeSliderHandleIndicatorVisibility RevBy: Anna Gadomska
2010-07-28Fixes: NB#181416 Slider handle will stay on screen if slider disappears ↵denes dezso
while it's pressed RevBy: Anna Gadomska
2010-07-28Merge commit 'refs/merge-requests/191' of ↵Sergiy Dubovik
git@gitorious.org:meegotouch/libmeegotouch into integration Conflicts: tests/tests.pro
2010-07-28Changes: Meego integration rpm build: gcc 4.5 warnings, .spec updateMiroslav Safr
RevBy: Max
2010-07-27Changes: MBanner modifications to clean layout + code style updatedAdrian Yanes
RevBy: Denes
2010-07-27Fixes: Building of documentation for MNotificationGroupSachin Kundu
RevBy: Pankaj Saharan
2010-07-27Fixes: NB#182098 - List with separators on renders incorrectlyStanislav Ionascu
RevBy: Sergiy Details: The list view private class was updating separator size just after the separtor style was set, and then once more after the style was applied. The fix ensures that the separator size is updated only once on either geometry or style update, and the correct overloaded function is called.
2010-07-27Changes: improving progress bar speed using composition mode, using a mask ↵Thomas Moenicke
image defined in SVG RevBy: Sergiy Details: see also meegotouch-theme changes
2010-07-27Fixes: NB#181747 - Defined margin of a MButton won't work in right-to-left modeStanislav Ionascu
RevBy: John, Bjorn Details: The label of the button was always translated to the left margin, independent on layout direction. Fixed by taking into account the layout direction.
2010-07-27Changes: Block the painting in MWindow until the layouting has been finishedPeter Penz
RevBy: Armin Berres Details: Because of the recent optimizations of the theme daemon, pending requests for images are very rare. So the approach to delay the showing of the window until all pending requests are done, is not sufficient anymore to prevent a flickering of applications during startup. The result is that the raw application window can be seen for a fraction of a second during startup. This patch fixes the issue by blocking the painting until QEvent::WindowActivate has been received. Additionally the if-else-if cascading in MWindow::event() has been replaced by a switch-command.
2010-07-27Changes: MSliderView - clip the painting if the widgets' bounding rect if neededJohn Tapsell
RevBy: TrustMe
2010-07-27Changes: coverity fixes for: CID#1029, CID#1007, CID#991, CID#937, CID#936, ↵Anna Gadomska
CID#818, CID#805 RevBy: Dominik, pieces of code by MikeF & JohnT
2010-07-27Fixes: NB#181800 - View menu can be invoked during the navigation bar's ↵Jaroslaw Jaryszew
hiding animation. RevBy: Dominik Details: Added check for MSceneWindow::Disappearing state before opening app menu.
2010-07-26Changes: Delete MWidgetModel straight awayJohn Tapsell
RevBy: TrustMe
2010-07-26Fixes: Build break due to multiple includesSachin Kundu
RevBy: Myself
2010-07-26Fixes: NB#175847 - MPannableArea does not work inside an MApplicationPageMichal Guminiak
RevBy: Daniel D'Andrada Details: moving the pan gesture handler from glass to the pannable widget and recognizing pan gesture from scene mouse position (workaround for qt's bug). This enables broken use case of "pannable viewport inside pannable viewport" where both viewports were enabled.
2010-07-26Changes: remove compiler warning on gcc 4.2.1Juergen Bocklage-Ryannel
RevBy: Tomas Junnonen
2010-07-26Fixes: MB#4014 - prefix of pc files are statically set to /usrTomas Junnonen
By: Halton Huo RevBy: Tomas Junnonen Details: The configure script now substitutes the paths in the pc files according the specified prefix.
2010-07-26Changes: fix compilation problem with gcc 4.5Mike FABIAN
RevBy: John Tapsell, Miroslav Safr Details: Miroslav found that when compiling in MeeGo OBS the old code gave the error message: i18n/mlocale.cpp:744:1: error: 'QLocale::QLocale' names the constructor, not the type Because this system already has gcc 4.5.
2010-07-26Changes: use MLocale::CalendarType instead of const MCalendar& as parameter ↵Mike FABIAN
for MLocalePrivate::createDateFormat() RevBy: TrustMe Details: This private function actually does not need a full MCalendar, a calendar type is enough. Changing this makes it possible to make MLocale::icuFormatString() 40% faster because MLocale::icuFormatString() does not need to create a MCalendar object anymore just only to call MLocalePrivate::createDateFormat().
2010-07-26Changes: Improve MSceneWindow::appear() documentationDaniel d'Andrada
RevBy: TrustMe
2010-07-26Changes: fixing some typos in MSceneWindow documentationDaniel d'Andrada
RevBy: TrustMe
2010-07-26Changes: Fix button background updates.Dominik Kapusta
RevBy: Maciej Jabłoński Details: Call applyStyle() instead of refreshStyleMode() in MButtonView::_q_applyQueuedStyleModeChange().
2010-07-23Changes: rpm building for MeegoMiroslav Safr
RevBy: Details: 1. reset execute flag for mrichtextedit.h and mrichtexteditstyle.h 2. spec file: version number 3. spec file: mesa-libEGL-devel dependency because of arm packages confilct 4. added prf files and mmoc.pl 5. added imtoolbars 6. libmeegotouch-tests package added to Group: Development/Libraries
2010-07-23Changes: fix documentation, connectSettings() description had an errorMike FABIAN
RevBy: Jan Ölze Details: Changes in the gconf keys will change a MLocale if it has been connected by using connectSettings() but it will not make this locale the system default.
2010-07-23Changes: MGridItem is deprecated.Sergiy Dubovik
RevBy: TrustMe Details: Use MContentItem, MBasicListItem.
2010-07-23Fixes: NB#177010 - <MemLeak> mbuttongroup.cpp ,mwarpanimation.cppJanne Heikkilä
RevBy: Tomas Junnonen, Sergiy Dubovik
2010-07-23Changes: fixing coverity issues: CID#1030 and CID#1003Anna Gadomska
RevBy: Maciej Jablonski
2010-07-23Fixes: NB#180278 - MLabel: The color of the text does not change until the ↵duisymbio
text itself is changed. RevBy: Tomas Junnonen Details: Mark the label view as needing an update when the color changes.
2010-07-23Changes: Allow clicks through the drop shadow of the navigation partTomas Junnonen
RevBy: Sergiy Dubovik Details: Exlcuding the drop shadow from the shape of the widget allows the clicks to propagate through to the underlying page.
2010-07-22Revert "Changes: Refactored MDialogView"Sergiy Dubovik
This reverts commit a67c52170607aa1d45960ba2987ebdd2364c6ef1. Breaks mdialog.
2010-07-22Changes: Added missing header file from 1d7fe8c4bc03f625db3669651e1edeb10ca5aff0Tomas Junnonen
RevBy: TrustMe
2010-07-22Changes: Ensure pressed state of clickable widgets being visible.Dominik Kapusta
RevBy: Tomas Junnonen Details: Starts a timer when the widget's view enters Pressed style mode. Any style mode changes are queued until the timer times out. It helps to actually see the pressed button. Applied to MButtonView, MListItemView and MContentItemView.