aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
Commit message (Collapse)AuthorAgeFilesLines
* ayatanamenumodel: add support for {u,}int of all sizespersonal/peat-psuwit/uint16Ratchanan Srirattanamet2023-07-111-1/+21
| | | | | | | | To support more menu type, add support for all integer sizes and signedness. In particular this enables support for org.ayatana. indicator.level and org.ayatana.indicator.progress (need uint16). Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-bluetooth/-/issues/3
* Fix all build warningsRobert Tari2022-02-014-22/+26
|
* Fix build warning regarding qcharDalton Durst2022-02-011-1/+1
| | | | | | | The warning was: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘const QChar*’
* libqmenumodel/src/CMakeLists.txt: Bump the SOVERSION of libqmenumodelRobert Tari2021-11-181-2/+2
|
* libqmenumodel/src/qmenumodel.pc.in: Use @PROJECT_VERSION@ for Version: field.Mike Gabriel2021-11-181-1/+1
|
* Rename Unity* symbolsRobert Tari2021-11-179-219/+219
|
* Rename unity* source filesRobert Tari2021-11-179-27/+27
|
* Rename com.ubuntu.menuRobert Tari2021-11-153-6/+6
|
* Move glib includes outside of extern "C"Luca Weiss2021-05-178-16/+0
| | | | | | | | | | | | | | | | Recent glib versions throw this error otherwise: In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /home/pmos/build/src/qmenumodel-0.8.0/libqmenumodel/src/converter.cpp:22: /usr/include/c++/10.2.1/type_traits:56:3: error: template with C linkage 56 | template<typename _Tp, _Tp __v> | ^~~~~~~~ /home/pmos/build/src/qmenumodel-0.8.0/libqmenumodel/src/converter.cpp:21:1: note: 'extern "C"' linkage started here 21 | extern "C" { | ^~~~~~~~~~
* Support ayatana typeMarius Gripsgard2020-08-151-1/+7
| | | | | | This adds support for x-ayatana-type but keeps the old x-canonical-type in case we have mixed type (as the case with ubuntu touch where we have indicators that are yet to be moved to ayatana)
* Add missing headerLuca Weiss2020-05-181-0/+1
| | | | | | | | | | | | | Resolves the following build-time warning: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_register_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:147:7: warning: implicit declaration of function ‘gtk_action_observable_register_observer’ [-Wimplicit-function-declaration] 147 | gtk_action_observable_register_observer (self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_unregister_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:156:5: warning: implicit declaration of function ‘gtk_action_observable_unregister_observer’ [-Wimplicit-function-declaration] 156 | gtk_action_observable_unregister_observer(self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)Ivan Semkin2018-06-201-2/+2
|
* Add a return trueAlbert Astals Cid2017-04-031-0/+1
| | | | Noone seems to be actually using the returned bool, but it's always nice to have a return
* Use submenu-enabled for those items that don't have an action (if it exists) ↵Albert Astals Cid2017-03-161-1/+11
|\ | | | | | | | | | | (LP: #1670694) Approved by: Lukáš Tinkl
| * Use submenu-enabled for those items that don't have an action (if it exists)Albert Astals Cid2017-03-081-1/+11
| |
* | Add UnityMenuModel::aboutToShow ((LP: 1664578)Bileto Bot2017-03-162-2/+44
|\ \
| * | 0 -> G_MAXINT as found by CharlesAlbert Astals Cid2017-03-161-1/+1
| | |
| * | Review improvementsAlbert Astals Cid2017-03-161-2/+2
| |/
| * Call about to show for those items that have a qtubuntu-tag propertyAlbert Astals Cid2017-03-062-2/+44
| |
* | Fix c&p, this ref should be unrefAlbert Astals Cid2017-03-161-1/+1
| |
* | valignAlbert Astals Cid2017-02-281-1/+1
| |
* | Batch add and removes into the modelAlbert Astals Cid2017-02-285-44/+84
|/
* merged with trunkNick Dedekind2016-12-098-75/+194
|\
| * converter: properly set the QByteArray using ctor, or it will be created twiceMarco Trevisan (Treviño)2016-10-261-4/+1
| |
| * converter: return a variant when the schema is a variantMarco Trevisan (Treviño)2016-10-251-1/+1
| |
| * converter: free schema type on destructionMarco Trevisan (Treviño)2016-10-251-2/+4
| |
| * converter: free the strv containerMarco Trevisan (Treviño)2016-10-251-0/+1
| |
| * Merged variant-string-parser into converter-improvements.Marco Trevisan (Treviño)2016-10-251-2/+6
| |\
| | * UnityMenuModel: avoid copy on assignmentMarco Trevisan (Treviño)2016-10-251-1/+1
| | |
| | * UnityMenuModel: use conversion with gschema in unity actionsMarco Trevisan (Treviño)2016-10-251-1/+5
| | |
| * | converter: use qUtf8Printable functionLukáš Tinkl2016-10-251-5/+5
| | |
| * | Converter: add support to String ArraysMarco Trevisan (Treviño)2016-10-251-2/+21
| | |
| * | Merging with lp:~3v1n0/qmenumodel/variant-string-parserMarco Trevisan (Treviño)2016-10-251-1/+0
| |\|
| | * remove deprecated g_type_init() callsMarco Trevisan (Treviño)2016-10-221-1/+0
| | |
| * | converter: stop looking if w'eve no entryTypeMarco Trevisan (Treviño)2016-10-181-0/+2
| | |
| * | Converter: use builders and c++ facilities for schema conversionsMarco Trevisan (Treviño)2016-10-181-38/+22
| | |
| * | Converter: use some c++11 facilities for listsMarco Trevisan (Treviño)2016-10-181-13/+12
| | |
| * | Converter: use QMetaType to check integer subtypesMarco Trevisan (Treviño)2016-10-181-20/+16
| | |
| * | Converter: add support for ByteArrayListMarco Trevisan (Treviño)2016-10-181-1/+21
| | |
| * | Converter: add bytestring supportMarco Trevisan (Treviño)2016-10-181-1/+5
| |/
| * QStateAction: add ability to activate or change state by variant stringMarco Trevisan (Treviño)2016-10-183-1/+23
| |
| * Converter: move parseVariantString here from UnityMenuModelMarco Trevisan (Treviño)2016-10-183-25/+28
| |
| * UnityMenuModel: avoid initializing an empty QVariant if not neededMarco Trevisan (Treviño)2016-10-151-4/+3
| |
| * UnityMenuModel: avoid copying the string to a new std oneMarco Trevisan (Treviño)2016-10-141-1/+1
| |
| * UnityMenuModel add support for activating and changing state with a variant ↵Marco Trevisan (Treviño)2016-10-142-0/+36
| | | | | | | | string parameter
| * Converter: add support to LongLong and ULongLongMarco Trevisan (Treviño)2016-10-141-0/+6
| |
| * only log criticalNick Dedekind2016-02-231-2/+2
| |
| * added missing fileNick Dedekind2016-02-231-0/+23
| |
| * use logging categoriesNick Dedekind2016-02-191-2/+5
| |
* | better boolean checkNick Dedekind2016-10-041-2/+2
| |