Issue 216
1st January 2012 by KDE Commit-Digest TeamContributors
Jaka Kranjc
Danny Allen
Mutlu Inek
This Week...
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 74 selections this week
Bug Fixes
Development Tools
output exit code when debugee exits with a exit code != 0
automatically expand watches after adding a watch
gdb process selection: remember state of dialog
Use --porcelain mode for parsing git status, which was introduced by a (more or less) recent git version. This should be a stable interface now.
As we can easily get ignored files this way, the map now contains all but the NormalVersion stated files.
FIXED-IN: 4.8
Educational
Do not unload plugins in PluginManager dtor.
According to qt documentation this is not needed. Not unloading plugins
avoids timing issues at destruction time: Plugin related instances can
be deleted after the deletion of MarbleModel now. Previously
MarbleModel deleted the PluginManager, which unloaded the plugins and
then created dangling pointers for plugin related instances not cleaned
up at that time.
Should be backported to the KDE/4.8 branch after testing.
(cherry picked from commit 4a1af05a822894d77bacac0932df6d38e74bcc10)
Update moon landing sites.
GCI task by Gábor Péterffy (melange key: 7236202)
REVIEW: 103463
M +- -- data/placemarks/moonlandingsites.cache
Do not unload plugins in PluginManager dtor.
According to qt documentation this is not needed. Not unloading plugins
avoids timing issues at destruction time: Plugin related instances can
be deleted after the deletion of MarbleModel now. Previously
MarbleModel deleted the PluginManager, which unloaded the plugins and
then created dangling pointers for plugin related instances not cleaned
up at that time.
Should be backported to the KDE/4.8 branch after testing.
Graphics
Double clicking the view toggle fullscreen
KDE Base
Revert "show/hide pager when there is many/1 desktops"
Fixes bug where setting VD's == 1 results in an invisible, still there,
still taking up space applet with no ability to get to applet settings
or even remove it.
Only way to get it back would be going into Virtual Desktop kcm and
upping the count.
The behavior with that commit ends up creating what seems like a bug.
I'm sure it sounded good in theory, but in practice it ends up being
confusing and bug-like.
This reverts commit c92ccc4dd37ce6d2c1e53f146c1acfb432472f78.
Append "-viewmode" to the view mode actions added to the action collection in
order to avoid overwritting an existing action with the same name, e.g. konsolepart.
FIXED-IN: 4.8.0
REVIEW: 103590
KCM Locale: Fix date code conversion for common stems
Fix the KCM so that it checks for the longest date/time codes first when
converting between user visible codes and the real codes. This si
especially a problem in languages like German.
Distro's may want to backport to 4.7 and 4.6
FIXED-IN: 4.8.0
Fix issue that dragging pictures/videos to Google-Search/YouTube fails
FIXED-IN: 4.8.0
Fix inconsistency in selection manager
When a selection has been done with non-linear ranges, it was possible that
the anchor item pointed to an invalid index that resulted into an invalid
selection.
As part of this fix the sorting for DolphinView::selectedItems() has been
disabled (if the caller assumes a sorted selection he must manually adjust it).
FIXED-IN: 4.8.0
Make sure only the filename is shown in edit box of the properties dialog.
FIXED-IN: 4.8.0
REVIEW: 103594
Since QWebFrame::url() always returns an empty URL for child frames, use
QWebFrame::baseUrl() instead.
Fix keyboard issues when groups are enabled
When groups are enabled in Dolphin the key-up and key-down keys did not behave
consistent in comparison to traditional views or like done in editors.
Pressing 'Enter' should close the popup menu after selecting item
This fix is not that elegant, but currently I can't figure out a better
way. From a pragmatic perspective, it is better to fix it now in a ugly
way than waiting for the elegant solution. It has been broken for one
year :(
FIXED-IN:4.8.0
Use KIconLoader::Small for tooltip thumbnails as well.
It's possible ::Small should not be used for the tooltips of the pager,
perhaps ::Panel or ::Toolbar, etc. etc.?
This should present no change to anyone, since the defaults for ::Small
is 16x16 anyways.
FIXED-IN: 4.8
Since QWebFrame::url() always returns an empty URL for child frames, use
QWebFrame::baseUrl() instead.
Make sure only the filename is shown in edit box of the properties dialog.
FIXED-IN: 4.8.0
REVIEW: 103594
Re-establishes connection with networkstatus module when kded restarts.
The OrgKdeSolidNetworkingClientInterface object becomes invalid when
kded exits and should be recreated on every kded restart.
crash fix on windows
transform() is called recursive, which sets xsltprocExternalEntityLoader()
as default external entity handler. The default handler is called in
xsltprocExternalEntityLoader(), which calls itself until kioslave crashes
on stack overflow.
The bug is fixed by only setting the default handler on the first call.
Prefer KIconLoader::Small icon sizes for window thumbnails when possible
This makes the pager actually abide by the system settings designated
Small icon size. So increasing it to e.g. 42x42 would make the window
icons in the pager use that size.
It's set to use the width/height (whichever is smallest), and the
KIconLoader::Small. Whichever value is smaller.
Was previously hardcoded to 16x16. Should be a safe change, going to
backport.
Make kfmclient use BrowserApplication for local html files too.
NOTE: This fix requires commit c230e107 in kdelibs.
FIXED-IN: 4.8.0
REVIEW: 103524
(cherry picked from commit b7a55b94873a8731a8381f8642d60db7306503fb)
Make the global shortcuts of Klipper work as expected
The old code just does not work. The influenced global shortcuts always
reset to 'None' after klipper restart, and users can't even set it to
its default value.
FIXED-IN:4.8.0
KDE-PIM
Fix the problme of global shortcuts getting reset to 'None' on restart
REVIEW:103531
FIXED-IN:4.8.0
in ~EntityTreeModel(), don't crash deleting all the Nodes
in the childEntities lists. Will this still fix the crash
for those using Qt4.8? I hope people will test that for me.
MERGE: 4.8
Office
Only show the GHNS upload button if the attica version is high enough
Attica is buggy prior to 3.0 (a.k.a. 2.9) because of bug 281850. This
caused Krita bug 285441, where upload would fail sometimes because of
missing content-id. There's nothing we can do to fix that from within
Krita, so only show the upload button if the version of attica is new
enough. The download button is always enabled.
Made KisOpenGLImageTextures::updateCache do not access any UI data
Fix artefacts when upscaling
o overflow in arithemthics caused opaque
pixels, might fix crashes for scaling for MSVC compiler
o removed alias variable
o fix coding style: add braces to single-line if conditions
o add asserts to catch overflows
fix hiding of filter preview
libmsooxml: updated processing of the graphicFrame element.
* The graphicFrame/graphic/graphicData element MAY contain a
group of graphic objects, which requires a draw:g element
instead of draw:frame as the containing frame.
* Updated docx/xlsx/pptx filter.
TODO:
docx/pptx: The tranformation and coordinates of child
custom-shape elements in the containing frame are wrong.
Seems we don't respect the group coordinates.
xlsx: A filter specific graphic style for the containing element
is required.
Fix shaking of the experiment/shape brush
The problem was float coordinates and rounding.
fixed memory leak
Fixed two bugs related to image box form widget appearance
Forms
*Fixed bug: Image box does not store image pasted to it in design time
*Fixed bug: Changing Horizontal Alignment in image box has no effect
unless user resizes it or reopens the form
Make the global selection a mask on the rootlayer
This way, the selection will be cropped, resized etc. together with
the other nodes. It will also make it possible in the future to use the
paint/fill/gradient/filter tools on the selection.
Multimedia
Fix broken Enum controls in ALSA Backend: A "penum" will now get a different ID as a "cenum", so a selem's with both won't interfere. (Adding patch also to 4.8, as it is already fixed in trunk, 4.7 and 4.6 - thanks for the notification, A Rojas).
Fix infinite loop leading to 100% CPU usage (on reconstruction a newly connected signal would be implicitely emitted ("again"), which leads to reconstruction and newly connecting the signal, and so forth).
Fixed in trunk. This MUST be committed to all affected branches!!!
CC
Networking Tools
Uses KSaveFile to avoid losing the transfer state when KGet crashes during
saving.
Check not existance of the extant
Features
Development Tools
show error message explaining that gdb crashed
this should help getting better bug reports and people knowing it's not our fault
that the debug session ended
refactored import processing to a signal/slot based approach
There is also an additional try to implement threading support, which
do not work because there are runtime errors reporting that objects
derived from QObject could not be called in a different thread.
No idea how to solve.
Parse output of "git pull". Show individual messages for up-to-date repository and merge conflicts.
FIXED-IN:4.9
Educational
Geonames weather service.
GCI task by Valery Kharitonov
REVIEW: 103534
Favorite weather stations
GCI task by Valery Kharitonov (melange key: 7154206)
REVIEW: 103444
Generic "mark favorite" option (to be implemented plugin specific).
GCI task by Valery Kharitonov (melange id 7246245)
REVIEW: 103582
Settings dialog for Marble's measure tool plugin
GCI task by Valery Kharitonov
REVIEW: 103372
Replace the Measure Tool with the Measure Tool plugin.
GCI task by Mike Henning.
REVIEW: 103262
Settings dialog for OpenDesktop plugin
GCI task by Valery Kharitonov
REVIEW: 103229
Graphics
Enable Color Channels histogram type in Levels tool
This patch enables the "Color Channels" histogram type in the Levels
tool. It is helpful when adjusting luminosity to observe if any of the
color channels clip, which leads to false highlight colors.
The patch also implements a second function:
if Color Channels is selected, Black and White tone pickers work on all
of the color channels simultaneously instead of having to iterate over
R, G and B. It is very helpful for removing the color mask of a scanned
film negative.
Apply patch by Menopia to fix wishlist bug 283416.
Sort the list of supported MIME-types by alphabet.
KDE Base
Change the KDE3 color schemas to KDE4 colorschemes format.
Convert the 3 KDE4 color schemas files to the KDE4 colorscheme file
name and file format. The format conversion was done inside the
Konsole color scheme editor.
They are not installed yet - there still needs a plan on how to
move people off the old format.
add dbus debug "activeEffects"
REVIEW: 103572
Re-establishes connection with networkstatus module when kded restarts.
The OrgKdeSolidNetworkingClientInterface object becomes invalid when
kded exits and should be recreated on every kded restart.
Support the %i and %c filed codes in the Exec key of .desktop file
The code is not ideal. But it works in practice.
FIXED-IN:4.8.0
Initial commit for hdd activity plasmoid.
It's going to be showing HDD throughput like the CPU and Net graphs. The
current hdd widget only displays disk *usage*, not activity/throughput.
KDE-PIM
Add basic replay cache
This will store and replay changes that were missed in
cases not caught by standard means. The base is to lure
Akonadi into thinking that the changes succeeded while
nothing can guarantee this.
Office
Initial work to get data-style formatting also working for MSOffice 2000/2003 documents.
Multimedia
Freesound.org integration (in progress)
You can now easily search and import audio clips
Introduce MLT clip analysis, can now be used for getting auto normalize data in sox gain effect
Freesound: save audio file url in clip comment (for attribution)
Networking Tools
Support drag and drop file transfer
Now one can drop a file (or more) on a contact to start the file
transfer.
Additionally all drag and drop related code moved from the model to
here.
REVIEW: 103520
New fancy shiny AddAccount dialog.
Tells you if a major telepathy connection manager is missing. (haze/gabble)
REVIEW: 103562
Reviewed-by: David Edmundson
Reviewed-by: Martin Klapetek
User Interface
Started basic support for connman
Utilities
Add live preview support for projects that use subdirectories
The same subdirectory structure has to be recreated in the temporary directory.
However, this only works if every project item occurs below the project's base
directory.
Merge Archive and ArchiveBase.
This commit only puts the ArchiveBase code into the Archive class
itself, including headers where needed. Further changes will come in
separate commits.
Digging through the history of these files is a bit difficult due to the
renames and the partial rewrite in the `libarchive-based-ark' work
branch.
This is what I was able to recover:
* A long time ago (since Ark was added to KDE's CVS repository), there
was arch.h, which provided a class named Arch. It was a virtual base
class, and plugins were implemented by subclassing it and
implementing its methods (such as open(), addFile() etc).
archiveinterface.h and archivebase.h did not exist.
* During the libarchive-based-ark rewrite, henrique committed a429011
(svn r676929) added archiveinterface.{cpp,h}. There was no
archivebase.h yet. The commit message only said "Cleanups".
* Later during the libarchive-based-ark work, henrique committed
10d49b6 (svn r686058), which created archivebase.{cpp,h} out of the
LibArchiveHandler class in the libarchive plugin and added a
ReadOnlyArchiveInterface pointer as a data member. ArchiveBase
inherited and implemented the interface defined in Arch.
* Still in the libarchive-based-ark branch, henrique committed 13980c2
(svn r690340), which removed arch.{cpp,h} and created
archive.{h,cpp}. Archive was also a pure virtual class, but was much
smaller and did not even inherit from QObject.
So even though plugins started inheriting from ReadOnlyArchiveInterface
as early as a429011, the Archive/ArchiveBase division persisted up to
now.
Since Archive is only inherited by ArchiveBase and the latter is not
inherited anywhere, the mental class diagram of Kerffuffle can be
simplified by merging both. The few unit tests we have still pass after
this change.
Games
Add BoardEditor menu item.
Add a menu item - Game->Board Editor - for opening the board editor again.
GUI
Optimization
Graphics
Make "check all" / "clear" 100 times faster
I actually wanted to implement this with a model-view based concept, but this solution is much easier to implement.
Just collapse all tree items, check them, and expand all items again. Checking all makernotes items took 30 seconds on my machine, now it is done in less than a second.
Office
Made loading text-files double as fast.
We are using the Word's API direct now rather then generating ODT.
The previous way, output to ODT, can still be enabled with a compile-switch for demonstration to show how to write filters.
With my 40k lines test-file the time for loading+layouting went down from ~8 seconds to ~4 seconds.
Networking Tools
Optimizes the visual input handling:
The timer restarts now and takes longer to timeout, thus there will be
less flickering when entering addresses manually.
Other
Development Tools
New KIO example
Simple FTP browser that lists the content of KDE's main FTP server.
Networking Tools
First wave of usability changes in the GUI.