Issue 241

24th June 2012 by KDE Commit-Digest Team

Contributors

Marta Rybczynska
Vladislav Blanton
Danny Allen

This Week...

Face detection condition plugin and vision library added to Simon. Improved lesson management in KTouch. ASCII source file access optimization in Kst. Better keyboard navigation in Kickoff. New templates and better project management in KDevelop. Enable threaded Python support in Kate Python plugins. System-wide monitor profile can be overridden by users in Calligra. Tabbed view available and cache added in conquirere. In Akonadi, support added for for Facebook posts and notifications collections. Plasma Media Center has redesigned home screen. The Telepathy Nepomuk service ported to Nepomuk2. GSoC work on KStars and Cantor. Bugs status: opened 354 and closed 897.

Statistics

Commits 2328 by 183 developers
Open Bugs 21895
Open Wishes 16921
Bugs Opened 354 in the last 7 days
Bugs Closed 897 in the last 7 days

Commit Summary

Module Commits
/trunk/l10n-kde4
264
 
/branches/stable
133
 
/trunk/l10n-support
35
 
/trunk/KDE
24
 
/trunk/www
22
 
/branches/work
15
 
/playground/pate
14
 
/language/codegen
13
 
/krita/ui
12
 
/src/oxygenstylewrapper.cpp
11
 
Files Developer Commits
225
 
Roman Paholík
75
 
144
 
Miha Čančula
51
 
144
 
Gilles Caulier
49
 
126
 
Allen Winter
42
 
105
 
Serdar Soytetir
35
 
90
 
Khoem Sokhem
30
 
87
 
David Faure
30
 
78
 
Harald Sitter
26
 
78
 
Yuri Chornoivan
26
 
72
 
Sebastian Gottfried
24
 

Internationalization (i18n) Status

Language Percentage Complete
Dutch (nl)
96%
 
Estonian (et)
96%
 
German (de)
95%
 
French (fr)
92%
 
Italian (it)
90%
 
Danish (da)
87%
 
Chinese Traditional (zh_TW)
85%
 
Catalan (ca)
85%
 
British English (en_GB)
82%
 
Greek (el)
81%
 

Bug Killers

Person Bugs Closed
Myriam Schweingruber
349
 
Janek Bevendorff
121
 
Jekyll Wu
41
 
Thomas Lübking
19
 
Thijs Heus
13
 
Andrea Diamantini
12
 
Gilles Caulier
11
 
Harald Sitter
10
 
Marco Martin
10
 
Christoph Feck
9
 

Commit Countries

Commit Demographics

Sex

Age

Contents

  Bug Fixes Features Optimization Security Other

Accessibility

  []    

Development Tools

[] []    

Educational

  [] []   

Graphics

[] []    

KDE Base

[] []    

KDE-PIM

  []    []

Office

[] [] []   []

Konqueror

     

Multimedia

[]     []

Networking Tools

[] []    []

User Interface

[] []    

Utilities

[] []    

Games

  []    

Other

     

There are 73 selections this week

Bug Fixes

Development Tools

Aleix Pol Gonzalez committed changes in [kdevplatform] /:

Improve annotation view

When we selected blame/annotations many times, it showed some wrong
elements in the menu if done many times.

Aleix Pol Gonzalez committed changes in [kdevelop] projectmanagers/cmake/cmakemanager.cpp:

Make sure the "modified" signals from the fs are received.

For some reason, KDirWatch was signaling the modified CMakeCache.txt
files as "created". Listen to that

Graphics

Albert Astals Cid committed changes in [okular] core/document.cpp:

Fix underflow in getFreeMemory()

It actually serves three purposes:
a) Make sure all the values are there (this should be always true, but doesn't hurt making sure) because if SwapFree was there but SwapTotal was not, it'd be a mess
b) add up things in order so we don't underflow, currently the code did process stuff as it came in the file, and it happens that SwapTotal appears before SwapFree in /proc/meminfo so it actually did "MemFree:" + "Buffers:" + "Cached:" - "SwapTotal:" + "SwapFree:", which can underflow if "MemFree:" + "Buffers:" + "Cached:" < "SwapTotal:"
c) Do not underflow at all, so if "MemFree:" + "Buffers:" + "Cached:" + "SwapFree:" < "SwapTotal:" we return 0 correctly not a zillion of free memory

Aurélien you might want to update gwenviews copy of this code (there's a few other bugfixes we did a while ago you didn't update either)

KDE Base

