KDE Frameworks 5.83.0 released

2021-06-12 Thread David Faure
12th June 2021. KDE today announces the release of KDE Frameworks 5.83.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide
variety of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
https://kde.org/products/frameworks/


Baloo

  Embed JSON metadata in KIOSlaves
  Convert protocol files to JSON
  [balooctl] Allow clearing a document which has been deleted

BluezQt

  Add missing Qt5::DBus to qml plugin

Breeze Icons

  Added new KMyMoney icon again with some extra tweaks
  Add Goodvibes icon
  Add an icon for skanpage
  Tweaked the Rust mimetypes to better match the official branding (bug 434346)
  Made links relative
  Updated icons and added symlinks
  Separated icons to -left and -right

Extra CMake Modules

  Add LicenseRef-KDE-Accepted-GPL to license compatibility Matrix
  ecm_gperf_generate(): add option for target arg to add the gen. source to
  ecm_qt_declare_logging_category: catch alias targets before failing internally
  Add module to find libmount
  Drop FindFontConfig.cmake
  Make sure that dir path exists before attempting to copy file
  Attempt to find the Play store icon if it's not explicitly set
  Add address sanitizer for MSVC
  ecm_create_qm_loader: support target as alternative argument
  Don't pass through list rich text elements, Google Play can't handle those
  Fix doc build with Sphinx 4
  Use pkg_check_modules in FindTaglib.cmake
  Find PkgConfig quietly
  Handle text-less tags
  ECMAddAppIcon: support target as argument
  Fall back to English for missing translated elements
  ECMSetupVersion: phase out deprecated *_VERSION_STRING CMake variables
  Extend Android language mappings for translated metadata

KActivitiesStats

  Turns out the tier field was wrong, but not the subgroup

KArchive

  [KArchive] Use better wording for open error
  Use imported target for ZLib

KCalendarCore

  Allow sorting of todos by category (tag)
  Use UTC times when calculating the transition dates of standard and dst phases
  Remove conditional compilation for libical older than 3
  Fix Compat-libical3-eGroupware.ics

KCompletion

  Deprecate KLineEdit::passwordMode

KConfig

  kconfig_add_kcfg_files: catch alias targets before failing internally
  Don't write position data for maximized windows (bug 434116)

KConfigWidgets

  Deprecate KTipDatabase and KTipDialog
  [KHamburgerMenu] Ignore native menus
  Add KCommandBar - a hud-style dialog for quickly executing QActions

KContacts

  Allow setting email, phonenumber, impp from QML
  [addressee] Add property for photo
  Add properties to Picture

KCoreAddons

  kcoreaddons_add_plugin: make SOURCES argument optional
  KJob: if a delegate is already attached to a job, warn when setJob() is called
  Make KAboutData::productName accessible for KCrash
  Do not return duplicate plugins in KPluginLoader::findPlugins

KCrash

  Use target_sources() to add sources to targets
  write metadata to a cache file when applicable
  Pass Bugzilla product name to DrKonqi when explicitly set in the app
  init rlp struct and don't cast rlim_t to int

KDeclarative

  [KeySequenceItem] Display ampersands in shortcuts (bug 437718)

KFileMetaData

  [ExtractionResult] Remove automatic mimetype determination
  [ExternalWriter] Test property serialization
  [ExternalExtractor/Writer] Avoid unnecessary map value lookup from key
  [ExternalWriter] Fix infinite loop when serializing properties
  Avoid leaking a QObject in ExternalWriter
  [TaglibWriter] Fix memory leak when updating Cover images in ASF (WMA)

KGlobalAccel

  Revert "Prevent kglobalaccel5 getting activated on non-Plasma systems" (bug 
437034)

KDE GUI Addons

  Fix crash in keysequence recorder due to out of bound access

KI18n

  ki18n_wrap_ui: catch alias targets before failing internally

KIdleTime

  add std::chrono overload for addIdleTimeout

