gui/collects/mred/private/wx/cocoa
Matthew Flatt 93b21b51b1 cocoa: try to fix problem with drifting gc-blit window
original commit: 510c3f8a3362fe67979e805910b90c5bd440f586
2010-11-23 10:02:45 -07:00
..
button.rkt cocoa: adjust button shape for large fonts 2010-11-15 12:16:42 -07:00
canvas.rkt cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
cg.rkt clean up 2010-11-05 15:54:49 -06:00
check-box.rkt clean up 2010-11-05 15:54:49 -06:00
choice.rkt clean up 2010-11-05 15:54:49 -06:00
clipboard.rkt clean up 2010-11-05 15:54:49 -06:00
colordialog.rkt clean up 2010-11-05 15:54:49 -06:00
const.rkt clean up 2010-11-05 15:54:49 -06:00
cursor.rkt clean up 2010-11-05 15:54:49 -06:00
dc.rkt adjust canvas refresh strategy yet again 2010-11-12 20:39:58 -07:00
dialog.rkt clean up 2010-11-05 15:54:49 -06:00
filedialog.rkt cocoa: one more 10.6-only method 2010-11-20 15:45:28 -07:00
finfo.rkt cocoa: fix ffi-use bug 2010-11-14 15:54:17 -07:00
font.rkt clean up 2010-11-05 15:54:49 -06:00
frame.rkt cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
gauge.rkt destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
gc.rkt clean up 2010-11-05 15:54:49 -06:00
group-panel.rkt clean up 2010-11-05 15:54:49 -06:00
image.rkt clean up 2010-11-05 15:54:49 -06:00
init.rkt clean up 2010-11-05 15:54:49 -06:00
item.rkt cocoa: set button control size when font is small 2010-11-10 17:54:07 -07:00
keycode.rkt clean up 2010-11-05 15:54:49 -06:00
list-box.rkt cocoa & gtk: fix some test failures 2010-11-05 15:54:54 -06:00
menu-bar.rkt clean up 2010-11-05 15:54:49 -06:00
menu-item.rkt clean up 2010-11-05 15:54:49 -06:00
menu.rkt cocoa: avoid another 10.6-only method 2010-11-16 17:08:41 -07:00
message.rkt clean up 2010-11-05 15:54:49 -06:00
panel.rkt cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
platform.rkt clean up 2010-11-05 15:54:49 -06:00
pool.rkt clean up 2010-11-05 15:54:49 -06:00
printer-dc.rkt clean up 2010-11-05 15:54:49 -06:00
procs.rkt fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
queue.rkt cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
radio-box.rkt clean up 2010-11-05 15:54:49 -06:00
README.txt cocoa: avoid explicit NSTabViewDelegate 2010-11-14 15:54:18 -07:00
slider.rkt clean up 2010-11-05 15:54:49 -06:00
sound.rkt clean up 2010-11-05 15:54:49 -06:00
tab-panel.rkt cocoa: avoid explicit NSTabViewDelegate 2010-11-14 15:54:18 -07:00
types.rkt clean up 2010-11-05 15:54:49 -06:00
utils.rkt cocoa: avoid another 10.6-only method 2010-11-16 17:08:41 -07:00
window.rkt cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00

Allocation rules:

 * Use `as-objc-allocation' when creating a Cocoa object. When the
   resulting reference becomes unreachable, the Cocoa object will be
   released.

 * Use `with-autorelease' in atomic mode around calls that autorelease
   and where the release should take effect immediate. Do not create
   an autorelease pool except in atomic mode.

 * Other autoreleased objects may end up in the root pool installed by
   "pool.rkt". The root pool is periodically destroyed and replaced;
   call `queue-autorelease-flush' if you need to encurage replacement
   of the pool. If you need to use an object htat might be autoflushed,
   be sure that you're in atomic mode.