1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
|
== 08.01.06 ==
Xi: Adding ChangeDeviceCursor request
Files:
dix/window.c
dix/events.c
include/window.h
include/windowstr.h
Xi/extinit.c
Xi/chdevcur.c
Xi/chdevcur.h
Xi/Makefile.am
== 20.12.06 ==
xfree86: Changing "IsMPDevice" to "SharedPointer" option. Devices will default
to MP devices.
Xi: Adding QueryDevicePointer request/reply
Adding WarpDevicePointer request/reply
Files:
hw/xfree86/common/xf86Xinput.c
hw/xfree86/common/xf86Cursor.c
hw/xfree86/common/xf86Xinput.h
Xi/extinit.c
Xi/querydp.c
Xi/querydp.h
Xi/Makefile.am
Xi/warpdevp.c
Xi/warpdevp.h
dix/cursor.c
dix/events.c
dix/dix.h
Note: This commit requires libXi additions to use the new functions.
____________________________________________________________
xfree86: fix xf86ActivateDevice(): only set to MP device if not a keyboard
Files:
hw/xfree86/common/xf86Xinput.c
include/extinit.h
Xi/extinit.c
____________________________________________________________
removing MPX extension files
Files:
mpx/
include/mpxevents.h
include/mpxextinit.h
____________________________________________________________
xfree86: fix xf86ProcessCommonOptions() core and shared pointer assignment
Files:
hw/xfree86/common/xf86Xinput.c
TAG: mpx-0.3.0
== 18.12.06 ==
mi: removing MPX ifdefs
global sprite renaming in mipointer and misprite
fixed: multiple remove cursor call in miSpriteInstallColormap
fixed: wrong core pointer usage in miSpriteStoreColors
dix: bugfix in CheckCursorConfinement
removing MPX ifdefs
removing MPX event generation (using Xi solely now)
bugfix GrabDevice: uninitialized field in grab struct caused segfault
xfree86: removing MPX fdefs
Xi: removing MPX protocol events
Files:
include/inputstr.h
mi/midispcur.c
mi/mieq.c
mi/mipointer.c
mi/misprite.c
dix/events.c
dix/cursor.c
dix/devices.c
hw/xfree86/common/xf86Events.c
hw/xfree86/common/xf86Input.h
Xi/exevents.c
____________________________________________________________
Cleaning up #ifdef MPX from remaining files, removing it from configure.ac.
Removing building mpx extension from Makefile.am
Files:
Makefile.am
configure.ac
hw/xfree86/ramdac/xf86HWCurs.c
include/dix-config.h.in
include/dix.h
include/globals.h
include/xorg-server.h.in
mi/mieq.c
mi/miinitext.c
mi/mipointer.c
os/utils.c
== 12.12.06 ==
dix: Moving SpriteRec into DeviceIntRec
removing global sprite structure
beginning to remove MPX ifdefs
xnest: Fix to make xnest compile again
Files:
dix/getevents.c
dix/events.c
dix/devices.c
hw/xfree86/common/xf86Xinput.c
include/cursor.h
include/dix.h
include/dixevents.h
include/input.h
include/inputstr.h
XTrap/xtrapdi.c
Xext/xtest.c
hw/xnest/Events.c
record/record.c
== 05.12.06 ==
Xi: adding MPX checks to ProcessOtherEvents
mpx: adding QueryPointer request and reply
adjusting names of requests to Xlib compatible naming (xMPX*** instead of
mpx***)
Files:
Xi/exevents.c
mpx/Makefile.am
mpx/extinit.c
mpx/getevbase.c
mpx/getvers.c
mpx/queryptr.c
mpx/queryptr.h
mpx/selectev.c
mpx/listdev.h
mpx/listdev.c
include/mpxextinit.h
____________________________________________________________
Merging from master
____________________________________________________________
Ironing some glitches caused by the merge
Files:
Xi/exevents.c
randr/rrpointer.c
dix/events.c
== 01.12.06 ==
mpx: SelectEvents and GetEventBase requests.
Some renaming and cleaning up in extinit.c
MPXLastEvent added
Xi: ShouldFreeInputMask() from XI is not static any more, used in mpx
dix: GetPointerEvents() allocates MPX event for MPX devices.
DeliverDeviceEvents() caters for MPX devices.
Files:
configure.ac
mpx/Makefile.am
mpx/extinit.c
mpx/getvers.c
mpx/getevbase.c
mpx/getevbase.h
mpx/listdev.c
mpx/listdev.h
mpx/mpxglobals.h
mpx/selectev.c
mpx/selectev.h
mpx/mpxevents.h
Xi/exevents.c
dix/events.c
dix/getevents.c
include/mpxevents.h
include/mpxextinit.h
== 30.11.06
mpx: Adding ListDevices request. Minor changes, using
MPXRestoreExtensionEvents() when resetting.
Files:
mpx/Makefile.am
mpx/extinit.c
mpx/listdev.c
mpx/listdev.h
mpx/mpxextinit.h
== 29.11.06 ==
mpx: Infrastructure for MPX extension, GetExtensionVersion request works.
Files:
mpx/
mpx/Makefile.am
mpx/extinit.c
mpx/getvers.c
mpx/getvers.h
mpxglobals.h
mpx/selectev.c
configure.ac
Makefile.am
os/utils.c
mi/miinitext.c
include/globals.h
== 28.11.06 ==
mi: Bugfix: FreeCursor ignores negative refcounts.
mieq: Bugfix: Motion notifies did overwrite DeviceMotionNotifies
Files:
dix/cursor.c
mi/mieq.c
____________________________________________________________
dix: missing parameter to SetCursorPosition in CheckMotion ifndef MPX
mi: missing include in misprite.c ifndef MPX
Files:
dix/events.c
mi/misprite.c
== 27.11.06 ==
mi: free allocated memory in miDCCloseScreen and in miDCInitialize in case
of errors.
Some copyright notices.
misprite.c passes DeviceIntPtr around and down to DC (previously
miCursorInfoPtr and the plain device id).
Large cleanup in misprite.c to avoid code duplication.
Files:
mi/midispcur.c
mi/misprite.c
mi/misprite.h
____________________________________________________________
mi: mipointer.c cleanup, reducing code duplication, using MPHasCursor(),
removing IsMPDev()
Files:
mi/mipointer.c
____________________________________________________________
mi: malloc checks for misprite and midispcur, code cleanup
removed IsMPDev()
Files:
mi/misprite.c
mi/mipointer.c
mi/midispcur.c
dix/events.c
== 23.11.06 ==
mi: closing memory leak, miPointer is freed in miPointerCloseScreen
bugfix: uninitialized pPointer in miPointerGetPosition ifndef MPX
adding DeviceIntPtr parameter to ScreenRec's cursor functions.
cleanup of miPointer code to use same scheme in each function
dix: MPHasCursor() function determines checking whether to invoke
cursor rendering.
animcur: adding DeviceIntPtr parameter to cursor functions but animcur relies
on the core pointer right now.
xfixes: adding DeviceIntPtr parameter to cursor functions but xfixes relies on
the core pointer right now.
rac: adding DeviceIntPtr parameter to cursor functions but RAC relies on
the core pointer right now.
ramdac: adding DeviceIntPtr parameter to cursor functions but ramdac relies on
the core pointer right now.
Files:
mi/mipointer.c
mi/mipointer.h
mi/micursor.c
mi/mi.h
mi/mieq.c
include/cursor.h
include/inputstr.h
include/scrnintstr.h
include/dix.h
dix/events.c
dix/cursor.c
Xext/xtest.c
render/animcur.c
xfixes/cursor.c
XTrap/xtrapddmi.c
xkb/ddxFakeMtn.c
hw/xfree86/common/xf86Cursor.c
hw/xfree86/common/xf86RandR.c
hw/xfree86/rac/xf86RAC.c
hw/xfree86/ramdac/xf86Cursor.c
hw/xfree86/dri/dri.c
== 22.11.06 ==
mi: added DevToSprite() conversion function
fixed miSpriteRealize to use passed pDev argument instead of looping.
dix: changed sprite dependency and added MPX functionality to parts of
events.c (XineramaChangeToCursor, XineramaCheckPhysLimits,
XineramaConstrainCursor)
Xi: fix: accessing other->buttons for keyboard segfaulted the server
Files:
mi/misprite.c
mi/mipointer.c
dix/events.c
Xi/exevents.c
____________________________________________________________
dix GetSpriteWindow() adjusted for MPX
added device dependency for MPX to DoEnterLeaveEvents,
EnterLeaveEvents, EnterNotifies, LeaveNotifies and
FixUpEventFromWindow.
Files:
Xext/security.c
Xi/exevents.c
xkb/ddxFakeMtn.c
dix/events.c
include/dix.h
____________________________________________________________
dix: DeliverEventsToWindow adjusted for MPX
mi: sprite debugging disabled
Files:
dix/events.c
Xi/exevents.c
mi/misprite.c
include/dix.h
== 21.11.06 ==
mi: added MPX to miSpriteReportDamage
added id field to miCursorInfoPtr, required to pass through to miDC
core pointer uses mpCursors array as well.
added miDCBufferRec for future use with MPX
Files:
mi/midispcur.c
mi/misprite.c
mi/mispritest.h
TAG: MPX_BEFORE_MIDC_API_BREAK
____________________________________________________________
mi: added device ID to miSpriteCursorFuncRec functions
added MPX code to midispcur.c
Files:
mi/midispcur.c
mi/misprite.c
mi/mispritest.h
BUG: Core pointer changes whenever MPX cursor changes shape.
____________________________________________________________
mi: constrain MPX cursors to screen
Files:
dix/events.c
mi/mipointer.c
include/scrnintstr.h
TAG: MPX_BEFORE_DIX_API_BREAK
____________________________________________________________
dix: moved sprite from static to be pointer of type SpritePtr
added SpriteRecs for MPX devices
changed sprite dependency and added MPX functionality to parts
of events.c (ConfineToShape, PostNewCursor, XineramaCheckMotion,
CheckMotion, XineramaChangeToCursor, ChangeToCursor, CheckPhysLimits,
PointerConfinedToScreen)
added DeviceIntRec param to GetSpritePosition(). This required some
minor changes in ddx, xtest, xkb and xfixes.
mi: changed miPointer to pointer instead of static struct.
Files:
dix/events.c
dix/exevents.c
Xext/xtest.c
ddx/ddxFakeBtn.c
ddx/ddxFakeMtn.c
ddx/ddxDevBtn.c
xkb/xkbActions.c
xfixes/cursor.c
mi/mieq.c
____________________________________________________________
dix: WindowsRestructured() calls CheckMotion() on all devices
mi: core pointer was checked twice in miSpriteReportDamage,
miSpriteInstallColormap, miSpriteStoreColors, miSpriteSaveDoomedAreas
and miSpriteRealiseCursor
using damage bug (see comment in file) to avoid artefacts
Files:
dix/events.c
mi/misprite.c
mi/mispritest.h
== 20.11.06 ==
mi: moved core pointer information from miSpriteScreenRec into a
miCursorInfoRec.
bugfix in mipointer, semicolon after preprocessor statement
Files:
mi/mispritest.h
mi/misprite.c
mi/mipointer.c
____________________________________________________________
mi: added MPX to miSprite functions.
Files:
mi/mispritest.h
mi/misprite.c
mi/mipointer.c
dix/events.c
NOTE: This version will render multiple cursors but with an artefact each time
when devices alternate.
== 17.11.06 ==
dix: moved isMPdev field to end of _DeviceIntRec structure
mi:
added miMPPointers array to mipointer.c
added DeviceIntPtr to all miPointerSpriteFuncs. Coming from miPointer
we use inputInfo.pointer as standard value. ABI BREAK!
ramdac:
forcing failed HW Cursor initialisation. MPX needs software rendering.
changes to use new miPointerSpriteFunc (this required externing
inputInfo, should probably be fixed at a later point).
RAC: changes to use new miPointerSpriteFuncs.
Files:
include/inputstr.h
mi/mipointer.c
mi/mipointer.h
mi/misprite.c
hw/xfree86/ramdac/xf86HWCurs.c
hw/xfree86/ramdac/xf86Cursor.c
hw/xfree86/rac/xf86RAC.c
____________________________________________________________
mi:
added miCursorInfoRec to contain info of the MPX cursors.
calling miUpdatePointerSprite() from event queue for MPX devices.
adding device-specific processing to miPointer*() functions.
dix: Call to SetCursorPosition in CheckMotion() temporarily disabled.
xfree86/common: call to miPointerUpdateSprite() disabled, is done from the EQ
NOTE: This build will not display cursor images.
BUG: The second mouse does to take correct x coordinates.
Files:
mi/mispritestr.h
mi/misprite.c
mi/mipointer.c
mi/mipointer.h
mi/mieq.c
dix/events.c
hw/xfree86/common/xf86Events.c
== 16.11.06 ==
dix:
merge with code cleanup from master
GetPointerEvents treats events in the same way as XINPUT devices when flag
has POINTER_MULTIPOINTER set.
xfree86/common:
added XI86_MP_DEVICE flag and parsing in xf86ProcessCommonOptions
added POINTER_MULTIPOINTER define. Is used in xf86PostMotionEvent and
xf86PostButtonEvent for the flags that are passed into GetPointerEvents()
global:
added flags to configure.ac to enable/disable MPX define
added flags to dix-config.h.in to #define MPX
Files:
dix/getevents.c
hw/xfree86/common/xf86Xinput.c
hw/xfree86/common/xf86Xinput.h
include/input.h
configure.ac
include/dix-config.h.in
____________________________________________________________
dix: added isMPdev field to _DeviceIntRec, is used in GetPointerEvents()
mieq: avoid merging events from different devices in mieqEnqueue()
xfree86/common
isMPdev field used from xf86ActivateDevice(), xf86PostMotionEvent()
and xf86PostButtonEvent()
Files:
dix/getevents.c
hw/xfree86/common/xf86Xinput.c
include/inputstr.h
mi/mieq.c
____________________________________________________________
mieq: EQ processing handles MP devices
global: MPX define added to xorg-server.h.in
xfree86/common: small fix to avoid byte overflow
Files:
mi/mieq.c
hw/xfree86/common/xf86Xinput.c
include/xserver-config.h.in
|