KImageFormats

  avif: Adjust for libavif breaking change
  Enable HEIC plugin to save all ICC profiles
  Color profile loading/saving fixes
  xcf: Make sure offsets are not negative
  xcf: Fix Stack-buffer-overflow WRITE on broken files

KIO

  New job: KTerminalLauncherJob
  Remove the cache KCM
  Remove the Browser Identification KCM
  Fix outdated URL for RAE Search Provider
  KOpenWithDialog: expand category on selection (bug 437885)
  Support wayland's xdg_activation_v1
  [kopenwithdialog] Show better error message when specifying a non-executable 
file (bug 437880)
  Updating caching logic for thumbnails, to detect encrypted devices (bug 
411919)
  Port ioslave template to use JSON metadata
  webshortcuts KCM: Remove unneeded rebuildKSycoca method call
  Remove ServiceTypes property from webshortcuts
  protocoltojson: Do not create empty array for ExtraNames value
  kio_file: remove pmount-related code
  Honor the port number when fetching favicons
  [KCoreDirLister] Guard uiDelegate(), it might be null (bug 437153)
  [src/widgets/kfileitemactions] Dont try 

Re: Looking for an SVGDOM / other SVG library for use with C++ and CMake.

2021-06-12 Thread David Hurka
On Saturday, June 12, 2021 3:27:47 PM CEST Milian Wolff wrote:
> Don't use QDomDocument, Qt XML is deprecated. Use QXmlStreamReader instead.

I still can’t find any indication that Qt XML is deprecated. Why do people 
believe that? It says:

> Note: Qt XML will no longer receive additional features. ...

But this is just a symptom of DOM. Elsewhere the documentation says:

> As SAX classes have been removed from Qt XML, QDomDocument has been
> re-implemented using QXmlStreamReader. This causes a few behavioral changes:
> 
> [list of changes]
> 
> If you use QDomDocument and rely on any of these, you must update your
> code and XML documents accordingly.

If Qt XML really becomes deprecated one day, I can just use another DOM 
implementation without changing my algorithms. :)

So, as long as my code is not finished and shows performance problems, I will 
use QDomDocument.

---

> Alternatively, why not write a simple script for this using Python e.g.? You
> could even use XSLT for this purpose. I don't quite see what you need C++
> for here, personally.

My project is written in C++, and needs to interface this functionality. So, a 
library with a C++ interface would be convenient.

Transforming the SVG file with XSLT to a list of text occurences sounds like a 
good idea.

Cheers, David




Re: Looking for an SVGDOM / other SVG library for use with C++ and CMake.

2021-06-12 Thread Milian Wolff
On Donnerstag, 10. Juni 2021 23:45:20 CEST David Hurka wrote:
> Yes, I am about to write a minimal SVG parser with QDomDocument. The result
> is probably very little code. I would just like to outsource this task to
> someone who already implemented and tested it. :)

Don't use QDomDocument, Qt XML is deprecated. Use QXmlStreamReader instead.

> breeze-icon-cleaner splits one SVG drawing into multiple icon files, where
> the file names are passed as command line option. I think it would be more
> convenient to define the file names directly in the SVG drawing.
> 
> So I am looking for a library that gives me access to text elements in an
> SVG
> file. It should be usable from C++ and with CMake.

This sounds like a trivial 1to1 filter operation that just adds an attribute 
at a certain point. Doing that with QXmlStreamReader / Writer should be pretty 
straight forward.

Alternatively, why not write a simple script for this using Python e.g.? You 
could even use XSLT for this purpose. I don't quite see what you need C++ for 
here, personally.

Cheers
-- 
Milian Wolff
m...@milianw.de
http://milianw.de

signature.asc
Description: This is a digitally signed message part.


how to request new categories on store.kde.org

2021-06-12 Thread Alexander Semke
Hi,

we need to register new categories for Cantor on store.kde.org and I created a
task for this on phabricator a couple of days ago:
https://phabricator.kde.org/T14532

I'm not sure about the process for this, though. Is a phabricator task for
'KDE Store' still the proper process to request new categories?

Thanks and Cheers,
Alexander