~mir-team/miral/zesty

« back to all changes in this revision

Viewing changes to miral/version.h.in

  • Committer: Bileto Bot
  • Date: 2016-10-24 15:25:22 UTC
  • mfrom: (334.1.4 miral-0.3)
  • Revision ID: ci-train-bot@canonical.com-20161024152522-g758835syc6fca10
* New upstream release 0.3.0 (https://launchpad.net/miral/+milestone/0.3)
  - ABI summary:
    . miral ABI unchanged at 1
  - Enhancements:
    . Add miral-xrun as a better way to use Xmir
    . Added miral/version.h to allow permit compile-time feature detection
    . A convenient overload of WindowManagerTools::modify_window() that
      doesn't require the WindowInfo
    . Add userdata property to WindowSpecification and copy it to WindowInfo
    . miral::Keymap - support for keyboard maps (either programatically
      Keymap::set_keymap(), or via config --keymap)
  - Bugs fixed:
    . Crash after closing Qt dialog (LP: #1631958)
    . tooltips positioned wrong with mir0.24 (LP: #1632325, LP: #1633052)
    . Shell wants way to associate initially requested window creation state
      with the window later created (#1629349)
    . [Xmir] Alt+` switch between different apps not just windows
      (LP: #1625849)
    . miral-shell splash screen should be fullscreen.
    . TitlebarWindowManagerPolicy::end_resize() should do nothing if not
      resizing
    . deduplicate logging of WindowSpecification::top_left

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2016 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3,
 
6
 * as published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 */
 
17
 
 
18
#ifndef MIRAL_VERSION_H_
 
19
#define MIRAL_VERSION_H_
 
20
 
 
21
#include "mir_toolkit/mir_version_number.h"
 
22
 
 
23
// =========================================================================================
 
24
// ==>  miral/version.h is generated by cmake.  DO NOT EDIT! (edit version.h.in instead) <==
 
25
// =========================================================================================
 
26
 
 
27
/**
 
28
 * MIRAL_MAJOR_VERSION
 
29
 *
 
30
 * The major MirAL API version. This will increase once per API incompatible release.
 
31
 *
 
32
 * See also: http://semver.org/
 
33
 */
 
34
#define MIRAL_MAJOR_VERSION (@MIRAL_VERSION_MAJOR@)
 
35
 
 
36
/**
 
37
 * MIRAL_MINOR_VERSION
 
38
 *
 
39
 * The minor MirAL API version. This will increase each time new backwards-compatible API
 
40
 * is added, and will reset to 0 each time MIRAL_MAJOR_VERSION is incremented.
 
41
 *
 
42
 * See also: http://semver.org/
 
43
 */
 
44
#define MIRAL_MINOR_VERSION (@MIRAL_VERSION_MINOR@)
 
45
 
 
46
/**
 
47
 * MIRAL_MICRO_VERSION
 
48
 *
 
49
 * The micro miral API version. This will increment each release.
 
50
 * This is usually uninteresting for server code, but may be of use in selecting
 
51
 * whether to use a feature that has previously been buggy.
 
52
 *
 
53
 * This corresponds to the PATCH field of http://semver.org/
 
54
 */
 
55
#define MIRAL_MICRO_VERSION (@MIRAL_VERSION_PATCH@)
 
56
 
 
57
/**
 
58
 * MIRAL_VERSION
 
59
 *
 
60
 * The current version of the MirAL headers in use.
 
61
 */
 
62
#define MIRAL_VERSION \
 
63
    MIR_VERSION_NUMBER(MIRAL_MAJOR_VERSION, \
 
64
                       MIRAL_MINOR_VERSION, \
 
65
                       MIRAL_MICRO_VERSION)
 
66
 
 
67
#endif /* MIRAL_VERSION_H_ */