racket/collects/mred/private/wx/cocoa
Matthew Flatt 34eb5ec983 cocoa: fix application about handler
Closes PR 12165
2011-09-03 10:35:55 -06:00
..
agl.rkt clean up 2010-11-05 15:54:49 -06:00
bitmap.rkt cocoa: fix initialization of screen bitmaps 2011-03-11 02:50:05 -06:00
button.rkt allow a button% to have both a string and a bitmap for its label 2011-01-01 13:54:45 -07:00
canvas.rkt implement 'border style for `panel%' 2011-08-13 07:00:51 -06: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 fix support for a string result from get-data' of clipboard-client%' 2011-03-27 10:51:46 -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 cocoa: erasing a non-transparent canvas uses white 2011-01-07 14:15:35 -07:00
dialog.rkt clean up 2010-11-05 15:54:49 -06:00
filedialog.rkt cocoa: fix `get-file' when any extension is allowed 2011-06-03 01:38:40 -04:00
finfo.rkt cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
font.rkt A long overdue scan to eliminate files without terminating newlines. 2011-06-28 02:01:41 -04:00
frame.rkt cocoa: fix menu when two layers of dialogs are dismissed 2011-09-03 10:35:55 -06:00
gauge.rkt Fixes more spelling errors. 2011-02-04 19:44:13 -07: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 cocoa: fix image paste 2011-07-19 08:12:39 -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 finish implementing display of menu shortcuts 2011-01-22 10:15:14 -07:00
list-box.rkt cocoa: fix list-box scrolling 2011-08-04 07:38:10 -06:00
menu-bar.rkt cocoa: fix application about handler 2011-09-03 10:35:55 -06:00
menu-item.rkt cocoa: fix "&" handling in menu-item labels 2011-07-06 09:54:41 -06:00
menu.rkt cocoa: avoid another 10.6-only method 2010-11-16 17:08:41 -07:00
message.rkt gtk, cocoa: fix auto-sizing of text `message%'s 2011-04-08 14:22:17 -06:00
panel.rkt implement 'border style for `panel%' 2011-08-13 07:00:51 -06:00
platform.rkt add get-display-count' and #:screen argument to get-display-size' 2011-07-18 20:15:15 -06:00
pool.rkt clean up 2010-11-05 15:54:49 -06:00
printer-dc.rkt add `get-device-scale' to dc<%> 2011-03-15 07:37:42 -06:00
procs.rkt cocoa: fix sign on `get-display-left-top-inset' x result 2011-08-10 11:13:58 -06:00
queue.rkt cocoa: fix application about handler 2011-09-03 10:35:55 -06:00
radio-box.rkt cocoa: change `radio-box%' implementation of no selected buttons 2011-02-04 09:20:47 -07:00
README.txt cocoa: avoid explicit NSTabViewDelegate 2010-11-14 15:54:18 -07:00
slider.rkt cocoa: flip vertical slider direction 2011-03-11 02:50:06 -06:00
sound.rkt code clarification 2011-03-15 06:46:36 -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 fix refresh' on window<%>'s other than `canvas%'s 2011-08-12 17:03:28 -06: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.