- Sep 22, 2008
-
-
Adam Jackson authored
-retro also reverts to the classic cursor display behavior, meaning, the cursor will be visible before anyone calls XDefineCursor().
-
Julien Cristau authored
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 5f1265b8)
-
Move the struct atom_list into the x-selection class, so that it's no longer a global variable named atoms. This may ease pthread integration and reduce the chances of symbols conflicting. (cherry picked from commit c1403c71)
-
We may need another branch to convert a PICT to a PNG or JPEG. For now TIFF works well in all of the test image copying apps when converted to PNG or JPEG with an NSBitmapImageRep class. (cherry picked from commit adf339d8)
-
INCR transfers mixed with a CLIPBOARD change. Fix a bug with some UTF-8 transfers. I can only guess that my UTF-8 tests before were inadequate. I can now copy/paste any characters between uxterm and Textedit.app. (cherry picked from commit 7ca1532e)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 7713d7ab)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit d76cca5e)
-
seems to have done this before, but correctness matters. (cherry picked from commit 1b4987e7)
-
to verify that the behavior didn't change. main.m: XInternAtom compound_text, and atom_pair. pbproxy.h: Add compound_text and atom_pair to the struct atom_list. x-selection.m: Add an #include of Xutil.h. Refactor the reply struct initialization to be done in a common place. Add send_reply: to simplify the code a bit more. Add send_compound_text: which handles the COMPOUND_TEXT type. Add the beginnings of a send_multiple:. Change handle_image:extension: to handle_image:. The extension: message isn't needed anymore. (cherry picked from commit 1e9460ab)
-
We can now copy and paste images to and from X11. Text copying and pasting works as well. The NSPasteboard can contain TIFF or PICT images, and pbproxy will translate to an image/png or image/jpeg request, and list those in the TARGETS. I added a description of the basic design at the top of x-selection.m. I removed the request_data x_selection class struct. It's not needed. (cherry picked from commit 4a8daf88)
-
to a TIFFRepresentation for use with NSPasteboard. This has been tested with the Gimp and works with some minor quartz-wm changes. The Finder clipboard shows the image updates after an Edit -> Copy. (cherry picked from commit 12912ada)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 1317c8ff)
-
This change adds some [self own_clipboard] calls in the necessary places to get the proper greedy behavior. UTF8_STRING and STRING properties seem to work well now with the test cases (PRIMARY, and CLIPBOARD). I can copy from several different X apps, and have the behavior be correct when pasting. I also verified that quartz-wm isn't doing the copying, by disabling the quartz-wm paths. (cherry picked from commit 934669f7)
-
Add TRACE() calls where appropriate to try to figure out why we are losing CLIPBOARD at times, after transferring PRIMARY to the NSPasteboard. Use the new pbproxy_clipboard_to_pasteboard where appropriate. (cherry picked from commit 40190675)
-
Convert the puts usage to use DB(). Add the initial handle_image method. Check for nil in the NSString instantiation in various places. Add some commentary to enhance the clarity of why I did some things. (cherry picked from commit 37361567)
-
(cherry picked from commit ea9dc279)
-
(cherry picked from commit d333a8e2)
-
(cherry picked from commit 32b175ef)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 21a2d0b8)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 5c8b956f)
-
Jeremy Huddleston Sequoia authored
-
- Sep 21, 2008
-
-
Kim Woelders authored
And some cosmetic changes to use stuff->change consistently. Signed-off-by:
Peter Hutterer <peter.hutterer@redhat.com>
-
Fix panoramiX request and reply swapping Set window and screen values in panoramix replies Prevent buffer overrun in ProcPanoramiXGetScreenSize
-
- Sep 20, 2008
-
-
Keith Packard authored
Bit/window gravity computations need to recompute exposures to manage the bits which are saved by gravity during the resize computation. That's easy for non-redirected windows where the bits are all within the parent's pixmap. For redirected windows, we don't need to deal with this at all, so just skip the whole re-computation adventure. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Keith Packard authored
When changing a window from automatic redirection to manual redirection, the parent clip list needs to be recomputed; the easy way to get that computed right is to unmap/map the window, just as when redirecting the window the first time. Thanks to Owen Taylor for helping diagnose this. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- Sep 19, 2008
-
-
Adam Jackson authored
-
Adam Jackson authored
Under the terms of version 1.1, "once Covered Code has been published under a particular version of the License, Recipient may, for the duration of the License, continue to use it under the terms of that version, or choose to use such Covered Code under the terms of any subsequent version published by SGI." FreeB 2.0 license refers to "dates of first publication". They are here taken to be 1991-2000, as noted in the original license text: ** Original Code. The Original Code is: OpenGL Sample Implementation, ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. ** Copyright in any portions created by third parties is as indicated ** elsewhere herein. All Rights Reserved. Official FreeB 2.0 text: http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf As always, this code has not been tested for conformance with the OpenGL specification. OpenGL conformance testing is available from http://khronos.org/ and is required for use of the OpenGL logo in product advertising and promotion.
-
- Sep 18, 2008
-
-
Peter Hutterer authored
Spotted by Mikhail Gusarov.
-
Peter Hutterer authored
For master devices, the ptraccel code could segfault on free since we'd be dereferencing random memory. Callocing the valuatorClassRec is the easy fix.
-
Peter Hutterer authored
The event format is the same for both (bar the type), so one is enough.
-
Aaron Plattner authored
(cherry picked from commit 37876602)
-
- Sep 16, 2008
-
-
Julien Cristau authored
They got re-enabled in ee7c684f ("Reimplement ShmPutImage.")
-
- Sep 15, 2008
-
-
- Sep 12, 2008
-
-
Eamon Walsh authored
Note: DevPrivateKey is now pointer-to-int, which means each key now needs to point to some global storage of size at least sizeof(int).
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 43184cd3)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 8dd6d5c8)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit bf10fb0b)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit 4fe605c2)
-
Jeremy Huddleston Sequoia authored
(cherry picked from commit c0da576d)
-