File: ChangeLog

package info (click to toggle)
mono 1.9.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 173,128 kB
  • ctags: 310,695
  • sloc: cs: 1,855,117; ansic: 276,741; sh: 21,695; xml: 15,360; makefile: 6,139; perl: 1,508; asm: 689; yacc: 288; sql: 81
file content (359 lines) | stat: -rw-r--r-- 12,940 bytes parent folder | download
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
2007-08-18  Everaldo Canuto  <ecanuto@novell.com>

	* X11Display.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
	and DrawReversibleLine, also apply same behavior to FillReversibleRectangle. 
	Fixes #80877 and #79418.

2007-08-17  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* X11Display.cs, X11Hwnd.cs, XplatUIX11-new.cs: Update PaintEventStart/End
	  to take a Message argument.

2007-05-25  Jackson Harper  <jackson@ximian.com>

	* X11Display.cs: Remove some of the dnd hooks.

2007-05-03  Jonathan Pobst  <monkey@jpobst.com>

	* XplatUIX11-new.cs: Implement RaiseIdle.

2007-04-20  Gert Driesen  <drieseng@users.sourceforge.net>

	* XplatUIX11-new.cs: Renamed Caption to CaptionHeight.

2007-04-20  Gert Driesen  <drieseng@users.soourceforge.net>

	* XplatUIX11-new.cs: Implemented MenuAccessKeysUnderlined by always
	return false.

2007-04-20  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* X11Display.cs: Remove warnings.

2007-04-20  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* X11Display.cs, XplatUIX11-new.cs: Add and implement
	  DefineStdCursorBitmap.

2007-04-03  Sebastien Pouliot  <sebastien@ximian.com>

	* Xlib.cs: Remove import of libgdiplus' GetFontMetrics (it doesn't 
	exists anymore).
	* XplatUIX11-new.cs: Re-implement GetFontMetrics with existing APIs.

2007-04-03  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* XplatUIX11-new.cs: Port changes from XplatUIX11.cs

2007-03-29  Everaldo Canuto  <everaldo@simios.org>

	* XplatUIX11-new.cs: Prevent system to open more than one balloon.

2007-03-29  Everaldo Canuto  <everaldo@simios.org>

	* XplatUIX11-new.cs: Implement SystrayBalloon for X11 systems. 

2007-03-20  Everaldo Canuto  <everaldo@simios.org>

	* XplatUIX11-new.cs: Remove unneeded parameter owner in SetTopmost. 

2007-03-20  Everaldo Canuto  <everaldo@simios.org>

	* XplatUIX11-new.cs, X11Hwnd.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it 
	fixes Topmost behavior in X11 environments. 

2007-03-19  Everaldo Canuto  <everaldo@simios.org>

	* XplatUIX11-new.cs, X11Hwnd.cs: SetOwner implemented using same code from
	SetTopmost but cheking for null owner to remove transient. The SetTopmost
	will be change on a decond step.

2007-03-15  Andreia Gaita  <avidigal@novell.com>

	* X11Display.cs: Fire extra MouseMove events right after
	MouseDown and MouseUp, emulating win32's <censored> behaviour
	for apps that rely on it.
	
2007-03-15  Chris Toshok  <toshok@ximian.com>

	* XplatUIX11-new.cs: implement VirtualScreen by getting
	X11Display.VirtualScreen instead of using WorkingArea.

	* X11Display.cs: implement VirtualScreen.

2007-03-15  Ivan N. Zlatev <contact@i-nz.net>

	* X11Display.cs: Replaces all uses of the custom 
	WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.

2007-03-02  Rolf Bjarne Kvinge <RKvinge@novell.com> 

	* X11Hwnd.cs: Update to use ToolWindowManager.

2007-02-08  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: port over some more changes from XplatUIX11.cs.

2007-01-31  Jackson Harper  <jackson@ximian.com>

	* X11Display.cs: Give teh keyboard to teh dnd.

2007-01-30  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: port over jackson's XplatUIX11.cs fix for DND
	ButtonRelease handling.

2007-01-30  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs: port over the XplatUIX11.cs patch for SetIcon.

2007-01-11  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: don't send duplicate WM_ACTIVATE messages to the
	initial form.

2007-01-06  Everaldo Canuto  <everaldo@simios.org>

	* X11Hwnd.cs, XplatUIX11-new.cs: 
	- border_static field added, it will used to define when a
	control theres 3D border but it must be static (thin).
	- In GetWindowRectangle use Theme.BorderSize to calculate area 
	instead of static value 1, by the way use BorderSize instead
	Border3DSize when border_static is true.
	- When WS_EX_STATICEDGE ExStyle is set define border_static as true.

2007-01-05  Chris Toshok  <toshok@ximian.com>

	* X11ThreadQueue.cs: #ifdef out some spew.

	* X11Display.cs: #ifdef out some spew, and comment out the calls
	to XGrabServer in QueryPointer().  it's not good to need to do
	this, but without it we seem to deadlock.

2007-01-03  Andreia Gaita  <avidigal@novell.com>
	
	XplatUIX11.cs (see main changelog)
	X11Display.cs: Check for valid window handle.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

	* X11Display.cs:
	* XplatUIX11-new.cs: Implemented GetOffscreenGraphics and 
	change CreateOffscreenDrawable and DestroyOffscreenDrawable to
	have the new correct signature.
	
2006-12-25  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: simplify GetMessage a lot.  remove the
	paint/configure queue code from here, it's now in X11ThreadQueue.
	reindent it by breaking out of the loop immediately if got_xevent
	== false.

	* X11ThreadQueue.cs: fix some of the the
	threadqueue.Dequeue/display.GetMessage cross-linkages..  the only
	remaining issue now (right here, anyway), is the WM_ENTERIDLE code
	remaining in the GetMessage code.  it needs to somehow be linked
	up with the OnIdle call...  maybe we need a special return value
	which we return once before calling OnIdle and waiting on the
	Monitor?

	also, fix a bug in the PaintQueue code where the Dequeue method
	was removing the Hwnd from the queue.  We only add an Hwnd once
	regardless of how many of (pending_expose, pending_nc_expose) are
	true, so we need to only remove it when both are false.  Once all
	this is working we need to determine whether or not all this paint
	queue stuff actually helps performance.

2006-12-12  Chris Toshok  <toshok@ximian.com>

	* XplatUIX11.cs: add working implementation for
	DrawReversibleFrame, DrawReversibleLine, and
	FillReversibleRectangle.

	* XplatUIX11-new.cs: add DrawReversibleFrame, DrawReversibleLine,
	and FillReversibleRectangle which call into X11Display's methods.
	
2006-12-07  Chris Toshok  <toshok@ximian.com>

	* XplatUIX11-new.cs: add the 3 double buffering calls, calling
	into the X11Display.

	* Xlib.cs: add XCreatePixmap.

	* X11Display.cs: implement the double buffering calls the same as
	XplatUIX11.cs.

2006-12-06  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: make Control.child_controls private.  switch all
	uses over to Control.Controls.

2006-12-05  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs: fix some compiler warnings, and also re-include
	the autorepeat event filtering from XplatUIX11.cs.

2006-12-01  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs: need to mark queue as "new" to quiet mcs.

2006-11-29  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs: implement GetWindowTransparency, and also add
	caching for WINDOW_TYPE and _NET_WM_WINDOW_OPACITY.  We invalidate
	the cache when we get a PropertyNotify on that atom.

	* X11Display.cs: return GetSet from SupportsTransparency if we
	have a compositor running.  otherwise return None.

	* XplatUIX11-new.cs: pass SupportsTransparency off onto the
	X11Display, and pass GetWindowTransparency off onto the X11Hwnd.

2006-11-29  Chris Toshok  <toshok@ximian.com>

	* X11ThreadQueue.cs (EnqueueUnlocked): add the switch motionnotify
	compression/NeedDispatchIdle assignment found in X11Hwnd here.
	(RemovePaintUnlocked): nuke
	(AddPaintUnlocked): nuke
	(AddConfigureUnlocked): rename to AddConfigure.

	Add some debug stuff to HwndEventQueue so we can see the stack
	trace of where the hwnd was added to the queue, in case we somehow
	try to add it multiple times.

	* X11Hwnd.cs (AddExpose): there's no need for this to have locks
	around it - it should only ever be called from operations on the
	hwnd's thread (from ScrollWindow, from GetMessage, from
	Invalidate).
	(AddConfigureNotify): same goes here.
	(HandleConfigureNotify): remove configure_lock reference.
	(EnqueueEvent): nuke this.
	(PaintEventStart): remove locking.
	(ScrollWindow): remove locking.
	
	also, remove all references to
	AddPaintUnlocked/RemovePaintUnlocked/AddConfigureUnlocked.  since
	we don't need to lock around them, there's not need.
	
	* X11Display.cs (XEventThread) switch from hwnd.EnqueueEvent to
	hwnd.Queue.Enqueue.

2006-11-28  Chris Toshok  <toshok@ximian.com>

	* X11ThreadQueue.cs: factor out all the commonality from
	PaintQueue/ConfigureQueue.  Add a comment about XEventQueue.  stop
	using % from the XEventQueue.  if we're going for performance,
	it's much quicker to use a multiple of 2 size for the array and
	use & for wrapping.  Also, fix XEventQueue.Grow().  it was
	reordering the queue before.

	* X11Hwnd.cs, XplatUIX11-new.cs: remove spew, and ^M's.

