comparison src/ChangeLog @ 87541:b1f54ef8cb8f

(read_key_sequence): Fix typo.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 03 Jan 2008 21:56:05 +0000
parents 6a710fa21688
children af7df042c392
comparison
equal deleted inserted replaced
87540:084340c0bd27 87541:b1f54ef8cb8f
1 2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (read_key_sequence): Fix typo.
4
1 2008-01-03 Michael Albinus <michael.albinus@gmx.de> 5 2008-01-03 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE. 7 * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE.
4 (xd_signature, xd_append_arg): Handle element type detection for 8 (xd_signature, xd_append_arg): Handle element type detection for
5 empty arrays. 9 empty arrays.
21 25
22 * dbusbind.c (xd_signature): Signature of variant is just "v". 26 * dbusbind.c (xd_signature): Signature of variant is just "v".
23 27
24 2007-12-30 Michael Albinus <michael.albinus@gmx.de> 28 2007-12-30 Michael Albinus <michael.albinus@gmx.de>
25 29
26 * dbusbind.c: Fix several errors and compiler warnings. Reported 30 * dbusbind.c: Fix several errors and compiler warnings.
27 by Tom Tromey <tromey@redhat.com> 31 Reported by Tom Tromey <tromey@redhat.com>
28 (XD_ERROR, XD_DEBUG_MESSAGE) 32 (XD_ERROR, XD_DEBUG_MESSAGE)
29 (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". 33 (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)".
30 (xd_append_arg): Part for basic D-Bus types rewitten. 34 (xd_append_arg): Part for basic D-Bus types rewitten.
31 (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and 35 (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and
32 DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not 36 DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not
76 80
77 2007-12-21 Michael Albinus <michael.albinus@gmx.de> 81 2007-12-21 Michael Albinus <michael.albinus@gmx.de>
78 82
79 * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): 83 * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE):
80 New macros. 84 New macros.
81 (XD_SYMBOL_TO_DBUS_TYPE): Renamed from 85 (XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE.
82 XD_LISP_SYMBOL_TO_DBUS_TYPE. 86 (XD_OBJECT_TO_DBUS_TYPE): Rename from
83 (XD_OBJECT_TO_DBUS_TYPE): Renamed from
84 XD_LISP_OBJECT_TO_DBUS_TYPE. Simplify. 87 XD_LISP_OBJECT_TO_DBUS_TYPE. Simplify.
85 (xd_signature): New function. 88 (xd_signature): New function.
86 (xd_append_arg): Compute also signatures. Major rewrite. 89 (xd_append_arg): Compute also signatures. Major rewrite.
87 (xd_retrieve_arg): Make debug messages friendly. 90 (xd_retrieve_arg): Make debug messages friendly.
88 (Fdbus_call_method, Fdbus_send_signal): Extend docstring. Check 91 (Fdbus_call_method, Fdbus_send_signal): Extend docstring.
89 for signatures of arguments. 92 Check for signatures of arguments.
90 93
91 2007-12-19 Michael Albinus <michael.albinus@gmx.de> 94 2007-12-19 Michael Albinus <michael.albinus@gmx.de>
92 95
93 * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean) 96 * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean)
94 (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32) 97 (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32)
95 (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) 98 (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64)
96 (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) 99 (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path)
97 (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) 100 (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant)
98 (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type 101 (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols.
99 symbols.
100 (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. 102 (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro.
101 (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. 103 (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types.
102 (xd_retrieve_value): Removed. Functionality included in ... 104 (xd_retrieve_value): Remove. Functionality included in ...
103 (xd_append_arg): New function. 105 (xd_append_arg): New function.
104 (Fdbus_call_method, Fdbus_send_signal): Apply it. 106 (Fdbus_call_method, Fdbus_send_signal): Apply it.
105 107
106 2007-12-16 Michael Albinus <michael.albinus@gmx.de> 108 2007-12-16 Michael Albinus <michael.albinus@gmx.de>
107 109
108 * dbusbind.c (top): Include <stdio.h>. 110 * dbusbind.c (top): Include <stdio.h>.
109 (Fdbus_call_method, Fdbus_send_signal): Apply type cast in 111 (Fdbus_call_method, Fdbus_send_signal): Apply type cast in
110 dbus_message_new_method_call and dbus_message_new_signal. 112 dbus_message_new_method_call and dbus_message_new_signal.
111 (Fdbus_register_signal): Rename unique_name to uname. Check 113 (Fdbus_register_signal): Rename unique_name to uname.
112 handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of 114 Check handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of
113 non-existing unique name. Fix typos in matching rule. Return an 115 non-existing unique name. Fix typos in matching rule. Return an
114 object which is useful in Fdbus_unregister_signal. 116 object which is useful in Fdbus_unregister_signal.
115 (Fdbus_unregister_signal): Reimplementation, in order to remove 117 (Fdbus_unregister_signal): Reimplementation, in order to remove
116 only the corresponding entry. 118 only the corresponding entry.
117 (Vdbus_registered_functions_table): Change the order of entries. 119 (Vdbus_registered_functions_table): Change the order of entries.
134 (lookup_vk_code): Remove zero comparison. 136 (lookup_vk_code): Remove zero comparison.
135 137
136 2007-12-14 Michael Albinus <michael.albinus@gmx.de> 138 2007-12-14 Michael Albinus <michael.albinus@gmx.de>
137 139
138 * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) 140 * dbusbind.c (xd_retrieve_value, xd_retrieve_arg)
139 (Fdbus_call_method, Fdbus_send_signal, xd_read_message): Use 141 (Fdbus_call_method, Fdbus_send_signal, xd_read_message):
140 `unsigned int' instead of `uint'. 142 Use `unsigned int' instead of `uint'.
141 (xd_read_message, Fdbus_register_signal): Split expressions into 143 (xd_read_message, Fdbus_register_signal): Split expressions into
142 multiple lines before operators "&&" and "||", according to the 144 multiple lines before operators "&&" and "||", according to the
143 GNU Coding Standards. 145 GNU Coding Standards.
144 146
145 2007-12-14 Eli Zaretskii <eliz@gnu.org> 147 2007-12-14 Eli Zaretskii <eliz@gnu.org>
242 (xd_read_queued_messages): Protect xd_read_message calls by 244 (xd_read_queued_messages): Protect xd_read_message calls by
243 internal_condition_case_1. 245 internal_condition_case_1.
244 246
245 2007-12-04 Michael Albinus <michael.albinus@gmx.de> 247 2007-12-04 Michael Albinus <michael.albinus@gmx.de>
246 248
247 * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Renamed from 249 * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from
248 Qdbus_system_bus and Qdbus_session_bus, respectively. 250 Qdbus_system_bus and Qdbus_session_bus, respectively.
249 (Vdbus_intern_symbols): Removed. 251 (Vdbus_intern_symbols): Remove.
250 (Vdbus_registered_functions_table): New hash table. 252 (Vdbus_registered_functions_table): New hash table.
251 (XD_SYMBOL_INTERN_SYMBOL): Removed. 253 (XD_SYMBOL_INTERN_SYMBOL): Remove.
252 (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): 254 (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
253 Rewritten in order to manage registered functions by hash table 255 Rewrite in order to manage registered functions by hash table
254 Vdbus_registered_functions_table. 256 Vdbus_registered_functions_table.
255 257
256 2007-12-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 258 2007-12-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
257 259
258 * xterm.c: Update URL to Window Manager Specification in comment. 260 * xterm.c: Update URL to Window Manager Specification in comment.
272 * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined. 274 * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.
273 275
274 * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". 276 * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
275 (Qdbus_event) New Lisp symbol. 277 (Qdbus_event) New Lisp symbol.
276 (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. 278 (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
277 (gobble_input): Call xd_read_queued_messages, reading D-Bus 279 (gobble_input): Call xd_read_queued_messages, reading D-Bus messages.
278 messages.
279 (keys_of_keyboard ): Define dbus-event. 280 (keys_of_keyboard ): Define dbus-event.
280 281
281 * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. 282 * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.
282 283
283 2007-12-01 Richard Stallman <rms@gnu.org> 284 2007-12-01 Richard Stallman <rms@gnu.org>