Review Request 116087: remove usage of strlcpy

Alex Merry alex.merry at kde.org
Sun Mar 16 16:28:32 UTC 2014



> On March 16, 2014, 9:12 a.m., David Faure wrote:
> > src/kcrash.cpp, line 56
> > <https://git.reviewboard.kde.org/r/116087/diff/3/?file=254139#file254139line56>
> >
> >     I just realized that this requires qpa-private headers, which is a problem (breaks compat when upgrading Qt, too). See k-f-d thread "kguiaddons uses qpa headers?".
> >     
> >     We could add a QX11Info::startupId() instead?
> >     
> >     Makes me wonder how startup notification is supposed to work on wayland though - and whether I should resurrect the idea of a DBus-based startup notification at the upcoming freedesktop meeting.

Kevin Krammer queried just how private the private headers really are in that thread...

WRT the D-Bus startup notification, I'm greatly in favour.  I think Martin Gräßlin is as well, from previous email/reviewboard threads.


- Alex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116087/#review53028
-----------------------------------------------------------


On March 15, 2014, 3:31 p.m., Alexander Richardson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116087/
> -----------------------------------------------------------
> 
> (Updated March 15, 2014, 3:31 p.m.)
> 
> 
> Review request for KDE Frameworks and David Faure.
> 
> 
> Repository: kcrash
> 
> 
> Description
> -------
> 
> remove usage of strlcpy
> 
> We can get the startupId from the QPlatformNativeInterface.
> Additionally this means we no longer need to link to KWindowSystem.
> 
> REVIEW: 116087
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt d19b97f98e057d5537cf0eb6a8e1997d2a24cb1e 
>   KF5CrashConfig.cmake.in dcde84376e7ea69e53a26dc2bcba8137ee28a2a4 
>   CMakeLists.txt b9a6f441abed3c88bf428869c30ef5aebd72fc74 
>   src/strlcpy-fake.c 9b2dc68c466908d11370ba0c4bbe8d315962da5d 
>   src/kcrash.cpp 6c41022206130f186d52ddbb77afd58c429f368f 
>   src/config-strlcpy.h.cmake 5d9163d7a60d89b9792afcdf498af6425a9038a8 
> 
> Diff: https://git.reviewboard.kde.org/r/116087/diff/
> 
> 
> Testing
> -------
> 
> Compiles
> 
> 
> Thanks,
> 
> Alexander Richardson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140316/755315d6/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list