Mercurial > emacs
annotate mac/src/EmacsMPW.r @ 67457:819dc1a5c256
Include keymap.h.
(mac_ready_for_apple_events): New variable.
(Vmac_apple_event_map, Qmac_apple_event_class)
(Qmac_apple_event_id): New variables.
(syms_of_macselect): Initialize them.
(Qundefined, mac_store_apple_event): Add externs.
(struct apple_event_binding): New struct.
(find_event_binding_fun, find_event_binding)
(mac_find_apple_event_spec, defer_apple_events)
(mac_handle_apple_event, init_apple_event_handler)
(copy_scrap_flavor_data): New functions.
(Fmac_process_deferred_apple_events): New defun.
(syms_of_macselect): Defsubr it.
(mac_store_services_event): Fix extern.
(mac_handle_service_event): Don't allocate Lisp objects during
asynchronous input processing. Use mac_store_services_event
instead of mac_store_application_menu_event.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 10 Dec 2005 01:49:44 +0000 |
parents | 3723093a21fd |
children | 067115a6e738 |
rev | line source |
---|---|
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
1 /* Resource definitions for GNU Emacs on the Macintosh when building |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
2 under MPW. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
3 |
64890
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
4 Copyright (C) 1999, 2000, 2002, 2003, 2004, |
3723093a21fd
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
5 2005 Free Software Foundation, Inc. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
6 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
7 This file is part of GNU Emacs. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
8 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
9 GNU Emacs is free software; you can redistribute it and/or modify |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
10 it under the terms of the GNU General Public License as published by |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
11 the Free Software Foundation; either version 2, or (at your option) |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
12 any later version. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
13 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
14 GNU Emacs is distributed in the hope that it will be useful, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
17 GNU General Public License for more details. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
18 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
19 You should have received a copy of the GNU General Public License |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
20 along with GNU Emacs; see the file COPYING. If not, write to |
64083 | 21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 Boston, MA 02110-1301, USA. */ | |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
23 |
44890
01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents:
32752
diff
changeset
|
24 /* Contributed by Andrew Choi (akochoi@mac.com). */ |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
25 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
26 #include "Types.r" |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
27 #include "CodeFragmentTypes.r" |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
28 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
29 resource 'SIZE' (-1) { |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
30 reserved, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
31 acceptSuspendResumeEvents, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
32 reserved, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
33 canBackground, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
34 doesActivateOnFGSwitch, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
35 backgroundAndForeground, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
36 dontGetFrontClicks, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
37 ignoreAppDiedEvents, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
38 is32BitCompatible, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
39 isHighLevelEventAware, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
40 onlyLocalHLEvents, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
41 notStationeryAware, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
42 dontUseTextEditServices, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
43 reserved, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
44 reserved, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
45 reserved, |
60366
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
46 33554432, |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
47 16777216 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
diff
changeset
|
48 }; |
60366
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
49 |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
50 #ifdef HAVE_CARBON |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
51 resource 'cfrg' (0) { |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
52 { |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
53 kPowerPCCFragArch, kIsCompleteCFrag, kNoVersionNum, kNoVersionNum, |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
54 311296, /* 48K (default) + 256K (EXTRA_STACK_ALLOC in macterm.c) */ |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
55 kNoAppSubFolder, |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
56 kApplicationCFrag, kDataForkCFragLocator, kZeroOffset, kCFragGoesToEOF, |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
57 "", |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
58 } |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
59 }; |
340c5401806e
(SIZE): Increase preferred memory size to 32MB.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
44890
diff
changeset
|
60 #endif |