gui/collects/mred/private/wx/cocoa
Matthew Flatt a82341289c cocoa: avoid infinite loop on re-dispatch of command keys
original commit: e627ccb5edb6e7c030325d6c62d82c170a83f06b
2010-11-30 20:17:47 -07:00
..
button.rkt cocoa: fix relabel of image checkbox 2010-11-28 08:01:07 -07:00
canvas.rkt cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -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: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
font.rkt clean up 2010-11-05 15:54:49 -06:00
frame.rkt cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -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: fix enable & disable of windows 2010-11-28 08:01:06 -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 cocoa: avoid infinite loop on re-dispatch of command keys 2010-11-30 20:17:47 -07:00
menu-item.rkt cocoa: fix removal of menu shortcut 2010-11-28 10:44:01 -07:00
menu.rkt cocoa: avoid another 10.6-only method 2010-11-16 17:08:41 -07:00
message.rkt cocoa & gtk: fix set-label with bitmap on message% 2010-11-26 11:59:31 -07:00
panel.rkt cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -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 cocoa: fix problems with frame-list management 2010-11-24 07:12:02 -07:00
procs.rkt add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07:00
queue.rkt cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -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: fix problem with tab panel 2010-11-28 10:41:59 -07:00
types.rkt cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
utils.rkt cocoa: avoid another 10.6-only method 2010-11-16 17:08:41 -07:00
window.rkt cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -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.