Merge lp:~dbusmenu-team/libdbusmenu/ubuntu into lp:~ubuntu-desktop/libdbusmenu/ubuntu

Proposed by Ted Gould
Status: Merged
Merged at revision: 90
Proposed branch: lp:~dbusmenu-team/libdbusmenu/ubuntu
Merge into: lp:~ubuntu-desktop/libdbusmenu/ubuntu
Diff against target: 243 lines (+52/-18)
9 files modified
configure (+11/-11)
configure.ac (+3/-3)
debian/changelog (+8/-0)
debian/control (+4/-1)
debian/rules (+1/-0)
docs/libdbusmenu-glib/reference/version.xml (+1/-1)
docs/libdbusmenu-gtk/reference/version.xml (+1/-1)
libdbusmenu-glib/client.c (+22/-0)
tests/test-glib-properties-client.c (+1/-1)
To merge this branch: bzr merge lp:~dbusmenu-team/libdbusmenu/ubuntu
Reviewer Review Type Date Requested Status
Ken VanDine Pending
Review via email: mp+33140@code.launchpad.net

Description of the change

0.3.11

To post a comment you must log in.
lp:~dbusmenu-team/libdbusmenu/ubuntu updated
90. By Ken VanDine

* New upstream release.
  * Fix to handle whitespace in layout XML better
  * Fixes to test scripts on ARM

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure'
2--- configure 2010-08-12 16:22:27 +0000
3+++ configure 2010-08-19 18:52:42 +0000
4@@ -1,6 +1,6 @@
5 #! /bin/sh
6 # Guess values for system-dependent variables and create Makefiles.
7-# Generated by GNU Autoconf 2.67 for libdbusmenu 0.3.10.
8+# Generated by GNU Autoconf 2.67 for libdbusmenu 0.3.11.
9 #
10 # Report bugs to <ted@canonical.com>.
11 #
12@@ -703,8 +703,8 @@
13 # Identity of this package.
14 PACKAGE_NAME='libdbusmenu'
15 PACKAGE_TARNAME='libdbusmenu'
16-PACKAGE_VERSION='0.3.10'
17-PACKAGE_STRING='libdbusmenu 0.3.10'
18+PACKAGE_VERSION='0.3.11'
19+PACKAGE_STRING='libdbusmenu 0.3.11'
20 PACKAGE_BUGREPORT='ted@canonical.com'
21 PACKAGE_URL=''
22
23@@ -1533,7 +1533,7 @@
24 # Omit some internal or obsolete options to make the list less imposing.
25 # This message is too long to be a string in the A/UX 3.1 sh.
26 cat <<_ACEOF
27-\`configure' configures libdbusmenu 0.3.10 to adapt to many kinds of systems.
28+\`configure' configures libdbusmenu 0.3.11 to adapt to many kinds of systems.
29
30 Usage: $0 [OPTION]... [VAR=VALUE]...
31
32@@ -1603,7 +1603,7 @@
33
34 if test -n "$ac_init_help"; then
35 case $ac_init_help in
36- short | recursive ) echo "Configuration of libdbusmenu 0.3.10:";;
37+ short | recursive ) echo "Configuration of libdbusmenu 0.3.11:";;
38 esac
39 cat <<\_ACEOF
40
41@@ -1741,7 +1741,7 @@
42 test -n "$ac_init_help" && exit $ac_status
43 if $ac_init_version; then
44 cat <<\_ACEOF
45-libdbusmenu configure 0.3.10
46+libdbusmenu configure 0.3.11
47 generated by GNU Autoconf 2.67
48
49 Copyright (C) 2010 Free Software Foundation, Inc.
50@@ -2112,7 +2112,7 @@
51 This file contains any messages produced by compilers while
52 running configure, to aid debugging if configure makes a mistake.
53
54-It was created by libdbusmenu $as_me 0.3.10, which was
55+It was created by libdbusmenu $as_me 0.3.11, which was
56 generated by GNU Autoconf 2.67. Invocation command line was
57
58 $ $0 $@
59@@ -2933,7 +2933,7 @@
60
61 # Define the identity of the package.
62 PACKAGE=libdbusmenu
63- VERSION=0.3.10
64+ VERSION=0.3.11
65
66
67 # Some tools Automake needs.
68@@ -13065,7 +13065,7 @@
69 ###########################
70
71 LIBDBUSMENU_CURRENT=1
72-LIBDBUSMENU_REVISION=12
73+LIBDBUSMENU_REVISION=13
74 LIBDBUSMENU_AGE=0
75
76
77@@ -14379,7 +14379,7 @@
78 # report actual input values of CONFIG_FILES etc. instead of their
79 # values after options handling.
80 ac_log="
81-This file was extended by libdbusmenu $as_me 0.3.10, which was
82+This file was extended by libdbusmenu $as_me 0.3.11, which was
83 generated by GNU Autoconf 2.67. Invocation command line was
84
85 CONFIG_FILES = $CONFIG_FILES
86@@ -14445,7 +14445,7 @@
87 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
88 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
89 ac_cs_version="\\
90-libdbusmenu config.status 0.3.10
91+libdbusmenu config.status 0.3.11
92 configured by $0, generated by GNU Autoconf 2.67,
93 with options \\"\$ac_cs_config\\"
94
95
96=== modified file 'configure.ac'
97--- configure.ac 2010-08-12 16:22:27 +0000
98+++ configure.ac 2010-08-19 18:52:42 +0000
99@@ -1,11 +1,11 @@
100
101-AC_INIT(libdbusmenu, 0.3.10, ted@canonical.com)
102+AC_INIT(libdbusmenu, 0.3.11, ted@canonical.com)
103 AC_COPYRIGHT([Copyright 2009,2010 Canonical])
104
105 AC_PREREQ(2.62)
106
107 AM_CONFIG_HEADER(config.h)
108-AM_INIT_AUTOMAKE(libdbusmenu, 0.3.10, [-Wno-portability])
109+AM_INIT_AUTOMAKE(libdbusmenu, 0.3.11, [-Wno-portability])
110
111 AM_MAINTAINER_MODE
112
113@@ -99,7 +99,7 @@
114 ###########################
115
116 LIBDBUSMENU_CURRENT=1
117-LIBDBUSMENU_REVISION=12
118+LIBDBUSMENU_REVISION=13
119 LIBDBUSMENU_AGE=0
120
121 AC_SUBST(LIBDBUSMENU_CURRENT)
122
123=== modified file 'debian/changelog'
124--- debian/changelog 2010-08-12 19:21:26 +0000
125+++ debian/changelog 2010-08-19 18:52:42 +0000
126@@ -1,3 +1,11 @@
127+libdbusmenu (0.3.11-0ubuntu1~ppa1) maverick; urgency=low
128+
129+ * New upstream release.
130+ * Fix to handle whitespace in layout XML better
131+ * Fixes to test scripts on ARM
132+
133+ -- Ted Gould <ted@ubuntu.com> Thu, 19 Aug 2010 13:47:33 -0500
134+
135 libdbusmenu (0.3.10-0ubuntu1) maverick; urgency=low
136
137 * New upstream release.
138
139=== modified file 'debian/control'
140--- debian/control 2010-08-12 19:21:26 +0000
141+++ debian/control 2010-08-19 18:52:42 +0000
142@@ -20,7 +20,10 @@
143 gir1.0-glib-2.0,
144 gir1.0-gtk-2.0,
145 libx11-dev (>= 1.3),
146- valac
147+ valac,
148+# Check dependencies
149+ xvfb,
150+ dbus-test-runner
151 Standards-Version: 3.9.1
152 Homepage: https://launchpad.net/dbusmenu
153 Vcs-Bzr: https://code.launchpad.net/~dbusmenu-team/dbusmenu/ubuntu
154
155=== modified file 'debian/rules'
156--- debian/rules 2010-08-12 19:21:26 +0000
157+++ debian/rules 2010-08-19 18:52:42 +0000
158@@ -3,6 +3,7 @@
159 include /usr/share/cdbs/1/rules/debhelper.mk
160 include /usr/share/cdbs/1/class/gnome.mk
161
162+DEB_MAKE_CHECK_TARGET := check
163 DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc
164 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
165
166
167=== modified file 'docs/libdbusmenu-glib/reference/version.xml'
168--- docs/libdbusmenu-glib/reference/version.xml 2010-08-12 16:22:27 +0000
169+++ docs/libdbusmenu-glib/reference/version.xml 2010-08-19 18:52:42 +0000
170@@ -1,1 +1,1 @@
171-0.3.10
172+0.3.11
173
174=== modified file 'docs/libdbusmenu-gtk/reference/version.xml'
175--- docs/libdbusmenu-gtk/reference/version.xml 2010-08-12 16:22:27 +0000
176+++ docs/libdbusmenu-gtk/reference/version.xml 2010-08-19 18:52:42 +0000
177@@ -1,1 +1,1 @@
178-0.3.10
179+0.3.11
180
181=== modified file 'libdbusmenu-glib/client.c'
182--- libdbusmenu-glib/client.c 2010-07-20 20:22:40 +0000
183+++ libdbusmenu-glib/client.c 2010-08-19 18:52:42 +0000
184@@ -1126,6 +1126,9 @@
185 /* g_debug("Looking at child: %d", position); */
186 gint childid = parse_node_get_id(children);
187 if (childid < 0) {
188+ /* Don't increment the position when there isn't a valid
189+ node in the XML tree. It's probably a comment. */
190+ position--;
191 continue;
192 }
193 DbusmenuMenuitem * childmi = NULL;
194@@ -1143,11 +1146,17 @@
195 }
196
197 if (childmi == NULL) {
198+ #ifdef MASSIVEDEBUGGING
199+ g_debug("Building new menu item %d at position %d", childid, position);
200+ #endif
201 /* If we can't recycle, then we build a new one */
202 childmi = parse_layout_new_child(childid, client, item);
203 dbusmenu_menuitem_child_add_position(item, childmi, position);
204 g_object_unref(childmi);
205 } else {
206+ #ifdef MASSIVEDEBUGGING
207+ g_debug("Recycling menu item %d at position %d", childid, position);
208+ #endif
209 /* If we can recycle, make sure it's in the right place */
210 dbusmenu_menuitem_child_reorder(item, childmi, position);
211 parse_layout_update(childmi, client);
212@@ -1175,6 +1184,19 @@
213 children = node->children;
214 GList * childmis = dbusmenu_menuitem_get_children(item);
215 while (children != NULL && childmis != NULL) {
216+ gint xmlid = parse_node_get_id(children);
217+ /* If this isn't a valid menu item we need to move on
218+ until we have one. This avoids things like comments. */
219+ if (xmlid < 0) {
220+ children = children->next;
221+ continue;
222+ }
223+
224+ #ifdef MASSIVEDEBUGGING
225+ gint miid = dbusmenu_menuitem_get_id(DBUSMENU_MENUITEM(childmis->data));
226+ g_debug("Recursing parse_layout_xml. XML ID: %d MI ID: %d", xmlid, miid);
227+ #endif
228+
229 parse_layout_xml(client, children, DBUSMENU_MENUITEM(childmis->data), item, proxy);
230
231 children = children->next;
232
233=== modified file 'tests/test-glib-properties-client.c'
234--- tests/test-glib-properties-client.c 2010-02-05 18:10:47 +0000
235+++ tests/test-glib-properties-client.c 2010-08-19 18:52:42 +0000
236@@ -121,7 +121,7 @@
237 layout_updated (DbusmenuClient * client, gpointer data)
238 {
239 g_debug("Layout Updated");
240- g_timeout_add (250, layout_verify_timer, client);
241+ g_timeout_add (500, layout_verify_timer, client);
242 return;
243 }
244

Subscribers

People subscribed via source and target branches

to all changes: