xserver-multidpi/hw/xquartz
George Peter Staplin 586fbc91df XQuartz: pbproxy: Fix NSObject memory leaks by properly using the
NSAutoreleasePool.   Now the usage is consistent.  In x_input_run()
we create a pool, and release it after processing the XEvents.

Add some getpid() output to main for debugging.  It needs a bit more
testing before the next release.

Don't retain the NSPasteboard as the old code did.  That may have
contributed to the leak, and it made it so that we needed the
NSAutoreleasePool created in main().

Remove the _known_types, and _pasteboard instance variables from
the x_selection class.  They aren't needed anymore.

The leaks program now indicates 0 leaks after some usage.  I want
to test further, but this seems much better, and my memory usage
graph indicates it's not growing.
(cherry picked from commit b245d84a72)
2008-09-26 12:31:06 -07:00
..
bundle XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
doc XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
GL Fix up paths for GL/glx -> glx renaming 2008-05-21 10:51:15 -07:00
mach-startup XQuartz: Changed around fd handoff model to be more robust 2008-09-12 15:26:01 -07:00
pbproxy XQuartz: pbproxy: Fix NSObject memory leaks by properly using the 2008-09-26 12:31:06 -07:00
xpr XQuartz: 64bit crash fix ... don't pass pointers through xe. 2008-09-21 17:40:42 -07:00
applewm.c Remove all empty extension reset hooks, replace with NULL. 2008-07-24 15:46:08 -04:00
applewmExt.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
darwin.c XQuartz: Don't enable 8bit visuals in the TrueColor server, since it's not working yet 2008-09-21 17:40:15 -07:00
darwin.h XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
darwinClut8.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
darwinEvents.c XQuartz: Dead code removal 2008-09-12 15:26:18 -07:00
darwinEvents.h XQuartz: Added code and made comments more helpful for debugging first-client-auth bug. 2008-08-05 18:47:35 -07:00
darwinXinput.c add debug statements so we can see if/when our Xinput stubs are getting called. 2008-03-31 16:44:22 -07:00
keysym2ucs.c Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
keysym2ucs.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
Makefile.am XQuartz: Added pasteboard proxy code stripped out of quartz-wm. 2008-09-03 09:33:58 -07:00
pseudoramiX.c XQuartz: Set noPanoramixExtension earlier to avoid a possible race. 2008-07-11 10:13:13 -07:00
pseudoramiX.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
quartz.c Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
quartz.h XQuartz: More startup / threading house cleaning. 2008-04-28 11:49:19 -07:00
quartzAudio.c XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
quartzAudio.h Darwin: Flattened quartz into darwin, renamed darwin xquartz 2007-12-05 20:32:40 -08:00
quartzCocoa.m XQuartz: Set noPanoramixExtension earlier to avoid a possible race. 2008-07-11 10:13:13 -07:00
quartzCommon.h XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
quartzKeyboard.c XQuartz: Dead code removal 2008-09-12 15:26:18 -07:00
quartzKeyboard.h XQuartz: Added window_item_modifiers defaults item (and option to localization) to change the modifier keys used for the windows menu. 2008-08-20 10:00:37 -07:00
quartzPasteboard.c just a bit of juggling headers around -- we're preparing 2008-04-02 17:47:57 -07:00
quartzPasteboard.h just a bit of juggling headers around -- we're preparing 2008-04-02 17:47:57 -07:00
quartzStartup.c Xquartz: Removed include directive for removed header 2008-07-11 10:13:06 -07:00
sanitizedCarbon.h XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
sanitizedCocoa.h XQuartz: Handled sanitization of namespace better 2008-04-18 20:07:55 -07:00
threadSafety.c XQuartz: Cleaned up startup and thread creation a tad. 2008-04-26 19:21:05 -07:00
threadSafety.h XQuartz: Cleaned up startup and thread creation a tad. 2008-04-26 19:21:05 -07:00
X11Application.h XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
X11Application.m XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
X11Controller.h XQuartz: Added a preferences UI for pbproxy options. 2008-09-21 17:40:35 -07:00
X11Controller.m XQuartz: "Disable" the text when syncing is disabled. 2008-09-21 17:40:41 -07:00