Commit 8deff4f0abf6a9ca3be9a348eb3eaf27c7c6a120

Ran Benita 2013-11-22T21:02:03

Bump version to 0.3.2 Add a NEWS file, with some retroactive entries. Also add 'check-news' to configure.ac, though this might be a bit annoying. Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..6fd773c
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,55 @@
+libxkbcommon 0.3.2
+==================
+
+- Added XKB_KEY_XF86AudioMicMute keysym, to match xproto 7.0.24.
+
+- Log messages from the library now look like "xkbcommon: ERROR" by
+  default, instead of xkbcomp-like "Error:   ".
+
+- Apply capitalization transformation on keysyms in
+  xkb_keysym_get_one_sym(), to match the behavior specified in the XKB
+  specification:
+  http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Interpreting_the_Lock_Modifier
+
+- Support byacc for generating the parser, in addition to Bison.
+
+- Bug fixes.
+
+
+libxkbcommon 0.3.1
+==================
+
+- Replace the flex scanner with a hand-written one. flex is no longer
+  a build requirement.
+
+- New API:
+  xkb_keymap_min_keycode()
+  xkb_keymap_max_keycode()
+  xkb_keymap_key_for_each()
+
+
+libxkbcommon 0.3.0
+==================
+
+- Allow passing NULL to *_unref() functions; do nothing instead of
+  crashing.
+
+- The functions xkb_keymap_num_levels_for_key() and
+  xkb_keymap_get_syms_by_level() now allow out-of-range values for the
+  'layout' parameter. The functions now wrap the value around the number
+  of layouts instead of failing.
+
+- The function xkb_keysym_get_name() now types unicode keysyms in
+  uppercase and 0-padding, to match the format used by XKeysymToString().
+
+- Building Linux-specific tests is no longer attempted on non-Linux
+  environments.
+
+- The function xkb_keymap_new_from_names() now accepts a NULL value for
+  the 'names' parameter, instead of failing. This is equivalent to passing
+  a 'struct xkb_rule_names' with all fields set to NULL.
+
+- New API:
+  xkb_keymap_new_from_buffer()
+
+- Bug fixes.
diff --git a/configure.ac b/configure.ac
index fc77c62..9f957ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ dnl Process this file with autoconf to create configure.
 
 # Initialize Autoconf
 AC_PREREQ([2.62])
-AC_INIT([libxkbcommon], [0.3.1],
+AC_INIT([libxkbcommon], [0.3.2],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=libxkbcommon],
         [libxkbcommon], [http://xkbcommon.org])
 AC_CONFIG_SRCDIR([Makefile.am])
@@ -31,7 +31,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 
 # Initialize Automake
-AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests])
+AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests check-news])
 AM_MAINTAINER_MODE([enable])
 
 # Get _GNU_SOURCE and friends