pax_global_header 0000666 0000000 0000000 00000000064 13733104243 0014512 g ustar 00root root 0000000 0000000 52 comment=99963a540c03adeba1f5944724950b6c30ec0063
lomiri-api-0.1.1/ 0000775 0000000 0000000 00000000000 13733104243 0013553 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/.gitignore 0000664 0000000 0000000 00000000215 13733104243 0015541 0 ustar 00root root 0000000 0000000 # default build dir
/build*
# QtCreator project files
/*.user
# Eclipse project files
/.project
/.cproject
/.settings
/.pydevproject
*.qmlc lomiri-api-0.1.1/CMakeLists.txt 0000664 0000000 0000000 00000015317 13733104243 0016322 0 ustar 00root root 0000000 0000000 cmake_minimum_required(VERSION 2.8.10)
# Default install location. Must be set here, before setting the project.
if (NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH "" FORCE)
endif()
project(lomiri-api C CXX)
set(PROJECT_VERSION "0.1.1")
if(${PROJECT_BINARY_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
message(FATAL_ERROR "In-tree build attempt detected, aborting. Set your build dir outside your source dir, delete CMakeCache.txt from source root and try again.")
endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_lower) # Build types should always be lowercase but sometimes they are not.
include(PrecompiledHeaders)
find_package(CoverageReport)
#####################################################################
# Enable code coverage calculation with gcov/gcovr/lcov
# Usage:
# * Switch build type to coverage (use ccmake or cmake-gui)
# * Invoke make, make test, make coverage (or ninja if you use that backend)
# * Find html report in subdir coveragereport
# * Find xml report suitable for jenkins in coverage.xml
#####################################################################
if(cmake_build_type_lower MATCHES coverage)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage" )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage" )
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} --coverage" )
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} --coverage" )
# We add -g when building with coverage so valgrind reports line numbers.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g" )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g" )
# This allows us to skip the file descriptor closing test in Daemon_test
# when coverage is enabled. (Closing file descriptors
# in the test messes with coverage reporting.)
add_definitions(-DCOVERAGE_ENABLED)
endif()
# Make sure we have all the needed symbols
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,defs")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-z,defs")
# Static C++ checks
find_program(CPPCHECK_COMMAND NAMES cppcheck)
if (CPPCHECK_COMMAND)
set(CPPCHECK_COMMAND_OPTIONS --check-config --inline-suppr --enable=all -q --error-exitcode=2)
set(CPPCHECK_COMMAND_OPTIONS ${CPPCHECK_COMMAND_OPTIONS} --template "{file}({line}): {severity} ({id}): {message}")
add_custom_target(cppcheck COMMAND ${CPPCHECK_COMMAND} ${CPPCHECK_COMMAND_OPTIONS}
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/test
${CMAKE_BINARY_DIR}/test
VERBATIM
)
else()
message(WARNING "Cannot find cppcheck: cppcheck target will not be available")
endif()
#
# Definitions for testing with valgrind.
#
configure_file(CTestCustom.cmake.in CTestCustom.cmake) # Tests in CTestCustom.cmake are skipped for valgrind
find_program(MEMORYCHECK_COMMAND NAMES valgrind)
if (MEMORYCHECK_COMMAND)
set(MEMORYCHECK_COMMAND_OPTIONS
"--suppressions=${CMAKE_SOURCE_DIR}/valgrind-suppress --leak-check=full --num-callers=40 --error-exitcode=3"
)
add_custom_target(valgrind DEPENDS NightlyMemCheck)
else()
message(WARNING "Cannot find valgrind: valgrind target will not be available")
endif()
include(FindPkgConfig)
pkg_check_modules(GLIB glib-2.0 REQUIRED)
# Standard install paths
include(GNUInstallDirs)
# Shell install paths
set(SHELL_PLUGINDIR ${CMAKE_INSTALL_LIBDIR}/lomiri/qml)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/include
)
# When building the library, we set the default symbol visibility
# to "hidden", so we don't export things by default.
# Exported functions and classes are prefixed by a LOMIRI_API macro,
# which explicitly exports a symbol if LOMIRI_DLL_EXPORTS is defined.
add_definitions(-DLOMIRI_DLL_EXPORTS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pedantic -Wall -Wextra")
# -fno-permissive causes warnings with clang, so we only enable it for gcc
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-permissive")
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsuggest-override" )
endif()
endif()
if ("${CMAKE_BUILD_TYPE}" STREQUAL "release" OR "${CMAKE_BUILD_TYPE}" STREQUAL "relwithdebinfo")
option(Werror "Treat warnings as errors" ON)
else()
option(Werror "Treat warnings as errors" OFF)
endif()
if (Werror)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
endif()
# API version
set(LOMIRI_API_MAJOR 0)
set(LOMIRI_API_MINOR 1)
set(LOMIRI_API_MICRO 1)
set(LOMIRI_API_VERSION "${LOMIRI_API_MAJOR}.${LOMIRI_API_MINOR}.${LOMIRI_API_MICRO}")
# API library
set(LOMIRI_API_LIB lomiri-api)
# Static version for testing
set(LOMIRI_API_STATIC_LIB lomiri-api-static)
# Other libraries we depend on
set(OTHER_API_LIBS)
# All the libraries we need to link a normal executable that uses the Lomiri API
set(LIBS ${LOMIRI_API_LIB} ${OTHER_API_LIBS})
# All the libraries we need to link a gtest executable. (We link the tests against a static version
# so we can do whitebox testing on internal classes.
set(TESTLIBS ${LOMIRI_API_STATIC_LIB} ${OTHER_API_LIBS})
# Library install prefix
set(LIB_INSTALL_PREFIX lib/${CMAKE_LIBRARY_ARCHITECTURE})
# Tests
if (NOT NO_TESTS)
include(CTest)
enable_testing()
add_subdirectory(test)
else()
message(STATUS "Tests disabled")
endif()
# add subdirectories to build
add_subdirectory(include)
add_subdirectory(src)
add_subdirectory(data)
if (cmake_build_type_lower MATCHES coverage)
ENABLE_COVERAGE_REPORT(TARGETS ${LOMIRI_API_LIB} FILTER /usr/include ${CMAKE_SOURCE_DIR}/test/* ${CMAKE_BINARY_DIR}/*)
endif()
#
# Documentation
#
find_package(Doxygen)
find_program(DOT_EXECUTABLE dot /usr/bin)
if (NOT DOXYGEN_FOUND OR NOT DOT_EXECUTABLE)
message(WARNING "Cannot generate documentation: doxygen and/or graphviz not found")
else()
configure_file(${PROJECT_SOURCE_DIR}/doc/Doxyfile.in ${PROJECT_BINARY_DIR}/doc/Doxyfile @ONLY IMMEDIATE)
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc/lib${LOMIRI_API_LIB}/index.html
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/doc/Doxyfile
DEPENDS ${PROJECT_BINARY_DIR}/doc/Doxyfile
${LOMIRI_API_LIB_SRC}
${LOMIRI_API_LIB_HDRS})
add_custom_target(doc ALL
DEPENDS ${PROJECT_BINARY_DIR}/doc/lib${LOMIRI_API_LIB}/index.html)
install(DIRECTORY ${PROJECT_BINARY_DIR}/doc/lib${LOMIRI_API_LIB}
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc)
endif()
lomiri-api-0.1.1/COPYING 0000664 0000000 0000000 00000016743 13733104243 0014621 0 ustar 00root root 0000000 0000000 GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
lomiri-api-0.1.1/CTestCustom.cmake.in 0000664 0000000 0000000 00000001146 13733104243 0017401 0 ustar 00root root 0000000 0000000 #
# Tests listed here will not be run by the valgrind target.
#
SET(CTEST_CUSTOM_MEMCHECK_IGNORE
cleanincludes
stand-alone-lomiri-headers
stand-alone-lomiri-internal-headers
stand-alone-lomiri-api-headers
stand-alone-lomiri-api-internal-headers
stand-alone-lomiri-util-headers
stand-alone-lomiri-util-internal-headers
clean-public-lomiri-headers
clean-public-lomiri-internal-headers
clean-public-lomiri-api-headers
clean-public-lomiri-api-internal-headers
clean-public-lomiri-util-headers
clean-public-lomiri-util-internal-headers
copyright
whitespace)
lomiri-api-0.1.1/ChangeLog 0000664 0000000 0000000 00000354060 13733104243 0015335 0 ustar 00root root 0000000 0000000 2020-09-24 13:53:07 +0200 Mike Gabriel
* release 0.1.1 (HEAD -> master, tag: 0.1.1)
2020-02-26 22:34:07 +0100 Mike Gabriel (188b8dc)
* NEWS: Fix project name.
2020-09-22 03:44:26 +0200 Marius Gripsgard (3672c8f)
* Merge remote-tracking branch 'old-origin/xenial_-_edge' into HEAD
2020-09-22 03:39:04 +0200 Marius Gripsgard (5958f37)
* Merge remote-tracking branch 'old-origin/xenial' into HEAD
2020-03-01 13:52:16 +0100 Marius Gripsgard (741638e)
* Fix api version to match package version
2020-03-01 13:47:32 +0100 Marius Gripsgard (5f5fdf1)
* Make sure to export dbus and snap apis
2020-02-28 17:00:35 +0100 Marius Gripsgard (4c1e6d3)
* Add dbus sanitize helpers
2020-09-22 02:53:32 +0200 Marius Gripsgard (ad56344)
* Merge pull request #25 from z3ntu/xenial_-_giomemorytest
2020-09-22 00:48:30 +0200 Marius Gripsgard (a257177)
* Merge pull request #15 from ubports/xenial_-_edge_-_multiscreen
2019-04-23 18:36:42 +0200 Marius Gripsgard (57f17b0)
* Added Surface Manager signals and surfaceFor(window)
2019-04-23 18:31:53 +0200 Marius Gripsgard (e8d1779)
* API requirements for multiple screen support
2020-05-12 21:56:23 +0200 Marius Gripsgard (e2994d7)
* Add AttachedState state enum
2020-04-19 12:36:15 +0200 Luca Weiss (05c06dd)
* GioMemory_test: print error from glib
2020-04-12 23:44:11 +0200 Pino Toscano (a207c22)
* tests: do not hardcode errno values/texts
2020-02-27 18:44:48 +0100 Marius Gripsgard (c302d2c)
* Remove smart pointer for GRefString
2020-02-28 11:55:50 +0100 Mike Gabriel (8f90f3b)
* Set SOVERSION=0 (instead of 1).
2020-02-27 15:30:01 +0100 Marius Gripsgard (967302f)
* Fix changelog
2020-02-27 15:27:57 +0100 Marius Gripsgard (20550b9)
* Fix changelog
2020-02-26 21:07:37 +0000 Dalton Durst (951e925)
* Update changelog
2020-02-26 21:23:40 +0100 UBports Team (8eb7057)
* release 0.1.0 (tag: 0.1.0)
2020-02-26 21:23:25 +0100 Mike Gabriel (f4a96ef)
* debian/*: Pre-release packaging update.
2020-02-26 08:57:36 +0100 Marius Gripsgard (eb6b5b4)
* Rename to lomiri
2019-12-28 01:56:57 +0100 Marius Gripsgard (8252b92)
* Update old qml module packages
2020-02-26 07:36:26 +0100 Marius Gripsgard (9893015)
* Merge pull request #19 from z3ntu/xenial_-_bionic-merge
2019-07-21 20:58:15 +0200 Luca Weiss (b596010)
* GlibMemory.h: Use the correct macro (#17)
2019-07-21 13:33:06 -0400 Rodney (c7e192c)
* Replace re-import hack with manual listing. (#16)
2019-01-29 18:21:46 +0100 Luca Weiss (52f1e50)
* Replace home-grown gtest config with cmake-extras
2020-02-19 15:21:09 -0500 Rodney (e2dbc86)
* Resolve file conflict with Conflicts/Replaces. (#21)
2019-02-10 13:22:43 -0600 Dalton Durst (84cfc45)
* Add empty folders to make header tests happy
2019-02-10 12:43:26 -0600 Dalton Durst (6e89931)
* Remove PowerPC config
2019-01-27 18:33:12 +0100 Luca Weiss (f4466f1)
* Migrate to cmake-extras
2019-06-30 16:44:03 +0200 Florian Leeber (1dbfc73)
* Merge pull request #14 from ubports/xenial_-_edge_-_fclose
2019-06-29 17:52:45 +0200 Marius Gripsgard (ec9636d)
* Add forceClose method to mirSurface api
2019-04-27 00:11:54 +0200 Marius Gripsgard (98cb672)
* Kill scope api and clean up (#12)
2018-11-15 23:37:59 +0100 Marius Gripsgard (ec799d7)
* Ignore Jenkinsfile as part of test
2018-11-15 23:31:49 +0100 Marius Gripsgard (c86e256)
* Build for xenial edge
2018-09-18 14:40:35 +0300 Ivan Semkin (588b667)
* Merge pull request #5 from dobey/fix-glib-autocleanup
2018-09-17 21:00:08 -0400 Rodney Dawes (9646735)
* Add typedefs for the pointers to new type.
2018-09-17 17:04:49 -0400 Rodney Dawes (9e7c453)
* Fix autoclean conflict with new glib.
2018-06-12 18:30:55 +0200 Marius Gripsgard (31cad5a)
* Merge pull request #3 from vanyasem/bionic
2018-06-07 22:51:14 +0300 Ivan Semkin (02ae020)
* Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)
2018-05-16 09:47:51 +0200 Jan Sprinz (b56d9b0)
* Merge pull request #1 from dobey/fix-test
2018-05-15 17:07:38 -0400 Rodney Dawes (89b77f9)
* Only add internal header tests if exists.
2018-02-21 00:08:25 +0100 Marius Gripsgard (16c324d)
* Fix gcc 7
2018-02-21 00:00:55 +0100 Marius Gripsgard (04a9aa4)
* Merge remote-tracking branch 'lp/master' into bionic
2018-02-20 23:53:49 +0100 Marius Gripsgard (159c67b)
* Imported to UBports
2017-04-04 09:37:43 +0000 Bileto Bot (34d39f1)
* Releasing 8.7+17.04.20170404-0ubuntu1
2017-04-04 09:37:22 +0000 Rodney Dawes (f092ac7)
* Add utility function to prepend $SNAP to directory paths.
2017-04-04 09:37:08 +0000 Pete Woods (581f5bd)
* unity::util - Add glib signal managers
2017-04-04 09:37:01 +0000 Bileto Bot (4b38af0)
* Add Glib and GObject Assigner helpers.
2017-04-04 10:33:11 +0100 Pete Woods (de73853)
* Fix whitespace error
2017-04-04 10:27:33 +0100 Pete Woods (e9c92ca)
* Add docs
2017-04-04 10:14:12 +0100 Pete Woods (ea2a9fc)
* Tweak docs
2017-04-04 10:13:18 +0100 Pete Woods (7c070d6)
* Fix null assignment behaviour in assigner classes
2017-04-04 10:27:11 +0200 Michael Zanetti (babb590)
* bump version numbers
2017-04-03 16:14:06 +0200 Michael Zanetti (3b5d829)
* merge trunk
2017-03-28 14:46:21 -0400 Rodney Dawes (a50e2b2)
* Fixes per review.
2017-03-25 22:40:06 +0000 Pete Woods (f6c06e3)
* Fix up tests, use libqtdbustest for temporary test bus
2017-03-24 16:43:10 +0000 Pete Woods (780ee42)
* unity::util - Add signal management helpers
2017-03-24 16:37:55 +0000 Pete Woods (84172f3)
* A bit more cleanup
2017-03-24 10:27:24 +0000 Pete Woods (8d32e75)
* Add changelog message
2017-03-23 11:10:37 +0000 Pete Woods (1036749)
* More cleaning up
2017-03-23 11:00:49 +0000 Pete Woods (e59cc33)
* Mix in James's Assigner ideas and clean up a little more
2017-03-23 13:27:02 +1000 Michi Henning (1be123c)
* Fixed typo in comment.
2017-03-23 13:21:27 +1000 Michi Henning (e657f31)
* Using SFINAE now to avoid instantiating an uncalled member
function. Minor style fixes.
2017-03-23 10:49:00 +1000 Michi Henning (470f645)
* Simplified templates.
2017-03-22 16:50:44 +0000 Pete Woods (f1032f7)
* Respond to James' suggestion of adding factory methods to
auto-deduce template arguments
2017-03-22 13:52:11 +0000 Pete Woods (82d411a)
* Use implementation from michi's review, adding separate uptr and
sptr assigners
2017-03-21 13:50:27 -0400 Rodney Dawes (f42b1c0)
* Add utility function to prepend $SNAP to directory paths.
2017-03-21 14:31:55 +0000 Pete Woods (be6bce1)
* Add GObject assigner
2017-03-21 14:31:38 +0000 Pete Woods (b082bc9)
* Add gchar and gcharv management definitions
2017-03-20 16:16:30 +0000 Pete Woods (58100f9)
* Remove, apprently unreliable, string comparison
2017-03-20 15:14:19 +0000 Pete Woods (d8ae99e)
* Add assigner class to support common GError usage pattern
2017-03-17 11:08:20 +0000 Bileto Bot (9f9652b)
* Releasing 8.6+17.04.20170317-0ubuntu1
2017-03-17 11:07:57 +0000 Bileto Bot (2a0599d)
* MirSurfaceInterface::allowClientResize
2017-03-17 11:07:49 +0000 Pete Woods (ff6c6b5)
* unity::util - unique_gobject and share_gobject now throw for
floating references (LP: #1672657)
2017-03-17 11:07:44 +0000 Bileto Bot (18782f9)
* Add appId property to MirSurfaceInterface
2017-03-17 11:07:35 +0000 Bileto Bot (398e381)
* Add RoleIsPrivate to launcher's quicklist entries
2017-03-17 10:20:10 +0000 Pete Woods (0740012)
* Allow make_gobject to construct initially unowned objects
2017-03-16 14:25:46 +0000 Pete Woods (dd047be)
* unique_gobject and share_gobject now throw for floating references
2017-03-15 17:44:18 +0100 Michael Zanetti (43fa413)
* Add appId property to MirSurfaceInterface
2017-03-13 14:53:31 -0300 Daniel d'Andrada (535c38b)
* MirSurfaceInterface::allowClientResize
2017-03-13 14:48:15 -0300 Daniel d'Andrada (2b8594d)
* merge lp:~mzanetti/unity-api/private-quicklist-entries
2017-02-27 12:47:56 +0100 Michael Zanetti (7023f64)
* add popularity field to launcheritems
2017-02-27 12:41:55 +0100 Michael Zanetti (9d0bb48)
* add some comment about the new role
2017-02-27 12:28:02 +0100 Michael Zanetti (35e9503)
* Q_ENUMS -> Q_ENUM
2017-02-24 17:10:44 +0100 Michael Zanetti (49aa27e)
* merge prereq
2017-02-24 13:57:54 +0100 Michael Zanetti (a1b6c56)
* bump versions
2017-02-24 13:55:28 +0100 Michael Zanetti (d7a17b6)
* add RoleIsPrivate to the launcher's quicklistmodel
2017-02-23 11:22:38 +0000 Bileto Bot (9f59015)
* Releasing 8.4+17.04.20170223-0ubuntu1
2017-02-23 11:22:14 +0000 Bileto Bot (ba875d1)
* unity::util - Make Glib and GObject memory management utilities
handle NULL quietly.
2017-02-23 11:18:54 +0000 Pete Woods (50866fb)
* Trying out the deleter methods as charles suggested, making
CRITICAL be a fatal error so we know if the deleter logic
worked (g_variant_unref logs CRITICAL on null)
2017-02-21 13:12:43 +0000 Pete Woods (070dcb5)
* Really fix the changelog this time
2017-02-21 10:28:29 +0000 Pete Woods (9e67507)
* Fix changelog
2017-02-20 16:51:06 +0000 Pete Woods (77f1594)
* unity::util - Make Glib and GObject memory management utilities
handle NULL quietly.
2017-02-17 14:12:04 +0000 Bileto Bot (964d9f5)
* Releasing 8.3+17.04.20170217-0ubuntu1
2017-02-17 14:11:49 +0000 Bileto Bot (4e5af19)
* unity::util - Add typedef macros to GlibMemory to make method and
member variable definitions easier.
2017-02-17 13:40:58 +0000 Pete Woods (aaa4747)
* unity::util - Add typedef macros to GlibMemory to make method and
member variable definitions easier.
2017-02-06 09:11:04 +0000 Bileto Bot (a20b84b)
* Releasing 8.2+17.04.20170206-0ubuntu1
2017-02-06 09:10:36 +0000 Bileto Bot (941fcf1)
* MirSurfaceInterface: add childSurfaceList and parentSurface
2017-01-26 09:07:35 -0200 Daniel d'Andrada (8e5df5f)
* MirSurfaceInterface: add childSurfaceList and parentSurface
2017-01-20 17:08:56 +0000 Bileto Bot (3dc2810)
* Releasing 8.1+17.04.20170120.1-0ubuntu1
2017-01-20 17:08:36 +0000 Bileto Bot (b52b165)
* Added Mir::currentKeymap
2017-01-19 13:54:51 +0000 Bileto Bot (5bd19f0)
* Releasing 8.1+17.04.20170119.1-0ubuntu1
2017-01-19 13:54:21 +0000 Bileto Bot (5ddbb86)
* unity::util - add Glib memory management utility functions.
2017-01-19 13:54:08 +0000 Bileto Bot (148d780)
* unity::util - add GObject shared memory utility classes and helper
methods.
2017-01-19 13:52:32 +0000 Pete Woods (5705791)
* unity::util - add Glib memory management utility functions.
2017-01-19 13:49:43 +0000 Pete Woods (1e01693)
* unity::util - add GObject shared memory utility classes and helper
methods.
2017-01-16 11:54:30 +0100 Lukáš Tinkl (0763822)
* merge trunk
2017-01-10 06:42:46 +0000 Bileto Bot (d56c9a2)
* Releasing 8.0+17.04.20170110.1-0ubuntu1
2017-01-10 06:41:57 +0000 Albert Astals Cid (f260564)
* Use the new Q_ENUM (Qt 5.5)
2017-01-10 06:41:33 +0000 Albert Astals Cid (ef542f1)
* Enable -Wsuggest-override
2017-01-10 06:41:09 +0000 Nick Dedekind (de92270)
* Fully qualify pointer type namespaces in signals so that the
parameters can be used in qml.
2017-01-02 15:48:58 +0100 Lukáš Tinkl (33ea21b)
* merge trunk
2016-12-23 15:58:30 +0000 Nick Dedekind (bcc2a8a)
* fully qualify namespaces for use in qml
2016-12-23 11:17:48 +0100 Albert Astals Cid (701c8a1)
* Q_FLAG is also the moderm way of Q_FLAGS
2016-12-23 10:31:16 +0100 Albert Astals Cid (b1498c3)
* Some more i missed somehow
2016-12-23 10:14:43 +0100 Albert Astals Cid (18d05f5)
* Use the new Q_ENUM (Qt 5.5)
2016-12-23 09:50:23 +0100 Albert Astals Cid (24d5952)
* Merge
2016-12-15 17:36:11 +0100 Lukáš Tinkl (2ae7dfd)
* merge trunk
2016-12-15 16:16:07 +0000 Bileto Bot (d54626f)
* Releasing 8.0+17.04.20161215-0ubuntu1
2016-12-15 16:15:35 +0000 Bileto Bot (c9f2f28)
* unity::shel::application - changes for the miral way of doing
things
2016-12-14 17:01:26 +0100 Albert Astals Cid (25fa845)
* remove useless commented out code
2016-12-14 16:57:28 +0100 Albert Astals Cid (052e8b8)
* Enable -Wsuggest-override
2016-12-12 14:52:21 -0200 Daniel d'Andrada (11a1941)
* unity::shel::application - changes for the miral way of doing
things
2016-12-07 09:23:57 -0200 Daniel d'Andrada (3af6c49)
* Update useless mock
2016-12-07 09:11:32 -0200 Daniel d'Andrada (3794ab3)
* make it const
2016-12-06 15:06:08 +0100 Lukáš Tinkl (6a01e05)
* merge trunk and bump
2016-12-05 15:20:32 +0000 Bileto Bot (b29d57a)
* Releasing 7.121+17.04.20161205-0ubuntu1
2016-12-05 15:20:13 +0000 Bileto Bot (b11f9ee)
* Add AppDrawerModelInterface
2016-12-01 09:42:06 -0200 Daniel d'Andrada (52636f1)
* Merge trunk
2016-11-30 11:43:52 +0100 Michael Zanetti (9895c9e)
* bump versions again after merging
2016-11-30 11:38:23 +0100 Michael Zanetti (ccc16e7)
* merge in 22022 as prereq
2016-11-24 10:54:33 -0200 Daniel d'Andrada (21d6030)
* MirSurfaceInterface::activate
2016-11-23 12:11:04 +0000 Bileto Bot (dfbcfe8)
* Releasing 7.120+17.04.20161123-0ubuntu1
2016-11-23 12:10:19 +0000 Marcus Tomlinson (70821bd)
* Don't rely on glib error message strings in IniParser_test (LP:
#1642673)
2016-11-23 12:10:03 +0000 Bileto Bot (8439b32)
* Add hasSeparator role to quicklistModel.
2016-11-22 16:17:50 -0200 Daniel d'Andrada (4a13fa5)
* MirSurfaceInterface::activate
2016-11-18 08:42:24 +0200 Marcus Tomlinson (792b08f)
* Check for parts of error string we output
2016-11-18 07:33:52 +0200 Marcus Tomlinson (ee2dd4b)
* Clean up
2016-11-17 19:23:22 +0200 Marcus Tomlinson (fb24db9)
* Don't rely on glib error message strings in IniParser_test
2016-11-17 11:12:24 -0200 Daniel d'Andrada (c3bc7f8)
* Add SurfaceManager and remove TopLevelWindowModel and Window
2016-11-17 10:23:32 -0200 Daniel d'Andrada (7cfe892)
* Update useless tests
2016-11-17 12:45:57 +0100 Michael Zanetti (04c1294)
* include qstringlist manually to make it build on vivid
2016-11-16 19:52:33 +0100 Michael Zanetti (b860bed)
* add support for keywords
2016-11-14 18:35:23 -0200 Daniel d'Andrada (53afea7)
* Add SurfaceManager and remove TopLevelWindowModel and Window
2016-11-10 19:15:02 +0100 Michael Zanetti (40600c8)
* bump versioning
2016-11-10 19:13:30 +0100 Michael Zanetti (9d4acc2)
* add mocks and tests
2016-11-07 11:58:38 -0200 Daniel d'Andrada (5aa28b7)
* Fix documentation
2016-11-04 13:28:41 +0100 Michael Zanetti (9cb5dc0)
* add virtual dtor
2016-11-04 13:26:58 +0100 Michael Zanetti (6060088)
* add copyright header
2016-11-04 11:49:53 +0100 Michael Zanetti (b631dbe)
* add usage role
2016-11-03 16:12:55 -0200 Daniel d'Andrada (acaeee7)
* Bump to 8.0
2016-11-03 13:38:26 +0100 Michael Zanetti (5d3a69a)
* add AppDrawerModelInterface.h
2016-11-03 10:25:43 -0200 Daniel d'Andrada (cc8aa80)
* unity::shell::application - changes for the miral way of doing
things
2016-11-01 17:27:19 -0200 Daniel d'Andrada (031b6a2)
* unity::shel::application - changes for the miral way of doing
things
2016-10-28 13:51:20 +0200 Andrea Azzarone (b783c82)
* Bump API
2016-10-28 13:14:37 +0200 Andrea Azzarone (dac4944)
* Add a hasSeparator role to quicklistModel which determines if the
entry should have a separator.
2016-10-06 10:22:20 -0300 Daniel d'Andrada (28b4f18)
* Changes for the miral way of doing things
2016-09-30 13:22:31 +0200 Lukáš Tinkl (0af6b73)
* added Mir::currentKeymap
2016-09-09 14:39:28 +0000 Bileto Bot (39a73d1)
* Releasing 7.119+16.10.20160909-0ubuntu1
2016-09-09 14:39:00 +0000 Bileto Bot (c7a6a28)
* Added MirSurfaceInterface::confinesMousePointer
2016-09-05 10:21:24 -0300 Daniel d'Andrada (4909c25)
* Added MirSurfaceInterface::confinesMousePointer
2016-08-30 13:40:31 +0000 Bileto Bot (1727e16)
* Releasing 7.118+16.10.20160830-0ubuntu1
2016-08-30 13:39:55 +0000 Bileto Bot (780ea80)
* Added persistent Id property for MirSurface
2016-08-22 09:49:02 -0300 Nick Dedekind (ff8112f)
* Added persistent Id property for MirSurface
2016-08-19 22:16:23 +0000 Bileto Bot (b14f0e4)
* Releasing 7.117+16.10.20160819-0ubuntu1
2016-08-19 22:16:03 +0000 Michi Henning (5b55d5e)
* Removed empty unreleased entry from changelog. (LP: #1613563)
2016-08-17 09:06:00 +1000 Michi Henning (0126570)
* Fixed syntax error in changelog.
2016-08-10 08:20:08 +0000 Bileto Bot (ffd8b1a)
* Releasing 7.117+16.10.20160810-0ubuntu1
2016-08-10 08:19:47 +0000 Bileto Bot (9fcc2c6)
* * ApplicationInfoInterface: remove "stage" property *
ApplicationManagerInterface: remove "stage" role
2016-08-05 04:08:06 +0000 Bileto Bot (fd7afab)
* Releasing 7.116+16.10.20160805-0ubuntu1
2016-08-05 04:07:31 +0000 James Henstridge (0bda26b)
* Remove unnecessary Boost dependency from package.
2016-08-02 08:40:57 +0800 James Henstridge (6be0f8b)
* Remove unnecessary Boost dependency from package.
2016-07-30 21:18:51 +0000 Bileto Bot (d594a9f)
* Releasing 7.116+16.10.20160730-0ubuntu1
2016-07-30 21:18:09 +0000 Michał Sawicz (77a8e30)
* Don't run tests on powerpc (LP: #1606927)
2016-07-30 21:17:56 +0000 Stephen Kelly (821f88e)
* Silence some gcc warnings.
2016-07-29 18:16:38 +0200 Michał Sawicz (5a952d9)
* Don't run tests on powerpc (LP: #1606927)
2016-07-25 15:43:51 -0300 Daniel d'Andrada (c853dff)
* Update tests
2016-07-25 10:56:35 -0300 Daniel d'Andrada (d197dc1)
* Remove ApplicationInfoInterface.stage property
2016-06-20 21:36:16 +0200 Stephen Kelly (2561025)
* Fix use of MockOptionSelectorFilter constructor
2016-06-20 14:39:15 +0000 Bileto Bot (4ae2d15)
* Releasing 7.116+16.10.20160620-0ubuntu1
2016-06-20 14:39:02 +0000 Bileto Bot (1492ed4)
* MirSurfaceInterface: add inputBounds property
2016-06-20 11:06:02 -0300 Daniel d'Andrada (0d299b2)
* MirSurfaceInterface: add inputBounds property
2016-06-14 08:34:16 +0000 Bileto Bot (aad7692)
* Releasing 7.115+16.10.20160614-0ubuntu1
2016-06-14 08:33:41 +0000 Bileto Bot (27bdb31)
* Drop Launchermodel::setAlerting, it's not needed
2016-06-14 08:33:36 +0000 Bileto Bot (70987d7)
* Add ApplicationInfoInterface::surfaceCount property
2016-06-09 19:27:32 +0100 Nick Dedekind (1fc63fa)
* added MirSurfaceInterface::persistentId
2016-06-03 13:20:51 +0200 Michael Zanetti (fca8dc4)
* bump debian changelog
2016-06-03 13:20:04 +0200 Michael Zanetti (5e91d72)
* that wasn't needed
2016-06-03 13:15:35 +0200 Michael Zanetti (58c865d)
* bump debian/changelog
2016-06-03 13:12:50 +0200 Michael Zanetti (3ebc1e7)
* merge trunk, bump version
2016-06-03 12:46:58 +0200 Michael Zanetti (d165f30)
* bump version once more
2016-06-03 12:43:54 +0200 Michael Zanetti (9797626)
* merge trunk
2016-05-25 06:02:38 +0000 CI Train Bot (7d79d58)
* Releasing 7.113+16.10.20160525-0ubuntu1
2016-05-25 06:02:36 +0000 Albert Astals Cid (17939cd)
* Mark roleNames as override
2016-05-25 06:02:31 +0000 Michi Henning (b6cc21d)
* Re-enabled license/copyright test for xenial. Fixes: #1194867
Approved by: Marcus Tomlinson, Unity8 CI Bot
2016-05-25 06:02:26 +0000 Daniel d'Andrada (53d9cb9)
* Remove hotspot property from MirMousePointerInterface
2016-05-19 18:08:39 +0200 Michael Zanetti (2ca18d4)
* merge prereq
2016-05-19 16:53:19 +0200 Michael Zanetti (0f6193d)
* bump application API version again
2016-05-19 12:17:07 +0200 Michael Zanetti (3b1a5be)
* merge trunk
2016-05-18 17:51:23 -0300 Daniel d'Andrada (9c9cf24)
* Remove hotspot property from MirMousePointerInterface
2016-05-18 15:43:40 +0200 Michael Zanetti (418f4a0)
* Drop Launchermodel::setAlerting, it's not needed
2016-05-18 15:43:29 +0200 Michael Zanetti (111e80b)
* merge prereq
2016-05-18 15:35:36 +0200 Michael Zanetti (68079c7)
* update tests & mocks
2016-05-18 09:31:07 +0000 CI Train Bot (c77ee9e)
* Releasing 7.112+16.04.20160518-0ubuntu1
2016-05-18 09:31:04 +0000 Daniel d'Andrada (3f800b4)
* Moved prompt surfaces to ApplicationInfo and added
MirSurfaceListInterface::first
2016-05-17 16:39:52 -0300 Daniel d'Andrada (27f2459)
* update application version
2016-05-17 16:21:33 -0300 Daniel d'Andrada (95c1010)
* Added MirSurfaceListInterface::first property
2016-05-17 09:55:00 -0300 Daniel d'Andrada (435122f)
* Move promptSurfaceList from MirSurfaceInterface to
ApplicationInfoInterface
2016-05-13 11:35:14 +0200 Albert Astals Cid (a0618f9)
* Mark as override
2016-05-11 12:48:13 +0200 Michael Zanetti (ca7db7f)
* add forgotten property
2016-05-11 10:19:30 +0200 Michael Zanetti (ca0573c)
* fix typo in apidoc
2016-05-10 19:11:07 +0200 Michael Zanetti (21b4a17)
* add missing file
2016-05-10 19:08:29 +0200 Michael Zanetti (50444b7)
* add missing change
2016-05-10 17:11:40 +0200 Michael Zanetti (968c4a8)
* bump launcher api too
2016-05-09 18:44:19 +0200 Michael Zanetti (78c274d)
* Add ApplicationInfoInterface::surfaceCount property
2016-04-26 15:31:50 +0000 CI Train Bot (3d540d4)
* Releasing 7.111+16.04.20160426.2-0ubuntu1
2016-04-26 15:31:46 +0000 Pawel Stolowski (4ec3da4)
* Added ExpandableFilterWidgetInterface. Approved by: Albert Astals
Cid
2016-04-26 15:31:41 +0000 Pawel Stolowski (6c650c8)
* Added RoleSocialActions. Approved by: Marcus Tomlinson
2016-04-26 17:27:49 +0200 Pawel Stolowski (197696f)
* Merged social attr
2016-04-26 17:27:38 +0200 Pawel Stolowski (968819a)
* Fix version
2016-04-26 13:10:19 +0200 Pawel Stolowski (26e7866)
* Merged social-attributes
2016-04-26 12:13:32 +0200 Pawel Stolowski (6ebdec8)
* Merged trunk
2016-04-19 15:00:13 +0200 Pawel Stolowski (a518ea6)
* Bump
2016-04-19 14:58:25 +0200 Pawel Stolowski (b1365da)
* Merged trunk
2016-04-15 15:30:11 +0200 Pawel Stolowski (e8d2ef2)
* Merged trunk + bump
2016-04-13 18:39:21 +0000 CI Train Bot (17998db)
* Releasing 7.110+16.04.20160413-0ubuntu1
2016-04-13 18:39:19 +0000 Daniel d'Andrada (06834a3)
* Unity.Application: Surface-based window management Approved by:
Unity8 CI Bot, Gerry Boland
2016-04-13 18:39:13 +0000 Daniel d'Andrada (a653305)
* MirSurfaceInterface: replace keymapLayout and keymapVariant with
keymap
2016-04-13 13:47:27 -0300 Daniel d'Andrada (437af44)
* Unity.Application: Added and refactored APIs for surface-based
window management
2016-04-13 13:40:06 -0300 Daniel d'Andrada (e73a0f4)
* MirSurfaceInterface: replace keymapLayout and keymapVariant with
keymap
2016-04-07 13:22:22 +1000 Michi Henning (5ce05ce)
* Some more suppressions for copyright test. Added a missing license
header.
2016-04-05 06:03:34 +0000 CI Train Bot (88adc47)
* Releasing 7.109+16.04.20160405-0ubuntu1
2016-04-05 06:03:31 +0000 Marcus Tomlinson (f24f860)
* Add set*() methods to IniParser Fixes: #1552082 Approved by: Michi
Henning, Unity8 CI Bot
2016-03-31 15:59:01 +1000 Michi Henning (d58454c)
* Re-enabled license/copyright test for xenial.
2016-03-30 10:46:34 +0200 Marcus Tomlinson (ec2af6a)
* Add "#include " for arm64
2016-03-30 07:21:38 +0200 Marcus Tomlinson (4e6a519)
* Address review comments
2016-03-29 12:23:00 +0200 Marcus Tomlinson (076c859)
* Append -0ubuntu1 to version in changelog
2016-03-29 12:08:45 +0200 Marcus Tomlinson (efa12c9)
* Added tests for double-to-int and int-to-double conversions
2016-03-29 08:33:29 +0200 Marcus Tomlinson (356a7ff)
* Merged trunk
2016-03-29 08:26:34 +0200 Marcus Tomlinson (664f2a9)
* Clean up docs
2016-03-29 08:00:53 +0200 Marcus Tomlinson (f4ed357)
* Added tests for remove_group and remove_key
2016-03-29 07:41:48 +0200 Marcus Tomlinson (f7b8745)
* Added remove_group and remove_key methods
2016-03-29 07:41:32 +0200 Marcus Tomlinson (8c266f2)
* Added tests for get_double_array and set_double_array
2016-03-29 07:26:17 +0200 Marcus Tomlinson (3e01886)
* Added missing get_double_array and set_double_array methods
2016-03-24 11:18:00 +0100 Pawel Stolowski (f58008f)
* Merged trunk + bump
2016-03-22 07:48:55 +0000 CI Train Bot (81ff06a)
* Releasing 7.108+16.04.20160322-0ubuntu1
2016-03-22 07:48:50 +0000 Michał Sawicz (ddfbaad)
* Bump changelog Approved by: Unity8 CI Bot, PS Jenkins bot, Lukáš
Tinkl
2016-03-22 07:48:44 +0000 Michał Sawicz (40dff5e)
* Add API for setting keyboard layout+variant on a surface Fixes:
#1491340, #1524400 Approved by: Unity8 CI Bot, Michael
Terry
2016-03-22 07:48:40 +0000 Nick Dedekind (1c230f9)
* Added support for low shell chrome Fixes: #1535397 Approved by: PS
Jenkins bot, Unity8 CI Bot, Gerry Boland
2016-03-22 07:48:30 +0000 Nick Dedekind (1c5cdbd)
* Added setStage for sidestage redesign. Approved by: Unity8 CI Bot,
PS Jenkins bot, Daniel d'Andrada
2016-03-22 07:48:23 +0000 Pawel Stolowski (8ad5c63)
* ValueSliderFilter interface. Approved by: Unity8 CI Bot, Albert
Astals Cid
2016-03-22 07:48:17 +0000 Pawel Stolowski (07c8b07)
* Interface for RangeInputFilter. Approved by: Unity8 CI Bot, Albert
Astals Cid
2016-03-22 07:48:12 +0000 Pawel Stolowski (d00b8f8)
* Base interfaces for filters. Approved by: PS Jenkins bot, Unity8 CI
Bot, Albert Astals Cid
2016-03-17 08:14:03 +0200 Marcus Tomlinson (6c27e92)
* Removed file locking
2016-03-16 12:18:07 +0100 Pawel Stolowski (17d3414)
* Merged filters
2016-03-15 10:51:58 +0200 Marcus Tomlinson (393090d)
* Removed extra whitespace
2016-03-15 10:45:10 +0200 Marcus Tomlinson (50c90b1)
* Try to get a file lock before creating a new g_key_file to simplify
memory management
2016-03-15 10:39:31 +0200 Marcus Tomlinson (5838c5a)
* Fix memory leak
2016-03-15 10:26:38 +0200 Marcus Tomlinson (45368eb)
* Fixed error message for unity-scopes-api tests
2016-03-15 09:41:48 +0200 Marcus Tomlinson (293414d)
* Add file locking
2016-03-15 09:03:51 +0200 Marcus Tomlinson (4b9bc45)
* Add thread safety
2016-03-15 08:57:31 +0200 Marcus Tomlinson (2ab2bb3)
* Added test for sync() exception
2016-03-14 17:28:03 +0100 Pawel Stolowski (a5b33c6)
* Added filters property
2016-03-14 13:39:43 +0200 Marcus Tomlinson (9070fe4)
* Added double methods
2016-03-14 10:12:08 +0200 Marcus Tomlinson (d09ee3c)
* Bump
2016-03-14 10:00:07 +0200 Marcus Tomlinson (4e280cc)
* Small fix
2016-03-14 09:57:48 +0200 Marcus Tomlinson (4666d4e)
* Update doc
2016-03-14 09:46:37 +0200 Marcus Tomlinson (3d08a35)
* Add some special characters to string values
2016-03-14 09:29:06 +0200 Marcus Tomlinson (8989f4d)
* Added tests
2016-03-14 08:32:23 +0200 Marcus Tomlinson (bd48be1)
* Add dirty flag
2016-03-14 07:36:59 +0200 Marcus Tomlinson (be47349)
* Fleshed out set_() methods
2016-03-11 14:06:28 +0100 Michał Sawicz (3d9b2ad)
* Merge lp:~nick-dedekind/unity-api/shell_chrome
2016-03-11 13:09:02 +0100 Michał Sawicz (198303b)
* Bump changelog
2016-03-11 13:02:58 +0100 Pawel Stolowski (748f7f8)
* Merged range-input-filter-iface
2016-03-11 13:00:10 +0100 Pawel Stolowski (5cab70a)
* Merged filter-iface
2016-03-11 12:59:40 +0100 Pawel Stolowski (144b930)
* No changelog change:
2016-03-11 10:39:33 +0000 Nick Dedekind (4059102)
* typo
2016-03-10 12:11:35 +0100 Pawel Stolowski (fb82394)
* Added ExpandableFilterWidgetInterface
2016-03-10 11:26:40 +0100 Pawel Stolowski (802af88)
* Merge range-input-filter-iface
2016-03-10 11:26:13 +0100 Pawel Stolowski (ec61bab)
* Merged filter-iface
2016-03-08 10:28:25 +0200 Marcus Tomlinson (6cd524e)
* Add new set_() method declarations
2016-03-07 17:01:47 +0100 Pawel Stolowski (e0f1843)
* Fix role name in the test
2016-03-07 13:03:10 +0100 Pawel Stolowski (0193dec)
* Bump
2016-03-07 13:01:11 +0100 Pawel Stolowski (cb8de4f)
* Merged trunk
2016-03-07 09:27:45 +0100 Pawel Stolowski (1e493f2)
* Bump
2016-03-07 09:27:25 +0100 Pawel Stolowski (bc08f54)
* Merged trunk
2016-03-03 10:46:51 +0100 Pawel Stolowski (dba5483)
* Fix comment
2016-03-03 10:45:44 +0100 Pawel Stolowski (1198113)
* Rename RoleSocialAttributes to RoleSocialActions
2016-03-02 16:31:08 +0100 Pawel Stolowski (f7e6b90)
* Added RoleSocialAttributes
2016-02-23 12:12:26 +0000 CI Train Bot (8e92c44)
* Releasing 7.107+16.04.20160223-0ubuntu1
2016-02-23 12:12:24 +0000 Pawel Stolowski (ac76df6)
* Removed PreviewStackInterface. Changed ScopeInterface to return
single preview. Approved by: PS Jenkins bot, Albert Astals
Cid
2016-02-23 12:12:15 +0000 Pawel Stolowski (464877c)
* Interface for activationInProgress flag. Fixes: #1537132 Approved
by: PS Jenkins bot, Albert Astals Cid, Unity8 CI Bot
2016-02-22 12:54:03 +0100 Pawel Stolowski (bcfd36f)
* Merged trunk
2016-02-19 16:24:22 +0100 Pawel Stolowski (67a111f)
* Merged range-input-filter-iface
2016-02-19 16:23:23 +0100 Pawel Stolowski (d0fff27)
* Merged filters-iface
2016-02-19 16:22:32 +0100 Pawel Stolowski (86af6b2)
* Merged trunk
2016-02-18 16:46:46 +0100 Pawel Stolowski (c004d6e)
* Merged activation-progress
2016-02-17 17:47:23 +0100 Pawel Stolowski (1314b82)
* Bump version
2016-02-17 17:45:14 +0100 Pawel Stolowski (ae5a615)
* Merged trunk
2016-02-17 14:43:05 +0000 Nick Dedekind (a9a7070)
* whitespace
2016-02-17 13:34:12 +0000 Nick Dedekind (b13e5a7)
* bump version
2016-02-17 12:56:18 +0000 Nick Dedekind (d37775e)
* fixes
2016-02-16 17:40:48 +0000 Nick Dedekind (02f2c58)
* merged with trunk
2016-02-16 12:51:55 +0000 Nick Dedekind (c854570)
* merged with trunk. bump abi
2016-02-16 12:20:49 +0100 Michał Sawicz (3a902d4)
* Bump application API
2016-02-16 02:34:30 +0100 Michał Sawicz (e413265)
* Merge trunk
2016-02-12 16:33:20 +0000 Nick Dedekind (d43a229)
* api bump
2016-02-12 13:27:47 +0000 Nick Dedekind (482d6a7)
* added ShellCrome
2016-02-11 23:53:29 +0000 CI Train Bot (9859642)
* Releasing 7.106+16.04.20160211.1-0ubuntu1
2016-02-11 23:53:25 +0000 Michał Sawicz (67f05fc)
* Bump version for dependants Approved by: Michael Terry, PS Jenkins
bot
2016-02-11 23:53:21 +0000 Daniel d'Andrada (7779bcc)
* MirSurfaceInterface: added size hints Approved by: Unity8 CI Bot,
Michał Sawicz
2016-02-11 23:53:16 +0000 Daniel d'Andrada (d235276)
* Added ApplicationInfoInterface.initialSurfaceSize Fixes: #1532974
Approved by: Nick Dedekind, PS Jenkins bot, Gerry Boland
2016-02-12 00:38:57 +0100 Michał Sawicz (c001f0d)
* Bump application API to 13
2016-02-11 15:06:46 +0100 Pawel Stolowski (f31389b)
* Removed preview stack qml check
2016-02-11 15:00:36 +0100 Pawel Stolowski (f6aa327)
* Remove PreviewStackInterface
2016-02-03 12:31:46 +0100 Pawel Stolowski (78b98ac)
* Don't bump changelog
2016-02-03 09:31:00 -0200 Daniel d'Andrada (49270bd)
* MirSurfaceInterface: added size hints
2016-02-02 16:00:37 -0200 Daniel d'Andrada (742b8c7)
* Added ApplicationInfoInterface.initialSurfaceSize
2016-02-02 18:00:16 +0100 Lukáš Tinkl (f5cbb75)
* fixup docu
2016-02-02 17:59:45 +0100 Lukáš Tinkl (6160150)
* setKeymap() API
2016-01-29 10:32:05 +0100 Pawel Stolowski (53baa3c)
* Added activationInProgress property
2016-01-21 10:40:01 -0600 Nick Dedekind (f2ca568)
* merged with trunk
2016-01-11 10:41:58 +0100 Pawel Stolowski (bcc0bd8)
* Merged range-input
2016-01-11 10:41:43 +0100 Pawel Stolowski (1880dbc)
* Merged filters-iface
2016-01-11 10:40:00 +0100 Pawel Stolowski (723fad8)
* Bump
2016-01-11 10:30:09 +0100 Pawel Stolowski (60204c9)
* Merged range-input
2016-01-11 10:29:35 +0100 Pawel Stolowski (a172757)
* Merged filters-iface
2016-01-11 10:27:52 +0100 Pawel Stolowski (9dcf262)
* Merged trunk
2016-01-04 15:09:55 +0000 CI Train Bot (563ed0e)
* Releasing 7.105+16.04.20160104-0ubuntu1
2016-01-04 15:09:53 +0000 Pawel Stolowski (5800a1a)
* New properties to support more complex cards
2015-12-15 16:21:30 +0100 Pawel Stolowski (a96e544)
* Merged trunk
2015-12-15 12:33:37 +0100 Pawel Stolowski (fcba3d1)
* Merge range-input-iface
2015-12-15 12:33:11 +0100 Pawel Stolowski (97bad27)
* Merged filters-iface
2015-12-15 12:32:47 +0100 Pawel Stolowski (6394b7c)
* Merged trunk
2015-12-14 17:56:28 +0000 Nick Dedekind (b080652)
* version bump
2015-12-14 17:55:51 +0000 Nick Dedekind (141a3b1)
* merged with parent
2015-12-08 13:12:06 +0100 Pawel Stolowski (10acdc0)
* Merged range-input-filter-iface
2015-12-08 13:10:11 +0100 Pawel Stolowski (d1b94dd)
* Merged main branch
2015-12-08 13:09:27 +0100 Pawel Stolowski (c964168)
* Merged trunk
2015-12-07 16:21:29 +0000 CI Train Bot (5c81291)
* Releasing 7.104+16.04.20151207-0ubuntu1
2015-12-07 16:21:27 +0000 Michael Terry (318cadf)
* Added ApplicationInfoInterface::exemptFromLifecycle Fixes: #1518764
Approved by: PS Jenkins bot, Daniel d'Andrada
2015-12-07 16:21:22 +0000 Daniel d'Andrada (832f213)
* Add MirSurfaceItem.fillMode Approved by: Michael Zanetti
2015-12-04 18:24:28 +0100 Pawel Stolowski (00145cc)
* Use doubles for value slider
2015-12-03 14:32:37 -0500 Michael Terry (4a0f358)
* Merge in surfaceItemFillMode2 branch
2015-12-03 14:03:29 -0500 Michael Terry (4ae1e71)
* Fix documentation
2015-12-03 12:07:15 -0500 Michael Terry (5e94568)
* Add new flag exemptFromLifecycle
2015-12-03 10:29:19 +0000 Nick Dedekind (e01a312)
* bump api version
2015-12-03 09:04:13 +0000 Nick Dedekind (143c3f1)
* version bump
2015-12-02 15:49:52 +0000 Nick Dedekind (d0dbcc1)
* merged with trunk
2015-12-02 16:04:53 +0100 Pawel Stolowski (a7bbdaa)
* Renamed SoliderValueRoles enum to Roles
2015-11-30 09:56:02 -0200 Daniel d'Andrada (319c81f)
* Add MirSurfaceItem.fillMode
2015-11-30 10:18:57 +0100 Pawel Stolowski (1fd3a36)
* Merged trunk
2015-11-25 14:13:26 +0000 CI Train Bot (c7069de)
* Releasing 7.103+16.04.20151125-0ubuntu1
2015-11-25 14:13:23 +0000 Michał Sawicz (c3fa30c)
* Added MirMousePointerInterface::setCustomCursor Approved by: Michał
Sawicz
2015-11-25 14:13:19 +0000 Daniel d'Andrada (0ab58b3)
* Added MirMousePointerInterface::handleWheelEvent Approved by: Lukáš
Tinkl, PS Jenkins bot
2015-11-25 11:57:57 +0100 Pawel Stolowski (0c9efbb)
* Merged filters-iface
2015-11-25 11:56:28 +0100 Pawel Stolowski (d5fd1f7)
* Merged trunk
2015-11-24 13:16:16 +0100 Pawel Stolowski (76d137f)
* Ooops again
2015-11-24 12:01:48 +0000 CI Train Bot (c7bd4c1)
* Releasing 7.102+16.04.20151124-0ubuntu1
2015-11-24 12:01:46 +0000 Pawel Stolowski (73910fe)
* Depend on devscripts, needed by licensecheck. Disable licensecheck
on xenial for now. Approved by: PS Jenkins bot, Michi
Henning
2015-11-24 12:55:43 +0100 Pawel Stolowski (eb931cf)
* Ooops again
2015-11-24 12:42:42 +0100 Pawel Stolowski (72eb3d9)
* Ooops, forgot pure virtual methods
2015-11-24 12:25:15 +0100 Pawel Stolowski (62b4689)
* Fix wrong enum value
2015-11-24 11:44:46 +0100 Pawel Stolowski (2b2cc6b)
* Added ValueSliderInterface
2015-11-24 11:27:28 +0100 Pawel Stolowski (30a6de5)
* Added licensecheck bug # in the comment
2015-11-23 11:08:55 +0000 Nick Dedekind (33fd2c7)
* merged with trunk
2015-11-23 11:04:35 +0000 Nick Dedekind (1e5ceb9)
* setStage
2015-11-23 11:40:44 +0100 Pawel Stolowski (5d2ecc2)
* Merged filters-iface
2015-11-23 11:40:09 +0100 Pawel Stolowski (0c1dc78)
* Merged trunk
2015-11-23 11:17:23 +0100 Pawel Stolowski (e8ca5e4)
* Method for resetting filters to defaults
2015-11-23 11:13:22 +0100 Michał Sawicz (67829ff)
* Merge lp:~dandrader/unity-api/mouseWheel
2015-11-20 13:35:35 +0100 Pawel Stolowski (09a7ae4)
* Merged trunk
2015-11-19 12:28:03 -0200 Daniel d'Andrada (8c92671)
* Added MirMousePointerInterface::handleWheelEvent
2015-11-18 13:30:41 +0100 Pawel Stolowski (d805315)
* Also require lsb-release
2015-11-17 15:59:25 +0100 Pawel Stolowski (54f0c07)
* Merged filters-iface branch
2015-11-17 15:59:13 +0100 Pawel Stolowski (2291079)
* Don't pass labels with label changed signals
2015-11-17 15:58:42 +0100 Pawel Stolowski (7f3f8e3)
* Added title to filter base
2015-11-16 11:35:13 +0100 Pawel Stolowski (8d2bda6)
* hasStartValue/hasEndValue as properties. Pass QString as const ref.
2015-11-16 11:16:01 +0100 Pawel Stolowski (22f8fe4)
* Merged filters-iface
2015-11-16 11:15:44 +0100 Pawel Stolowski (e5abed3)
* Merged license-check
2015-11-16 10:45:59 +0100 Pawel Stolowski (ed5dc43)
* Depend on devscripts, disable licensecheck on xenial for now
2015-11-13 12:59:19 +0100 Pawel Stolowski (9e5662f)
* has* and erase* value methods
2015-11-13 11:29:57 +0100 Pawel Stolowski (35a9b8c)
* Getters should be const
2015-11-13 11:07:53 +0100 Pawel Stolowski (ba4607b)
* Properties for labels
2015-11-13 10:48:39 +0100 Pawel Stolowski (c73fb07)
* Use double instead of variant
2015-11-11 16:56:54 -0200 Daniel d'Andrada (8ad064c)
* * Added MirMousePointerInterface::setCustomCursor
2015-11-10 11:39:09 +0100 Pawel Stolowski (9e343ba)
* Merged filters interface branch
2015-11-09 14:40:51 +0000 CI Train Bot (9292f71)
* Releasing 7.102+16.04.20151109-0ubuntu1
2015-11-09 14:40:49 +0000 Albert Astals Cid (0f2a80d)
* New method for in-card actions. Remove obsolete special categories.
Approved by: PS Jenkins bot, Albert Astals Cid
2015-11-06 11:38:40 +0100 Pawel Stolowski (094ce1a)
* Merged trunk
2015-11-02 11:23:43 +0000 CI Train Bot (67679d4)
* Releasing 7.102+16.04.20151102-0ubuntu1
2015-11-02 11:23:41 +0000 Nick Dedekind (f02a78b)
* Support server->client visibility change to stop rendering
(lp:#1475678) Fixes: #1475678 Approved by: PS Jenkins bot
2015-11-02 11:23:34 +0000 Michael Terry (acb7fbb)
* Add new isTouchApp property to ApplicationInfoInterface.
2015-11-02 11:10:43 +0100 Pawel Stolowski (212cc98)
* Merged trunk
2015-11-02 11:10:14 +0100 Pawel Stolowski (ee888e5)
* Bump
2015-10-30 12:56:14 -0400 Michael Terry (77b724d)
* Bump VERSION for unity-shell-application
2015-10-27 16:31:24 +0000 Nick Dedekind (bc99441)
* merged no-touch-no-lifecycle
2015-10-27 11:46:55 -0400 Michael Terry (a8b8b75)
* Merge from trunk
2015-10-27 12:02:42 +0100 Pawel Stolowski (462cf26)
* Merged filters-iface
2015-10-27 10:16:41 +0100 Pawel Stolowski (665b545)
* Merge trunk
2015-10-26 18:26:01 +0000 Nick Dedekind (7651a6e)
* merge with trunk
2015-10-26 14:50:34 +0100 Pawel Stolowski (1da9df6)
* Merged trunk
2015-10-21 11:48:38 +0000 CI Train Bot (30deb62)
* Releasing 7.101+15.10.20151021-0ubuntu1
2015-10-21 11:48:35 +0000 Lukáš Tinkl (b820130)
* Notify about surface name changes Approved by: PS Jenkins bot,
Daniel d'Andrada
2015-10-21 11:48:31 +0000 Daniel d'Andrada (b5bf82d)
* unity/shell/application: add some mouse cursor headers and
properties
2015-10-16 09:14:30 +0200 Pawel Stolowski (a1dfc15)
* Merged trunk
2015-10-13 17:17:39 -0300 Daniel d'Andrada (24e2e54)
* s/Qt::MouseButton/Qt::MouseButtons
2015-10-12 09:22:30 +0100 Nick Dedekind (3bb4bb5)
* reverted enum
2015-10-09 16:25:10 +0200 Pawel Stolowski (23a7bc7)
* Fully-qualified filterType property
2015-10-09 10:30:31 +0200 Pawel Stolowski (ae728ee)
* Removed addSpecialCategory
2015-10-06 18:07:24 +0200 Pawel Stolowski (b88899d)
* Bump version
2015-10-05 14:54:22 +0200 Pawel Stolowski (3ea5f72)
* Merged trunk
2015-10-01 13:12:53 -0400 Michael Terry (7db6fcc)
* Add isTouchApp to application manager roles
2015-10-01 12:24:37 -0400 Michael Terry (49210d7)
* Remove canSuspend
2015-10-01 16:11:20 +0200 Michał Sawicz (bb7ae23)
* Add changelog bit
2015-09-29 13:42:26 -0400 Michael Terry (7430fb1)
* Add canSuspend and isTouchApp to ApplicationInfoInterface
2015-09-29 16:27:02 +0200 Lukáš Tinkl (4c428ac)
* rebase on top of lp:~dandrader/unity-api/mousePointer
2015-09-29 13:34:31 +0200 Lukáš Tinkl (8403aaf)
* notify surface name changes, bump api version
2015-09-29 11:34:49 +0200 Pawel Stolowski (9a46d01)
* Removed unused alt nav properties/methods
2015-09-28 12:07:24 +0200 Pawel Stolowski (2c62c2c)
* Merged all-label-role
2015-09-28 11:35:17 +0200 Pawel Stolowski (fd476c1)
* Oops
2015-09-28 11:17:31 +0200 Pawel Stolowski (6c9315f)
* Added allLabel role to NavigationInterface
2015-09-23 15:05:10 +0100 Nick Dedekind (65176e9)
* removed enum
2015-09-23 14:04:52 +0100 Nick Dedekind (4861561)
* Added visibility to surface interface
2015-09-18 13:00:09 -0300 Daniel d'Andrada (b1290de)
* unity/shell/application: Added mouse pointer related interfaces and
properties
2015-09-18 09:44:39 +0200 Michał Sawicz (125370e)
* Resync trunk
2015-09-16 12:05:47 +0200 Albert Astals Cid (29f37f6)
* move the new enum value at the end
2015-09-16 10:52:18 +0200 Pawel Stolowski (88a3f3b)
* Merged trunk
2015-09-15 11:15:11 +0200 Pawel Stolowski (d8f1d43)
* Merged 15.04 trunk
2015-09-03 08:54:03 +0000 CI Train Bot (d90d310)
* Releasing 7.100+15.10.20150903-0ubuntu1
2015-09-03 08:54:01 +0000 Michał Sawicz (57be0dd)
* No-change rebuild to resync vivid and wily Approved by: Michael
Zanetti
2015-09-03 10:44:35 +0200 Michał Sawicz (de1b8e7)
* Add changelog entry
2015-09-02 17:00:56 +0200 Pawel Stolowski (472b987)
* Merged 15.04 trunk
2015-09-01 12:50:14 +0200 Pawel Stolowski (38570b9)
* primaryNavigationTag
2015-08-31 11:38:53 +0200 Pawel Stolowski (74f4d4c)
* primaryNavigationFilterChanged signal
2015-08-28 17:10:11 +0200 Pawel Stolowski (63541bf)
* New properties for filters
2015-08-28 11:29:46 +0200 Pawel Stolowski (b85aa00)
* Merged trunk
2015-08-27 08:50:45 +0000 CI Train Bot (99e3d3f)
* Releasing 7.100+15.04.20150827-0ubuntu1
2015-08-27 08:50:41 +0000 Daniel d'Andrada (3825d6f)
* Added MirSurface and MirSurfaceItem interfaces Approved by: Gerry
Boland
2015-08-26 08:59:22 +0000 CI Train Bot (1fca6ad)
* Releasing 7.99+15.10.20150826-0ubuntu1
2015-08-26 08:59:20 +0000 Pawel Stolowski (e4b9d0a)
* Change activate/preview methods to take categoryId. Fixes: #1428063
Approved by: PS Jenkins bot
2015-08-19 10:18:09 -0300 Daniel d'Andrada (c6cdc9a)
* Added MirSurface and MirSurfaceItem interfaces
2015-08-14 13:56:38 +0200 Pawel Stolowski (712ef4b)
* Updated changelog
2015-08-14 13:52:07 +0200 Pawel Stolowski (9587f24)
* Change activate/preview methods to take categoryId.
2015-08-12 10:00:36 +0200 Pawel Stolowski (aebc10c)
* Merged 15.04 trunk. bumped version
2015-08-11 14:05:55 +0000 CI Train Bot (bd68ddb)
* Releasing 7.99+15.04.20150811-0ubuntu1
2015-08-11 14:05:51 +0000 Pawel Stolowski (e69cf0b)
* Change activate/preview methods to take categoryId. Fixes: #1428063
Approved by: Xavi Garcia
2015-08-11 16:05:12 +0200 Pawel Stolowski (8430c02)
* Merged trunk-15.04
2015-08-11 14:53:01 +0200 Pawel Stolowski (770af7d)
* Merged 15.04 trunk
2015-08-11 14:52:34 +0200 Pawel Stolowski (a3d2f5c)
* Updated changelog
2015-08-11 14:52:11 +0200 Pawel Stolowski (3359eb2)
* Merged trunk
2015-08-10 17:08:22 +0200 Pawel Stolowski (4e83fb0)
* Merged trunk-15.04
2015-08-10 11:48:49 +0200 Pawel Stolowski (68dcb1b)
* Merged 15.04 trunk
2015-08-10 11:38:25 +0200 Pawel Stolowski (a0be53f)
* Updated changelog
2015-08-07 11:22:58 +0200 Albert Astals Cid (fa499c5)
* version on top
2015-08-07 11:17:19 +0200 Albert Astals Cid (017ab92)
* Merge lp:unity-api
2015-08-06 15:06:51 +0200 Pawel Stolowski (5353c2d)
* Fix version
2015-08-04 15:26:17 +0000 CI Train Bot (ec0f563)
* Releasing 7.99+15.10.20150804-0ubuntu1
2015-08-04 15:26:12 +0000 Daniel d'Andrada (517bd44)
* Add a NO_TESTS options to cmake
2015-08-04 15:26:07 +0000 Daniel d'Andrada (b8f8467)
* Let users of the API suspend & resume individual apps at will
2015-08-03 11:06:27 -0300 Daniel d'Andrada (a1cbbd3)
* Merge trunk
2015-08-03 15:13:18 +0200 Pawel Stolowski (eb5fb53)
* Bump
2015-08-03 15:11:04 +0200 Pawel Stolowski (290cecb)
* Merged trunk
2015-08-03 12:22:16 +0200 Pawel Stolowski (6e4adc3)
* Merged trunk
2015-07-24 09:53:02 +0000 CI Train Bot (fd9fccf)
* Releasing 7.98+15.10.20150724-0ubuntu1
2015-07-24 09:52:59 +0000 Mirco Müller (55b8f64)
* Added alert-API to LauncherItemInterface and LauncherModelInterface
to allow applications to trigger a
wiggle/peeking-animation on their launcher-icon to draw
users attention. Approved by: PS Jenkins bot, Michael
Zanetti
2015-07-21 05:13:26 +0000 CI Train Bot (dca78db)
* Releasing 7.97+15.10.20150721-0ubuntu1
2015-07-21 05:13:24 +0000 Michi Henning (a1ae451)
* Remove dependency on gcc 4.9. Fixes: #1452342 Approved by: Marcus
Tomlinson, PS Jenkins bot, Matthias Klose
2015-07-20 20:57:02 +1000 Michi Henning (bc24844)
* Remove dependency on gcc 4.9 from top-level CMakeLists.txt.
2015-07-20 20:49:36 +1000 Michi Henning (561bd02)
* Removed g++ 4.9 dependency from debian/rules.
2015-07-20 19:35:04 +1000 Michi Henning (2257b30)
* Remove explicit dependency on gcc 4.9.
2015-07-14 12:19:33 +0200 Pawel Stolowski (2e4bc90)
* Take categoryId with activateAction
2015-07-08 14:05:38 +0200 Pawel Stolowski (67b3592)
* Version bump
2015-07-07 14:17:26 +0200 Pawel Stolowski (46e53dd)
* Version bumpl
2015-07-03 11:01:51 -0300 Daniel d'Andrada (299529c)
* Add a NO_TESTS options to cmake
2015-07-02 16:09:32 +0200 Pawel Stolowski (bcb30c2)
* Changed activate/preview methods to take category id
2015-06-23 15:49:04 +0200 Mirco Müller (240610b)
* Bumped ChangeLog
2015-06-19 18:13:00 +0200 Mirco Müller (f78b316)
* Small name-tweak and launcher-api version bump.
2015-06-19 17:50:55 +0200 Albert Astals Cid (cbc0b46)
* Merge lp:unity-api
2015-06-19 09:02:05 -0300 Daniel d'Andrada (3eb304a)
* Changes to application lifecycle APIs
2015-06-18 19:03:45 +0200 Mirco Müller (1c2791e)
* Forgot to add ::alert() and its api-doc.
2015-06-18 18:14:05 +0200 Mirco Müller (e47906c)
* Merged with trunk.
2015-06-12 13:06:29 +0200 Mirco Müller (dc2f123)
* Clean up
2015-06-11 09:11:57 +0000 CI Train Bot (80eb04a)
* Releasing 7.97+15.10.20150611-0ubuntu1
2015-06-11 09:11:55 +0000 Daniel d'Andrada (f102ba6)
* Add supportedOrientations and rotatesWindowContents to
ApplicationInfo Approved by: PS Jenkins bot, Gerry Boland
2015-06-05 11:51:59 +0200 Mirco Müller (1dbfe4d)
* Updated tests to include alerting-related API-changes.
2015-06-02 16:38:55 +0200 Pawel Stolowski (52b684d)
* Added activateAction virtual method
2015-06-02 15:52:49 +0200 Mirco Müller (7b9bafb)
* Added alerting-api to allow apps to trigger an attention-grabbing
animation of their launcher-icon.
2015-05-29 18:21:16 +0200 Michael Zanetti (4a88b35)
* merge trunk
2015-05-29 18:18:12 +0200 Michael Zanetti (8f6ba15)
* bump versions
2015-05-18 17:07:49 +0200 Albert Astals Cid (9b30750)
* This is not a uri now but a "data"
2015-05-18 17:06:05 +0200 Albert Astals Cid (59b6892)
* Typo
2015-05-13 11:55:07 +0200 Albert Astals Cid (1dc6b4f)
* type will come as part of template/components
2015-05-08 15:51:15 +0200 Albert Astals Cid (8a7f102)
* New property to support more complex cards
2015-04-16 13:46:41 -0300 Daniel d'Andrada (c508572)
* Update debian/changelog date & time
2015-04-16 13:14:06 -0300 Daniel d'Andrada (0ee12d6)
* Merge trunk
2015-04-16 13:13:09 -0300 Daniel d'Andrada (27a8d0e)
* Update copyright year
2015-04-16 13:12:29 -0300 Daniel d'Andrada (d23820a)
* Add :native back again
2015-04-16 16:06:43 +0200 Pawel Stolowski (70bc4cf)
* Fixes.
2015-04-16 15:54:34 +0200 Pawel Stolowski (26dde34)
* Added RangeInputFilterInterface.
2015-04-10 16:07:40 +0000 CI Train Bot (b7fc722)
* Releasing 7.96+15.04.20150410.2-0ubuntu1
2015-04-10 16:07:37 +0000 Michi Henning (c32ec40)
* Reverted commit 93 because it cost me a cool 1.5 hours today. Turns
out that libmcheck is not thread-safe and causes the most
amazing crashes in unpredictable ways :-( Approved by:
Pawel Stolowski, PS Jenkins bot
2015-04-02 16:53:27 +0200 Pawel Stolowski (84f3966)
* Fix test failure.
2015-04-02 16:42:29 +0200 Pawel Stolowski (3247f3e)
* More test cases.
2015-04-02 12:54:22 +0200 Pawel Stolowski (83f0bc2)
* Change function order in the test.
2015-04-01 17:22:44 +0200 Pawel Stolowski (73256ee)
* Verify filters model. Minor fixes.
2015-04-01 09:59:40 +0200 Pawel Stolowski (4dcfdf7)
* Fixed filter type property.
2015-03-31 18:40:59 +0200 Pawel Stolowski (abd5dd1)
* Make properties that don't change CONSTANT>
2015-03-26 11:27:13 +0100 Pawel Stolowski (e7925b8)
* Renamed id property to filterId. Added optionsChanged signal.
2015-03-25 14:04:37 +0100 Pawel Stolowski (0007ed5)
* Bumped version in the changelog.
2015-03-25 14:04:26 +0100 Pawel Stolowski (186cac2)
* Use raw pointers in the mock model.
2015-03-25 13:17:04 +0100 Pawel Stolowski (15a2fb5)
* Bump version.
2015-03-25 13:04:53 +0100 Pawel Stolowski (cc7ea53)
* Added mocks. Don't expose update method which leaks scopes API
types.
2015-03-24 15:42:54 +0100 Pawel Stolowski (e7fa494)
* Don't expose selector filter option as object, expose it via
options model rows.
2015-03-13 17:22:56 +0100 Pawel Stolowski (9dabd0d)
* Declare filter base iface metatype
2015-03-13 16:50:54 +0100 Pawel Stolowski (acc688f)
* Fix
2015-03-13 16:45:03 +0100 Pawel Stolowski (f06d80c)
* Fix
2015-03-13 16:26:54 +0100 Pawel Stolowski (ce1ba76)
* Fix
2015-03-13 16:17:03 +0100 Pawel Stolowski (bbeba63)
* Filter type as enum.
2015-03-13 13:45:35 +0100 Pawel Stolowski (7ae9284)
* Added filter type enum.
2015-03-13 13:41:00 +0100 Pawel Stolowski (424477f)
* Added base filter interfaces.
2015-03-10 19:48:43 +1000 Michi Henning (207ddf7)
* Reverted commit 93 because it cost me a cool 1.5 hours today. Turns
out that libmcheck is not threads-safe and causes the most
amazing crashes in unpredictable ways :-(
2015-02-18 12:08:51 -0200 Daniel d'Andrada (b905ab4)
* Merge trunk
2015-02-13 15:15:59 +0000 CI Train Bot (14bd6b7)
* Releasing 7.96+15.04.20150213-0ubuntu1
2015-02-13 15:15:54 +0000 Pawel Stolowski (29b986c)
* Added Scopes::closeScope abstract method. Fixes: #1410337 Approved
by: Albert Astals Cid
2015-02-12 15:27:04 -0200 Daniel d'Andrada (cf7d0c1)
* Drop the ":native" part as PPA's can't handle it
2015-02-12 15:25:26 -0200 Daniel d'Andrada (3e6334b)
* Merge trunk
2015-02-12 18:18:21 +0100 Pawel Stolowski (102112e)
* Merged trunk
2015-02-12 15:51:13 +0100 Pawel Stolowski (0cda171)
* Ups, added closeScope method to the mock.
2015-02-11 16:28:29 +0000 CI Train Bot (d5f2a27)
* Releasing 7.95+15.04.20150211-0ubuntu1
2015-02-11 16:28:20 +0000 Michał Sawicz (d589dbc)
* Add :native to g++ dependency for cross-building and wrap-and-sort
for good measure. Python needs :any, too. Fixes: #1353855
Approved by: Michi Henning
2015-02-11 16:28:12 +0000 Michael Zanetti (de80221)
* add an onlyPinned property to the launcher's api Approved by:
Michael Terry, Michał Sawicz, PS Jenkins bot
2015-02-11 14:41:19 +0100 Michael Zanetti (944c07e)
* bump launcher api version
2015-02-10 09:44:06 +0100 Michał Sawicz (77ca4dd)
* Python → any
2015-02-10 09:31:16 +0100 Michał Sawicz (a5518d0)
* Add :native to g++ dependency for cross-building and wrap-and-sort
for good measure.
2015-02-09 18:17:08 +0100 Michael Zanetti (285d172)
* add onlyPinned property to launcher model
2015-02-04 18:28:06 +0100 Pawel Stolowski (f6c997b)
* Bumped version.
2015-02-04 18:24:55 +0100 Pawel Stolowski (3b06e90)
* Added closeScope to the Scopes iface.
2014-12-08 11:20:48 -0200 Daniel d'Andrada (f94de38)
* Merge trunk
2014-12-05 10:51:44 +0000 CI Train Bot (ce029a5)
* Releasing 7.94+15.04.20141205-0ubuntu1
2014-12-05 10:51:34 +0000 Albert Astals (b4fffc4)
* API for setFavorite/moveFavoriteTo Fixes: #1368670 Approved by:
Pawel Stolowski, Nick Dedekind, PS Jenkins bot
2014-11-05 10:55:55 -0200 Daniel d'Andrada (41ce54a)
* add supportedOrientations and rotatesWindowContents to
ApplicationInfo
2014-11-05 09:33:07 +0100 Albert Astals (e7c3b12)
* Merge
2014-11-04 14:42:57 +0000 CI bot (2ab2cf4)
* Releasing 7.93+15.04.20141104-0ubuntu1
2014-11-04 14:42:43 +0000 Michael Zanetti (6952202)
* Add a signal to the launcher model to hint changes Approved by:
Daniel d'Andrada, PS Jenkins bot
2014-10-22 12:30:55 -0400 Albert Astals (b55c383)
* For the third time i said no const!
2014-10-22 11:49:26 -0400 Albert Astals (1576cdc)
* I said no const
2014-10-22 11:23:38 -0400 Albert Astals (78735f2)
* not const!
2014-10-22 08:18:29 -0400 Albert Astals (bfb1e20)
* changelog
2014-10-22 08:16:52 -0400 Albert Astals (be5295f)
* Merge
2014-10-21 20:03:55 +0200 Michael Zanetti (c68b6ec)
* rename signal
2014-10-20 16:45:26 -0400 Albert Astals (1e251d3)
* Increase version
2014-10-20 14:42:26 -0400 Albert Astals (f0e37e5)
* API for setFavorite/moveFavoriteTo
2014-10-09 12:01:41 +0200 Michael Zanetti (4740f42)
* merge
2014-10-06 16:23:11 +0200 Michael Zanetti (5593b63)
* merge prereq
2014-10-06 16:08:17 +0200 Michael Zanetti (aa634f4)
* bump version properly
2014-10-06 16:06:42 +0200 Michael Zanetti (9d36359)
* add a signal to the launcher to hint changes
2014-10-03 16:52:41 +0000 CI bot (f09b44b)
* Releasing 7.92+14.10.20141003.1-0ubuntu1
2014-10-03 16:52:31 +0000 Michael Zanetti (4576632)
* add a dashActive property to the application API Fixes: 1339883
Approved by: Gerry Boland, PS Jenkins bot, Albert Astals
Cid
2014-09-29 15:39:01 +0200 Michael Zanetti (8d26fe3)
* improve comment
2014-09-29 12:58:06 +0200 Michael Zanetti (4beb536)
* update mock and test
2014-09-29 11:48:07 +0200 Michael Zanetti (593855d)
* dashActive -> forceDashActive
2014-09-29 11:13:40 +0200 Michael Zanetti (30f61ff)
* merge trunk
2014-09-22 17:35:28 +0000 CI bot (6cede52)
* Releasing 7.91+14.10.20140922.1-0ubuntu1
2014-09-22 17:35:13 +0000 Gerry Boland (99020c5)
* ApplicationInfoInterface: add splash screen data Fixes: 1254775
Approved by: Gerry Boland, PS Jenkins bot
2014-09-22 07:26:38 -0300 Daniel d'Andrada (434ef13)
* Merge trunk
2014-09-22 07:24:21 -0300 Daniel d'Andrada (b189558)
* Updated changelog
2014-09-19 13:52:50 +0200 Michael Zanetti (d32e463)
* merge trunk
2014-09-19 13:20:02 +0200 Michael Zanetti (2aeeeb7)
* add dashActive property to application API
2014-09-18 16:42:26 +0000 CI bot (e7196c7)
* Releasing 7.90+14.10.20140918-0ubuntu1
2014-09-18 16:42:15 +0000 Michael Zanetti (df4e4f8)
* Add countVisible property to Launcher API Approved by: Michał
Sawicz, PS Jenkins bot, Albert Astals Cid
2014-09-12 13:59:50 -0300 Daniel d'Andrada (3e3bcf9)
* now it will work
2014-09-12 12:39:14 -0300 Daniel d'Andrada (ea97974)
* Forgot to copy TestUtil's qmldir as well
2014-09-09 12:51:47 -0300 Gerry Boland (7c25ff8)
* Improve documentation
2014-09-09 12:20:52 -0300 Daniel d'Andrada (8523829)
* Correctly test for url and color types
2014-09-09 12:20:36 -0300 Daniel d'Andrada (f01a6c7)
* Test for the existence of the new splash properties
2014-09-09 12:19:15 -0300 Daniel d'Andrada (2f2b00f)
* Ensure TestUtil qml and js files are copied again whenever they're
changed
2014-09-03 19:59:26 -0300 Daniel d'Andrada (8df29c6)
* ApplicationInfoInterface: add splash screen data
2014-09-03 15:29:41 +0200 Michael Zanetti (9b719a4)
* fix property definition
2014-09-03 12:23:52 +0200 Michael Zanetti (4fc7258)
* fix changelog entry
2014-09-03 11:32:41 +0200 Michael Zanetti (40ce8dd)
* proper changelog text
2014-09-02 20:15:11 +0200 Michael Zanetti (62f84cc)
* bump changelog
2014-08-26 15:02:32 +0200 Michael Zanetti (fae81c9)
* update tests
2014-08-26 14:22:17 +0200 Michael Zanetti (b08cd37)
* merge trunk
2014-08-26 13:22:58 +0200 Michael Zanetti (50fbfcc)
* bump launcher api version
2014-08-26 13:21:44 +0200 Michael Zanetti (6e1bded)
* add new requirements for LauncherItems
2014-08-25 07:04:32 +0000 CI bot (3d85eb2)
* Releasing 7.89+14.10.20140825-0ubuntu1
2014-08-25 07:04:16 +0000 CI bot (8343a90)
* Remove all mentions to screenshotting from the API
2014-08-21 11:33:51 -0300 Daniel d'Andrada (759bffa)
* Updated debian/changelog
2014-08-21 11:31:12 -0300 Daniel d'Andrada (a439105)
* Don't touch this stuff, whatever it's used for
2014-08-18 09:41:43 -0300 Daniel d'Andrada (8a26623)
* Update tests
2014-08-13 15:05:37 -0300 Daniel d'Andrada (4d31d65)
* No mentions of screenshot anywhere
2014-08-11 10:39:14 -0300 Daniel d'Andrada (3bc26fe)
* Update unity-shell-application pkg-config version
2014-08-08 06:06:57 -0300 Daniel d'Andrada (08e0678)
* ApplicationInfo - add updateScreenshot() and discardScreenshot()
2014-08-06 19:32:56 +0000 CI bot (ea7fb59)
* Releasing 7.88+14.10.20140806-0ubuntu1
2014-08-06 19:32:46 +0000 Pete Woods (fd364df)
* Scopes interface v4. Approved by: Michał Sawicz, PS Jenkins bot,
Albert Astals Cid
2014-08-04 16:59:13 +0100 Michal Hruby (cfedbf9)
* Added Scope::refresh() method
2014-08-04 15:04:25 +0100 Michal Hruby (4187513)
* Added setNavigationState
2014-08-04 14:58:53 +0100 Michal Hruby (a129265)
* Revert addition of the query properties
2014-08-01 14:09:00 +0100 Michal Hruby (160ccc9)
* Added count property on the Scopes model
2014-08-01 12:39:38 +0100 Michal Hruby (036631e)
* Drop the visible role and property
2014-08-01 08:40:30 +0100 Michal Hruby (4932987)
* Bump version
2014-07-31 16:13:28 +0100 Michal Hruby (af8f7c9)
* Added hidden property to NavigationInterface
2014-07-31 14:39:24 +0100 Michal Hruby (60bffb5)
* Change the favoriting to a single property
2014-07-31 12:29:37 +0100 Michal Hruby (7460de9)
* Fix docs
2014-07-31 11:14:00 +0000 CI bot (4a41ffb)
* Releasing 7.87+14.10.20140731-0ubuntu1
2014-07-31 11:13:51 +0000 Michal Hruby (1e01165)
* Added interface for scopes overview. Approved by: Albert Astals Cid
2014-07-30 17:36:36 +0100 Michal Hruby (8cc5b97)
* Added parentQuery property
2014-07-30 14:09:58 +0100 Michal Hruby (cff5f23)
* s/isFavorited/favorite/
2014-07-30 13:04:30 +0100 Michal Hruby (a58fe6b)
* Fix tests
2014-07-30 12:55:28 +0100 Michal Hruby (30188be)
* Added interface for favouriting a scope
2014-07-29 16:04:30 +0100 Pete Woods (93c8187)
* Just the one status code, simplified list of statuses
2014-07-29 08:14:42 +0100 Michal Hruby (bd41251)
* Merge status addition
2014-07-28 23:20:43 +0100 Michal Hruby (2a6f71d)
* Added one more property
2014-07-28 13:05:10 +0100 Pete Woods (f588cd8)
* Add status and details properties to ScopeInterface
2014-07-25 17:37:38 +0100 Michal Hruby (10cfcec)
* Fix tests
2014-07-25 16:17:40 +0100 Michal Hruby (9e3f750)
* Make things compile
2014-07-25 15:08:42 +0100 Michal Hruby (27a1835)
* Define scopes interface v4
2014-07-24 11:07:43 +0100 Michal Hruby (12c2bec)
* Bump changelog
2014-07-24 11:06:20 +0100 Michal Hruby (390c9a1)
* Merge trunk
2014-07-18 16:20:16 +0000 CI bot (c47c96b)
* Releasing 7.86+14.10.20140718.1-0ubuntu1
2014-07-18 16:20:04 +0000 Michal Hruby (98ae611)
* Require g++4.9 for build to avoid ABI breakage since 4.8. Approved
by: PS Jenkins bot, Michi Henning
2014-07-18 16:46:22 +0100 Michal Hruby (c166f85)
* Allow different gcc micro versions
2014-07-18 13:56:46 +0100 Michal Hruby (9743938)
* It's better when the tests pass
2014-07-18 13:15:12 +0100 Michal Hruby (3f82184)
* Bump version
2014-07-18 13:15:05 +0100 Michal Hruby (1dc5a79)
* Added overlayColor role
2014-07-18 13:14:43 +0100 Michal Hruby (18a0dd8)
* Added overviewScope property
2014-07-18 10:36:22 +0100 Michal Hruby (cd23f38)
* Fix changelog
2014-07-11 17:23:51 -0700 Robert Bruce Park (8a327a2)
* Resolve merge conflicts.
2014-07-08 15:06:25 +0000 CI bot (8aeeedd)
* Releasing 7.85+14.10.20140708-0ubuntu1
2014-07-08 15:06:14 +0000 Michal Hruby (0447335)
* Added definitions for expansion queries. Approved by: PS Jenkins
bot, Michał Sawicz, PS Jenkins bot
2014-07-08 15:06:03 +0000 Pete Woods (ad70bf4)
* Add settings support for shell Approved by: PS Jenkins bot, PS
Jenkins bot, PS Jenkins bot, Michał Sawicz, PS Jenkins
bot, PS Jenkins bot, PS Jenkins bot, Michal Hruby
2014-07-08 15:05:49 +0000 Michi Henning (10503a7)
* A few minor fixes to the doc comments for comparison operators.
Approved by: PS Jenkins bot, PS Jenkins bot, Marcus
Tomlinson
2014-07-08 12:06:08 +0100 Michal Hruby (6b7bf6d)
* Update changelog
2014-07-08 12:02:23 +0100 Michal Hruby (e60c724)
* Rename expansionQuery to headerLink
2014-07-08 10:30:20 +0100 Pete Woods (30ec9a5)
* Add count property to SettingsModelInterface
2014-07-08 09:51:32 +0100 Michal Hruby (07bd4c8)
* Merge lp:~unity-api-team/unity-api/scope-settings-shell
2014-07-04 10:52:10 +0100 Michal Hruby (b08572d)
* Added expansion queries
2014-07-03 11:25:18 +0100 Pete Woods (7692696)
* Remove dead code
2014-07-03 11:21:34 +0100 Pete Woods (5fb8e9c)
* Add basic tests for settings interface
2014-07-03 10:21:19 +0200 Marcus Tomlinson (4149553)
* Bumped correct API version
2014-07-03 07:24:20 +0200 Marcus Tomlinson (d56f7a0)
* Bumped versions
2014-07-03 07:05:36 +0200 Marcus Tomlinson (91dbc92)
* Formatted enum as per Michal's suggestion
2014-07-03 07:03:32 +0200 Marcus Tomlinson (1edb4a2)
* Merged trunk
2014-07-03 07:00:00 +0200 Marcus Tomlinson (2cee33a)
* Merged IniParser changes
2014-07-02 15:17:17 +0000 CI bot (3168a51)
* Releasing 7.84+14.10.20140702.2-0ubuntu1
2014-07-02 15:17:08 +0000 Marcus Tomlinson (5def566)
* Add missing IniParser::get_locale_string_array() method
2014-07-02 16:16:19 +0100 Michal Hruby (bf73535)
* Fix the workaround
2014-07-02 15:50:48 +0100 Michal Hruby (7472d1b)
* Workaround issue with arm64 compiler
2014-07-02 12:35:16 +0100 Michal Hruby (f0c6827)
* Bump versions
2014-07-02 12:33:09 +0100 Michal Hruby (1f0a125)
* Merge trunk
2014-07-02 12:42:23 +0200 Marcus Tomlinson (ade5c63)
* Reverted unity::util changes
2014-07-02 12:41:36 +0200 Marcus Tomlinson (7cd2a0d)
* Reverted unity::shell changes
2014-07-01 17:56:29 +1000 Michi Henning (eb10e1a)
* Set environment variables after all. (I mis-read Jussi's comments.)
2014-07-01 10:43:05 +1000 Michi Henning (167300d)
* Require g++ 4.9 for the build.
2014-06-30 16:28:35 +1000 Michi Henning (b8de439)
* Shorted some lines for readability.
2014-06-30 16:26:50 +1000 Michi Henning (1a53440)
* Added support for localized string arrays to IniParser. Also fixed
test to use correct order of actual and expected values.
2014-06-26 11:05:05 +0000 CI bot (ebe7088)
* Releasing 7.83+14.10.20140626-0ubuntu1
2014-06-26 11:04:55 +0000 Michal Hruby (6d8110e)
* Added customizations property to ScopeInterface.
2014-06-26 09:20:18 +0100 Michal Hruby (01f8ba7)
* Revert the version bump, cause it's was not synced with debian
anyway
2014-06-26 09:46:22 +1000 Michi Henning (b0501c4)
* Oops, a few more corresponding comment fixes.
2014-06-26 09:30:16 +1000 Michi Henning (23f4389)
* Fixed a few doc comments.
2014-06-23 10:09:33 +0100 Michal Hruby (47a63b3)
* Act on review comments
2014-06-20 11:31:18 +0100 Michal Hruby (0513d45)
* Added customizations property
2014-06-16 14:45:10 +0000 CI bot (34881c6)
* Releasing 7.82+14.10.20140616-0ubuntu1
2014-06-16 14:45:00 +0000 Michal Hruby (accaab3)
* Add Departments interfaces Fixes: 1320847
2014-06-12 12:09:00 +0100 Pete Woods (c15f4c0)
* Use writable "value" property instead of explicit "setter"
2014-06-11 18:10:03 +0100 Pete Woods (97dd2bf)
* Add SettingsModelInterface API
2014-05-29 14:25:47 +0200 Albert Astals (8916340)
* Add the two new methods to the test
2014-05-29 12:24:53 +0200 Albert Astals (8781022)
* Changes due to review
2014-05-29 09:28:35 +0200 Albert Astals (1769c94)
* Merge
2014-05-29 09:21:10 +0200 Albert Astals (836fddf)
* Fixed the tag name in case it fails we get a meaningful error
2014-05-29 09:20:15 +0200 Albert Astals (5d9e4d4)
* Forgot these files ^_^
2014-05-28 16:47:43 +0200 Albert Astals (ddc668e)
* Add interfaces for scope departments.
2014-05-28 16:44:30 +0200 Albert Astals (2aa4422)
* docu
2014-05-28 16:39:16 +0200 Albert Astals (c952c3c)
* Add tests
2014-05-28 16:10:14 +0200 Albert Astals (bfc5506)
* Don't change this order
2014-05-28 16:08:06 +0200 Albert Astals (e6117f2)
* compile
2014-05-28 15:58:37 +0200 Michal Hruby (77af39f)
* Added basics of Departments
2014-05-28 10:38:05 +0000 CI bot (4ff3e53)
* Releasing 7.81+14.10.20140528-0ubuntu1
2014-05-28 10:37:57 +0000 Michael Zanetti (e9bf980)
* properly parent MockApplicationInfo objects in the mock plugin. QML
might delete them otherwise.
2014-05-28 10:37:44 +0000 Michael Zanetti (4b191e2)
* properly parent mock items otherwise QML deletes them as of 5.2
Fixes: 1318889
2014-05-23 10:35:43 +0200 Michael Zanetti (6943b7d)
* also properly parent MockApplicationInfo objects
2014-05-22 13:56:31 +0200 Michael Zanetti (1480248)
* properly parent mock items otherwise QML deletes them as of 5.2
2014-05-20 12:05:11 +0000 CI bot (cbdb72d)
* Releasing 7.81+14.10.20140520-0ubuntu1
2014-05-20 12:05:03 +0000 Michal Hruby (62ef2af)
* Scopes API for shell
2014-05-20 12:04:54 +0000 Jussi Pakkanen (89a6e10)
* Add missing include so compilation works with pch disabled.
2014-05-19 13:46:08 +0200 Albert Astals (193eae3)
* better email
2014-05-19 13:45:31 +0200 Albert Astals (15eb6e1)
* TODO
2014-05-19 13:45:10 +0200 Albert Astals (ca9207a)
* get -> getObject or remove if unneeded
2014-05-19 11:24:42 +0200 Albert Astals (8246885)
* Sanitize gets
2014-05-19 10:57:12 +0200 Albert Astals (15fb7bf)
* Forgot to test this method
2014-05-19 10:52:14 +0200 Albert Astals (0cb68d6)
* Row count is abstractlistmodel
2014-05-19 10:47:18 +0200 Albert Astals (87a1228)
* Indentation pedanticness
2014-05-19 10:47:13 +0200 Albert Astals (e9f303a)
* Add the
2014-05-19 10:42:28 +0200 Albert Astals (d81a2e4)
* add a
2014-05-19 10:41:24 +0200 Albert Astals (c1a87df)
* Add some spaces to make reviewer happier :)
2014-05-15 17:22:09 +0200 Albert Astals (3a7d7fd)
* Add interfaces for scopes.
2014-05-15 13:08:10 +0100 Michal Hruby (100a085)
* Drop unneeded method from tests
2014-05-15 13:04:55 +0100 Michal Hruby (23d5891)
* Added docstrings
2014-05-14 10:19:03 +0200 Albert Astals (4d848d6)
* Add chaining constructors
2014-05-14 10:01:50 +0200 Albert Astals (bd7ecbf)
* Make sure the QHash doesn't go away
2014-05-13 15:52:12 +0200 Albert Astals (35d2ca9)
* Add mock + tests
2014-05-13 12:45:29 +0200 Albert Astals (016f519)
* put the rolenames map in the interface too
2014-05-13 11:15:38 +0200 Albert Astals (d159bf9)
* These will be documented with the property
2014-05-13 10:12:28 +0200 Albert Astals (84ccff3)
* Update to 2014 and remove Authors as suggested
2014-05-12 17:03:56 +0200 Albert Astals (07ebbf7)
* change to QString
2014-05-12 16:29:33 +0200 Albert Astals (443e3e2)
* API from unity-scopes-shell
2014-05-05 12:02:22 +0000 CI bot (e4e9544)
* Releasing 7.80.8+14.10.20140505-0ubuntu1
2014-05-05 12:02:12 +0000 Mirco Müller (e056ea2)
* Bump notification interface version because of the added exposure
of NotificationModel's Roles-enum.
2014-05-05 11:15:25 +0200 Mirco Müller (291f79e)
* Merged with trunk.
2014-05-05 10:08:59 +0200 Mirco Müller (87cdda8)
* Another version-bump was needed, because another branch was merged
to trunk before this one.
2014-04-29 17:10:05 +0300 Jussi Pakkanen (0f763f9)
* Added missing mutex.
2014-04-28 17:28:16 +0000 CI bot (e04c491)
* Releasing 7.80.7+14.10.20140428.1-0ubuntu1
2014-04-28 17:28:07 +0000 Michal Hruby (0e53607)
* Implemented IniParser::get_locale_string.
2014-04-28 14:52:06 +0200 Mirco Müller (76178b7)
* Doh
2014-04-28 14:47:04 +0200 Mirco Müller (66b7b55)
* Redone the version-bump for the unity-notification interface.
2014-04-28 14:30:29 +0200 Mirco Müller (3b91de5)
* Merged mhr3's localized-strings branch.
2014-04-28 14:28:13 +0200 Mirco Müller (63416dd)
* Reverted all my changes.
2014-04-23 17:32:46 +0100 Michal Hruby (bc95444)
* Add more tests
2014-04-23 14:24:33 +0100 Michal Hruby (2dd1b1c)
* Implemented IniParser::get_locale_string
2014-04-23 15:00:27 +0200 Mirco Müller (11498f1)
* A upstream version-bump is needed too.
2014-04-16 15:28:18 +0200 Mirco Müller (1d5f484)
* Update debian/changelog entry
2014-04-16 14:36:56 +0200 Mirco Müller (0eb4603)
* Bumped the unity-api version from 0.1.2 to 0.1.3, because the added
exposure of the NotificationModel's Roles-Enum in r126
needs to be trackable by the api-consumers outside.
2014-04-02 17:42:42 +0000 CI bot (dad7fcb)
* Releasing 7.80.6+14.04.20140402-0ubuntu1
2014-04-02 17:42:33 +0000 Mirco Müller (cedfeb3)
* The data-roles of the NotificationModel to should be exposed to
QML.
2014-04-02 17:42:26 +0000 Michi Henning (0151efc)
* Made calls to IniParser constructor and destructor thread-safe.
Without this, if the destructor is called from a different
thread than the constructor, we get complaints from thread
sanitizer.
2014-04-01 22:41:05 +0000 CI bot (48f64e5)
* Releasing 7.80.6+14.04.20140401-0ubuntu1
2014-04-01 22:40:57 +0000 Michael Zanetti (575529a)
* Add API to allow unity8 to control the app focusing states a bit
better and to move the screenshot logic into the
ApplicationManager instead of doing that with QML.
2014-04-01 23:17:30 +0100 Michał Sawicz (2c024ad)
* Tweak changelog to make the bump UNRELEASED.
2014-03-31 18:00:27 +0200 Mirco Müller (4ca2d47)
* Renamed enum to just Roles... added enum verification to
NotificationModel test.
2014-03-25 12:01:07 +0100 Mirco Müller (e601ff9)
* Exposing the data-roles of the NotificationModel to QML... not used
yet directly, but we want to keep things in sync as much
as possible.
2014-03-25 10:57:07 +0100 Michael Zanetti (ff1ec10)
* bump it more
2014-03-25 10:55:32 +0100 Michael Zanetti (9935d10)
* Bump version for Application api changes
2014-03-25 10:54:51 +0100 Michael Zanetti (ff87ae0)
* merge trunk
2014-03-10 13:40:25 +0100 Michael Zanetti (431e3d9)
* fix docs after changing return type
2014-03-10 13:34:16 +0100 Michael Zanetti (1b279ad)
* rename activateApplication() to requestFocusApplication(), also
changing its return value to bool
2014-03-10 13:18:42 +0100 Michael Zanetti (d824fdd)
* change updateScreenshot to return a bool instead of void
2014-03-10 13:09:53 +0100 Michael Zanetti (4cd6497)
* fix typo
2014-03-04 13:52:36 +0000 CI bot (f0f9e1b)
* Releasing 7.80.5+14.04.20140304-0ubuntu1
2014-03-04 13:52:26 +0000 CI bot (99f63d2)
* No change rebuild against Qt 5.2.1.
2014-03-04 11:50:44 +0100 Michael Zanetti (655f1ae)
* bump version for app api
2014-02-18 10:45:14 +1000 Michi Henning (3dad3a5)
* Made calls to IniParser constructor and destructor thread-safe.
Without this, if the destructor is called from a different
thread than the constructor, we get complaints from thread
sanitizer.
2014-02-06 14:59:53 +0100 Michael Zanetti (2459069)
* introduce suspended property to applicationmanager.
2014-02-05 00:00:24 +0100 Michael Zanetti (7a09823)
* merge trunk
2014-01-21 21:04:15 +0000 Automatic PS uploader (d415cd1)
* Releasing 7.80.5+14.04.20140120-0ubuntu1 (revision 119 from
lp:unity-api).
2014-01-20 16:05:43 +0000 Automatic PS uploader (099923b)
* Releasing 7.80.5+14.04.20140120-0ubuntu1, based on r119
2014-01-10 11:23:38 +0100 Michael Zanetti (971c106)
* merge trunk
2014-01-02 03:22:08 +0000 Michi Henning (9418012)
* Removed final semicolon from NONCOPYABLE macro. This makes the
usage consistent with the UNITY_DEFINES_PTRS macro, which
also does not include the semicolon.
2013-12-27 03:28:13 +0000 Jussi Pakkanen (88a3860)
* Remove deprecated NonCopyable base class.
2013-12-27 13:15:35 +1000 Michi Henning (8024076)
* Removed final semicolon from NONCOPYABLE macro. This makes the
usage consistent with the UNITY_DEFINES_PTRS macro, which
also does not include the semicolon.
2013-12-20 17:25:24 +0200 Jussi Pakkanen (9634a52)
* X
2013-12-20 14:36:52 +0100 Michael Zanetti (e5aaf3b)
* update mocks and tests accordingly
2013-12-20 13:26:01 +0200 Jussi Pakkanen (5cd5567)
* Remove deprecated noncopyable class.
2013-12-20 01:33:03 +0000 Automatic PS uploader (e3b28ac)
* Releasing 7.80.5+14.04.20131219.1-0ubuntu1 (revision 116 from
lp:unity-api).
2013-12-19 21:07:55 +0000 Automatic PS uploader (7dc8959)
* Releasing 7.80.5+14.04.20131219.1-0ubuntu1, based on r116
2013-12-17 17:44:00 +0100 Michael Zanetti (0dab331)
* add API for better controlling the app lifecycle flow from within
unity
2013-12-17 11:18:35 +0000 Michal Hruby (f694ee3)
* Expose full version including micro version number in pc file.
2013-12-17 11:18:03 +0100 Michal Hruby (7d303d8)
* Remove extra whitespace
2013-12-17 10:54:46 +0100 Michal Hruby (7c274a4)
* Expose full version including micro version number in pc file
2013-12-17 01:48:32 +0000 Michi Henning (ffd8920)
* Changed unity::Exception to return the same string as
to_string(). This means that it is no longer necessary
to treat unity::Exception differently from std::exception
for structured exception handling: catching std::exception
will catch unity::Exception as well, and call what()
produces the correct result. The pointer returned from
what() remains valid until the next call to what(), or
until the exception is destroyed.
2013-12-17 11:20:22 +1000 Michi Henning (91e2467)
* Fixed email address in changelog.
2013-12-17 08:42:49 +1000 Michi Henning (37ec1c6)
* Another attempt at getting Jenkins to accept the changelog.
2013-12-17 08:25:20 +1000 Michi Henning (79b69e2)
* Merged trunk and resolved conflict.
2013-12-17 05:01:59 +1000 Michi Henning (9a51e7b)
* Shortened changelog message.
2013-12-16 06:27:03 +0000 Jussi Pakkanen (f875680)
* Made noncopyable a macro.
2013-12-16 06:47:17 +1000 Michi Henning (544904a)
* Updated changelog.
2013-12-13 14:04:56 +0200 Jussi Pakkanen (510233b)
* Swith all classes to using the NONCOPYABLE macro.
2013-12-13 13:37:00 +0200 Jussi Pakkanen (7d82f21)
* Added NONCOPYABLE macro.
2013-12-13 14:07:41 +1000 Michi Henning (7acf591)
* Changed unity::Exception to return the same string as to_string().
This means that it is no longer necessary to treat
unity::Exception differently from std::exception for
structured exception handling: catching std::exception
will catch unity::Exception as well, and call what()
produces the correct result. The pointer returned from
what() remains valid until the next call to what(), or
until the exception is destroyed.
2013-12-11 12:28:22 +0100 Michael Zanetti (819fe03)
* update mocks and tests to reflect API change
2013-12-11 12:04:11 +0100 Michael Zanetti (a1480e3)
* add screenshotChanged signal
2013-12-11 12:00:35 +0100 Michael Zanetti (a16336e)
* revert unrelated whitespace change
2013-12-11 11:49:35 +0100 Michael Zanetti (c3ff285)
* proposal for new screenshots api
2013-11-27 10:17:14 +0000 Automatic PS uploader (5b3ccec)
* Releasing 7.80.4+14.04.20131126.2-0ubuntu1 (revision 112 from
lp:unity-api).
2013-11-26 19:42:23 +0000 Automatic PS uploader (701ce54)
* Releasing 7.80.4+14.04.20131126.2-0ubuntu1, based on r112
2013-11-19 10:14:09 +0000 Michal Hruby (7f671d1)
* Added pkg-config variable for shell plugin directory.
2013-11-18 17:34:38 +0000 Michal Hruby (1583b6f)
* Expose the plugindir suffix
2013-11-18 11:36:56 +0000 Michal Hruby (89062b9)
* Add pkg-config variable to get plugin directory
2013-11-18 09:17:17 +0000 Albert Astals (ac65d2e)
* Avoid cmake warnings
2013-11-06 15:21:44 +0100 Albert Astals (d097a60)
* Avoid cmake warnings
2013-10-25 07:33:35 +0000 Michi Henning (7ed6807)
* Removed obsolete doxygen config variable that caused a warning
during the build.
2013-10-23 15:30:24 +1000 Michi Henning (5a031f2)
* Removed obsolete doxygen config variable.
2013-10-21 07:44:13 +0000 Michi Henning (89610f7)
* Fix warning from clang when building libgtest about unused field.
2013-10-21 14:34:38 +1000 Michi Henning (55b8656)
* Fix warning from clang about unused field in gtest.
2013-10-18 08:59:54 +0000 Michi Henning (0b33fa5)
* Don't set -fno-permissive when compiling with clang because clang
produces an "ignored" warning for this flag.
2013-10-18 13:01:29 +1000 Michi Henning (c1e72fb)
* Removed trailing whitespace from previous commit.
2013-10-18 12:33:12 +1000 Michi Henning (c0d77b7)
* Don't -fno-permissive when compiling with clang because clang
produces an "ignored" warning for this flag.
2013-09-27 16:33:50 +0000 Automatic PS uploader (ce311fd)
* Releasing 7.80.3+13.10.20130927.1-0ubuntu1 (revision 106 from
lp:unity-api).
2013-09-27 10:32:57 +0000 Automatic PS uploader (14fac90)
* Releasing 7.80.3+13.10.20130927.1-0ubuntu1, based on r106
2013-09-26 07:17:51 +0000 Michi Henning (92ce4e8)
* Reverting commit 89, which added -D_GLIBCXX_DEBUG. This has truly
hideous consequences when calling cross-library and
passing STL types. If not all libraries involved are
compiled with the same flag, the code links and runs and,
in many cases, will work, except in some cases, where
suddenly the stack gets trashed, the code segfaults on a
memory allocation, or similar.
2013-09-26 12:48:38 +1000 Michi Henning (7b93e89)
* Reverting commit 89, which added -D_GLIBCXX_DEBUG. This has truly
hideous consequences when calling cross-library and
passing STL types. If not all libraries involved are
compiled with the same flag, the code links and runs and,
in many cases, will work, except in some cases, where
suddenly the stack gets trashed, the code segfaults on a
memory allocation, or similar.
2013-09-25 13:48:20 +0000 Michi Henning (350cf9f)
* Changed pkgconfig to use absolute path for Libs, so things will
work if the package is installed in a non-standard
location.
2013-09-25 23:12:27 +1000 Michi Henning (9db69e5)
* Fixed bug from last commit.
2013-09-25 22:40:41 +1000 Michi Henning (603db8d)
* Merged proposed branch.
2013-09-25 22:36:27 +1000 Michi Henning (5d79d9e)
* Addressed Jussi's comment about specifying libdir and includedir
consistently for MR
https://code.launchpad.net/~michihenning/unity-api/fix-pkgconfig/+merge/187433
2013-09-25 11:06:44 +1000 Michi Henning (141a610)
* Changed pkgconfig to use absolute path for Libs, so things will
work if the package is installed in a non-standard
location.
2013-09-12 15:35:15 +0000 Automatic PS uploader (78c9f44)
* Releasing 7.80.3+13.10.20130912-0ubuntu1 (revision 103 from
lp:unity-api).
2013-09-12 13:45:40 +0000 Automatic PS uploader (dea44f8)
* Releasing 7.80.3+13.10.20130912-0ubuntu1, based on r103
2013-09-12 08:24:36 +0000 Michael Zanetti (7bc886a)
* update Launcher API to make use of the new ApplicationManager api.
2013-09-11 17:34:12 +0200 Michael Zanetti (81cc3f1)
* fix cond/endcond
2013-09-11 17:28:22 +0200 Michael Zanetti (84db5d5)
* update Launcher API to make use of the new ApplicationManager api
2013-09-11 02:06:10 +0000 Automatic PS uploader (4cc66e3)
* Releasing 7.80.3+13.10.20130911-0ubuntu1 (revision 101 from
lp:unity-api).
2013-09-11 00:29:43 +0000 Automatic PS uploader (9753781)
* Releasing 7.80.3+13.10.20130911-0ubuntu1, based on r101
2013-09-09 12:15:17 +0000 Gerry Boland (c49b1e0)
* Shell::Application: Apply Q_ENUMS to the Roles enum so
implementations can use it.
2013-09-09 12:59:06 +0200 Gerry Boland (b882d05)
* Shell::Application: Apply Q_ENUMS to the Roles enum so
implementations can use it
2013-09-05 12:32:59 +0000 Automatic PS uploader (c4cfbac)
* Releasing 7.80.3+13.10.20130905.2-0ubuntu1 (revision 99 from
lp:unity-api).
2013-09-05 10:47:48 +0000 Automatic PS uploader (41dd5bf)
* Releasing 7.80.3+13.10.20130905.2-0ubuntu1, based on r99
2013-09-05 09:00:55 +0000 Michael Zanetti (c60a723)
* add focused role to model.
2013-09-04 20:52:27 +0200 Michael Zanetti (ef00cf1)
* add focused role support to launchermodel
2013-09-04 15:34:33 +0000 Michael Zanetti (edfa933)
* add applicationFocused method to LauncherModelInterface.
2013-09-04 15:12:24 +0000 Gerry Boland (ca5d2a8)
* AppManager: change startApplication to return ApplicationInfo, is
useful for shell.
2013-09-04 15:26:40 +0200 Gerry Boland (8b5da36)
* AppManager: change startApplication to return ApplicationInfo, is
useful for shell
2013-09-04 12:39:06 +0200 Michael Zanetti (10bdadf)
* add applicationFocused method to launcher
2013-09-04 05:46:59 +0000 Automatic PS uploader (7fcc148)
* Releasing 7.80.3+13.10.20130904-0ubuntu1 (revision 95 from
lp:unity-api).
2013-09-04 03:02:27 +0000 Automatic PS uploader (50b777d)
* Releasing 7.80.3+13.10.20130904-0ubuntu1, based on r95
2013-09-03 16:00:59 +0000 Gerry Boland (c4e1d5e)
* ApplicationManagerInterface: adjust API to use appId for app
start/stop/focus. Return ApplicationInfoInterface only in
get(index) and the new findApplication(appId) methods.
2013-09-03 15:52:06 +0200 Gerry Boland (d79ab99)
* Rename property focusedApplication to focusedApplicationId
2013-09-03 15:49:52 +0200 Gerry Boland (b6655be)
* Fix doc errors
2013-09-03 15:47:50 +0200 Gerry Boland (b923e7c)
* Remove const from get(index)
2013-09-03 14:20:17 +0200 Gerry Boland (cb6bbd5)
* Missing full stop
2013-09-03 14:17:44 +0200 Gerry Boland (cc8f932)
* ApplicationManagerInterface: adjust API to use appId for app
start/stop/focus. Return ApplicationInfoInterface only in
get(index) and the new findApplication(appId) methods.
2013-09-03 07:47:05 +0000 Automatic PS uploader (2039284)
* Releasing 7.80.3+13.10.20130903.1-0ubuntu1 (revision 93 from
lp:unity-api).
2013-09-03 06:09:20 +0000 Automatic PS uploader (6d874f3)
* Releasing 7.80.3+13.10.20130903.1-0ubuntu1, based on r93
2013-09-02 07:59:49 +0000 Jussi Pakkanen (19addb9)
* Use glibc's memory validator.
2013-09-02 10:12:56 +0300 Jussi Pakkanen (c359d50)
* Use glibc's memory checker.
2013-09-02 05:17:34 +0000 Automatic PS uploader (7b40707)
* Releasing 7.80.3+13.10.20130902-0ubuntu1 (revision 91 from
lp:unity-api).
2013-09-02 02:29:21 +0000 Automatic PS uploader (7aebf0e)
* Releasing 7.80.3+13.10.20130902-0ubuntu1, based on r91
2013-08-30 15:16:44 +0000 Michael Zanetti (b19125f)
* Add Ubuntu.Application API, including tests and a mock
implementation.
2013-08-29 14:54:56 +0200 Michael Zanetti (d69d1b6)
* add moved plugins back
2013-08-29 14:46:31 +0200 Michael Zanetti (e45ba24)
* fixed a copy/paste mistake in comments (LauncherItem ->
ApplicationInfo)
2013-08-29 14:38:58 +0200 Michael Zanetti (b5bd5bc)
* move to Unity.Application, fix tests
2013-08-29 14:27:06 +0200 Michael Zanetti (a23e002)
* fix type, rename start/stopProcess
2013-08-29 13:33:59 +0200 Michael Zanetti (09b2856)
* make it compile, add tests and a mock implementation
2013-08-29 12:07:31 +0200 Michael Zanetti (e1d6634)
* improve app manager's doc
2013-08-29 12:00:16 +0200 Michael Zanetti (c416548)
* make focusedApplication a read only property
2013-08-29 11:44:51 +0200 Michael Zanetti (4115eab)
* worked in feedback from Gerry
2013-08-28 18:16:36 +0200 Michael Zanetti (643c203)
* add applicationmanager and applicationlistmodel
2013-08-28 17:20:20 +0200 Michael Zanetti (472bb7d)
* applicationmanager -> application
2013-08-26 11:02:32 +0000 Automatic PS uploader (d9e4deb)
* Releasing 7.80.3+13.10.20130826.2-0ubuntu1 (revision 89 from
lp:unity-api).
2013-08-26 10:08:34 +0000 Automatic PS uploader (470c42c)
* Releasing 7.80.3+13.10.20130826.2-0ubuntu1, based on r89
2013-08-26 09:41:22 +0000 Jussi Pakkanen (99a4d10)
* Enable validating STL on debug builds.
2013-08-26 10:16:21 +0300 Jussi Pakkanen (29a3cfa)
* Enable validating STL on debug builds.
2013-08-26 07:03:12 +0000 Automatic PS uploader (66b3de9)
* Releasing 7.80.3+13.10.20130826.1-0ubuntu1 (revision 87 from
lp:unity-api).
2013-08-26 06:08:18 +0000 Automatic PS uploader (894f2fa)
* Releasing 7.80.3+13.10.20130826.1-0ubuntu1, based on r87
2013-08-26 05:47:04 +0000 Automatic PS uploader (d0f0c04)
* Releasing 7.80.3+13.10.20130826-0ubuntu1 (revision 86 from
lp:unity-api).
2013-08-26 02:31:24 +0000 Automatic PS uploader (33aceb0)
* Releasing 7.80.3+13.10.20130826-0ubuntu1, based on r86
2013-08-22 16:25:18 +0000 Michael Zanetti (5309228)
* Add setUser method to LauncherModel.
2013-08-22 16:43:49 +0200 Michael Zanetti (a78be62)
* add setUser() to LauncherModel
2013-08-20 11:32:51 +0000 Automatic PS uploader (1e9f8af)
* Releasing 7.80.3+13.10.20130820.2-0ubuntu1 (revision 84 from
lp:unity-api).
2013-08-20 10:09:28 +0000 Automatic PS uploader (474dde9)
* Releasing 7.80.3+13.10.20130820.2-0ubuntu1, based on r84
2013-08-20 07:02:34 +0000 Automatic PS uploader (93a6b95)
* Releasing 7.80.3+13.10.20130820.1-0ubuntu1 (revision 82 from
lp:unity-api).
2013-08-20 06:17:00 +0000 Automatic PS uploader (742cee0)
* Releasing 7.80.3+13.10.20130820-0ubuntu1 (revision 82 from
lp:unity-api).
2013-08-20 06:08:22 +0000 Automatic PS uploader (065098f)
* Releasing 7.80.3+13.10.20130820.1-0ubuntu1, based on r82
2013-08-20 02:08:23 +0000 Automatic PS uploader (4c6ad5e)
* Releasing 7.80.3+13.10.20130820-0ubuntu1, based on r82
2013-08-19 13:40:46 +0000 Michael Zanetti (767d8a4)
* Add a role, clickable to quicklistModel which determines if the
entry can be clicked or not.
2013-08-19 15:29:21 +0200 Michael Zanetti (bdb7305)
* HasAction -> Clickable
2013-08-19 14:48:19 +0200 Michael Zanetti (dbdbf98)
* add a role, hasAction to quicklistModel which determines if the
entry can be clicked or not
2013-08-01 16:47:44 +0000 Automatic PS uploader (363b609)
* Releasing 7.80.3+13.10.20130801-0ubuntu1 (revision 80 from
lp:unity-api).
2013-08-01 14:30:16 +0000 Automatic PS uploader (1c66850)
* Releasing 7.80.3+13.10.20130801-0ubuntu1, based on r80
2013-07-29 08:17:36 +0000 Automatic PS uploader (aa240f5)
* Releasing 7.80.3+13.10.20130729ubuntu.unity.next-0ubuntu1 (revision
79 from lp:unity-api).
2013-07-29 03:40:54 +0000 Automatic PS uploader (50b54be)
* Releasing 7.80.3+13.10.20130729ubuntu.unity.next-0ubuntu1, based on
r79
2013-07-27 06:36:17 +0000 Michi Henning (4bd65de)
* Added UNITY_DEFINES_PTRS (needed by scopes). Added coverage
suppresssion for unreachable line of code.
2013-07-27 06:05:59 +0000 Michi Henning (dfe7cfa)
* Changed DefinesPtrs to a macro. That way, we don't need a virtual
destructor, and the generated typedefs can be used with
POD types. The macro also prevents ambiguous names that
were caused by the template for classes in a derivation
hierarchy.
2013-07-23 11:12:37 +1000 Michi Henning (4b88e52)
* Added UNITY_DEFINES_PTRS (needed by scopes). Added coverage
suppresssion for unreachable line of code.
2013-07-23 10:51:14 +1000 Michi Henning (e435238)
* Changed DefinesPtrs to a macro. That way, we don't need a virtual
destructor, and the generated typedefs can be used with
POD types. The macro also prevents ambiguous names that
were caused by the template for class in a derivation
hierarchy.
2013-07-09 06:02:48 +0000 Automatic PS uploader (abb3c24)
* Releasing 7.80.3+13.10.20130709ubuntu.unity.next-0ubuntu1 (revision
76 from lp:unity-api).
2013-07-09 02:58:47 +0000 Automatic PS uploader (17472c2)
* Releasing 7.80.3+13.10.20130709ubuntu.unity.next-0ubuntu1, based on
r76
2013-07-08 20:18:57 +0000 Michael Zanetti (7e40860)
* more work on launcher API
2013-07-08 18:41:21 +0200 Michael Zanetti (574823c)
* fix indentation in launcher tests
2013-07-08 18:39:41 +0200 Michael Zanetti (4b939dc)
* fix comments
2013-07-08 18:32:22 +0200 Michael Zanetti (a22d1f6)
* fix comments for closing namespace braces
2013-07-08 18:31:33 +0200 Michael Zanetti (e276070)
* remove logic from mocks and tests for it
2013-07-08 18:28:14 +0200 Michael Zanetti (95174cc)
* make roleName maps static to save some CPU cycles
2013-07-08 18:18:17 +0200 Michael Zanetti (c7aa545)
* comment improvement++
2013-07-08 18:12:59 +0200 Michael Zanetti (dabb69f)
* improve some comments
2013-07-08 14:56:01 +0200 Michael Zanetti (087260e)
* quickListIndex -> actionIndex
2013-07-08 14:53:41 +0200 Michael Zanetti (0113068)
* fix typo in comment
2013-07-08 13:29:05 +0200 Michael Zanetti (27032b3)
* some more suggested fixes
2013-07-08 11:10:54 +0200 Michael Zanetti (28af9be)
* introduce appId property for items and use that for write
operations
2013-07-08 09:55:46 +0200 Michael Zanetti (9b57c00)
* bump only the launcher version, not the API's minor version
2013-07-05 17:47:08 +0200 Michael Zanetti (2f6fbae)
* bump it even more
2013-07-05 17:40:08 +0200 Michael Zanetti (d1cc8af)
* bump the version a bit more
2013-07-05 17:30:33 +0200 Michael Zanetti (3f7c39d)
* bump version numbers
2013-07-05 17:18:46 +0200 Michael Zanetti (c338e26)
* move signal spy to top
2013-07-05 17:17:43 +0200 Michael Zanetti (78aa389)
* fix header
2013-07-05 17:15:53 +0200 Michael Zanetti (94c8de7)
* that shouldn't have gone in
2013-07-05 17:14:34 +0200 Michael Zanetti (e63f44f)
* remove the two future roles from the docs. Will come back in
unity9.
2013-07-05 12:24:34 +0200 Michael Zanetti (addb1b8)
* fix include guard
2013-07-04 20:09:06 +0200 Michael Zanetti (c624af8)
* added method triggerQuickListAction
2013-07-04 19:17:46 +0200 Michael Zanetti (a41a96c)
* more work on launcher API
2013-07-03 05:47:40 +0000 Automatic PS uploader (fb82776)
* Releasing 7.80.2+13.10.20130703ubuntu.unity.next-0ubuntu1 to
ubuntu.
2013-07-03 02:35:04 +0000 Automatic PS uploader (ab1cc06)
* Releasing 7.80.2+13.10.20130703ubuntu.unity.next-0ubuntu1, based on
r74
2013-07-02 10:47:19 +0000 Michał Sawicz (d17dd4d)
* Do not require any particular version of boost.
2013-07-02 12:03:10 +0200 Michał Sawicz (eb0a539)
* Do not require any particular boost version
2013-07-02 08:17:42 +0000 Automatic PS uploader (084c6d5)
* Releasing 7.80.2+13.10.20130702ubuntu.unity.next-0ubuntu1 to
ubuntu.
2013-07-02 02:31:07 +0000 Automatic PS uploader (55000f3)
* Releasing 7.80.2+13.10.20130702ubuntu.unity.next-0ubuntu1, based on
r72
2013-06-28 09:41:50 +0000 Didier Roche (c0bb343)
* Add a better package description.
2013-06-28 11:01:24 +0200 Didier Roche (de746b6)
* better package description
2013-06-27 10:48:26 +0000 Automatic PS uploader (b43179b)
* Releasing 7.80.2+13.10.20130627ubuntu.unity.next-0ubuntu1 to
ubuntu.
2013-06-27 09:48:56 +0000 Automatic PS uploader (56e430c)
* Releasing 7.80.2+13.10.20130627ubuntu.unity.next-0ubuntu1, based on
r70
2013-06-27 09:19:39 +0000 Michi Henning (91b30e0)
* Renamed COPYING.LIB -> COPYING. Fixes:
https://bugs.launchpad.net/bugs/1194867.
2013-06-27 08:33:10 +0000 Didier Roche (c44be4e)
* Prepare the package to enter saucy.
2013-06-27 18:21:09 +1000 Michi Henning (621747d)
* Renamed COPYING.LIB -> COPYING.
2013-06-27 07:55:39 +0200 Didier Roche (2002f0e)
* really take trunk version for headers
2013-06-27 07:50:26 +0200 Didier Roche (e1da950)
* remerge with trunk and backout the license header change
2013-06-27 05:47:56 +0000 Michi Henning (34e924d)
* Changed "Lesser GNU General Public License" to "GNU Lesser General
Public License" throughout. Fixed five files that used GPL
instead of LGPL. licensecheck comes up clean now,
reporting LGPL v3 for everything. Fixes:
https://bugs.launchpad.net/bugs/1194867.
2013-06-27 09:47:34 +1000 Michi Henning (7ecfa66)
* Changed "Lesser GNU General Public License" to "GNU Lesser General
Public License" throughout. Fixed five files that used GPL
instead of LGPL. licensecheck comes up clean now,
reporting LGPL v3 for everything.
2013-06-26 15:18:23 +0200 Didier Roche (c83c198)
* add bootstrap commit
2013-06-26 15:16:28 +0200 Didier Roche (14bfd12)
* switch to format source 1, more compatible with dailies
2013-06-26 15:16:14 +0200 Didier Roche (661c9cb)
* use CMAKE_INSTALL_LIB which already has the multiarch magic
2013-06-26 15:08:18 +0200 Didier Roche (a52d82a)
* small debian/rules improvment
2013-06-26 15:05:19 +0200 Didier Roche (45e7ce0)
* add missing debian/copyright headers
2013-06-26 15:04:38 +0200 Didier Roche (f5d61ea)
* control and some licenses fixing, but then, opening a bug for more
license fix needed
2013-06-24 09:48:02 +0000 Michi Henning (c8d83e2)
* Added astyle-config.
2013-06-20 09:48:02 +0000 Jussi Pakkanen (7cdccf9)
* Added ini file parser.
2013-06-20 10:39:49 +0300 Jussi Pakkanen (2465881)
* Merged trunk.
2013-06-20 10:26:31 +0300 Jussi Pakkanen (dec972a)
* Surrendered to astyle.
2013-06-20 10:18:18 +1000 Michi Henning (207f9d0)
* Added astyle-config.
2013-06-19 16:01:24 +0000 Michael Zanetti (59ec1a6)
* Add Launcher API to unity-api.
2013-06-19 15:45:38 +0000 Jussi Pakkanen (9d23136)
* Check for Clang in CMakeLists.txt.
2013-06-19 18:06:31 +0300 Jussi Pakkanen (df06cb0)
* Check clang from within CMakeLists.txt.
2013-06-19 16:59:50 +0200 Michael Zanetti (05c9f50)
* added testcase that checks if the model is here and of correct type
2013-06-19 16:45:12 +0200 Michael Zanetti (19f7861)
* merge trunk
2013-06-19 14:02:08 +0000 Jussi Pakkanen (47dbf29)
* Added precompiled header support to unity-api target.
2013-06-19 15:28:46 +0200 Michael Zanetti (319c507)
* merged saviq's suggestions
2013-06-19 15:28:46 +0300 Jussi Pakkanen (bb09659)
* Merged trunk.
2013-06-19 12:16:12 +0000 Michi Henning (e159f47)
* This changes the build environment to link the tests against a
static version of the library, allows us to write unit
tests for internal classes that are not visible through
the public API (support classes in the internal namespace
that don't have a public pimple facade).
2013-06-19 11:34:53 +0300 Jussi Pakkanen (cb5f93c)
* Merged trunk.
2013-06-19 11:12:33 +0300 Jussi Pakkanen (c2666ac)
* Moved stars and ampersands around.
2013-06-19 10:02:23 +0300 Jussi Pakkanen (390b182)
* Added documentation to precompiled header module.
2013-06-19 08:48:09 +1000 Michi Henning (f4e3547)
* Changed build to use -fPIC only for the source files that go into
the .so and .a libraries. Improved comments and fixed some
typos in comments.
2013-06-18 17:22:30 +0300 Jussi Pakkanen (39b966d)
* Added copyright header for the pch.
2013-06-18 15:17:02 +0300 Jussi Pakkanen (7991aab)
* Made packaging CCache work nicely with pch.
2013-06-18 15:15:32 +0300 Jussi Pakkanen (fae200f)
* Added precompiled header support for unity-api target.
2013-06-18 08:54:49 +0000 Michi Henning (ceeacc7)
* Improved compliance with style guide: function and member function
definitions now with return type, class name, and function
name on one line.
2013-06-18 14:03:26 +1000 Michi Henning (c72c9b4)
* This changes the build environment to link the tests against a
static version of the library, allows us to write unit
tests for internal classes that are not visible through
the public API.
2013-06-18 12:10:19 +1000 Michi Henning (3d69812)
* Improved compliance with style guide: function and member function
definitions now with return type, class name, and function
name on one line.
2013-06-17 08:02:36 +0000 Michi Henning (b501f5e)
* Added missing architecture directory to pkg-config file.
2013-06-17 07:17:54 +0000 Michi Henning (f6f3b17)
* Removed unity::internal::ExceptionImpl and replaced it with
unity::ExceptionImplBase. This allows clients of unity-api
to derive their own exceptions for unity::Exception
without exposing any implementation details (so the ABI
won't break) and still take advantage of implementation
inheritance without having to reimplement all the
functionality of the base class.
2013-06-17 14:55:33 +1000 Michi Henning (f393e6d)
* Merged trunk.
2013-06-14 07:47:36 +0000 Michi Henning (e7b5f8d)
* Changed copyright headers to LGPLv3.
2013-06-14 15:22:11 +1000 Michi Henning (01214d2)
* Merged trunk.
2013-06-14 15:13:38 +1000 Michi Henning (802ebb9)
* Removed unity::internal::ExceptionImpl and replaced it with
unity::ExceptionImplBase.
2013-06-14 10:38:57 +1000 Michi Henning (1fcbb08)
* Added COPYING.LIB with text for LGPLv3 from
http://www.gnu.org/licenses/lgpl.txt
2013-06-14 10:30:12 +1000 Michi Henning (ac710eb)
* Changed include/unity/shell/notifications/CMakeLists.txt to use
${LIBDIR} to install the .pc file in the correct location.
2013-06-13 09:33:34 +0000 Michi Henning (d495cd4)
* Added warning if cppcheck isn't found. Fixes:
https://bugs.launchpad.net/bugs/1190374.
2013-06-13 12:04:03 +0300 Jussi Pakkanen (dced39c)
* Doxygen function grouping.
2013-06-13 11:39:24 +1000 Michi Henning (528131e)
* Trying to get the install working with jenkins...
2013-06-13 11:30:17 +1000 Michi Henning (784bf0d)
* Added Multi-Arch to debian/rules as requested by didrocks. Removed
redundant libdir variable from CMakeLists.txt. Adjusted
libunity-api.pc.in to use LIBDIR.
2013-06-13 08:07:05 +1000 Michi Henning (dc7aca2)
* Changed copyright headers to LGPLv3.
2013-06-13 07:32:35 +1000 Michi Henning (ddcf744)
* Added warning if cppcheck isn't found.
2013-06-12 21:32:09 +0000 Michi Henning (8d8645c)
* Renamed config.h -> DllExport.h. Removed Version.h.cmake, which is
was moldy oldie, now called Version.h.in. Fixes:
https://bugs.launchpad.net/bugs/1185319.
2013-06-11 14:27:37 +0300 Jussi Pakkanen (3c52a66)
* Init count to 0 for extra explicitness.
2013-06-11 12:42:07 +0200 Michael Zanetti (0981a9e)
* some more styling changes
2013-06-11 12:34:58 +0200 Michael Zanetti (2cbd680)
* merge trunk
2013-06-11 12:33:39 +0200 Michael Zanetti (08dbae4)
* "" -> <>
2013-06-11 12:02:37 +0300 Jussi Pakkanen (34547ad)
* Put group name in error message.
2013-06-11 11:40:02 +0300 Jussi Pakkanen (eb65e49)
* Added a space for better output message.
2013-06-11 08:02:44 +0000 Michi Henning (af9cb56)
* Added --check-config to the cppcheck target, so we get better
diagnostics.
2013-06-11 09:56:09 +1000 Michi Henning (b11c234)
* Added --check-config to the cppcheck target, so we get better
diagnostics.
2013-06-10 17:28:30 +0200 Michael Zanetti (c1f86bf)
* fix ret values
2013-06-10 16:23:29 +0200 Michael Zanetti (28dddc1)
* update tests
2013-06-10 16:04:47 +0200 Michael Zanetti (6ae7121)
* fix some more warnings
2013-06-10 15:23:41 +0200 Michael Zanetti (90b6442)
* some more styling
2013-06-10 15:05:29 +0200 Michael Zanetti (2143fd2)
* whitespace--
2013-06-10 14:58:52 +0200 Michael Zanetti (9af0b1f)
* made copyright headers consistent
2013-06-10 14:49:34 +0200 Michael Zanetti (7e8aa7f)
* add documentation for the interface
2013-06-10 14:33:25 +0200 Michael Zanetti (c809454)
* suppress false positives from cppcheck
2013-06-10 14:27:02 +0200 Michael Zanetti (9511e45)
* fix ctor, add progress api
2013-06-10 11:13:05 +0300 Jussi Pakkanen (8a251c6)
* Removed fluff Doxygen comments that are no longer required.
2013-06-10 07:22:47 +0000 Michi Henning (40b22c1)
* Changed doxygen config to ignore symbols in any internal namespace,
so we don't need to add endless @cond/@endcond pairs .
2013-06-08 06:54:19 +1000 Michi Henning (c950da8)
* Changed doxygen config to ignore symbols in any internal namespace,
so we don't need to add endless @cond/@endcond pairs.
2013-06-07 14:30:19 +0300 Jussi Pakkanen (6214dbb)
* Added suppressions for GKeyFile.
2013-06-07 14:12:21 +0300 Jussi Pakkanen (ec3c60f)
* Added Doxygen tags for every single function, even the painfully
obvious ones.
2013-06-07 09:45:47 +0000 Michi Henning (3d491f0)
* Added -g to compile flags when building for coverage. That way,
valgrind and gdb will report line numbers.
2013-06-07 12:09:43 +0300 Jussi Pakkanen (bc07ca6)
* Carry filename around and add it to exception descriptions.
2013-06-07 12:00:40 +0300 Jussi Pakkanen (56f794e)
* Change exception type.
2013-06-07 11:58:08 +0300 Jussi Pakkanen (b22214c)
* Added a few noexcepts.
2013-06-07 11:51:05 +0300 Jussi Pakkanen (00e53fe)
* More allmanisation.
2013-06-07 11:49:35 +0300 Jussi Pakkanen (75e019c)
* Changed exception type.
2013-06-07 11:35:11 +0300 Jussi Pakkanen (9b06ce9)
* Changed exception type.
2013-06-07 11:34:44 +0300 Jussi Pakkanen (2d3fa0d)
* Moved private struct to internal namespace.
2013-06-07 11:07:57 +0300 Jussi Pakkanen (102cbe6)
* Changed to Allman style because opening braces are special little
snowflakes that _need_ a line of their own.
2013-06-07 11:00:05 +0300 Jussi Pakkanen (b447563)
* Fix memory leak.
2013-06-07 10:46:15 +0300 Jussi Pakkanen (fd05853)
* Add file name to exception message.
2013-06-07 10:37:22 +0300 Jussi Pakkanen (3d169c0)
* Made_function_names_underscored.
2013-06-07 09:34:50 +1000 Michi Henning (950f088)
* Added -g to compile flags when building for coverage. That way,
valgrind and gdb will report line numbers.
2013-06-06 16:39:27 +0300 Jussi Pakkanen (e69f66f)
* Check for glib and gtest in public headers.
2013-06-06 16:21:18 +0300 Jussi Pakkanen (5ad6822)
* Removed some leftover code.
2013-06-06 16:20:11 +0300 Jussi Pakkanen (56ffecd)
* Added missing newline.
2013-06-06 15:57:16 +0300 Jussi Pakkanen (0c66e8b)
* Some more tests and documentation.
2013-06-06 15:42:16 +0300 Jussi Pakkanen (da7feb9)
* More IniParser tests.
2013-06-06 15:16:33 +0300 Jussi Pakkanen (1dd4b16)
* First tests for IniParser.
2013-06-06 15:02:05 +0300 Jussi Pakkanen (d51065f)
* Added test fixture for IniParser.
2013-06-06 14:43:49 +0300 Jussi Pakkanen (7d76c86)
* Added class to do ini file parsing.
2013-06-06 08:46:25 +0000 Michi Henning (070224f)
* Removed Version class and hoisted version functions into unity::api
namespace. Fixed doc accordingly.
2013-06-06 11:05:20 +1000 Michi Henning (cfe7792)
* Removed Version class and hoisted version functions into unity/api
namespace. Fixed doc accordingly.
2013-06-05 17:02:57 +0200 Michael Zanetti (880d9cd)
* enable all sample data again
2013-06-05 16:44:42 +0200 Michael Zanetti (188831e)
* fixed and extended tests
2013-06-05 15:07:49 +0200 Michael Zanetti (32b4953)
* added LauncherModelItem, mocks and tests (still failing)
2013-06-04 19:16:59 +0000 Sergio Schvezov (fbccbea)
* This project forked from lp:unity/phablet. Updating the versioning
to reflect that.
2013-06-04 16:09:36 -0300 Sergio Schvezov (0da2f16)
* This project forked from lp:unity/phablet. Updating the versioning
to reflect that.
2013-06-04 16:34:48 +0000 Sergio Schvezov (169cc8a)
* Releasing for saucy.
2013-06-04 18:05:41 +0200 Michael Zanetti (83ccfa8)
* merge trunk
2013-06-04 15:52:11 +0000 Michał Sawicz (37384f5)
* Fix Verifier.qml for more reliable qmltests.
2013-06-04 16:50:08 +0200 Michał Sawicz (2d2ab45)
* Fix Verifier.qml and tst_Notifications.qml to have more reliable
tests
2013-06-04 16:01:51 +0200 Michał Sawicz (c9fee86)
* add some debugs
2013-06-04 02:17:13 -0300 Sergio Schvezov (25e944c)
* Releasing for saucy.
2013-05-30 22:22:50 +1000 Michi Henning (9d9de54)
* Renamed DllExport.h to SymbolExport.h
2013-05-30 08:50:02 +1000 Michi Henning (8fde182)
* Renamed config.h -> DllExport.h. Removed Version.h.cmake, which is
was moldy oldie, now called Version.h.in.
2013-05-29 19:04:51 +1000 Michi Henning (91d4185)
* Jenkins got upset about the libunity-api0.install instructions.
Hopefully, this will fix it.
2013-05-29 18:44:01 +1000 Michi Henning (39eb773)
* Updated the package config files as suggested by Jussi.
2013-05-29 08:42:41 +0000 Michi Henning (af7b470)
* Moved ResourcePtr from internal namespace into public namespace, so
it can be re-used by components outside libunity-api.
2013-05-29 14:45:19 +1000 Michi Henning (c478615)
* Moved ResourcePtr from internal namespace into public namespace, so
it can be re-used by components outside libunity-api.
2013-05-27 12:40:31 +0200 Michael Zanetti (f14f7fc)
* second version of the launcher api draft
2013-05-27 16:02:25 +1000 Michi Henning (e5466b0)
* Added missing architecture directory to package config.
2013-05-22 10:57:32 +0000 Michi Henning (bb1ac2a)
* Fixed check_copyright.sh to not generate bogus reports for
generated files when building in release or coverage mode.
Removed check_whitespace.sh, which is obsolete now. (Same
job is now done by check_whitespace.py.).
2013-05-22 09:02:55 +1000 Michi Henning (4dda452)
* Fixed check_copyright.sh to not generate bogus reports for
generated files when building in release or coverage mode.
Removed check_whitespace.sh, which is obsolete now. (Same
job is now done by check_whitespace.py.)
2013-05-21 08:58:48 +0000 Michi Henning (7440308)
* Made daemonize_me() more robust when called at the file descriptor
limit and when memory is low. Provided strong exception
guarantee for a few more corner cases. Fixed coverage test
for this to not report nonsense. (Previous version had
race conditions; depending on timing, coverage report was
either OK or reported covered things as uncovered.)
Improved test to make sure SIGHUP is correctly restored.
Fixed build errors in release mode due to unused return
values.
2013-05-21 08:51:15 +1000 Michi Henning (8be5f7b)
* Removed recovery if vector throws bad_alloc. If the process is
sailing this close to the wind, it'll probably die in the
next millisecond or so anyway, even if we recover here.
The added complexity isn't worth it.
2013-05-21 08:42:37 +1000 Michi Henning (b0d100e)
* Replaced use of system() to create test files and directories with
libc file I/O calls.
2013-05-20 11:49:09 +1000 Michi Henning (5bd5284)
* Made daemonize_me() more robust when called at the file descriptor
limit and when memory is low. Provided strong exception
guarantee for a few more corner cases. Fixed coverage test
for this to not report nonsense. (Previous version had
race conditions; depending on timing, coverage report was
either OK or reported covered things as uncovered.)
Improved test to make sure SIGHUP is correctly restored.
Fixed build errors in release mode due to unused return
values.
2013-05-17 12:10:20 +0200 Michael Zanetti (bc211d6)
* first draft of the launcher API. To be discussed.
2013-05-17 11:06:29 +1000 Michi Henning (7e4edb6)
* Added strong exception guarantee if working directory was changed
and first fork fails.
2013-05-17 00:28:40 +0000 Michał Sawicz (2690ac8)
* add shell Notifications API and tests.
2013-05-17 00:13:21 +0000 Michał Sawicz (167b15e)
* add QmlTest.cmake and qml TestUtil module.
2013-05-16 13:08:34 +0000 Michał Sawicz (89d1c2e)
* fix some packaging issues and enable multiarch.
2013-05-16 12:57:06 +0000 Michi Henning (f96c9d7)
* Updated version semantics to state that only major version change
indicates ABI incompatibility.
2013-05-16 21:48:42 +1000 Michi Henning (e80b5b0)
* Updated version semantics to state that only major version change
indicates ABI incompatibility.
2013-05-16 12:24:52 +0200 Michał Sawicz (7e2e35d)
* protect ModelInterface and SourceInterface c'tors, too
2013-05-16 09:49:13 +0000 Jussi Pakkanen (2276afa)
* Make line numbers start with 1 rather than 0.
2013-05-16 12:14:49 +0300 Jussi Pakkanen (0540f18)
* Start line numbering at 1 rather than 0.
2013-05-16 08:19:08 +0000 Michi Henning (713c1dd)
* Added generated tests to cppcheck so we don't get bogus reports for
unused functions. Enabled inline suppression of cppcheck
errors. Changed formatting of cppcheck output to include
the name of an error, which makes it easier to write
inline suppressions.
2013-05-16 09:51:36 +0200 Michał Sawicz (7c992ff)
* Protect NotificationInterface constructor and tweak doxygen
comments
2013-05-16 09:43:20 +0200 Michi Henning (85078af)
* doc fixes
2013-05-16 09:15:29 +0200 Michi Henning (2c006ce)
* Added generated tests to cppcheck so we don't get bogus reports for
unused functions. Enabled inline suppression of cppcheck
errors. Changed formatting of cppcheck output to include
the name of an error, which makes it easier to write
inline suppressions.
2013-05-16 09:08:55 +0200 Michał Sawicz (928a343)
* add cppcheck suppression to MockActionModel::rowCount
2013-05-16 09:03:24 +0200 Michał Sawicz (c08d838)
* merge trunk
2013-05-16 06:53:27 +0000 Michi Henning (9c96813)
* Modified includechecker.py to permit a specified set of includes
for a particular sub-tree. This makes it possible to
#include things from Qt in the include files for the shell
interface, but still flag them as illegal for other
include files. Also moved includechecker.py to the
test/headers directory because that's were the other
header-related tests are.
2013-05-16 08:40:53 +0200 Michał Sawicz (32372be)
* merge add-qmltest-util
2013-05-16 08:36:37 +0200 Michał Sawicz (8748dbe)
* fix import path
2013-05-16 08:29:38 +0200 Michał Sawicz (bca2c0e)
* rename "util" to "qmltest"
2013-05-15 21:56:05 +0000 Michi Henning (a869ec5)
* Removed include/unity/scopes subdirectory that shouldn't have been
there. (If anywhere, that dir will eventually go into
unity/api and unity/shell.).
2013-05-16 07:48:58 +1000 Michi Henning (226dd25)
* Fixed broken modifications to includecheck.py (thanks Sawicz!)
2013-05-16 07:06:32 +1000 Michi Henning (83899d2)
* Removed left-behind line for now non-existent include directory.
2013-05-15 15:42:26 +0200 Michał Sawicz (f877757)
* convert the slots to signals to ensure asynchronicity
2013-05-15 15:28:40 +0200 Michał Sawicz (0b3df92)
* send hovered and displayed values to onHovered / onDisplayed and
add documentation
2013-05-15 10:35:10 +0200 Michał Sawicz (47b88b0)
* merge add-qmltest-util
2013-05-15 10:34:31 +0200 Michał Sawicz (795f728)
* fix passing PROPERTIES to add_qml_test
2013-05-15 09:39:52 +0200 Michał Sawicz (f047692)
* merge add-testutil-module
2013-05-15 09:33:03 +0200 Michał Sawicz (106eab0)
* move TestUtil module under test/
2013-05-15 07:29:56 +0000 Michi Henning (b9ac3c5)
* Changed build to build*, so things like buildcoverage and
buildrelease will be ignored and won't cause complaints
when trying to commit.
2013-05-15 12:11:19 +1000 Michi Henning (38bb72e)
* Changed build to build*, so things like buildcoverage and
buildrelease will be ignored and won't cause complaints
when trying to commit.
2013-05-15 12:05:18 +1000 Michi Henning (844693f)
* Removed stale directories that shouldn't have been there in the
first place.
2013-05-15 09:21:45 +1000 Michi Henning (f25f359)
* Modified includechecker.py to permit a specified set of includes
for a particular sub-tree. This makes it possible to
#include things from Qt in the include files for the shell
interface, but still flag them as illegal for other
include fieles. Also moved includechecker.py to the
test/headers directory because that's were the other
header-related tests are.
2013-05-14 10:31:52 +0200 Michał Sawicz (3eb3de2)
* use separate SOVERSION
2013-05-14 10:15:11 +0200 Michał Sawicz (4c91371)
* merge add-qmltest-utils
2013-05-14 10:13:38 +0200 Michał Sawicz (2781802)
* add one more missed dep
2013-05-14 10:12:15 +0200 Michał Sawicz (c1492bb)
* fix c++ and naming style
2013-05-14 09:43:28 +0200 Michał Sawicz (2389eee)
* merge add-qmltest-utils
2013-05-14 09:42:19 +0200 Michał Sawicz (8f66aad)
* add global -DQT_NO_KEYWORDS
2013-05-14 09:38:51 +0200 Michał Sawicz (c117274)
* merge fix-packaging
2013-05-14 09:36:51 +0200 Michał Sawicz (bd63de5)
* depend on python3 directly
2013-05-14 09:36:19 +0200 Michał Sawicz (8f45da8)
* add missing dependencies
2013-05-14 09:27:01 +0200 Michał Sawicz (2662e2d)
* fix style issues
2013-05-14 07:23:12 +0000 Michi Henning (72a5e5c)
* Updated CTestCustom.cmake.in to not run tests under valgrind for
which valgrind doesn't make sense, such as all the scripts
that test headers for various forbidden things. Also
removed stale entries left over from the move from the
phablet tree.
2013-05-14 09:19:00 +0200 Michał Sawicz (fa1f6f1)
* merge trunk
2013-05-14 07:12:45 +0000 Michi Henning (5a4ab1c)
* Minor fixed to README and INSTALL files.
2013-05-14 14:50:08 +1000 Michi Henning (67c4c98)
* Minor updates to build instructions.
2013-05-14 14:32:06 +1000 Michi Henning (e6077cd)
* Removed tests for which valgrind doesn't make sense from the
valgrind target.
2013-05-13 23:27:43 +0000 Michał Sawicz (b5a5053)
* bring changes from lp:unity/phablet in bulk.
2013-05-13 23:15:14 +0000 Michał Sawicz (b56e877)
* add packaging, remove test failing in build environment and fix
CMakeLists.txt.
2013-05-13 18:11:09 +0200 Michał Sawicz (618fd01)
* merge fix-packaging
2013-05-13 18:04:04 +0200 Michał Sawicz (967dbd1)
* enable multiarch installation
2013-05-13 18:03:51 +0200 Michał Sawicz (318d3b6)
* reduce lintian and dpkg warnings
2013-05-13 17:55:56 +0200 Michał Sawicz (cfbc781)
* drop Qt define from base CMakeLists.txt
2013-05-13 17:29:20 +0200 Michał Sawicz (699b55e)
* packaging changes for shell API inclusion
2013-05-13 17:27:42 +0200 Michał Sawicz (f5ec1d5)
* add mock Notifications implementation
2013-05-13 17:27:29 +0200 Michał Sawicz (9f7f5be)
* add Notifications shell API headers
2013-05-13 17:18:30 +0200 Michał Sawicz (bd8aeae)
* add Notifications shell API tests
2013-05-13 16:31:11 +0200 Michał Sawicz (b6367d8)
* add QmlTest and TestUtil module
2013-05-13 14:37:12 +0200 Michał Sawicz (ad3f085)
* merge packaging
2013-05-13 14:24:19 +0200 Michał Sawicz (892b498)
* dummy commit
2013-05-13 14:22:20 +0200 Michał Sawicz (33afde9)
* add packaging, remove test failing in build environment and fix
CMakeLists.txt
2013-05-13 13:39:49 +0200 Michał Sawicz (bb30f2f)
* bring changes from lp:unity/phablet in bulk
2013-04-03 12:01:36 +1000 Michi Henning (6d7aa27)
* Improved doc for Version.h
2013-04-03 11:25:45 +1000 Michi Henning (60ab12d)
* Moved Exception.cpp and UnityExceptions.cpp into correct place in
directory hierarchy. Minor fixes to cmake files.
2013-04-03 11:09:04 +1000 Michi Henning (47a0929)
* Fixed warnings from doxygen about undocumented methods.
2013-04-03 11:00:12 +1000 Michi Henning (c62f274)
* Merged trunk.
2013-04-03 08:52:05 +1000 Michi Henning (d8617ba)
* Fixed doxygen config to include generated headers. Suppressed
doxygen chatter on stdout during build. Improved
documentation for Version.cpp.
2013-04-03 08:26:35 +1000 Michi Henning (442fae3)
* Removed dependency on boost threads library from ResourcePtr. Added
LockAdopter helper class to ResourcePtr.
2013-04-02 13:20:35 +1000 Michi Henning (bd82f79)
* Added final and override keywords as appropriate.
2013-04-02 12:49:04 +1000 Michi Henning (3f24320)
* Improved tests for move constructor and move assignment operator.
2013-03-28 16:10:55 +1000 Michi Henning (add0fbc)
* Improved move copy and move assignment to use std::move.
2013-03-27 08:33:35 +1000 Michi Henning (a1c1f71)
* Fixed typo in doc.
2013-03-27 08:07:23 +1000 Michi Henning (d5c7b1c)
* Changed close_open_fiels() to not throw.
2013-03-27 07:53:21 +1000 Michi Henning (9df57fe)
* Added TODO for hash.
2013-03-27 07:40:56 +1000 Michi Henning (730e912)
* More doc improvements.
2013-03-27 06:55:55 +1000 Michi Henning (bac5bb0)
* Improved documentation.
2013-03-27 06:18:59 +1000 Michi Henning (484b16f)
* Added coverage for DefinesPtrs.
2013-03-27 05:31:48 +1000 Michi Henning (39f6ae6)
* Merged CMake work.
2013-03-26 20:57:35 +1000 Michi Henning (2a9f46d)
* Changed FileIO to allow empty files to be read.
2013-03-26 11:27:40 +0200 Jussi Pakkanen (6f05f1d)
* Use the REQUIRED flag instead of checking manually.
2013-03-18 10:56:00 +0200 Jussi Pakkanen (f2d81b3)
* Build GTest directly instead of using ExternalProject.
2013-03-18 10:24:10 +0200 Jussi Pakkanen (3248dc6)
* Do not require Doxygen.
2013-03-15 21:58:32 +0200 Jussi Pakkanen (88579a8)
* Properly detect threading library instead of just using it blindly.
2013-03-15 21:25:22 +1000 Michi Henning (bd95e61)
* Changed location of output file for daemon test to current dir
(used to be /tmp).
2013-03-15 21:14:42 +1000 Michi Henning (f8946ab)
* More cleanup for cmake.
2013-03-14 22:25:53 +1000 Michi Henning (1f33e2f)
* Added new api namespace and adjusted tree structure. Many cleanups
on the cmake files.
2013-03-14 18:43:39 +1000 Michi Henning (472ad29)
* Moved a lot of Doxygen comments out of header file.
2013-03-14 18:42:15 +1000 Michi Henning (4bf8667)
* Fixed incorrect swap call. (Non-member swap() had no coverage.)`
2013-03-14 18:41:40 +1000 Michi Henning (9031876)
* Removed redundant template<> lines.
2013-03-14 18:41:19 +1000 Michi Henning (a517384)
* Removed left-behind #if 0.
2013-03-14 18:40:09 +1000 Michi Henning (89686f2)
* Backed out gcc 4.6 fix, we won't be using that compiler. Removed
left-behind #if 0 section.
2013-03-14 03:59:05 +1000 Michi Henning (389c339)
* Some renaming in ResourcePtr and documentation improvements. More
tests.
2013-03-14 01:33:30 +1000 Michi Henning (2a36cd4)
* Updated for new build directory naming convention.
2013-03-14 01:31:51 +1000 Michi Henning (616d5bb)
* More minor fixes to cmake files, mainly to add back missing
dependency on libgtest.a.
2013-03-13 21:25:50 +1000 Michi Henning (c86d2e1)
* Fixed cmake issues with Jussi's help.
2013-03-10 13:07:33 +1000 Michi Henning (8dc9ea1)
* Minor renaming for clarity. Fixed race condition with
get_deleter(). Added deleter to the members swapped by
swap().
2013-03-08 05:29:01 +1000 Michi Henning (0ba7c29)
* Moved doxygen comments out of line so the class definition is more
readable. Reordered member functions to be group more
logically.
2013-03-07 17:57:08 +1000 Michi Henning (5e8cb5a)
* Fixed ambiguous comment.
2013-03-07 17:55:03 +1000 Michi Henning (e289c16)
* Fixed off-by-one error.
2013-03-07 13:21:49 +1000 Michi Henning (ce369e5)
* Minor fix for bug in gcc 4.6.
2013-03-07 14:35:58 +1000 Michi Henning (1da3129)
* Initial check-in of build-environment skeleton.
lomiri-api-0.1.1/INSTALL 0000664 0000000 0000000 00000010025 13733104243 0014602 0 ustar 00root root 0000000 0000000 #
# Copyright (C) 2013 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Authored by: Michi Henning
#
-------------------------------------------------------------------------------------
NOTE: Before making changes to the code, please read the README file in its entirety!
-------------------------------------------------------------------------------------
Build dependencies
------------------
See debian/control for the list of packages required to build and test the code.
Building the code
-----------------
The simplest case is:
$ mkdir build
$ cd build
$ cmake ..
By default, the code is built in release mode. To build a debug version, use
$ mkdir builddebug
$ cd builddebug
$ cmake -DCMAKE_BUILD_TYPE=debug ..
$ make
For a release version, use -DCMAKE_BUILD_TYPE=release
To build with the flags for coverage testing enabled:
$ mkdir buildcoverage
$ cd buildcoverage
$ cmake -DCMAKE_BUILD_TYPE=coverage
$ make
Running the tests
-----------------
$ make
$ make test
Note that "make test" alone is dangerous because it does not rebuild
any tests if either the library or the test files themselves need
rebuilding. It's not possible to fix this with cmake because cmake cannot
add build dependencies to built-in targets. To make sure that everything
is up-to-date, run "make" before running "make test"!
To run the tests with valgrind:
$ make valgrind
To get coverage output:
$ make test
$ make coverage-html
This drops the coverage tests into the coveragereport directory. (The coverage-html target is available
only if the code was built with -DCMAKE_BUILD_TYPE=coverage.)
Note that, with gcc 4.7.2 and cmake 2.8.10, you may get a bunch of
warnings. To fix this, you can build cmake 2.8.10 with the following patch:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=61ace1df2616e472d056b302e4269cbf112fb020#patch1
Unfortunately, it is not possibly to get 100% coverage for some files,
mainly due to gcc's generation of two destructors for dynamic and non-
dynamic instances. For abstract base classes and for classes that
prevent stack and static allocation, this causes one of the destructors
to be reported as uncovered.
There are also issues with some functions in header files that are
incorrectly reported as uncovered due to inlining, as well as
the impossibility of covering defensive assert(false) statements,
such as an assert in the default branch of a switch, where the
switch is meant to handle all possible cases explicitly.
If you run a binary and get lots of warnings about a "merge mismatch for summaries",
this is caused by having made changes to the source that add or remove code
that was previously run, so the new coverage output cannot sensibly be merged
into the old coverage output. You can get rid of this problem by running
$ make clean-coverage
This deletes all the .gcda files, allowing the merge to succeed again.
If lcov complains about unrecognized lines involving '=====',
you can patch geninfo and gcovr as explained here:
https://bugs.launchpad.net/gcovr/+bug/1086695/comments/2
To run the static C++ checks:
$ make cppcheck
Installation
------------
To get files that form part of an installation, run a "make install"
in the build directory. By default, this installs them in the "install"
subdirectory of the build directory. If you want to install into a
different directory, use
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local # Or wherever...
$ make release
$ make install
lomiri-api-0.1.1/Jenkinsfile 0000664 0000000 0000000 00000006010 13733104243 0015734 0 ustar 00root root 0000000 0000000 pipeline {
agent any
stages {
stage('Build source') {
steps {
sh '/usr/bin/build-source.sh'
stash(name: 'source', includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt')
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
}
}
stage('Build binary - armhf') {
steps {
parallel(
"Build binary - armhf": {
node(label: 'arm64') {
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
unstash 'source'
sh '''export architecture="armhf"
build-binary.sh'''
stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-armhf')
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
}
},
"Build binary - arm64": {
node(label: 'arm64') {
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
unstash 'source'
sh '''export architecture="arm64"
build-binary.sh'''
stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-arm64')
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
}
},
"Build binary - amd64": {
node(label: 'amd64') {
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
unstash 'source'
sh '''export architecture="amd64"
build-binary.sh'''
stash(includes: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt', name: 'build-amd64')
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
}
}
)
}
}
stage('Results') {
steps {
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
unstash 'build-armhf'
unstash 'build-arm64'
unstash 'build-amd64'
archiveArtifacts(artifacts: '*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo', fingerprint: true, onlyIfSuccessful: true)
sh '''/usr/bin/build-repo.sh'''
}
}
stage('Cleanup') {
steps {
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, deleteDirs: true)
}
}
}
}
lomiri-api-0.1.1/NEWS 0000664 0000000 0000000 00000000736 13733104243 0014260 0 ustar 00root root 0000000 0000000 Overview of changes in lomiri-api 0.1.1
- Add multi monitor and workspace API.
- Add AttachedState state enum.
- Add D-Bus sanitize helpers.
- Make sure to export D-Bus and Snap APIs.
- GioMemory_test: print error from Glib
- Remove smart pointer for GRefString.
- Do not hardcode the actual values, and string representation
of errno constants, as they are implementation-defined.
Overview of changes in lomiri-api 0.1.0
- Fork / renamed from unity-api.
lomiri-api-0.1.1/README 0000664 0000000 0000000 00000023144 13733104243 0014437 0 ustar 00root root 0000000 0000000 #
# Copyright (C) 2013 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Authored by: Michi Henning
#
This is an explanation of the layout of the source tree, and the
conventions used by this library. Please read this before making changes
to the source!
For instructions on how to build the code, see the INSTALL file.
Build targets
-------------
The build produces the Lomiri API library (liblomiri-api).
TODO: Flesh this out
Source tree layout
------------------
At the top level, we have src, include, and test, which contain what
they suggest.
Underneath src and include, we have subdirectories that correspond to
namespaces, that is, if we have src/internal, that automatically means
that there is a namespace lomiri::scopes::internal. This one-to-one correspondence
makes it easier to work out what is defined where.
Namespaces
----------
The library maintains a compilation firewall, strictly separating
external API and internal implementation. This reduces the chance of
breaking the API, and it makes it clear what parts of the API are for
public consumption.
Anything that is not public is implemented in a namespace called "internal".
TODO: More explanation of the namespaces used and for what.
Header file conventions
-----------------------
All header files are underneath include/lomiri. Source code always includes
headers using the full pathname, for example:
#include
All source code uses angle brackets (<...>) for #include
directives. Double quotes ("...") are never used because the lookup
semantics can be surprising if there are any headers with the same name
in the tree. (Not that this should happen, but it's better to be safe. If
there are no duplicate names, inclusion with angle brackets behaves the
same way as inclusion with double quotes.)
All headers that are for public consumption appear in include/lomiri/*
(provided the path does not include "internal").
Public header directories contain a private header directory called
"internal". This directory contains all the headers that are private
and specific to the implementation.
No public header file is allowed to include any header from one of the
internal directories. (Doing so would break the compilation firewall
and also prevent API clients from compiling because the internal headers
are not installed when lomiri is deployed. (This is enforced by the tests.)
All header files, whether public or internal, compile stand-alone, that
is, no header relies on another header being included first in order to
compile. (This is enforced by the tests.)
Compilation firewall
--------------------
Public classes use the pimpl (pointer-to-implemtation) idiom, also
known as "envelope-letter idiom", "Cheshire Cat", or "Compiler firewall
idiom". This makes it less likely that an update to the code will break
the ABI.
Many classes that are part of the public API contain only one private data
member, namely the pimpl. No other data members (public, protected,
or private) are permitted.
For public classes with shallow-copy semantics (classes that are
immutable after instantiation), the code uses std::shared_ptr as the
pimpl type because std::shared_ptr provides the correct semantics. (See
lomiri::Exception and its derived classes for an example.)
For classes that are non-copyable, std::unique_ptr is used as the
pimpl type.
If classes form derivation hierarchies, by convention, the pimpl is a
private data member of the root base class. Derived classes can access the
pimpl by calling the protected pimpl() method of the root base class. This
avoids redundantly storing a separated pimpl to the derived type in each
derived class. Instead, polymorphic dispatch to virtual methods in the
derived classes is achieved by using a dynamic_cast to the derived
type to forward an invocation to the corresponding virtual method in
the derived implementation class.
Error handling
--------------
No error codes, period. All errors are reported via exceptions. All
exceptions thrown by the library are derived from lomiri::Exception (which
is abstract). lomiri::Exception provides a to_string() method. This method
returns the exception history and prints all exceptions that were raised
along a particular throw path, even if a low-level exception was caught
and translated into a higher level exception. This works for exceptions
derived from std::nested_exception. (The exception chaining ends when it
encounters an exception that does not derive from std::nested_exception.)
If API clients intercept lomiri exceptions and rethrow their own exceptions,
it is recommended that API clients derive their exceptions from
lomiri::Exception or, alternatively, derive them from std::nested_exception
and implement a similar to_string() operation that, if it encounters a
lomiri::Exception while following a chain, calls the to_string() method on
lomiri::Exception. That way, the entire exception history will be returned
from to_string().
Functions that throw exceptions should, if at all possible, provide
the strong exception guarantee. Otherwise, they must provide the basic
(weak) exception guarantee. If it is impossible to maintain even the basic
guarantee, the code must call abort() instead of throwing an exception.
Resource management
-------------------
The code uses the RAII (resource acquisition is initialization)
idiom extensively. If you find yourself writing free, delete, Xfree,
XCloseResource, or any other kind of clean-up function, your code has a
problem. Instead of explictly cleaning up in destructors, *immediately*
assign the resource to a unique_ptr or shared_ptr with a custom deleter.
This guarantees that the resource will be released without having to
remember anything. In particular, it guarantees that the resource
will be released even if allocated in a constructor near the beginning
and something called by the constructor throws before the constructor
completes.
For resources that cannot be managed by unique_ptr or shared_ptr
(because the allocator does not return a pointer or returns a
pointer to an opaque type), use the RAII helper class in ResourcePtr.h.
It does much the same thing as unique_ptr, but is more permissive
in the types it can manage.
Note the naming convention established by util/DefinesPtrs.h. All
classes that return or accept smart pointers derive from DefinesPtrs,
which is a code injection template that creates typedefs for Ptr and
UPtr (shared_ptr and unique_ptr, respectively) as well as CPtr and UCPtr
(shared_ptr and unique_ptr to constant instances).
Ideally, classes are fully initialized by their constructor so it is
impossible for a class to exist but not being in a usable state.
For some classes, it is unavoidable to provide a default constructor (for
example, if we want to put instances into an array). It is also sometimes
impossible to fully construct an instance immediately, for example if
the instance is member variable and the necessary initialization data
is not available until some time afterwards.
In this case, the default constructor must initialize the class to
a fail-safe state, that is, it must behave sanely in the face of
methods being invoked on it. This means that calling a method on a
default-constructed instance should throw a logic exception to
indicate to the caller that the instance is not fully initialized yet.
Note that turning method calls on not-yet-initialized instances into
no-ops is usually a bad idea: the caller thinks that everything worked
fine when, in fact, it did nothing. If such no-op methods do something
sensible (that is, they can do their job even on an incompletely
initialized instance), this begs the question of why the instance wasn't
default-constructible in the first place...
To sum it up: try to enforce complete initialization from the
constructor wherever possible. If it is impossible to do that, follow
the principle of least surprise for the caller if a method is called on
a not-yet-initialized instance.
Loose ends
----------
Things that need fixing or checking are marked with a TODO comment in
the code.
Things that are work-arounds for bugs in the compiler or libraries are
marked with a BUGFIX comment.
Things that are dubious in some way with no better solution available
are marked with a HACK comment.
Style
-----
Consider running astyle over the code before checking it in.
See astyle-config for more details.
Versioning
----------
When adding API, remember to both bump:
- the debian/changelog version and
- the VERSION field in the relevant CMakeLists.txt file
Test suite
----------
The test suite lives underneath the test directory.
test/headers contains tests relating to header file integrity.
test/gtest contains the C++ tests (which use Google test).
The Google gtest authors are adamant that it is a bad idea to just
link with a pre-installed version of libgtest.a. Therefore, libgtest.a
(and libgtest_main.a) are created as part of the build and can be found
in test/gtest/libgtest.
See the INSTALL file for how to run the tests, particularly the caveat
about "make test" not rebuilding the tests!
Building and installing the code
--------------------------------
See the INSTALL file.
lomiri-api-0.1.1/astyle-config 0000664 0000000 0000000 00000002166 13733104243 0016247 0 ustar 00root root 0000000 0000000 # Options for formatting code with astyle.
#
# This helps to make code match the style guide.
#
# Use like this:
#
# astyle --options=astyle-config mfile.h myfile.cpp
#
# Occasionally, astyle does something silly (particularly with lambdas), so it's
# still necessary to scan the changes for things that are wrong.
# But, for most files, it does a good job.
#
# Please consider using this before checking code in for review. Code reviews shouldn't
# have to deal with layout issues, they are just a distraction. It's better to be able
# to focus on semantics in a code review, with style issues out of the way.
--formatted
--style=allman
--min-conditional-indent=2
--indent-switches
--max-instatement-indent=80
--pad-header
--align-pointer=type
--align-reference=type
--add-brackets
--convert-tabs
--close-templates
--max-code-length=132
# --pad-oper
#
# Commented out for now. It changes
#
# for (int i=0; i<10; ++i)
# to
# for (int i = 0; i < 10; ++i)
#
# Unfortunately, it also messes with rvalue references:
#
# ResourcePtr& operator=(ResourcePtr&& r);
#
# becomes:
#
# ResourcePtr& operator=(ResourcePtr && r);
lomiri-api-0.1.1/cmake/ 0000775 0000000 0000000 00000000000 13733104243 0014633 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/cmake/modules/ 0000775 0000000 0000000 00000000000 13733104243 0016303 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/cmake/modules/PrecompiledHeaders.cmake 0000664 0000000 0000000 00000011020 13733104243 0023036 0 ustar 00root root 0000000 0000000 # This module enables precompiled headers. To use:
#
# include(pch)
# add_pch( ) # Optional
#
# For example:
#
# include(pch)
# add_pch(pch/pch_sys_headers.hh mylibrary)
#
# pch_sys_headers.hh must contain a list of #includes for system headers
# that should be precompiled, such as
#
# #include
# #include
# ...
#
# Due to various limitations this implementation only works
# with C++. It is also strongly recommended that the suffix
# of your pch file should be .hh rather than .h.
function(get_gcc_flags target_name)
# CMake does not provide an easy way to get all compiler switches,
# so this function is a fishing expedition to get them.
# http://public.kitware.com/Bug/view.php?id=1260
if(CMAKE_CXX_COMPILER_ARG1)
set(compile_args ${CMAKE_CXX_COMPILER_ARG1})
else()
set(compile_args "")
endif()
if(CMAKE_CXX_COMPILER_ARG2)
list(APPEND compile_args ${CMAKE_CXX_COMPILER_ARG2})
endif()
list(APPEND compile_args ${CMAKE_CXX_FLAGS})
string(TOUPPER "${CMAKE_BUILD_TYPE}" buildtype_name)
if(CMAKE_CXX_FLAGS_${buildtype_name})
list(APPEND compile_args ${CMAKE_CXX_FLAGS_${buildtype_name}})
endif()
get_directory_property(dir_inc INCLUDE_DIRECTORIES)
foreach(item ${dir_inc})
LIST(APPEND compile_args "-I" ${item})
endforeach()
get_directory_property(dir_defs COMPILE_DEFINITIONS)
foreach(item ${dir_defs})
list(APPEND compile_args -D${item})
endforeach()
get_directory_property(dir_buildtype_defs COMPILE_DEFINITIONS_${buildtype_name})
foreach(item ${dir_buildtype_defs})
list(APPEND compile_args -D${item})
endforeach()
get_directory_property(buildtype_defs COMPILE_DEFINITIONS_${buildtype_name})
foreach(item ${buildtype_defs})
list(APPEND compile_args -D${item})
endforeach()
get_target_property(target_type ${target_name} TYPE)
if(${target_type} STREQUAL SHARED_LIBRARY)
list(APPEND compile_args ${CMAKE_CXX_COMPILE_OPTIONS_PIC})
endif()
get_target_property(target_defs ${target_name} COMPILE_DEFINITIONS)
if(target_defs)
foreach(item ${target_defs})
list(APPEND compile_args -D${item})
endforeach()
endif()
get_target_property(target_buildtype_defs ${target_name} COMPILE_DEFINITIONS_${buildtype_name})
if(target_buildtype_defs)
foreach(item ${target_buildtype_defs})
list(APPEND compile_args -D${item})
endforeach()
endif()
get_target_property(target_flags ${target_name} COMPILE_FLAGS)
if(target_flags)
list(APPEND compile_args ${target_flags})
endif()
set(compile_args ${compile_args} PARENT_SCOPE)
#message(STATUS ${compile_args})
endfunction()
function(add_pch_linux header_filename target_name pch_suffix)
set(gch_target_name "${target_name}_pch")
get_filename_component(header_basename ${header_filename} NAME)
set(gch_filename "${CMAKE_CURRENT_BINARY_DIR}/${header_basename}.${pch_suffix}")
get_gcc_flags(${target_name}) # Sets compile_args in this scope. It's even better than Intercal's COME FROM!
#message(STATUS ${compile_args})
list(APPEND compile_args -c ${CMAKE_CURRENT_SOURCE_DIR}/${header_filename} -o ${gch_filename})
separate_arguments(compile_args)
add_custom_command(OUTPUT ${gch_filename}
COMMAND ${CMAKE_CXX_COMPILER} ${compile_args}
DEPENDS ${header_filename})
add_custom_target(${gch_target_name} DEPENDS ${gch_filename})
add_dependencies(${target_name} ${gch_target_name})
# Add the PCH to every source file's include list.
# This is the only way that is supported by both GCC and Clang.
set_property(TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -include ${header_basename}")
set_property(TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -Winvalid-pch")
set_property(TARGET ${target_name} APPEND PROPERTY INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR})
endfunction()
include(CheckCXXSourceCompiles)
CHECK_CXX_SOURCE_COMPILES("#ifdef __clang__\n#else\n#error \"Not clang.\"\n#endif\nint main(int argc, char **argv) { return 0; }" IS_CLANG)
if(UNIX)
if(NOT APPLE)
option(use_pch "Use precompiled headers." TRUE)
endif()
endif()
if(use_pch)
message(STATUS "Using precompiled headers.")
if(IS_CLANG)
set(precompiled_header_extension pch)
else()
set(precompiled_header_extension gch)
endif()
macro(add_pch _header_filename _target_name)
add_pch_linux(${_header_filename} ${_target_name} ${precompiled_header_extension})
endmacro()
else()
message(STATUS "Not using precompiled headers.")
macro(add_pch _header_filename _target_name)
endmacro()
endif()
lomiri-api-0.1.1/cmake/modules/QmlTest.cmake 0000664 0000000 0000000 00000006542 13733104243 0020705 0 ustar 00root root 0000000 0000000 # add_qml_test(path component_name [NO_ADD_TEST] [NO_TARGETS]
# [TARGETS target1 [target2 [...]]]
# [IMPORT_PATHS import_path1 [import_path2 [...]]
# [PROPERTIES prop1 value1 [prop2 value2 [...]]])
#
# NO_ADD_TEST will prevent adding the test to the "test" target
# NO_TARGETS will prevent adding the test to any targets
# TARGETS lists the targets the test should be added to
# IMPORT_PATHS will pass those paths to qmltestrunner as "-import" arguments
# PROPERTIES will be set on the target and test target. See CMake's set_target_properties()
#
# To change/set a default value for the whole test suite, prior to calling add_qml_test, set:
# qmltest_DEFAULT_NO_ADD_TEST (default: FALSE)
# qmltest_DEFAULT_TARGETS
# qmltest_DEFAULT_IMPORT_PATHS
# qmltest_DEFAULT_PROPERTIES
find_program(qmltestrunner_exe qmltestrunner)
if(NOT qmltestrunner_exe)
message(FATAL_ERROR "Could not locate qmltestrunner.")
endif()
macro(add_qml_test SUBPATH COMPONENT_NAME)
set(options NO_ADD_TEST NO_TARGETS)
set(multi_value_keywords IMPORT_PATHS TARGETS PROPERTIES)
cmake_parse_arguments(qmltest "${options}" "" "${multi_value_keywords}" ${ARGN})
set(qmltest_TARGET test${COMPONENT_NAME})
set(qmltest_FILE ${SUBPATH}/tst_${COMPONENT_NAME})
set(qmltestrunner_imports "")
if(NOT "${qmltest_IMPORT_PATHS}" STREQUAL "")
foreach(IMPORT_PATH ${qmltest_IMPORT_PATHS})
list(APPEND qmltestrunner_imports "-import")
list(APPEND qmltestrunner_imports ${IMPORT_PATH})
endforeach(IMPORT_PATH)
elseif(NOT "${qmltest_DEFAULT_IMPORT_PATHS}" STREQUAL "")
foreach(IMPORT_PATH ${qmltest_DEFAULT_IMPORT_PATHS})
list(APPEND qmltestrunner_imports "-import")
list(APPEND qmltestrunner_imports ${IMPORT_PATH})
endforeach(IMPORT_PATH)
endif()
set(qmltest_command
${qmltestrunner_exe} -input ${CMAKE_CURRENT_SOURCE_DIR}/${qmltest_FILE}.qml
${qmltestrunner_imports}
-o ${CMAKE_BINARY_DIR}/${qmltest_TARGET}.xml,xunitxml
-o -,txt
)
add_custom_target(${qmltest_TARGET} ${qmltest_command})
if(NOT "${qmltest_PROPERTIES}" STREQUAL "")
set_target_properties(${qmltest_TARGET} PROPERTIES ${qmltest_PROPERTIES})
elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "")
set_target_properties(${qmltest_TARGET} PROPERTIES ${qmltest_DEFAULT_PROPERTIES})
endif()
if("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE")
add_test(${qmltest_TARGET} ${qmltest_command})
if(NOT "${qmltest_PROPERTIES}" STREQUAL "")
set_tests_properties(${qmltest_TARGET} PROPERTIES ${qmltest_PROPERTIES})
elseif(NOT "${qmltest_DEFAULT_PROPERTIES}" STREQUAL "")
set_tests_properties(${qmltest_TARGET} PROPERTIES ${qmltest_DEFAULT_PROPERTIES})
endif()
endif()
if("${qmltest_NO_TARGETS}" STREQUAL "FALSE")
if(NOT "${qmltest_TARGETS}" STREQUAL "")
foreach(TARGET ${qmltest_TARGETS})
add_dependencies(${TARGET} ${qmltest_TARGET})
endforeach(TARGET)
elseif(NOT "${qmltest_DEFAULT_TARGETS}" STREQUAL "")
foreach(TARGET ${qmltest_DEFAULT_TARGETS})
add_dependencies(${TARGET} ${qmltest_TARGET})
endforeach(TARGET)
endif()
endif()
endmacro()
lomiri-api-0.1.1/data/ 0000775 0000000 0000000 00000000000 13733104243 0014464 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/data/CMakeLists.txt 0000664 0000000 0000000 00000001030 13733104243 0017216 0 ustar 00root root 0000000 0000000 # Set up package config.
set(PKGCONFIG_NAME "lomiri-shell-api")
set(PKGCONFIG_DESCRIPTION "Lomiri shell APIs")
set(PKGCONFIG_PLUGINDIR "${SHELL_PLUGINDIR}")
set(VERSION "1.0")
configure_file(lomiri-shell-api.pc.in lomiri-shell-api.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lomiri-shell-api.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
configure_file(lib${LOMIRI_API_LIB}.pc.in lib${LOMIRI_API_LIB}.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${LOMIRI_API_LIB}.pc DESTINATION ${LIB_INSTALL_PREFIX}/pkgconfig)
lomiri-api-0.1.1/data/liblomiri-api.pc.in 0000664 0000000 0000000 00000001657 13733104243 0020157 0 ustar 00root root 0000000 0000000 #
# Copyright (C) 2013 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Authored by: Michi Henning
#
prefix=@CMAKE_INSTALL_PREFIX@
includedir=${prefix}/include
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
Name: lib@LOMIRI_API_LIB@
Description: Lomiri API library
Version: @LOMIRI_API_VERSION@
Libs: -L${libdir} -l@LOMIRI_API_LIB@
Cflags: -I${includedir}
lomiri-api-0.1.1/data/lomiri-shell-api.pc.in 0000664 0000000 0000000 00000000413 13733104243 0020562 0 ustar 00root root 0000000 0000000 prefix=@CMAKE_INSTALL_PREFIX@
includedir=${prefix}/include
plugindir_suffix=@PKGCONFIG_PLUGINDIR@
plugindir=${prefix}/${plugindir_suffix}
Name: @PKGCONFIG_NAME@
Description: @PKGCONFIG_NAME@
Version: @VERSION@
Requires: @PKGCONFIG_REQUIRES@
Cflags: -I${includedir}
lomiri-api-0.1.1/debian/ 0000775 0000000 0000000 00000000000 13733104243 0014775 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/debian/changelog 0000664 0000000 0000000 00000071565 13733104243 0016665 0 ustar 00root root 0000000 0000000 lomiri-api (0.1.1-0) unstable; urgency=medium
* Upstream-provided Debian package for lomiri-api.
See upstream ChangeLog for recent changes.
-- UBports Team Thu, 24 Sep 2020 13:42:51 +0200
lomiri-api (0.1.0+ubports) unstable; urgency=medium
* Upstream-provided Debian package for lomiri-api.
See upstream ChangeLog for recent changes.
-- UBports Team Wed, 26 Feb 2020 21:09:48 +0100
unity-api (8.8+ubports) xenial; urgency=medium
* Imported to UBports
-- UBports auto importer Tue, 20 Feb 2018 23:53:49 +0100
unity-api (8.7+17.04.20170404-0ubuntu1) zesty; urgency=medium
[ Pete ]
* Add Glib and GObject Assigner helpers.
[ Pete Woods ]
* unity::util - Add glib signal managers
[ Rodney Dawes ]
* Add utility function to prepend $SNAP to directory paths.
-- Pete Woods Tue, 04 Apr 2017 09:37:43 +0000
unity-api (8.7) UNRELEASED; urgency=medium
* Add popularity field to LauncherItem
-- Michael Zanetti Tue, 04 Apr 2017 10:26:39 +0200
unity-api (8.6+17.04.20170317-0ubuntu1) zesty; urgency=medium
[ Michael Zanetti ]
* Add appId property to MirSurfaceInterface
[ Pete Woods ]
* unity::util - unique_gobject and share_gobject now throw for
floating references (LP: #1672657)
-- Lukáš Tinkl Fri, 17 Mar 2017 11:08:20 +0000
unity-api (8.5) UNRELEASED; urgency=medium
[ Michael Zanetti ]
* Add RoleIsPrivate to launcher's quicklist entries
[ Daniel d'Andrada ]
* MirSurfaceInterface::allowClientResize
-- Michael Zanetti Fri, 24 Feb 2017 13:57:12 +0000
unity-api (8.4+17.04.20170223-0ubuntu1) zesty; urgency=medium
[ Pete Woods ]
* unity::util - Make Glib and GObject memory management
utilities handle NULL quietly.
-- Pete Woods Thu, 23 Feb 2017 11:22:37 +0000
unity-api (8.3+17.04.20170217-0ubuntu1) zesty; urgency=medium
[ Pete ]
* unity::util - Add typedef macros to GlibMemory to make method
and member variable definitions easier.
-- Pete Woods Fri, 17 Feb 2017 14:12:04 +0000
unity-api (8.2+17.04.20170206-0ubuntu1) zesty; urgency=medium
[ Daniel d'Andrada ]
* MirSurfaceInterface: add childSurfaceList and parentSurface
-- Albert Astals Cid Mon, 06 Feb 2017 09:11:03 +0000
unity-api (8.1+17.04.20170120.1-0ubuntu1) zesty; urgency=medium
[ Pete ]
* unity::util - add GObject shared memory utility classes
and helper methods.
* unity::util - add Glib memory management utility functions.
-- Lukáš Tinkl Fri, 20 Jan 2017 17:08:56 +0000
unity-api (8.1) UNRELEASED; urgency=medium
* Added Mir::currentKeymap
-- Lukáš Tinkl Fri, 30 Sep 2016 13:20:00 +0200
unity-api (8.0+17.04.20170110.1-0ubuntu1) zesty; urgency=medium
[ Albert Astals Cid ]
* Enable -Wsuggest-override
* Use the new Q_ENUM (Qt 5.5)
[ Nick Dedekind ]
* Fully qualify pointer type namespaces in signals so that the
parameters can be used in qml.
-- Timo Jyrinki Tue, 10 Jan 2017 06:42:45 +0000
unity-api (8.0+17.04.20161215-0ubuntu1) zesty; urgency=medium
* unity::shel::application - changes for the miral way of doing things
-- Daniel d'Andrada Thu, 15 Dec 2016 16:16:07 +0000
unity-api (7.121+17.04.20161205-0ubuntu1) zesty; urgency=medium
* Add AppDrawerModelInterface
-- Michael Zanetti Mon, 05 Dec 2016 15:20:31 +0000
unity-api (7.120+17.04.20161123-0ubuntu1) zesty; urgency=medium
[ Andrea Azzarone ]
* Add hasSeparator role to quicklistModel.
[ Marcus Tomlinson ]
* Don't rely on glib error message strings in IniParser_test (LP:
#1642673)
-- Andrea Cimitan Wed, 23 Nov 2016 12:11:04 +0000
unity-api (7.119+16.10.20160909-0ubuntu1) yakkety; urgency=medium
[ Daniel d'Andrada ]
* Added MirSurfaceInterface::confinesMousePointer
-- Michał Sawicz Fri, 09 Sep 2016 14:39:28 +0000
unity-api (7.118+16.10.20160830-0ubuntu1) yakkety; urgency=medium
[ Nick Dedekind ]
* Added persistent Id property for MirSurface
-- Ken VanDine Tue, 30 Aug 2016 13:40:30 +0000
unity-api (7.117+16.10.20160819-0ubuntu1) yakkety; urgency=medium
* Removed empty unreleased entry from changelog. (LP: #1613563)
-- Michi Henning Fri, 19 Aug 2016 22:16:23 +0000
unity-api (7.117+16.10.20160810-0ubuntu1) yakkety; urgency=medium
[ Daniel d'Andrada ]
* ApplicationInfoInterface: remove "stage" property
* ApplicationManagerInterface: remove "stage" role
-- Michał Sawicz Wed, 10 Aug 2016 08:20:08 +0000
unity-api (7.116+16.10.20160805-0ubuntu1) yakkety; urgency=medium
* Remove unnecessary Boost dependency from package.
-- James Henstridge Fri, 05 Aug 2016 04:08:06 +0000
unity-api (7.116+16.10.20160730-0ubuntu1) yakkety; urgency=medium
[ Michał Sawicz ]
* Don't run tests on powerpc (LP: #1606927)
[ Stephen Kelly ]
* Silence some gcc warnings.
-- Lukáš Tinkl Sat, 30 Jul 2016 21:18:50 +0000
unity-api (7.116+16.10.20160620-0ubuntu1) yakkety; urgency=medium
* MirSurfaceInterface: add inputBounds property
-- Daniel d'Andrada Mon, 20 Jun 2016 14:39:15 +0000
unity-api (7.115+16.10.20160614-0ubuntu1) yakkety; urgency=medium
[ Michael Zanetti ]
* Drop Launchermodel::setAlerting, it's not needed
-- Albert Astals Cid Tue, 14 Jun 2016 08:34:16 +0000
unity-api (7.114) UNRELEASED; urgency=medium
* Add ApplicationInfoInterface::surfaceCount property
-- Michael Zanetti Mon, 09 May 2016 18:43:38 +0200
unity-api (7.113+16.10.20160525-0ubuntu1) yakkety; urgency=medium
[ Daniel d'Andrada ]
* Remove hotspot property from MirMousePointerInterface
[ Albert Astals Cid ]
* Mark roleNames as override
[ Michi Henning ]
* Re-enabled license/copyright test for xenial. (LP: #1194867)
-- Michael Terry Wed, 25 May 2016 06:02:38 +0000
unity-api (7.112+16.04.20160518-0ubuntu1) xenial; urgency=medium
[ Daniel d'Andrada ]
* Move promptSurfaceList from MirSurfaceInterface to ApplicationInfoInterface
* Added MirSurfaceListInterface::first property
[ CI Train Bot ]
* No-change rebuild.
-- Nick Dedekind Wed, 18 May 2016 09:31:07 +0000
unity-api (7.111+16.04.20160426.2-0ubuntu1) xenial; urgency=medium
[ Pawel Stolowski ]
* Added RoleSocialActions to ResultsModelInterface of scopes.
* Added ExpandableFilterWidgetInterface.
[ CI Train Bot ]
* No-change rebuild.
-- Pawel Stolowski Tue, 26 Apr 2016 15:31:50 +0000
unity-api (7.110+16.04.20160413-0ubuntu1) xenial; urgency=medium
[ Daniel d'Andrada ]
* MirSurfaceInterface: replace keymapLayout and keymapVariant with keymap
* Unity.Application: Added and refactored APIs for surface-based window management
[ CI Train Bot ]
* No-change rebuild.
-- Gerry Boland Wed, 13 Apr 2016 18:39:21 +0000
unity-api (7.109+16.04.20160405-0ubuntu1) xenial; urgency=medium
[ Marcus Tomlinson ]
* Add set*() methods to IniParser
[ CI Train Bot ]
* No-change rebuild.
-- Marcus Tomlinson Tue, 05 Apr 2016 06:03:34 +0000
unity-api (7.108+16.04.20160322-0ubuntu1) xenial; urgency=medium
[ Lukáš Tinkl, Michał Sawicz ]
* Add API for setting keyboard layout+variant on a surface (LP:
#1524400, #1491340)
[ Nick Dedekind ]
* Added setStage for sidestage redesign.
* Added support for low shell chrome (LP: #1535397)
[ Pawel Stolowski ]
* Base interfaces for filters.
* Interface for RangeInputFilter.
* ValueSliderFilter interface.
-- Michael Zanetti Tue, 22 Mar 2016 07:48:55 +0000
unity-api (7.107+16.04.20160223-0ubuntu1) xenial; urgency=medium
* Removed PreviewStackInterface, modified ScopeInterface to return
PreviewModelInterface on preview().
* Interface for activationInProgress flag. (LP: #1537132)
-- Pawel Stolowski Tue, 23 Feb 2016 12:12:26 +0000
unity-api (7.106+16.04.20160211.1-0ubuntu1) xenial; urgency=medium
[ Daniel d'Andrada ]
* Added ApplicationInfoInterface.initialSurfaceSize (LP: #1532974)
* MirSurfaceInterface: added size hints
-- Michał Sawicz Thu, 11 Feb 2016 23:53:29 +0000
unity-api (7.105+16.04.20160104-0ubuntu1) xenial; urgency=medium
[ Michael Zanetti ]
[Albert Astals Cid ]
* New property to support more complex cards
[ CI Train Bot ]
* No-change rebuild.
-- CI Train Bot Mon, 04 Jan 2016 15:09:55 +0000
unity-api (7.104+16.04.20151207-0ubuntu1) xenial; urgency=medium
[ Daniel d'Andrada ]
* Add MirSurfaceItem.fillMode
[ Michael Terry ]
* Added ApplicationInfoInterface::exemptFromLifecycle
[ CI Train Bot ]
* No-change rebuild.
-- Gerry Boland Mon, 07 Dec 2015 16:21:29 +0000
unity-api (7.103+16.04.20151125-0ubuntu1) xenial; urgency=medium
[ Daniel d'Andrada ]
* Added MirMousePointerInterface::setCustomCursor
* Added MirMousePointerInterface::handleWheelEvent
[ CI Train Bot ]
* No-change rebuild.
-- Michał Sawicz Wed, 25 Nov 2015 14:13:25 +0000
unity-api (7.102+16.04.20151124-0ubuntu1) xenial; urgency=medium
* Depend on devscripts, needed by licensecheck. Disable licensecheck
on xenial for now.
-- Pawel Stolowski Tue, 24 Nov 2015 12:01:48 +0000
unity-api (7.102+16.04.20151109-0ubuntu1) xenial; urgency=medium
[ CI Train Bot ]
* New rebuild forced.
-- Michael Zanetti Mon, 09 Nov 2015 14:40:51 +0000
unity-api (7.102+16.04.20151102-0ubuntu1) xenial; urgency=medium
[ Nick Dedekind ]
* Added visibility to surface interface.
[ Michael Terry ]
* Add isTouchApp to ApplicationInfoInterface
[ CI Train Bot ]
* New rebuild forced.
-- Michał Sawicz Mon, 02 Nov 2015 11:23:42 +0000
unity-api (7.102-0ubuntu1) UNRELEASED; urgency=medium
* New method for in-card actions.
-- Pawel Stolowski Tue, 06 Oct 2015 18:06:37 +0200
unity-api (7.101+15.10.20151021-0ubuntu1) wily; urgency=medium
[ Daniel d'Andrada ]
* unity/shell/application: Add Mir.cursorName
* unity/shell/application: Added MirMousePointerInterface.h
* unity/shell/application: Added MirPlatformCursor.h
[ Lukáš Tinkl ]
* unity/shell/application: Add MirSurfaceInterface.nameChanged
[ CI Train Bot ]
* New rebuild forced.
[ Michał Sawicz ]
* Resync trunk
-- Michał Sawicz Wed, 21 Oct 2015 11:48:38 +0000
unity-api (7.100+15.10.20150903-0ubuntu1) wily; urgency=medium
[ Michal Sawicz ]
* No change rebuild to resync vivid+overlay and wily
[ CI Train Bot ]
* No-change rebuild.
-- CI Train Bot Thu, 03 Sep 2015 08:54:03 +0000
unity-api (7.100+15.04.20150827-0ubuntu1) vivid; urgency=medium
[ Daniel d'Andrada ]
* Added MirSurface and MirSurfaceItem interfaces
[ CI Train Bot ]
* No-change rebuild.
-- CI Train Bot Thu, 27 Aug 2015 08:50:45 +0000
unity-api (7.99+15.04.20150811-0ubuntu1) vivid; urgency=medium
* New rebuild forced.
-- CI Train Bot Tue, 11 Aug 2015 14:05:55 +0000
unity-api (7.99+15.04.20150804-0ubuntu1) vivid; urgency=medium
[ Daniel d'Andrada ]
* Remove ApplicationManagerInterface.forceDashActive
* Remove ApplicationManagerInterface.suspended
* Add ApplicationInfoInterface.requestedState
* Add a NO_TESTS options to cmake
-- CI Train Bot Tue, 04 Aug 2015 15:26:16 +0000
unity-api (7.99-0ubuntu1) UNRELEASED; urgency=medium
* Changes to activate and preview methods of ScopeInterface.
-- Pawel Stolowski Mon, 03 Aug 2015 14:03:47 +0000
unity-api (7.98+15.04.20150724-0ubuntu1) vivid; urgency=medium
[ Mirco Müller (MacSlow) ]
* added alerting/setAlerting API to LauncherModel and LauncherItem interfaces
-- CI Train Bot Fri, 24 Jul 2015 09:53:01 +0000
unity-api (7.97+15.10.20150721-0ubuntu1) wily; urgency=medium
[ Michi Henning ]
* Remove dependency on gcc 4.9. (LP: #1452342)
-- CI Train Bot Tue, 21 Jul 2015 05:13:26 +0000
unity-api (7.97+15.10.20150611-0ubuntu1) wily; urgency=medium
[ Daniel d'Andrada ]
* add supportedOrientations and rotatesWindowContents to ApplicationInfo
-- CI Train Bot Thu, 11 Jun 2015 09:11:57 +0000
unity-api (7.96+15.04.20150410.2-0ubuntu1) vivid; urgency=medium
[ CI Train Bot ]
* New rebuild forced.
[ Michi Henning ]
* Reverted commit 93 because it cost me a cool 1.5 hours today. Turns
out that libmcheck is not thread-safe and causes the most amazing
crashes in unpredictable ways :-(
-- CI Train Bot Fri, 10 Apr 2015 16:07:39 +0000
unity-api (7.96+15.04.20150213-0ubuntu1) vivid; urgency=medium
[ Pawel Stolowski ]
* Added close method to scopes interface.
-- CI Train Bot Fri, 13 Feb 2015 15:15:59 +0000
unity-api (7.95+15.04.20150211-0ubuntu1) vivid; urgency=medium
[ Michael Zanetti ]
* add onlyPinned property to launcher model
[ Michał Sawicz ]
* Add :native to g++ dependency for cross-building and wrap-and-sort
for good measure. Python needs :any, too. (LP: #1353855)
-- Ubuntu daily release Wed, 11 Feb 2015 16:28:29 +0000
unity-api (7.94+15.04.20141205-0ubuntu1) vivid; urgency=medium
[ Albert Astals Cid ]
* Add setFavorite/moveFavoriteTo
-- Ubuntu daily release Fri, 05 Dec 2014 10:51:44 +0000
unity-api (7.93+15.04.20141104-0ubuntu1) vivid; urgency=medium
[ Michael Zanetti ]
* add a signal to the launcher model to hint changes
-- Ubuntu daily release Tue, 04 Nov 2014 14:42:57 +0000
unity-api (7.92+14.10.20141003.1-0ubuntu1) utopic; urgency=medium
[ Michael Zanetti ]
* Add dashActive property to application api
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release Fri, 03 Oct 2014 16:52:41 +0000
unity-api (7.91+14.10.20140922.1-0ubuntu1) utopic; urgency=medium
[ Daniel d'Andrada ]
* Added splash screen data do ApplicationInfoInterface
-- Ubuntu daily release Mon, 22 Sep 2014 17:35:28 +0000
unity-api (7.90+14.10.20140918-0ubuntu1) utopic; urgency=medium
[ Michael Zanetti ]
* add countVisible property
* allow updating item's name and icon properties. They might change in case of updates
-- Ubuntu daily release Thu, 18 Sep 2014 16:42:26 +0000
unity-api (7.89+14.10.20140825-0ubuntu1) utopic; urgency=medium
[ Daniel d'Andrada ]
* Remove all mentions to screenshotting from the API
-- Ubuntu daily release Mon, 25 Aug 2014 07:04:31 +0000
unity-api (7.88+14.10.20140806-0ubuntu1) utopic; urgency=medium
[ Michal Hruby ]
* Define scopes interface version 4
-- Ubuntu daily release Wed, 06 Aug 2014 19:32:56 +0000
unity-api (7.87+14.10.20140731-0ubuntu1) utopic; urgency=medium
[ Michal Hruby ]
* Added interface definition for scopes overview.
-- Ubuntu daily release Thu, 31 Jul 2014 11:14:00 +0000
unity-api (7.86+14.10.20140718.1-0ubuntu1) utopic; urgency=medium
[ Michi Henning ]
* Explicitly select g++-4.9 to prevent ABI breakage.
-- Ubuntu daily release Fri, 18 Jul 2014 16:20:15 +0000
unity-api (7.85+14.10.20140708-0ubuntu1) utopic; urgency=medium
[ Marcus Tomlinson ]
* Add settings support for shell
[ Michal Hruby ]
* Added header links CategoriesInterface and performQuery() to
ScopeInterface
[ Michi Henning ]
* A few minor fixes to the doc comments for comparison operators.
-- Ubuntu daily release Tue, 08 Jul 2014 15:06:24 +0000
unity-api (7.84+14.10.20140702.2-0ubuntu1) utopic; urgency=medium
[ Michal Hruby ]
* Added IniParser::get_locale_string_array
-- Ubuntu daily release Wed, 02 Jul 2014 15:17:16 +0000
unity-api (7.83+14.10.20140626-0ubuntu1) utopic; urgency=medium
[ Michal Hruby ]
* Added customizations property to ScopeInterface.
-- Ubuntu daily release Thu, 26 Jun 2014 11:05:05 +0000
unity-api (7.82+14.10.20140616-0ubuntu1) utopic; urgency=medium
[ Albert Astals Cid ]
* Add interfaces for scope departments.
-- Ubuntu daily release Mon, 16 Jun 2014 14:45:10 +0000
unity-api (7.81+14.10.20140528-0ubuntu1) utopic; urgency=low
[ Michael Zanetti ]
* properly parent mock items otherwise QML deletes them as of 5.2 (LP:
#1318889)
* properly parent MockApplicationInfo objects in the mock plugin. QML
might delete them otherwise.
-- Ubuntu daily release Wed, 28 May 2014 10:38:05 +0000
unity-api (7.81+14.10.20140520-0ubuntu1) utopic; urgency=medium
[ Albert Astals Cid ]
* Add interfaces for scopes.
[ Jussi Pakkanen ]
* Add missing include so compilation works with pch disabled.
-- Ubuntu daily release Tue, 20 May 2014 12:05:11 +0000
unity-api (7.80.8+14.10.20140505-0ubuntu1) utopic; urgency=medium
[ Mirco Müller (MacSlow) ]
* Bump unity-notification version due to exposure of NotificationModel's Roles-Enum.
-- Ubuntu daily release Mon, 05 May 2014 12:02:22 +0000
unity-api (7.80.7+14.10.20140428.1-0ubuntu1) utopic; urgency=medium
[ Michal Hruby ]
* Added IniParser::get_locale_string()
-- Ubuntu daily release Mon, 28 Apr 2014 17:28:16 +0000
unity-api (7.80.6+14.04.20140402-0ubuntu1) trusty; urgency=low
[ Mirco Müller ]
* The data-roles of the NotificationModel to should be exposed to QML.
-- Ubuntu daily release Wed, 02 Apr 2014 17:42:41 +0000
unity-api (7.80.6+14.04.20140401-0ubuntu1) trusty; urgency=medium
[ Michael Zanetti ]
* Bump version for Application api changes
-- Ubuntu daily release Tue, 01 Apr 2014 22:41:05 +0000
unity-api (7.80.5+14.04.20140304-0ubuntu1) trusty; urgency=low
[ CI bot ]
* No change rebuild against Qt 5.2.1.
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release Tue, 04 Mar 2014 13:52:36 +0000
unity-api (7.80.5+14.04.20140120-0ubuntu2) UNRELEASED; urgency=medium
* Made calls to IniParser constructor and destructor thread-safe. Without
this, if the destructor is called from a different thread than the constructor,
we get complaints from thread sanitizer.
-- Michi Henning Tue, 18 Feb 2014 10:29:04 +1000
unity-api (7.80.5+14.04.20140120-0ubuntu1) trusty; urgency=low
[ Jussi Pakkanen ]
* Remove deprecated NonCopyable base class.
[ Michi Henning ]
* Removed final semicolon from NONCOPYABLE macro. This makes the usage
consistent with the UNITY_DEFINES_PTRS macro, which also does not
include the semicolon.
[ Ubuntu daily release ]
* Automatic snapshot from revision 119
-- Ubuntu daily release Mon, 20 Jan 2014 16:05:43 +0000
unity-api (7.80.5+14.04.20131219.1-0ubuntu1) trusty; urgency=low
[ Michi Henning ]
* Changed unity::Exception::what() to return the same text as unity::Exception::to_string().
[ Michal Hruby ]
* Expose full version including micro version number in pc file.
[ Jussi Pakkanen ]
* Made noncopyable a macro.
[ Ubuntu daily release ]
* Automatic snapshot from revision 116
-- Ubuntu daily release Thu, 19 Dec 2013 21:07:55 +0000
unity-api (7.80.4+14.04.20131126.2-0ubuntu1) trusty; urgency=low
[ Michal Hruby ]
* Added pkg-config module unity-shell-api.
[ Albert Astals ]
* Avoid cmake warnings CMake Warning (dev) in CMakeLists.txt: Syntax
Warning in cmake code at /home/tsdgeos_work/phablet/unity-api/unity-
api/CMakeLists.txt:53:88 Argument not separated from preceding token
by whitespace. This warning is for project developers. Use -Wno-dev
to suppress it. CMake Warning (dev) in CMakeLists.txt: Syntax
Warning in cmake code at /home/tsdgeos_work/phablet/unity-api/unity-
api/CMakeLists.txt:53:107 Argument not separated from preceding
token by whitespace. This warning is for project developers. Use -
Wno-dev to suppress it. .
[ Michi Henning ]
* Don't set -fno-permissive when compiling with clang because clang
produces an "ignored" warning for this flag. Set -
DGTEST_USE_OWN_TR1_TUPLE=1 to make tests compile with clang.
* Fix warning from clang when building libgtest about unused field.
* Removed obsolete doxygen config variable that caused a warning
during the build.
[ Ubuntu daily release ]
* Automatic snapshot from revision 112
-- Ubuntu daily release Tue, 26 Nov 2013 19:42:23 +0000
unity-api (7.80.3+13.10.20130927.1-0ubuntu1) saucy; urgency=low
[ Michi Henning ]
* Changed pkgconfig to use absolute path for Libs, so things will work
if the package is installed in a non-standard location.
* Reverting commit 89, which added -D_GLIBCXX_DEBUG. This has truly
hideous consequences when calling cross-library and passing STL
types. If not all libraries involved are compiled with the same
flag, the code links and runs and, in many cases, will work, except
in some cases, where suddenly the stack gets trashed, the code
segfaults on a memory allocation, or similar.
[ Ubuntu daily release ]
* Automatic snapshot from revision 106
-- Ubuntu daily release Fri, 27 Sep 2013 10:32:57 +0000
unity-api (7.80.3+13.10.20130912-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* update Launcher API to make use of the new ApplicationManager api.
[ Ubuntu daily release ]
* Automatic snapshot from revision 103
-- Ubuntu daily release Thu, 12 Sep 2013 13:45:40 +0000
unity-api (7.80.3+13.10.20130911-0ubuntu1) saucy; urgency=low
[ Gerry Boland ]
* Shell::Application: Apply Q_ENUMS to the Roles enum so
implementations can use it.
[ Ubuntu daily release ]
* Automatic snapshot from revision 101
-- Ubuntu daily release Wed, 11 Sep 2013 00:29:43 +0000
unity-api (7.80.3+13.10.20130905.2-0ubuntu1) saucy; urgency=low
[ Gerry Boland ]
* AppManager: change startApplication to return ApplicationInfo, is
useful for shell.
[ Michael Zanetti ]
* add applicationFocused method to LauncherModelInterface.
* add focused role to model.
[ Ubuntu daily release ]
* Automatic snapshot from revision 99
-- Ubuntu daily release Thu, 05 Sep 2013 10:47:48 +0000
unity-api (7.80.3+13.10.20130904-0ubuntu1) saucy; urgency=low
[ Gerry Boland ]
* ApplicationManagerInterface: adjust API to use appId for app
start/stop/focus. Return ApplicationInfoInterface only in get(index)
and the new findApplication(appId) methods.
[ Ubuntu daily release ]
* Automatic snapshot from revision 95
-- Ubuntu daily release Wed, 04 Sep 2013 03:02:27 +0000
unity-api (7.80.3+13.10.20130903.1-0ubuntu1) saucy; urgency=low
[ Jussi Pakkanen ]
* Use glibc's memory validator.
[ Ubuntu daily release ]
* Automatic snapshot from revision 93
-- Ubuntu daily release Tue, 03 Sep 2013 06:09:20 +0000
unity-api (7.80.3+13.10.20130902-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* Add Ubuntu.Application API, including tests and a mock
implementation.
[ Ubuntu daily release ]
* Automatic snapshot from revision 91
-- Ubuntu daily release Mon, 02 Sep 2013 02:29:21 +0000
unity-api (7.80.3+13.10.20130826.2-0ubuntu1) saucy; urgency=low
[ Jussi Pakkanen ]
* Enable validating STL on debug builds.
[ Ubuntu daily release ]
* Automatic snapshot from revision 89
-- Ubuntu daily release Mon, 26 Aug 2013 10:08:34 +0000
unity-api (7.80.3+13.10.20130826.1-0ubuntu1) saucy; urgency=low
* Automatic snapshot from revision 87
-- Ubuntu daily release Mon, 26 Aug 2013 06:08:18 +0000
unity-api (7.80.3+13.10.20130826-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* Add setUser method to LauncherModel.
[ Ubuntu daily release ]
* Automatic snapshot from revision 86
-- Ubuntu daily release Mon, 26 Aug 2013 02:31:24 +0000
unity-api (7.80.3+13.10.20130820.2-0ubuntu1) saucy; urgency=low
* Automatic snapshot from revision 84
-- Ubuntu daily release Tue, 20 Aug 2013 10:09:27 +0000
unity-api (7.80.3+13.10.20130820.1-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* Add a role, clickable to quicklistModel which determines if the
entry can be clicked or not.
[ Ubuntu daily release ]
* Automatic snapshot from revision 82
-- Ubuntu daily release Tue, 20 Aug 2013 06:08:22 +0000
unity-api (7.80.3+13.10.20130820-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* Add a role, clickable to quicklistModel which determines if the
entry can be clicked or not.
[ Ubuntu daily release ]
* Automatic snapshot from revision 82
-- Ubuntu daily release Tue, 20 Aug 2013 02:08:23 +0000
unity-api (7.80.3+13.10.20130801-0ubuntu1) saucy; urgency=low
* Automatic snapshot from revision 80
-- Ubuntu daily release Thu, 01 Aug 2013 14:30:16 +0000
unity-api (7.80.3+13.10.20130729ubuntu.unity.next-0ubuntu1) saucy; urgency=low
[ Michi Henning ]
* Changed DefinesPtrs to a macro. That way, we don't need a virtual
destructor, and the generated typedefs can be used with POD types.
The macro also prevents ambiguous names that were caused by the
template for classes in a derivation hierarchy.
* Added UNITY_DEFINES_PTRS (needed by scopes). Added coverage
suppresssion for unreachable line of code.
[ Ubuntu daily release ]
* Automatic snapshot from revision 79 (ubuntu-unity/next)
-- Ubuntu daily release Mon, 29 Jul 2013 03:40:54 +0000
unity-api (7.80.3+13.10.20130709ubuntu.unity.next-0ubuntu1) saucy; urgency=low
[ Michael Zanetti ]
* added quicklist support to launcher api
[ Ubuntu daily release ]
* Automatic snapshot from revision 76 (ubuntu-unity/next)
-- Ubuntu daily release Tue, 09 Jul 2013 02:58:47 +0000
unity-api (7.80.2+13.10.20130703ubuntu.unity.next-0ubuntu1) saucy; urgency=low
[ Michał Sawicz ]
* Do not require any particular version of boost.
[ Ubuntu daily release ]
* Automatic snapshot from revision 74 (ubuntu-unity/next)
-- Ubuntu daily release Wed, 03 Jul 2013 02:35:04 +0000
unity-api (7.80.2+13.10.20130702ubuntu.unity.next-0ubuntu1) saucy; urgency=low
[ Didier Roche ]
* Add a better package description.
[ Ubuntu daily release ]
* Automatic snapshot from revision 72 (ubuntu-unity/next)
-- Ubuntu daily release Tue, 02 Jul 2013 02:31:07 +0000
unity-api (7.80.2+13.10.20130627ubuntu.unity.next-0ubuntu1) saucy; urgency=low
[ Didier Roche ]
* Fix packaging to follow daily release guidelines
* Automatic snapshot from revision 67 (bootstrap)
[ Michi Henning ]
* Changed "Lesser GNU General Public License" to "GNU Lesser General
Public License" throughout. Fixed five files that used GPL instead
of LGPL. licensecheck comes up clean now, reporting LGPL v3 for
everything. (LP: #1194867)
* Renamed COPYING.LIB -> COPYING. (LP: #1194867)
[ Ubuntu daily release ]
* Automatic snapshot from revision 70 (ubuntu-unity/next)
-- Ubuntu daily release Thu, 27 Jun 2013 09:48:56 +0000
unity-api (7.80.1) saucy; urgency=low
* This project forked from lp:unity/phablet. Updating the versioning to
reflect that.
-- Sergio Schvezov Tue, 04 Jun 2013 16:06:54 -0300
unity-api (0.2) saucy; urgency=low
* Releasing for saucy.
-- Sergio Schvezov Tue, 04 Jun 2013 02:16:12 -0300
unity-api (0.1) raring; urgency=low
* Initial release
-- Michał Sawicz Fri, 10 May 2013 12:43:53 +0200
lomiri-api-0.1.1/debian/compat 0000664 0000000 0000000 00000000002 13733104243 0016173 0 ustar 00root root 0000000 0000000 9
lomiri-api-0.1.1/debian/control 0000664 0000000 0000000 00000003140 13733104243 0016376 0 ustar 00root root 0000000 0000000 Source: lomiri-api
Priority: optional
Section: libs
Maintainer: UBports Team
Build-Depends: cmake,
cmake-extras,
debhelper (>= 9),
devscripts,
lsb-release,
doxygen,
# To allow cross-compiling to work, we append :native
# to g++-4.9 so we don't try to run armhf g++
# on an x86 CPU for example, when cross-compiling.
g++:native,
graphviz,
libglib2.0-dev,
libgtest-dev,
google-mock,
libqtdbustest1-dev,
pkg-config,
python3:any,
qt5-default,
qtbase5-dev (>= 5.5),
qtdeclarative5-dev,
qtdeclarative5-dev-tools,
qml-module-qtquick2,
qml-module-qttest,
Standards-Version: 3.9.4
Homepage: https://gitlab.com/ubports/core/lomiri-api/
Package: liblomiri-api0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends},
Depends: ${misc:Depends},
${shlibs:Depends},
Description: API for Lomiri shell integration
Library to integrate with the Lomiri shell
Package: liblomiri-api-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: liblomiri-api0 (= ${binary:Version}),
${misc:Depends},
Description: Header files for Lomiri API
Library to integrate with the Lomiri shell (dev files)
Package: liblomiri-api-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
Description: Documentation for Lomiri API
Library to integrate with the Lomiri shell (documentation)
lomiri-api-0.1.1/debian/copyright 0000664 0000000 0000000 00000001717 13733104243 0016736 0 ustar 00root root 0000000 0000000 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lomiri-api
Source: http://gitlab.com/ubports/core/lomiri-api/
Files: *
Copyright: 2013 Canonical Ltd.
License: LGPL-3
License: LGPL-3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 of the License.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see .
.
On Debian systems, the full text of the GNU Lesser General Public License
version 3 can be found in the file /usr/share/common-licenses/LGPL-3.
lomiri-api-0.1.1/debian/liblomiri-api-dev.install 0000664 0000000 0000000 00000000111 13733104243 0021663 0 ustar 00root root 0000000 0000000 usr/include/lomiri/*
usr/lib/*/liblomiri-api.so
usr/lib/*/pkgconfig/*.pc
lomiri-api-0.1.1/debian/liblomiri-api-doc.install 0000664 0000000 0000000 00000000036 13733104243 0021660 0 ustar 00root root 0000000 0000000 usr/share/doc/liblomiri-api/*
lomiri-api-0.1.1/debian/liblomiri-api0.install 0000664 0000000 0000000 00000000035 13733104243 0021174 0 ustar 00root root 0000000 0000000 usr/lib/*/liblomiri-api.so.*
lomiri-api-0.1.1/debian/rules 0000775 0000000 0000000 00000000626 13733104243 0016061 0 ustar 00root root 0000000 0000000 #!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
export CC=$(DEB_HOST_GNU_TYPE)-gcc
export CXX=$(DEB_HOST_GNU_TYPE)-g++
# http://ccache.samba.org/manual.html#_precompiled_headers
export CCACHE_SLOPPINESS=time_macros
%:
dh $@ --parallel --fail-missing
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
lomiri-api-0.1.1/debian/source/ 0000775 0000000 0000000 00000000000 13733104243 0016275 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/debian/source/format 0000664 0000000 0000000 00000000004 13733104243 0017502 0 ustar 00root root 0000000 0000000 1.0
lomiri-api-0.1.1/doc/ 0000775 0000000 0000000 00000000000 13733104243 0014320 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/doc/Doxyfile.in 0000664 0000000 0000000 00000226545 13733104243 0016451 0 ustar 00root root 0000000 0000000 # Doxyfile 1.8.1.2
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
#
# All text after a hash (#) is considered a comment and will be ignored
# The format is:
# TAG = value [value, ...]
# For lists items can also be appended using:
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (" ")
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
# This tag specifies the encoding used for all characters in the config file
# that follow. The default is UTF-8 which is also the encoding used for all
# text before the first occurrence of this tag. Doxygen uses libiconv (or the
# iconv built into libc) for the transcoding. See
# http://www.gnu.org/software/libiconv for the list of possible encodings.
DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or sequence of words) that should
# identify the project. Note that if you do not use Doxywizard you need
# to put quotes around the project name if it contains spaces.
PROJECT_NAME = "My Project"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER =
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer
# a quick idea about the purpose of the project. Keep the description short.
PROJECT_BRIEF =
# With the PROJECT_LOGO tag one can specify an logo or icon that is
# included in the documentation. The maximum height of the logo should not
# exceed 55 pixels and the maximum width should not exceed 200 pixels.
# Doxygen will copy the logo to the output directory.
PROJECT_LOGO =
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# format and will distribute the generated files over these directories.
# Enabling this option can be useful when feeding doxygen a huge amount of
# source files, where putting all generated files in the same directory would
# otherwise cause performance problems for the file system.
CREATE_SUBDIRS = NO
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# The default language is English, other supported languages are:
# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
OUTPUT_LANGUAGE = English
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
# include brief member descriptions after the members that are listed in
# the file and class documentation (similar to JavaDoc).
# Set to NO to disable this.
BRIEF_MEMBER_DESC = YES
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
# the brief description of a member or function before the detailed description.
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed.
REPEAT_BRIEF = YES
# This tag implements a quasi-intelligent brief description abbreviator
# that is used to form the text in various listings. Each string
# in this list, if found as the leading text of the brief description, will be
# stripped from the text and the result after processing the whole list, is
# used as the annotated text. Otherwise, the brief description is used as-is.
# If left blank, the following values are used ("$name" is automatically
# replaced with the name of the entity): "The $name class" "The $name widget"
# "The $name file" "is" "provides" "specifies" "contains"
# "represents" "a" "an" "the"
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
# Doxygen will generate a detailed section even if there is only a brief
# description.
ALWAYS_DETAILED_SEC = NO
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
# inherited members of a class in the documentation of that class as if those
# members were ordinary class members. Constructors, destructors and assignment
# operators of the base classes will not be shown.
INLINE_INHERITED_MEMB = NO
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
FULL_PATH_NAMES = YES
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user-defined part of the path. Stripping is
# only done if one of the specified strings matches the left-hand part of
# the path. The tag can be used to show relative paths in the file list.
# If left blank the directory from which doxygen is run is used as the
# path to strip.
STRIP_FROM_PATH = @PROJECT_SOURCE_DIR@ @PROJECT_BINARY_DIR@
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
# the path mentioned in the documentation of a class, which tells
# the reader which header file to include in order to use a class.
# If left blank only the name of the header file containing the class
# definition is used. Otherwise one should specify the include paths that
# are normally passed to the compiler using the -I flag.
STRIP_FROM_INC_PATH = @PROJECT_SOURCE_DIR@/include @PROJECT_BINARY_DIR@/include
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
# (but less readable) file names. This can be useful if your file system
# doesn't support long names like on DOS, Mac, or CD-ROM.
SHORT_NAMES = NO
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like regular Qt-style comments
# (thus requiring an explicit @brief command for a brief description.)
JAVADOC_AUTOBRIEF = NO
# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
# interpret the first line (until the first dot) of a Qt-style
# comment as the brief description. If set to NO, the comments
# will behave just like regular Qt-style comments (thus requiring
# an explicit \brief command for a brief description.)
QT_AUTOBRIEF = NO
# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
# treat a multi-line C++ special comment block (i.e. a block of //! or ///
# comments) as a brief description. This used to be the default behaviour.
# The new default is to treat a multi-line C++ comment block as a detailed
# description. Set this tag to YES if you prefer the old behaviour instead.
MULTILINE_CPP_IS_BRIEF = NO
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
# member inherits the documentation from any documented member that it
# re-implements.
INHERIT_DOCS = YES
# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
# a new page for each member. If set to NO, the documentation of a member will
# be part of the file/class/namespace that contains it.
SEPARATE_MEMBER_PAGES = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
# Doxygen uses this value to replace tabs by spaces in code fragments.
TAB_SIZE = 8
# This tag can be used to specify a number of aliases that acts
# as commands in the documentation. An alias has the form "name=value".
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
# put the command \sideeffect (or @sideeffect) in the documentation, which
# will result in a user-defined paragraph with heading "Side Effects:".
# You can put \n's in the value part of an alias to insert newlines.
ALIASES = "accessors=\par Accessors:\n" "notifier=\par Notifier:\n"
# This tag can be used to specify a number of word-keyword mappings (TCL only).
# A mapping has the form "name=value". For example adding
# "class=itcl::class" will allow you to use the command class in the
# itcl::class meaning.
TCL_SUBST =
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
# sources only. Doxygen will then generate output that is more tailored for C.
# For instance, some of the names that are used will be different. The list
# of all members will be omitted, etc.
OPTIMIZE_OUTPUT_FOR_C = NO
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
# sources only. Doxygen will then generate output that is more tailored for
# Java. For instance, namespaces will be presented as packages, qualified
# scopes will look different, etc.
OPTIMIZE_OUTPUT_JAVA = NO
# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
# sources only. Doxygen will then generate output that is more tailored for
# Fortran.
OPTIMIZE_FOR_FORTRAN = NO
# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
# sources. Doxygen will then generate output that is tailored for
# VHDL.
OPTIMIZE_OUTPUT_VHDL = NO
# Doxygen selects the parser to use depending on the extension of the files it
# parses. With this tag you can assign which parser to use for a given extension.
# Doxygen has a built-in mapping, but you can override or extend it using this
# tag. The format is ext=language, where ext is a file extension, and language
# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
EXTENSION_MAPPING =
# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all
# comments according to the Markdown format, which allows for more readable
# documentation. See http://daringfireball.net/projects/markdown/ for details.
# The output of markdown processing is further processed by doxygen, so you
# can mix doxygen, HTML, and XML commands with Markdown formatting.
# Disable only in case of backward compatibilities issues.
MARKDOWN_SUPPORT = YES
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should
# set this tag to YES in order to let doxygen match functions declarations and
# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
# func(std::string) {}). This also makes the inheritance and collaboration
# diagrams that involve STL classes more complete and accurate.
BUILTIN_STL_SUPPORT = NO
# If you use Microsoft's C++/CLI language, you should set this option to YES to
# enable parsing support.
CPP_CLI_SUPPORT = NO
# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
# Doxygen will parse them like normal C++ but will assume all classes use public
# instead of private inheritance when no explicit protection keyword is present.
SIP_SUPPORT = NO
# For Microsoft's IDL there are propget and propput attributes to indicate getter
# and setter methods for a property. Setting this option to YES (the default)
# will make doxygen replace the get and set methods by a property in the
# documentation. This will only work if the methods are indeed getting or
# setting a simple type. If this is not the case, or you want to show the
# methods anyway, you should set this option to NO.
IDL_PROPERTY_SUPPORT = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
DISTRIBUTE_GROUP_DOC = NO
# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
# the same type (for instance a group of public functions) to be put as a
# subgroup of that type (e.g. under the Public Functions section). Set it to
# NO to prevent subgrouping. Alternatively, this can be done per class using
# the \nosubgrouping command.
SUBGROUPING = YES
# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
# unions are shown inside the group in which they are included (e.g. using
# @ingroup) instead of on a separate page (for HTML and Man pages) or
# section (for LaTeX and RTF).
INLINE_GROUPED_CLASSES = NO
# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
# unions with only public data fields will be shown inline in the documentation
# of the scope in which they are defined (i.e. file, namespace, or group
# documentation), provided this scope is documented. If set to NO (the default),
# structs, classes, and unions are shown on a separate page (for HTML and Man
# pages) or section (for LaTeX and RTF).
INLINE_SIMPLE_STRUCTS = NO
# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
# is documented as struct, union, or enum with the name of the typedef. So
# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
# with name TypeT. When disabled the typedef will appear as a member of a file,
# namespace, or class. And the struct will be named TypeS. This can typically
# be useful for C code in case the coding convention dictates that all compound
# types are typedef'ed and only the typedef is referenced, never the tag name.
TYPEDEF_HIDES_STRUCT = NO
# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be
# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given
# their name and scope. Since this can be an expensive process and often the
# same symbol appear multiple times in the code, doxygen keeps a cache of
# pre-resolved symbols. If the cache is too small doxygen will become slower.
# If the cache is too large, memory is wasted. The cache size is given by this
# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols.
LOOKUP_CACHE_SIZE = 0
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
# documentation are documented, even if no documentation was available.
# Private class members and static file members will be hidden unless
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
EXTRACT_ALL = NO
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
EXTRACT_PRIVATE = NO
# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
# scope will be included in the documentation.
EXTRACT_PACKAGE = NO
# If the EXTRACT_STATIC tag is set to YES all static members of a file
# will be included in the documentation.
EXTRACT_STATIC = NO
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
# defined locally in source files will be included in the documentation.
# If set to NO only classes defined in header files are included.
EXTRACT_LOCAL_CLASSES = YES
# This flag is only useful for Objective-C code. When set to YES local
# methods, which are defined in the implementation section but not in
# the interface are included in the documentation.
# If set to NO (the default) only methods in the interface are included.
EXTRACT_LOCAL_METHODS = NO
# If this flag is set to YES, the members of anonymous namespaces will be
# extracted and appear in the documentation as a namespace called
# 'anonymous_namespace{file}', where file will be replaced with the base
# name of the file that contains the anonymous namespace. By default
# anonymous namespaces are hidden.
EXTRACT_ANON_NSPACES = NO
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
# undocumented members of documented classes, files or namespaces.
# If set to NO (the default) these members will be included in the
# various overviews, but no documentation section is generated.
# This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_MEMBERS = NO
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy.
# If set to NO (the default) these classes will be included in the various
# overviews. This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_CLASSES = NO
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
# friend (class|struct|union) declarations.
# If set to NO (the default) these declarations will be included in the
# documentation.
HIDE_FRIEND_COMPOUNDS = NO
# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
# documentation blocks found inside the body of a function.
# If set to NO (the default) these blocks will be appended to the
# function's detailed documentation block.
HIDE_IN_BODY_DOCS = NO
# The INTERNAL_DOCS tag determines if documentation
# that is typed after a \internal command is included. If the tag is set
# to NO (the default) then the documentation will be excluded.
# Set it to YES to include the internal documentation.
INTERNAL_DOCS = NO
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
# file names in lower-case letters. If set to YES upper-case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# and Mac users are advised to set this option to NO.
CASE_SENSE_NAMES = NO
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
# will show members with their full class and namespace scopes in the
# documentation. If set to YES the scope will be hidden.
HIDE_SCOPE_NAMES = NO
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
# will put a list of the files that are included by a file in the documentation
# of that file.
SHOW_INCLUDE_FILES = YES
# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
# will list include files with double quotes in the documentation
# rather than with sharp brackets.
FORCE_LOCAL_INCLUDES = NO
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
# is inserted in the documentation for inline members.
INLINE_INFO = YES
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
# will sort the (detailed) documentation of file and class members
# alphabetically by member name. If set to NO the members will appear in
# declaration order.
SORT_MEMBER_DOCS = YES
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
# brief documentation of file, namespace and class members alphabetically
# by member name. If set to NO (the default) the members will appear in
# declaration order.
SORT_BRIEF_DOCS = NO
# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
# will sort the (brief and detailed) documentation of class members so that
# constructors and destructors are listed first. If set to NO (the default)
# the constructors will appear in the respective orders defined by
# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
SORT_MEMBERS_CTORS_1ST = NO
# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
# hierarchy of group names into alphabetical order. If set to NO (the default)
# the group names will appear in their defined order.
SORT_GROUP_NAMES = NO
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
# sorted by fully-qualified names, including namespaces. If set to
# NO (the default), the class list will be sorted only by class name,
# not including the namespace part.
# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
# Note: This option applies only to the class list, not to the
# alphabetical list.
SORT_BY_SCOPE_NAME = NO
# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
# do proper type resolution of all parameters of a function it will reject a
# match between the prototype and the implementation of a member function even
# if there is only one candidate or it is obvious which candidate to choose
# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
# will still accept a match between prototype and implementation in such cases.
STRICT_PROTO_MATCHING = NO
# The GENERATE_TODOLIST tag can be used to enable (YES) or
# disable (NO) the todo list. This list is created by putting \todo
# commands in the documentation.
GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or
# disable (NO) the test list. This list is created by putting \test
# commands in the documentation.
GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or
# disable (NO) the bug list. This list is created by putting \bug
# commands in the documentation.
GENERATE_BUGLIST = YES
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
# disable (NO) the deprecated list. This list is created by putting
# \deprecated commands in the documentation.
GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif.
ENABLED_SECTIONS =
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
# the initial value of a variable or macro consists of for it to appear in
# the documentation. If the initializer consists of more lines than specified
# here it will be hidden. Use a value of 0 to hide initializers completely.
# The appearance of the initializer of individual variables and macros in the
# documentation can be controlled using \showinitializer or \hideinitializer
# command in the documentation regardless of this setting.
MAX_INITIALIZER_LINES = 30
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
# at the bottom of the documentation of classes and structs. If set to YES the
# list will mention the files that were used to generate the documentation.
SHOW_USED_FILES = YES
# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
# This will remove the Files entry from the Quick Index and from the
# Folder Tree View (if specified). The default is YES.
SHOW_FILES = YES
# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
# Namespaces page. This will remove the Namespaces entry from the Quick Index
# and from the Folder Tree View (if specified). The default is YES.
SHOW_NAMESPACES = YES
# The FILE_VERSION_FILTER tag can be used to specify a program or script that
# doxygen should invoke to get the current version for each file (typically from
# the version control system). Doxygen will invoke the program by executing (via
# popen()) the command , where is the value of
# the FILE_VERSION_FILTER tag, and is the name of an input file
# provided by doxygen. Whatever the program writes to standard output
# is used as the file version. See the manual for examples.
FILE_VERSION_FILTER =
# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
# by doxygen. The layout file controls the global structure of the generated
# output files in an output format independent way. To create the layout file
# that represents doxygen's defaults, run doxygen with the -l option.
# You can optionally specify a file name after the option, if omitted
# DoxygenLayout.xml will be used as the name of the layout file.
LAYOUT_FILE =
# The CITE_BIB_FILES tag can be used to specify one or more bib files
# containing the references data. This must be a list of .bib files. The
# .bib extension is automatically appended if omitted. Using this command
# requires the bibtex tool to be installed. See also
# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this
# feature you need bibtex and perl available in the search path.
CITE_BIB_FILES =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
# The QUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
QUIET = YES
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
# NO is used.
WARNINGS = YES
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
# automatically be disabled.
WARN_IF_UNDOCUMENTED = YES
# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
# potential errors in the documentation, such as not documenting some
# parameters in a documented function, or documenting parameters that
# don't exist or using markup commands wrongly.
WARN_IF_DOC_ERROR = YES
# The WARN_NO_PARAMDOC option can be enabled to get warnings for
# functions that are documented, but have no documentation for their parameters
# or return value. If set to NO (the default) doxygen will only warn about
# wrong or incomplete parameter documentation, but not about the absence of
# documentation.
WARN_NO_PARAMDOC = NO
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
# tags, which will be replaced by the file and line number from which the
# warning originated and the warning text. Optionally the format may contain
# $version, which will be replaced by the version of the file (if it could
# be obtained via FILE_VERSION_FILTER)
WARN_FORMAT = "$file:$line: $text"
# The WARN_LOGFILE tag can be used to specify a file to which warning
# and error messages should be written. If left blank the output is written
# to stderr.
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that contain
# documented source files. You may enter file names like "myfile.cpp" or
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = @PROJECT_BINARY_DIR@/include @PROJECT_SOURCE_DIR@/include @PROJECT_SOURCE_DIR@/src
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
# also the default input encoding. Doxygen uses libiconv (or the iconv built
# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
# the list of possible encodings.
INPUT_ENCODING = UTF-8
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank the following patterns are tested:
# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
# *.f90 *.f *.for *.vhd *.vhdl
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.d \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.markdown \
*.md \
*.mm \
*.dox \
*.py \
*.f90 \
*.f \
*.for \
*.vhd \
*.vhdl
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.
RECURSIVE = YES
# The EXCLUDE tag can be used to specify files and/or directories that should be
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
# Note that relative paths are relative to the directory from which doxygen is
# run.
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded
# from the input.
EXCLUDE_SYMLINKS = NO
# If the value of the INPUT tag contains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories. Note that the wildcards are matched
# against the file with absolute path, so to exclude all test directories
# for example use the pattern */test/*
EXCLUDE_PATTERNS = */internal/*
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
# output. The symbol name can be a fully qualified name, a word, or if the
# wildcard * is used, a substring. Examples: ANamespace, AClass,
# AClass::ANamespace, ANamespace::*Test
EXCLUDE_SYMBOLS = *::internal::*
# The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see
# the \include command).
EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
EXAMPLE_PATTERNS = *
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
EXAMPLE_RECURSIVE = NO
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
# the \image command).
IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command , where
# is the value of the INPUT_FILTER tag, and is the name of an
# input file. Doxygen will then use the output that the filter program writes
# to standard output. If FILTER_PATTERNS is specified, this tag will be
# ignored.
INPUT_FILTER =
# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
# basis. Doxygen will compare the file name with each pattern and apply the
# filter if there is a match. The filters are a list of the form:
# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
# info on how filters are used. If FILTER_PATTERNS is empty or if
# non of the patterns match the file name, INPUT_FILTER is applied.
FILTER_PATTERNS =
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER) will be used to filter the input files when producing source
# files to browse (i.e. when SOURCE_BROWSER is set to YES).
FILTER_SOURCE_FILES = NO
# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
# and it is also possible to disable source filtering for a specific pattern
# using *.ext= (so without naming a filter). This option only has effect when
# FILTER_SOURCE_FILES is enabled.
FILTER_SOURCE_PATTERNS =
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
# Note: To get rid of all source code in the generated output, make sure also
# VERBATIM_HEADERS is set to NO.
SOURCE_BROWSER = NO
# Setting the INLINE_SOURCES tag to YES will include the body
# of functions and classes directly in the documentation.
INLINE_SOURCES = NO
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
# doxygen to hide any special comment blocks from generated source code
# fragments. Normal C, C++ and Fortran comments will always remain visible.
STRIP_CODE_COMMENTS = YES
# If the REFERENCED_BY_RELATION tag is set to YES
# then for each documented function all documented
# functions referencing it will be listed.
REFERENCED_BY_RELATION = NO
# If the REFERENCES_RELATION tag is set to YES
# then for each documented function all documented entities
# called/used by that function will be listed.
REFERENCES_RELATION = NO
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
# link to the source code. Otherwise they will link to the documentation.
REFERENCES_LINK_SOURCE = YES
# If the USE_HTAGS tag is set to YES then the references to source code
# will point to the HTML generated by the htags(1) tool instead of doxygen
# built-in source browser. The htags tool is part of GNU's global source
# tagging system (see http://www.gnu.org/software/global/global.html). You
# will need version 4.8.6 or higher.
USE_HTAGS = NO
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
# will generate a verbatim copy of the header file for each class for
# which an include is specified. Set to NO to disable this.
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = YES
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which this list will be split (can be a number in the range [1..20])
COLS_IN_ALPHA_INDEX = 5
# In case all classes in a project start with a common prefix, all
# classes will be put under the same header in the alphabetical index.
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
# should be ignored while generating the index headers.
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
# generate HTML output.
GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `html' will be used as the default path.
HTML_OUTPUT = lib@LOMIRI_API_LIB@
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
# doxygen will generate files with .html extension.
HTML_FILE_EXTENSION = .html
# The HTML_HEADER tag can be used to specify a personal HTML header for
# each generated HTML page. If it is left blank doxygen will generate a
# standard header. Note that when using a custom header you are responsible
# for the proper inclusion of any scripts and style sheets that doxygen
# needs, which is dependent on the configuration options used.
# It is advised to generate a default header using "doxygen -w html
# header.html footer.html stylesheet.css YourConfigFile" and then modify
# that header. Note that the header is subject to change so you typically
# have to redo this when upgrading to a newer version of doxygen or when
# changing the value of configuration settings such as GENERATE_TREEVIEW!
HTML_HEADER =
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER =
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
# style sheet that is used by each HTML page. It can be used to
# fine-tune the look of the HTML output. If the tag is left blank doxygen
# will generate a default style sheet. Note that doxygen will try to copy
# the style sheet file to the HTML output directory, so don't put your own
# style sheet in the HTML output directory as well, or it will be erased!
HTML_STYLESHEET =
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
# that these files will be copied to the base HTML output directory. Use the
# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
# files. In the HTML_STYLESHEET file, use the file name only. Also note that
# the files will be copied as-is; there are no commands or markers available.
HTML_EXTRA_FILES =
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
# Doxygen will adjust the colors in the style sheet and background images
# according to this color. Hue is specified as an angle on a colorwheel,
# see http://en.wikipedia.org/wiki/Hue for more information.
# For instance the value 0 represents red, 60 is yellow, 120 is green,
# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
# The allowed range is 0 to 359.
HTML_COLORSTYLE_HUE = 220
# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
# the colors in the HTML output. For a value of 0 the output will use
# grayscales only. A value of 255 will produce the most vivid colors.
HTML_COLORSTYLE_SAT = 100
# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
# the luminance component of the colors in the HTML output. Values below
# 100 gradually make the output lighter, whereas values above 100 make
# the output darker. The value divided by 100 is the actual gamma applied,
# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
# and 100 does not change the gamma.
HTML_COLORSTYLE_GAMMA = 80
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
# page will contain the date and time when the page was generated. Setting
# this to NO can help when comparing the output of multiple runs.
HTML_TIMESTAMP = YES
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the
# page has loaded.
HTML_DYNAMIC_SECTIONS = NO
# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of
# entries shown in the various tree structured indices initially; the user
# can expand and collapse entries dynamically later on. Doxygen will expand
# the tree to such a level that at most the specified number of entries are
# visible (unless a fully collapsed tree already exceeds this amount).
# So setting the number of entries 1 will produce a full collapsed tree by
# default. 0 is a special value representing an infinite number of entries
# and will result in a full expanded tree by default.
HTML_INDEX_NUM_ENTRIES = 100
# If the GENERATE_DOCSET tag is set to YES, additional index files
# will be generated that can be used as input for Apple's Xcode 3
# integrated development environment, introduced with OSX 10.5 (Leopard).
# To create a documentation set, doxygen will generate a Makefile in the
# HTML output directory. Running make will produce the docset in that
# directory and running "make install" will install the docset in
# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
# it at startup.
# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
# for more information.
GENERATE_DOCSET = NO
# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
# feed. A documentation feed provides an umbrella under which multiple
# documentation sets from a single provider (such as a company or product suite)
# can be grouped.
DOCSET_FEEDNAME = "Doxygen generated docs"
# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
# should uniquely identify the documentation set bundle. This should be a
# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
# will append .docset to the name.
DOCSET_BUNDLE_ID = org.doxygen.Project
# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
# the documentation publisher. This should be a reverse domain-name style
# string, e.g. com.mycompany.MyDocSet.documentation.
DOCSET_PUBLISHER_ID = org.doxygen.Publisher
# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
DOCSET_PUBLISHER_NAME = Publisher
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
# be used to specify the file name of the resulting .chm file. You
# can add a path in front of the file if the result should not be
# written to the html output directory.
CHM_FILE =
# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
# be used to specify the location (absolute path including file name) of
# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
# the HTML help compiler on the generated index.hhp.
HHC_LOCATION =
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
# controls if a separate .chi index file is generated (YES) or that
# it should be included in the master .chm file (NO).
GENERATE_CHI = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
# is used to encode HtmlHelp index (hhk), content (hhc) and project file
# content.
CHM_INDEX_ENCODING =
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
# controls whether a binary table of contents is generated (YES) or a
# normal table of contents (NO) in the .chm file.
BINARY_TOC = NO
# The TOC_EXPAND flag can be set to YES to add extra items for group members
# to the contents of the HTML help documentation and to the tree view.
TOC_EXPAND = NO
# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
# that can be used as input for Qt's qhelpgenerator to generate a
# Qt Compressed Help (.qch) of the generated HTML documentation.
GENERATE_QHP = NO
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
# be used to specify the file name of the resulting .qch file.
# The path specified is relative to the HTML output folder.
QCH_FILE =
# The QHP_NAMESPACE tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#namespace
QHP_NAMESPACE = org.doxygen.Project
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
# http://doc.trolltech.com/qthelpproject.html#virtual-folders
QHP_VIRTUAL_FOLDER = doc
# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
# add. For more information please see
# http://doc.trolltech.com/qthelpproject.html#custom-filters
QHP_CUST_FILTER_NAME =
# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
# custom filter to add. For more information please see
#
# Qt Help Project / Custom Filters.
QHP_CUST_FILTER_ATTRS =
# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
# project's
# filter section matches.
#
# Qt Help Project / Filter Attributes.
QHP_SECT_FILTER_ATTRS =
# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
# be used to specify the location of Qt's qhelpgenerator.
# If non-empty doxygen will try to run qhelpgenerator on the generated
# .qhp file.
QHG_LOCATION =
# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
# will be generated, which together with the HTML files, form an Eclipse help
# plugin. To install this plugin and make it available under the help contents
# menu in Eclipse, the contents of the directory containing the HTML and XML
# files needs to be copied into the plugins directory of eclipse. The name of
# the directory within the plugins directory should be the same as
# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
# the help appears.
GENERATE_ECLIPSEHELP = NO
# A unique identifier for the eclipse help plugin. When installing the plugin
# the directory name containing the HTML and XML files should also have
# this name.
ECLIPSE_DOC_ID = org.doxygen.Project
# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs)
# at top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it. Since the tabs have the same information as the
# navigation tree you can set this option to NO if you already set
# GENERATE_TREEVIEW to YES.
DISABLE_INDEX = NO
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information.
# If the tag value is set to YES, a side panel will be generated
# containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
# Windows users are probably better off using the HTML help feature.
# Since the tree basically has the same information as the tab index you
# could consider to set DISABLE_INDEX to NO when enabling this option.
GENERATE_TREEVIEW = YES
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values
# (range [0,1..20]) that doxygen will group on one line in the generated HTML
# documentation. Note that a value of 0 will completely suppress the enum
# values from appearing in the overview section.
ENUM_VALUES_PER_LINE = 4
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
# is shown.
TREEVIEW_WIDTH = 250
# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
# links to external symbols imported via tag files in a separate window.
EXT_LINKS_IN_WINDOW = NO
# Use this tag to change the font size of Latex formulas included
# as images in the HTML documentation. The default is 10. Note that
# when you change the font size after a successful doxygen run you need
# to manually remove any form_*.png images from the HTML output directory
# to force them to be regenerated.
FORMULA_FONTSIZE = 10
# Use the FORMULA_TRANPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are
# not supported properly for IE 6.0, but are supported on all modern browsers.
# Note that when changing this option you need to delete any form_*.png files
# in the HTML output before the changes have effect.
FORMULA_TRANSPARENT = YES
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax
# (see http://www.mathjax.org) which uses client side Javascript for the
# rendering instead of using prerendered bitmaps. Use this if you do not
# have LaTeX installed or if you want to formulas look prettier in the HTML
# output. When enabled you may also need to install MathJax separately and
# configure the path to it using the MATHJAX_RELPATH option.
USE_MATHJAX = NO
# When MathJax is enabled you need to specify the location relative to the
# HTML output directory using the MATHJAX_RELPATH option. The destination
# directory should contain the MathJax.js script. For instance, if the mathjax
# directory is located at the same level as the HTML output directory, then
# MATHJAX_RELPATH should be ../mathjax. The default value points to
# the MathJax Content Delivery Network so you can quickly see the result without
# installing MathJax. However, it is strongly recommended to install a local
# copy of MathJax from http://www.mathjax.org before deployment.
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
# names that should be enabled during MathJax rendering.
MATHJAX_EXTENSIONS =
# When the SEARCHENGINE tag is enabled doxygen will generate a search box
# for the HTML output. The underlying search engine uses javascript
# and DHTML and should work on any modern browser. Note that when using
# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
# (GENERATE_DOCSET) there is already a search function so this one should
# typically be disabled. For large projects the javascript based search engine
# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client
# using Javascript. Doxygen will generate the search PHP script and index
# file to put on the web server. The advantage of the server
# based approach is that it scales better to large projects and allows
# full text search. The disadvantages are that it is more difficult to setup
# and does not have live searching capabilities.
SERVER_BASED_SEARCH = NO
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `latex' will be used as the default path.
LATEX_OUTPUT = latex
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# invoked. If left blank `latex' will be used as the default command name.
# Note that when enabling USE_PDFLATEX this option is only used for
# generating bitmaps for formulas in the HTML output, but not in the
# Makefile that is written to the output directory.
LATEX_CMD_NAME = latex
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
# generate index for LaTeX. If left blank `makeindex' will be used as the
# default command name.
MAKEINDEX_CMD_NAME = makeindex
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
# LaTeX documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_LATEX = NO
# The PAPER_TYPE tag can be used to set the paper type that is used
# by the printer. Possible values are: a4, letter, legal and
# executive. If left blank a4wide will be used.
PAPER_TYPE = a4
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
EXTRA_PACKAGES =
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until
# the first chapter. If it is left blank doxygen will generate a
# standard header. Notice: only use this tag if you know what you are doing!
LATEX_HEADER =
# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for
# the generated latex document. The footer should contain everything after
# the last chapter. If it is left blank doxygen will generate a
# standard footer. Notice: only use this tag if you know what you are doing!
LATEX_FOOTER =
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
# is prepared for conversion to pdf (using ps2pdf). The pdf file will
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.
LATEX_BATCHMODE = NO
# If LATEX_HIDE_INDICES is set to YES then doxygen will not
# include the index chapters (such as File Index, Compound Index, etc.)
# in the output.
LATEX_HIDE_INDICES = NO
# If LATEX_SOURCE_CODE is set to YES then doxygen will include
# source code with syntax highlighting in the LaTeX output.
# Note that which sources are shown also depends on other settings
# such as SOURCE_BROWSER.
LATEX_SOURCE_CODE = NO
# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
# http://en.wikipedia.org/wiki/BibTeX for more info.
LATEX_BIB_STYLE = plain
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
# The RTF output is optimized for Word 97 and may not look very pretty with
# other RTF readers or editors.
GENERATE_RTF = NO
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `rtf' will be used as the default path.
RTF_OUTPUT = rtf
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
# RTF documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
# will contain hyperlink fields. The RTF file will
# contain links (just like the HTML output) instead of page references.
# This makes the output suitable for online browsing using WORD or other
# programs which support those fields.
# Note: wordpad (write) and others do not support links.
RTF_HYPERLINKS = NO
# Load style sheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assignments. You only have to provide
# replacements, missing definitions are set to their default value.
RTF_STYLESHEET_FILE =
# Set optional variables used in the generation of an rtf document.
# Syntax is similar to doxygen's config file.
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
# generate man pages
GENERATE_MAN = NO
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `man' will be used as the default path.
MAN_OUTPUT = man
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION = .3
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
# then it will generate one additional man file for each entity
# documented in the real man page(s). These additional files
# only source the real man page, but without them the man command
# would be unable to find the correct page. The default is NO.
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
# If the GENERATE_XML tag is set to YES Doxygen will
# generate an XML file that captures the structure of
# the code including all documentation.
GENERATE_XML = NO
# The XML_OUTPUT tag is used to specify where the XML pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `xml' will be used as the default path.
XML_OUTPUT = xml
# The XML_SCHEMA tag can be used to specify an XML schema,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_SCHEMA =
# The XML_DTD tag can be used to specify an XML DTD,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_DTD =
# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
# dump the program listings (including syntax highlighting
# and cross-referencing information) to the XML output. Note that
# enabling this will significantly increase the size of the XML output.
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
# generate an AutoGen Definitions (see autogen.sf.net) file
# that captures the structure of the code including all
# documentation. Note that this feature is still experimental
# and incomplete at the moment.
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
# If the GENERATE_PERLMOD tag is set to YES Doxygen will
# generate a Perl module file that captures the structure of
# the code including all documentation. Note that this
# feature is still experimental and incomplete at the
# moment.
GENERATE_PERLMOD = NO
# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
# the necessary Makefile rules, Perl scripts and LaTeX code to be able
# to generate PDF and DVI output from the Perl module output.
PERLMOD_LATEX = NO
# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
# nicely formatted so it can be parsed by a human reader. This is useful
# if you want to understand what is going on. On the other hand, if this
# tag is set to NO the size of the Perl module output will be much smaller
# and Perl will parse it just the same.
PERLMOD_PRETTY = YES
# The names of the make variables in the generated doxyrules.make file
# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
# This is useful so different doxyrules.make files included by the same
# Makefile don't overwrite each other's variables.
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
# evaluate all C-preprocessor directives found in the sources and include
# files.
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_DEFINED tags.
EXPAND_ONLY_PREDEF = NO
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# pointed to by INCLUDE_PATH will be searched when a #include is found.
SEARCH_INCLUDES = YES
# The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by
# the preprocessor.
INCLUDE_PATH =
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will
# be used.
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
# gcc). The argument of the tag is a list of macros of the form: name
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed. To prevent a macro definition from being
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
PREDEFINED =
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition that
# overrules the definition found in the source code.
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all references to function-like macros
# that are alone on a line, have an all uppercase name, and do not end with a
# semicolon, because these will confuse the parser if not removed.
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
# The TAGFILES option can be used to specify one or more tagfiles. For each
# tag file the location of the external documentation should be added. The
# format of a tag file without this location is as follows:
# TAGFILES = file1 file2 ...
# Adding location for the tag files is done as follows:
# TAGFILES = file1=loc1 "file2 = loc2" ...
# where "loc1" and "loc2" can be relative or absolute paths
# or URLs. Note that each tag file must have a unique name (where the name does
# NOT include the path). If a tag file is not located in the directory in which
# doxygen is run, you must also specify the path to the tagfile here.
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# will be listed.
ALLEXTERNALS = NO
# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
# in the modules index. If set to NO, only the current project's groups will
# be listed.
EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
# or super classes. Setting the tag to NO turns the diagrams off. Note that
# this option also works with HAVE_DOT disabled, but it is recommended to
# install and use dot, since it yields more powerful graphs.
CLASS_DIAGRAMS = YES
# You can define message sequence charts within doxygen comments using the \msc
# command. Doxygen will then run the mscgen tool (see
# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
# documentation. The MSCGEN_PATH tag allows you to specify the directory where
# the mscgen tool resides. If left empty the tool is assumed to be found in the
# default search path.
DOT_PATH = @DOXYGEN_DOT_PATH@
# If set to YES, the inheritance and collaboration graphs will hide
# inheritance and usage relations if the target is undocumented
# or is not a class.
HIDE_UNDOC_RELATIONS = YES
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz, a graph visualization
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
HAVE_DOT = YES
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
# allowed to run in parallel. When set to 0 (the default) doxygen will
# base this on the number of processors available in the system. You can set it
# explicitly to a value larger than 0 to get control over the balance
# between CPU load and processing speed.
DOT_NUM_THREADS = 0
# By default doxygen will use the Helvetica font for all dot files that
# doxygen generates. When you want a differently looking font you can specify
# the font name using DOT_FONTNAME. You need to make sure dot is able to find
# the font, which can be done by putting it in a standard location or by setting
# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
# directory containing the font.
DOT_FONTNAME = Helvetica
# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
# The default size is 10pt.
DOT_FONTSIZE = 10
# By default doxygen will tell dot to use the Helvetica font.
# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
# set the path where dot can find it.
DOT_FONTPATH =
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
# CLASS_DIAGRAMS tag to NO.
CLASS_GRAPH = YES
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect implementation dependencies (inheritance, containment, and
# class references variables) of the class with other documented classes.
COLLABORATION_GRAPH = YES
# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for groups, showing the direct groups dependencies
GROUP_GRAPHS = YES
# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
# collaboration diagrams in a style similar to the OMG's Unified Modeling
# Language.
UML_LOOK = NO
# If the UML_LOOK tag is enabled, the fields and methods are shown inside
# the class node. If there are many fields or methods and many nodes the
# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
# threshold limits the number of items for each type to make the size more
# managable. Set this to 0 for no limit. Note that the threshold may be
# exceeded by 50% before the limit is enforced.
UML_LIMIT_NUM_FIELDS = 10
# If set to YES, the inheritance and collaboration graphs will show the
# relations between templates and their instances.
TEMPLATE_RELATIONS = NO
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
# tags are set to YES then doxygen will generate a graph for each documented
# file showing the direct and indirect include dependencies of the file with
# other documented files.
INCLUDE_GRAPH = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
# documented header file showing the documented files that directly or
# indirectly include this file.
INCLUDED_BY_GRAPH = YES
# If the CALL_GRAPH and HAVE_DOT options are set to YES then
# doxygen will generate a call dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable call graphs
# for selected functions only using the \callgraph command.
CALL_GRAPH = NO
# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
# doxygen will generate a caller dependency graph for every global function
# or class method. Note that enabling this option will significantly increase
# the time of a run. So in most cases it will be better to enable caller
# graphs for selected functions only using the \callergraph command.
CALLER_GRAPH = NO
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
# will generate a graphical hierarchy of all classes instead of a textual one.
GRAPHICAL_HIERARCHY = YES
# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES
# then doxygen will show the dependencies a directory has on other directories
# in a graphical way. The dependency relations are determined by the #include
# relations between the files in the directories.
DIRECTORY_GRAPH = YES
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. Possible values are svg, png, jpg, or gif.
# If left blank png will be used. If you choose svg you need to set
# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
# visible in IE 9+ (other browsers do not have this requirement).
DOT_IMAGE_FORMAT = png
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
# enable generation of interactive SVG images that allow zooming and panning.
# Note that this requires a modern browser other than Internet Explorer.
# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
# visible. Older versions of IE do not have SVG support.
INTERACTIVE_SVG = NO
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.
DOT_PATH =
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# \dotfile command).
DOTFILE_DIRS =
# The MSCFILE_DIRS tag can be used to specify one or more directories that
# contain msc files that are included in the documentation (see the
# \mscfile command).
MSCFILE_DIRS =
# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
# nodes that will be shown in the graph. If the number of nodes in a graph
# becomes larger than this value, doxygen will truncate the graph, which is
# visualized by representing a node as a red box. Note that doxygen if the
# number of direct children of the root node in a graph is already larger than
# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
DOT_GRAPH_MAX_NODES = 50
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
# graphs generated by dot. A depth value of 3 means that only nodes reachable
# from the root by following a path via at most 3 edges will be shown. Nodes
# that lay further from the root node will be omitted. Note that setting this
# option to 1 or 2 may greatly reduce the computation time needed for large
# code bases. Also note that the size of a graph can be further restricted by
# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
MAX_DOT_GRAPH_DEPTH = 0
# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
# background. This is disabled by default, because dot on Windows does not
# seem to support this out of the box. Warning: Depending on the platform used,
# enabling this option may lead to badly anti-aliased labels on the edges of
# a graph (i.e. they become hard to read).
DOT_TRANSPARENT = NO
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
# makes dot run faster, but since only newer versions of dot (>1.8.10)
# support this, this feature is disabled by default.
DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
# generate a legend page explaining the meaning of the various boxes and
# arrows in the dot generated graphs.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
# remove the intermediate dot files that are used to generate
# the various graphs.
DOT_CLEANUP = YES
lomiri-api-0.1.1/include/ 0000775 0000000 0000000 00000000000 13733104243 0015176 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/CMakeLists.txt 0000664 0000000 0000000 00000000164 13733104243 0017737 0 ustar 00root root 0000000 0000000 set(HDR_INSTALL_DIR include)
add_subdirectory(lomiri)
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} PARENT_SCOPE)
lomiri-api-0.1.1/include/lomiri/ 0000775 0000000 0000000 00000000000 13733104243 0016471 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/CMakeLists.txt 0000664 0000000 0000000 00000000540 13733104243 0021230 0 ustar 00root root 0000000 0000000 add_subdirectory(api)
add_subdirectory(shell)
add_subdirectory(util)
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
install(FILES ${headers} DESTINATION ${HDR_INSTALL_DIR}/lomiri)
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
lomiri-api-0.1.1/include/lomiri/Exception.h 0000664 0000000 0000000 00000010121 13733104243 0020573 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef LOMIRI_EXCEPTION_H
#define LOMIRI_EXCEPTION_H
#include
#include
#include
#include
namespace lomiri
{
class ExceptionImplBase;
/**
\brief Abstract base class for all Lomiri exceptions.
This class is the base class for all Lomiri exceptions. Besides providing a common base class for
structured exception handling, this class provides features to capture nested exceptions (for
exceptions that are re-thrown) and to chain exceptions into an exception history that allows
a number of exceptions to be remembered before throwing a new exception.
The exception nesting is provided by the derivation from std::nested_exception
. If you
catch an exception and throw another exception from the catch handler, the caught exception
is automatically preserved; you can access nested exceptions by calling the nested_ptr()
and
rethrow_nested()
member functions of std::nested_exception
.
In addition, you can remember one or more exceptions by calling remember(). This is useful in situations
where you need to perform a number of actions that may fail with an error code, and you do not want to
throw an exception until all of the actions have been attempted. This is particularly useful in shutdown
scenarios, where it is often impossible to recover from an error, but it is still desirable to try to
shut down as much as possible before reporting or logging the errors:
~~~
void
shutdown()
{
using namespace std;
exception_ptr ep;
try
{
shutdown_action_1();
}
catch (SomeException const&)
{
ep = make_exception_ptr(current_exception());
}
try
{
shutdown_action_2();
}
catch (SomeOtherException const&)
{
ep = e.remember(ep);
}
int err = shutdown_action_3();
if (err != 0)
{
try
{
throw YetAnotherException(err);
}
catch (YetAnotherException const& e)
{
ep = e.remember(ep);
}
}
if (ep)
{
rethrow_exception(ep);
}
}
~~~
Calling what() on a caught exception returns a string with the entire exception history (both nested and
chained).
*/
class LOMIRI_API Exception : public std::exception, public std::nested_exception
{
public:
//! @cond
Exception(Exception const&);
Exception& operator=(Exception const&);
virtual ~Exception() noexcept;
//! @endcond
char const* what() const noexcept override;
/**
\brief Returns a std::exception_ptr
to this
.
\note Derived exceptions must implement this member function so the implemention of remember()
(provided by this abstract base class) can return a std::exception_ptr
to its own derived exception.
*/
virtual std::exception_ptr self() const = 0;
std::string name() const;
std::string reason() const;
std::string to_string(std::string const& indent = " ") const;
std::string to_string(int indent_level, std::string const& indent) const;
std::exception_ptr remember(std::exception_ptr earlier_exception);
std::exception_ptr get_earlier() const noexcept;
protected:
Exception(std::string const& name, std::string const& reason);
private:
std::string name_;
std::string reason_;
mutable std::string what_;
std::exception_ptr earlier_;
};
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/LomiriExceptions.h 0000664 0000000 0000000 00000013462 13733104243 0022145 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef LOMIRI_EXCEPTIONS_H
#define LOMIRI_EXCEPTIONS_H
#include
namespace lomiri
{
/**
\brief Exception to indicate that an invalid argument was passed to a function, such as passing nullptr
when the function expects the argument to be non-null.
*/
class LOMIRI_API InvalidArgumentException : public Exception
{
public:
/**
\brief Constructs the exception.
\param reason Further details about the cause of the exception.
*/
explicit InvalidArgumentException(std::string const& reason);
//! @cond
InvalidArgumentException(InvalidArgumentException const&);
InvalidArgumentException& operator=(InvalidArgumentException const&);
virtual ~InvalidArgumentException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
};
/**
\brief Exception to indicate a logic error, such as driving the API incorrectly, such as calling methods
in the wrong worder.
*/
class LOMIRI_API LogicException : public Exception
{
public:
/**
\brief Constructs the exception.
\param reason Further details about the cause of the exception.
*/
explicit LogicException(std::string const& reason);
//! @cond
LogicException(LogicException const&);
LogicException& operator=(LogicException const&);
virtual ~LogicException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
};
/**
\brief Exception to indicate errors during shutdown.
Usually, it is not possible to handle or recover
from errors that arise during shutdown. This exception is thrown once all possible shutdown actions
have been carried out and provides information about anything that went wrong via the exception
chaining mechanism of the lomiri::Exception base class.
*/
class LOMIRI_API ShutdownException : public Exception
{
public:
/**
\brief Constructs the exception.
\param reason Further details about the cause of the exception.
*/
explicit ShutdownException(std::string const& reason);
//! @cond
ShutdownException(ShutdownException const&);
ShutdownException& operator=(ShutdownException const&);
virtual ~ShutdownException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
};
/**
\brief Exception to indicate file I/O errors, such as failure to open or write to a file.
*/
class LOMIRI_API FileException : public Exception
{
public:
/**
\brief Constructs the exception.
*/
/**
\brief Constructs the exception from a reason string and and error number.
\param reason Further details about the cause of the exception.
\param err The UNIX errno
value for the error.
*/
FileException(std::string const& reason, int err);
//! @cond
FileException(FileException const&);
FileException& operator=(FileException const&);
virtual ~FileException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
/**
\return Returns the error number that was passed to the constructor.
*/
int error() const noexcept;
private:
int err_;
};
/**
\brief Exception to indicate system or library call errors that set errno
.
*/
class LOMIRI_API SyscallException : public Exception
{
public:
/**
\brief Constructs the exception.
*/
/**
\brief Constructs the exception from a reason string and and error number.
\param reason Further details about the cause of the exception.
\param err The UNIX errno
value for the error.
*/
SyscallException(std::string const& reason, int err);
//! @cond
SyscallException(SyscallException const&);
SyscallException& operator=(SyscallException const&);
virtual ~SyscallException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
/**
\return Returns the error number that was passed to the constructor.
*/
int error() const noexcept;
private:
int err_;
};
/**
\brief Exception for miscellaneous errors, such as failure of a third-party library or hitting resource limitations.
*/
class LOMIRI_API ResourceException : public Exception
{
public:
/**
\brief Constructs the exception.
\param reason Further details about the cause of the exception.
*/
explicit ResourceException(std::string const& reason);
//! @cond
ResourceException(ResourceException const&);
ResourceException& operator=(ResourceException const&);
virtual ~ResourceException() noexcept;
//! @endcond
/**
\brief Returns a std::exception_ptr
to this
.
*/
virtual std::exception_ptr self() const override;
};
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/SymbolExport.h 0000664 0000000 0000000 00000002015 13733104243 0021307 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef SYMBOL_EXPORT_H
#define SYMBOL_EXPORT_H
#define LOMIRI_HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))
#ifdef LOMIRI_DLL_EXPORTS // Defined if we are building the Lomiri API library
# define LOMIRI_API LOMIRI_HELPER_DLL_EXPORT
#else
# define LOMIRI_API /**/
#endif
#endif
lomiri-api-0.1.1/include/lomiri/api/ 0000775 0000000 0000000 00000000000 13733104243 0017242 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/api/CMakeLists.txt 0000664 0000000 0000000 00000000634 13733104243 0022005 0 ustar 00root root 0000000 0000000 file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
#
# Generated headers
#
configure_file(Version.h.in Version.h)
set(headers ${headers} ${CMAKE_CURRENT_BINARY_DIR}/Version.h)
install(FILES ${headers} DESTINATION ${HDR_INSTALL_DIR}/lomiri/api)
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
lomiri-api-0.1.1/include/lomiri/api/Version.h.in 0000664 0000000 0000000 00000005705 13733104243 0021454 0 ustar 00root root 0000000 0000000 //
// DO NOT EDIT Version.h (this file)! It is generated from Version.h.in.
//
/*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#include
#ifndef LOMIRI_API_VERSION_H
#define LOMIRI_API_VERSION_H
#define LOMIRI_API_VERSION_MAJOR @LOMIRI_API_MAJOR@
#define LOMIRI_API_VERSION_MINOR @LOMIRI_API_MINOR@
#define LOMIRI_API_VERSION_MICRO @LOMIRI_API_MICRO@
#define LOMIRI_API_VERSION_STRING "@LOMIRI_API_VERSION@"
/**
\brief Top-level namespace for all things Lomiri-related.
*/
namespace lomiri
{
/**
\brief Top-level namespace for public functionality of the Lomiri API.
*/
namespace api
{
/** @name Version information
Version information is represented as
<major
>.<minor
>.<micro
>.
Releases that differ in the major version number are binary incompatible.
Releases that differ in the minor or micro version number are binary compatible with older releases,
so client code does not need to be recompiled to use the newer library version.
Changes in the micro version number indicate bug fixes.
Changes in the minor version indicate feature additions that are binary compatible.
*/
/**
\brief Returns the major version number of the Lomiri API library.
The major version number is also available as the macro LOMIRI_API_VERSION_MAJOR
.
*/
/// @cond
LOMIRI_API
/// @endcond
int major_version();
/**
\brief Returns the minor version number of the Lomiri API library.
The minor version number is also available as the macro LOMIRI_API_VERSION_MINOR
.
*/
/// @cond
LOMIRI_API
/// @endcond
int minor_version();
/**
\brief Returns the micro version number of the Lomiri API library.
The micro version number is also available as the macro LOMIRI_API_VERSION_MICRO
.
*/
/// @cond
LOMIRI_API
/// @endcond
int micro_version();
/**
\brief Returns the Lomiri API version as a string in the format
<major
>.<minor
>.<micro
>.
The version string is also available as the macro LOMIRI_API_VERSION_STRING
.
*/
/// @cond
LOMIRI_API
/// @endcond
const char* str(); // Returns "major.minor.micro"
/// }@
// TODO: Add methods to report compiler version and compiler flags
} // namespace api
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/api/internal/ 0000775 0000000 0000000 00000000000 13733104243 0021056 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/api/internal/.gitkeep 0000664 0000000 0000000 00000000000 13733104243 0022475 0 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/internal/ 0000775 0000000 0000000 00000000000 13733104243 0020305 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/internal/.gitkeep 0000664 0000000 0000000 00000000000 13733104243 0021724 0 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/shell/ 0000775 0000000 0000000 00000000000 13733104243 0017600 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/shell/CMakeLists.txt 0000664 0000000 0000000 00000000572 13733104243 0022344 0 ustar 00root root 0000000 0000000 add_subdirectory(notifications)
add_subdirectory(launcher)
add_subdirectory(application)
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
install(FILES ${headers} DESTINATION ${HDR_INSTALL_DIR}/lomiri/shell)
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
lomiri-api-0.1.1/include/lomiri/shell/application/ 0000775 0000000 0000000 00000000000 13733104243 0022103 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/shell/application/ApplicationInfoInterface.h 0000664 0000000 0000000 00000026410 13733104243 0027157 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013,2015,2016 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
#define LOMIRI_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
#include
#include
#include
#include
#include
namespace lomiri
{
namespace shell
{
namespace application
{
class MirSurfaceListInterface;
/**
* @brief A class that holds information about applications
*
* The items hold all the information required for the visual representation
* in the launcher.
*/
class LOMIRI_API ApplicationInfoInterface: public QObject
{
Q_OBJECT
/**
* @brief The appId of the application.
*
* Holds the appId for the application. For example (com.ubuntu.camera-app).
* The appId is derived from the filename of the .desktop file.
*/
Q_PROPERTY(QString appId READ appId CONSTANT)
/**
* @brief The name of the application.
*
* Holds the name of the application. Localized to current language.
*/
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
/**
* @brief The comment for the application.
*
* Holds the comment of the application as obtained from the .desktop file. Localized
* to current language.
*/
Q_PROPERTY(QString comment READ comment NOTIFY commentChanged)
/**
* @brief The application's icon.
*
* Holds a path to the icon for the application. Can be a file or a gicon url.
*/
Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged)
/**
* @brief The application's state.
*
* Holds the current application state.
*/
Q_PROPERTY(State state READ state NOTIFY stateChanged)
/**
* @brief The application's requested running state
*/
Q_PROPERTY(RequestedState requestedState READ requestedState WRITE setRequestedState NOTIFY requestedStateChanged)
/**
* @brief The application's focus state.
*
* Holds the current application focus state. True if focused, false otherwise.
*/
Q_PROPERTY(bool focused READ focused NOTIFY focusedChanged)
/**
* @brief Splash screen title
*
* @see splashShowHeader
* Title of the splash screen, to be displayed on its header.
*
* A splash screen is shown while the application is loading,
* before it has drawn its first frame.
*/
Q_PROPERTY(QString splashTitle READ splashTitle CONSTANT)
/**
* @brief Splash image
*
* Url of the splash image to be shown while the application is loading,
* before it has drawn its first frame.
*
* The splash image is centered on the splash screen and displayed in
* its actual size (ie, it's not stretched or shrinked and aspect ratio
* is kept).
*/
Q_PROPERTY(QUrl splashImage READ splashImage CONSTANT)
/**
* @brief Whether an application header should be shown on the splash screen
*
* We offer 2 kinds of splash screens for applications:
* 1. A splash with a gradient background and image
* 2. A splash faking a MainView with header text set. So it is possible to
* arrange things so that once the app starts up, this splash and the app's
* first frame are identical.
*
* This property is the switch to select between these.
*
* The header will display the splashTitle, if defined, or the application
* name otherwise.
*
* @see name, splashTitle
*/
Q_PROPERTY(bool splashShowHeader READ splashShowHeader CONSTANT)
/**
* @brief Background color of the splash screen
*
* Any color that is not fully opaque (having an alpha value of less than
* 1.0) is ignored and the default background color will be used instead.
*
* A splash screen is shown while the application is loading,
* before it has drawn its first frame.
*/
Q_PROPERTY(QColor splashColor READ splashColor CONSTANT)
/**
* @brief Color of the splash screen header
*
* Any color that is not fully opaque (having an alpha value of less than
* 1.0) is ignored and the splashColor will be used instead.
*
* A splash screen is shown while the application is loading,
* before it has drawn its first frame.
*
* @see splashColor
*/
Q_PROPERTY(QColor splashColorHeader READ splashColorHeader CONSTANT)
/**
* @brief Color of the splash screen footer
*
* Any color that is not fully opaque (having an alpha value of less than
* 1.0) is ignored and the splashColor will be used instead.
*
* A splash screen is shown while the application is loading,
* before it has drawn its first frame.
*
* @see splashColor
*/
Q_PROPERTY(QColor splashColorFooter READ splashColorFooter CONSTANT)
/**
* @brief The orientations supported by the application UI
* @see rotatesContents
*/
Q_PROPERTY(Qt::ScreenOrientations supportedOrientations READ supportedOrientations CONSTANT)
/**
* @brief Whether the application UI will rotate itself to match the screen orientation
*
* Returns true if the application will rotate the UI in its windows to match the screen
* orientation.
*
* If false, it means that the application never rotates its UI, so it will
* rely on the window manager to appropriately rotate his windows to match the screen
* orientation instead.
*
* @see supportedOrientations
*/
Q_PROPERTY(bool rotatesWindowContents READ rotatesWindowContents CONSTANT)
/**
* @brief Whether the application is an app targeting the Ubuntu Touch platform.
*/
Q_PROPERTY(bool isTouchApp READ isTouchApp CONSTANT)
/**
* @brief Whether this app is exempt from lifecycle management
*
* If true, this app will never entirely suspend its process.
*/
Q_PROPERTY(bool exemptFromLifecycle READ exemptFromLifecycle WRITE setExemptFromLifecycle NOTIFY exemptFromLifecycleChanged)
/**
* @brief The size to be given for new surfaces created by this application
*/
Q_PROPERTY(QSize initialSurfaceSize READ initialSurfaceSize WRITE setInitialSurfaceSize NOTIFY initialSurfaceSizeChanged)
/**
* @brief List of the top-level surfaces created by this application
*/
Q_PROPERTY(lomiri::shell::application::MirSurfaceListInterface* surfaceList READ surfaceList CONSTANT)
/**
* @brief The list of top-level prompt surfaces for this application
*/
Q_PROPERTY(lomiri::shell::application::MirSurfaceListInterface* promptSurfaceList READ promptSurfaceList CONSTANT)
/**
* @brief Count of application's surfaces
*
* This is a convenience property and will always be the same as surfaceList->count().
* It allows to connect to an application and listen for surface creations/removals for
* that particular application without having to keep track of the
* application <-> surfaceList relationship.
*/
Q_PROPERTY(int surfaceCount READ surfaceCount NOTIFY surfaceCountChanged)
protected:
/// @cond
ApplicationInfoInterface(const QString &appId, QObject* parent = 0): QObject(parent) { Q_UNUSED(appId) }
/// @endcond
public:
/**
* @brief A enum that defines a stage.
*
* MainStage: The main stage, which is the normal place for applications in
* traditional desktop environments.
* SideStage: The side stage, a panel on the right to place phone form factor
* applications.
*/
enum Stage {
MainStage,
SideStage
};
Q_ENUM(Stage)
/**
* @brief An application's state.
*
* Starting: The application was launched and is currently starting up.
* Running: The application is running and ready to be used.
* Suspended: The application is in the background and has been suspended by
* the system in order to save resources.
* Stopped: The application is in the background and has been stopped by
* the system in order to save resources. From a programmers point of view,
* the application is closed, but it's state has been stored to disk and
* can be restored upon next launch.
*/
enum State {
Starting,
Running,
Suspended,
Stopped
};
Q_ENUM(State)
/**
* @brief The desired state of an application
*
* RequestedRunning: If state is Suspended or Stopped, the application will be resumed
* or restarted, respectively.
* RequestedSuspended: If state is Running, the application will be suspended.
*/
enum RequestedState {
RequestedRunning = Running,
RequestedSuspended = Suspended
};
Q_ENUM(RequestedState)
/**
* @brief Closes the application
*/
virtual void close() = 0;
/// @cond
virtual ~ApplicationInfoInterface() {}
virtual QString appId() const = 0;
virtual QString name() const = 0;
virtual QString comment() const = 0;
virtual QUrl icon() const = 0;
virtual State state() const = 0;
virtual RequestedState requestedState() const = 0;
virtual void setRequestedState(RequestedState) = 0;
virtual bool focused() const = 0;
virtual QString splashTitle() const = 0;
virtual QUrl splashImage() const = 0;
virtual bool splashShowHeader() const = 0;
virtual QColor splashColor() const = 0;
virtual QColor splashColorHeader() const = 0;
virtual QColor splashColorFooter() const = 0;
virtual Qt::ScreenOrientations supportedOrientations() const = 0;
virtual bool rotatesWindowContents() const = 0;
virtual bool isTouchApp() const = 0;
virtual bool exemptFromLifecycle() const = 0;
virtual void setExemptFromLifecycle(bool) = 0;
virtual QSize initialSurfaceSize() const = 0;
virtual void setInitialSurfaceSize(const QSize &size) = 0;
virtual MirSurfaceListInterface* surfaceList() const = 0;
virtual MirSurfaceListInterface* promptSurfaceList() const = 0;
virtual int surfaceCount() const = 0;
/// @endcond
Q_SIGNALS:
/// @cond
void nameChanged(const QString &name);
void commentChanged(const QString &comment);
void iconChanged(const QUrl &icon);
void stateChanged(State state);
void requestedStateChanged(RequestedState value);
void focusedChanged(bool focused);
void exemptFromLifecycleChanged(bool exemptFromLifecycle);
void initialSurfaceSizeChanged(const QSize &size);
void surfaceCountChanged(int surfaceCount);
/// @endcond
/**
* @brief The application is requesting focus
*/
void focusRequested();
};
} // namespace application
} // namespace shell
} // namespace lomiri
Q_DECLARE_METATYPE(lomiri::shell::application::ApplicationInfoInterface*)
#endif // LOMIRI_SHELL_APPLICATIONMANAGER_APPLICATIONINFOINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/application/ApplicationManagerInterface.h 0000664 0000000 0000000 00000013733 13733104243 0027642 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013,2016 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michael Zanetti
*/
#ifndef LOMIRI_SHELL_APPLICATION_APPLICATIONMANAGERINTERFACE_H
#define LOMIRI_SHELL_APPLICATION_APPLICATIONMANAGERINTERFACE_H
#include
#include
#include
namespace lomiri
{
namespace shell
{
namespace application
{
class ApplicationInfoInterface;
class MirSurfaceInterface;
/**
* @brief The Application manager
*
* This is the main class to interact with Applications
*/
class LOMIRI_API ApplicationManagerInterface: public QAbstractListModel
{
Q_OBJECT
/**
* @brief The count of the applications known to the manager.
*
* This is the same as rowCount, added in order to keep compatibility with QML ListModels.
*/
Q_PROPERTY(int count READ count NOTIFY countChanged)
/**
* @brief The currently focused application.
*
* Use focusApplication() and unfocusCurrentApplication() to modify this.
*/
Q_PROPERTY(QString focusedApplicationId READ focusedApplicationId NOTIFY focusedApplicationIdChanged)
protected:
/// @cond
ApplicationManagerInterface(QObject* parent = 0): QAbstractListModel(parent)
{
m_roleNames.insert(RoleAppId, "appId");
m_roleNames.insert(RoleName, "name");
m_roleNames.insert(RoleComment, "comment");
m_roleNames.insert(RoleIcon, "icon");
m_roleNames.insert(RoleState, "state");
m_roleNames.insert(RoleFocused, "focused");
m_roleNames.insert(RoleIsTouchApp, "isTouchApp");
m_roleNames.insert(RoleExemptFromLifecycle, "exemptFromLifecycle");
m_roleNames.insert(RoleApplication, "application");
connect(this, SIGNAL(rowsInserted(QModelIndex, int, int)), SIGNAL(countChanged()));
connect(this, SIGNAL(rowsRemoved(QModelIndex, int, int)), SIGNAL(countChanged()));
connect(this, SIGNAL(modelReset()), SIGNAL(countChanged()));
connect(this, SIGNAL(layoutChanged()), SIGNAL(countChanged()));
}
/// @endcond
public:
/**
* @brief The Roles supported by the model
*
* See ApplicationInfoInterface properties for details.
*/
enum Roles {
RoleAppId = Qt::UserRole,
RoleName,
RoleComment,
RoleIcon,
RoleState,
RoleFocused,
RoleIsTouchApp,
RoleExemptFromLifecycle,
RoleApplication,
};
Q_ENUM(Roles)
/// @cond
virtual ~ApplicationManagerInterface() {}
QHash roleNames() const override
{
return m_roleNames;
}
int count() const {
return rowCount();
}
virtual QString focusedApplicationId() const = 0;
/// @endcond
/**
* @brief Get an ApplicationInfo item (using stack index).
*
* Note: QML requires the full namespace in the return value.
*
* @param index the index of the item to get
* @returns The item, or null if not found.
*/
Q_INVOKABLE virtual lomiri::shell::application::ApplicationInfoInterface *get(int index) const = 0;
/**
* @brief Get an ApplicationInfo item (using the appId).
*
* Note: QML requires the full namespace in the return value.
*
* @param appId the appId of the item to get
* @returns The item, or null if not found.
*/
Q_INVOKABLE virtual lomiri::shell::application::ApplicationInfoInterface *findApplication(const QString &appId) const = 0;
/*
* @brief Returns the AplicationInfo with the given surface
*/
virtual ApplicationInfoInterface *findApplicationWithSurface(MirSurfaceInterface* surface) const = 0;
/**
* @brief Request to focus a given application
*
* This will request the shell to focus the given application.
*
* @param appId The appId of the app to be focused.
* @returns True if the request will processed, false if it was discarded (i.e. the given appid could not be found)
*/
Q_INVOKABLE virtual bool requestFocusApplication(const QString &appId) = 0;
/**
* @brief Start an application.
*
* @param appId The appId for the application to be spawned.
* @param arguments Any arguments to be passed to the process.
* @returns The created application item if start successful, else null.
*/
Q_INVOKABLE virtual lomiri::shell::application::ApplicationInfoInterface *startApplication(const QString &appId, const QStringList &arguments) = 0;
/**
* @brief Stops an application.
*
* @param appId The application to be stopped.
* @returns True if application stop successful, else false (i.e. false if application was not running).
*/
Q_INVOKABLE virtual bool stopApplication(const QString &appId) = 0;
Q_SIGNALS:
/// @cond
void countChanged();
/// @endcond
/**
* @brief Will be emitted right before the focused application changes.
*
* This can be used to prepare for an upcoming focus change. For example starting
* an animation.
*/
void focusRequested(const QString &appId);
/**
* @brief Will be emitted whenever the focused application changes.
*/
void focusedApplicationIdChanged();
protected:
/// @cond
QHash m_roleNames;
/// @endcond
};
} // namespace application
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_APPLICATIONMANAGER_APPLICATIONINFO_H
lomiri-api-0.1.1/include/lomiri/shell/application/CMakeLists.txt 0000664 0000000 0000000 00000001526 13733104243 0024647 0 ustar 00root root 0000000 0000000 set(INCLUDE_INSTALL_DIR include/lomiri/shell/application)
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
add_custom_target(appheaders
SOURCES ${headers} ${internal_headers})
install(FILES ${headers} DESTINATION ${INCLUDE_INSTALL_DIR})
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
set(VERSION 27)
set(PKGCONFIG_NAME "lomiri-shell-application")
set(PKGCONFIG_DESCRIPTION "Lomiri shell Application APIs")
set(PKGCONFIG_REQUIRES "Qt5Core")
set(PKGCONFIG_FILE lomiri-shell-application.pc)
configure_file(${CMAKE_SOURCE_DIR}/data/lomiri-shell-api.pc.in
${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE} @ONLY
)
install(FILES ${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE}
DESTINATION ${LIB_INSTALL_PREFIX}/pkgconfig
)
lomiri-api-0.1.1/include/lomiri/shell/application/Mir.h 0000664 0000000 0000000 00000006536 13733104243 0023015 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2015-2016 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_MIR_H
#define LOMIRI_SHELL_APPLICATION_MIR_H
#include
/**
@brief Acting mostly as a namespace to hold enums and such for use in QML
*/
class Mir : public QObject
{
Q_OBJECT
/**
@brief Name of the mouse cursor to be used. Follows the X Cursor naming convention.
Eg.: "left_ptr" is a left-sided pointer arrow
*/
Q_PROPERTY(QString cursorName READ cursorName WRITE setCursorName NOTIFY cursorNameChanged)
/**
* Current (global) keymap, to be applied on the keyboard device
*
* E.g.: "cz+qwerty" -> "cz" layout, "qwerty" variant
*/
Q_PROPERTY(QString currentKeymap READ currentKeymap WRITE setCurrentKeymap NOTIFY currentKeymapChanged)
public:
/**
@brief Surface type
*/
enum Type {
UnknownType,
NormalType,
UtilityType,
DialogType,
GlossType,
FreeStyleType,
MenuType,
InputMethodType,
SatelliteType,
TipType,
};
Q_ENUM(Type)
/**
@brief Surface state
*/
enum State {
UnknownState,
RestoredState,
MinimizedState,
MaximizedState,
FullscreenState,
MaximizedLeftState,
MaximizedRightState,
HorizMaximizedState,
VertMaximizedState,
MaximizedTopLeftState,
MaximizedTopRightState,
MaximizedBottomLeftState,
MaximizedBottomRightState,
HiddenState,
AttachedState,
};
Q_ENUM(State)
/**
@brief Surface orientation angle
*/
enum OrientationAngle {
Angle0 = 0,
Angle90 = 90,
Angle180 = 180,
Angle270 = 270
};
Q_ENUM(OrientationAngle)
/**
@brief Shell chrome
*/
enum ShellChrome {
NormalChrome,
LowChrome,
};
Q_ENUM(ShellChrome)
/**
@brief Form Factor
*/
enum FormFactor {
FormFactorUnknown,
FormFactorPhone,
FormFactorTablet,
FormFactorMonitor,
FormFactorTV,
FormFactorProjector,
};
Q_ENUM(FormFactor)
/// @cond
virtual void setCursorName(const QString &cursorName) = 0;
virtual QString cursorName() const = 0;
virtual QString currentKeymap() const = 0;
virtual void setCurrentKeymap(const QString ¤tKeymap) = 0;
/// @endcond
Q_SIGNALS:
/// @cond
void cursorNameChanged(const QString &cursorName);
void currentKeymapChanged(const QString ¤tKeymap);
/// @endcond
};
Q_DECLARE_METATYPE(Mir::Type)
Q_DECLARE_METATYPE(Mir::State)
Q_DECLARE_METATYPE(Mir::OrientationAngle)
Q_DECLARE_METATYPE(Mir::ShellChrome)
Q_DECLARE_METATYPE(Mir::FormFactor)
#endif // LOMIRI_SHELL_APPLICATION_MIR_H
lomiri-api-0.1.1/include/lomiri/shell/application/MirMousePointerInterface.h 0000664 0000000 0000000 00000004402 13733104243 0027176 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2015-2016 Canonical, Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3, as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
* SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
#ifndef MIR_MOUSE_POINTER_INTERFACE_H
#define MIR_MOUSE_POINTER_INTERFACE_H
#include
/**
* @brief The QML mouse pointer
*
* FIXME: Get this out of lomiri-api
*
* This QML item drives the position of the Mir mouse pointer on the scene
*/
class MirMousePointerInterface : public QQuickItem {
Q_OBJECT
/**
* @brief Name of the cursor
* Defines the look of the mouse pointer along with themeName
*/
Q_PROPERTY(QString cursorName READ cursorName NOTIFY cursorNameChanged)
/**
* @brief Name of the cursor theme
* Defines the look of the mouse pointer along with cursorName
* Its default value is "default".
*/
Q_PROPERTY(QString themeName READ themeName NOTIFY themeNameChanged)
public:
/**
* @brief The constructor
*/
MirMousePointerInterface(QQuickItem *parent = nullptr) : QQuickItem(parent) {}
/// @cond
virtual void setCursorName(const QString &cursorName) = 0;
virtual QString cursorName() const = 0;
virtual void setThemeName(const QString &themeName) = 0;
virtual QString themeName() const = 0;
virtual void moveTo(const QPoint& position) = 0;
/// @endcond
/**
* @brief Sets the custom cursor
*
* If it's not a pixmap cursor it will be ignored.
*
* To use it, cursorName must be set to "custom". themeName is ignored in this case.
*/
virtual void setCustomCursor(const QCursor &) = 0;
Q_SIGNALS:
/// @cond
void cursorNameChanged(QString name);
void themeNameChanged(QString name);
/// @endcond
};
#endif // MIR_MOUSE_POINTER_INTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/application/MirPlatformCursor.h 0000664 0000000 0000000 00000002431 13733104243 0025706 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2015 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef MIR_PLATFORM_CURSOR_H
#define MIR_PLATFORM_CURSOR_H
#include
class MirMousePointerInterface;
/**
* @brief Cursor interface for Mir platform
*
* FIXME: Get this out of lomiri-api
*/
class MirPlatformCursor : public QPlatformCursor
{
public:
/**
* @brief Register a mouse pointer that this platform cursor will talk to
*/
virtual void registerMousePointer(MirMousePointerInterface *mousePointer) = 0;
/**
* @brief Unregister a mouse pointer that this platform cursor will talk to
*/
virtual void unregisterMousePointer(MirMousePointerInterface *mousePointer) = 0;
};
#endif // MIR_PLATFORM_CURSOR_H
lomiri-api-0.1.1/include/lomiri/shell/application/MirSurfaceInterface.h 0000664 0000000 0000000 00000022256 13733104243 0026144 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2015-2016 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_MIRSURFACE_H
#define LOMIRI_SHELL_APPLICATION_MIRSURFACE_H
#include
#include
#include
#include "Mir.h"
namespace lomiri
{
namespace shell
{
namespace application
{
class MirSurfaceListInterface;
/**
@brief Holds a Mir surface. Pretty much an opaque class.
All surface manipulation is done by giving it to a MirSurfaceItem and then
using MirSurfaceItem's properties.
*/
class MirSurfaceInterface : public QObject
{
Q_OBJECT
/**
* @brief The surface type
*/
Q_PROPERTY(Mir::Type type READ type NOTIFY typeChanged)
/**
* @brief Name of the surface, given by the client application
*/
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
/**
* @brief Persistent Id of the surface
*/
Q_PROPERTY(QString persistentId READ persistentId CONSTANT)
/**
* @brief App Id of the app this surface belongs to
*/
Q_PROPERTY(QString appId READ appId CONSTANT)
/**
* @brief Position of the current surface buffer, in pixels.
*/
Q_PROPERTY(QPoint position READ position NOTIFY positionChanged)
/**
* @brief Requested position of the current surface buffer, in pixels.
*/
Q_PROPERTY(QPoint requestedPosition READ requestedPosition WRITE setRequestedPosition NOTIFY requestedPositionChanged)
/**
* @brief Size of the current surface buffer, in pixels.
*/
Q_PROPERTY(QSize size READ size NOTIFY sizeChanged)
/**
* @brief State of the surface
*/
Q_PROPERTY(Mir::State state READ state NOTIFY stateChanged)
/**
* @brief True if it has a mir client bound to it.
* A "zombie" (live == false) surface never becomes alive again.
*/
Q_PROPERTY(bool live READ live NOTIFY liveChanged)
/**
* @brief Visibility of the surface
*/
Q_PROPERTY(bool visible READ visible NOTIFY visibleChanged)
/**
* @brief Orientation angle of the surface
*
* How many degrees, clockwise, the UI in the surface has to rotate to match shell's UI orientation
*/
Q_PROPERTY(Mir::OrientationAngle orientationAngle READ orientationAngle WRITE setOrientationAngle
NOTIFY orientationAngleChanged DESIGNABLE false)
/**
* @brief The requested minimum width for the surface
* Zero if not set
*/
Q_PROPERTY(int minimumWidth READ minimumWidth NOTIFY minimumWidthChanged)
/**
* @brief The requested minimum height for the surface
* Zero if not set
*/
Q_PROPERTY(int minimumHeight READ minimumHeight NOTIFY minimumHeightChanged)
/**
* @brief The requested maximum width for the surface
* Zero if not set
*/
Q_PROPERTY(int maximumWidth READ maximumWidth NOTIFY maximumWidthChanged)
/**
* @brief The requested maximum height for the surface
* Zero if not set
*/
Q_PROPERTY(int maximumHeight READ maximumHeight NOTIFY maximumHeightChanged)
/**
* @brief The requested width increment for the surface
* Zero if not set
*/
Q_PROPERTY(int widthIncrement READ widthIncrement NOTIFY widthIncrementChanged)
/**
* @brief The requested height increment for the surface
* Zero if not set
*/
Q_PROPERTY(int heightIncrement READ heightIncrement NOTIFY heightIncrementChanged)
/**
* @brief The Shell chrome mode
*/
Q_PROPERTY(Mir::ShellChrome shellChrome READ shellChrome NOTIFY shellChromeChanged)
/**
* @brief The requested keymap for this surface
* Its format is "layout+variant".
*/
Q_PROPERTY(QString keymap READ keymap WRITE setKeymap NOTIFY keymapChanged)
/**
* @brief Whether the surface is focused
*
* It will be true if this surface is MirFocusControllerInterface::focusedSurface
*/
Q_PROPERTY(bool focused READ focused NOTIFY focusedChanged)
/**
* @brief Input bounds
*
* Bounding rectangle of the surface region that accepts input.
*/
Q_PROPERTY(QRect inputBounds READ inputBounds NOTIFY inputBoundsChanged)
/**
* @brief Whether the surface wants to confine the mouse pointer within its boundaries
*
* If true, the surface doesn't want the mouse pointer to leave its boundaries while it's focused.
*/
Q_PROPERTY(bool confinesMousePointer READ confinesMousePointer NOTIFY confinesMousePointerChanged)
/**
* @brief Whether to comply to resize requests coming from the client side
*
* It's true by default
*/
Q_PROPERTY(bool allowClientResize READ allowClientResize WRITE setAllowClientResize NOTIFY allowClientResizeChanged)
/**
* @brief The parent MirSurface or null if this is a top-level surface
*/
Q_PROPERTY(MirSurfaceInterface* parentSurface READ parentSurface CONSTANT)
/**
* @brief The list of child surfaces
*
* Ordered from top-most (index=0) to bottom (index=count-1)
* So the Z value for an item in this model would be z: count - index
*/
Q_PROPERTY(lomiri::shell::application::MirSurfaceListInterface* childSurfaceList READ childSurfaceList CONSTANT)
public:
/// @cond
MirSurfaceInterface(QObject *parent = nullptr) : QObject(parent) {}
virtual ~MirSurfaceInterface() {}
virtual Mir::Type type() const = 0;
virtual QString name() const = 0;
virtual QString persistentId() const = 0;
virtual QString appId() const = 0;
virtual QPoint position() const = 0;
virtual QSize size() const = 0;
virtual void resize(int width, int height) = 0;
virtual void resize(const QSize &size) = 0;
virtual Mir::State state() const = 0;
virtual bool live() const = 0;
virtual bool visible() const = 0;
virtual Mir::OrientationAngle orientationAngle() const = 0;
virtual void setOrientationAngle(Mir::OrientationAngle angle) = 0;
virtual int minimumWidth() const = 0;
virtual int minimumHeight() const = 0;
virtual int maximumWidth() const = 0;
virtual int maximumHeight() const = 0;
virtual int widthIncrement() const = 0;
virtual int heightIncrement() const = 0;
virtual void setKeymap(const QString &) = 0;
virtual QString keymap() const = 0;
virtual Mir::ShellChrome shellChrome() const = 0;
virtual bool focused() const = 0;
virtual QRect inputBounds() const = 0;
virtual bool confinesMousePointer() const = 0;
virtual bool allowClientResize() const = 0;
virtual void setAllowClientResize(bool) = 0;
virtual QPoint requestedPosition() const = 0;
virtual void setRequestedPosition(const QPoint &) = 0;
virtual MirSurfaceInterface* parentSurface() const = 0;
virtual lomiri::shell::application::MirSurfaceListInterface* childSurfaceList() const = 0;
/// @endcond
/**
* @brief Sends a close request
*
*/
Q_INVOKABLE virtual void close() = 0;
/**
* @brief Sends a force close request
*
*/
Q_INVOKABLE virtual void forceClose() = 0;
/**
* @brief Activates this surface
*
* It will get focused and raised
*/
Q_INVOKABLE virtual void activate() = 0;
public Q_SLOTS:
/**
* @brief Requests a change to the specified state
*/
virtual void requestState(Mir::State state) = 0;
Q_SIGNALS:
/// @cond
void typeChanged(Mir::Type value);
void liveChanged(bool value);
void visibleChanged(bool visible);
void stateChanged(Mir::State value);
void orientationAngleChanged(Mir::OrientationAngle value);
void positionChanged(QPoint position);
void requestedPositionChanged(QPoint position);
void sizeChanged(const QSize &value);
void nameChanged(const QString &name);
void minimumWidthChanged(int value);
void minimumHeightChanged(int value);
void maximumWidthChanged(int value);
void maximumHeightChanged(int value);
void widthIncrementChanged(int value);
void heightIncrementChanged(int value);
void shellChromeChanged(Mir::ShellChrome value);
void keymapChanged(const QString &value);
void focusedChanged(bool value);
void inputBoundsChanged(QRect value);
void confinesMousePointerChanged(bool value);
void allowClientResizeChanged(bool value);
/// @endcond
/**
* @brief Emitted in response to a requestFocus() call
*
* If shell agrees with it, it should call activate() on this surface
*/
void focusRequested();
/**
* @brief Emitted when close() is called
*/
void closeRequested();
};
} // namespace application
} // namespace shell
} // namespace lomiri
Q_DECLARE_METATYPE(lomiri::shell::application::MirSurfaceInterface*)
#endif // LOMIRI_SHELL_APPLICATION_MIRSURFACE_H
lomiri-api-0.1.1/include/lomiri/shell/application/MirSurfaceItemInterface.h 0000664 0000000 0000000 00000012702 13733104243 0026756 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2015 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_MIRSURFACEITEM_H
#define LOMIRI_SHELL_APPLICATION_MIRSURFACEITEM_H
#include "Mir.h"
#include
namespace lomiri
{
namespace shell
{
namespace application
{
class MirSurfaceInterface;
/**
@brief Renders a MirSurface in a QML scene and forwards the input events it receives to it.
You can have multiple MirSurfaceItems displaying the same MirSurface. But care must
be taken that only one of them feeds the MirSurface with input events and also only
one resizes it.
*/
class MirSurfaceItemInterface : public QQuickItem
{
Q_OBJECT
/**
* @brief The surface to be displayed
*/
Q_PROPERTY(lomiri::shell::application::MirSurfaceInterface* surface READ surface WRITE setSurface NOTIFY surfaceChanged)
/**
* @brief Type of the given surface or Mir.UnknownType if no surface is set
*/
Q_PROPERTY(Mir::Type type READ type NOTIFY typeChanged)
/**
* @brief State of the given surface or Mir.UnknownState if no surface is set
*/
Q_PROPERTY(Mir::State surfaceState READ surfaceState NOTIFY surfaceStateChanged)
/**
* @brief Name of the given surface or an empty string if no surface is set
*/
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
/**
* @brief True if the item has a surface and that surface has a mir client bound to it.
* A "zombie" (live == false) surface never becomes alive again.
*/
Q_PROPERTY(bool live READ live NOTIFY liveChanged)
/**
* @brief Orientation angle of the given surface
*
* How many degrees, clockwise, the UI in the surface has to rotate to match shell's UI orientation
*/
Q_PROPERTY(Mir::OrientationAngle orientationAngle READ orientationAngle WRITE setOrientationAngle
NOTIFY orientationAngleChanged DESIGNABLE false)
/**
* @brief Whether the item will forward activeFocus, touch events, mouse events and key events to its surface.
* It's false by default.
* Only one item should have this property enabled for a given surface.
*/
Q_PROPERTY(bool consumesInput READ consumesInput
WRITE setConsumesInput
NOTIFY consumesInputChanged)
/**
* @brief The desired width for the contained MirSurface.
* It's ignored if set to zero or a negative number
* The default value is zero
*/
Q_PROPERTY(int surfaceWidth READ surfaceWidth
WRITE setSurfaceWidth
NOTIFY surfaceWidthChanged)
/**
* @brief The desired height for the contained MirSurface.
* It's ignored if set to zero or a negative number
* The default value is zero
*/
Q_PROPERTY(int surfaceHeight READ surfaceHeight
WRITE setSurfaceHeight
NOTIFY surfaceHeightChanged)
Q_PROPERTY(FillMode fillMode READ fillMode WRITE setFillMode NOTIFY fillModeChanged)
/**
* @brief The Shell chrome mode
*/
Q_PROPERTY(Mir::ShellChrome shellChrome READ shellChrome NOTIFY shellChromeChanged)
public:
enum FillMode {
Stretch,
PadOrCrop
};
Q_ENUM(FillMode)
/// @cond
MirSurfaceItemInterface(QQuickItem *parent = 0) : QQuickItem(parent) {}
virtual ~MirSurfaceItemInterface() {}
virtual Mir::Type type() const = 0;
virtual QString name() const = 0;
virtual bool live() const = 0;
virtual Mir::State surfaceState() const = 0;
virtual Mir::OrientationAngle orientationAngle() const = 0;
virtual void setOrientationAngle(Mir::OrientationAngle angle) = 0;
virtual MirSurfaceInterface* surface() const = 0;
virtual void setSurface(MirSurfaceInterface*) = 0;
virtual bool consumesInput() const = 0;
virtual void setConsumesInput(bool value) = 0;
virtual int surfaceWidth() const = 0;
virtual void setSurfaceWidth(int value) = 0;
virtual int surfaceHeight() const = 0;
virtual void setSurfaceHeight(int value) = 0;
virtual FillMode fillMode() const = 0;
virtual void setFillMode(FillMode value) = 0;
virtual Mir::ShellChrome shellChrome() const = 0;
/// @endcond
Q_SIGNALS:
/// @cond
void typeChanged(Mir::Type);
void surfaceStateChanged(Mir::State);
void liveChanged(bool live);
void orientationAngleChanged(Mir::OrientationAngle angle);
void surfaceChanged(lomiri::shell::application::MirSurfaceInterface* surface);
void consumesInputChanged(bool value);
void surfaceWidthChanged(int value);
void surfaceHeightChanged(int value);
void nameChanged(const QString &name);
void fillModeChanged(FillMode value);
void shellChromeChanged(Mir::ShellChrome value);
/// @endcond
};
} // namespace application
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_APPLICATION_MIRSURFACEITEM_H
lomiri-api-0.1.1/include/lomiri/shell/application/MirSurfaceListInterface.h 0000664 0000000 0000000 00000005406 13733104243 0026776 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2016 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_MIRSURFACELISTINTERFACE_H
#define LOMIRI_SHELL_APPLICATION_MIRSURFACELISTINTERFACE_H
#include
namespace lomiri {
namespace shell {
namespace application {
class MirSurfaceInterface;
/**
* @brief Interface for a list model of MirSurfaces
*/
class MirSurfaceListInterface : public QAbstractListModel
{
Q_OBJECT
/**
* @brief Number of surfaces in this model
*
* This is the same as rowCount, added in order to keep compatibility with QML ListModels.
*/
Q_PROPERTY(int count READ count NOTIFY countChanged)
/**
* @brief The first (index 0) surface in this model
*
* Will always match the result of get(0). But being a property, it's more appropriate
* for use in qml bindinds (JS expression gets reevaluated when it changes)
*/
Q_PROPERTY(lomiri::shell::application::MirSurfaceInterface* first READ first NOTIFY firstChanged)
public:
/**
* @brief The Roles supported by the model
*
* SurfaceRole - A MirSurfaceInterface.
*/
enum Roles {
SurfaceRole = Qt::UserRole,
};
/// @cond
MirSurfaceListInterface(QObject *parent = 0) : QAbstractListModel(parent) {}
virtual ~MirSurfaceListInterface() {}
/// @endcond
/**
* @brief Returns the surface at the specified index
*
*/
Q_INVOKABLE virtual MirSurfaceInterface *get(int index) = 0;
/// @cond
// QAbstractItemModel methods
QHash roleNames() const override {
QHash roleNames;
roleNames.insert(SurfaceRole, "surface");
return roleNames;
}
int count() const { return rowCount(); }
MirSurfaceInterface *first() {
if (rowCount() > 0) {
return get(0);
} else {
return nullptr;
}
}
/// @endcond
Q_SIGNALS:
/// @cond
void countChanged(int count);
void firstChanged();
/// @endcond
};
} // namespace application
} // namespace shell
} // namespace lomiri
Q_DECLARE_METATYPE(lomiri::shell::application::MirSurfaceListInterface*)
#endif // LOMIRI_SHELL_APPLICATION_MIRSURFACELISTINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/application/SurfaceManagerInterface.h 0000664 0000000 0000000 00000006347 13733104243 0026772 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2016 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_APPLICATION_SURFACEMANAGERINTERFACE_H
#define LOMIRI_SHELL_APPLICATION_SURFACEMANAGERINTERFACE_H
#include "Mir.h"
#include
#include
#include
namespace miral {
class Window;
class Workspace;
}
namespace lomiri {
namespace shell {
namespace application {
class MirSurfaceInterface;
class SurfaceManagerInterface : public QObject
{
Q_OBJECT
public:
virtual ~SurfaceManagerInterface() {}
virtual void raise(MirSurfaceInterface *surface) = 0;
virtual void activate(MirSurfaceInterface *surface) = 0;
virtual void forEachSurfaceInWorkspace(const std::shared_ptr &workspace,
const std::function &callback) = 0;
virtual void moveSurfaceToWorkspace(lomiri::shell::application::MirSurfaceInterface* surface,
const std::shared_ptr &workspace) = 0;
virtual void moveWorkspaceContentToWorkspace(const std::shared_ptr &to,
const std::shared_ptr &from) = 0;
Q_SIGNALS:
void surfaceCreated(lomiri::shell::application::MirSurfaceInterface *surface);
void surfaceRemoved(lomiri::shell::application::MirSurfaceInterface *surface);
void surfaceReady(lomiri::shell::application::MirSurfaceInterface *surface);
void surfaceMoved(lomiri::shell::application::MirSurfaceInterface *surface, const QPoint &topLeft);
void surfaceResized(lomiri::shell::application::MirSurfaceInterface *surface, const QSize &size);
void surfaceStateChanged(lomiri::shell::application::MirSurfaceInterface *surface, Mir::State state);
void surfaceFocusChanged(lomiri::shell::application::MirSurfaceInterface *surface, bool focused);
void surfacesRaised(const QVector &surfaces);
void surfaceRequestedRaise(lomiri::shell::application::MirSurfaceInterface *surface);
void surfacesAddedToWorkspace(const std::shared_ptr &workspace,
const QVector &surfaces);
void surfacesAboutToBeRemovedFromWorkspace(const std::shared_ptr &workspace,
const QVector &surfaces);
void modificationsStarted();
void modificationsEnded();
};
} // namespace application
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_APPLICATION_SURFACEMANAGERINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/launcher/ 0000775 0000000 0000000 00000000000 13733104243 0021401 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/shell/launcher/AppDrawerModelInterface.h 0000664 0000000 0000000 00000003431 13733104243 0026242 0 ustar 00root root 0000000 0000000 /*
* Copyright 2016 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
#pragma once
#include
#include
namespace lomiri {
namespace shell {
namespace launcher {
/**
* @brief A list of app drawer items to be displayed
*
* This model exposes all the items that should be shown in the app drawer.
*/
class LOMIRI_API AppDrawerModelInterface: public QAbstractListModel
{
Q_OBJECT
public:
/**
* @brief The Roles supported by the model
*
* See LauncherItemInterface properties for details.
*/
enum Roles {
RoleAppId,
RoleName,
RoleIcon,
RoleKeywords,
RoleUsage
};
Q_ENUM(Roles)
/// @cond
AppDrawerModelInterface(QObject* parent = nullptr): QAbstractListModel(parent) {}
/// @endcond
virtual ~AppDrawerModelInterface() {}
/// @cond
QHash roleNames() const override {
QHash roles;
roles.insert(RoleAppId, "appId");
roles.insert(RoleName, "name");
roles.insert(RoleIcon, "icon");
roles.insert(RoleKeywords, "keywords");
roles.insert(RoleUsage, "usage");
return roles;
}
/// @endcond
};
}
}
}
lomiri-api-0.1.1/include/lomiri/shell/launcher/CMakeLists.txt 0000664 0000000 0000000 00000001362 13733104243 0024143 0 ustar 00root root 0000000 0000000 set(INCLUDE_INSTALL_DIR include/lomiri/shell/launcher)
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
install(FILES ${headers} DESTINATION ${INCLUDE_INSTALL_DIR})
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
set(VERSION 13)
set(PKGCONFIG_NAME "lomiri-shell-launcher")
set(PKGCONFIG_DESCRIPTION "Lomiri shell Launcher APIs")
set(PKGCONFIG_REQUIRES "Qt5Core")
set(PKGCONFIG_FILE lomiri-shell-launcher.pc)
configure_file(${CMAKE_SOURCE_DIR}/data/lomiri-shell-api.pc.in
${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE} @ONLY
)
install(FILES ${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE}
DESTINATION ${LIB_INSTALL_PREFIX}/pkgconfig
)
lomiri-api-0.1.1/include/lomiri/shell/launcher/LauncherItemInterface.h 0000664 0000000 0000000 00000012740 13733104243 0025757 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013-2106 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
#ifndef LOMIRI_SHELL_LAUNCHER_LAUNCHERITEM_H
#define LOMIRI_SHELL_LAUNCHER_LAUNCHERITEM_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace launcher
{
class QuickListModelInterface;
/**
* @brief An item presented in the launcher
*
* The items hold all the information required for the visual representation
* in the launcher.
*/
class LOMIRI_API LauncherItemInterface: public QObject
{
Q_OBJECT
/**
* @brief The appId of the application associated with the item.
*/
Q_PROPERTY(QString appId READ appId CONSTANT)
/**
* @brief The user visible name of the item.
*/
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
/**
* @brief The full path to the icon to be shown for the item.
*/
Q_PROPERTY(QString icon READ icon NOTIFY iconChanged)
/**
* @brief The keywords for this item.
*/
Q_PROPERTY(QStringList keywords READ keywords NOTIFY keywordsChanged)
/**
* @brief The popularity of this application, e.g. usage count given by Zeitgeist
*/
Q_PROPERTY(uint popularity READ popularity NOTIFY popularityChanged)
/**
* @brief A flag whether the item is pinned or not
*/
Q_PROPERTY(bool pinned READ pinned NOTIFY pinnedChanged)
/**
* @brief A flag whether the application belonging to the icon is currently running or not
*/
Q_PROPERTY(bool running READ running NOTIFY runningChanged)
/**
* @brief A flag wheter the application is in the recently used applications list
*/
Q_PROPERTY(bool recent READ recent NOTIFY recentChanged)
/**
* @brief The percentage of the progress bar shown on the item.
*
* For values from 0 and 100 this will present a progress bar on the item.
* For values outside this range, no progress bar will be drawn.
*/
Q_PROPERTY(int progress READ progress NOTIFY progressChanged)
/**
* @brief The number for the count emblem on the item
*
* For values >0 this will paint an emblem containing the number.
* For 0 and negative values, no count emblem will be drawn.
*/
Q_PROPERTY(int count READ count NOTIFY countChanged)
/**
* @brief The visibility of the count emblem.
*
* True if the count emblem should be visible, false otherwise.
*/
Q_PROPERTY(bool countVisible READ countVisible NOTIFY countVisibleChanged)
/**
* @brief The focused state of the item
*
* True if focused, false if not focused
*/
Q_PROPERTY(bool focused READ focused NOTIFY focusedChanged)
/**
* @brief The alerting state of the item
*
* True if alerting/wobbling, false if not alerting/wobbling
*/
Q_PROPERTY(bool alerting READ alerting NOTIFY alertingChanged)
/**
* @brief The number of surfaces that this application entry has opened
*
* The Launcher will display up to 3 pips, one for each surface
*/
Q_PROPERTY(int surfaceCount READ surfaceCount NOTIFY surfaceCountChanged)
/**
* @brief The quick list menu contents for the item
*
* Items can have a quick list menu. This property holds a model for
* the contents of that menu. The pointer to the model will be
* constant, but of course the contents of the model can change.
*/
Q_PROPERTY(lomiri::shell::launcher::QuickListModelInterface* quickList READ quickList CONSTANT)
protected:
/// @cond
LauncherItemInterface(QObject *parent = 0): QObject(parent) {}
public:
virtual ~LauncherItemInterface() {}
virtual QString appId() const = 0;
virtual QString name() const = 0;
virtual QString icon() const = 0;
virtual QStringList keywords() const = 0;
virtual uint popularity() const = 0;
virtual bool pinned() const = 0;
virtual bool running() const = 0;
virtual bool recent() const = 0;
virtual int progress() const = 0;
virtual int count() const = 0;
virtual bool countVisible() const = 0;
virtual bool focused() const = 0;
virtual bool alerting() const = 0;
virtual int surfaceCount() const = 0;
virtual lomiri::shell::launcher::QuickListModelInterface *quickList() const = 0;
Q_SIGNALS:
void nameChanged(const QString &name);
void iconChanged(const QString &icon);
void keywordsChanged(const QStringList &keywords);
void popularityChanged(uint popularity);
void pinnedChanged(bool pinned);
void runningChanged(bool running);
void recentChanged(bool running);
void progressChanged(int progress);
void countChanged(int count);
void countVisibleChanged(bool countVisible);
void focusedChanged(bool focused);
void alertingChanged(bool alerting);
void surfaceCountChanged(int surfaceCount);
/// @endcond
};
} // namespace launcher
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_LAUNCHER_LAUNCHERITEMINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/launcher/LauncherModelInterface.h 0000664 0000000 0000000 00000014237 13733104243 0026124 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michael Zanetti
*/
#ifndef LOMIRI_SHELL_LAUNCHER_LAUNCHERMODELINTERFACE_H
#define LOMIRI_SHELL_LAUNCHER_LAUNCHERMODELINTERFACE_H
#include
#include
#include
namespace lomiri
{
namespace shell
{
namespace launcher
{
class LauncherItemInterface;
/**
* @brief A list of launcher items to be displayed
*
* This model exposes all the launcher items that should be shown in the launcher.
*/
class LOMIRI_API LauncherModelInterface: public QAbstractListModel
{
Q_OBJECT
/**
* @brief The ApplicationManager instance the launcher should be connected to
*
* The Launcher will display applications contained in the ApplicationManager as
* running/recent apps and adjust the currently focused app highlight according
* to this.
*/
Q_PROPERTY(lomiri::shell::application::ApplicationManagerInterface* applicationManager
READ applicationManager WRITE setApplicationManager NOTIFY applicationManagerChanged)
/**
* @brief Only show pinned apps, hiding the unpinned running/recent ones.
*/
Q_PROPERTY(bool onlyPinned READ onlyPinned WRITE setOnlyPinned NOTIFY onlyPinnedChanged)
protected:
/// @cond
LauncherModelInterface(QObject *parent = 0): QAbstractListModel(parent) {
m_roleNames.insert(RoleAppId, "appId");
m_roleNames.insert(RoleName, "name");
m_roleNames.insert(RoleIcon, "icon");
m_roleNames.insert(RolePinned, "pinned");
m_roleNames.insert(RoleRunning, "running");
m_roleNames.insert(RoleRecent, "recent");
m_roleNames.insert(RoleProgress, "progress");
m_roleNames.insert(RoleCount, "count");
m_roleNames.insert(RoleCountVisible, "countVisible");
m_roleNames.insert(RoleFocused, "focused");
m_roleNames.insert(RoleAlerting, "alerting");
m_roleNames.insert(RoleSurfaceCount, "surfaceCount");
}
/// @endcond
public:
/**
* @brief The Roles supported by the model
*
* See LauncherItemInterface properties for details.
*/
enum Roles {
RoleAppId = Qt::UserRole,
RoleName,
RoleIcon,
RolePinned,
RoleRunning,
RoleRecent,
RoleProgress,
RoleCount,
RoleCountVisible,
RoleFocused,
RoleAlerting,
RoleSurfaceCount
};
virtual ~LauncherModelInterface() {}
/**
* @brief Move an item in the model.
*
* @param oldIndex The current (old) index of the item to be moved.
* @param newIndex The new index where the item should be moved to.
*/
Q_INVOKABLE virtual void move(int oldIndex, int newIndex) = 0;
/**
* @brief Get a launcher item.
*
* Note: QML requires the full namespace in the return value.
*
* @param index the index of the item to get
* @returns The item.
*/
Q_INVOKABLE virtual lomiri::shell::launcher::LauncherItemInterface *get(int index) const = 0;
/**
* @brief Pin an item to the launcher.
*
* Recent and running applications will eventually disappear from the model
* as the application is closed or new recent items appear. Pinning an item
* to the launcher makes it persist until remove is called on it.
*
* @param appId The appId of the item to be pinned.
* @param index The index where the item should be pinned to. This parameter is optional
* and if not supplied, the item will be pinned to the current position.
* Note: If an item is not contained in the launcher yet, calling this without an index
* will pin the item to the end of the list.
*/
Q_INVOKABLE virtual void pin(const QString &appId, int index = -1) = 0;
/**
* @brief Request removal of an item from the model.
*
* Note: The actual removal of the item might be delayed in certain circumstances.
*
* @param appId The appId of the item to be removed.
*/
Q_INVOKABLE virtual void requestRemove(const QString &appId) = 0;
/**
* @brief Trigger an action from the QuickList
*
* @param appId The appId of the LauncherItem.
* @param actionIndex The index of the triggered entry in the QuickListModel.
*/
Q_INVOKABLE virtual void quickListActionInvoked(const QString &appId, int actionIndex) = 0;
/**
* @brief Set the user for which the launcher should display items.
*
* @param username The user for which the launcher should display items.
*/
Q_INVOKABLE virtual void setUser(const QString &username) = 0;
/// @cond
virtual lomiri::shell::application::ApplicationManagerInterface *applicationManager() const = 0;
virtual void setApplicationManager(lomiri::shell::application::ApplicationManagerInterface *applicationManager) = 0;
virtual bool onlyPinned() const = 0;
virtual void setOnlyPinned(bool onlyPinned) = 0;
QHash roleNames() const override
{
return m_roleNames;
}
/// @endcond
Q_SIGNALS:
/// @cond
void applicationManagerChanged();
void onlyPinnedChanged();
/// @endcond
/**
* @brief Emitted when the launcher should hint itself to the user, e.g. to indicate a
* change the user should be made aware of.
*/
void hint();
protected:
/// @cond
QHash m_roleNames;
/// @endcond
};
} // namespace launcher
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_LAUNCHER_LAUNCHERMODELINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/launcher/QuickListModelInterface.h 0000664 0000000 0000000 00000005217 13733104243 0026271 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michael Zanetti
*/
#ifndef LOMIRI_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H
#define LOMIRI_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace launcher
{
/**
* @brief A model containing QuickList actions for an application in the launcher.
*
* The model has the following roles:
* - RoleLabel (label): The text entry in the QuickList menu (QString).
* - RoleIcon (icon): The icon to be shown for this entry (QString).
* - RoleClickable (clickable): Determines if the entry can be triggered or is just a static text (boolean)
* - RoleHasSeparator (hasSeparator): Determines if the entry has a separator (boolean)
* - RoleIsPrivate (isPrivate): Determines whether the entry should be shown or not in locked mode (e.g. greeter is locked)
*/
class LOMIRI_API QuickListModelInterface: public QAbstractListModel
{
Q_OBJECT
protected:
/// @cond
explicit QuickListModelInterface(QObject *parent = 0) : QAbstractListModel(parent) {
m_roleNames.insert(RoleLabel, "label");
m_roleNames.insert(RoleIcon, "icon");
m_roleNames.insert(RoleClickable, "clickable");
m_roleNames.insert(RoleHasSeparator, "hasSeparator");
m_roleNames.insert(RoleIsPrivate, "isPrivate");
}
/// @endcond
public:
/**
* @brief The Roles supported by the model
*
* See class description for details.
*/
enum Roles {
RoleLabel,
RoleIcon,
RoleClickable,
RoleHasSeparator,
RoleIsPrivate
};
Q_ENUM(Roles)
/// @cond
virtual ~QuickListModelInterface() {}
/// @endcond
/// @cond
QHash roleNames() const override {
return m_roleNames;
}
/// @endcond
protected:
/// @cond
QHash m_roleNames;
/// @endcond
};
} // launcher
} // shell
} // lomiri
#endif // LOMIRI_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/notifications/ 0000775 0000000 0000000 00000000000 13733104243 0022451 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/shell/notifications/CMakeLists.txt 0000664 0000000 0000000 00000001407 13733104243 0025213 0 ustar 00root root 0000000 0000000 set(INCLUDE_INSTALL_DIR include/lomiri/shell/notifications)
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
install(FILES ${headers} DESTINATION ${INCLUDE_INSTALL_DIR})
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
set(VERSION 3)
set(PKGCONFIG_NAME "lomiri-shell-notifications")
set(PKGCONFIG_DESCRIPTION "Lomiri shell Notifications APIs")
set(PKGCONFIG_REQUIRES "Qt5Core")
set(PKGCONFIG_FILE lomiri-shell-notifications.pc)
configure_file(${CMAKE_SOURCE_DIR}/data/lomiri-shell-api.pc.in
${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE} @ONLY
)
install(FILES ${CMAKE_BINARY_DIR}/data/${PKGCONFIG_FILE}
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
)
lomiri-api-0.1.1/include/lomiri/shell/notifications/Enums.h 0000664 0000000 0000000 00000005520 13733104243 0023713 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michał Sawicz
*/
#ifndef LOMIRI_SHELL_NOTIFICATIONS_ENUMS_H
#define LOMIRI_SHELL_NOTIFICATIONS_ENUMS_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace notifications
{
/**
\brief Wraps NotificationInterface's urgency enumeration.
*/
class LOMIRI_API Urgency : public QObject
{
Q_OBJECT
public:
/**
\brief NotificationInterface's urgency enumeration.
This determines the order in which notifications are displayed.
*/
enum class UrgencyEnum
{
Invalid = 0,
Low, /**< Displayed last. */
Normal, /**< Displayed before Low, after Critical. */
Critical /**< Displayed before Low and Normal. */
};
Q_ENUM(UrgencyEnum)
};
/**
\brief Wraps NotificationInterface's type enumeration.
*/
class LOMIRI_API Type : public QObject
{
Q_OBJECT
public:
/**
\brief NotificationInterface's type enumeration.
This determines the visual and interaction behavior of the displayed notification.
*/
enum class TypeEnum
{
Invalid = 0,
Confirmation, /**< Confirmation (synchronous). */
Ephemeral, /**< Ephemeral (input-transparent). */
Interactive, /**< Interactive (clickable). */
SnapDecision, /**< Snap decision (multi-button). */
Placeholder /**< Non-visible placeholder of default size. */
};
Q_ENUM(TypeEnum)
};
/**
\brief Wraps NotificationInterface's hint flags.
*/
class LOMIRI_API Hint : public QObject
{
Q_OBJECT
public:
/**
\brief NotificationInterface's hint flags.
This modifies some visual and interactive behavior of the displayed notification.
*/
enum HintEnum
{
Invalid = 1 << 0,
ButtonTint = 1 << 1, /**< Use a colour tint on the positive button in a snap decision. */
IconOnly = 1 << 2 /**< Only display the icon, no summary or body. */
};
Q_FLAG(HintEnum)
Q_DECLARE_FLAGS(Hints, HintEnum)
};
Q_DECLARE_OPERATORS_FOR_FLAGS(Hint::Hints)
} // namespace notifications
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_NOTIFICATIONS_ENUMS_H
lomiri-api-0.1.1/include/lomiri/shell/notifications/ModelInterface.h 0000664 0000000 0000000 00000007114 13733104243 0025506 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michał Sawicz
*/
#ifndef LOMIRI_SHELL_NOTIFICATIONS_MODELINTERFACE_H
#define LOMIRI_SHELL_NOTIFICATIONS_MODELINTERFACE_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace notifications
{
/**
\brief A list of notifications to be displayed
This model exposes all the notifications that are currently supposed to be on screen.
Not all of them might actually get on screen due to screen size, in which case the
NotificationInterface::displayed() signal will only be emitted after the notification was
actually displayed.
*/
class LOMIRI_API ModelInterface : public QAbstractListModel
{
Q_OBJECT
/**
\brief Whether a placeholder for confirmation should be kept at the beginning
When this is true, the model should hold a Placeholder type notification at the top
and update its data when an incoming Confirmation type notification is sent.
\accessors %confirmationPlaceholder(), setConfirmationPlaceholder(bool confirmationPlaceholder)
\notifier confirmationPlaceholderChanged(bool confirmationPlaceholder)
*/
Q_PROPERTY(bool confirmationPlaceholder READ confirmationPlaceholder WRITE setConfirmationPlaceholder NOTIFY confirmationPlaceholderChanged)
protected:
/// @cond
explicit ModelInterface(QObject* parent = 0) : QAbstractListModel(parent) { }
/// @endcond
public:
virtual ~ModelInterface() { }
/// @cond
virtual bool confirmationPlaceholder() const = 0;
virtual void setConfirmationPlaceholder(bool confirmationPlaceholder) = 0;
/// @endcond
/**
\brief NotificationModel's data-role enumeration.
The different data-entries of a notification element in the model.
*/
enum Roles {
RoleType = Qt::UserRole + 1, /** type of notification */
RoleUrgency = Qt::UserRole + 2, /** urgency of notification */
RoleId = Qt::UserRole + 3, /** internal id set by daemon */
RoleSummary = Qt::UserRole + 4, /** summary-text */
RoleBody = Qt::UserRole + 5, /** body-text */
RoleValue = Qt::UserRole + 6, /** 0..100 value */
RoleIcon = Qt::UserRole + 7, /** main icon */
RoleSecondaryIcon = Qt::UserRole + 8, /** optional 2nd icon */
RoleActions = Qt::UserRole + 9, /** attached optional actions */
RoleHints = Qt::UserRole + 10, /** attached hints */
RoleNotification = Qt::UserRole + 11 /** notification object */
};
Q_ENUM(Roles)
Q_SIGNALS:
/**
Emitted when value of the confirmationPlaceholder property has changed.
\param confirmationPlaceholder New value of the confirmationPlaceholder property.
*/
void confirmationPlaceholderChanged(bool confirmationPlaceholder);
};
} // namespace notifications
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_NOTIFICATIONS_MODELINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/notifications/NotificationInterface.h 0000664 0000000 0000000 00000004344 13733104243 0027076 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michał Sawicz
*/
#ifndef LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
#define LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace notifications
{
/**
\brief A Notification object
This class exposes signals used by the UI to communicate the state
of a notification.
*/
class LOMIRI_API NotificationInterface : public QObject
{
Q_OBJECT
protected:
/// @cond
explicit NotificationInterface(QObject* parent = 0) : QObject(parent) { }
/// @endcond
public:
virtual ~NotificationInterface() { }
Q_SIGNALS:
/**
Will be called whenever the mouse hover status of a notification changes.
\param hovered Mouse hover status of this notification.
*/
void hovered(bool hovered);
/**
Will be called whenever the display status of a notification changes.
\param displayed Visible/hidden status of this notification.
*/
void displayed(bool displayed);
/**
Will be called whenever the notification was dismissed. This can be called internally
by the notification implementation (e.g. timeout) or from the UI when the user dismisses
a notification.
*/
void dismissed();
/**
Will be called whenever an action of this notification is to be invoked.
\param id Id of the invoked action.
*/
void actionInvoked(const QString& id);
};
} // namespace notifications
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
lomiri-api-0.1.1/include/lomiri/shell/notifications/SourceInterface.h 0000664 0000000 0000000 00000004036 13733104243 0025706 0 ustar 00root root 0000000 0000000 /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authors:
* Michał Sawicz
*/
#ifndef LOMIRI_SHELL_NOTIFICATIONS_SOURCEINTERFACE_H
#define LOMIRI_SHELL_NOTIFICATIONS_SOURCEINTERFACE_H
#include
#include
namespace lomiri
{
namespace shell
{
namespace notifications
{
class ModelInterface;
/**
\brief A source of notifications
This should feed the model with new notifications from an implementation-specific
source.
*/
class LOMIRI_API SourceInterface : public QObject
{
Q_OBJECT
/**
\brief The model to which to send incoming notifications.
\accessors %model(), setModel(ModelInterface* model)
\notifier modelChanged(ModelInterface* model)
*/
Q_PROPERTY(lomiri::shell::notifications::ModelInterface* model READ model WRITE setModel NOTIFY modelChanged)
protected:
/// @cond
explicit SourceInterface(QObject* parent = 0) : QObject(parent) { }
/// @endcond
public:
virtual ~SourceInterface() { }
/// @cond
virtual ModelInterface* model() const = 0;
virtual void setModel(ModelInterface* model) = 0;
/// @endcond
Q_SIGNALS:
/**
Emitted when value of the model property has changed.
\param model New value of the model property.
*/
void modelChanged(ModelInterface* model);
};
} // namespace notifications
} // namespace shell
} // namespace lomiri
#endif // LOMIRI_SHELL_NOTIFICATIONS_SOURCEINTERFACE_H
lomiri-api-0.1.1/include/lomiri/util/ 0000775 0000000 0000000 00000000000 13733104243 0017446 5 ustar 00root root 0000000 0000000 lomiri-api-0.1.1/include/lomiri/util/CMakeLists.txt 0000664 0000000 0000000 00000000437 13733104243 0022212 0 ustar 00root root 0000000 0000000 file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
file(GLOB internal_headers "${CMAKE_CURRENT_SOURCE_DIR}/internal/*.h")
install(FILES ${headers} DESTINATION ${HDR_INSTALL_DIR}/lomiri/util)
set(LOMIRI_API_LIB_HDRS ${LOMIRI_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
lomiri-api-0.1.1/include/lomiri/util/Daemon.h 0000664 0000000 0000000 00000011207 13733104243 0021023 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef LOMIRI_UTIL_DAEMON_H
#define LOMIRI_UTIL_DAEMON_H
#include
#include
#include
namespace lomiri
{
namespace util
{
namespace internal
{
class DaemonImpl;
}
/**
\class Daemon
\brief Helper class to turn a process into a daemon.
To turn a process into a daemon, instantiate this class and call daemonize_me().
The new process becomes a session leader without a control terminal. The standard
file descriptors (stdin
, stdout
, and stderr) are closed
and re-opened to /dev/null
.
By default, any file descriptors (other than the standard three) that are open in the process
remain open to the same destinations in the daemon. If you want to have other descriptors closed, call
close_fds() before calling daemonize_me(). This will close all file descriptors > 2.
By default, the signal disposition of the daemon is unchanged. To reset all signals to their
default disposition, call reset_signals() before calling daemonize_me().
By default, the umask of the daemon is unchanged. To set a different umask, call set_umask()
before calling daemonize_me().
By default, the working directory of the daemon is unchanged. To run the daemon with a different
working directory, call set_working_dir() before calling daemonize_me(). Note that the working
directory should be set to a path that is in the root file system. If the working directory
is in any other file system, that file system cannot be unmounted while the daemon is running.
Note: This class is not async signal-safe. Do not call daemonize_me() from a a signal handler.
*/
class LOMIRI_API Daemon final
{
public:
/// @cond
NONCOPYABLE(Daemon);
LOMIRI_DEFINES_PTRS(Daemon);
/// @endcond
/**
\brief Create a Daemon instance.
\return A unique_ptr
to the instance.
*/
static UPtr create();
/**
\brief Causes daemonize_me() to close all open file descriptors other than the standard file
descriptors (which are connected /dev/null
).
*/
void close_fds() noexcept;
/**
\brief Causes daemonize_me() to reset all signals to their default behavior.
*/
void reset_signals() noexcept;
/**
\brief Causes daemonize_me() to set the umask.
\param mask The umask for the daemon process.
*/
void set_umask(mode_t mask) noexcept;
/**
\brief Causes daemonize_me() to set the working directory.
\param working_directory The working directory for the daemon process.
\throws SyscallException The process could not change the working directory to the specified directory.
\note Daemon processes should set their working to "/" or to a directory that is part of the root file system.
Otherwise, the file system containing the daemon's working directory cannot be unmounted without first
killing the daemon process.
*/
void set_working_directory(std::string const& working_directory);
/**
\brief Turns the calling process into a daemon.
By default, daemonize_me() leaves open file descriptors, signal disposition, umask, and working
directory unchanged. Call the corresponding member function before calling daemonize_me() to
change this behavior as appropriate.
\note Calling daemonize_me() more than once is safe; any changes to file descriptors, signal disposition,
umask, or working directory as requested by calling the other member functions will be correctly set
for the calling process. However, daemonize_me() is not a cheap call because it calls fork()
;
the normal use pattern is to create a Daemon instance, select the desired settings, call daemonize_me(),
and let the instance go out of scope.
*/
void daemonize_me();
~Daemon() noexcept;
private:
Daemon(); // Class is final, instantiation only via create()
std::unique_ptr p_;
};
} // namespace util
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/util/Dbus.h 0000664 0000000 0000000 00000002211 13733104243 0020510 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2020 UBports foundation
* Author(s): Marius Gripsgard
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
*/
#pragma once
#include
#include
namespace lomiri
{
namespace util
{
LOMIRI_API std::string dbus_sanitize_str(const std::string& str);
LOMIRI_API std::string dbus_sanitized_path(const std::string& base, const std::string& str);
LOMIRI_API inline std::string dbus_sanitized_path(const std::string& str)
{
return dbus_sanitized_path("/", str);
}
} // namespace util
} // namespace lomiri
lomiri-api-0.1.1/include/lomiri/util/DefinesPtrs.h 0000664 0000000 0000000 00000003317 13733104243 0022051 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef LOMIRI_UTIL_DEFINESPTRS_H
#define LOMIRI_UTIL_DEFINESPTRS_H
#include
/**
\file DefinesPtrs.h
\def LOMIRI_DEFINES_PTRS(classname)
\brief Macro to add smart pointer definitions to a class.
This macro injects type definitions for smart pointer types into a class. It is useful to
establish a common naming convention for smart pointers across a project.
You can use the macro as follows. Note that the macro argument is the name of the class being defined.
~~~
* class MyClass
* {
* public:
* LOMIRI_DEFINES_PTRS(MyClass);
* // MyClass now provides public typedefs for SPtr, SCPtr, UPtr, and UCPtr.
* // ...
* };
~~~
Callers of MyClass
can now, for example, write
~~~
* MyClass::UPtr p(new MyClass);
~~~
*/
#define LOMIRI_DEFINES_PTRS(classname) \
typedef std::shared_ptr SPtr; \
typedef std::shared_ptr SCPtr; \
typedef std::unique_ptr UPtr; \
typedef std::unique_ptr UCPtr
#endif
lomiri-api-0.1.1/include/lomiri/util/FileIO.h 0000664 0000000 0000000 00000002067 13733104243 0020733 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Michi Henning
*/
#ifndef LOMIRI_UTIL_FILEIO_H
#define LOMIRI_UTIL_FILEIO_H
#include
#include
#include
namespace lomiri
{
namespace util
{
LOMIRI_API std::string read_text_file(std::string const& filename);
LOMIRI_API std::vector read_binary_file(std::string const& filename);
} // namespace util
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/util/GObjectMemory.h 0000664 0000000 0000000 00000013060 13733104243 0022325 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013-2017 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Jussi Pakkanen
* Pete Woods
*/
#ifndef LOMIRI_UTIL_GOBJECTMEMORY_H
#define LOMIRI_UTIL_GOBJECTMEMORY_H
#include
#include
#include
#include
namespace lomiri
{
namespace util
{
namespace
{
inline static void check_floating_gobject(gpointer t)
{
if (G_IS_OBJECT(t) && g_object_is_floating(G_OBJECT(t)))
{
throw std::invalid_argument("cannot manage floating GObject reference - call g_object_ref_sink(o) first");
}
}
}
/**
\brief Used by the make_gobject, unique_gobject and share_gobject as the deleter.
Useful if for some reason the normal helper methods are not suitable for your needs.
Example:
\code{.cpp}
GObjectDeleter d;
auto shared = shared_ptr(foo_bar_new("name"), d);
auto unique = unique_ptr(foo_bar_new("name"), d);
\endcode
*/
struct GObjectDeleter
{
void operator()(gpointer ptr) noexcept
{
if (G_IS_OBJECT(ptr))
{
g_object_unref(ptr);
}
}
};
template using GObjectSPtr = std::shared_ptr;
template using GObjectUPtr = std::unique_ptr;
namespace internal
{
template
class GObjectAssigner
{
public:
typedef typename SP::element_type ElementType;
GObjectAssigner(SP& smart_ptr) noexcept:
smart_ptr_(smart_ptr)
{
}
GObjectAssigner(const GObjectAssigner& other) = delete;
GObjectAssigner(GObjectAssigner&& other) noexcept:
ptr_(other.ptr_), smart_ptr_(other.smart_ptr_)
{
other.ptr_ = nullptr;
}
~GObjectAssigner() noexcept
{
smart_ptr_ = SP(ptr_, GObjectDeleter());
}
GObjectAssigner& operator=(const GObjectAssigner& other) = delete;
operator ElementType**() noexcept
{
return &ptr_;
}
private:
ElementType* ptr_ = nullptr;
SP& smart_ptr_;
};
template
struct GObjectSignalUnsubscriber
{
void operator()(gulong handle) noexcept
{
if (handle != 0 && G_IS_OBJECT(obj_.get()))
{
g_signal_handler_disconnect(obj_.get(), handle);
}
}
GObjectSPtr obj_;
};
}
/**
\brief Helper method to wrap a unique_ptr around an existing GObject.
Useful if the GObject class you are constructing already has a
dedicated factory from the C library it comes from, and you
intend to have a unique instance of it.
Example:
\code{.cpp}
auto obj = unique_gobject(foo_bar_new("name"));
\endcode
*/
template
inline GObjectUPtr unique_gobject(T* ptr)
{
check_floating_gobject(ptr);
GObjectDeleter d;
return GObjectUPtr(ptr, d);
}
/**
\brief Helper method to wrap a shared_ptr around an existing GObject.
Useful if the GObject class you are constructing already has a
dedicated factory from the C library it comes from, and you
intend to share it.
Example:
\code{.cpp}
auto obj = share_gobject(foo_bar_new("name"));
\endcode
*/
template
inline GObjectSPtr share_gobject(T* ptr)
{
check_floating_gobject(ptr);
GObjectDeleter d;
return GObjectSPtr(ptr, d);
}
/**
\brief Helper method to construct a gobj_ptr-wrapped GObject class.
Uses the same signature as the g_object_new() method.
Example:
\code{.cpp}
auto obj = make_gobject(FOO_TYPE_BAR, "name", "banana", nullptr);
\endcode
*/
template
inline GObjectUPtr make_gobject(GType object_type, const gchar *first_property_name, Args&&... args) noexcept
{
gpointer ptr = g_object_new(object_type, first_property_name, std::forward(args)...);
if (G_IS_OBJECT(ptr) && g_object_is_floating(ptr))
{
g_object_ref_sink(ptr);
}
return unique_gobject(G_TYPE_CHECK_INSTANCE_CAST(ptr, object_type, T));
}
/**
\brief Helper method to take ownership of GObjects assigned from a reference.
Example:
\code{.cpp}
GObjectUPtr o;
method_that_assigns_a_foobar(assign_gobject(o));
\endcode
*/
template
inline internal::GObjectAssigner assign_gobject(SP& smart_ptr) noexcept
{
return internal::GObjectAssigner(smart_ptr);
}
template
using GObjectSignalConnection = ResourcePtr>;
/**
\brief Simple wrapper to manage the lifecycle of GObject signal connections.
When 'nameConnection_' goes out of scope or is dealloc'ed, the source will be removed:
\code{.cpp}
GObjectSignalConnection nameConnection_;
nameConnection_ = gobject_signal_connection(g_signal_connect(o.get(), "notify::name", G_CALLBACK(on_notify_name), this), o);
\endcode
*/
template
inline GObjectSignalConnection gobject_signal_connection(gulong id, const GObjectSPtr& obj)
{
return GObjectSignalConnection(id, internal::GObjectSignalUnsubscriber{obj});
}
} // namespace until
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/util/GioMemory.h 0000664 0000000 0000000 00000003720 13733104243 0021530 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2013-2017 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Pete Woods
*/
#ifndef LOMIRI_UTIL_GIOMEMORY_H
#define LOMIRI_UTIL_GIOMEMORY_H
#include
#include
namespace lomiri
{
namespace util
{
namespace internal
{
struct GDBusSignalUnsubscriber
{
public:
void operator()(guint handle) noexcept
{
if (handle != 0 && G_IS_OBJECT(bus_.get()))
{
g_dbus_connection_signal_unsubscribe(bus_.get(), handle);
}
}
GObjectSPtr bus_;
};
}
typedef ResourcePtr GDBusSignalConnection;
/**
\brief Simple wrapper to manage the lifecycle of manual GDBus signal connections.
When 'signalConnection_' goes out of scope or is dealloc'ed, the connection will be removed:
\code{.cpp}
GDBusSignalConnection signalConnection_;
signalConnection_ = gdbus_signal_connection(
g_dbus_connection_signal_subscribe(bus.get(), nullptr, "org.does.not.exist", nullptr, "/does/not/exist", nullptr, G_DBUS_SIGNAL_FLAGS_NONE, on_dbus_signal, this, nullptr), bus);
\endcode
*/
inline GDBusSignalConnection gdbus_signal_connection(guint id, GObjectSPtr bus) noexcept
{
return GDBusSignalConnection(id, internal::GDBusSignalUnsubscriber{bus});
}
} // namespace until
} // namespace lomiri
#endif
lomiri-api-0.1.1/include/lomiri/util/GlibMemory.h 0000664 0000000 0000000 00000017413 13733104243 0021673 0 ustar 00root root 0000000 0000000 /*
* Copyright (C) 2017 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Pete Woods
* Michi Henning
* James Henstridge
*/
#ifndef LOMIRI_UTIL_GLIBMEMORY_H
#define LOMIRI_UTIL_GLIBMEMORY_H
#include