Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/lxqt/libqtxdg

Qt implementation of freedesktop.org xdg specs
https://github.com/lxqt/libqtxdg

xdgiconloader: Implement QIconEnginePlugin interface

There was no way to serialize-deserialize QIcon to-from QDataStream,
because the `QDataStream &o...

44c2f3f57fb083332f519d05b1b3fd374c385c8a authored almost 8 years ago
Disables uninstall target

It conflicts with the one in qtermwidget when in superbuild mode.

c54aebc77d8cbae2f341cf7c9a055e15d4b72842 authored almost 8 years ago
Remove last uses of Java-style (non-mutable) iterators from QtBase

Change-Id: I7531ffd4f2d5b2193bb6231c743ff0a074618b99
Reviewed-by: Lars Knoll <[email protected]>
...

55a15dceba3b1c6acdbae286226465b8c017e824 authored almost 8 years ago
Adds a development qtxdg-iconfinder utility tool

Very hand to easily debug icon lookup.
It outputs:
* The name of the found icon. It may be d...

9170c4fcaedc19dac68a9759c26e0f7b932752ca authored almost 8 years ago
Enable strict iterators for debug builds

Reference: https://wiki.qt.io/Iterators

By default, it sometimes becomes possible to assign non...

38bd44407aeaab4d70c14f08427aa2c09dd4d7fc authored about 8 years ago
Removes extra semi-colons

Detected by [-Wextra-semi] and [-Wpedantic].

3ae960ecfdda4228c3dc50afd5b173b5f71a95c3 authored about 8 years ago
Improve build warnings

Port of the stuff from lxqt-build-tools.

f0c1ff42fd9b5cb9ff1465d93a09c05a6d701213 authored about 8 years ago
Merge branch 'xdgiconloader-maint'

* xdgiconloader-maint:
QtGui: eradicate Q_FOREACH loops [already const]
Optimize QIconLoader...

069de4b120153590093f73321bdc843efdd48b94 authored about 8 years ago
Bump year

b82b1cb0dd55d1e4a3b590361c0a3ba0821665ee authored about 8 years ago
Optimize QIconLoader::findIconHelper()

Profiling QIconLoader::findIconHelper() shows that a significant portion of CPU time is being sp...

44524bdb1060afd18903edd25afd12b69114363b authored about 8 years ago
QtGui: eradicate Q_FOREACH loops [already const]

(or trivially marked const) ... by replacing them
with C++11 range-for loops.

Change-Id: I3cce9...

8de459eeba886113eca6232a48b056149668b133 authored about 8 years ago
Merge pull request #113 from lxde/xdgiconloader-maint

Xdgiconloader maintenance.
Port of upstream qiconloader stuff.

139d8555d829cea34fd02a8b055b85e25d311f13 authored about 8 years ago
Remove unused variable in QIconLoader::findIconHelper()

Change-Id: Idac0b24631187063445ea5acfd078b2479359d52
Reviewed-by: Olivier Goffart (Woboq GmbH) <...

2889568e6df56fc007e740a8dc7f25ab06f5e51c authored about 8 years ago
Improve use of QHash to minimize double hashing

Avoid looking up by key twice in a row in various locations, but instead
using iterators and ind...

e48dcad524c3367541005f8295a80f801a01c460 authored about 8 years ago
QIconLoaderEngine: add missing Q_DECL_OVERRIDEs

Change-Id: I7671b05f2e3c218870dca04f3ed52c231dbe4a9d
Reviewed-by: Marc Mutz <[email protected]>...

0697c2f7daca1d4a9933ae3e675bf7d5819a9d17 authored about 8 years ago
Replace QLatin1Literal with QLatin1String

QLatin1Literal is just alias of QLatin1String for Qt4 compatibility.
So it's style cleanup patch...

ebfdabe23dffc42b1fcd285b0e0f00b22ffdadfb authored about 8 years ago
QIconCacheGtkReader: use QStringRef more

lookup() method now takes QStringRef arg.
Reduce allocations.

Change-Id: I556d01be5c5f268672121...

c62bedeb91e55900f974078c3806c582a2a21c2d authored about 8 years ago
Gui: use const (and const APIs) more

For CoW types, prefer const methods to avoid needless detach()ing.

Change-Id: I88d08d499e1be72c...

29ad8a03e1b92f280de93f2e06694e8b83ff86ad authored about 8 years ago
Adds Link Time Optimization

It also adds the --no-undefined linker flag.
This is a port of Hong Jen Yee (PCMan) work on LXQ...

2ddb112cf52a8d78a266d0dc52632599a7dfb3ce authored about 8 years ago
Replaces CMAKE_SOURCE_DIR by PROJECT_SOURCE_DIR

Rationale:
CMAKE_SOURCE_DIR is the directory which contains the top-level
CMakeLists.txt, i....

aa36020b372c07044ce03a8536c6f2db768af874 authored about 8 years ago
Refactors superbuild support

Use CMake policy NEW CMP0024 behavior.
Reference: https://cmake.org/cmake/help/v3.0/policy/CMP00...

dc2d834f6fbca09036d7ee6bf10b3c0191a89e1f authored about 8 years ago
Merge branch 'cmake-maint'

* cmake-maint:
Remove duplicate use of source header files
Use AUTOMOC everywhere
Stop usi...

3bd1c4797c906471a8ee4a8b958893c12c8fcf4f authored about 8 years ago
Remove duplicate use of source header files

28d8053453354555c024c303c2cee93453ffbfa5 authored about 8 years ago
Use AUTOMOC everywhere

16587a4c69e7e99b511fbe90f72d67667d60cfb2 authored about 8 years ago
Removes test project definition

We don't need it.

8f2de56d53fe2b1a6a6a093baa306fc46aedaae6 authored about 8 years ago
Stop using include_directories()

Using target_include_directories().

721875d692afa56ad7675bdc493f2346c83dbc78 authored about 8 years ago
Use CMAKE_INCLUDE_CURRENT_DIR

f58858a006ab8b20a712ba303ed34cce4530cac7 authored about 8 years ago
Simplify target_compile_definitions() and target_include_directories()

All in one place.

96998fe28263c577ec2d4dee10c7332fb59ab0da authored about 8 years ago
Adds PROJECT_NAME to the build Qt version message

8472e162f588525e1ee4e6e82c06006d24002aa5 authored about 8 years ago
qiconloader: Reuse Qt implementation

1. Use as much of the Qt QIconLoader implementation as possible (do not
just copy-paste all of t...

6cf385335e1af609ebc0e76d9c87c0bece6ebd79 authored about 8 years ago
XdgIconLoader: Fix FTBFS in super-build/in-tree builds

We were not copying the XdgIconLoader private installable headers.

654c129227da11b8896bd356953cd756dafb7186 authored over 8 years ago
Allow xdg-user-dirs in the realpath of $HOME.

On some systems /home is a symlink and $HOME points to the symlink.
This commit allows the xdg-us...

65a412fdf1def3569c77c576055d0a35d7dc8fd9 authored over 8 years ago
Merge branch 'required-versions'

* required-versions:
Updates version requirements in pkg-config (.pc) stuff
Make Qt5Xdg use ...

73e38d460b66f2617f801627761fab6adb65931d authored over 8 years ago
Adds minimum Qt version requirement (5.4.2)

It also drops the QUIET option. The REQUIRED option will make it be verbose
anyway.
Use a more t...

cff8a5a2efdb9b5b2ad3aac72e118010e611fc84 authored over 8 years ago
Updates version requirements in pkg-config (.pc) stuff

4f68af4c753b97443e483a7c463861ed7782c21b authored over 8 years ago
Make Qt5Xdg use only the same version Qt5XdgIconLoader

They are part of the same package. They are meant to be used together.

d46abe6c18849db39165e22599915de796b73d68 authored over 8 years ago
test: Fixes false positive in tst_xdgdesktopfile::testReadLocalized()

LC_MESSAGES is the first in the hierarchy. Using LANG can lead to false
positives.

c39a9a7ad2503ac00f0c012e606bec897a1f30e5 authored over 8 years ago
Remove cpack (#106)

* remove "building with cpack" from CMakeLists.txt - not used anymore

* Added very basic .git...

1ab6be06e2ea34fbc28ba5c220b2ec6514f27d74 authored over 8 years ago
Release 2.0.0: Add changelog

fc6b455a7ede30a4b3db73c2af06dfa44af585ea authored over 8 years ago
Bump version to 2.0.0

fce7ad11219abe8e5550bd60bfad8ea6a5a39125 authored over 8 years ago
Extend README.md

And adjust structure a little bit while at it.

c6cae3cdc7ca55c6b5d2a64760cfc25bc2004fdd authored over 8 years ago
Updates dependencies

Adds gtk-update-icon-cache to the optional runtime dependencies.

8dcc8ee45a368d381cb544593d46cae9b8a64c80 authored over 8 years ago
Merge branch 'backport'

* backport:
QIconLoader: Use the GTK+ icon caches
QIcon: add a hook in the engine so a non n...

8ca8099bb979c410a0a5fc4a0a3afec5e81b2259 authored over 8 years ago
Fixes QIcon::hasThemeIcon() behavior with our Icon Loader Engine

It was always returning true.
Closes lxde/libqtxdg#98.
Closes lxde/lxqt#1081.

43930e6db8e238c850f04a6443971b2a0f2ef64e authored over 8 years ago
Adds Qt5Svg explicitly to the required packages

It was an implicit dependency as XdgIconLoader always support svg icons.
Let's make it explicit.

8de514acd5d2f4c1a9518e5ca5e3bbc2f16712c9 authored over 8 years ago
QIconLoader: Use the GTK+ icon caches

Loading icons is quite slow because we need to stat many files in many directories.
That's why g...

81112762d6a74bd8188acf00d7a6469f5541e035 authored over 8 years ago
QIcon: add a hook in the engine so a non null QIconEngine can still be a null icon

Implement it in the QIconLoader

We have to change detach() because some code does:
icon = QIcon...

e146bdd1eb46b596a377dfd03f65f763412b91e8 authored over 8 years ago
QIconLoader: don't make QIconDirInfo::type a bit-field

It doesn't save any space, is not required for ABI compat
(because it's private API), generates ...

c63cd963da22d8afbfc0fab9c0eb4a67455d3aee authored over 8 years ago
Do not support static QIcon instances

There was an attempt to allow static instances of QIcon in
7727a4355876607a1a022ff54e2570dae883f...

3801ecd332e2d58b3810b445aa17cfe71f837392 authored over 8 years ago
Respect manual set icon themes.

Currently all icon resolving is passed thru to the platform icon engine,
even in the case where ...

8e013b8fb365654ae405a08c311949ca0deb6ac7 authored over 8 years ago
Remove <qhash.h> where it's not used

To avoid source-incompatibilites, wrap in QT_DEPRECATED_SINCE(5, 5)
in public headers.

Change-I...

e2011a34d309851135a075497daf99db823aa5c0 authored over 8 years ago
Make it more obvious that Q_WS_ is dead code, and should perhaps be ported

We still have a bunch of Q_WS_ ifdefs in our code, which are easy to
mistake for Q_OS_ ifdefs wh...

84b973a7803b27be47855fb5c3bbce22aec3dc4e authored over 8 years ago
XdgDesktopFileData: Explicitly initialize members (#91)

Explicitly initialize all members.

4fde773048ebd3a652cc7ead65109ac9ee5d7240 authored over 8 years ago
build: Create separate Qt5XdgIconLoader target

After separating the iconloader engine there were no mean how to
use the qt5xdgiconloader separa...

a8f82dff82b3dbada583a99a2ca9a4f28a55205a authored over 8 years ago
XdgDesktopFile: Adds tests

Test some (not all, yet) of it.

55804ce10876b5db15596fa7c079203eb7909851 authored over 8 years ago
xdgdesktopfile: Removes an not needed debug info

It adds no value (anymore).

e5720b6b32e72ae2d4958e79bcfce0e366b783b5 authored over 8 years ago
xdgdesktopfile: Removes double QLatin1String's contruction

One time is enough!

4c088272471997c564e5b7dee8d5146b892678ba authored over 8 years ago
Merge branch 'maint'

* maint:
XdgDesktopFileCache: Check if a file isValid() only when needed
XdgDesktopFile: Rew...

31e993c6d8406a665e4470045a3ec933e46cab0b authored over 8 years ago
XdgDesktopFileCache: Check new acquired objects before using it

If the allocation fails don't use the object.
If load() fails we destroy it and return a null po...

203a26f40df77c3c06ecb8344fb53564dfd064e4 authored over 8 years ago
XdgDesktopFile: Removes unneeded assignment

That assignment is never read.
When declaring the variable we assign it, although, we also not u...

5ce217afa02ffa0d059c84aba6e16653c0e0ce22 authored over 8 years ago
XdgDesktopFile: Add break to switch case

Although in this case they are not needed, they "confuse" static analyzers.

c64bff438e366db051bcd1e36feb531f940a739b authored over 8 years ago
XdgDesktopFile: Reworks XdgDesktopFileCache::getFile()

It adds null pointer protection and reuses code.
Returns nullptr if a file isn't found or isn't ...

4486064d8ba78344db886b7013cb017a8df12f64 authored over 8 years ago
XdgDesktopFileCache: Check if a file isValid() only when needed

XdgDesktopFileCache::getDefaultApp() always returns valid files.

1c10565a41980f366e074e0d6b65c5efc8c2975e authored over 8 years ago
qtxdg: Get the HOME environment variable just one time

Avoids unnecessary string conversions.

b84792872550554f9b0be836c11359133422b20e authored over 8 years ago
Merge branch 'strings'

* strings:
Replace the QString % operator by the + operator
No more implicit string conversi...

9896ec2310fb0343756484c559d4bb19300aa48f authored over 8 years ago
Replace the QString % operator by the + operator

Without performance penalty.

7c1c77f844c123c9eba90f509ea871b6cc90816c authored over 8 years ago
No more implicit string conversions

We now use compile definitions to enforce it.

96fe151bf08c7ee780939ba5ecbdb79a95c461dc authored over 8 years ago
Moves QT_USE_QSTRINGBUILDER to the compiler_settings CMake module

It can be used by Qt5Xdg and Qt5XdgIconLoader.

75d052f88a8efa52de19a8c895c22fdc5f5c453c authored over 8 years ago
XdgDesktopFileCache: Fixes an coding typing error

Very easy to do, but, hard to spot.

fee311814b15bdb38d82cd4f4f632388a73faaf0 authored over 8 years ago
xdgiconloader: Fix typo in directoryMatchesSize

2a3833659d437d322574cad41874994da05113e3 authored over 8 years ago
Xdgiconloader (#84)

* Puts Qt5Xdg library in it's own directory: qtxdg

All changes are the strictly minimum neede...

188c775ad83799e1cdfb709ee7a6fd6b71abb73f authored over 8 years ago
Improve foreach iteraror performance

We use const references where appropriate. Also made the container constant
when appropriate.

415bdd2be980be3146172fa04be538fdf198190c authored over 8 years ago
XdgDesktopFile: Improve the performance of the foreach loop

Benchmarking Qt applications indicates there is always a performance
penalty to using a foreach ...

61873dc2d4f8b6da24bab539f46f31905044a435 authored almost 9 years ago
XdgDesktopFile: Use XdgDirs::userDir(), drop QStandardPaths()

Eat our own dog food.

12040ae696c5f236c41cdfefebdb9ec9b427c0d6 authored almost 9 years ago
XdgDesktopFile: Standardize text strings scope

3990376922db8aa7ea65bbaea6edd3ba6fa05865 authored almost 9 years ago
XdgDesktopFile: Adds a Desktop File ID calculator method

It implements the desktop-file ID calculator.
Spec:
https://specifications.freedesktop.org/deskt...

aa78e6299a05d5cd92e75b0d4937df052fa281d4 authored almost 9 years ago
Merge pull request #80 from lxde/dbusactivatable-add-fallback

XdgDesktopFile: Adds Exec fallback when DBusActivatable fails

4fb63160b5469bc2cfc0fde801b10dedc979e185 authored almost 9 years ago
XdgDesktopFile: Document Exec fallback when DBusActivatable fails

We are deliberately violating the standard. The minimum we can do is to
document it properly.

29652fb317c797e62b3d8f916e51bec52cabdecf authored almost 9 years ago
Adds QT_USE_QSTRINGBUILDER to the compile definitions

This way '+' will automatically be performed as the QStringBuilder '%'
everywhere.

e3da5591cd5c33ae674a729d2987a1a1b1389517 authored almost 9 years ago
Adds the BUILD_DEV_UTILS to README.md

77465d947480ecf6f1db3b3731320a81fca37bcd authored almost 9 years ago
Merge branch 'user-dirs-defaults'

0fa31e8d7b6d129ab399657a1b3a3e77d237e517 authored almost 9 years ago
Makes the development utils build/install optional

Just use the CMake BUILD_DEV_UTILS option to control it. Defaults to OFF.

a3179f4633aa95b3bb34947971d5107a12d77ec8 authored almost 9 years ago
XdgDesktopFile: Adds Exec fallback when DBusActivatable fails

We fallback to use the Exec key when the DBusActivatable fails.
Closes lxde/lxqt#967.

b9af1d375db362493c6a024b4031efc1e5b4c62b authored almost 9 years ago
Adds an .desktop file start tester

It allows a developer to start an .desktop file from the command line.
Closes #63.

721caab0801806ea5b42f3389295e2c61e787461 authored almost 9 years ago
XdgDirs: Use Q_ASSERT to check for XdgDirs::userDirectory invalid values

The best time to find bugs is in development.

52d02a21e7f235d4cccc556d41e70501d9888856 authored almost 9 years ago
XdgDirs: Use XdgDirs::UserDirectory enum instead of int

It makes it more readable.

92409aba795b7e137afc8f73ef5e75e596901bf9 authored almost 9 years ago
XdgDirs: Makes XdgDirs::userDir use userDirectoryFallback()

Eat our own dog food and reuse code.

9742654fdd2fb91e47f1f3b5206beab3a49d6519 authored almost 9 years ago
XdgDirs: Adds userDirDefault() method.

Although XdgDirs::userDir() already returns the default values when the
the values in the config...

2586889d3bee2a6153a953dc4b340c9d6649da5c authored almost 9 years ago
Adds XdgDesktopFile::mimeTypes() member

A convenience, but handy, member.

2a2d8dece6ae6fdb76a0b428ddcdd8346c1a0ba7 authored almost 9 years ago
build: Enable C++11 usage

b85f5fd27d72b79c2de9c845c667fcc73216377d authored almost 9 years ago
iconloader: Fix actualSize() for non-themed icons

The actualSize() always returned {0,0} if:
- the scalable icon (.svg) was found in directory not...

18a4abfd48b388e05b9a72c61247e35a6fe1c0f8 authored almost 9 years ago
desktopfile: Change validity check

Based on Qt doc:
'Note: when dealing with remote objects, it is not always possible to
determine...

0a6620766e6709ea8d4da624c2ca5bdd854a2d86 authored almost 9 years ago
Added Digia-Qt-LGPL-Exception-1.1

c58edf3aba8b37afc7241792a5a1f102a0d052ab authored almost 9 years ago
Update years and Licenses

* There are no GPL2+ parts in the project
* qticonloader is licensed as LGPL with Digia-1.1 exc...

9cc9b0e6f600e9d87484934bd394416b14ab7840 authored almost 9 years ago
desktopfile: Check validity of DBus object path

Also generate warning messages about errors.

9a8545bdd7b7bf20bd52ac59fbde951213429824 authored almost 9 years ago
desktopfile: Don't invoke DBus call on invalid interface

88d4bafa865638b59778c9c7bf8b74229a4076cc authored almost 9 years ago
XdgUserDirs: Return a fallback when the path is empty

If the path to the folder is empty we return the default value.
It's what xdg-user-dirs also do.

24dfbba27ef01bf7015af1b5fec86934d95567fd authored almost 9 years ago
README.md: Fix grammatical error, adjust wording

8b6bba2ef9dbfd84b81b54fac101a93740d4db75 authored almost 9 years ago
Update and rename README to README.md

9c5c6480ef005d11f3bdca312dfbba6a219340fa authored almost 9 years ago
xdgdesktopfile: handle 'Path' entry for application's working directory

it is an optional enty of the specification [1]

http://standards.freedesktop.org/desktop-entry-...

f87f2089c4e99a54701022a6e956101145f7bd3e authored about 9 years ago