2006-11-28  Rolf Bjarne Kvinge <RKvinge@novell.com>
	
	* XplatUIX11-new.cs:
	* X11Hwnd.cs:
	- Added RequestAdditionalWM_NCMessages for windows to 
	  opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.

2006-11-28  Chris Toshok  <toshok@ximian.com>

	* X11Display.cs (XEventThread): move to a polling strategy again,
	since XNextEvent locks the display - without this, nothing can
	happen with any toplevel X call until there's an event.  So we
	poll on the XConnectionNumber, then consume all available events
	before polling again.
	(DispatchMessage): move this here.
	(SetCursor): same.
	(OverrideCursor): same.
	(RedirectMsgToEnabledAncestor): make this code work for any XEvent
	by removing the XEvent from the arg list.
	(GetMessage): pretty major overhaul.  we now have a 3 loops.  We
	loop over all the X events in the queue until there aren't any,
	calling AddExpose and AddConfigureNotify for Expose and Configure
	events respectively.  Those methods end up queueing up special
	"events" in the thread queue's Paint and Configure queues.  Once
	the X event loop is finished, we check to see if there are pending
	configure/paint events, and handle any that are present.
	(DoEvents): move here.

	* X11ThreadQueue.cs: make DequeueUnlocked only dequeue X events.
	if there are no x events and there *are* paint or configure
	events, return early.  add a "configure queue" which is almost
	identical to the "paint queue" except for the events it generates.
	this needs refactoring so the code can be shared.

	* XplatUIX11-new.cs: move the DefWndProc to X11Hwnd.  Move
	SetCursor, OverrideCursor, DispatchMessage and DoEvents to
	X11Display.

	* X11Hwnd.cs (Update): do all this under the queue lock..
	theorize about whether or not the SendMessage (WM_PAINT) should be
	called from under the lock.
	(DefWndProc): move this here.
	(PendingExpose,PendingNCExpose): new properties, which should
	eventually be pushed into Hwnd (and made abstract?)  Move all the
	queue manipulation here.
	(PaintEventStart): restrict the queue lock code a bit more.
	(PerformNCCalc): remove the optimization - it keeps client windows
	from resizing along with their parent.
	(SetPosition): track change Rolf made to XplatUIX11.cs on
	2006-11-22.

2006-11-21  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs: the IntPtr atom change broke the Array.Sort stuff I
	was doing.  Just remove it.

	* XplatUIX11-new.cs: add a message if Xlib.XInitThreads fails.

	* X11ThreadQueue.cs: another Date.Now -> Date.UtcNow fix.

	* X11RootHwnd.cs: remove the setting of Display.ActiveWindow from
	here.  move all the logic into X11Display.SetActiveWindow.

	* X11Display.cs: move the logic for setting ActiveWindow here, and
	make ModalWindows private.
	
2006-11-21  Chris Toshok  <toshok@ximian.com>

	* Xlib.cs: remove the static keyword from the class

2006-11-21  Chris Toshok  <toshok@ximian.com>

	* XplatUIX11-new.cs: implement the Idle event by adding/removing
	it from the applicable X11ThreadQueue and remove the OnIdle
	method.  Also, implement the new InvalidateNC method.

	* X11Display.cs: remove the idle dispatch code, as it can't be
	generated by the XEventThread.  It has to be generated by the
	threads running the various message pumps, as it has to be invoked
	on that same thread.  Factor out the use of Hwnd.EnabledHwnd along
	with the accompanying call to XTranslateCoordinates to a separate
	function (RedirectMsgToEnabledAncestor).  Fix some NRE's accessing
	FocusWindow, since it's not an IntPtr anymore but a X11Hwnd.

	* X11ThreadQueue.cs: move the Idle dispatch stuff here.  Also,
	correct the first arg to Idle - it's not the XplatUI, it's the
	Thread.

	* X11Hwnd.cs: numerous formatting changes, change the logic of
	some if statements to make things cleaner.  Factor out the
	USER_TIME manipulation from a few places. Change all atom
	manipulation to use IntPtr's instead of int's the way the old
	XplatUIX11 stuff worked.  This might help fix things for 64-bit
	platforms..  more work needed there.  Also, add the new
	InvalidateNC support (basically the same as the old
	InvalidateWholeWindow), and remove the InvalidateWholeWindow
	calls.

2006-11-17  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs: port the XplatUIX11.ScrollWindow fix from 68061.

2006-11-14  Chris Toshok  <toshok@ximian.com>

	* X11Hwnd.cs, X11RootHwnd.cs, X11Atoms.cs, X11Display.cs,
	X11Exception.cs, Xlib.cs: Initial pass at refactoring the X11
	backend.