Viranch Mehta committed changes in [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui/BatteryIcon.qml:

Fix the popup battery icon when the battery charge
is below 10%


FIXED-IN:4.9

Lukáš Tinkl committed changes in [kdelibs/frameworks] /solid/src/solid:

Make sure we have valid values for powermanager, watch for
unregistration to reset values

(hand forward port of 05f1a19291af5c16745b76c3e0944c5b80ef5870 by Daniel
Nicoletti)

Marco Martin committed changes in [kdelibs/KDE/4.8] plasma/applet.cpp:

don't create handles when applet-in-applet

yet another reason why this shouldn't be done ever

Aaron J. Seigo committed changes in [kde-workspace] plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml:

set the status to passive when there is no device on startup


FIXED-IN: 4.9

Marco Martin committed changes in [kdeplasma-addons] /microblog:

ensure service existence


FIXED-IN:4.9

Kurt Hindenburg committed changes in [konsole] src/ProcessInfo.cpp:

Use readlink instead of QFileInfo to prevent non-responsive issues.

The current code using QFileInfo on the /proc/%pid/cwd and for some
situations, this may cause issues as QFileInfo hangs if unable to read that
file. The new code uses readlink which appears to work w/o issue.

The Solaris code needs fixed as well.

Anne-Marie Mahfouf committed changes in [kde-workspace] plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop:

Add BMP support for desktop image dropping

Thanks to rshah, patch to add BMP desktop background support


FIXED-IN: 4.9

Marco Martin committed changes in [kdelibs/KDE/4.8] plasma/applet.cpp:
Lukáš Tinkl committed changes in [kdelibs/frameworks] tier1/solid/src/solid/powermanagement.cpp:

correctly report power saving status

tested by dantti in apper

Marco Martin committed changes in [kde-workspace] plasma/desktop/shell/activitymanager/package/contents/ui/ActivityDelegate.qml:
Gregor Tätzner committed changes in [kde-workspace] plasma/generic/applets/icon/icon.cpp:

icon applet: Fix drag and drop of desktop files.

Use KFileItem instead of KDesktopFile to handle desktop files without
suffix.

REVIEW: 104764

Office

Jarosław Staniek committed changes in [predicate] /sqlite:

SQLite Driver: fixed crash when inserting incomplete rows

Fixed crash in prepared statement execution for inserting data when number of items to insert is smaller than expected; this case could be found when importing CSV data in Kexi with fewer columns specified than expected
*(2012-02-27 calligra master commit 1e9be96a9e)

Cyrille Berger Skott committed changes in [calligra] libs/flake/KoToolBase.cpp:

Fix crash in braindump startup

There is a point in time when braindump starts where it creates a canvas without a document, with the recent change in the connection tool this creates a crash when calling handleRadius.

Dag Andersen committed changes in [calligra] /:

Auto allocate selected resources to new tasks

This fixes Bug 286332 - Setting resource for new task is awkward

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9 Revision a20bdbb...
Jarosław Staniek committed changes in [predicate] /:

Query SQL generated in the Query Designer should be of PREDICATESQL type

*(2012-01-02 calligra master commit 1072a0f5d)

Dag Andersen committed changes in [calligra] /:

Fix printing issues

Add a Printing Options pane to the configure view dialog for all
views that support printing.
Update print dialog if number of pages changes. (when print options are changed)
Add print support for Accounts editor.
Do not create a painter on the printer (do not call painter()) as the
save()/restore() in the KoPrintingDialog class is strange.
Set page layout stuff for the reports. (There are issues with koreport here)

TODO: QPrintPreviewDialog freezes if more than one page is fed to it.

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (+ 19 more) Revision 841478e...
Martin Küttler committed changes in [cantor/gsoc2012] /:

Fixed several minor issues

- Pasting text with the middle mouse button works.
- After R expressions that evaluate to tables a new prompt is shown.
- Qalculate Syntax help works.

Diffs: 1, 2, 3, 4 Revision 90e0190...
Dag Andersen committed changes in [calligra] plan/libs/kernel/kptschedule.cpp:

Fix scheduling bug

If you have 3 (or more) tasks competing for same resource and
2 of the tasks end on same date the 3rd should start on the same date,
start time is not calculated correctly for the 3rd task.

Multimedia

Harald Sitter committed changes in [phonon-vlc] src/backend.cpp:

AudioDataOutput works fine with VLC 2.1 again (activate it in Backend)

If anyone has VLC 2.0.1 or better yet VLC 2.0 git, please feel free to
remove the #if and test if it works for you. It will probably be a while
until VLC 2.1 gets out, so if we get a 2.0 release that fixes the issue
it would be preferable.

Harald Sitter committed changes in [phonon-vlc] /:

work around vlc bug and provide seekability of streamreader directly

libvlc always reports seekability false when using imem, so we simply
switch the player's seekability interfaces with the readers

also for future reference: this can be tested by using simpleplayer
with a QFile as mediasource

Harald Sitter committed changes in [phonon-vlc] src/mediaobject.cpp:

Don't reset members all over the place

resetting too early leads to many abouttofinish signals which screws with
Amarok which likes to bind half it's playback bound features to that
particularly signal.

Hence only reset once we got a new call to PlayInternal at which point
we throw away the old media anyway, so we can be sure that this is the
last point anything from the old media might leak through.

Ralf Engels committed changes in [amarok] src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:

Try to fix 279966 crash when unplugging a device which is still scanned

>From the crash log I could see that the m_memColl is already set to 0
when the scanning job sends it's signal.

FIXED-IN: 2.6

Harald Sitter committed changes in [phonon-gstreamer] /:

fix muesli hating me for going to paused before stopped

gstreamer is a very funny thing in that it goes to paused before going to
stopped (Which is because gstreamer does not actually know stopped), to
prevent this we simply turn of statechange emission entirely while working
on endofstream (in which go to translated stopped) and emit but one
change to stopped

this only applies to non-gapless use cases

Harald Sitter committed changes in [phonon] /:

validate ticks properly

buffering is a concurrent state (unfortunately a bit mis-represented).
this essentially means that you can be playing and buffering or
paused and buffer, so to approximate perfect validation here we simply
store the previous state, if it was playing and we are now in buffering
the tick *may* still be valid (i.e. you concurrently play and buffer)

Ralf Engels committed changes in [amarok] src/core-impl/meta/file/File.cpp:

Don't supply EditCapabilities if FileTrack is not writable


FIXED-IN: 2.6

Sam Lade committed changes in [amarok] /:

mp3tunes: Fix memleaks and zero termination issue

Reported by cppcheck on Jenkins.
Bonus: Also fix an unused variable compiler warning.

Diffs: 1, 2, 3 Revision 258a024...
Christian Esken committed changes in [kmix/remotes/origin/KDE/4.9] /:

Backport to branch: Fix "plop sound" not configurable.

Martin Tobias Holmedahl Sandsmark committed changes in [phonon] phonon/mediaobject.cpp:

Check that we have a validator before attempting to use it.

Networking Tools

Rohan Garg committed changes in [ktp-call-ui] /private:

Respect phonon's settings for webcams

Now when a user prefers a webcam from the phonon KCM, the call ui
will respect this setting

REVIEWED BY: George Kiagiadakis

Diffs: 1, 2, 3 Revision af2c029...
Andrea Diamantini committed changes in [rekonq] src/webpage.cpp:

Just check first certificate dates and errors to state IT is valid

Lamarque Souza committed changes in [networkmanagement] libs/service/secretstorage.cpp:

Try to fix ask password dialog for WPA2 connections.

Andrea Diamantini committed changes in [rekonq] src/webpage.cpp:

Fix and improve save zoom feature, loading it on start

This seems to work also with problem described in bug #295446

User Interface

Hugo Pereira Da Costa committed changes in [oxygen-gtk/gtk3] src/oxygengtkutils.cpp:

do not call gdk_window_get_frame_extents on OFFSCREEN_WINDOWS, because underlying function is not implemented, which
results in crash.

Utilities

Aleix Pol Gonzalez committed changes in [muon/resources-kns] /:

Improve behaviour with KNSBackend

Use transactions when un/installing
Fix search

Michel Ludwig committed changes in [kile] /data:

Call all the ViewBib tools with the full path to the bibliography file.

This ensures that all the ViewBib tools find the bibliography file (reported problem
with KBibTeX).

Michel Ludwig committed changes in [kile] /:

Ensure that the current working directory isn't changed from within Kile

Otherwise, projects that are to be opened and which are given as relative path
arguments to Kile cannot be opened correctly.

Also, remove the warning about running sessions which originates from Konsole.

Features

Accessibility

Yash Shah committed changes in [simon/facedetection] /:

Added face detection condition plugin and simon vision library

A +35712 -0 haarcascade_frontalface_default.xml

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (+ 11 more) Revision df46cea...

Development Tools

Aleix Pol Gonzalez committed changes in [kdevelop] projectmanagers/cmake/cmakemanager.cpp:

Improve Build directory retrieval

Properly navigate the original tree structure

Miha Čančula committed changes in [kdevelop/file-templates] /:

Add some C++ specific templates to KDevelop

Diffs: 1, 2, 3, 4 Revision a65d062...

Educational

Andreas Cord-Landwehr committed changes in [rocs] /Tests:

Add initial unit test framework for script engine.

Test for comments and simple execution.

Diffs: 1, 2, 3, 4 Revision b45194c...
Sebastian Gottfried committed changes in [ktouch/next] /core:

core: provide infrastructure to store last selected course per profile

Attention: with this commit the profiles table got a new column.
Because this version of ktouch is still unreleased no database migration
step is provided. Either delete your profiles database
(~/.kde4/share/apps/ktouch/profiles.db) or adapt the table manually.

You may use the following SQL command:

ALTER TABLE profiles ADD COLUMN last_used_course_id TEXT;

Diffs: 1, 2, 3 Revision e0f88e8...
Sebastian Gottfried committed changes in [ktouch/next] /editor:

resource editor: implement lesson removal

Diffs: 1, 2, 3, 4 Revision e17022c...
Sebastian Gottfried committed changes in [ktouch/next] /editor:

resource editor: implement lesson reordering

With this commit the course editor component is now for the first time
fully functional an can be used for actual work.

Diffs: 1, 2, 3, 4 Revision e299bcf...
Rishab Arora committed changes in [kstars/gsoc2012-spacetime] /:

first attempt to load from DB

Diffs: 1, 2, 3, 4 Revision f67f7b1...
Samikshan Bairagya committed changes in [kstars/gsoc2012-samxan] /:

Use a better list of "Interesting" sky-objects. The list consists of
deep-sky objects, bright stars and constellations. A thank you to
Akarsh Simha for preparing this.

Diffs: 1, 2, 3 Revision 3b9f2f3...

Graphics

Marcel Wiesweg committed changes in [digikam] libs/threadimageio/previewtask.cpp:

Use libraw as a fallback for RAW preview loading in case exiv2 fails.
Some cleanups and code reuse in the code.

Marcus Meissner committed changes in [kamera] kioslave/kamera.cpp:

autodetect usb cameras

do not show autodetectable cameras if they are not detected

KDE Base

Marco Martin committed changes in [kde-workspace] /:

manage vertical wheel in horizontal lists

Gregor Tätzner committed changes in [kde-workspace] plasma/desktop/applets/kickoff/core/leavemodel.cpp:

kickoff: Don't display 'switch user' when it is not available.

Add switch user check to kickoff leave model
Thanks to Brian LaRochelle


REVIEW: 104879

Gregor Tätzner committed changes in [kde-workspace/kickoff-qml] /desktop/applets/kickoff/package/contents/ui:

kickoff: Refine keyboard navigation further.

Basically keyboard navigation is fixed now. Additionally you can
navigate in the applications view with arrow keys, too.

Diffs: 1, 2, 3, 4 Revision f8ba411...
Vishesh Handa committed changes in [nepomuk-core] /:

Allow synchronous execution of queries

This is done by returning a Nepomuk::Query::ResultIterator, and
allows the user to control the execution of the query with the
iterator.

This lets us move away from Soprano. Plus, this avoids
code duplication as this code is being duplicated in both the
query service and the kioslave.

REVIEW: 105287

Diffs: 1, 2, 3, 4, 5 Revision 0c9e5bc...
Hugo Pereira Da Costa committed changes in [kde-workspace] /oxygen:

Remove Alpha channel from detached toolbars.
Use Mask instead.
Render anti-aliased corners in the shadows passed to kwin.
This is similar to what is done for detached Dock Widgets.
Changed margins for detached toolbars; cleanup widget type detection in shadowHelper.

Shaheed Haque committed changes in [kate] /pate/src:

Enable threaded Python support.

The Pate code had commented out code for threaded Python support, but
this could not be turned on, or PyFinalize() called without causing
crashes.

These seem fundamentally to have been caused by the lack of a
consistent way to get and release the GIL. In order to overcome this,
the Py namespace was converted into a Python class, whose constructor
and destructor take care of the GIL. At the same time, making all the
utility functions members of this class means that the compiler tells
us where the class in needed in many cases.

In the remaining cases (i.e. bare calls to the Python C API),
inspection is used to add the requisite Python() object. To prevent
this object being optimised away in these cases due to lack of use,
all instances have the form of an assignment.

The code now has thread support enabled, and calls PyFinalize(). The
thread support has yet to be exercised.

Diffs: 1, 2, 3, 4, 5 Revision caa1539...
Martin Gräßlin committed changes in [kde-workspace] /:

Add activity support to Workspace Script Wrapper and Effects

New properties for the current activity and the available
activities plus related signals in scripts. Signals added to
effects.


FIXED-IN: 4.9.0

KDE-PIM

Martin Klapetek committed changes in [akonadi-facebook] /:

Add support to the resource for Facebook posts and notifications collections

Diffs: 1, 2, 3, 4, 5, 6, 7 Revision fc3cc5a...

Office

Jörg Ehrichs committed changes in [conquirere] /mainui:

Add tabbed view to the documents docklet

Now you can open Documents in a tab in the background.
To do so, right click the publication in the table view and select "open in tab"

You can move around and close the tabs again. If only 1 tab is left the tabbar will be hidden.
If you select a different document the connected resource will also be opene din the sidebar.
This allows to review several document at once, without searching them again in the table list

Diffs: 1, 2, 3, 4, 5, 6, 7, 8 Revision 006bce7...
Boudewijn Rempt committed changes in [calligra] /ui:

Allow users to override the system-wide monitor profile.

See http://ninedegreesbelow.com/photography/monitor-profile-calibrate-confuse.html

Diffs: 1, 2, 3, 4 Revision 057396d...
Stephane Mankowski committed changes in [skrooge/Feature] /:

bug: 302388: Gnucash import failes: Better error message in case of negative value for a currency

Diffs: 1, 2, 3 Revision 0fbc946...

Networking Tools

Andrea Diamantini committed changes in [rekonq] src/mainview.cpp:

Reopen the tabs lasting with "rekonq pages" (about urls, pdfs, etc..)

WARNING: Needs testing...

Lasath Fernando committed changes in [ktp-text-ui] /:

Make embedded image clickable

Sticks the img in an <a> tag. Ironically, this happened
so the alt text can be useful.

Andrea Diamantini committed changes in [rekonq] src/application.cpp:

Remember to restore all tabs (when needed) also with external arguments
calls (eg: open link with rekonq in konqueror)

WARNING: Needs testing

User Interface

Ruslan Kabatsayev committed changes in [oxygen-gtk] src/oxygenstylewrapper.cpp:

Fix spinbutton rendering for LibreOffice (take state into account)

Utilities

Daniel Nicoletti committed changes in [print-manager] /:

Add support for user and pass for Samba printers and improve the URI validation

Games

Wolfgang Rohdewald committed changes in /trunk/KDE/kdegames/kajongg/src:

if we lose connection to server, close all windows related to server

Optimization

Educational

Barth Netterfield committed changes in /branches/work/kst/portto4/kst/src/datasources/ascii:

Ascii source optimization:
Don't re-open and re-read the file for every field.

This is about a 10x speedup for wide files. Now all fields from files
with 10k + columns are easily readable (~3s on my laptop) in fixed with
per column mode.

It scales a little faster than n, but not as n^2.

Office

Jörg Ehrichs committed changes in [conquirere] /:

Add cache to speedup startup of the program

You can turn on the cache in the options.
After a restart the cache will be used to fill the tables with all data.

All changes made outside of Conquirere since the last restart will be updated slowly afterwards this might lead to some wrong visula data in the table view
but the correct data is still in the nepomuk database and will be shown if you select the resource in the sidebar.
The table view will be updated like before in the background without interrupting your workflow.

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (+ 2 more) Revision 59c310d...

Other

KDE-PIM

Vishesh Handa committed changes in [ktp-nepomuk-service] /:

Port to Nepomuk2

The Telepathy Nepomuk service now depends on NepomukCore.

Unfortunately Nepomuk2 does not ship with the rcgen. The Telepathy tests use the
rcgen, so I had to disable them. Again.

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (+ 1 more) Revision 4be1a06...

Office

Inge Wallin committed changes in [calligra/plugins-threedshape-ingwa] /staging/threedshape:

Make the scene object a KoShapeContainer.

This makes it possible to simplify the rest of the code a lot and is
the path I should have taken from the start. Well, better late than
never.

We're getting close to Milestone 2 now.

Diffs: 1, 2, 3, 4, 5 Revision 0642718...

Multimedia

Sinny Kumari committed changes in [plasma-mediacenter] /:

Redesign homescreen. Make video smaller when browser is shown.
Cosmetic changes to Media Browser.

Diffs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Revision 79391ff...

Networking Tools

David Edmundson committed changes in [ktp-kded-module] /:

Suppress any notifications relating to network issues if solid says the network is down.

Mission Control uses network manager to drop the connections, however it reports taking them down as "network failures" which we then present to the user.
REVIEW: 105270