Skip to content

Sergio.martins 

clazy: Suppressing warnings

Monday, 25 April 2016
Clazy [1][2] just got support for suppressing warnings by reading a special comment in your code. The syntax is similar to what krazy has. Ignore the whole file: // clazy:skip Read More

New C++/Qt code checks in clazy static analyzer

Sunday, 15 November 2015
About two months ago I blogged about clazy, a Qt oriented static analyser. Since then it has moved to an official KDE repo http://anongit.kde.org/clazy, got an IRC channel (#kde-clazy @ freenode) and also many fun new checks. Read More

QRegExp + QStringLiteral = crash at exit

Thursday, 5 November 2015
If you're seeing crashes lately, and they look like: (gdb) bt #0 0x00007ffff6790913 in QString::~QString() () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5 #1 0x00007ffff680fd89 in QHashData::free_helper(void ()(QHashData::Node)) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5 #2 0x00007ffff6828e14 in (anonymous namespace)::Q_QGS_globalEngineCache::innerFunction()::Holder::~Holder() () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5 #3 0x00007ffff620fed8 in __run_exit_handlers () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 #4 0x00007ffff620ff25 in exit () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 #5 0x00007ffff61fa617 in __libc_start_main () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 #6 0x000000000040f5b9 in _start () and valgrind says something like: Address 0x21d41498 is not stack'd, malloc'd or (recently) free'd Read More

Simple Qt container optimization you should do on your code

Wednesday, 13 May 2015
Most of us know we shouldn't let our containers detach. QList, QVector, QString, etc. are implicitly shared. Copying them is cheap, but when we call a non const member function it will detach and trigger a deep copy. Read More

New TODO application that blocks distractions while you work

Sunday, 11 January 2015
TL;DR: flow is a sticky TODO manager with support for the pomodoro technique and blocks distractions (cat pictures too) while you're focusing on a task: git, AUR, Windows, OSX Read More

Memory usage improvements for 4.11

Thursday, 18 July 2013
The other day I went to buy a DDR stick but the shop was closed so the only solution was to sit down and fix some memory hungry applications ;). Read More

KDEPIM Git Resource

Wednesday, 15 February 2012
KDEPIM Git Resource You can now monitor any git repository with KMail. Commits will appear as e-mails in the message list. KMail configuration: Read More

Improvements in KOrganizer 4.7

Wednesday, 3 August 2011
You can now set a custom calendar icon and have it shown in each agenda/month view events. Before: Now: Makes the view much more pleasant to look at when you have dozens of events, and you don't have to memorize which colours belong to which calendars any more. Read More