Category Archives: Common

KDE Applications Versioning

A common problem for many applications contained in the KDE Applications releases are non-incremented version numbers. Often the maintainer forgets to update the version number of the application, like I did it for Kate since the first KF5 based release.

This means: On Bugzilla, I get bugreports that always tell me “Kate 5.0.0″, not very helpful.

KDE Frameworks solves this by automatic setting of the current framework release version in all framework CMakeLists.txt.

For KDE Applications, we have now optional the same concept. For details: visit https://community.kde.org/Applications/Versioning

In short: If you are to lazy to update your version number yourself or are just fine with using the same version number als the KDE Applications releases, you can add the following three lines to your toplevel CMakeLists.txt:

# KDE Application Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "15")
set (KDE_APPLICATIONS_VERSION_MINOR "04")
set (KDE_APPLICATIONS_VERSION_MICRO "0")

These variables will then be patched by the release scripts to the “right” version for the current release series.
You can than either just use the MICRO version to suffix your own applications version to differentiate the bugfix releases or like Kate construct your complete version number from the three vars and be done ;=)

I hope this helps to have more consistent and more important meaningful version numbers once again in the applications we bundle. Thanks to all people that made this “magic” happen ;=)

Kate’s Mascot: Kate the Woodpecker

After the first KF 5 release, I contacted the creator of the Krita mascot Kiki and the KF 5  dragons artwork, Tyson Tan, if he would be interested in design a Kate mascot, too. He immediately agreed to help out and after some months of roundtrips, here we go!

Kate has a mascot: Kate the Woodpecker

The short design summary (by Tyson Tan):

Why a woodpecker? I said I was going to draw a humming bird, but she turned out to look more like a woodpecker, and the sound a woodpecker makes knocking on a tree is coincidentally similar to the sound of keyboard strokes).

Kate is female because of her name. I thought about other names like Klicky and Katherine, but I would rather save them for other future KDE projects to pick up as their names.

Design elements:
“{}” on the chest, “/” of the feathers, and “*” in the eyes.
The wing feathers also resembles multiple document tabs.
Color scheme inspired by doxygen source code highlighting.

And how does the first version of the mascot look like? Here is the mandatory version 1.0 mascot picture:

Kate Mascot: Kate the Woodpecker

Tyson Tan allows that artwork to be  Creative Commons BY-SA and/or GPL and/or GFDL licensed and donates it to the KDE Kate project.

This is version 1.0, changes might be made and more variants are possible in the future.

Thanks to Tyson Tan for this contribution, he rocks (more of his artwork can be found on his homepage).  We will see the mascot soon a lot more on the Kate homepage and other Kate material.

This once more shows: the community shall never underestimate any non-code contributions. You designers, translators, documentation writers, …., that help us all out, you all rock!

Kate needs you!

The next major step in Kate’s evolution is close: Kate based on KDE Frameworks 5.

Whereas it already works well enough for me (and others), it would be nice to clear out as many issues as possible before we have our first official KF 5 based release.

Our Bugzilla is full with smaller and larger Kate/KTextEditor (aka KatePart) issues, see:

Whereas Kate/KTextEditor has people working on it and continue to improve it over time, we don’t have enough people to keep track and care for all our reported bugs/wishs.

Therefore, if you have a clue about Qt and if you use Kate or any application using our KTextEditor editing component, like KDevelop, Kile, …. => Think about helping us out.

Here is a nice guide how to build KF 5 stuff.

We are happy to review your patches, any help is welcome!

(And yes, shame on me, during Akademy I found patches older than one year hanging around on Bugzilla, now applied, and still some controversial ones are floating around.)

Even if you are no developer, reviewing bugs/wishs and killing off issues that got already solved or are not applicable would already be a great help!

Kate and KTextEditor 5 after Akademy 2014

The yearly KDE conference Akademy just ended, so it’s time to look at what changed in the holy Kate in the Frameworks 5 land.

KTextEditor Framework

  • silent reload of document: Switching a git branch, Kate always pops up a dialog asking whether to reload the document. With this patch, if the document is version controlled by git, the git hash of the file computed and then it’s checked whether the file exists in git. If so, the file is reloaded without asking you. This should be very handy for developers using git! Thanks to Sven Brauch for this idea!
  • new highlighting unit testing infrastructure
  • several new syntax highlighting files
  • cursor down in the last line in the document moves the cursor to the end of the line, same for the cursor up behavior, after just 8 years a bugzilla wish becomes true 😉
  • properly load/save the search & replace history
  • fix kateversion tags in all our >200 highlighting files, thanks to Martin Walch
  • as always: lots of improvements to the vi input mode

Kate Application

  • use native dialogs on all platforms, including OS X, Windows
  • split view: action to toggle splitter orientation
  • the toolbar is by default turned off (see screenshot), resulting in a very cleaned up interface. You can turn it on in the Settings menu.
  • new document switcher plugin (see screenshot) through Ctrl+Tab, providing quick access to the most recently used documents (similar to Alt+Tab in kwin), based on KDevelops code
  • improvements to the tab bar
  • revive, cleanup and improve the text snippet plugin by Sven Brauch
  • projects plugin: autoload project even if no .kateproject is found (configurable to not clash with the auto-generated cmake .kateproject file), implemented by Michal Humpula
  • the Plasma 5 applet to start a Kate session is back, thanks to the work of Josef Wenninger

Kate Document Switcher

A big thanks to the organizers of this year’s Akademy, and a big thanks to all our sponsors and supporting members. The location was amazing and the venue allowed us all to have a very productive week! Looking forward to next year! :-)