~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Package Import Robot
  • Author(s): Chase Douglas
  • Date: 2012-07-30 08:51:42 UTC
  • Revision ID: package-import@ubuntu.com-20120730085142-jrc33ygjvt0ob1wl
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-03-31  Stephen M. Webb  <stephen.webb@canonical.com>
 
2
 
 
3
  Add initial python bindings.
 
4
 
 
5
  * python/Makefile.am: new file
 
6
  * python/_geis_bindings/_geis_bindings.c: new file
 
7
  * python/geis/__init__.py: new file
 
8
  * python/geis/geis_v2.py: new file
 
9
  * python/pygeis: new script
 
10
  * Makefile.am (SUBDIRS): added python
 
11
  * configure.ac (AC_CONFIG_FILES): added new generated files
 
12
 
 
13
2011-04-10  Stephen M. Webb  <stephen.webb@canonical.com>
 
14
 
 
15
  Repaired a callback persistence problem (LP: #754135).
 
16
 
 
17
  * testsuite/geis1/check_subscription.c: new test suite
 
18
  * libgeis/geis_v1.c: saved a copy of the callback tables
 
19
  * testsuite/geis1/Makefile.am: included new test suite
 
20
  * testsuite/geis1/check_geis1_api.c: ran new test suite
 
21
 
 
22
2011-04-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
23
 
 
24
  Made direct use of XI2.1 optional at build time (LP: #741404).
 
25
 
 
26
  * m4/ax_enable_xi2.m4: new autoconf macro
 
27
  * configure.ac: invoked the new macro
 
28
  * libgeis/backend/xcb/geis_xcb_backend.c: optioned XI2.1 code
 
29
 
 
30
2011-04-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
31
 
 
32
  Fixed invalid pointer dereference on XI initialization failure in XCB back
 
33
  end (LP: #730899).
 
34
 
 
35
  * libgeis/backend/xcb/geis_xcb_backend.c
 
36
    (geis_xcb_backend_new): cleared properly to indicate a failure.
 
37
 
 
38
2011-03-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
39
 
 
40
  Changes the list of attrs received from grail for the Touch gesture.
 
41
 
 
42
  * libgeis/backend/xcb/grail_gestures.c: change Touch attrs
 
43
 
 
44
2011-03-25  Stephen M. Webb  <stephen.webb@canonical.com>
 
45
 
 
46
  Added new TOUCH gesture types (LP: #742555).
 
47
 
 
48
  * include/geis/geis.h: added new TOUCH gesture types
 
49
  * libgeis/backend/xcb/geis_xcb_backend.c: tweaked gesture mask size
 
50
  * libgeis/backend/xcb/grail_gestures.c: added new TOUCH gesture types
 
51
    added proper handling of a variable-size gesture mask
 
52
  * libgeis/geis_v1.c: mapped new TOUCH gesture types to grail TOUCH
 
53
    gesture types
 
54
  * testsuite/geis1/check_gesture_types.c: new testsuite
 
55
  * testsuite/geis1/Makefile.am: added new testsuite
 
56
  * testsuite/geis1/check_geis1_api.c: invoked new testsuite
 
57
  * testsuite/geistest/geistest.c: added new gesture types
 
58
 
 
59
2011-03-24  Stephen M. Webb  <stephen.webb@canonical.com>
 
60
 
 
61
  Fixed a bad index when translating grail touches (LP: #742002).
 
62
 
 
63
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
64
    fixed offset calculation for grail touch properties
 
65
 
 
66
2011-03-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
67
 
 
68
  Added a default back end (LP: #740311).
 
69
 
 
70
  * examples/geis2.c (dump_gesture_event): dumped more info
 
71
    (main): removed GEIS_INIT_XCB from geis_new call
 
72
  * libgeis/geis.c (geis_new): added GEIS_INIT_XCB as default
 
73
 
 
74
2011-03-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
75
 
 
76
  Passed the correct gesture_id to GEIS v1 callbacks (LP: #740284).
 
77
 
 
78
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
79
    Used the grail gesture_id as the frame_id.
 
80
  * testsuite/geistest/geistest.c (gesture_update): reported the gesture_id
 
81
    (gesture_start): reported the gesture_id
 
82
    (gesture_finish): reported the gesture_id
 
83
 
 
84
2011-03-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
85
 
 
86
  Corrected the number of touches on a gesture event (LP: #737745).
 
87
 
 
88
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
89
    replaced geis_xcb_backend_touch_count() call with a calculation based on
 
90
    the number of touch properties passed from grail
 
91
  * libgeis/backend/xcb/grail_gestures.c (geis_xcb_backend_touch_count):
 
92
    removed
 
93
  * libgeis/backend/xcb/grail_gestures.h (geis_xcb_backend_touch_count):
 
94
    removed
 
95
 
 
96
2011-03-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
97
 
 
98
  Added definitions for GEIS v1 gesture primitive types (LP: #737230).
 
99
 
 
100
  * include/geis/geis.h (GEIS_GESTURE_PRIMITIVE_DRAG): new symbol
 
101
    (GEIS_GESTURE_PRIMITIVE_PINCH): new symbol
 
102
    (GEIS_GESTURE_PRIMITIVE_ROTATE): new symbol
 
103
    (GEIS_GESTURE_PRIMITIVE_TAP): new symbol
 
104
  * libgeis/backend/xcb/grail_gestures.c (s_grail_class_map):
 
105
    replaced grail symbolic constants with the new GEIS symbolic
 
106
    constants
 
107
 
 
108
2011-03-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
109
 
 
110
  Refined the API documentation and added an examples directory.
 
111
 
 
112
  * doc/api.dox: new documentation file
 
113
  * doc/logo_x64.png: new logo image
 
114
  * doc/using_geis_v2.dox: new documentation file
 
115
  * examples/Makefile.am: examples subdirectory Makefile
 
116
  * examples/geis2.c: new example program
 
117
  * Makefile.am: added examples subdirectory
 
118
  * configure.ac: added examples subdirectory
 
119
  * doc/Doxyfile: tweaked Doxygen settings
 
120
  * include/geis/geis.h: complete API docs refinement
 
121
 
 
122
2011-03-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
123
 
 
124
  Replaced device class with explicit attributes.
 
125
 
 
126
  * include/geis/geis.h (GEIS_DEVICE_CLASS_*) removed
 
127
    (GEIS_DEVICE_ATTRIBUTE_DIRECT_TOUCH): added 
 
128
    (GEIS_DEVICE_ATTRIBUTE_INDEPENDENT_TOUCH): added 
 
129
  * libgeis/backend/xcb/geis_xcb_backend.c:
 
130
    (_map_xi2_mode_to_geis_device_attrs): replaced function
 
131
    _map_xi2_mode_to_geis_device_class
 
132
  * testsuite/geis2/check_device.c: added checks for new attributes
 
133
 
 
134
2011-03-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
135
 
 
136
  Refinement of input device class handling.
 
137
 
 
138
  * include/geis/geis.h (GEIS_DEVICE_CLASS_UNKNOWN): new device class
 
139
    (GEIS_DEVICE_CLASS_TOUCH_MULTIFINGER): new device class
 
140
  * libgeis/backend/xcb/geis_xcb_backend.c
 
141
    (_map_xi2_mode_to_geis_device_class): new function
 
142
    (_report_an_xcb_device): used it
 
143
 
 
144
2011-03-13  Stephen M. Webb  <stephen.webb@canonical.com>
 
145
 
 
146
  Initialized an uninitialized variable.
 
147
 
 
148
  * libgeis/geis_v1.c (_v1_input_callback): initialized device_id 
 
149
 
 
150
2011-03-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
151
 
 
152
  Added spcifying devices to geistest.
 
153
 
 
154
  * libgeis/backend/xcb/geis_xcb_backend.c: added -d swicth
 
155
  * doc/geistest.1: documented its use
 
156
 
 
157
2011-03-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
158
 
 
159
  Added proper device ID filtering for GEIS v1.
 
160
 
 
161
  * libgeis/geis_v1.c (_subscribe_device): Added filter for device ID.
 
162
 
 
163
2011-03-11  Stephen M. Webb  <stephen.webb@canonical.com>
 
164
 
 
165
  Implement device enumeration (LP: #733296)
 
166
 
 
167
  * libgeis/backend/xcb/geis_xcb_backend.c (_report_an_xcb_device): new
 
168
    (_report_xcb_devices): imlemented
 
169
  * libgeis/geis_device.c (geis_device_new): made "id" an attr
 
170
    (geis_device_id): same
 
171
    (geis_device_add_attr): implemented missing function
 
172
  * libgeis/geis_v1.c (_v1_input_callback): new function
 
173
    (geis_input_devices): implemented
 
174
  * testsuite/geis1/check_gesture_attrs.c: removed debug message
 
175
  * testsuite/geistest/geistest.c (input_device_added): added a dump
 
176
 
 
177
2011-03-11  Stephen M. Webb  <stephen.webb@canonical.com>
 
178
 
 
179
  Fix a lifetime issue with string attrs.
 
180
 
 
181
  * libgeis/geis_attr.c (geis_attr_new): dup all strings
 
182
    (geis_attr_delete): free strings
 
183
 
 
184
2011-03-11  Stephen M. Webb  <stephen.webb@canonical.com>
 
185
 
 
186
  Added new device symbolic constants due to a change in the GEIS spec.
 
187
 
 
188
  * include/geis/geis.h (GEIS_DEVICE_ATTRIBUTE_CLASS): new constant
 
189
    (GEIS_DEVICE_ATTRIBUTE_TOUCHES): new constant
 
190
    (GEIS_DEVICE_CLASS_TOUCH_DIRECT): new constant
 
191
    (GEIS_DEVICE_CLASS_TOUCH_DEPENDENT): new constant
 
192
    (GEIS_DEVICE_CLASS_TOUCH_INDEPENDENT): new constant
 
193
    (GEIS_DEVICE_CLASS_TOUCH_PARTIAL): new constant
 
194
  * testsuite/geis2/check_device.c: added tests for the above
 
195
 
 
196
2011-03-11  Stephen M. Webb  <stephen.webb@canonical.com>
 
197
 
 
198
  Added a required symbolic constant for device events.
 
199
 
 
200
  * include/geis/geis.h (GEIS_EVENT_ATTRIBUTE_DEVICE): new symbol
 
201
    (GEIS_DEVICE_ATTRIBUTE_ID): new symbol
 
202
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c: used them
 
203
  * libgeis/geis.c: used them
 
204
  * testsuite/geis2/check_device.c (geis_device_types): checked them
 
205
  * testsuite/geis2/check_subscription.c: used them
 
206
 
 
207
2011-03-08  Stephen M. Webb  <stephen.webb@canonical.com>
 
208
 
 
209
  Released geis v2.0.3.
 
210
 
 
211
  * configure.ac (AC_INIT): bumped version to 2.0.3
 
212
 
 
213
2011-03-08  Stephen M. Webb  <stephen.webb@canonical.com>
 
214
 
 
215
  Added fix for LP: #732104: re-order class event pump in v1 emulation.
 
216
 
 
217
  * libgeis/geis_v1.c (_subscribe_device): added more diagnostic messages
 
218
    (geis_subscribe): re-ordered event pump to prime the class table
 
219
 
 
220
2011-03-08  Stephen M. Webb  <stephen.webb@canonical.com>
 
221
 
 
222
  Added a unit test and related infrastructure in the mock objects to reproduce
 
223
  LP: #732104.
 
224
 
 
225
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c:
 
226
    moved generation of gesture events to after subscription creation, added
 
227
    support for TOUCH filters
 
228
  * testsuite/geis1/check_gesture_attrs.c: added check for touch count,
 
229
    changed subscription from GEIS_ALL_GESTURES to an explicit list
 
230
  * testsuite/geis2/check_frame.c: activated subscription
 
231
 
 
232
2011-03-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
233
 
 
234
  Released GEIS v2.0.2.
 
235
 
 
236
  * configure.ac (AC_INIT): bumped version to 2.0.2
 
237
 
 
238
2011-03-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
239
 
 
240
  Renamed test case for LP: #728606
 
241
 
 
242
  * testsuite/geis1/check_gesture_attrs.c: renamed from
 
243
    testsuite/geis1/check_lp728606.c
 
244
  * testsuite/geis1/Makefile.am: renamed source file
 
245
    added -Werror to CFLAGS
 
246
  * testsuite/geis1/check_geis1_api.c: renamed test
 
247
 
 
248
2011-03-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
249
 
 
250
  Added regression test for LP: #728606
 
251
 
 
252
  * testsuite/geis1/check_lp728606.c: new test suite
 
253
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
254
    (_create_gesture_events): add some basic gesture attrs to mock events
 
255
  * libgeis/geis_v1.c (geis_init): tweaked mock object creation
 
256
    (geis_finish): reset global Geis object
 
257
    (geis_subscribe): relocated class event pump
 
258
  * testsuite/geis1/Makefile.am: added new test suite source
 
259
  * testsuite/geis1/check_geis1_api.c: ran new test suite
 
260
 
 
261
2011-03-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
262
 
 
263
  Enabled GEIS v1 for basic API unit testing.
 
264
 
 
265
  * testsuite/geis1/check_instance.c: new test suite
 
266
  * libgeis/geis_v1.c  (_generate_subscription_name): handled NULL XCB info
 
267
    (geis_init): handled request for mock back end
 
268
  * testsuite/geis1/Makefile.am: added new source file
 
269
  * testsuite/geis1/check_geis1_api.c: ran new test suite
 
270
 
 
271
2011-03-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
272
 
 
273
  Re-added GEIS v1 API testing.
 
274
 
 
275
  * testsuite/geis1/check_geis_internals.c: removed
 
276
  * testsuite/geis1/check_instance_table.c: removed
 
277
  * testsuite/geis1/check_geis1_api.c: new file
 
278
  * configure.ac (AC_CONFIG_FILES): added testsuite.geis1/Makefile
 
279
  * testsuite/Makefile.am (SUBDIRS): added geis1
 
280
  * testsuite/geis1/Makefile.am: Removed old unit tests, added check_geis1_api
 
281
 
 
282
2011-03-03  Stephen M. Webb  <stephen.webb@canonical.com>
 
283
 
 
284
  Fixed incorrect data conversion in GEIS v1 implementation (LP: #728606)
 
285
 
 
286
  * libgeis/geis_v1 (_map_frame_to_attrs): put float value in the float
 
287
    member of the attr union to avoid unwanted coercion.
 
288
 
 
289
2011-02-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
290
 
 
291
  Added a graceful exit to the geistest tool.
 
292
 
 
293
  * testsuite/geistest/geistest.c (main): added watch on stdin for exit
 
294
  * doc/geistest.1: mentioned how to exit gracefully
 
295
 
 
296
2011-02-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
297
 
 
298
  Fixed logic in a string-to-boolean conversion.
 
299
 
 
300
  * libgeis/geis_attr.c (geis_attr_value_to_boolean): fixed logic
 
301
 
 
302
2011-02-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
303
 
 
304
  Fixed memory leaks in GEIS v2 subscriptions.
 
305
 
 
306
  * libgeis/backend/xcb/geis_xcb_backend.c (_finalize): closed X display
 
307
  * libgeis/geis.c (geis_new): reffed the new geis object
 
308
    (geis_delete): invalidated all outstanding subscriptions
 
309
  * libgeis/geis_backend.c: fixed debug message to avoid a bad dereference
 
310
  * libgeis/geis_filter.c: only unref ther geis object on destruction
 
311
  * libgeis/geis_filter_term.c: free the bag store on deletion
 
312
  * libgeis/geis_subscription.h (geis_subscription_bag_invalidate): new
 
313
    (geis_subscription_invalidate): new
 
314
  * libgeis/geis_subscription.c: imlemented new functions
 
315
    (_subscription_destroy): handled destruction in invalided state
 
316
  * libgeis/geis_v1.c (geis_finish): deleted window filter
 
317
 
 
318
2011-02-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
319
 
 
320
  Fixed memory leaks in GEIS v2 group and touch sets.
 
321
 
 
322
  * libgeis/geis_frame.c (geis_frameset_delete): fixed loop condition
 
323
    (geis_frame_delete): freed touches
 
324
  * libgeis/geis_group.c (geis_groupset_delete): fixed loop condition
 
325
  * libgeis/geis_touch.c (geis_touchset_delete): fixed loop condition
 
326
 
 
327
2011-02-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
328
 
 
329
  Fixed a memory leak in GEIS v2 gesture events.
 
330
 
 
331
  * libgeis/geis_attr.h (GeisAttrDestructor): new type
 
332
    (geis_attr_set_destructor): new function
 
333
  * libgeis/geis_attr.c (geis_attr_set_destructor): implemented it
 
334
    (attr_value): named union for ISO C compatibility
 
335
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture): added
 
336
    destructors to groupset and touchset attrs
 
337
 
 
338
2011-02-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
339
 
 
340
  Released version 2.0.1.
 
341
 
 
342
  * configure.ac (AC_INIT): bumped package version to 2.0.1
 
343
 
 
344
2011-02-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
345
 
 
346
  Used standardized LGPL-v3 license text.
 
347
 
 
348
  * COPYING: refreshed with standardized text.
 
349
 
 
350
2011-02-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
351
 
 
352
  Restored missing GEIS v1 symbols and fixed a segfault in libgrip.
 
353
 
 
354
  * libgeis/geis_v1.c (struct _GeisInstance): added window_filter field
 
355
    (geis_init): initialized window_filter field
 
356
    (_subscribe_device): used window_filter field from instance
 
357
    (geis_configuration_set_value): added missing GEIS v1 function
 
358
    (geis_unsubscribe): added missing GEIS v1 function
 
359
 
 
360
2011-02-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
361
 
 
362
  Release version 2.0.0
 
363
 
 
364
  * configure.ac (AC_INIT): bumped package version to 2.0.0
 
365
  * libgeis/Makefile.am (libgeis_la_LDFLAGS): bumped version-info
 
366
    to 3:0:2 (gives .so version 1.2.0) to reflect the addition of a new interface
 
367
 
 
368
2011-02-21  Stephen M. Webb  <stephen.webb@canonical.com>
 
369
 
 
370
  Added support for setting the XCB sysflg through the GEIS v1 interface.
 
371
 
 
372
  * include/geis/geis.h (GEIS_GESTURE_TYPE_SYSTEM): new gesture type
 
373
  * libgeis/geis_subscription.h
 
374
    (geis_subscription_set_flags): new function
 
375
  * libgeis/geis_subscription.c: implemented it
 
376
  * libgeis/geis_v1.c (geis_subscribe): used it
 
377
 
 
378
2011-02-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
379
 
 
380
  Cranked up warning level on testsuite and fixed (most of) the consequent
 
381
  warnings.
 
382
 
 
383
  * testsuite/geis2/check_attr.c: fxied compile-time warnings
 
384
  * testsuite/geis2/check_class.c: same
 
385
  * testsuite/geis2/check_device.c: same
 
386
  * testsuite/geis2/check_event.c: same
 
387
  * testsuite/geis2/check_filter.c: ditto
 
388
  * testsuite/geis2/check_frame.c: same
 
389
  * testsuite/geis2/check_geis2_api.c: same
 
390
  * testsuite/geis2/check_geis_new.c: same
 
391
  * testsuite/geis2/check_general_types.c: same
 
392
  * testsuite/geis2/check_region.c: same
 
393
  * testsuite/libgeis/check_attr.c: same
 
394
  * testsuite/libgeis/check_backend_multiplexor.c: same
 
395
  * testsuite/libgeis/check_class.c: same
 
396
  * testsuite/libgeis/check_device.c: idem
 
397
  * testsuite/libgeis/check_error_reporting.c: same
 
398
  * testsuite/libgeis/check_filter.c: yep
 
399
  * testsuite/libgeis/check_geis2_internals.c: you guessed it
 
400
  * testsuite/libgeis/check_geis_private.c: uh-huh
 
401
 
 
402
2011-02-19  Stephen M. Webb  <stephen.webb@canonical.com>
 
403
 
 
404
  Fixed failed "make distcheck".
 
405
 
 
406
  * libgeis/Makefile.am: added geis_atomic.h
 
407
  * libgeis/server/Makefile.am: added geis_dbus.h
 
408
 
 
409
2011-02-19  Stephen M. Webb  <stephen.webb@canonical.com>
 
410
 
 
411
  Removed old crufty unused source code.
 
412
 
 
413
  * libgeis-dbus: removed directory
 
414
  * libgeis-xcb: removed directory
 
415
 
 
416
2011-02-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
417
 
 
418
  Added proper support for region filters in XCB.
 
419
 
 
420
  * libgeis/backend/xcb/geis_xcb_backend.c
 
421
    (XcbGestureSub): added windows and window_count fields
 
422
    (_translate_device_term_to_xcb): eliminated duplicates
 
423
    (_translate_region_term_to_xcb): new function
 
424
    (_subscribe): used new fields/function
 
425
  * libgeis/geis_v1.c (geis_init): added region filter for window
 
426
 
 
427
2011-02-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
428
 
 
429
  Added a check for the maximum number of device terms.
 
430
 
 
431
  * libgeis/backend/xcb/geis_xcb_backend.c
 
432
  (_translate_device_term_to_xcb): Added MAX_NUM_DEVICES and checked it.
 
433
 
 
434
2011-02-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
435
 
 
436
  Added proper support for continuations and system gestures.
 
437
 
 
438
  * libgeis/backend/xcb/geis_xcb_backend.c
 
439
    (_translate_class_term_to_xcb): fixed min/max logic
 
440
    (_translate_filter_to_xcb): added subscription parameter,
 
441
    called new functions,
 
442
    ORed masks from different filters on same subscription
 
443
    (_subscribe): removed special case for no class filters
 
444
  * libgeis/backend/xcb/grail_gestures.h
 
445
    (geis_xcb_backend_create_gesture_bitmask): removed and replaced with...
 
446
    (geis_xcb_backend_gesture_bitmask_filter_class): new function
 
447
    (geis_xcb_backend_gesture_bitmask_filter_touches): new function
 
448
    (geis_xcb_backend_gesture_bitmask_init): new function
 
449
  * libgeis/backend/xcb/grail_gestures.c: implemented the above new
 
450
  * functions
 
451
  * libgeis/geis_subscription.h (geis_subscription_flags): new function
 
452
  * libgeis/geis_subscription.c: implemented it
 
453
  * testsuite/geistest/geistest.c: switched from 'all' to a set of gestures
 
454
 
 
455
2011-02-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
456
 
 
457
  Added the ability to fetch a filter from a subscription and clone it.
 
458
 
 
459
  * include/geis/geis.h (geis_filter_clone): new function
 
460
    (geis_subscription_filter_by_name): new function
 
461
  * libgeis/geis_filter.h (geis_filter_bag_filter_by_name): new function
 
462
  * libgeis/geis_filter.c (geis_filter_bag_filter_by_name): implemented
 
463
    (_filter_new_empty): new function
 
464
    (geis_filter_new): used it
 
465
    (geis_filter_clone): implemented it
 
466
    (geis_filter_delete): unreffed geis
 
467
  * libgeis/geis_filter_term.h (geis_filter_term_bag_clone): new function
 
468
  * libgeis/geis_filter_term.c (geis_filter_term_bag_clone): implemented
 
469
  * libgeis/geis_subscription.c (geis_subscription_filter_by_name): impl
 
470
  * libgeis/geis_v1.c (_subscribe): used new functions
 
471
  * libgeis/libgeis.ver (geis_filter_clone): new exported symbol
 
472
    (geis_subscription_filter_by_name): new exported symbol
 
473
  * testsuite/geis2/Makefile.am: added -Wall -Wextra CFLAGS
 
474
  * testsuite/geis2/check_filter.c: new test case, silenced warnings
 
475
  * testsuite/geis2/check_subscription.c: new test case, silenced warnings
 
476
  * testsuite/libgeis/Makefile.am: added -Wall -Wextra CFLAGS
 
477
 
 
478
2011-02-17  Stephen M. Webb  <stephen.webb@canonical.com>
 
479
 
 
480
  Reference counting fixes:  added geis_atomic functions, added reference
 
481
  counting semantics to Geis and GeisFilterTerm modules.
 
482
 
 
483
  * libgeis/geis_atomic.h: new file
 
484
  * libgeis/geis.c (_geis_destroy): new function
 
485
    (geis_ref): new function
 
486
    (geis_unref): new function
 
487
    (geis_delete): used new functions
 
488
  * libgeis/geis_class.c (geis_gesture_class_ref): used new atomics
 
489
    (geis_gesture_class_unref): same
 
490
  * libgeis/geis_device.c (geis_device_ref): used new atomics
 
491
    (geis_device_unref): same
 
492
  * libgeis/geis_filter.c (geis_filter_ref): used new atomics
 
493
    (geis_filter_unref): same
 
494
    (geis_filter_bag_insert): moved ref call to after all possible errors
 
495
  * libgeis/geis_filter.h (geis_filter_ref): changed return type
 
496
  * libgeis/geis_filter_term.c (struct _GeisFilterTerm): added refcount
 
497
    (geis_filter_term_ref): new function
 
498
    (geis_filter_term_unref): new function
 
499
    (geis_filter_term_new): called geis_filter_term_ref
 
500
    (geis_filter_term_delete): made static and renamed _filter_term_destroy
 
501
  * libgeis/geis_filter_term.h: prototyped new functions
 
502
  * libgeis/geis_private.h: prototyped new functions
 
503
  * libgeis/geis_region.c: used new atomics
 
504
  * libgeis/geis_subscription.c (_subscription_ref): new static function
 
505
    (_subscription_unref): new static function
 
506
    (geis_subscription_bag_empty): new function
 
507
    (geis_subscription_bag_new): used new function
 
508
    (geis_subscription_bag_delete): used new function
 
509
    (geis_subscription_bag_remov): used new function
 
510
  * libgeis/geis_subscription.h: prototyped new functions
 
511
 
 
512
 2011-02-11  Stephen M. Webb  <stephen.webb@canonical.com>
 
513
 
 
514
  Implemented class and device filters properly.
 
515
 
 
516
  * libgeis/backend/xcb/geis_xcb_backend.c (struct _XcbGestureSub):
 
517
    added new fields
 
518
    (_translate_class_filter_to_xcb): removed function
 
519
    (_translate_device_term_to_xcb): new function
 
520
    (_translate_class_term_to_xcb): new function
 
521
    (_translate_filter_to_xcb): new function
 
522
    (_subscribe): replaced old functions with new, restructired filter loop
 
523
  * libgeis/backend/xcb/grail_gestures.c: silenced compiler warnings
 
524
  * libgeis/geis_filter.c: replace by_facility functions
 
525
  * libgeis/geis_filter.h: same
 
526
  * libgeis/geis_filter_term.c: same
 
527
  * libgeis/geis_filter_term.h: same
 
528
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c:
 
529
    replaced filter by_facility calls.
 
530
 
 
531
 2011-02-09  Stephen M. Webb  <stephen.webb@canonical.com>
 
532
 
 
533
  Fixed a memory allocation problem during error reporting.
 
534
 
 
535
  * libgeis/geis_error.c (geis_error_stack_push): fixed realloc size
 
536
 
 
537
 2011-02-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
538
 
 
539
  Fixed a memory leak in the XCB back end.
 
540
 
 
541
  * libgeis/backend/xcb/geis_xcb_backend.c (_xcb_dispatch): freed XCB
 
542
   event
 
543
 
 
544
 2011-02-04  Stephen M. Webb  <stephen.webb@canonical.com>
 
545
 
 
546
  Reimplement GEIS v1.0 on top of GEIS v2.0, Part III (touch attrs).
 
547
 
 
548
  * include/geis/geis.h (GEIS_TOUCH_ATTRIBUTE_ID): new symbol
 
549
    (GEIS_TOUCH_ATTRIBUTE_X): new symbol
 
550
    (GEIS_TOUCH_ATTRIBUTE_Y): new symbol
 
551
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
552
    added touch mapping
 
553
  * libgeis/geis_v1.c (_map_frame_to_attrs): mapped touches into
 
554
    gesture attrs
 
555
 
 
556
 2011-02-02  Stephen M. Webb  <stephen.webb@canonical.com>
 
557
 
 
558
  Reimplement GEIS v1.0 on top of GEIS v2.0, Part II (gesture attrs).
 
559
 
 
560
  * libgeis/backend/xcb/grail_gestures.h
 
561
    (geis_xcb_backend_map_grail_attrs): new function
 
562
  * libgeis/backend/xcb/grail_gestures.c: implemented it
 
563
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
564
    called it
 
565
  * libgeis/geis_attr.c: fixed a memory leak
 
566
  * libgeis/geis_v1.c (_map_frame_to_attrs): new function
 
567
    (_v1_event_callback): called it
 
568
 
 
569
 2011-01-31  Stephen M. Webb  <stephen.webb@canonical.com>
 
570
 
 
571
  Reimplement GEIS v1.0 on top of GEIS v2.0, Part I (basic gesture events).
 
572
 
 
573
  * libgeis/geis_v1.c: new file
 
574
  * configure.ac: removed refs to libgeis-xcb and testsuite/geis1
 
575
  * libgeis/Makefile.am: removed refs to libgeis-xcb
 
576
  * libgeis/backend/xcb/geis_xcb_backend.c (_dispatch_gesture):
 
577
    added basic group, frame, and touch attrs to gesture events
 
578
  * testsuite/Makefile.am: removed refs to testsuite/geis1
 
579
 
 
580
 2011-01-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
581
 
 
582
  Implemented basic gesture subscriptions through the XCB back end.
 
583
 
 
584
  * libgeis/backend/xcb/geis_xcb_backend.c (struct _XcbGestureSub): new
 
585
    (_dispatch_gesture): new function
 
586
    (_xcb_dispatch): called it
 
587
    (_subscribe): initialized XcbGestureSub
 
588
    (_unsubscribe): destroyed XcbGestureSub
 
589
  * libgeis/backend/xcb/grail_gestures.h
 
590
    (geis_xcb_backend_primitive_class): new function
 
591
    (geis_xcb_backend_touch_count): implemented new functions
 
592
  * libgeis/geis_subscription.h (geis_subscription_pdata): new function
 
593
    (geis_subscription_set_pdata): new function
 
594
  * libgeis/geis_subscription.c: implemented new functions
 
595
 
 
596
 2011-01-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
597
 
 
598
  Added GEIS v2.0 gesture module, part V (refined frame-touch interaction)
 
599
 
 
600
  * include/geis/geis.h (GeisTouchId) new type
 
601
    (geis_touchset_touch_by_id(): new function
 
602
    (geis_frame_touchid_count(): renamed from geis_frame_touch_count
 
603
    (geis_frame_touchid): renamed from geis_frame_touch
 
604
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
605
    (_create_gesture_events): called geis_frame_add_touchid
 
606
  * libgeis/geis_frame.c (struct _GeisFrame): added touch fields
 
607
    (geis_frame_new): initialized touch fields
 
608
    (geis_frame_delete): destroyed touch fields
 
609
  * libgeis/geis_frame.h (geis_frame_add_touchid): new fucntion
 
610
  * libgeis/geis_touch.c: implemented new function
 
611
  * libgeis/geis_touch.h (geis_touch_new): changed parameter type
 
612
  * libgeis/libgeis.ver: added/renamed symbols
 
613
  * testsuite/geis2/check_frame.c: expanded test case to include frame-touch
 
614
 
 
615
 2011-01-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
616
 
 
617
  Added GEIS v2.0 gesture module, part IV (frame implementation)
 
618
 
 
619
  * libgeis/geis_frame.c: new file
 
620
  * libgeis/geis_frame.h: new file
 
621
  * libgeis/Makefile.am: added new files
 
622
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
623
    (_create_gesture_events): added frame to injected event
 
624
  * libgeis/geis_group.c (struct _GeisGroup): added frameset field
 
625
    (geis_groupset_delete): cleaned out container
 
626
    (geis_group_new): initialized frameset member
 
627
    (geis_group_delete): destroyed frameset member
 
628
    (geis_group_insert_frame): added function implementation
 
629
    (geis_group_frame_count): added function implementation
 
630
    (geis_group_frame): added function implementation
 
631
    (geis_group_reject): added function stub
 
632
  * libgeis/geis_group.h (geis_group_insert_frame): new function
 
633
  * libgeis/geis_touch.c (geis_touchset_delete): cleaned out container
 
634
    (geis_touch_new): initialized attr_bag member
 
635
    (geis_touch_delete): destroyed attr_bag member
 
636
  * testsuite/geis2/check_frame.c: added new checks for frames
 
637
 
 
638
 2011-01-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
639
 
 
640
  Added missing callback registration function.
 
641
 
 
642
  * libgeis/geis.c (geis_register_device_callback): implemented function
 
643
 
 
644
 2011-01-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
645
 
 
646
  Added GEIS v2.0 gesture module, part III (touch/touchset implementation)
 
647
 
 
648
  * libgeis/geis_touch.c: new file
 
649
  * libgeis/geis_touch.h: new file
 
650
  * libgeis/Makefile.am: added new files
 
651
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
652
    (_create_gesture_events): added touch set to injected event
 
653
  * testsuite/geis2/check_frame.c: added test case
 
654
 
 
655
 2011-01-26  Stephen M. Webb  <stephen.webb@canonical.com>
 
656
 
 
657
  Added GEIS v2.0 gesture module, part II (group/groupset implementation)
 
658
 
 
659
  * libgeis/geis_group.c: new file
 
660
  * libgeis/geis_group.h: new file
 
661
  * libgeis/Makefile.am: added new files
 
662
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
663
    (_create_gesture_events): new function
 
664
    (geis_backend_new_test_fixture): called it
 
665
  * testsuite/geis2/check_class.c(receive_events): allowed for multiple events
 
666
  * testsuite/geis2/check_device.c(receive_events): allowed for multiple events
 
667
  * testsuite/geis2/check_frame.c (receive_events): new test case
 
668
  * testsuite/geis2/check_subscription.c (receive_events): fixed leak
 
669
 
 
670
 2011-01-25  Stephen M. Webb  <stephen.webb@canonical.com>
 
671
 
 
672
  Added GEIS v2.0 gesture module, part I (public API).
 
673
 
 
674
  * testsuite/geis2/check_frame.c: new test suite
 
675
  * include/geis/geis.h (GeisGroup): new type
 
676
    (GeisGroupSet): new type
 
677
    (GeisTouch): new type
 
678
    (GeisTouchSet): new type
 
679
    (GeisFrame): new type
 
680
    (GEIS_EVENT_ATTRIBUTE_GROUPSET): new symbol
 
681
    (GEIS_EVENT_ATTRIBUTE_TOUCHSET): new symbol
 
682
    (geis_groupset_group_count): new function
 
683
    (geis_groupset_group): new function
 
684
    (geis_group_id): new function
 
685
    (geis_group_frame_count): new function
 
686
    (geis_group_frame): new function
 
687
    (geis_group_reject): new function
 
688
    (geis_touchset_touch_count): new function
 
689
    (geis_touchset_touch): new function
 
690
    (geis_touch_id): new function
 
691
    (geis_touch_attr_count): new function
 
692
    (geis_touch_attr): new function
 
693
    (geis_touch_attr_by_name): new function
 
694
    (geis_frame_id): new function
 
695
    (geis_frame_is_class): new function
 
696
    (geis_frame_attr_count): new function
 
697
    (geis_frame_attr): new function
 
698
    (geis_frame_attr_by_name): new function
 
699
    (geis_frame_matrix): new function
 
700
    (geis_frame_touch_count): new function
 
701
    (geis_frame_touch): new function
 
702
    (geis_gesture_reject): new function
 
703
  * libgeis/libgeis.ver: added new symbols
 
704
  * testsuite/geis2/Makefile.am: added new test suite file
 
705
  * testsuite/geis2/check_geis2_api.c: referenced new test suite
 
706
 
 
707
 2011-01-10  Stephen M. Webb  <stephen.webb@canonical.com>
 
708
 
 
709
  Added gesture class events to XCB back end.
 
710
 
 
711
  * libgeis/backend/xcb/grail_gestures.c: new file
 
712
  * libgeis/backend/xcb/grail_gestures.h: new file
 
713
  * libgeis/backend/xcb/Makefile.am: added new files
 
714
  * libgeis/backend/xcb/geis_xcb_backend.c (_report_xcb_devices): new
 
715
    (_report_grail_glasses): new 
 
716
    (geis_xcb_backend_new: called new functions
 
717
 
 
718
2011-01-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
719
 
 
720
  Added XCB back end convenience library.
 
721
 
 
722
  * libgeis/backend/xcb/geis_xcb_backend.c: new file
 
723
  * libgeis/backend/xcb/geis_xcb_backend.h: new file
 
724
  * libgeis/backend/xcb/Makefile.am: added rules for new library
 
725
  * include/geis/geis.h (GEIS_INIT_XCB): new init arg symbol
 
726
  * libgeis/geis.c: used it
 
727
  * libgeis/Makefile.am: added XCB protocol library
 
728
  * libgeis-xcb/Makefile.am: removed XCB protocol library
 
729
  * testsuite/libgeis/Makefile.am: added XCB runtime libraries
 
730
 
 
731
2011-01-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
732
 
 
733
  Refactored XCB protocol library into a separate convenience lib.
 
734
 
 
735
  * libs/Makefile.am: new directory
 
736
  * libs/xcb/Makefile.am: new subproject
 
737
  * libs/xcb/c-client.xsl: renamed from libgeis-xcb/c-client.xsl
 
738
  * libs/xcb/c_client.py: renamed from libgeis-xcb/c_client.py
 
739
  * libs/xcb/xcb_gesture.xml.in: was libgeis-xcb/xcb_gesture.xml.in
 
740
  * Makefile.am: added new subproject
 
741
  * configure.ac: added new subproject
 
742
  * libgeis-xcb/Makefile.am: moved XCB protocol to libs/xcb subproject
 
743
 
 
744
2011-01-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
745
 
 
746
  Added XCB back end subproject to libgeis.
 
747
 
 
748
  * libgeis/backend/xcb: new subproject
 
749
  * libgeis/backend/xcb/Makefile.am: new file.
 
750
  * Makefile.am: updated copyright
 
751
  * configure.ac: added new subproject
 
752
  * libgeis/backend/Makefile.am: added new subproject
 
753
 
 
754
2011-01-06  Stephen M. Webb  <stephen.webb@canonical.com>
 
755
 
 
756
  Added Geis v2.0 gesture class implementation (part 2, oif internals)
 
757
 
 
758
  * testsuite/libgeis/check_class.c: new test suite
 
759
  * include/geis/geis.h: fixed GEIS_FILTER_CLASS
 
760
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
761
    (_create_test_classes): new function
 
762
  * libgeis/backend/test_fixture/geis_backend_test_fixture.h
 
763
    (geis_backend_new_test_fixture): added track_classes parameter
 
764
  * libgeis/geis.c (struct _Geis): added new fields
 
765
    (_class_event_handler): implemented event handling
 
766
    (geis_new_empty): initialized new fields
 
767
    (_set_valist): handled GEIS_INIT_TRACK_GESTURE_CLASSES
 
768
    (geis_get_class_attr_type): new function
 
769
  * libgeis/geis_class.h (GeisGestureClassBag): new data structure
 
770
    (geis_gesture_class_bag_new): new function
 
771
    (geis_gesture_class_bag_delete): new function
 
772
    (geis_gesture_class_bag_count): new function
 
773
    (geis_gesture_class_bag_gesture_class): new function
 
774
    (geis_gesture_class_bag_insert): new function
 
775
    (geis_gesture_class_bag_remove): new function
 
776
  * libgeis/geis_class.c: implemented above new functions
 
777
  * libgeis/geis_filter.c (_facility_is_valid): fixed facility name
 
778
  * libgeis/geis_private.h (geis_get_class_attr_type): new function
 
779
  * testsuite/geis2/check_filter.c: fixed facility name
 
780
  * testsuite/geis2/check_subscription.c: added check for class subscription
 
781
  * testsuite/libgeis/Makefile.am: added new test suite file
 
782
  * testsuite/libgeis/check_geis2_internals.c: called new test suite
 
783
 
 
784
2011-01-06  Stephen M. Webb  <stephen.webb@canonical.com>
 
785
 
 
786
  Added Geis v2.0 gesture class implementation (part 1, basic API)
 
787
 
 
788
  * libgeis/geis_class.c: new file
 
789
  * libgeis/geis_class.h: new file
 
790
  * libgeis/Makefile.am: added new source files
 
791
  * libgeis/geis.c (struct _Geis): added new class callback fields
 
792
    (_class_event_handler): new function
 
793
    (_input_event_handler): added case for gesture class events
 
794
    (geis_register_class_callback): implemented function
 
795
  * include/geis/geis.h (geis_gesture_class_ref): adjusted return type
 
796
    (geis_gesture_class_unref): same
 
797
 
 
798
2011-01-06  Stephen M. Webb  <stephen.webb@canonical.com>
 
799
 
 
800
  Added GEIS v2.0 gesture class API
 
801
 
 
802
  * testsuite/geis2/check_class.c: new test suite
 
803
  * include/geis/geis.h (GEIS_INIT_TRACK_GESTURE_CLASSES): new init ath
 
804
    (GEIS_EVENT_CLASS_AVAILABLE): new event type
 
805
    (GEIS_EVENT_CLASS_CHANGED): new event type
 
806
    (GEIS_EVENT_CLASS_UNAVAILABLE): new event type
 
807
    (GeisGestureClass): new opaque type
 
808
    (GEIS_CLASS_ATTRIBUTE_NAME): new attribute name
 
809
    (GEIS_CLASS_ATTRIBUTE_ID): new attribute name
 
810
    (GEIS_EVENT_ATTRIBUTE_CLASS): new attribute name
 
811
    (geis_register_class_callback): new function
 
812
    (geis_gesture_class_ref): new function
 
813
    (geis_gesture_class_unref): new function
 
814
    (geis_gesture_class_name): new function
 
815
    (geis_gesture_class_id): new function
 
816
    (geis_gesture_class_attr_count): new function
 
817
    (geis_gesture_class_attr): new function
 
818
  * libgeis/libgeis.ver: added new exported symbols
 
819
  * testsuite/geis2/Makefile.am: build new test suite
 
820
  * testsuite/geis2/check_event.c: changed event type names
 
821
  * testsuite/geis2/check_geis2_api.c: used new test suite
 
822
  * testsuite/geis2/check_geis_new.c: changed init constant names
 
823
 
 
824
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
825
 
 
826
  Minor tweaks.
 
827
 
 
828
  * include/geis/geis.h: fixed typos in comments
 
829
    (GEIS_DEVICE_ATTRIBUTE_NAME): new constant
 
830
  * libgeis/geis_device.c: used new constant instead of hard-coded string
 
831
  * testsuite/geis2/check_subscription.c: same
 
832
 
 
833
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
834
 
 
835
  Added GEIS v2.0 filter implementation (part 4, device subscription)
 
836
 
 
837
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
838
    (_subscription): add debug output to the test fixture
 
839
  * libgeis/geis_device.c: made name an attr for filtering on
 
840
  * libgeis/geis_filter.h
 
841
    (geis_filter_term_by_facility_count): new function
 
842
    (geis_filter_term_by_facility): new function
 
843
  * libgeis/geis_filter.c: implemented the above new functions
 
844
  * libgeis/geis_subscription.h
 
845
    (geis_subscription_filter_count): new function
 
846
    (geis_subscription_filter): new function
 
847
  * libgeis/geis_subscription.c: implemented the above new functions
 
848
  * testsuite/geis2/check_subscription.c (device_filter): new test case
 
849
 
 
850
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
851
 
 
852
  Added group test for back end device creation.
 
853
 
 
854
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c
 
855
    (_create_test_devices): new function
 
856
    (geis_backend_new_test_fixture): used it
 
857
  * libgeis/backend/test_fixture/geis_backend_test_fixture.h
 
858
    (geis_backend_new_test_fixture): added track_devices parameter
 
859
  * libgeis/geis.c (_set_valist): refactored to propagate init args
 
860
  * testsuite/geis2/check_device.c: new test case
 
861
 
 
862
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
863
 
 
864
  Marked missing geis_event_* symbols as exported.
 
865
 
 
866
  * libgeis/libgeis.ver (geis_event_attr): exported
 
867
    (geis_event_attr_by_name): exported
 
868
    (geis_event_attr_count): exported
 
869
    (geis_event_delete): exported
 
870
    (geis_event_type): exported
 
871
 
 
872
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
873
 
 
874
  Moved back end test fixture into a subproject.
 
875
 
 
876
  * libgeis/backend/test_fixture: new subproject
 
877
  * libgeis/backend/test_fixture/Makefile.am: new file
 
878
  * libgeis/backend/test_fixture/geis_backend_test_fixture.c: renamed
 
879
    from libgeis/geis_backend_test_fixture.c
 
880
  * libgeis/backend/test_fixture/geis_backend_test_fixture.h: renamed
 
881
    from  libgeis/geis_backend_test_fixture.h 
 
882
  * configure.ac (AC_OUTPUT): added libgeis/backend/test_fixture/Makefile
 
883
  * libgeis/Makefile.am: linked in new subproject
 
884
  * libgeis/backend/Makefile.am: added new subproject
 
885
  * libgeis/geis.c: changed header qualification
 
886
 
 
887
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
888
 
 
889
  Added device cacheing.
 
890
 
 
891
  * libgeis/geis_private.h (geis_get_device_attr_type): new function
 
892
  * libgeis/geis.c (struct _Geis): added devices field
 
893
    (_device_event_handler): new function
 
894
    (_input_event_handler): dispatched BE device events
 
895
    (geis_new_empty): initialized devices field
 
896
    (geis_new_delete): destroyed devices field
 
897
  * libgeis/geis_filter.c (_get_attr_type_for_facility): implemented for
 
898
    the device facility
 
899
 
 
900
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
901
 
 
902
  Fixed failure-mode return value from geis_filter_term_bag_new
 
903
 
 
904
  * libgeis/geis_filter_term.c (geis_filter_term_bag_new): returned
 
905
    NULL on failure
 
906
 
 
907
2011-01-05  Stephen M. Webb  <stephen.webb@canonical.com>
 
908
 
 
909
  Added missing geis_attr_value_to_pointer.
 
910
 
 
911
  * libgeis/geis_attr.c (geis_attr_value_to_pointer): new function
 
912
    (geis_attr_value_to_string): added case to handle GEIS_ATTR_TYPE_POINTER
 
913
 
 
914
2011-01-03  Stephen M. Webb  <stephen.webb@canonical.com>
 
915
 
 
916
  Added GEIS v2.0 filter implementation (part 3, filter terms)
 
917
 
 
918
  * libgeis/geis_filter_term.c: new file
 
919
  * libgeis/geis_filter_term.h: new file
 
920
  * include/geis/geis.h (GeisFilterOperation): fixed typo
 
921
  * libgeis/Makefile.am: added new files
 
922
  * libgeis/geis_filter.c (geis_filter_add_term): implemented function
 
923
    (_facility_is_valid): new function
 
924
    (_operation_is_valid): new function
 
925
    (_get_attr_for_facility): new function
 
926
 
 
927
2011-01-01  Stephen M. Webb  <stephen.webb@canonical.com>
 
928
 
 
929
  Added GEIS v2.0 filter implementation (part 2)
 
930
 
 
931
  * libgeis/geis_filter.c: fixed refcounting on bag insertion
 
932
  * libgeis/geis_subscription.c
 
933
    (geis_subscription_add_filter): implemented stubbed-out function
 
934
    (geis_subscription_remove_filter): implemented stubbed-out function
 
935
  * testsuite/geis2/check_subscription.c: new test case
 
936
 
 
937
2010-12-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
938
 
 
939
  Added GEIS v2.0 filter implementation (part 1)
 
940
 
 
941
  * testsuite/libgeis/check_filter.c: new test suite
 
942
  * libgeis/geis_filter.h (GeisFilterBag): new data structure
 
943
    (geis_filter_bag_new): new function
 
944
    (geis_filter_bag_delete): new function
 
945
    (geis_filter_bag_count): new function
 
946
    (geis_filter_bag_filter): new function
 
947
    (geis_filter_bag_insert): new function
 
948
    (geis_filter_bag_remove): new function
 
949
    (geis_filter_ref): new function
 
950
    (geis_filter_unref): new function
 
951
  * libgeis/geis_filter.c: implemented new functions
 
952
  * testsuite/libgeis/Makefile.am: added new test suite
 
953
  * testsuite/libgeis/check_geis2_internals.c: added new test suite
 
954
 
 
955
2010-12-29  Stephen M. Webb  <stephen.webb@canonical.com>
 
956
 
 
957
  Added GEIS v2.0 filter API
 
958
 
 
959
  * libgeis/geis_filter.c: new file
 
960
  * libgeis/geis_filter.h: new file
 
961
  * testsuite/geis2/check_filter.c: new test suite
 
962
  * include/geis/geis.h (GeisFilter): new type
 
963
    (GeisFilterFacility): new enumeration
 
964
    (GeisFilterOperation): new enumeration
 
965
    (gei_filter_new): new function
 
966
    (geis_filter_delete): new function
 
967
    (geis_filter_name): new function
 
968
    (geis_filter_add_term): new function
 
969
  * libgeis/Makefile.am: added new files
 
970
  * libgeis/libgeis.ver: added new symbols
 
971
  * testsuite/geis2/Makefile.am: added new test suite
 
972
  * testsuite/geis2/check_geis2_api.c: added new test suite
 
973
 
 
974
2010-12-29  Stephen M. Webb  <stephen.webb@canonical.com>
 
975
 
 
976
  Added backend subdirectory to libgeis.
 
977
 
 
978
  * libgeis/backend/Makefile.am: new file
 
979
  * configure.ac (AC_OUTPUT): added libgeis/backend/Makefile
 
980
  * libgeis/Makefile.am (SUBDORS): added backend
 
981
 
 
982
2010-12-29  Stephen M. Webb  <stephen.webb@canonical.com>
 
983
 
 
984
  Moved geis/geisimpl.h into GEIS v2.0 sources.
 
985
 
 
986
  * libgeis/geis/geisimple.h: renamed from libgeis-xcb/geis
 
987
  * libgeis-xcb/Makefile.am: changed header search path
 
988
  * libgeis/Makefile.am: changed header search path
 
989
  * testsuite/geis1/Makefile.am: changed header search path
 
990
  * testsuite/geis2/Makefile.am: changed header search path
 
991
  * testsuite/geistest/Makefile.am: changed header search path
 
992
  * testsuite/libgeis/Makefile.am: changed header search path
 
993
 
 
994
2010-12-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
995
 
 
996
  Added GEIS v2.0 input device implementation.
 
997
 
 
998
  * libgeis/geis_device.h (GeisDeviceBag): new type
 
999
    (geis_device_bag_new): new function
 
1000
    (geis_device_bag_delete): new function
 
1001
    (geis_device_bag_count): new function
 
1002
    (geis_device_bag_device): new function
 
1003
    (geis_device_bag_insert): new function
 
1004
    (geis_device_bag_remove): new function
 
1005
  * libgeis/geis_device.c: implemented new functions
 
1006
  * testsuite/libgeis/check_device.c: new test suite
 
1007
  * testsuite/libgeis/Makefile.am: added new test suite
 
1008
  * testsuite/libgeis/check_geis2_internals.c: added new test suite
 
1009
 
 
1010
2010-12-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1011
 
 
1012
  Added GEIS v2.0 input device API
 
1013
 
 
1014
  * libgeis/geis_device.c: new file
 
1015
  * libgeis/geis_device.h: new file
 
1016
  * testsuite/geis2/check_device.c: new test suite
 
1017
  * include/geis/geis.h (GeisDevice): new type
 
1018
    (geis_register_device_callback): new function
 
1019
    (geis_device_ref): new function
 
1020
    (geis_device_unref): new function
 
1021
    (geis_device_name): new function
 
1022
    (geis_device_id): new function
 
1023
    (geis_device_attr_count): new function
 
1024
    (geis_device_attr): new function
 
1025
  * libgeis/Makefile.am: added new files
 
1026
  * libgeis/libgeis.ver: added new API symbols
 
1027
  * testsuite/geis2/Makefile.am: added new test suite
 
1028
  * testsuite/geis2/check_geis2_api.c: added new test suite
 
1029
 
 
1030
2010-12-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1031
 
 
1032
  Updates to match new GEIS v2.0 spec release of 2010.12.20.
 
1033
  - added a pointer type to the GEIS attr module
 
1034
  - added additional required GEIS initialization arguments
 
1035
  - event type enumarant name changes
 
1036
 
 
1037
  * testsuite/geis2/check_attr.c: new test suite
 
1038
  * testsuite/geis2/check_event.c: new test suite
 
1039
  * include/geis/geis.h (GEIS_INIT_TRACK_DEVICES): new init arg
 
1040
    (GEIS_INIT_TRACK_GESTURE_TYPES): new init arg
 
1041
    (GeisAttrType): added GEIS_ATTR_TYPE_POINTER enumerant
 
1042
    (geis_attr_value_to_pointer): new function
 
1043
    (GeisEventType): added new enumerants
 
1044
  * libgeis-xcb/geis/geisimpl.h: added GeisPointer type
 
1045
  * libgeis/Makefile.am: added libgeis-xcb to header search path
 
1046
  * libgeis/libgeis.ver (geis_attr_value_to_pointer): new symbol
 
1047
  * testsuite/geis2/Makefile.am: added new test suites
 
1048
  * testsuite/geis2/check_geis2_api.c: added new test suites
 
1049
  * testsuite/geis2/check_geis_new.c: added new test case for init args
 
1050
  * testsuite/geis2/check_general_types.c: added new test case fo GeisPointer
 
1051
  * testsuite/geistest/Makefile.am: added libgeis-xcb to header search path
 
1052
  * testsuite/libgeis/Makefile.am: same
 
1053
  * testsuite/libgeis/check_event_queue.c: changed name of event types
 
1054
  * testsuite/libgeis/check_geis_private.c: changed name of event types
 
1055
 
 
1056
2010-12-15  Stephen M. Webb  <stephen.webb@canonical.com>
 
1057
 
 
1058
  Added GEIS v2.0 region module.
 
1059
 
 
1060
  * libgeis/geis_region.c: new file
 
1061
  * libgeis/geis_region.h: new file
 
1062
  * testsuite/geis2/check_region.c: new test suite
 
1063
  * testsuite/libgeis/check_region.c: new test suite
 
1064
  * include/geis/geis.h (GeisRegion): new typedef
 
1065
    (GEIS_REGION_X11_ROOT): new region initialization constant
 
1066
    (GEIS_REGION_X11_WINDOWID): new region initialization constant
 
1067
    (geis_region_new): new function
 
1068
    (geis_region_delete): new function
 
1069
    (geis_region_name): new function
 
1070
  * libgeis/Makefile.am: added new files
 
1071
  * libgeis/libgeis.ver: added new symbols
 
1072
  * testsuite/geis2/Makefile.am: added new test suite files
 
1073
  * testsuite/geis2/check_geis2_api.c: added new test suite 
 
1074
  * testsuite/libgeis/Makefile.am: added new test suite files
 
1075
  * testsuite/libgeis/check_geis2_internals.c: added new test suite
 
1076
 
 
1077
2010-12-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
1078
 
 
1079
  Fixed some container expansion errors.
 
1080
 
 
1081
  * libgeis/geis_attr.c (geis_attr_bag_insert): fixed realloc size
 
1082
  * libgeis/geis_subscription.c (geis_subscription_bag_insert):
 
1083
    fixed realloc size, cleared newly realloc'd memory
 
1084
  * testsuite/libgeis/check_attr.c (expansion): new check
 
1085
  * testsuite/libgeis/check_subscription.c (expansion): new check
 
1086
 
 
1087
2010-12-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
1088
 
 
1089
  Added GEIS v2.0 subscription activation calls.
 
1090
 
 
1091
  * include/geis/geis.h (geis_subscription_activate): new function
 
1092
    (geis_subscription_deactivate): new function
 
1093
  * libgeis/geis_subscription.c: implemented above new functions
 
1094
  * libgeis/geis_backend.h (geis_backend_subscribe) new function
 
1095
    (geis_backend_unsubscribe): new function
 
1096
  * libgeis/geis_backend.c: implemented above new functions
 
1097
  * libgeis/geis_backend_protected.h (GeisBackendVtable): added new
 
1098
    subscribe and unsubscribe function pointers
 
1099
  * libgeis/geis_backend_test_fixture.c (_subscribe): new vfunction
 
1100
    (_unsubscribe): new vfunction
 
1101
  * libgeis/geis_private.h (geis_activate_subscription): new function
 
1102
    (geis_deactivate_subscription): new function
 
1103
  * libgeis/geis.c: implemented above new functions
 
1104
  * libgeis/geis_subscription.h: fixed a typo in a prototype
 
1105
  * libgeis/libgeis.ver: added new GEIS v2.0 symbols
 
1106
  * testsuite/geis2/check_subscription.c: new test cases
 
1107
 
 
1108
2010-12-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
1109
 
 
1110
  Added forwarding functions so back ends can multiplex file descriptors through
 
1111
  the API.
 
1112
 
 
1113
  * libgeis/geis_private.h (geis_multiplex_fd): new function
 
1114
    (geis_demultiplex_fd): new function
 
1115
  * libgeis/geis.c: implemented above new functions
 
1116
  * testsuite/libgeis/check_geis_private.c:
 
1117
    renamed from check_backend_event_posting.c
 
1118
    (multiplex_fd): new test case
 
1119
  * testsuite/libgeis/Makefile.am: renamed above file
 
1120
  * testsuite/libgeis/check_backend_multiplexor.c: removed debug message
 
1121
    silenced build warnings
 
1122
 
 
1123
2010-12-08  Stephen M. Webb  <stephen.webb@canonical.com>
 
1124
 
 
1125
  Refactored event queue style.
 
1126
 
 
1127
  * libgeis/geis_event_queue.h (geis_event_queue_enqueue): renamed from
 
1128
    geis_event_queue_push
 
1129
    (geis_event_queue_dequeue): renamed from geis_event_queue_pop
 
1130
    changed event output parameter to return value
 
1131
  * libgeis/geis_event_queue.c: refactored for above
 
1132
  * libgeis/geis.c: refactored for above
 
1133
  * testsuite/libgeis/check_event_queue.c: refactored for above
 
1134
 
 
1135
 
 
1136
2010-12-08  Stephen M. Webb  <stephen.webb@canonical.com>
 
1137
 
 
1138
  Added an event queue.
 
1139
 
 
1140
  * libgeis/geis_event.c: new file
 
1141
  * libgeis/geis_event.h: new file
 
1142
  * libgeis/geis_event_queue.c: new file
 
1143
  * libgeis/geis_event_queue.h: new file
 
1144
  * testsuite/libgeis/check_backend_event_posting.c: new test case
 
1145
  * testsuite/libgeis/check_event_queue.c: new test case
 
1146
  * include/geis/geis.h (GeisEventType): new enum type
 
1147
    (geis_event_delete): new function
 
1148
    (geis_event_type): new function
 
1149
    (geis_event_attr_count): new function
 
1150
    (geis_event_attr): new function
 
1151
    (geis_event_attr_by_name): new function
 
1152
  * libgeis/Makefile.am: added new files
 
1153
  * libgeis/geis.c (struct _Geis): added input_event_queue,
 
1154
    output_event_queue, and input_signal_pipe members
 
1155
    (_default_output_event_callback): new function
 
1156
    (_input_event_handler): new function
 
1157
    (geis_new_empty): initialized new members
 
1158
    (geis_register_event_callback): used _default_output_event_callback
 
1159
    (geis_next_event): implemented stubbed-out function
 
1160
  * testsuite/libgeis/Makefile.am: added new test cases
 
1161
  * testsuite/libgeis/check_geis2_internals.c: added new test cases
 
1162
 
 
1163
 
 
1164
2010-12-02  Stephen M. Webb  <stephen.webb@canonical.com>
 
1165
 
 
1166
  Added GEIS v2.0 event control functions.
 
1167
 
 
1168
  * include/geis/geis.h (GeisEvent): new type
 
1169
    (GeisEventCallback): new type
 
1170
    (GEIS_DEFAULT_EVENT_CALLBACK): new constant
 
1171
    (geis_register_event_callback): new function
 
1172
    (geis_dispatch_events): new function
 
1173
    (geis_next_event): new function
 
1174
  * libgeis/geis_private.h (geis_post_event): new function
 
1175
  * libgeis/geis.c: implemented new functions
 
1176
  * libgeis/libgeis.ver: added new symbols
 
1177
 
 
1178
2010-12-02  Stephen M. Webb  <stephen.webb@canonical.com>
 
1179
 
 
1180
  Added a back end base and test fixture.
 
1181
 
 
1182
  * libgeis/geis_backend.c: new file
 
1183
  * libgeis/geis_backend.h: new file
 
1184
  * libgeis/geis_backend_protected.h: new file
 
1185
  * libgeis/geis_backend_test_fixture.c: new file
 
1186
  * libgeis/geis_backend_test_fixture.h: new file
 
1187
  * include/geis/geis.h (GEIS_INIT_SERVICE_PROVIDER): changed constant value
 
1188
    (GEIS_INIT_MOCK_ENGINE): added new constant
 
1189
  * libgeis/Makefile.am: added new files
 
1190
  * libgeis/geis.c (struct _Geis): replaced is_test_fixture with backend
 
1191
    (geis_set_valist): created new test fixture backend
 
1192
    (geis_delete): destroyed backend
 
1193
  * testsuite/geis2/check_config.c: used new name for test fixture back end
 
1194
  * testsuite/geis2/check_geis_new.c: same
 
1195
  * testsuite/geis2/check_subscription.c: idem
 
1196
  * testsuite/libgeis/check_subscription.c: ditto
 
1197
 
 
1198
2010-12-02  Stephen M. Webb  <stephen.webb@canonical.com>
 
1199
 
 
1200
  Added a back end multiplexor.
 
1201
 
 
1202
  * libgeis/geis_backend_multiplexor.c: new file
 
1203
  * libgeis/geis_backend_multiplexor.h: new file
 
1204
  * testsuite/libgeis/check_backend_multiplexor.c: new testsuite
 
1205
  * include/geis/geis.h (GeisStatus): added new status codes
 
1206
    GEIS_STATUS_CONTINUE and GEIS_STATUS_EMPTY
 
1207
    (GEIS_CONFIG_MAX_EVENTS): new configuration item
 
1208
  * libgeis/Makefile.am: added new files
 
1209
  * libgeis/geis.c (struct _Geis): added backend_multiplexor field
 
1210
    (geis_new_empty): initialized it
 
1211
    (geis_delete): destroyed it
 
1212
    (geis_get_configuration): retrieved its file descriptor and config value
 
1213
    (geis_set_configuration): set its configuration value
 
1214
  * testsuite/geis2/check_error_codes.c: checked new status codes
 
1215
  * testsuite/libgeis/Makefile.am
 
1216
  * testsuite/libgeis/check_geis2_internals.c
 
1217
 
 
1218
2010-11-29  Stephen M. Webb  <stephen.webb@canonical.com>
 
1219
 
 
1220
  Refactored geis_private.h to provide improved data encapsulation.
 
1221
 
 
1222
  * libgeis/geis_private.h (struct _Geis): moved to geis.c
 
1223
    (geis_error_stack): new function
 
1224
  * libgeis/geis.c: implemented new function
 
1225
  * libgeis/geis_error.c: used new function
 
1226
 
 
1227
2010-11-29  Stephen M. Webb  <stephen.webb@canonical.com>
 
1228
 
 
1229
  Fixed a typo in the Doxygen comments in geis.h.
 
1230
 
 
1231
  * include/geis/geis.h: fixed typo in documentation
 
1232
 
 
1233
2010-11-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
1234
 
 
1235
  Added Geis Subscription creation and accessors.
 
1236
 
 
1237
  * libgeis/geis_subscription.c: new file
 
1238
  * libgeis/geis_subscription.h: new file
 
1239
  * testsuite/geis2/check_subscription.c: new API test suite
 
1240
  * testsuite/libgeis/check_subscription.c: new internals test suite
 
1241
  * include/geis/geis.h (GeisFilter): new type
 
1242
    (GeisSubscription): new type
 
1243
    (GeisSubscriptionFlags): new type
 
1244
    (geis_subscription_new): new function
 
1245
    (geis_subscription_delete): new function
 
1246
    (geis_subscription_name): new function
 
1247
    (geis_subscription_id): new function
 
1248
    (geis_subscription_add_filter): new function
 
1249
    (geis_subscription_remove_filter): new function
 
1250
  * libgeis/Makefile.am: added new files
 
1251
  * libgeis/geis_private.h (geis_subscription_bag): new function
 
1252
    (struct _Geis): added subscription_bag field
 
1253
  * libgeis/geis.c (geis_subscription_bag): implemented it
 
1254
    (geis_new_empty): created an empty subscription bag
 
1255
  * libgeis/libgeis.ver: added new geis_subscription_* symbols
 
1256
  * testsuite/geis2/Makefile.am: added new test suite source
 
1257
  * testsuite/geis2/check_geis2_api.c: added new test suite
 
1258
  * testsuite/libgeis/Makefile.am: added new test suite source
 
1259
  * testsuite/libgeis/check_geis2_internals.c: added new test suite
 
1260
 
 
1261
 
 
1262
2010-11-26  Stephen M. Webb  <stephen.webb@canonical.com>
 
1263
 
 
1264
  Added Geis Attr functions.
 
1265
 
 
1266
  * libgeis/geis_attr.c: new file
 
1267
  * libgeis/geis_attr.h: new file
 
1268
  * testsuite/libgeis/check_attr.c: new unit test suite
 
1269
  * include/geis/geis.h (GeisAttr): new type
 
1270
    (geis_attr_name): new function
 
1271
    (geis_attr_type): new function
 
1272
    (geis_attr_value_to_boolean): new function
 
1273
    (geis_attr_value_to_float): new function
 
1274
    (geis_attr_value_to_integer): new function
 
1275
    (geis_attr_value_to_string): new function
 
1276
  * libgeis/Makefile.am: added new files
 
1277
  * libgeis/libgeis.ver: added new symbols
 
1278
  * testsuite/libgeis/Makefile.am: added new test suite
 
1279
  * testsuite/libgeis/check_error_reporting.c: renamed test suite
 
1280
  * testsuite/libgeis/check_geis2_internals.c: added new test suite
 
1281
 
 
1282
2010-11-24  Stephen M. Webb  <stephen.webb@canonical.com>
 
1283
 
 
1284
  Added Geis configuration functions.
 
1285
 
 
1286
  * include/geis/geis.h (geis_get_config): new function
 
1287
    (geis_set_config): new function
 
1288
  * libgeis/geis.c: added stubs for new functions
 
1289
  * libgeis/libgeis.ver: added symbols for new functions
 
1290
  * testsuite/geis2/check_config.c: new test suite for new functions
 
1291
  * testsuite/geis2/Makefile.am: added above new file
 
1292
 
 
1293
2010-11-24  Stephen M. Webb  <stephen.webb@canonical.com>
 
1294
 
 
1295
  Added silent rules to build.
 
1296
 
 
1297
  * configure.ac (AM_INIT_AUTOMAKE): required minimum version 1.11
 
1298
    (AM_SILENT_RULES): new macros to set silent build rules on by default
 
1299
 
 
1300
2010-11-24  Stephen M. Webb  <stephen.webb@canonical.com>
 
1301
 
 
1302
  Fixed a "make distcheck" problem.
 
1303
 
 
1304
  * testsuite/libgeis/Makefile.am (check_geis2_internals_CFLAGS): added
 
1305
    $(top_srcdir) to the header search path
 
1306
 
 
1307
2010-11-24  Stephen M. Webb  <stephen.webb@canonical.com>
 
1308
 
 
1309
  Added unit testing for GEIS v2.0 internals.
 
1310
 
 
1311
  * testsuite/libgeis: new subdirectory
 
1312
  * testsuite/libgeis/Makefile.am: new file
 
1313
  * testsuite/libgeis/check_error_reporting.c: new file
 
1314
  * testsuite/libgeis/check_geis2_internals.c: new file
 
1315
  * configure.ac (AC_OUTPUT): added new Makefile
 
1316
  * testsuite/Makefile.am (SUBDIRS): added new subdirectory
 
1317
  * testsuite/geis1/check_geis_internals.c: renamed test suite
 
1318
  * testsuite/geis2/check_geis2_api.c: renamed test suite
 
1319
 
 
1320
2010-11-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
1321
 
 
1322
  Added Error Reporting functions.
 
1323
 
 
1324
  * libgeis/geis_error.c: new file
 
1325
  * libgeis/geis_error.h: new file
 
1326
  * libgeis/geis_private.h: new file
 
1327
  * include/geis/geis.h (geis_error_count): new function
 
1328
    (geis_error_code): new function
 
1329
    (geis_error_message): new function
 
1330
  * libgeis/Makefile.am: added new files
 
1331
  * libgeis/geis.c: used new functions
 
1332
  * libgeis/libgeis.ver: added new function symbols
 
1333
 
 
1334
2010-11-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
1335
 
 
1336
  Added diagnostics to geis_new().
 
1337
 
 
1338
  * libgeis/geis.c (geis_error): reported calloc failure
 
1339
    (geis_set_valist): added debug diagnostics for init args
 
1340
 
 
1341
2010-11-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
1342
 
 
1343
  Moved diagnostic logging from GEIS v1.0 to GEIS v2.0 libraries.
 
1344
 
 
1345
  * libgeis/geis_logging.h: renamed from libgeis-xcb/geis_logging.h
 
1346
  * libgeis/geis_logging.c: renamed from libgeis-xcb/geis_logging.c
 
1347
  * libgeis-xcb/Makefile.am: removed above renamed files
 
1348
  * libgeis/Makefile.am: added above renamed files
 
1349
  * testsuite/geis1/Makefile.am: changed library path
 
1350
  * testsuite/geistest/Makefile.am: changed library path
 
1351
 
 
1352
2010-11-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
1353
 
 
1354
  Merged GEIS v1.0 into GEIS v2.0 library for backwards compatibility.
 
1355
 
 
1356
  * libgeis-xcb/libgeis-xcb.ver: removed
 
1357
  * libgeis-xcb/Makefile.am: converted to build a convenience lib
 
1358
  * libgeis/Makefile.am: added libgeis-xcb as a conveniemnce lib
 
1359
  * libgeis/libgeis.ver: Added GEIS v1.0 symbols
 
1360
  * testsuite/geis2/Makefile.am: fixed path to shared library in build tree
 
1361
 
 
1362
2010-11-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
1363
 
 
1364
  Refactored API initialization to use variadic arguments a la spec change.
 
1365
 
 
1366
  * include/geis/geis.h (geis_new): changed function prototype
 
1367
  * libgeis/geis.c (geis_new_empty): new function
 
1368
    (geis_set_valist): new function
 
1369
    (geis_new): changed parameters, used new functions
 
1370
  * testsuite/geis2/check_geis_new.c (geis_new_and_delete): changed geis_new()
 
1371
    arguments
 
1372
 
 
1373
2010-11-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
1374
 
 
1375
  Fixed visibility of new GEIS 2.0 symbols.
 
1376
 
 
1377
  * include/geis/geis.h (geis_new): fixed visibility
 
1378
    (geis_delete): same
 
1379
 
 
1380
2010-11-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
1381
 
 
1382
  Made geis2_geis_new test case pass.
 
1383
 
 
1384
  * libgeis/geis.c (geis_hints_find_by_id): new static function
 
1385
    (geis_hints_append): new static function
 
1386
    (geis_new): used them, malloc'd struct _Geis
 
1387
    (geis_delete): free'd struct _Geis
 
1388
 
 
1389
2010-11-22  Stephen M. Webb  <stephen.webb@canonical.com>
 
1390
 
 
1391
  Added test case for GEIS v2.0 geis_new() and geis_delete() functions, together
 
1392
  with a skeletal implementation of the libgeis v2.0 library.
 
1393
  
 
1394
  * libgeis: new source directory
 
1395
  * libgeis/Makefile.am: new build recipe for libgeis v2.0
 
1396
  * libgeis/geis.c: new source file
 
1397
  * libgeis/libgeis.ver: new library version map
 
1398
  * testsuite/geis2/check_geis_new.c: new test suite
 
1399
  * Makefile.am (SUBDIRS): added libgeis
 
1400
  * configure.ac (AC_OUTPUT): added libgeis/Makefile
 
1401
  * include/geis/geis.h (GeisHints): new data structure
 
1402
    (Geis): new opaque data structure
 
1403
    (geis_new): new function
 
1404
    (geis_delete): new function
 
1405
  * testsuite/geis2/Makefile.am (check_geis2_api_SOURCES): added check_geis_new
 
1406
  * testsuite/geis2/check_geis2_api.c (main): added geis_new_suite
 
1407
 
 
1408
2010-11-21  Stephen M. Webb  <stephen.webb@canonical.com>
 
1409
 
 
1410
  Added test case for geis v2.0 error codes.
 
1411
 
 
1412
  * include/geis/geis.h: added required v2.0 error codes
 
1413
  * testsuite/geis2/check_error_codes.c: new test case
 
1414
  * testsuite/geis2/Makefile.am: added new test case
 
1415
  * testsuite/geis2/check_geis2_api.c: same
 
1416
 
 
1417
2010-11-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1418
 
 
1419
  Added test case for geis v2.0 basic types.
 
1420
 
 
1421
  * testsuite/geis2/check_general_types.c: new file
 
1422
  * testsuite/geis2/Makefile.am: added above new file
 
1423
  * testsuite/geis2/check_geis2_api.c (geis2_general_types_suite_new): added new
 
1424
    unit test
 
1425
 
 
1426
2010-11-19  Stephen M. Webb  <stephen.webb@canonical.com>
 
1427
 
 
1428
  Added geis v2.0 test hardness and version macro test.
 
1429
 
 
1430
  * include/geis/geis.h (GEIS_VERSION_2_0): added macro
 
1431
  * testsuite/geis2/check_geis_api.c: new testsuite.
 
1432
  * testsuite/geis2/check_version_macro.c: added unit test for geis 2.0 version
 
1433
    macro
 
1434
  * testsuite/geis2/Makefile: new file
 
1435
  * configure.ac (AC_OUTPUT): added above enw file
 
1436
  * testsuite/Makefile: added new testsuite directory geis2
 
1437
 
 
1438
2010-11-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
1439
 
 
1440
  Made existing unit test directory specific to geis v1.0.
 
1441
 
 
1442
  * testsuite/geis1: renamed from testsuite/check
 
1443
  * configure.ac: renamed testsuite/check
 
1444
  * testsuite/Makefile.am: same
 
1445
  * testsuite/geis1/Makefile.am: same
 
1446
 
 
1447
2010-10-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1448
 
 
1449
  Added unit tests for internal geis_instance_table.
 
1450
 
 
1451
  * testsuite/check/check_instance_table.c: new file
 
1452
  * testsuite/check/Makefile.am (check_geis_internals_SOURCES): added it
 
1453
    (MOSTLYCLEANFILES): new target to clean up unit test logs
 
1454
  * testsuite/check/check_geis_internals.c (main): added unit test suite
 
1455
 
 
1456
2010-10-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1457
 
 
1458
  Added unit test infrastructure based on 'check'.
 
1459
 
 
1460
  * testsuite/check/Makefile.am: new file
 
1461
  * testsuite/check/check_geis_internals.c: new file
 
1462
  * testsuite/Makefile.am (SUBDIRS): added check target
 
1463
  * configure.ac: added new stanza for detecting check package
 
1464
    (AC_CONFIG_FILES): added testsuite/check/Makefile
 
1465
 
 
1466
2010-10-18  Stephen M. Webb  <stephen.webb@canonical.com>
 
1467
 
 
1468
  Added configury check for xcb-proto package >= 1.6 (LP: #661946).
 
1469
 
 
1470
  * configure.ac: added PKG_CHECK_MODULES for xcb-proto >= 1.6
 
1471
 
 
1472
2010-10-14  Stephen M. Webb  <stephen.webb@canonical.com>
 
1473
 
 
1474
  Release version 1.0.13.
 
1475
 
 
1476
  * configure.ac (AC_INIT): bumped package version to 1.0.13
 
1477
 
 
1478
2010-10-12  Stephen M. Webb  <stephen.webb@canonical.com>
 
1479
 
 
1480
  Removed extra newlines from diagnostic messages
 
1481
 
 
1482
  * libgeis-xcb/geis_xcb.c: removed newline from several diagnostic
 
1483
    messages.
 
1484
 
 
1485
2010-10-07  Stephen M. Webb  <stephen.webb@canonical.com>
 
1486
 
 
1487
  Fixed LP: #656503 - event dispatch can hang under some circumstances
 
1488
 
 
1489
  * libgeis-xcb/geis_xcb.c (geis_xcb_dispatch): changed loop condition
 
1490
  * libgeis-xcb/Makefile.am (libgeis_la_LDFLAGS): bumped library
 
1491
    revision
 
1492
 
 
1493
2010-09-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
1494
 
 
1495
  Version bump to 1.0.12.
 
1496
 
 
1497
  * configure.ac (AC_INIT): bumped package version to 1.0.12
 
1498
 
 
1499
2010-09-28  Stephen M. Webb  <stephen.webb@canonical.com>
 
1500
 
 
1501
  Made lib compatible with C++.
 
1502
 
 
1503
  * geis/geis.h: forced C linkage
 
1504
 
 
1505
2010-09-14  Stephen M. Webb  <stephen.webb@canonical.com>
 
1506
 
 
1507
  Version bump tp 1.0.11
 
1508
 
 
1509
  * configure.ac: bumped package version to 1.0.11
 
1510
  * libgeis-xcb/Makefile.am: bumped shlib version to reflect changes
 
1511
 
 
1512
2010-09-01  Stephen M. Webb  <stephen.webb@canonical.com>
 
1513
 
 
1514
  Fixed typos in manpage.
 
1515
 
 
1516
  * doc/geistest.1: fixed several typographical errors
 
1517
 
 
1518
2010-09-01  Stephen M. Webb  <stephen.webb@canonical.com>
 
1519
 
 
1520
  Fixed a memory leak when logging messages.
 
1521
 
 
1522
  * libgeis-xcb/geis_logging.c (_geis_message): fixed memory leak
 
1523
 
 
1524
2010-08-31  Stephen M. Webb  <stephen.webb@canonical.com>
 
1525
 
 
1526
  Fixed prefix string used in diagnostics.
 
1527
 
 
1528
  * libgeis-xcb/geis_logging.c (_geis_message): fixed which prefix string
 
1529
    gets used for which diagnostic level
 
1530
 
 
1531
2010-08-31  Stephen M. Webb  <stephen.webb@canonical.com>
 
1532
 
 
1533
  Removed input device enumeration handling until later.
 
1534
 
 
1535
  * libgeis-xcb/geis.c (geis_input_devices): removed #if 0 block
 
1536
  * libgeis-xcb/geis_instance.h (geis_instance_input_devices): removed 
 
1537
  * libgeis-xcb/geis_instance.c (geis_instance_input_devices): removed 
 
1538
  * libgeis-xcb/geis_xcb.h (geis_xcb_input_devices):  added funcs and
 
1539
    cookie parameters
 
1540
  * libgeis-xcb/geis_xcb.c (_GeisXcb): added input_funcs and input_cookie
 
1541
    (geis_xcb_new): removed #if 0 blocks
 
1542
    (geis_xcb_input_devices): removed XInput handling until later
 
1543
 
 
1544
2010-08-30  Stephen M. Webb  <stephen.webb@canonical.com>
 
1545
 
 
1546
  Removed some debug code and fixed pasto.
 
1547
 
 
1548
  * libgeis-xcb/geis_instance.c: fixed a pasto
 
1549
  * testsuite/geistest/geistest.c: removed debug code
 
1550
 
 
1551
2010-08-30  Stephen M. Webb  <stephen.webb@canonical.com>
 
1552
 
 
1553
  Fixed so multiple windows will work.
 
1554
 
 
1555
  Altered geistest to work with a single window or all windows, had to fix geis
 
1556
  implementation so this was possible.
 
1557
 
 
1558
  * libgeis-xcb/geis_instance_table.c: new file
 
1559
  * libgeis-xcb/geis_instance_table.h: new file
 
1560
  * configure.ac: added package checks for x11-xcb and xi
 
1561
  * doc/geistest.1: documented new CLI switches
 
1562
  * geis/geis.h (geis_input_devices): fixed argument type
 
1563
  * libgeis-xcb/Makefile.am (libgeis_la_SOURCES): added new files
 
1564
    (libgeis_la_CFLAGS): aded X11XCB_CFLAGS and XI2_CFLAGS
 
1565
    (libgeis_la_LIBADD): aded X11XCB_LIBS and XI2LIBS_
 
1566
  * libgeis-xcb/geis.c (s_geis_xcb): new static global
 
1567
    (geis_init): used it
 
1568
  * libgeis-xcb/geis_instance.h (_GeisInstance): added window_id
 
1569
    (geis_instance_new): renamed from geis_instance_get
 
1570
    (geis_instance_input_devices): new function
 
1571
    (geis_instance_subscribe): added GeisXcb parameter
 
1572
    (geis_instance_get_window_id): new function
 
1573
    (geis_instance_fd): removed function
 
1574
    (geis_instance_event_dispatch): removed function
 
1575
  * libgeis-xcb/geis_instance.c: implemented new functions
 
1576
  * libgeis-xcb/geis_xcb.h (geis_xcb_new): renamed from geis_xcb_get
 
1577
    (geis_xcb_create_instance): new function
 
1578
    (geis_xcb_input_devices): new function
 
1579
    (geis_xcb_subscribe): added GeisInstance parameter
 
1580
    (geis_xcb_dispatch): changed parameter type to GeisXcb
 
1581
  * libgeis-xcb/geis_xcb.c: Implemeneted new functions
 
1582
  * testsuite/geistest/geistest.c (parse_opts): added -w switch
 
1583
    (subscribe_window): new function
 
1584
    (subscribe_windows_preorder): new function
 
1585
    (subscribe_all_windows): new function
 
1586
    (main): used the new functions
 
1587
 
 
1588
2010-08-30  Stephen M. Webb  <stephen.webb@canonical.com>
 
1589
 
 
1590
  Added runtime diagnostic facility.
 
1591
 
 
1592
  * libgeis-xcb/geis_debug.h: replaced with
 
1593
  * libgeis-xcb/geis_logging.h: mew file
 
1594
  * libgeis-xcb/geis_logging.c: new file
 
1595
  * libgeis-xcb/Makefile.am: replaced above files
 
1596
  * libgeis-xcb/geis_xcb.c: replaced geis_debug calls with
 
1597
    geis_warning or geis_error as appropriate
 
1598
 
 
1599
2010-08-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
1600
 
 
1601
  Fixed checking of gesture masks for multiple input devices.
 
1602
 
 
1603
  * libgeis-xcb/geis_instance.c (geis_instance_subscribe):
 
1604
    added missing index increment
 
1605
  * libgeis-xcb/geis_xcb.c (geis_xcb_verify_event_selection):
 
1606
    added logic for iterating through multiple input devices
 
1607
 
 
1608
2010-08-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
1609
 
 
1610
  Move gesture-type-added callback until later in the subscription  sequence.
 
1611
 
 
1612
  * libgeis-xcb/geis_xcb.c (geis_xcb_subscribe): move call to
 
1613
    geis_xcb_dispatch_gesture_type until later in sequence
 
1614
 
 
1615
2010-08-27  Stephen M. Webb  <stephen.webb@canonical.com>
 
1616
 
 
1617
  Removed "Grab" gestire entirely from the list of known gestures.
 
1618
 
 
1619
  * libgeis-xcb/geis_xcb.c (s_grail_type_map): removed GRAIL_TYPE_SYSFLAG1
 
1620
    (geis_xcb_dispatch_gesture_type): removed references to GRAIL_TYPE_SYSFLAG1
 
1621
 
 
1622
2010-08-26  Stephen M. Webb  <stephen.webb@canonical.com>
 
1623
 
 
1624
  Prevented "Grab" gesture from being propagated.
 
1625
 
 
1626
  * libgeis-xcb/geis_xcb.c (geis_xcb_dispatch_gesture_type): skipped
 
1627
    notification of the availability of the "Grab" gesture type.
 
1628
 
 
1629
2010-08-26  Stephen M. Webb  <stephen.webb@canonical.com>
 
1630
 
 
1631
  Fixed an allocation size issue.
 
1632
 
 
1633
  * libgeis-xcb/geis_instance.c (geis_instance_get): fixed allocation
 
1634
    size issue
 
1635
 
 
1636
2010-08-26  Stephen M. Webb  <stephen.webb@canonical.com>
 
1637
 
 
1638
  Minor style adjustments.  Adjusted whitespace for consistency.
 
1639
 
 
1640
  * libgeis-xcb/geis_xcb.c (geis_xcb_verify_event_selection):
 
1641
    renamed function from geis_xcb_select_events
 
1642
    (geis_xcb_determine_primitive_type): renamed from
 
1643
    geis_xcb_determine_fundamental_gesture_type
 
1644
    (geis_xcb_get_gesture_type_primitive_name): renamed form
 
1645
    geis_xcb_get_gesture_type_fundamental_name
 
1646
 
 
1647
2010-08-25  Stephen M. Webb  <stephen.webb@canonical.com>
 
1648
 
 
1649
  Reverted version bump.
 
1650
 
 
1651
  * configure,.ac (AC_INIT): reverted to version 1.0.10
 
1652
 
 
1653
2010-08-23  Stephen M. Webb  <stephen.webb@canonical.com>
 
1654
 
 
1655
  Implemented gesture and input device selection.
 
1656
 
 
1657
  * geis/geis.h: new gesture definitions
 
1658
  * libgeis-xcb/geis_xcb.h (geis_xcb_subscribe):
 
1659
    added device_id parameter
 
1660
  * libgeis-xcb/geis_xcb.c (s_grail_type_map): new gesture definitions
 
1661
    (geis_xcb_map_gestures_to_mask): new function
 
1662
    (geis_xcb_select_events): new function
 
1663
    (geis_xcb_subscribe): used them
 
1664
    added device_id parameter
 
1665
    (geis_xcb_determine_gesture_type): renamed to
 
1666
    geis_xcb_determine_fundamental_gesture_type
 
1667
    (geis_xcb_get_gesture_type_fundamental_name): new function
 
1668
    (geis_xcb_dispatch_gesture_type): mapped public gesture definitions to
 
1669
    fundamental gesture types
 
1670
  * libgeis-xcb/geis_instance.c (geis_instance_subscribe):
 
1671
    handled input_list argument
 
1672
  * testsuite/geistest/geistest.c: included an example of selecting gestures
 
1673
 
 
1674
2010-08-22  Chase Douglas <chase.douglas@canonical.com>
 
1675
 
 
1676
  Bumped to version 1.0.10 for various fixes
 
1677
 
 
1678
  * geisimple.h: Define the correct number of attributes for each gesture
 
1679
  * geis.h: Sync up with latest grail ABI for gesture attributes
 
1680
  * geis_xcb.c: Sync up with latest grail ABI for gesture attributes
 
1681
  * geisspec-1.0.asc: Sync up with latest grail ABI for gesture attributes
 
1682
  * geis_instance.h: Fix header include macro typo
 
1683
  * geisimple.h: Use int32_t instead of long for integer values
 
1684
  * geis.h: Make win_type unsigned to match usage in code
 
1685
  * geis_xcb.c: Fix missing initializer value issue
 
1686
  * geis_xcb.c: Fix unused variable warning
 
1687
 
 
1688
2010-08-20  Stephen M. Webb  <stephen.webb@canonical.com>
 
1689
 
 
1690
  Removed spec build from packaged files.
 
1691
 
 
1692
  * doc/Makefile.am (doc-html): removed doc-html-asciidoc
 
1693
 
 
1694
2010-08-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
1695
 
 
1696
  Conformed to GNU strictness for consistency.
 
1697
 
 
1698
  * AUTHORS: New file.
 
1699
  * COPYING: new file renamed from COPYING.LGPL.
 
1700
  * INSTALL: New file.
 
1701
  * NEWS: New file.
 
1702
  * README: New file.
 
1703
  * Makefile.am: distributed the new files.
 
1704
  * configure.ac: Swicthed from foreign to gnu conformance level.
 
1705
  * libgeis-xcb/Makefile.am: Fixed relative paths.
 
1706
 
 
1707
2010-08-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
1708
 
 
1709
  Bumped version to 1.0.9 to replect API change.
 
1710
 
 
1711
  * configure.ac: bumped package version.
 
1712
 
 
1713
2010-08-16  Stephen M. Webb  <stephen.webb@canonical.com>
 
1714
 
 
1715
  Added standard fundamental gesture constants.
 
1716
 
 
1717
  * doc/geisspec-1.0.asc: Added section on fundamental gestures.
 
1718
  * geis/geis.h: Added fundamental gestures and attributes.
 
1719
  * libgeis-xcb/geis_xcb.c: Used them.
 
1720