aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-27 18:24:48 +0000
committerDan Nicolaescu2008-07-27 18:24:48 +0000
commit9e2a2647758db83b490e2993aa31cd4607305a82 (patch)
tree9c3d41b47bcd316c60d56bef8d7fd32789e59411 /mac
parent7f19297073b2dd6c28987bf5663933591f59e91e (diff)
downloademacs-9e2a2647758db83b490e2993aa31cd4607305a82.tar.gz
emacs-9e2a2647758db83b490e2993aa31cd4607305a82.zip
Remove support for Mac Carbon.
* mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
Diffstat (limited to 'mac')
-rw-r--r--mac/COPYING674
-rw-r--r--mac/ChangeLog990
-rw-r--r--mac/Emacs.app/Contents/.gitignore2
-rw-r--r--mac/Emacs.app/Contents/Info.plist571
-rw-r--r--mac/Emacs.app/Contents/PkgInfo1
-rw-r--r--mac/Emacs.app/Contents/Resources/Emacs.icnsbin237716 -> 0 bytes
-rw-r--r--mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings5
-rw-r--r--mac/Emacs.app/Contents/Resources/document.icnsbin142428 -> 0 bytes
-rw-r--r--mac/INSTALL196
-rw-r--r--mac/README52
-rwxr-xr-xmac/make-package443
-rw-r--r--mac/src/Emacs.r734
-rw-r--r--mac/src/chdir.c46
13 files changed, 0 insertions, 3714 deletions
diff --git a/mac/COPYING b/mac/COPYING
deleted file mode 100644
index 94a9ed024d3..00000000000
--- a/mac/COPYING
+++ /dev/null
@@ -1,674 +0,0 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8 Preamble
9
10 The GNU General Public License is a free, copyleft license for
11software and other kinds of works.
12
13 The licenses for most software and other practical works are designed
14to take away your freedom to share and change the works. By contrast,
15the GNU General Public License is intended to guarantee your freedom to
16share and change all versions of a program--to make sure it remains free
17software for all its users. We, the Free Software Foundation, use the
18GNU General Public License for most of our software; it applies also to
19any other work released this way by its authors. You can apply it to
20your programs, too.
21
22 When we speak of free software, we are referring to freedom, not
23price. Our General Public Licenses are designed to make sure that you
24have the freedom to distribute copies of free software (and charge for
25them if you wish), that you receive source code or can get it if you
26want it, that you can change the software or use pieces of it in new
27free programs, and that you know you can do these things.
28
29 To protect your rights, we need to prevent others from denying you
30these rights or asking you to surrender the rights. Therefore, you have
31certain responsibilities if you distribute copies of the software, or if
32you modify it: responsibilities to respect the freedom of others.
33
34 For example, if you distribute copies of such a program, whether
35gratis or for a fee, you must pass on to the recipients the same
36freedoms that you received. You must make sure that they, too, receive
37or can get the source code. And you must show them these terms so they
38know their rights.
39
40 Developers that use the GNU GPL protect your rights with two steps:
41(1) assert copyright on the software, and (2) offer you this License
42giving you legal permission to copy, distribute and/or modify it.
43
44 For the developers' and authors' protection, the GPL clearly explains
45that there is no warranty for this free software. For both users' and
46authors' sake, the GPL requires that modified versions be marked as
47changed, so that their problems will not be attributed erroneously to
48authors of previous versions.
49
50 Some devices are designed to deny users access to install or run
51modified versions of the software inside them, although the manufacturer
52can do so. This is fundamentally incompatible with the aim of
53protecting users' freedom to change the software. The systematic
54pattern of such abuse occurs in the area of products for individuals to
55use, which is precisely where it is most unacceptable. Therefore, we
56have designed this version of the GPL to prohibit the practice for those
57products. If such problems arise substantially in other domains, we
58stand ready to extend this provision to those domains in future versions
59of the GPL, as needed to protect the freedom of users.
60
61 Finally, every program is threatened constantly by software patents.
62States should not allow patents to restrict development and use of
63software on general-purpose computers, but in those that do, we wish to
64avoid the special danger that patents applied to a free program could
65make it effectively proprietary. To prevent this, the GPL assures that
66patents cannot be used to render the program non-free.
67
68 The precise terms and conditions for copying, distribution and
69modification follow.
70
71 TERMS AND CONDITIONS
72
73 0. Definitions.
74
75 "This License" refers to version 3 of the GNU General Public License.
76
77 "Copyright" also means copyright-like laws that apply to other kinds of
78works, such as semiconductor masks.
79
80 "The Program" refers to any copyrightable work licensed under this
81License. Each licensee is addressed as "you". "Licensees" and
82"recipients" may be individuals or organizations.
83
84 To "modify" a work means to copy from or adapt all or part of the work
85in a fashion requiring copyright permission, other than the making of an
86exact copy. The resulting work is called a "modified version" of the
87earlier work or a work "based on" the earlier work.
88
89 A "covered work" means either the unmodified Program or a work based
90on the Program.
91
92 To "propagate" a work means to do anything with it that, without
93permission, would make you directly or secondarily liable for
94infringement under applicable copyright law, except executing it on a
95computer or modifying a private copy. Propagation includes copying,
96distribution (with or without modification), making available to the
97public, and in some countries other activities as well.
98
99 To "convey" a work means any kind of propagation that enables other
100parties to make or receive copies. Mere interaction with a user through
101a computer network, with no transfer of a copy, is not conveying.
102
103 An interactive user interface displays "Appropriate Legal Notices"
104to the extent that it includes a convenient and prominently visible
105feature that (1) displays an appropriate copyright notice, and (2)
106tells the user that there is no warranty for the work (except to the
107extent that warranties are provided), that licensees may convey the
108work under this License, and how to view a copy of this License. If
109the interface presents a list of user commands or options, such as a
110menu, a prominent item in the list meets this criterion.
111
112 1. Source Code.
113
114 The "source code" for a work means the preferred form of the work
115for making modifications to it. "Object code" means any non-source
116form of a work.
117
118 A "Standard Interface" means an interface that either is an official
119standard defined by a recognized standards body, or, in the case of
120interfaces specified for a particular programming language, one that
121is widely used among developers working in that language.
122
123 The "System Libraries" of an executable work include anything, other
124than the work as a whole, that (a) is included in the normal form of
125packaging a Major Component, but which is not part of that Major
126Component, and (b) serves only to enable use of the work with that
127Major Component, or to implement a Standard Interface for which an
128implementation is available to the public in source code form. A
129"Major Component", in this context, means a major essential component
130(kernel, window system, and so on) of the specific operating system
131(if any) on which the executable work runs, or a compiler used to
132produce the work, or an object code interpreter used to run it.
133
134 The "Corresponding Source" for a work in object code form means all
135the source code needed to generate, install, and (for an executable
136work) run the object code and to modify the work, including scripts to
137control those activities. However, it does not include the work's
138System Libraries, or general-purpose tools or generally available free
139programs which are used unmodified in performing those activities but
140which are not part of the work. For example, Corresponding Source
141includes interface definition files associated with source files for
142the work, and the source code for shared libraries and dynamically
143linked subprograms that the work is specifically designed to require,
144such as by intimate data communication or control flow between those
145subprograms and other parts of the work.
146
147 The Corresponding Source need not include anything that users
148can regenerate automatically from other parts of the Corresponding
149Source.
150
151 The Corresponding Source for a work in source code form is that
152same work.
153
154 2. Basic Permissions.
155
156 All rights granted under this License are granted for the term of
157copyright on the Program, and are irrevocable provided the stated
158conditions are met. This License explicitly affirms your unlimited
159permission to run the unmodified Program. The output from running a
160covered work is covered by this License only if the output, given its
161content, constitutes a covered work. This License acknowledges your
162rights of fair use or other equivalent, as provided by copyright law.
163
164 You may make, run and propagate covered works that you do not
165convey, without conditions so long as your license otherwise remains
166in force. You may convey covered works to others for the sole purpose
167of having them make modifications exclusively for you, or provide you
168with facilities for running those works, provided that you comply with
169the terms of this License in conveying all material for which you do
170not control copyright. Those thus making or running the covered works
171for you must do so exclusively on your behalf, under your direction
172and control, on terms that prohibit them from making any copies of
173your copyrighted material outside their relationship with you.
174
175 Conveying under any other circumstances is permitted solely under
176the conditions stated below. Sublicensing is not allowed; section 10
177makes it unnecessary.
178
179 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
181 No covered work shall be deemed part of an effective technological
182measure under any applicable law fulfilling obligations under article
18311 of the WIPO copyright treaty adopted on 20 December 1996, or
184similar laws prohibiting or restricting circumvention of such
185measures.
186
187 When you convey a covered work, you waive any legal power to forbid
188circumvention of technological measures to the extent such circumvention
189is effected by exercising rights under this License with respect to
190the covered work, and you disclaim any intention to limit operation or
191modification of the work as a means of enforcing, against the work's
192users, your or third parties' legal rights to forbid circumvention of
193technological measures.
194
195 4. Conveying Verbatim Copies.
196
197 You may convey verbatim copies of the Program's source code as you
198receive it, in any medium, provided that you conspicuously and
199appropriately publish on each copy an appropriate copyright notice;
200keep intact all notices stating that this License and any
201non-permissive terms added in accord with section 7 apply to the code;
202keep intact all notices of the absence of any warranty; and give all
203recipients a copy of this License along with the Program.
204
205 You may charge any price or no price for each copy that you convey,
206and you may offer support or warranty protection for a fee.
207
208 5. Conveying Modified Source Versions.
209
210 You may convey a work based on the Program, or the modifications to
211produce it from the Program, in the form of source code under the
212terms of section 4, provided that you also meet all of these conditions:
213
214 a) The work must carry prominent notices stating that you modified
215 it, and giving a relevant date.
216
217 b) The work must carry prominent notices stating that it is
218 released under this License and any conditions added under section
219 7. This requirement modifies the requirement in section 4 to
220 "keep intact all notices".
221
222 c) You must license the entire work, as a whole, under this
223 License to anyone who comes into possession of a copy. This
224 License will therefore apply, along with any applicable section 7
225 additional terms, to the whole of the work, and all its parts,
226 regardless of how they are packaged. This License gives no
227 permission to license the work in any other way, but it does not
228 invalidate such permission if you have separately received it.
229
230 d) If the work has interactive user interfaces, each must display
231 Appropriate Legal Notices; however, if the Program has interactive
232 interfaces that do not display Appropriate Legal Notices, your
233 work need not make them do so.
234
235 A compilation of a covered work with other separate and independent
236works, which are not by their nature extensions of the covered work,
237and which are not combined with it such as to form a larger program,
238in or on a volume of a storage or distribution medium, is called an
239"aggregate" if the compilation and its resulting copyright are not
240used to limit the access or legal rights of the compilation's users
241beyond what the individual works permit. Inclusion of a covered work
242in an aggregate does not cause this License to apply to the other
243parts of the aggregate.
244
245 6. Conveying Non-Source Forms.
246
247 You may convey a covered work in object code form under the terms
248of sections 4 and 5, provided that you also convey the
249machine-readable Corresponding Source under the terms of this License,
250in one of these ways:
251
252 a) Convey the object code in, or embodied in, a physical product
253 (including a physical distribution medium), accompanied by the
254 Corresponding Source fixed on a durable physical medium
255 customarily used for software interchange.
256
257 b) Convey the object code in, or embodied in, a physical product
258 (including a physical distribution medium), accompanied by a
259 written offer, valid for at least three years and valid for as
260 long as you offer spare parts or customer support for that product
261 model, to give anyone who possesses the object code either (1) a
262 copy of the Corresponding Source for all the software in the
263 product that is covered by this License, on a durable physical
264 medium customarily used for software interchange, for a price no
265 more than your reasonable cost of physically performing this
266 conveying of source, or (2) access to copy the
267 Corresponding Source from a network server at no charge.
268
269 c) Convey individual copies of the object code with a copy of the
270 written offer to provide the Corresponding Source. This
271 alternative is allowed only occasionally and noncommercially, and
272 only if you received the object code with such an offer, in accord
273 with subsection 6b.
274
275 d) Convey the object code by offering access from a designated
276 place (gratis or for a charge), and offer equivalent access to the
277 Corresponding Source in the same way through the same place at no
278 further charge. You need not require recipients to copy the
279 Corresponding Source along with the object code. If the place to
280 copy the object code is a network server, the Corresponding Source
281 may be on a different server (operated by you or a third party)
282 that supports equivalent copying facilities, provided you maintain
283 clear directions next to the object code saying where to find the
284 Corresponding Source. Regardless of what server hosts the
285 Corresponding Source, you remain obligated to ensure that it is
286 available for as long as needed to satisfy these requirements.
287
288 e) Convey the object code using peer-to-peer transmission, provided
289 you inform other peers where the object code and Corresponding
290 Source of the work are being offered to the general public at no
291 charge under subsection 6d.
292
293 A separable portion of the object code, whose source code is excluded
294from the Corresponding Source as a System Library, need not be
295included in conveying the object code work.
296
297 A "User Product" is either (1) a "consumer product", which means any
298tangible personal property which is normally used for personal, family,
299or household purposes, or (2) anything designed or sold for incorporation
300into a dwelling. In determining whether a product is a consumer product,
301doubtful cases shall be resolved in favor of coverage. For a particular
302product received by a particular user, "normally used" refers to a
303typical or common use of that class of product, regardless of the status
304of the particular user or of the way in which the particular user
305actually uses, or expects or is expected to use, the product. A product
306is a consumer product regardless of whether the product has substantial
307commercial, industrial or non-consumer uses, unless such uses represent
308the only significant mode of use of the product.
309
310 "Installation Information" for a User Product means any methods,
311procedures, authorization keys, or other information required to install
312and execute modified versions of a covered work in that User Product from
313a modified version of its Corresponding Source. The information must
314suffice to ensure that the continued functioning of the modified object
315code is in no case prevented or interfered with solely because
316modification has been made.
317
318 If you convey an object code work under this section in, or with, or
319specifically for use in, a User Product, and the conveying occurs as
320part of a transaction in which the right of possession and use of the
321User Product is transferred to the recipient in perpetuity or for a
322fixed term (regardless of how the transaction is characterized), the
323Corresponding Source conveyed under this section must be accompanied
324by the Installation Information. But this requirement does not apply
325if neither you nor any third party retains the ability to install
326modified object code on the User Product (for example, the work has
327been installed in ROM).
328
329 The requirement to provide Installation Information does not include a
330requirement to continue to provide support service, warranty, or updates
331for a work that has been modified or installed by the recipient, or for
332the User Product in which it has been modified or installed. Access to a
333network may be denied when the modification itself materially and
334adversely affects the operation of the network or violates the rules and
335protocols for communication across the network.
336
337 Corresponding Source conveyed, and Installation Information provided,
338in accord with this section must be in a format that is publicly
339documented (and with an implementation available to the public in
340source code form), and must require no special password or key for
341unpacking, reading or copying.
342
343 7. Additional Terms.
344
345 "Additional permissions" are terms that supplement the terms of this
346License by making exceptions from one or more of its conditions.
347Additional permissions that are applicable to the entire Program shall
348be treated as though they were included in this License, to the extent
349that they are valid under applicable law. If additional permissions
350apply only to part of the Program, that part may be used separately
351under those permissions, but the entire Program remains governed by
352this License without regard to the additional permissions.
353
354 When you convey a copy of a covered work, you may at your option
355remove any additional permissions from that copy, or from any part of
356it. (Additional permissions may be written to require their own
357removal in certain cases when you modify the work.) You may place
358additional permissions on material, added by you to a covered work,
359for which you have or can give appropriate copyright permission.
360
361 Notwithstanding any other provision of this License, for material you
362add to a covered work, you may (if authorized by the copyright holders of
363that material) supplement the terms of this License with terms:
364
365 a) Disclaiming warranty or limiting liability differently from the
366 terms of sections 15 and 16 of this License; or
367
368 b) Requiring preservation of specified reasonable legal notices or
369 author attributions in that material or in the Appropriate Legal
370 Notices displayed by works containing it; or
371
372 c) Prohibiting misrepresentation of the origin of that material, or
373 requiring that modified versions of such material be marked in
374 reasonable ways as different from the original version; or
375
376 d) Limiting the use for publicity purposes of names of licensors or
377 authors of the material; or
378
379 e) Declining to grant rights under trademark law for use of some
380 trade names, trademarks, or service marks; or
381
382 f) Requiring indemnification of licensors and authors of that
383 material by anyone who conveys the material (or modified versions of
384 it) with contractual assumptions of liability to the recipient, for
385 any liability that these contractual assumptions directly impose on
386 those licensors and authors.
387
388 All other non-permissive additional terms are considered "further
389restrictions" within the meaning of section 10. If the Program as you
390received it, or any part of it, contains a notice stating that it is
391governed by this License along with a term that is a further
392restriction, you may remove that term. If a license document contains
393a further restriction but permits relicensing or conveying under this
394License, you may add to a covered work material governed by the terms
395of that license document, provided that the further restriction does
396not survive such relicensing or conveying.
397
398 If you add terms to a covered work in accord with this section, you
399must place, in the relevant source files, a statement of the
400additional terms that apply to those files, or a notice indicating
401where to find the applicable terms.
402
403 Additional terms, permissive or non-permissive, may be stated in the
404form of a separately written license, or stated as exceptions;
405the above requirements apply either way.
406
407 8. Termination.
408
409 You may not propagate or modify a covered work except as expressly
410provided under this License. Any attempt otherwise to propagate or
411modify it is void, and will automatically terminate your rights under
412this License (including any patent licenses granted under the third
413paragraph of section 11).
414
415 However, if you cease all violation of this License, then your
416license from a particular copyright holder is reinstated (a)
417provisionally, unless and until the copyright holder explicitly and
418finally terminates your license, and (b) permanently, if the copyright
419holder fails to notify you of the violation by some reasonable means
420prior to 60 days after the cessation.
421
422 Moreover, your license from a particular copyright holder is
423reinstated permanently if the copyright holder notifies you of the
424violation by some reasonable means, this is the first time you have
425received notice of violation of this License (for any work) from that
426copyright holder, and you cure the violation prior to 30 days after
427your receipt of the notice.
428
429 Termination of your rights under this section does not terminate the
430licenses of parties who have received copies or rights from you under
431this License. If your rights have been terminated and not permanently
432reinstated, you do not qualify to receive new licenses for the same
433material under section 10.
434
435 9. Acceptance Not Required for Having Copies.
436
437 You are not required to accept this License in order to receive or
438run a copy of the Program. Ancillary propagation of a covered work
439occurring solely as a consequence of using peer-to-peer transmission
440to receive a copy likewise does not require acceptance. However,
441nothing other than this License grants you permission to propagate or
442modify any covered work. These actions infringe copyright if you do
443not accept this License. Therefore, by modifying or propagating a
444covered work, you indicate your acceptance of this License to do so.
445
446 10. Automatic Licensing of Downstream Recipients.
447
448 Each time you convey a covered work, the recipient automatically
449receives a license from the original licensors, to run, modify and
450propagate that work, subject to this License. You are not responsible
451for enforcing compliance by third parties with this License.
452
453 An "entity transaction" is a transaction transferring control of an
454organization, or substantially all assets of one, or subdividing an
455organization, or merging organizations. If propagation of a covered
456work results from an entity transaction, each party to that
457transaction who receives a copy of the work also receives whatever
458licenses to the work the party's predecessor in interest had or could
459give under the previous paragraph, plus a right to possession of the
460Corresponding Source of the work from the predecessor in interest, if
461the predecessor has it or can get it with reasonable efforts.
462
463 You may not impose any further restrictions on the exercise of the
464rights granted or affirmed under this License. For example, you may
465not impose a license fee, royalty, or other charge for exercise of
466rights granted under this License, and you may not initiate litigation
467(including a cross-claim or counterclaim in a lawsuit) alleging that
468any patent claim is infringed by making, using, selling, offering for
469sale, or importing the Program or any portion of it.
470
471 11. Patents.
472
473 A "contributor" is a copyright holder who authorizes use under this
474License of the Program or a work on which the Program is based. The
475work thus licensed is called the contributor's "contributor version".
476
477 A contributor's "essential patent claims" are all patent claims
478owned or controlled by the contributor, whether already acquired or
479hereafter acquired, that would be infringed by some manner, permitted
480by this License, of making, using, or selling its contributor version,
481but do not include claims that would be infringed only as a
482consequence of further modification of the contributor version. For
483purposes of this definition, "control" includes the right to grant
484patent sublicenses in a manner consistent with the requirements of
485this License.
486
487 Each contributor grants you a non-exclusive, worldwide, royalty-free
488patent license under the contributor's essential patent claims, to
489make, use, sell, offer for sale, import and otherwise run, modify and
490propagate the contents of its contributor version.
491
492 In the following three paragraphs, a "patent license" is any express
493agreement or commitment, however denominated, not to enforce a patent
494(such as an express permission to practice a patent or covenant not to
495sue for patent infringement). To "grant" such a patent license to a
496party means to make such an agreement or commitment not to enforce a
497patent against the party.
498
499 If you convey a covered work, knowingly relying on a patent license,
500and the Corresponding Source of the work is not available for anyone
501to copy, free of charge and under the terms of this License, through a
502publicly available network server or other readily accessible means,
503then you must either (1) cause the Corresponding Source to be so
504available, or (2) arrange to deprive yourself of the benefit of the
505patent license for this particular work, or (3) arrange, in a manner
506consistent with the requirements of this License, to extend the patent
507license to downstream recipients. "Knowingly relying" means you have
508actual knowledge that, but for the patent license, your conveying the
509covered work in a country, or your recipient's use of the covered work
510in a country, would infringe one or more identifiable patents in that
511country that you have reason to believe are valid.
512
513 If, pursuant to or in connection with a single transaction or
514arrangement, you convey, or propagate by procuring conveyance of, a
515covered work, and grant a patent license to some of the parties
516receiving the covered work authorizing them to use, propagate, modify
517or convey a specific copy of the covered work, then the patent license
518you grant is automatically extended to all recipients of the covered
519work and works based on it.
520
521 A patent license is "discriminatory" if it does not include within
522the scope of its coverage, prohibits the exercise of, or is
523conditioned on the non-exercise of one or more of the rights that are
524specifically granted under this License. You may not convey a covered
525work if you are a party to an arrangement with a third party that is
526in the business of distributing software, under which you make payment
527to the third party based on the extent of your activity of conveying
528the work, and under which the third party grants, to any of the
529parties who would receive the covered work from you, a discriminatory
530patent license (a) in connection with copies of the covered work
531conveyed by you (or copies made from those copies), or (b) primarily
532for and in connection with specific products or compilations that
533contain the covered work, unless you entered into that arrangement,
534or that patent license was granted, prior to 28 March 2007.
535
536 Nothing in this License shall be construed as excluding or limiting
537any implied license or other defenses to infringement that may
538otherwise be available to you under applicable patent law.
539
540 12. No Surrender of Others' Freedom.
541
542 If conditions are imposed on you (whether by court order, agreement or
543otherwise) that contradict the conditions of this License, they do not
544excuse you from the conditions of this License. If you cannot convey a
545covered work so as to satisfy simultaneously your obligations under this
546License and any other pertinent obligations, then as a consequence you may
547not convey it at all. For example, if you agree to terms that obligate you
548to collect a royalty for further conveying from those to whom you convey
549the Program, the only way you could satisfy both those terms and this
550License would be to refrain entirely from conveying the Program.
551
552 13. Use with the GNU Affero General Public License.
553
554 Notwithstanding any other provision of this License, you have
555permission to link or combine any covered work with a work licensed
556under version 3 of the GNU Affero General Public License into a single
557combined work, and to convey the resulting work. The terms of this
558License will continue to apply to the part which is the covered work,
559but the special requirements of the GNU Affero General Public License,
560section 13, concerning interaction through a network will apply to the
561combination as such.
562
563 14. Revised Versions of this License.
564
565 The Free Software Foundation may publish revised and/or new versions of
566the GNU General Public License from time to time. Such new versions will
567be similar in spirit to the present version, but may differ in detail to
568address new problems or concerns.
569
570 Each version is given a distinguishing version number. If the
571Program specifies that a certain numbered version of the GNU General
572Public License "or any later version" applies to it, you have the
573option of following the terms and conditions either of that numbered
574version or of any later version published by the Free Software
575Foundation. If the Program does not specify a version number of the
576GNU General Public License, you may choose any version ever published
577by the Free Software Foundation.
578
579 If the Program specifies that a proxy can decide which future
580versions of the GNU General Public License can be used, that proxy's
581public statement of acceptance of a version permanently authorizes you
582to choose that version for the Program.
583
584 Later license versions may give you additional or different
585permissions. However, no additional obligations are imposed on any
586author or copyright holder as a result of your choosing to follow a
587later version.
588
589 15. Disclaimer of Warranty.
590
591 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
600 16. Limitation of Liability.
601
602 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610SUCH DAMAGES.
611
612 17. Interpretation of Sections 15 and 16.
613
614 If the disclaimer of warranty and limitation of liability provided
615above cannot be given local legal effect according to their terms,
616reviewing courts shall apply local law that most closely approximates
617an absolute waiver of all civil liability in connection with the
618Program, unless a warranty or assumption of liability accompanies a
619copy of the Program in return for a fee.
620
621 END OF TERMS AND CONDITIONS
622
623 How to Apply These Terms to Your New Programs
624
625 If you develop a new program, and you want it to be of the greatest
626possible use to the public, the best way to achieve this is to make it
627free software which everyone can redistribute and change under these terms.
628
629 To do so, attach the following notices to the program. It is safest
630to attach them to the start of each source file to most effectively
631state the exclusion of warranty; and each file should have at least
632the "copyright" line and a pointer to where the full notice is found.
633
634 <one line to give the program's name and a brief idea of what it does.>
635 Copyright (C) <year> <name of author>
636
637 This program is free software: you can redistribute it and/or modify
638 it under the terms of the GNU General Public License as published by
639 the Free Software Foundation, either version 3 of the License, or
640 (at your option) any later version.
641
642 This program is distributed in the hope that it will be useful,
643 but WITHOUT ANY WARRANTY; without even the implied warranty of
644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 GNU General Public License for more details.
646
647 You should have received a copy of the GNU General Public License
648 along with this program. If not, see <http://www.gnu.org/licenses/>.
649
650Also add information on how to contact you by electronic and paper mail.
651
652 If the program does terminal interaction, make it output a short
653notice like this when it starts in an interactive mode:
654
655 <program> Copyright (C) <year> <name of author>
656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 This is free software, and you are welcome to redistribute it
658 under certain conditions; type `show c' for details.
659
660The hypothetical commands `show w' and `show c' should show the appropriate
661parts of the General Public License. Of course, your program's commands
662might be different; for a GUI interface, you would use an "about box".
663
664 You should also get your employer (if you work as a programmer) or school,
665if any, to sign a "copyright disclaimer" for the program, if necessary.
666For more information on this, and how to apply and follow the GNU GPL, see
667<http://www.gnu.org/licenses/>.
668
669 The GNU General Public License does not permit incorporating your program
670into proprietary programs. If your program is a subroutine library, you
671may consider it more useful to permit linking proprietary applications with
672the library. If this is what you want to do, use the GNU Lesser General
673Public License instead of this License. But first, please read
674<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/mac/ChangeLog b/mac/ChangeLog
deleted file mode 100644
index edfaef17ea4..00000000000
--- a/mac/ChangeLog
+++ /dev/null
@@ -1,990 +0,0 @@
12008-03-13 Glenn Morris <rgm@gnu.org>
2
3 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
4 * src/Emacs.r: Set version to 23.0.60.
5
62008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
7
8 * Emacs.app/Contents/Resources/Emacs.icns:
9 * Emacs.app/Contents/Resources/document.icns: Update icon.
10
112008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
12
13 * INSTALL, README: Only mention MacOSX.
14
15 * cw6-mcp.xml, make-package, makefile.MPW, inc/alloca.h:
16 * inc/config.h, inc/defs-cw6.h, inc/dirent.h, inc/epaths.h:
17 * inc/grp.h, inc/m-mac.h, inc/pwd.h, inc/s-mac.h, inc/termio.h:
18 * inc/utime.h, inc/utsname.h, inc/sys/file.h, inc/sys/ioctl.h:
19 * inc/sys/param.h, inc/sys/stat.h, inc/sys/time.h, inc/sys/types.h:
20 * src/EmacsMPW.r: Remove files for no longer supported pre-MacOSX
21 systems.
22 * inc: Remove directory.
23
242008-01-04 Glenn Morris <rgm@gnu.org>
25
26 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
27 * src/Emacs.r: Update copyright to 2008.
28
292007-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
30
31 * INSTALL: Also build and run on Mac OS X 10.5.
32
332007-11-01 Jan Djärv <jan.h.d@swipnet.se>
34
35 * inc/config.h: Remove HAVE_X11R5.
36
372007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
38
39 * makefile.MPW (SOME_MACHINE_OBJECTS): Remove sunfns.o.
40
412007-09-13 Seiji Zenitani <zenitani@mac.com>
42 Takanori Yamamoto <takanori.yamamoto@gmail.com>
43 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
44
45 * Emacs.app/Contents/Info.plist: Add filetype/extension entries
46 for the document icon.
47 * Emacs.app/Contents/Resources/Emacs.icns: Update.
48 * Emacs.app/Contents/Resources/document.icns: New file.
49
502007-08-29 Glenn Morris <rgm@gnu.org>
51
52 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
53 * src/Emacs.r: Increase version to 23.0.50.
54
552007-08-29 Károly Lőrentey <lorentey@elte.hu>
56
57 * makefile.MPW (EmacsObjects): Add terminal.c.x.
58 (callproc.c.x): Add dependencies frame.h, termhooks.h.
59 ({Src}terminal.c.x): New.
60 (shortlisp): Add server.elc and termdev.elc.
61
622007-07-25 Glenn Morris <rgm@gnu.org>
63
64 * Relicense all FSF files to GPLv3 or later.
65
66 * COPYING: Switch to GPLv3.
67
682007-06-02 Chong Yidong <cyd@stupidchicken.com>
69
70 * Version 22.1 released.
71
722007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
73
74 * INSTALL: Add note about moving self-contained application bundle
75 to non-ASCII directory.
76
772007-04-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
78
79 * INSTALL: Fix description about using colors in terminal.
80 Fix typos (/Application -> /Applications).
81
822007-04-26 Glenn Morris <rgm@gnu.org>
83
84 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
85 * src/Emacs.r: Increase version to 22.1.50.
86
872007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
88
89 * make-package (compver): Don't hardcode processor type.
90
912007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
92
93 * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x, lread.c.x)
94 (print.c.x, term.c.x): Depend on BLOCKINPUT_H_GROUP.
95
962007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
97
98 * inc/config.h: Sync with src/config.in.
99
1002007-01-30 Piet van Oostrum <piet@cs.uu.nl>
101
102 * make-package (compver): Install info and manpages.
103
1042006-12-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
105
106 * inc/config.h: Sync with src/config.in.
107
1082006-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
109
110 * INSTALL: Add descriptions about configuration and invocation.
111 Capitalize `Carbon'.
112
1132006-11-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
114
115 * inc/config.h: Sync with src/config.in.
116
1172006-11-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
118
119 * INSTALL: Remove descriptions about --without-x. Remove
120 --without-carbon from configure options for X11 build.
121
1222006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
123
124 * INSTALL: Remove descriptions about experimental flags.
125
126 * inc/config.h: Sync with src/config.in.
127
128 * src/Emacs.r (M_APPLE): New define.
129 (MENU): Use it.
130
1312006-09-15 Jay Belanger <belanger@truman.edu>
132
133 * COPYING: Replace "Library Public License" by "Lesser Public
134 License" throughout.
135
1362006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
137
138 * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x):
139 Depend on blockinput.h.
140
1412006-07-12 Kim F. Storm <storm@cua.dk>
142
143 * INSTALL: More cleanup related to last change.
144
1452006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
146
147 * INSTALL: Remove descriptions about Metrowerks CodeWarrior. Fix URL
148 for GNU-fonts.smi.bin. USE_ATSUI is enabled by default on Mac OS X.
149
150 * README: Remove descriptions about Metrowerks CodeWarrior.
151
1522006-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
153
154 * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
155
1562006-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
157
158 * inc/config.h (pid_t): Define to int.
159
1602006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
161
162 * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
163 src/Makefile.in.
164
1652005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
166
167 * makefile.MPW (macselect.c.x): Depend on keymap.h.
168
1692005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
170
171 * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
172 data. Make NSServices open-selection the first entry.
173
1742005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
175
176 * makefile.MPW (shortlisp): Sync with src/Makefile.in.
177
1782005-10-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
179
180 * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'. Add
181 `FIXME' to descriptions about Metrowerks CodeWarrior. Remove
182 obsolete description about 512MB limit and icon on Mac OS Classic.
183 Add description about flags for experimental features.
184
185 * README: Replace `Mac OS 8/9' with `Mac OS Classic'. Add `FIXME'
186 to descriptions about Metrowerks CodeWarrior. Remove obsolete
187 descriptions about C-g and supported image types.
188
1892005-10-20 Bryan D. O'Connor <bryan@lunch.org> (tiny change)
190
191 * make-package: Add a --compressed-dist option to compress info
192 files and .el files that have been byte-compiled. It defaults to "no".
193
1942005-09-24 Eli Zaretskii <eliz@gnu.org>
195
196 * INSTALL (NOTES): Update the list of versions of MacOS on which
197 Emacs should build.
198
199 * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
200 does not exist).
201
2022005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
203
204 * inc/config.h: Sync with src/config.in.
205
2062005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
207
208 * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
209 NSServices.
210
2112005-07-04 Lute Kamstra <lute@gnu.org>
212
213 Update FSF's address in GPL notices.
214
2152005-06-08 Steven Tamm <steventamm@mac.com>
216
217 * INSTALL: Explain that a universal binary cannot be created and
218 builds for on emachine cannot be targeted to the other.
219 * README: Add Universal Binary to the Todo List.
220
2212005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
222
223 * makefile.MPW (buildobj.lst): New target.
224 (Clean): Delete file buildobj.lst.
225 (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
226 (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
227 Remove variables.
228 (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP):
229 New variables.
230 ({DocTarget}DOC): Use them.
231 (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
232
233 * inc/config.h: Sync with src/config.in.
234 (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
235 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
236 (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
237 (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
238 [__MRC__] (HAVE_ALLOCA_H): Likewise.
239 (config_machfile, config_opsysfile, my_strftime): New macros.
240 (HAVE_PWD_H): Move from s-mac.h.
241 (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
242 (PTR): Move to s-mac.h.
243
244 * inc/m-mac.h (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
245
246 * inc/s-mac.h: Sync with src/s/template.h. Don't include fcntl.h,
247 time.h, or signal.h.
248 (index, rindex): New macros.
249 [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
250 compatibility with predefined ones.
251 (PTR): Move from s-mac.h.
252 (HAVE_PWD_H): Move to config.h.
253 (volatile): Remove macro.
254 [__MRC__] (strftime): Likewise.
255 (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
256 (sys_time, sys_signal, atof): Remove declarations.
257
258 * inc/sys/time.h (ITIMER_REAL): New macro.
259 (struct itimerval): New struct.
260 (setitimer): New extern.
261
2622005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
263
264 * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
265
2662005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
267
268 * makefile.MPW (MacObjects): Add macselect.c.x.
269 (macselect.c.x): New target.
270 (mac.c): Fix dependency.
271
272 * Emacs.app/Contents/Info.plist: Add NSServices key and data.
273
274 * inc/s-mac.h (HAVE_PWD_H): Define.
275
2762005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
277
278 * makefile.MPW (NonCarbonLibs): Add LocalesLib. Delete
279 TextEncodingConverter.
280
2812005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
282
283 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
284 (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
285 number and copyright.
286
287 * Emacs.r (DITL, vers): Likewise.
288
2892005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
290
291 * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
292 org.gnu.Emacs.
293
2942005-03-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
295
296 * INSTALL: Mention new target `NonCarbon'.
297
2982005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
299
300 * makefile.MPW (NonCarbon): New target. The target `Emacs' is now
301 used for the Carbon build that defines HAVE_CARBON.
302
303 * inc/config.h (HAVE_STDLIB_H): Define to 1.
304
305 * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
306 [HAVE_CARBON] (crfg): New resource for extra stack space.
307
3082004-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
309
310 * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
311 lastfile.c.x.
312 (PPCCOptions): Add -alloca.
313 (EmacsObjects): Remove alloca.c.x. Add fringe.c.x, image.c.x, and
314 lastfile.c.x.
315 (Emacs MPW): Add QuickTimeLib.
316 (EmacsSource): Remove alloca.c. Add fringe.c, image.c, and
317 lastfile.c.
318 (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
319 map-ynp.elc.
320 * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
321 (UNEXEC_SRC): Close comment.
322 * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
323 * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
324 (C_ALLOCA) [__MRC__]: Don't define.
325 * inc/s-mac.h (X_OK): New define.
326 (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
327 (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
328
3292004-05-29 Steven Tamm <steventamm@mac.com>
330
331 * INSTALL: Fixing typos
332 * README: Updating list of TODOs to remove image support and
333 environment variable problem.
334
3352004-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * src/Emacs.r: Update TOO_MUCH_RAM error message.
338
3392003-11-22 Lars Hansen <larsh@math.ku.dk>
340
341 * inc/grp.h: Added.
342
3432003-11-02 Andrew Choi <akochoi@shaw.ca>
344
345 * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
346 * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
347
3482003-10-31 Andrew Choi <akochoi@shaw.ca>
349
350 * INSTALL: Add Nozomu Ando's changes to instructions for
351 installing on X Window (that static libraries are no longer
352 necessary after his changes to src/unexmacosx.c).
353
3542003-04-28 Andrew Choi <akochoi@shaw.ca>
355
356 * make-package: Allocate 5% extra space on disk image for
357 directories and partition tables.
358
3592003-04-04 Steven Tamm <steventamm@mac.com>
360
361 * make-package: Place libexec executables directly under the
362 Contents/MacOS/libexec if the application is self-contained
363
3642003-04-01 Kim F. Storm <storm@cua.dk>
365
366 * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
367 (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
368
3692003-03-21 Kim F. Storm <storm@cua.dk>
370
371 * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
372 files included from it. Add dependency on keymap.h.
373
3742003-01-14 Steven Tamm <steventamm@mac.com>
375
376 * make-package: Fixed problem where the building without
377 specifying build directory fails.
378
3792003-01-07 Steven Tamm <steventamm@mac.com>
380
381 * INSTALL: Added documentation about --enable-carbon-app and
382 changed documentation concerning Emacs.app location.
383 Removed some of the documentation about make-package that isn't
384 needed.
385 Changed comment about requiring root permission to install to
386 saying that it might be necessary depending on where you install.
387 Refered to /usr caveat in more places.
388 * make-package (make_options): Use new carbon_appdir option to
389 specify directory to install Application and lets the makefile
390 install.
391
3922003-01-01 Steven Tamm <steventamm@mac.com>
393
394 * make-package: Now copies License and ReadMe files into the
395 Resources directory. Reduces overhead size when creating
396 installer disk image.
397
3982002-12-29 Steven Tamm <steventamm@mac.com>
399
400 * make-package: Defaults to building the source tree in a
401 separate directory. Use the new option --build-in-place to
402 have old behavior. Added new option --build-dir to specify the
403 build directory.
404
4052002-12-27 Steven Tamm <steventamm@mac.com>
406
407 * make-package: Fix typo where tmpparent was used instead of
408 tempparent for calculating installedSize and compressedSize.
409
4102002-12-10 Andreas Schwab <schwab@suse.de>
411
412 * make-package: Fix syntax for find.
413
4142002-12-08 Steven Tamm <steventamm@mac.com>
415
416 * INSTALL: Added description about make-package.
417
418 * make-package: Fixed --self-contained option to place the
419 directories in the correct locations for
420 init_mac_osx_environment and use hardlink by default for the
421 application. Script fails with invalid option.
422
4232002-12-02 Andrew Choi <akochoi@shaw.ca>
424
425 * make-bin-dist, osx-install: Remove.
426
427 * INSTALL: Remove description of make-bin-dist and osx-install.
428
4292002-12-02 Steven Tamm <steventamm@mac.com>
430
431 * make-package (installprefix): Switched copying of .el files
432 to be on by default. Removed symlink for emacs -> emacs-version.
433
4342002-11-30 Steven Tamm <steventamm@mac.com>
435
436 * make-package: Now compresses .pax file instead of entire disk
437 image to reduce installer size on disk. Also added code to
438 create compressed disk image in the future.
439
440 No longer copies .el files that have been compiled by default.
441 Use --full-dist option to include them.
442
443 Option --symlink added to reduce disk size by making
444 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
445 symlinks to the emacs-[version] binary.
446
447 Option --self-contained added to place files shared files
448 inside the Emacs.app executable (for portability between systems)
449
450 Added hidden debugging option --keep-dir to keep temporary install
451 directory (emacs-[version]) around after running script
452
453 * README: Removed comment about mouse-2 & -3 not working (it does).
454
4552002-10-14 Andreas Schwab <schwab@suse.de>
456
457 * make-package: Fix syntax for find.
458
4592002-10-08 Steven Tamm <steventamm@mac.com>
460
461 * make-package: Added ability to pass command line options
462 through to make and configure (-m, & -c,).
463 Added option to not copy Application into installer, the default
464 for X11 builds. Does not copy CVS directories into installer.
465 Clarified some of the usage notes.
466
4672002-10-07 Steven Tamm <steventamm@mac.com>
468
469 * make-package: Now calls make bootstrap if .elc files are missing.
470
4712002-08-27 Andrew Choi <akochoi@shaw.ca>
472
473 * INSTALL: Add information on starting Emacs as a GUI application
474 from the terminal.
475
4762002-08-15 Andrew Choi <akochoi@shaw.ca>
477
478 * INSTALL: Add instructions for building Carbon version on Macs
479 with X Window installed.
480
4812002-07-31 Andrew Choi <akochoi@shaw.ca>
482
483 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
484 Change creator code from ???? to EMAx.
485
486 * INSTALL: Add instructions for building X Window version.
487
4882002-07-11 Andrew Choi <akochoi@shaw.ca>
489
490 * make-package: Change -a option to -R for cp command.
491
4922002-07-05 Andrew Choi <akochoi@shaw.ca>
493
494 * make-package: Add ability to handle options --help, --prefix,
495 --no-conf, and --with-x.
496
4972002-07-04 Andrew Choi <akochoi@shaw.ca>
498
499 * make-package: New file.
500
5012002-07-01 Andrew Choi <akochoi@shaw.ca>
502
503 * Emacs.app/Contents/Resources/Emacs.icns: New file.
504
505 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
506 CFBundleIconFile entries.
507
5082002-04-13 Andrew Choi <akochoi@shaw.ca>
509
510 * Emacs.app/Contents/Info.plist: New file.
511
512 * Emacs.app/Contents/PkgInfo: New file.
513
514 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
515 New file.
516
517 * cw5-mcp.xml: Remove file.
518
519 * inc/defs-cw5.h: Remove file.
520
521 * cw6-mcp.xml: Update with new version.
522
523 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
524 of constant CODEWARRIOR_VERSION_6.
525
526 * mac/src/mac.c:
527 * mac/src/macmenu.c:
528 * mac/src/macterm.c:
529 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
530
531 * src/Carbon.r: New File.
532
533 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
534 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
535 macterm.h. Generate DOC from .el instead of .elc versions of
536 files listed in DONTCOMPILE in lisp/Makefile.in.
537
538 * INSTALL: Add installation instructions for Mac OS X.
539
540 * README: Add information for Mac OS X.
541
542 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
543 * src/macterm.c, inc/macterm.h: Remove from here and move to src.
544
5452002-04-12 Andrew Choi <akochoi@shaw.ca>
546
547 * src/mac.c (select): Under Carbon, always return true so
548 XTread_socket is called to poll input.
549 (run_mac_command): Not implemented under Carbon.
550 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
551 establish pathname.
552 (do_applescript): Use Carbon routines AEGetDescDatASize and
553 AEGetDescData.
554 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
555 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
556 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
557 GetCurrentScrap, and PutScrapFlavor.
558 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
559 GetScrapFlavorFlags.
560
561 * src/macfns.c: Synchronize with changes in w32fns.c.
562 [MAC_OSX]: Include Carbon headers.
563 (x_real_positions): Use Carbon routine GetWindowPortBounds.
564 (x_set_scroll_bar_width): Set width of scroll bar to 16.
565 (x_make_gc): Remove static qualifier.
566
567 * src/macmenu.c: Synchronize with changes in w32menu.c.
568 [MAC_OSX]: Include Carbon headers.
569 (set_frame_menubar): Check equality of vector representation of
570 scroll bars using Fequal instead of EQ.
571 (mac_menu_show): Use Carbon routine GetWindowPort.
572 (mac_dialog): Likewise.
573 (add_menu_item): Use Carbon routines CountMenuItems,
574 EnableMenuItem, and DisableMenuItem.
575
576 * src/macterm.c: Synchronize with changes in w32term.c.
577 [MAC_OSX]: Include Carbon headers.
578 (XDrawLine): Use Carbon routine GetWindowPort.
579 (XClearArea): Likewise.
580 (XClearWindow): Use Carbon routines GetWindowPort and
581 GetWindowPortBounds.
582 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
583 GetPortPixMap.
584 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
585 (mac_reset_clipping): Use Carbon routine GetWindowPort.
586 (XFillRectangle): Likewise.
587 (mac_draw_rectangle): Likewise.
588 (mac_draw_rectangle_to_pixmap): Likewise.
589 (mac_draw_string_common): Likewise.
590 (mac_copy_area): Use Carbon routines GetWindowPort and
591 GetPortPixMap.
592 (mac_scroll_area): Use Carbon routines GetWindowPort and
593 GetQDGlobalsScreenBits.
594 (x_flush): Call Carbon routine QDFlushPortBuffer.
595 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
596 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
597 (x_draw_image_glyph_string): Likewise.
598 (x_draw_stretch_glyph_string): Likewise.
599 (construct_mouse_click): Call Carbon routine GetWindowPort.
600 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
601 (XTmouse_position): Call Carbon routine GetWindowPort.
602 (x_scroll_bar_create): Create scroll bar with proc
603 kControlScrollBarProc.
604 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
605 (activate_scroll_bar): Call ActivateControl instead of
606 SetControlMaximum.
607 (deactivate_scroll_bar): Call DeactivateControl instead of
608 SetControlMaximum.
609 (x_scroll_bar_handle_click): Use default case for scroll
610 indicator.
611 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
612 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
613 GetWindowPortBounds.
614 (init_font_name_table): Call Carbon Font Manager routines to
615 iterate through all fonts.
616 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
617 GetPortTextSize, and GetPortTextFace.
618 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
619 (is_emacs_window): New function to filter out non-Emacs windows
620 passed back by WaitNextEvent.
621 (do_mouse_moved): Call Carbon routine GetWindowPort.
622 (do_apple_menu): No apple menu handler under Carbon.
623 (do_zoom_window): Call Carbon routines GetWindowPort,
624 GetQDGlobalsScreenBits, SetWindowStandardState, and
625 GetWindowPortBounds.
626 (init_required_apple_events): Use UPP procedure type converter.
627 (main): Don't define for Carbon version.
628 (XTread_socket): Don't check interrupt_input_blocked. Don't call
629 check_alarm. Call Carbon routines GetWindowPort,
630 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
631 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
632 routine GetWindowPort.
633 (mac_initialize): Rename from x_initialize. Use new Doc string
634 format.
635
636 * inc/macterm.h: Synchronize with changes in w32term.h.
637
638 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
639 WindowPtr.
640
6412002-01-28 Kim F. Storm <storm@cua.dk>
642
643 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
644 cursor row is invisible. This can happen if cursor is on top line
645 of a window, and we switch to a buffer with a header line.
646
6472001-12-22 Pavel Janík <Pavel@Janik.cz>
648
649 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
650
6512001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
652
653 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
654 frame parameter have a numeric value all the time.
655
6562001-12-08 Pavel Janík <Pavel@Janik.cz>
657
658 * COPYING: New file.
659
6602001-12-06 Kim F. Storm <storm@cua.dk>
661
662 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
663
6642001-12-01 Kim F. Storm <storm@cua.dk>
665
666 The following changes add left-fringe and right-fringe
667 frame parameters to adjust fringe widths, or remove one or
668 both fringes. See ../src/ChangeLog for details.
669
670 * inc/macterm.h: Merged changes from xterm.h.
671 * src/macterm.c: Merged changes from xterm.c.
672 * src/macfns.c: Merged changes from xfns.c.
673
6742001-11-16 Pavel Janík <Pavel@Janik.cz>
675
676 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
677
6782001-11-16 Kim F. Storm <storm@cua.dk>
679
680 The following changes are made to clean up the various internal
681 references to the fringes to actually use the term `fringe'.
682
683 * src/macfns.c: Use renamed symbols.
684
685 * src/macterm.c: Comment fixes. Use renamed symbols.
686 (fringe_bitmap_type): Renamed from bitmap_type.
687 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
688 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
689 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
690
691 * inc/macterm.h: Comment fixes. Use renamed symbols.
692 (fringes_extra): Renamed from flags_areas_extra.
693 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
694 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
695 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
696 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
697 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
698 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
699
7002001-10-20 Gerd Moellmann <gerd@gnu.org>
701
702 * (Version 21.1 released.)
703
7042001-10-11 Stefan Monnier <monnier@cs.yale.edu>
705
706 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
707 * src/mac.c (run_mac_command): Update calls to openp.
708
7092001-10-08 Stefan Monnier <monnier@cs.yale.edu>
710
711 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
712
713 * src/macterm.c: Include keymap.h.
714 (note_mode_line_highlight): Use KEYMAPP.
715
7162001-10-05 Gerd Moellmann <gerd@gnu.org>
717
718 * Branch for 21.1.
719
7202001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
721
722 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
723
724 * src/macterm.c (XTread_socket): Read all pending events in the
725 event queue instead of one.
726 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
727 a script code of -smJapanese is specified.
728 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
729 encoding.
730 (init_font_name_table): Use a script code of -smJapanese instead
731 of smRoman for the second entry of a Japanese font.
732 (XLoadQueryFont): Recognize a font as having the smRoman script
733 code if its encoding is jisx0201.1976-0.
734
735 * makefile.MPW: Generate etc/DOC file from .elc files instead of
736 .el files.
737
738 * src/mac.c (stat): Don't fail for aliases.
739 (sys_open) [__MRC__]: Set file creator and type for newly-created
740 files.
741 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
742 elapsed instead of use WaitNextEvent call as a delay.
743
7442001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
745
746 * src/macterm.c (init_font_name_table): Add an additional entry to
747 the font table with the script code smRoman for each Apple
748 Japanese font.
749 (XLoadQueryFont): Recognize a font as having the smRoman script
750 code even when FontToScript returns smJapanese if it is one of
751 those created above.
752
7532001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
754
755 * INSTALL: Add to the note on using -opt speed in MPW the function
756 macterm.c (x_draw_hollow_cursor).
757
758 * src/macterm.c (mac_scroll_area): Call CopyBits with local
759 coordinates and portBits instead of global coordinates and
760 screenBits. Set fore color and back color to black and white,
761 respectively, before calling CopyBits.
762
763 * src/macterm.c (local_to_global_coord): Comment out.
764
765 * src/mac.c (mac-filename-to-unix): Change to
766 mac-file-name-to-posix.
767 (unix-filename-to-mac): Change to posix-file-name-to-mac.
768 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
769 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
770
771 * src/macterm.c (do_ae_open_documents): Change call to
772 mac_to_unix_pathname to mac_to_posix_pathname.
773
7742001-07-26 Andrew Choi <akochoi@i-cable.com>
775
776 * inc/macterm.h (x_display_list): Declare extern.
777
7782001-07-20 Pavel Janík <Pavel@Janik.cz>
779
780 * src/macterm.c (xim_open_dpy): Fix typo.
781
7822001-06-26 Andrew Choi <akochoi@i-cable.com>
783
784 * README: Change references to SourceForge site to
785 ftp://ftp.gnu.org/gnu/mac/emacs/.
786
7872001-05-15 Gerd Moellmann <gerd@gnu.org>
788
789 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
790
7912001-05-15 Andrew Choi <akochoi@i-cable.com>
792
793 * src/Emacs.r: Change About box message.
794
795 * makefile.MPW: Add md5.c.x to EmacsObjects.
796
797 * src/mac.c (select): Call WaitNextEvent instead of Delay.
798 (pause): Ditto.
799 (sleep): Ditto.
800
801 * src/macterm.c (do_app_resume): Set cursor to arrow.
802 (clear_mouse_face): check for NIL Lisp object instead of null
803 pointer.
804
805 * INSTALL: Delete note on compiling Lisp files on a Unix system.
806 Add note on turning off end of line conversion.
807
8082001-02-27 Andrew Choi <akochoi@i-cable.com>
809
810 * src/macfns.c: Rename everything containing *busy_cursor* and
811 similar to *hourglass*.
812 Change IMAGE_POSITIVE_INTEGER_VALUE to
813 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
814 (x_set_font): If font hasn't changed, avoid recomputing faces and
815 other things, as in xfns.c.
816 (Qcancel_timer): New variable.
817 (syms_of_macfns): Rename x-busy-pointer-shape to
818 x-hourglass-pointer-shape, display-busy-cursor to
819 display-hourglass, busy-cursor-delay to hourglass-delay, as in
820 xfns.c.
821 (x_set_tool_bar_lines): Modify as in xfns.c
822 (x_change_window_heights): New function.
823
824 * inc/macterm.h (struct x_output): Rename busy_cursor to
825 hourglass_cursor, busy_window to hourglass_window, busy_p to
826 hourglass_p, as in xterm.h.
827
828 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
829 safe_run_hooks, as in xmenu.c.
830
831 * src/macterm.c (do_check_ram_size): New function.
832
833 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
834 256 MB RAM.
835
8362001-02-20 Andrew Choi <akochoi@i-cable.com>
837
838 * mac/INSTALL:
839 * mac/README:
840 * mac/cw5-mcp.xml:
841 * mac/cw6-mcp.xml:
842 * mac/inc/alloca.h:
843 * mac/inc/defs-cw5.h:
844 * mac/inc/defs-cw6.h: Added copyright notice.
845
8462001-01-28 Andrew Choi <akochoi@i-cable.com>
847
848 * src/macterm.c (mac_font_pattern_match): Allocate three more
849 bytes to regex for '^', '$', and '\0'.
850
851 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
852 garbage collection.
853
854 * src/macfns.c (QCconversion): Replaces QCalgorithm.
855
856 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
857 image margins.
858
859 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
860 (x_draw_image_relief, x_draw_image_foreground_1)
861 (x_draw_image_glyph_string): Adapt to change of image margins.
862
863 * src/macterm.c (mac_to_x_fontname): Change charset name of
864 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
865 from ksc5601 to ksc5601.1989.
866
8672000-12-12 Andrew Choi <akochoi@i-cable.com>
868
869 * cw5-mcp.xml: Add md5.c to project.
870
871 * cw6-mcp.xml: Add md5.c to project.
872
873 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): Change to handle
874 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
875
8762000-11-26 Andrew Choi <akochoi@i-cable.com>
877
878 * src/macterm.c (x_handle_tool_bar_click, note_tool_bar_highlight):
879 Change references to members deleted from struct frame as in xterm.c.
880
881 * inc/epaths.h: Set PATH_EXEC to ~emacs/mac instead of
882 ~emacs/mac/bin.
883
8842000-10-25 Andrew Choi <akochoi@i-cable.com>
885
886 * cw5-mcp.xml: Renamed from emacs-cw5.mcp.xml.
887
888 * cw6-mcp.xml: Renamed from emacs-cw6.mcp.xml.
889
890 * inc/defs-cw5.h: Renamed from inc/cmdline-defs-cw5.h.
891
892 * inc/defs-cw6.h: Renamed from inc/cmdline-defs-cw6.h.
893
8942000-10-24 Andrew Choi <akochoi@i-cable.com>
895
896 * src/macterm.c (XTread_socket): Check whether Lisp variable
897 mac-ready-for-drag-n-drop is bound rather than non-nil value.
898
8992000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
900
901 * INSTALL: New file.
902
903 * README: New file.
904
905 * TODO: New file.
906
907 * emacs-cw5.mcp.xml: New file.
908
909 * emacs-cw6.mcp.xml: New file.
910
911 * makefile.MPW: New file.
912
913 * inc/alloca.h: New file.
914
915 * inc/cmdline-defs-cw5.h: New file.
916
917 * inc/cmdline-defs-cw6.h: New file.
918
919 * inc/config.h: New file.
920
921 * inc/dirent.h: New file.
922
923 * inc/epaths.h: New file.
924
925 * inc/m-mac.h: New file.
926
927 * inc/macgui.h: New file.
928
929 * inc/macterm.h: New file.
930
931 * inc/pwd.h: New file.
932
933 * inc/s-mac.h: New file.
934
935 * inc/termio.h: New file.
936
937 * inc/utime.h: New file.
938
939 * inc/utsname.h: New file.
940
941 * inc/sys/file.h: New file.
942
943 * inc/sys/ioctl.h: New file.
944
945 * inc/sys/param.h: New file.
946
947 * inc/sys/stat.h: New file.
948
949 * inc/sys/time.h: New file.
950
951 * inc/sys/types.h: New file.
952
953 * src/Emacs.r: New file.
954
955 * src/EmacsMPW.r: New file.
956
957 * src/chdir.c: New file.
958
959 * src/mac.c: New file.
960
961 * src/macfns.c: New file.
962
963 * src/macmenu.c: New file.
964
965 * src/macterm.c: New file.
966
967;; Local Variables:
968;; coding: utf-8
969;; add-log-time-zone-rule: t
970;; End:
971
972 Copyright (C) 2001, 2002, 2003, 2004, 2005,
973 2006, 2007, 2008 Free Software Foundation, Inc.
974
975 This file is part of GNU Emacs.
976
977 GNU Emacs is free software: you can redistribute it and/or modify
978 it under the terms of the GNU General Public License as published by
979 the Free Software Foundation, either version 3 of the License, or
980 (at your option) any later version.
981
982 GNU Emacs is distributed in the hope that it will be useful,
983 but WITHOUT ANY WARRANTY; without even the implied warranty of
984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
985 GNU General Public License for more details.
986
987 You should have received a copy of the GNU General Public License
988 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
989
990;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf
diff --git a/mac/Emacs.app/Contents/.gitignore b/mac/Emacs.app/Contents/.gitignore
deleted file mode 100644
index a502976befb..00000000000
--- a/mac/Emacs.app/Contents/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
1MacOS
2Resources Disabled
diff --git a/mac/Emacs.app/Contents/Info.plist b/mac/Emacs.app/Contents/Info.plist
deleted file mode 100644
index f8661bca7df..00000000000
--- a/mac/Emacs.app/Contents/Info.plist
+++ /dev/null
@@ -1,571 +0,0 @@
1<!--
2Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
3 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19-->
20
21<?xml version="1.0" encoding="UTF-8"?>
22<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
23<plist version="0.9">
24<dict>
25 <key>CFBundleDevelopmentRegion</key>
26 <string>English</string>
27 <key>CFBundleDocumentTypes</key>
28 <array>
29 <dict>
30 <key>CFBundleTypeExtensions</key>
31 <array>
32 <string>text</string>
33 <string>txt</string>
34 </array>
35 <key>CFBundleTypeIconFile</key>
36 <string>document.icns</string>
37 <key>CFBundleTypeName</key>
38 <string>Plain text document</string>
39 <key>CFBundleTypeOSTypes</key>
40 <array>
41 <string>TEXT</string>
42 <string>utxt</string>
43 </array>
44 <key>CFBundleTypeRole</key>
45 <string>Editor</string>
46 </dict>
47 <dict>
48 <key>CFBundleTypeExtensions</key>
49 <array>
50 <string>html</string>
51 <string>htm</string>
52 <string>shtm</string>
53 <string>shtml</string>
54 <string>jsp</string>
55 <string>asp</string>
56 </array>
57 <key>CFBundleTypeIconFile</key>
58 <string>document.icns</string>
59 <key>CFBundleTypeName</key>
60 <string>HTML document</string>
61 <key>CFBundleTypeOSTypes</key>
62 <array>
63 <string>HTML</string>
64 </array>
65 <key>CFBundleTypeRole</key>
66 <string>Editor</string>
67 </dict>
68 <dict>
69 <key>CFBundleTypeExtensions</key>
70 <array>
71 <string>css</string>
72 </array>
73 <key>CFBundleTypeIconFile</key>
74 <string>document.icns</string>
75 <key>CFBundleTypeName</key>
76 <string>CSS style sheet</string>
77 <key>CFBundleTypeRole</key>
78 <string>Editor</string>
79 </dict>
80 <dict>
81 <key>CFBundleTypeExtensions</key>
82 <array>
83 <string>xhtml</string>
84 <string>xhtm</string>
85 </array>
86 <key>CFBundleTypeIconFile</key>
87 <string>document.icns</string>
88 <key>CFBundleTypeName</key>
89 <string>XHTML document</string>
90 <key>CFBundleTypeRole</key>
91 <string>Editor</string>
92 </dict>
93 <dict>
94 <key>CFBundleTypeExtensions</key>
95 <array>
96 <string>xml</string>
97 <string>xsl</string>
98 <string>xslt</string>
99 <string>xbl</string>
100 <string>xul</string>
101 <string>rdf</string>
102 <string>dtd</string>
103 </array>
104 <key>CFBundleTypeIconFile</key>
105 <string>document.icns</string>
106 <key>CFBundleTypeName</key>
107 <string>XML document</string>
108 <key>CFBundleTypeRole</key>
109 <string>Editor</string>
110 </dict>
111 <dict>
112 <key>CFBundleTypeExtensions</key>
113 <array>
114 <string>sgml</string>
115 <string>sgm</string>
116 </array>
117 <key>CFBundleTypeIconFile</key>
118 <string>document.icns</string>
119 <key>CFBundleTypeName</key>
120 <string>SGML document</string>
121 <key>CFBundleTypeRole</key>
122 <string>Editor</string>
123 </dict>
124 <dict>
125 <key>CFBundleTypeExtensions</key>
126 <array>
127 <string>yml</string>
128 </array>
129 <key>CFBundleTypeIconFile</key>
130 <string>document.icns</string>
131 <key>CFBundleTypeName</key>
132 <string>YAML document</string>
133 <key>CFBundleTypeRole</key>
134 <string>Editor</string>
135 </dict>
136 <dict>
137 <key>CFBundleTypeExtensions</key>
138 <array>
139 <string>js</string>
140 <string>JS</string>
141 </array>
142 <key>CFBundleTypeIconFile</key>
143 <string>document.icns</string>
144 <key>CFBundleTypeName</key>
145 <string>JavaScript script</string>
146 <key>CFBundleTypeRole</key>
147 <string>Editor</string>
148 </dict>
149 <dict>
150 <key>CFBundleTypeExtensions</key>
151 <array>
152 <string>php</string>
153 <string>php3</string>
154 <string>php4</string>
155 </array>
156 <key>CFBundleTypeIconFile</key>
157 <string>document.icns</string>
158 <key>CFBundleTypeName</key>
159 <string>PHP script</string>
160 <key>CFBundleTypeRole</key>
161 <string>Editor</string>
162 </dict>
163 <dict>
164 <key>CFBundleTypeExtensions</key>
165 <array>
166 <string>tcl</string>
167 </array>
168 <key>CFBundleTypeIconFile</key>
169 <string>document.icns</string>
170 <key>CFBundleTypeName</key>
171 <string>Tcl script</string>
172 <key>CFBundleTypeRole</key>
173 <string>Editor</string>
174 </dict>
175 <dict>
176 <key>CFBundleTypeExtensions</key>
177 <array>
178 <string>rb</string>
179 </array>
180 <key>CFBundleTypeIconFile</key>
181 <string>document.icns</string>
182 <key>CFBundleTypeName</key>
183 <string>Ruby script</string>
184 <key>CFBundleTypeRole</key>
185 <string>Editor</string>
186 </dict>
187 <dict>
188 <key>CFBundleTypeExtensions</key>
189 <array>
190 <string>py</string>
191 </array>
192 <key>CFBundleTypeIconFile</key>
193 <string>document.icns</string>
194 <key>CFBundleTypeName</key>
195 <string>Python script</string>
196 <key>CFBundleTypeRole</key>
197 <string>Editor</string>
198 </dict>
199 <dict>
200 <key>CFBundleTypeExtensions</key>
201 <array>
202 <string>pl</string>
203 <string>pm</string>
204 </array>
205 <key>CFBundleTypeIconFile</key>
206 <string>document.icns</string>
207 <key>CFBundleTypeName</key>
208 <string>Perl script</string>
209 <key>CFBundleTypeRole</key>
210 <string>Editor</string>
211 </dict>
212 <dict>
213 <key>CFBundleTypeExtensions</key>
214 <array>
215 <string>sh</string>
216 <string>csh</string>
217 </array>
218 <key>CFBundleTypeIconFile</key>
219 <string>document.icns</string>
220 <key>CFBundleTypeName</key>
221 <string>Shell script</string>
222 <key>CFBundleTypeRole</key>
223 <string>Editor</string>
224 </dict>
225 <dict>
226 <key>CFBundleTypeExtensions</key>
227 <array>
228 <string>h</string>
229 </array>
230 <key>CFBundleTypeIconFile</key>
231 <string>document.icns</string>
232 <key>CFBundleTypeName</key>
233 <string>C Header Source File</string>
234 <key>CFBundleTypeRole</key>
235 <string>Editor</string>
236 </dict>
237 <dict>
238 <key>CFBundleTypeExtensions</key>
239 <array>
240 <string>c</string>
241 </array>
242 <key>CFBundleTypeIconFile</key>
243 <string>document.icns</string>
244 <key>CFBundleTypeName</key>
245 <string>C Source File</string>
246 <key>CFBundleTypeRole</key>
247 <string>Editor</string>
248 </dict>
249 <dict>
250 <key>CFBundleTypeExtensions</key>
251 <array>
252 <string>hh</string>
253 <string>hp</string>
254 <string>hpp</string>
255 <string>hxx</string>
256 <string>h++</string>
257 </array>
258 <key>CFBundleTypeIconFile</key>
259 <string>document.icns</string>
260 <key>CFBundleTypeName</key>
261 <string>C++ Header Source File</string>
262 <key>CFBundleTypeRole</key>
263 <string>Editor</string>
264 </dict>
265 <dict>
266 <key>CFBundleTypeExtensions</key>
267 <array>
268 <string>cc</string>
269 <string>cp</string>
270 <string>cpp</string>
271 <string>cxx</string>
272 <string>c++</string>
273 </array>
274 <key>CFBundleTypeIconFile</key>
275 <string>document.icns</string>
276 <key>CFBundleTypeName</key>
277 <string>C++ Source File</string>
278 <key>CFBundleTypeRole</key>
279 <string>Editor</string>
280 </dict>
281 <dict>
282 <key>CFBundleTypeExtensions</key>
283 <array>
284 <string>m</string>
285 </array>
286 <key>CFBundleTypeIconFile</key>
287 <string>document.icns</string>
288 <key>CFBundleTypeName</key>
289 <string>Objective-C Source File</string>
290 <key>CFBundleTypeRole</key>
291 <string>Editor</string>
292 </dict>
293 <dict>
294 <key>CFBundleTypeExtensions</key>
295 <array>
296 <string>s</string>
297 <string>asm</string>
298 </array>
299 <key>CFBundleTypeIconFile</key>
300 <string>document.icns</string>
301 <key>CFBundleTypeName</key>
302 <string>Assembly Source File</string>
303 <key>CFBundleTypeRole</key>
304 <string>Editor</string>
305 </dict>
306 <dict>
307 <key>CFBundleTypeExtensions</key>
308 <array>
309 <string>java</string>
310 <string>jav</string>
311 </array>
312 <key>CFBundleTypeIconFile</key>
313 <string>document.icns</string>
314 <key>CFBundleTypeName</key>
315 <string>Java Source File</string>
316 <key>CFBundleTypeRole</key>
317 <string>Editor</string>
318 </dict>
319 <dict>
320 <key>CFBundleTypeExtensions</key>
321 <array>
322 <string>f</string>
323 <string>for</string>
324 <string>f77</string>
325 <string>f90</string>
326 <string>f95</string>
327 <string>f99</string>
328 </array>
329 <key>CFBundleTypeIconFile</key>
330 <string>document.icns</string>
331 <key>CFBundleTypeName</key>
332 <string>Fortran Source File</string>
333 <key>CFBundleTypeRole</key>
334 <string>Editor</string>
335 </dict>
336 <dict>
337 <key>CFBundleTypeExtensions</key>
338 <array>
339 <string>pas</string>
340 </array>
341 <key>CFBundleTypeIconFile</key>
342 <string>document.icns</string>
343 <key>CFBundleTypeName</key>
344 <string>Pascal Source file</string>
345 <key>CFBundleTypeRole</key>
346 <string>Editor</string>
347 </dict>
348 <dict>
349 <key>CFBundleTypeExtensions</key>
350 <array>
351 <string>ada</string>
352 <string>adb</string>
353 <string>ads</string>
354 </array>
355 <key>CFBundleTypeIconFile</key>
356 <string>document.icns</string>
357 <key>CFBundleTypeName</key>
358 <string>Ada Source File</string>
359 <key>CFBundleTypeRole</key>
360 <string>Editor</string>
361 </dict>
362 <dict>
363 <key>CFBundleTypeExtensions</key>
364 <array>
365 <string>el</string>
366 </array>
367 <key>CFBundleTypeIconFile</key>
368 <string>document.icns</string>
369 <key>CFBundleTypeName</key>
370 <string>Emacs Lisp Source File</string>
371 <key>CFBundleTypeRole</key>
372 <string>Editor</string>
373 </dict>
374 <dict>
375 <key>CFBundleTypeExtensions</key>
376 <array>
377 <string>hs</string>
378 <string>lhs</string>
379 </array>
380 <key>CFBundleTypeIconFile</key>
381 <string>document.icns</string>
382 <key>CFBundleTypeName</key>
383 <string>Haskell Source File</string>
384 <key>CFBundleTypeRole</key>
385 <string>Editor</string>
386 </dict>
387 <dict>
388 <key>CFBundleTypeExtensions</key>
389 <array>
390 <string>lua</string>
391 </array>
392 <key>CFBundleTypeIconFile</key>
393 <string>document.icns</string>
394 <key>CFBundleTypeName</key>
395 <string>Lua Source File</string>
396 <key>CFBundleTypeRole</key>
397 <string>Editor</string>
398 </dict>
399 <dict>
400 <key>CFBundleTypeExtensions</key>
401 <array>
402 <string>pro</string>
403 </array>
404 <key>CFBundleTypeIconFile</key>
405 <string>document.icns</string>
406 <key>CFBundleTypeName</key>
407 <string>IDL Procedure File</string>
408 <key>CFBundleTypeRole</key>
409 <string>Editor</string>
410 </dict>
411 <dict>
412 <key>CFBundleTypeExtensions</key>
413 <array>
414 <string>gp</string>
415 </array>
416 <key>CFBundleTypeIconFile</key>
417 <string>document.icns</string>
418 <key>CFBundleTypeName</key>
419 <string>gnuplot file</string>
420 <key>CFBundleTypeRole</key>
421 <string>Editor</string>
422 </dict>
423 <dict>
424 <key>CFBundleTypeExtensions</key>
425 <array>
426 <string>bib</string>
427 </array>
428 <key>CFBundleTypeIconFile</key>
429 <string>document.icns</string>
430 <key>CFBundleTypeName</key>
431 <string>BibTeX document</string>
432 <key>CFBundleTypeRole</key>
433 <string>Editor</string>
434 </dict>
435 <dict>
436 <key>CFBundleTypeExtensions</key>
437 <array>
438 <string>tex</string>
439 <string>ltx</string>
440 <string>ctx</string>
441 <string>latex</string>
442 <string>texi</string>
443 </array>
444 <key>CFBundleTypeIconFile</key>
445 <string>document.icns</string>
446 <key>CFBundleTypeName</key>
447 <string>TeX document</string>
448 <key>CFBundleTypeRole</key>
449 <string>Editor</string>
450 </dict>
451 <dict>
452 <key>CFBundleTypeExtensions</key>
453 <array>
454 <string>*</string>
455 </array>
456 <key>CFBundleTypeName</key>
457 <string>All</string>
458 <key>CFBundleTypeOSTypes</key>
459 <array>
460 <string>****</string>
461 </array>
462 <key>CFBundleTypeRole</key>
463 <string>Viewer</string>
464 </dict>
465 </array>
466 <key>CFBundleExecutable</key>
467 <string>Emacs</string>
468 <key>CFBundleIconFile</key>
469 <string>Emacs.icns</string>
470 <key>CFBundleIdentifier</key>
471 <string>org.gnu.Emacs</string>
472 <key>CFBundleInfoDictionaryVersion</key>
473 <string>6.0</string>
474 <key>CFBundlePackageType</key>
475 <string>APPL</string>
476 <key>CFBundleSignature</key>
477 <string>EMAx</string>
478 <key>CFBundleVersion</key>
479 <string>1.1</string>
480 <key>CFBundleURLTypes</key>
481 <array>
482 <dict>
483 <key>CFBundleURLName</key>
484 <string>Email Address URL</string>
485 <key>CFBundleURLSchemes</key>
486 <array>
487 <string>mailto</string>
488 </array>
489 </dict>
490 </array>
491 <key>NSServices</key>
492 <array>
493 <dict>
494 <key>NSKeyEquivalent</key>
495 <dict/>
496 <key>NSMenuItem</key>
497 <dict>
498 <key>default</key>
499 <string>Emacs/New Buffer Containing Selection</string>
500 </dict>
501 <key>NSMessage</key>
502 <string>open-selection</string>
503 <key>NSPortName</key>
504 <string>Emacs</string>
505 <key>NSReturnTypes</key>
506 <array/>
507 <key>NSSendTypes</key>
508 <array>
509 <string>NSStringPboardType</string>
510 </array>
511 </dict>
512 <dict>
513 <key>NSKeyEquivalent</key>
514 <dict/>
515 <key>NSMenuItem</key>
516 <dict>
517 <key>default</key>
518 <string>Emacs/Open Selected File</string>
519 </dict>
520 <key>NSMessage</key>
521 <string>open-file</string>
522 <key>NSPortName</key>
523 <string>Emacs</string>
524 <key>NSReturnTypes</key>
525 <array/>
526 <key>NSSendTypes</key>
527 <array>
528 <string>NSStringPboardType</string>
529 </array>
530 </dict>
531 <dict>
532 <key>NSKeyEquivalent</key>
533 <dict/>
534 <key>NSMenuItem</key>
535 <dict>
536 <key>default</key>
537 <string>Emacs/Send Selection</string>
538 </dict>
539 <key>NSMessage</key>
540 <string>mail-selection</string>
541 <key>NSPortName</key>
542 <string>Emacs</string>
543 <key>NSReturnTypes</key>
544 <array/>
545 <key>NSSendTypes</key>
546 <array>
547 <string>NSStringPboardType</string>
548 </array>
549 </dict>
550 <dict>
551 <key>NSKeyEquivalent</key>
552 <dict/>
553 <key>NSMenuItem</key>
554 <dict>
555 <key>default</key>
556 <string>Emacs/Send To</string>
557 </dict>
558 <key>NSMessage</key>
559 <string>mail-to</string>
560 <key>NSPortName</key>
561 <string>Emacs</string>
562 <key>NSReturnTypes</key>
563 <array/>
564 <key>NSSendTypes</key>
565 <array>
566 <string>NSStringPboardType</string>
567 </array>
568 </dict>
569 </array>
570</dict>
571</plist>
diff --git a/mac/Emacs.app/Contents/PkgInfo b/mac/Emacs.app/Contents/PkgInfo
deleted file mode 100644
index 1db8ff2f6a9..00000000000
--- a/mac/Emacs.app/Contents/PkgInfo
+++ /dev/null
@@ -1 +0,0 @@
1APPLEMAx \ No newline at end of file
diff --git a/mac/Emacs.app/Contents/Resources/Emacs.icns b/mac/Emacs.app/Contents/Resources/Emacs.icns
deleted file mode 100644
index 14785d50d0c..00000000000
--- a/mac/Emacs.app/Contents/Resources/Emacs.icns
+++ /dev/null
Binary files differ
diff --git a/mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings b/mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
deleted file mode 100644
index 0395e76a62c..00000000000
--- a/mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
+++ /dev/null
@@ -1,5 +0,0 @@
1/* Localized versions of Info.plist keys */
2
3CFBundleName = "Emacs";
4CFBundleShortVersionString = "23.0.60";
5CFBundleGetInfoString = "23.0.60, Copyright (C) 2008 Free Software Foundation, Inc.";
diff --git a/mac/Emacs.app/Contents/Resources/document.icns b/mac/Emacs.app/Contents/Resources/document.icns
deleted file mode 100644
index 7a3f25f794a..00000000000
--- a/mac/Emacs.app/Contents/Resources/document.icns
+++ /dev/null
Binary files differ
diff --git a/mac/INSTALL b/mac/INSTALL
deleted file mode 100644
index 65566b794c9..00000000000
--- a/mac/INSTALL
+++ /dev/null
@@ -1,196 +0,0 @@
1* BUILDING EMACS ON MAC OS X -*- outline -*-
2
3Copyright (C) 2001, 2002, 2003, 2004, 2005,
4 2006, 2007, 2008 Free Software Foundation, Inc.
5See the end of the file for license conditions.
6
7
8* BUILDING EMACS ON MAC OS X
9
10You should be able to build Emacs on Mac OS X by typing the following
11commands at the top-level directory after the source distribution is
12un-tarred.
13
14 ./configure --enable-carbon-app
15 make
16 make install
17
18The last step may fail if you do not have permissions to install. If
19you try to install into /usr (with ./configure --prefix=/usr), then you
20must install as root using the sudo command. However, it is not
21recommended; see the notes section below for more details.
22
23The --enable-carbon-app specifies that the Carbon GUI application
24should be installed into /Applications. If you want it to install in
25a different location, specify --enable-carbon-app=<mydir>
26
27You can type `make bootstrap' instead of `make' to rebuild everything,
28including byte-compiling the Lisp files.
29
30If you are compiling on Mac OS X versions before 10.2 and have not
31installed the GNU texinfo package on your system, the build will
32complain that makeinfo cannot be found. Instructions for installing the
33GNU texinfo package are given below. Alternatively, you can type `make
34-k' instead of `make' and safely ignore the error messages and use the
35existing info files.
36
37After Emacs is installed, you can run a text-only terminal version by
38typing `emacs' from a terminal (make sure your path contains
39/usr/local/bin) or a GUI application by double-clicking on
40/Applications/Emacs.app in the Finder. Even in the terminal version,
41some Carbon-specific functions such as `mac-set-file-creator' are
42still meaningful.
43
44To start Emacs as a GUI application from the terminal, the pathname to
45the executable in the bundle, i.e.,
46
47 /Applications/Emacs.app/Contents/MacOS/Emacs
48
49must be typed to the shell to enable Emacs to locate its resources
50correctly. You may want to create an alias to this path to quickly
51access both the terminal and GUI versions. You can specify some
52standard Emacs options when invoking Emacs in this way.
53
54Emacs on Mac OS X is not configured to use X11 unless either it is
55requested or the use of Carbon is disabled explicitly. So, if you are
56building Emacs to run on X Window System, you need to specify like:
57
58 ./configure --with-x
59
60Note that the Carbon-specific functions mentioned above are not
61available on the X11-enabled build.
62
63To use colors in Terminal.app on Mac OS X 10.1, put the following
64lines in the file ~/.termcap and log in again.
65
66-----
67# added ANSI color
68vt100|vt100-am|vt100am|dec vt100:\
69 :pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[m:AF=\E[3%dm:AB=\E[4%dm:\
70 :do=^J:co#80:li#24:cl=\E[;H\E[2J:sf=2*\ED:\
71 :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
72 :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
73 :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
74 :rf=/usr/share/tabset/vt100:\
75 :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[;r\E[0m\E(B\E)B\E[2J:\
76 :ks=\E[?1h\E=:ke=\E[?1l\E>:\
77 :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
78 :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
79 :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
80-----
81
82To build the `info' files in versions prior to Mac OS X 10.2, you need
83to install the texinfo software.
84
85To install from source, obtain texinfo-4.2.tar.gz from ftp.gnu.org or
86a mirror. Un-tar it, enter its directory and type
87
88 ./configure
89 make
90 make install
91
92The last step may need to be performed as root (sudo make install).
93
94You may also like to install ispell, which will allow you to use
95ispell and flyspell-mode. To install ispell from source, you first
96need to install GNU textutils.
97
98To do so, download textutils-2.0.tar.gz from ftp.gnu.org or a mirror.
99Un-tar it, enter its directory, type
100
101 ./configure --host=powerpc-apple-bsd
102 make
103 make install
104
105Again, the last step may need to be performed as root. Note that if you
106run `make check', the test for `pr' will fail.
107
108Get and un-tar ispell-3.2.06.tar.gz. Look for it here:
109
110 http://fmg-www.cs.ucla.edu/geoff/ispell.html
111
112Go into its directory, type
113
114 cp local.h.samp local.h
115
116Add a line `#define TERMLIB ""' to the end of local.h.
117
118Set the environment variable TMPDIR to an existing directory. For
119example since `/tmp' exists on my machine and I am using `bash', I
120typed
121
122 export TMPDIR=/tmp
123
124Run `make' and `make install', the latter as root.
125
126* BUILDING BINARY DISTRIBUTIONS FOR MAC OS X
127
128If you are intending to build a binary distribution of Emacs, there is
129a script that will greatly simplify the process. It is called
130make-package and it is contained in this directory. It will generate
131a disc image containing a installer bundle. By default the installer
132will place the emacs common files in /usr/local/* and the Carbon
133application in /Applications. Typical usage would be
134
135./make-package
136
137After running, an compressed disk image of the installer will be placed
138in a file called EmacsInstaller.dmg. This file can be then distributed
139to whomever would like a binary distribution. Here are the common
140options to user
141
142--with-x - Use the X11 GUI instead of the Carbon GUI.
143--prefix=DIR - Place the common emacs files in the given DIR. The
144 default is /usr/local. See note below if placing
145 in /usr
146--self-contained - Place the common emacs files inside the Emacs.app
147 itself. This makes the application trivial to
148 uninstall and copy between computers.
149--app-symlink - Use a symlink inside the Application to the
150 $prefix/bin/emacs to reduce disk space. Note, this
151 option may removed in the future.
152
153
154For usage of other options, use the --help option.
155
156Note: due to the problem "Installing to a directory with non-ASCII
157characters in the name fails" mentioned in etc/PROBLEMS, you may not
158move a self-contained Emacs.app application bundle to a non-ASCII
159directory.
160
161* NOTES
162
163Emacs should build and run on a PowerMac running Mac OS X 10.1 - 10.5.
164
165You will need around 100 MB of disk space for the source files and
166intermediate files.
167
168On Mac OS X, installing the emacs files in /usr can cause issues with
169system software updates possibly overwriting the distribution. If this
170is a concern, as it should be in normal binary distributions, please
171use /usr/local as the prefix for installation.
172
173Emacs supports both PowerPC and Intel-based Macintoshes. However,
174due to the unexec process that Emacs uses to dump core, it is not
175possible at this time to generate a universal binary that supports both
176architectures. In addition, Rosetta doesn't appear to work correctly
177with PowerPC builds of Emacs; you will have to recompile for Intel.
178Therefore, builds of Emacs are architecture specific.
179
180Enjoy!
181
182
183This file is part of GNU Emacs.
184
185GNU Emacs is free software: you can redistribute it and/or modify
186it under the terms of the GNU General Public License as published by
187the Free Software Foundation, either version 3 of the License, or
188(at your option) any later version.
189
190GNU Emacs is distributed in the hope that it will be useful,
191but WITHOUT ANY WARRANTY; without even the implied warranty of
192MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
193GNU General Public License for more details.
194
195You should have received a copy of the GNU General Public License
196along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
diff --git a/mac/README b/mac/README
deleted file mode 100644
index 886df66d671..00000000000
--- a/mac/README
+++ /dev/null
@@ -1,52 +0,0 @@
1Emacs for Mac OS X
2
3Copyright (C) 2001, 2002, 2003, 2004, 2005,
4 2006, 2007, 2008 Free Software Foundation, Inc.
5See the end of the file for license conditions.
6
7
8This directory contains the files needed to build Emacs on Mac OS X.
9Many of the major features of the Unix version
10are supported: multiple frames, colors, scroll bars, menu bars, use of
11the mouse, fontsets, international characters, input methods, and
12coding systems.
13
14Mac OS specific support includes document drag-and-drop in the Finder,
15transfer of text to and from other applications via the clipboard, and
16sending AppleScript commands to other applications from Emacs.
17
18On Mac OS X, Emacs can be built using the Developer Tools. See the
19INSTALL file in this directory for instructions on building Emacs.
20
21Read the Mac OS section of the on-line help to find out about how to
22use Emacs on the Mac.
23
24A number of things do not work yet:
25
26+ Support for PostScript image type is not available.
27
28+ Incorporate Apple's wrappers to be able to create a universal
29 binary that unexecs on first run for the given architecture.
30
31If your Mac is connected to the Internet, report bugs by typing `M-x
32report-emacs-bug' or by choosing the entry `Send Bug Report...' in
33the `Help' menu. This will send the bug report to the address
34emacs-pretest-bug@gnu.org.
35
36Steven
37<steven.tamm@mac.com>
38
39This file is part of GNU Emacs.
40
41GNU Emacs is free software: you can redistribute it and/or modify
42it under the terms of the GNU General Public License as published by
43the Free Software Foundation, either version 3 of the License, or
44(at your option) any later version.
45
46GNU Emacs is distributed in the hope that it will be useful,
47but WITHOUT ANY WARRANTY; without even the implied warranty of
48MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49GNU General Public License for more details.
50
51You should have received a copy of the GNU General Public License
52along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
diff --git a/mac/make-package b/mac/make-package
deleted file mode 100755
index 3bbf7852db9..00000000000
--- a/mac/make-package
+++ /dev/null
@@ -1,443 +0,0 @@
1#!/bin/sh
2
3#### make-package: create a Mac OS X package for use by the installer.
4#### The installer will place the Emacs OSX application in
5#### /Application/Emacs and the rest of emacs in the usual unix places
6#### under /usr/local or some other location if specified as the first
7#### argument. The disc image will be in the file EmacsInstaller.dmg.
8####
9#### Upon installation, this will leave two versions of emacs on the
10#### computer, 20.7 and 21.1.
11####
12#### Examples:
13#### ./make-package
14#### Will create an installer that will place the emacs support
15#### files inside /usr/local.
16#### ./make-package /usr
17#### Will create an installer that will place the emacs support
18#### files inside /usr. This will replace the default version of
19#### emacs included with Mac OS X.
20
21# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
22# Free Software Foundation, Inc.
23
24# Contributed by Steven Tamm (steventamm@mac.com).
25
26# This file is part of GNU Emacs.
27
28# GNU Emacs is free software: you can redistribute it and/or modify
29# it under the terms of the GNU General Public License as published by
30# the Free Software Foundation, either version 3 of the License, or
31# (at your option) any later version.
32
33# GNU Emacs is distributed in the hope that it will be useful,
34# but WITHOUT ANY WARRANTY; without even the implied warranty of
35# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36# GNU General Public License for more details.
37
38# You should have received a copy of the GNU General Public License
39# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
40
41
42progname="$0"
43
44srcdir="`pwd`/.."
45builddir=${srcdir}
46
47## Default location to place it is /usr/local
48prefix=/usr/local
49appsdir=/Applications
50emapp=Emacs.app
51with_config=yes
52with_app=yes
53with_x=no
54comp_diskimage=no
55self_contained=no
56app_symlink=no
57full_dist=yes
58compressed_dist=no
59build_in_place=no
60keep_directory=no
61
62ac_prev=
63display_usage=false;
64config_options=;
65while test $# != 0
66do
67 if test -n "$ac_prev"; then
68 eval "$ac_prev=\$1"
69 ac_prev=
70 continue
71 fi
72 case $1 in
73 -help | --help | --hel | --he | -h)
74 display_usage=yes ;;
75 -p | -prefix | --p | --prefix)
76 ac_prev=prefix ;;
77 -p=* | -prefix=* | --p=* | --prefix=*)
78 prefix=`expr "x$1" : 'x[^=]*=\(.*\)'` ;;
79 --build-in-place | --build-in-place )
80 build_in_place=yes ;;
81 --build-dir | -build-dir | --builddir | -build-dir)
82 build_in_place=no
83 ac_prev=builddir;;
84 --build-dir=* | -build-dir=* | -builddir=* | --builddir=*)
85 build_in_place=no
86 builddir=`expr "x$1" : 'x[^=]*=\(.*\)'`;;
87 -no-configure | -no-conf | --no-configure | --no-conf | --without-config)
88 with_config=no ;;
89 -no-app | --no-app | -without-app | --without-app)
90 with_app=no ;;
91 -without-x | --without-x)
92 with_x=no ;;
93 -with-x | --with-x)
94 with_x=yes
95 with_app=no ;;
96 --without-full-dist | -without-full-dist | -no-full-dist | -no-full)
97 full_dist=no ;;
98 --compressed-dist)
99 compressed_dist=yes ;;
100 --self-contained | -self-contained | --with-self-contained-app | -sc)
101 self_contained=yes ;;
102 -app-symlink | --app-symlink | -symlink | --symlink | --asl)
103 app_symlink=yes ;;
104 --keep-dir)
105 keep_directory=yes ;;
106 -C,* | -c,*)
107 config_options="$config_options `expr "x$1" : 'x[^,]*,\(.*\)'`" ;;
108 -M,* | -m,*)
109 make_options="$make_options `expr "x$1" : 'x[^,]*,\(.*\)'`" ;;
110 *)
111 display_usage=yes ;;
112 esac
113 shift
114done
115
116if test "$with_x" = "no"; then
117 config_options="--without-x $config_options"
118fi
119
120if test "$display_usage" = "yes"; then
121 cat <<EOF
122\`make-package' generates a Mac OS X installer package from an Emacs
123distribution. By default, this first runs ./configure on the emacs
124directory. Then make install to create the emacs distribution.
125Then some mac-specific commands to generate the required information
126for the mac package. The installer will, by default, create a
127Carbon application called Emacs in the ${appsdir} directory, with the
128shared emacs files in /usr/local
129
130Usage: $0 [OPTION]
131
132Options:
133 -h, --help display this help and exit
134 --prefix=DIR Set install location for the Mac OS X package
135 of the emacs related file. By default /usr/local
136 --no-conf Do not run the configure script before running
137 make install.
138 --without-app Do not create the Emacs application bundle
139 --with-x Setup the install to use X Windows for its
140 windowed display, instead of carbon. Implies
141 --without-app.
142 --without-full-dist Do not include all the .el files in the distribution.
143 This is discouraged except if disk space is critical.
144 --compressed-dist Compress .el and info files in the distribution.
145 --app-symlink Have the Emacs.app executable be a symlink
146 to the install in [prefix]/bin/emacs and have
147 the emacs executable link to emacs-${version}
148 --self-contained Create an Emacs.app that is self-contained;
149 prefix will be ignored and all files installed
150 inside the application
151 --build-in-place Build the application in the source directory
152 instead of a temporary directory.
153 --build-dir=DIR Build the application in the specified directory
154 instead of a temporary directory. Mutually exclusive
155 with --build-in-place.
156 -C,option Pass option to configure
157 -M,option Pass option to make
158EOF
159 exit 0
160fi
161
162### Exit if a command fails.
163#set -e
164
165### Print out each line we read, for debugging's sake.
166#set -v
167
168LANGUAGE=C
169LC_ALL=C
170LC_MESSAGES=
171LANG=
172export LANGUAGE LC_ALL LC_MESSAGES LANG
173
174## Don't restrict access to any files.
175umask 0
176
177### Make sure we're running in the right place.
178if [ -f Emacs.pkg ]; then
179 echo "${progname}: Package Emacs.pkg already exists.
180Perhaps a previous invocation of \`${progname}' failed to clean up after
181itself. Move or delete Emacs.pkg and try again." >&2
182 exit 1
183fi
184
185if test $with_app == "yes" && [ ! -f ${emapp}/Contents/PkgInfo ]; then
186 echo "${progname}: Can't find \`${emapp}/Contents/PkgInfo'" >&2
187 echo "${progname} must be run in the \`mac' directory of the Emacs" >&2
188 echo "distribution tree. cd to that directory and try again." >&2
189 exit 1
190fi
191
192### Check whether file ../lisp/version.el exists.
193if [ ! -f ../lisp/version.el ]; then
194 echo "${progname}: Can't find \`../lisp/version.el'" >&2
195 exit 1
196fi
197
198### Find out which version of Emacs this is.
199shortversion=`grep 'defconst[ ]*emacs-version' ../lisp/version.el \
200 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
201version=`grep 'defconst[ ]*emacs-version' ../lisp/version.el \
202 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
203if [ ! "${version}" ]; then
204 echo "${progname}: can't find current Emacs version in \`./lisp/version.el'" >&2
205 exit 1
206fi
207
208echo Version numbers are $version and $shortversion
209
210### Make sure we don't already have a directory emacs-${version}.
211
212emacsname="emacs-${version}${new_extension}"
213
214if [ -d ${emacsname} ]
215then
216 echo Directory "${emacsname}" already exists >&2
217 exit 1
218fi
219
220### Make sure the subdirectory is available.
221tempparent="make-package.tmp.$$"
222if [ -d ${tempparent} ]; then
223 echo "${progname}: staging directory \`${tempparent}' already exists.
224Perhaps a previous invocation of \`${progname}' failed to clean up after
225itself. Check that directories whose names are of the form
226\`make-dist.tmp.NNNNN' don't contain any important information, remove
227them, and try again." >&2
228 exit 1
229fi
230
231if [ -d /Volumes/Emacs ]; then
232 echo "${progname}: Already have an Emacs disc image mounted. Please
233eject that disc image and try again." >&2
234 exit 1
235fi
236
237tempparentfull="`pwd`/${tempparent}"
238tempparentdist=${tempparentfull}/dist
239
240if test "$build_in_place" = "no"; then
241 case ${builddir} in
242 ${srcdir})
243 tempbuild="make-package.build.$$"
244 builddir="`pwd`/${tempbuild}"
245 removable_build_dir=${builddir}
246 mkdir -p ${builddir}
247 ;;
248 [\\/]* | ?:[\\/]* ) #Absolutepath.
249 mkdir -p ${builddir}
250 ;;
251 *)
252 mkdir -p ${builddir}
253 builddir=`cd $builddir && pwd`
254 ;;
255 esac
256fi
257# Location of install package
258packagedir=${builddir}/mac/Emacs.pkg
259
260echo Building in directory ${builddir}
261echo Installing into directory ${tempparentfull} >&2
262
263### This trap ensures that the staging directory will be cleaned up even
264### when the script is interrupted in mid-career.
265trap "echo 'Interrupted...cleaning up the staging directory'; rm -rf ${tempparent} ${removable_build_dir} ${packagedir}; exit 1" 1 2 15
266
267# Run configure in the new tempparent directory
268if test "$with_config" = "yes"; then
269 (cd ${builddir}; ${srcdir}/configure ${config_options} --prefix=${prefix})
270fi
271
272installprefix=${tempparentfull}${prefix}
273if test "$self_contained" = "yes"; then
274 # If selfcontained, the local directory is Resources directory
275 installprefix=$tempparentfull/$appsdir/$emapp/Contents/Resources
276fi
277
278
279make_options="prefix=${installprefix} $make_options"
280
281if test "$with_app" = "yes"; then
282 make_options="carbon_appdir=${tempparentfull}/Applications $make_options"
283fi
284
285## Make bootstrap if .elc files are missing from distribution
286if [ ! -f ${srcdir}/lisp/abbrev.elc ]; then
287 echo "Required .elc files missing; making bootstrap..."
288 if ! (cd ${builddir}; make bootstrap $make_options); then
289 echo "Make bootstrap failed... Aborting make-package."
290 exit 2
291 fi
292fi
293
294if ! (cd ${builddir}; make install $make_options); then
295 echo "Make failed... Aborting make-package."
296 exit 1
297fi
298
299if test "$full_dist" == "no"; then
300 echo "Removing unneeded .el files"
301 sharedir=$installprefix/share/emacs/$version
302 find $sharedir/lisp $sharedir/leim -name "*.elc" -print | sed 's|\(.*\)\.elc$|/bin/rm -f \1.el|' | /bin/sh -s
303fi
304
305if test "$compressed_dist" == "yes" -a "$full_dist" == "yes"; then
306 echo "Compressing .el files"
307 sharedir=$installprefix/share/emacs/$version
308 find $sharedir/lisp $sharedir/leim -name "*.elc" -print | sed 's|\(.*\)\.elc$|/usr/bin/gzip -9 \1.el|' | /bin/sh -s
309 echo "Compressing info files"
310 find $installprefix/info -type f ! -name dir -print | sed 's|\(.*\)$|/usr/bin/gzip -9 \1|' | /bin/sh -s
311fi
312
313if test "$with_app" == "yes"; then
314 echo "Creating Emacs.app application"
315 tempappdir=${tempparentfull}${appsdir}
316 tempemapp=${tempappdir}/${emapp}/Contents/MacOS/Emacs
317 ## Delete any CVS files
318 find ${tempappdir} -name "CVS" -type d -exec rm -rf {} \;
319
320 ## Have application be a symlink to ${prefix}/bin/emacs
321 if test "$app_symlink" == "yes"; then
322 echo "Creating application symlink"
323 rm ${tempemapp}
324 ln -s ${prefix}/bin/${emacsname} ${tempemapp}
325 fi
326fi
327
328compver=`uname -p`-apple-darwin`uname -r`
329
330if test "$self_contained" = "yes"; then
331 # Move shared files down to Resources directory
332 mv $installprefix/share/emacs/$version/* $installprefix
333 mv $installprefix/share/info $installprefix
334 mv $installprefix/share/man $installprefix
335 rm -rf $installprefix/share
336 # These directories might remain in Resources
337 mv $installprefix/bin $installprefix/../MacOS/bin
338 mv $installprefix/libexec/emacs/$version/$compver $installprefix/../MacOS/libexec
339 # Make the application binary a hard link
340 rm $installprefix/../MacOS/Emacs
341 ln $installprefix/../MacOS/bin/emacs $installprefix/../MacOS/Emacs
342fi
343
344
345# Remove unnecessary .el files
346#if test "$full_dist" = no; then
347#fi
348
349echo "Creating Package Info file"
350
351mkdir -p ${packagedir}
352mkdir ${packagedir}/Contents
353mkdir ${packagedir}/Contents/Resources
354mkdir ${packagedir}/Contents/Resources/English.lproj
355echo -n 'pmkrpkg1' > ${packagedir}/Contents/PkgInfo
356
357# Create ReadMe and License files
358cp ${srcdir}/COPYING ${packagedir}/Contents/Resources/License.txt
359cp ${srcdir}/mac/README ${packagedir}/Contents/Resources/ReadMe.txt
360
361infofile=${packagedir}/Contents/Resources/English.lproj/Emacs.info
362
363echo 'Title GNU Emacs' > ${infofile}
364echo "Version ${version}" >> ${infofile}
365echo "Description Install GNU Emacs ${version} as a command-line app and a Mac OS Application" >> ${infofile}
366echo 'DefaultLocation /' >> ${infofile}
367echo 'DeleteWarning' >> ${infofile}
368echo 'NeedsAuthorization YES' >> ${infofile}
369echo 'Required NO' >> ${infofile}
370echo 'Relocatable NO' >> ${infofile}
371echo 'RequiresReboot NO' >> ${infofile}
372echo 'UseUserMask NO' >> ${infofile}
373echo 'OverwritePermissions NO' >> ${infofile}
374echo 'InstallFat NO' >> ${infofile}
375
376### Set the install directory to install files as root...
377### Not sure if this is a good diea
378# echo "Setting owner to root"
379# chown -Rh 0 ${tempparentfull}
380
381echo "Creating pax file"
382(cd ${tempparentfull}; pax -w -f ${packagedir}/Contents/Resources/Emacs.pax .)
383echo "Compressing pax file"
384gzip ${packagedir}/Contents/Resources/Emacs.pax
385
386echo "Creating bom file"
387mkbom ${tempparentfull} ${packagedir}/Contents/Resources/Emacs.bom
388
389echo "Generating sizes file"
390sizesfile=${packagedir}/Contents/Resources/Emacs.sizes
391
392numFiles=`du -a ${tempparent} | wc -l`
393installedSize=`du -s ${tempparent} | cut -f1`
394compressedSize=`du -s ${packagedir} | cut -f1`
395
396echo "NumFiles ${numFiles}" > ${sizesfile}
397echo "InstalledSize ${installedSize}" >> ${sizesfile}
398echo "CompressedSize ${compressedSize}" >> ${sizesfile}
399cat ${sizesfile}
400
401echo "Creating Disc Image"
402## From hdiutil man page, a sector is 512k. Allocate an extra 5% for
403## directories and partition tables.
404sectorsAlloced=`echo 2.1*${compressedSize}|bc`
405hdiutil create -ov ${builddir}/mac/EmacsRW -sectors ${sectorsAlloced}
406## Need to format the disc image before mounting
407mountLoc=`hdid -nomount ${builddir}/mac/EmacsRW.dmg | grep HFS | cut -f1`
408/sbin/newfs_hfs -v Emacs ${mountLoc}
409hdiutil eject ${mountLoc}
410echo "Copying Package to Disc Image"
411hdid ${builddir}/mac/EmacsRW.dmg
412
413if test "$keep_directory" = "no"; then
414 rm -rf ${tempparentfull}
415else
416 mv ${tempparentfull} ${emacsname}
417fi
418
419if [ ! -d /Volumes/Emacs ]; then
420 echo "Could not create disc image. The Emacs installer package (Emacs.pkg)
421in this directory should be correct. Please use the Disc Copy program to
422create a disc image." >&2
423 exit 0
424fi
425
426cp -R ${packagedir} /Volumes/Emacs
427
428## Converting Disk Image to read-only
429echo 'Converting Disc Image to read-only'
430hdiutil eject ${mountLoc}
431hdiutil resize ${builddir}/mac/EmacsRW.dmg -sectors min
432if test "$comp_diskimage" = "yes"; then
433 hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDZO -imagekey zlib-level=2 -o ${srcdir}/mac/EmacsInstaller.dmg
434else
435 hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDRO -o ${srcdir}/mac/EmacsInstaller.dmg
436fi
437rm ${builddir}/mac/EmacsRW.dmg
438
439echo "Cleaning up the staging directory"
440rm -rf ${builddir}/mac/Emacs.pkg ${removable_build_dir}
441
442# arch-tag: 1b631d0d-9fde-4f71-80c0-33e0e5815515
443### make-package ends here
diff --git a/mac/src/Emacs.r b/mac/src/Emacs.r
deleted file mode 100644
index 621e2da3cdf..00000000000
--- a/mac/src/Emacs.r
+++ /dev/null
@@ -1,734 +0,0 @@
1/* Resource definitions for GNU Emacs on the Macintosh.
2 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20/* Contributed by Andrew Choi (akochoi@mac.com). */
21
22#ifndef TARGET_API_MAC_CARBON
23#include "Types.r"
24/* added for finder icon balloon help --ben */
25#include "Balloons.r"
26
27/* Define to use gnu icon */
28/* #define GNU_ICON 1 */
29
30resource 'STR#' (128) {
31 {
32 "TERM=macterm",
33 "TERMCAP=macterm:co#80:li#40:up=up:do=do:le=le:nd=nd:cm=cm:cs=cs:ce=ce:cd=cd:cl=cl:al=al:dl=dl:",
34 /* "HOME=/Ix/Data Files/Emacs Mac Port/emacs-20.4/mac/", */
35 /* "MAIL=/Ix/System Folder/Eudora Folder/In" */
36 }
37};
38
39resource 'STR#' (129) {
40 {
41 "emacs",
42 "-l",
43 "loadup"
44 }
45};
46
47/* added for finder icon balloon help --ben */
48resource 'hfdr' (-5696) { /*help for emacs icon*/
49 /*header component*/
50 HelpMgrVersion, hmDefaultOptions, 0, 0,
51 { /*icon component*/
52 HMSTRResItem { /*use 'STR ' resource 128*/
53 128
54 }
55 }
56};
57
58/* added for finder icon balloon help --ben */
59resource 'STR ' (128) { /*help message for emacs icon*/
60 "GNU Emacs\0xd1the extensible, customizable, self-documenting real-time display editor."
61};
62#endif
63
64#define M_APPLE 234 /* Menu ID for Apple Menu. */
65
66resource 'MENU' (128, preload) {
67 M_APPLE,
68 textMenuProc,
69 0x7FFFFFFD,
70 enabled,
71 apple,
72 { /* array: 2 elements */
73 /* [1] */
74 "About Emacs\0xc9", noIcon, noKey, noMark, plain,
75 /* [2] */
76 "-", noIcon, noKey, noMark, plain
77 }
78};
79
80resource 'MBAR' (128, "MBAR for Menus1", preload) {
81 { /* array MenuArray: 1 element */
82 /* [1] */
83 128
84 }
85};
86
87resource 'WIND' (128, "Window", purgeable) {
88 {68, 33, 554, 754},
89 kWindowFullZoomGrowDocumentProc,
90 invisible,
91 goAway,
92 0x0,
93 "Terminal",
94 kWindowStaggerMainScreen
95};
96
97resource 'WIND' (129, "Terminal window", purgeable) {
98 {32, 8, 76, 620},
99 kWindowModalDialogProc,
100 invisible,
101 goAway,
102 0x0,
103 "Terminal",
104 kWindowDefaultPosition
105};
106
107resource 'WIND' (130, "Dialog window", purgeable) {
108 {32, 8, 42, 18},
109 kWindowModalDialogProc,
110 invisible,
111 goAway,
112 0x0,
113 "Terminal",
114 kWindowDefaultPosition
115};
116
117resource 'ALRT' (128, "About Box", purgeable) {
118 {40, 20, 160, 297},
119 128,
120 { /* array: 4 elements */
121 /* [1] */
122 OK, visible, silent,
123 /* [2] */
124 OK, visible, silent,
125 /* [3] */
126 OK, visible, silent,
127 /* [4] */
128 OK, visible, silent
129 },
130 centerMainScreen
131};
132
133resource 'DITL' (128, purgeable) {
134 { /* array DITLarray: 2 elements */
135 /* [1] */
136 {88, 185, 108, 265},
137 Button {
138 enabled,
139 "OK"
140 },
141 /* [2] */
142 {10, 60, 72, 278},
143 StaticText {
144 disabled,
145 "GNU Emacs 23 for Mac OS"
146 }
147 }
148};
149
150resource 'ALRT' (129, "Ram Too Large", purgeable) {
151 {40, 20, 160, 297},
152 129,
153 { /* array: 4 elements */
154 /* [1] */
155 OK, visible, silent,
156 /* [2] */
157 OK, visible, silent,
158 /* [3] */
159 OK, visible, silent,
160 /* [4] */
161 OK, visible, silent
162 },
163 centerMainScreen
164};
165
166resource 'DITL' (129, purgeable) {
167 { /* array DITLarray: 2 elements */
168 /* [1] */
169 {88, 185, 108, 265},
170 Button {
171 enabled,
172 "OK"
173 },
174 /* [2] */
175 {10, 60, 72, 278},
176 StaticText {
177 disabled,
178 "Emacs does not run on a Macintosh with more than 512 MB of physical or virtual memory"
179 }
180 }
181};
182
183resource 'BNDL' (128) {
184 'EMAx',
185 0,
186 { /* array TypeArray: 2 elements */
187 /* [1] */
188 'FREF',
189 { /* array IDArray: 2 elements */
190 /* [1] */
191 0, 128,
192 /* [2] */
193 1, 129
194 },
195 /* [2] */
196 'ICN#',
197 { /* array IDArray: 2 elements */
198 /* [1] */
199 0, 128,
200 /* [2] */
201 1, 129
202 }
203 }
204};
205
206resource 'FREF' (128) {
207 'APPL',
208 0,
209 ""
210};
211
212resource 'FREF' (129) {
213 'TEXT',
214 1,
215 ""
216};
217
218resource 'vers' (1) {
219 0x23, /* Major revision in BCD */
220 0x0, /* Minor revision in BCD */
221 development, /* development, alpha, beta, or final (release) */
222 60, /* Non-final release # */
223 0, /* Region code */
224 "23.0.60", /* Short version number */
225 "23.0.60, Copyright \0xa9 2008 "
226 "Free Software Foundation, Inc." /* Long version number */
227};
228
229data 'EMAx' (0, "Owner resource") {
230 $"00" /* . */
231};
232
233#ifdef GNU_ICON
234resource 'ICN#' (128) {
235 { /* array: 2 elements */
236 /* [1] */
237 $"0000 0000 0000 0000 0000 0080 0000 0040"
238 $"0100 0030 0203 5808 0408 8400 0418 0220"
239 $"0420 0008 0464 9C80 04C1 0018 0000 0004"
240 $"118B 0120 000A 0000 0614 8180 0204 2080"
241 $"0468 0080 0480 4480 0000 0080 0148 08C0"
242 $"0120 00C0 0182 4020 0388 0120 0181 2040"
243 $"01E8 B040 00E0 70C0 0078 9880 003A 9880"
244 $"001E 4000 000F C0",
245 /* [2] */
246 $"0000 0000 0000 0100 0000 0180 0000 00E0"
247 $"0100 3030 0203 F818 063F FC18 0E3F FE38"
248 $"1C7F FF78 1CFF FFF8 1CFF FFF8 1E7F FFFC"
249 $"1FFF FF38 1FFF FF80 0FFF FF80 07FF FF80"
250 $"0FFF FF80 0FFF FFC0 01FF FFC0 03FF FFC0"
251 $"03FF FFC0 03FF FFE0 03FF FFE0 03FF FFE0"
252 $"01FF FFC0 01FF FFC0 00FF FFC0 007F FF80"
253 $"001F E700 000F C000 0004 80"
254 }
255};
256#else
257resource 'ICN#' (128) {
258 { /* array: 2 elements */
259 /* [1] */
260 $"0000 0000 0000 0000 0001 F000 07DE 0F60"
261 $"0860 0090 1200 0028 1200 0008 0800 0008"
262 $"0800 0008 1000 0004 1000 0004 2000 0004"
263 $"2000 0044 4018 12C2 4018 0002 4018 0082"
264 $"4002 0C42 2000 1E02 2004 1E42 2004 0C02"
265 $"2004 0042 2002 0082 5001 8F05 8800 7004"
266 $"0800 0008 0400 0010 0200 0060 01C0 0380"
267 $"003F FC00 2000 0000 4000 0000 80",
268 /* [2] */
269 $"0000 0000 0000 0000 0001 F000 07DF FF60"
270 $"0FFF FFF0 1FFF FFF8 1FFF FFF8 0FFF FFF8"
271 $"0FFF FFF8 1FFF FFFC 1FFF FFFC 3FFF FFFC"
272 $"3FFF FFFC 7FFF FFFE 7FFF FFFE 7FFF FFFE"
273 $"7FFF FFFE 3FFF FFFE 3FFF FFFE 3FFF FFFE"
274 $"3FFF FFFE 3FFF FFFE 7FFF FFFF FFFF FFFF"
275 $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
276 $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
277 }
278};
279#endif
280
281#ifdef GNU_ICON
282resource 'icl4' (128) {
283 $"0000 0000 0000 0000 0000 0000 0000 0000"
284 $"0000 0000 0000 0000 0000 000C 0000 0000"
285 $"0000 0000 0000 0000 0000 000C F000 0000"
286 $"0000 0000 0000 0000 0000 0000 CFD0 0000"
287 $"0000 000F 0000 0000 00CC 0000 00FF 0000"
288 $"0000 00F0 0000 00FF CFCF F000 000C F000"
289 $"0000 0FD0 00CD FD0C F000 CF00 000C D000"
290 $"0000 CFC0 00DF F000 C000 00F0 00FC C000"
291 $"000C DF00 0DFD 0CD0 0000 DCDD 0DC0 F000"
292 $"000D 0F00 DFFC 0F00 FDDF FFDD FC0D D000"
293 $"000C 0F00 FFC0 DCDF 0000 DC00 00CF F000"
294 $"000C 0CD0 0C0C CDC0 000C 0CCD CCCC CF00"
295 $"000F 00CF F0DC FCFF DDC0 CDDF 00FD C000"
296 $"000D D000 CDC0 FCFC 0CDC CCCD C000 0000"
297 $"0000 CFF0 D00F 0F0C F0CD CCCF F000 0000"
298 $"0000 0CFC 00CD 0F0D D0FD CCCD F000 0000"
299 $"0000 CFCC DFF0 FC0C DCCC CCCC F000 0000"
300 $"0000 DFC0 FDDC 0C0C DFC0 CEDC FC00 0000"
301 $"0000 000C DDCC CDC0 C00C CCCC FC00 0000"
302 $"0000 00CF CF0C FC0C 0000 F00D FF00 0000"
303 $"0000 00CF D0FC 0CCC C000 0CCC FF00 0000"
304 $"0000 00CF F0DC 0CFC CFCD DDDC DCF0 0000"
305 $"0000 00FF FCD0 FDCC DDC0 00DF 0DF0 0000"
306 $"0000 00CF FDCD 0DCF CDFC CC0D 0FC0 0000"
307 $"0000 000F FFFC FCD0 F0FF C000 DF00 0000"
308 $"0000 000C FFF0 CDCD DFFF DCCC FF00 0000"
309 $"0000 0000 CFFF FC0D F0CF F000 FC00 0000"
310 $"0000 0000 0CFF FDF0 F0DF FDDD F000 0000"
311 $"0000 0000 000F FFFC CFC0 0DDD 0000 0000"
312 $"0000 0000 0000 FFFF FF00 0000 0000 0000"
313 $"0000 0000 0000 0C00 C0"
314};
315#else
316resource 'icl4' (128) {
317 $"0000 0000 0000 0000 0000 0000 0000 0000"
318 $"0000 0000 0000 0000 0000 0000 0000 0000"
319 $"0000 0000 0000 000F FFFF 0000 0000 0000"
320 $"0000 0FFF FF0F FFF0 0000 FFFF 0FF0 0000"
321 $"0000 FCCC CFF0 0000 0000 0000 FCCF 0000"
322 $"000F 0DED CC00 0000 0000 0000 0DEC F000"
323 $"000F 0DED C000 0000 0000 0000 00DD F000"
324 $"0000 F0D0 0000 0000 0000 0000 0000 F000"
325 $"0000 FC00 0000 0000 0000 0000 0000 F000"
326 $"000F 0000 0000 0000 0000 0000 0000 0F00"
327 $"000F 0000 0000 0000 0000 0000 0000 0F00"
328 $"00F0 0000 0000 0000 0000 0000 0000 0F00"
329 $"00F0 0000 0000 0000 0000 0000 DEC0 0F00"
330 $"0F00 0000 00CE EC00 0CCC CCCC FFC0 00F0"
331 $"0F00 0000 0CDF FD0C C000 000D CDC0 00F0"
332 $"0F00 0000 00CE ECD0 0000 CC00 D000 00F0"
333 $"0F00 0000 0000 00D0 000C EEC0 0D00 00F0"
334 $"00F0 0000 0000 0D00 00CE AAEC 0D00 00F0"
335 $"00F0 0000 0000 0D00 00CE AAEC 0D00 00F0"
336 $"00F0 0000 0000 0D00 000C EEC0 0D00 00F0"
337 $"00F0 0000 0000 0D00 0000 CC00 0D00 00F0"
338 $"00F0 0000 0000 0CD0 0000 0000 E000 00F0"
339 $"0F0F 0000 0000 00CD D000 EEEE 0000 0F0F"
340 $"F000 F000 0000 0000 0EEE 0000 0000 0F00"
341 $"0000 F000 0000 0000 0000 0D00 0000 FC00"
342 $"0000 0F00 0000 0000 0000 0D00 000F C000"
343 $"0000 00F0 0000 0000 0000 0C00 0FFC C000"
344 $"0000 C00F FF00 0000 0000 00EE ECCC 0000"
345 $"000D 0000 0CFF FFFF FEEE EECC CCC0 0000"
346 $"0CF0 0000 0000 CCCC CCCC CC0C 0C00 0C00"
347 $"CEC0 0000 0000 0000 0000 0000 0000 0DC0"
348 $"FD00 0000 0000 0000 0000 0000 0000 00D0"
349};
350#endif
351
352#ifdef GNU_ICON
353resource 'icl8' (128) {
354 $"0000 0000 0000 0000 0000 0000 0000 0000"
355 $"0000 0000 0000 0000 0000 0000 0000 0000"
356 $"0000 0000 0000 0000 0000 0000 0000 0000"
357 $"0000 0000 0000 002B 0000 0000 0000 0000"
358 $"0000 0000 0000 0000 0000 0000 0000 0000"
359 $"0000 0000 0000 002B FF00 0000 0000 0000"
360 $"0000 0000 0000 0000 0000 0000 0000 0000"
361 $"0000 0000 0000 0000 2BFF F900 0000 0000"
362 $"0000 0000 0000 00FF 0000 0000 0000 0000"
363 $"0000 2B2B 0000 0000 0000 FFFF 0000 0000"
364 $"0000 0000 0000 FF00 0000 0000 0000 FFFF"
365 $"2BFF 2BFF FF00 0000 0000 002B FF00 0000"
366 $"0000 0000 00FF F900 0000 2BF9 FFF9 002B"
367 $"FF00 0000 2BFF 0000 0000 002B F900 0000"
368 $"0000 0000 2BFF 2B00 0000 F9FF FF00 0000"
369 $"2B00 0000 0000 FF00 0000 FF2B 2B00 0000"
370 $"0000 002B F9FF 0000 00F9 FFF9 002B F900"
371 $"0000 0000 F92B F9F9 00F9 2B00 FF00 0000"
372 $"0000 00F9 00FF 0000 F9FF FF2B 00FF 0000"
373 $"FFF9 F9FF FFFF F9F9 FF2B 00F9 F900 0000"
374 $"0000 002B 00FF 0000 FFFF 2B00 F92B F9FF"
375 $"0000 0000 F92B 0000 0000 2BFF FF00 0000"
376 $"0000 002B 002B F900 002B 002B 2BF9 2B00"
377 $"0000 002B 002B 2BF9 2B2B 2B2B 2BFF 0000"
378 $"0000 00FF 0000 2BFF FF00 F92B FF2B FFFF"
379 $"F9F9 2B00 2BF9 F9FF 0000 FFF9 2B00 0000"
380 $"0000 00F9 F900 0000 2BF9 2B00 FF2B FF2B"
381 $"002B F92B 2B2B 2BF9 2B00 0000 0000 0000"
382 $"0000 0000 2BFF FF00 F900 00FF 00FF 002B"
383 $"FF00 2BF9 2B2B 2BFF FF00 0000 0000 0000"
384 $"0000 0000 002B FF2B 0000 2BF9 00FF 00F9"
385 $"F900 FFF9 2B2B 2BF9 FF00 0000 0000 0000"
386 $"0000 0000 2BFF 2B2B F9FF FF00 FF2B 002B"
387 $"F92B 2B2B 2B2B 2B2B FF00 0000 0000 0000"
388 $"0000 0000 F9FF 2B00 FFF9 F92B 002B 002B"
389 $"F9FF 2B00 2BFC F92B FF2B 0000 0000 0000"
390 $"0000 0000 0000 002B F9F9 2B2B 2BF9 2B00"
391 $"2B00 002B 2B2B 2B2B FF2B 0000 0000 0000"
392 $"0000 0000 0000 2BFF 2BFF 002B FF2B 002B"
393 $"0000 0000 FF00 00F9 FFFF 0000 0000 0000"
394 $"0000 0000 0000 2BFF F900 FF2B 002B 2B2B"
395 $"2B00 0000 002B 2B2B FFFF 0000 0000 0000"
396 $"0000 0000 0000 2BFF FF00 F92B 002B FF2B"
397 $"2BFF 2BF9 F9F9 F92B F92B FF00 0000 0000"
398 $"0000 0000 0000 FFFF FF2B F900 FFF9 2B2B"
399 $"F9F9 2B00 0000 F9FF 00F9 FF00 0000 0000"
400 $"0000 0000 0000 2BFF FFF9 2BF9 00F9 2BFF"
401 $"2BF9 FF2B 2B2B 00F9 00FF 2B00 0000 0000"
402 $"0000 0000 0000 00FF FFFF FF2B FF2B F900"
403 $"FF00 FFFF 2B00 0000 F9FF 0000 0000 0000"
404 $"0000 0000 0000 002B FFFF FF00 2BF9 2BF9"
405 $"F9FF FFFF F92B 2B2B FFFF 0000 0000 0000"
406 $"0000 0000 0000 0000 2BFF FFFF FF2B 00F9"
407 $"FF00 2BFF FF00 0000 FF2B 0000 0000 0000"
408 $"0000 0000 0000 0000 002B FFFF FFF9 FF00"
409 $"FF00 F9FF FFF9 F9F9 FF00 0000 0000 0000"
410 $"0000 0000 0000 0000 0000 00FF FFFF FF2B"
411 $"2BFF 2B00 00F9 F9F9 0000 0000 0000 0000"
412 $"0000 0000 0000 0000 0000 0000 FFFF FFFF"
413 $"FFFF 0000 0000 0000 0000 0000 0000 0000"
414 $"0000 0000 0000 0000 0000 0000 002B 0000"
415 $"2B"
416};
417#else
418resource 'icl8' (128) {
419 $"0000 0000 0000 0000 0000 0000 0000 0000"
420 $"0000 0000 0000 0000 0000 0000 0000 0000"
421 $"0000 0000 0000 0000 0000 0000 0000 0000"
422 $"0000 0000 0000 0000 0000 0000 0000 0000"
423 $"0000 0000 0000 0000 0000 0000 0000 00FF"
424 $"FFFF FFFF 0000 0000 0000 0000 0000 0000"
425 $"0000 0000 00FF FFFF FFFF F5FF FFFF FFF5"
426 $"F5F5 F5F5 FFFF FFFF 00FF FF00 0000 0000"
427 $"0000 0000 FFF6 F6F6 F6FF FFF5 F5F5 F5F5"
428 $"F5F5 F5F5 F5F5 F5F5 FFF7 F6FF 0000 0000"
429 $"0000 00FF F5F9 FBF9 F7F7 F5F5 F5F5 F5F5"
430 $"F5F5 F5F5 F5F5 F5F5 F5F9 FCF6 FF00 0000"
431 $"0000 00FF F5F9 FBF9 F7F5 F5F5 F5F5 F5F5"
432 $"F5F5 F5F5 F5F5 F5F5 F5F5 F9F9 FF00 0000"
433 $"0000 0000 FFF5 F9F5 F5F5 F5F5 F5F5 F5F5"
434 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 FF00 0000"
435 $"0000 0000 FFF7 F5F5 F5F5 F5F5 F5F5 F5F5"
436 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 FF00 0000"
437 $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
438 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000"
439 $"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
440 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000"
441 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
442 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000"
443 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
444 $"F5F5 F5F5 F5F5 F5F5 F9FC F6F5 F5FF 0000"
445 $"00FF F5F5 F5F5 F5F5 F5F5 F7FB FBF7 F5F5"
446 $"F5F6 F6F7 F7F7 F7F8 FFFF F7F5 F5F5 FF00"
447 $"00FF F5F5 F5F5 F5F5 F5F6 F9FF FFF9 F5F7"
448 $"F7F5 F5F5 F5F5 F5F9 F7F9 F6F5 F5F5 FF00"
449 $"00FF F5F5 F5F5 F5F5 F5F5 F7FB FCF7 F9F5"
450 $"F5F5 F5F5 F6F6 F5F5 F9F5 F5F5 F5F5 FF00"
451 $"00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F9F5"
452 $"F5F5 F5F7 FBFB F7F5 F5F9 F5F5 F5F5 FF00"
453 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5"
454 $"F5F5 F7FB FDFD ACF7 F5F9 F5F5 F5F5 FF00"
455 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5"
456 $"F5F5 F7FB FDFD ACF7 F5F9 F5F5 F5F5 FE00"
457 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5"
458 $"F5F5 F5F7 FBFB F7F5 F5F9 F5F5 F5F5 FE00"
459 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5"
460 $"F5F5 F5F5 F7F7 F5F5 F5FA F5F5 F5F5 FE00"
461 $"0000 FFF5 F5F5 F5F5 F5F5 F5F5 F5F7 F9F5"
462 $"F5F5 F5F5 F5F5 F5F5 FBF5 F5F5 F5F5 FF00"
463 $"00FF F5FF F5F5 F5F5 F5F5 F5F5 F5F5 F7F9"
464 $"F9F5 F5F5 FBFB FBFB F5F5 F5F5 F5FE F5FF"
465 $"FFF5 F5F5 FFF5 F5F5 F5F5 F5F5 F5F5 F5F5"
466 $"F5FB FBFB F5F5 F5F5 F5F5 F5F5 F5FF F5F5"
467 $"F5F5 F5F5 FFF5 F5F5 F5F5 F5F5 F5F5 F5F5"
468 $"F5F5 F5F5 F5F9 F5F5 F5F5 F5F5 FFF6 F5F5"
469 $"F5F5 F5F5 F5FF F5F5 F5F5 F5F5 F5F5 F5F5"
470 $"F5F5 F5F5 F5F9 F5F5 F5F5 F5FF F6F5 F5F5"
471 $"F5F5 F5F5 F5F5 FFF5 F5F5 F5F5 F5F5 F5F5"
472 $"F5F5 F5F5 F5F6 F5F5 F5FF FFF7 F6F5 F5F5"
473 $"F5F5 F5F5 F7F5 F5FF FFFF F5F5 F5F5 F5F5"
474 $"F5F5 F5F5 F5F5 ACAC ACF7 F6F6 F5F5 F5F5"
475 $"F5F5 F5F9 F5F5 F5F5 F5F7 FFFF FFFF FFFF"
476 $"FFFC FCAC ACAC F6F6 F7F6 F6F5 F5F5 F5F5"
477 $"F5F6 FFF5 F5F5 F5F5 F5F5 F5F5 F6F7 F6F7"
478 $"F6F7 F6F6 F6F6 F5F6 F5F6 F5F5 F5F7 F5F5"
479 $"F6FC F7F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
480 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F9 F7F5"
481 $"FFF9 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
482 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F9F5"
483};
484#endif
485
486#ifdef GNU_ICON
487resource 'ics#' (128) {
488 { /* array: 2 elements */
489 /* [1] */
490 $"0000 0008 11E6 26B4 2EEA 2906 5B14 36D8"
491 $"2EA8 1A28 1D8C 1B5C 1EC8 0FE8 0780",
492 /* [2] */
493 $"0010 001C 11FE 37FE 7FFE 7FFE 7FFE 3FF8"
494 $"3FF8 1FF8 1FFC 1FFC 1FF8 0FF8 07F0 0280"
495 }
496};
497#else
498resource 'ics#' (128) {
499 { /* array: 2 elements */
500 /* [1] */
501 $"0000 0000 0001 604B 6000 6002 0831 0078"
502 $"1079 1030 1001 0802 063C 01C0",
503 /* [2] */
504 $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
505 $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF"
506 }
507};
508#endif
509
510#ifdef GNU_ICON
511resource 'ics4' (128) {
512 $"0000 0000 000C 0000 0000 0000 000C FD00"
513 $"000F 000F FFF0 0FF0 00FD 0FFC F0FF 0FD0"
514 $"0DF0 FFFD FFFD FDF0 0CFD FCDF 0CDD CFF0"
515 $"0FDF FDFF DDDF CFC0 00FF DFFD FFCF F000"
516 $"00FC FFFC FCED F000 000F FCFC CCFD F000"
517 $"000F FFCF FDDD FF00 000F FDFF DFCF FF00"
518 $"000F FFFD FFDC F000 0000 FFFF FFFD F000"
519 $"0000 0FFF FCDD 0000 0000 00C0 C0"
520};
521#else
522resource 'ics4' (128) {
523 $"0000 0000 0000 0000 0000 0000 0000 0000"
524 $"0000 0000 0000 00DE CEEC 000C CCCC CCFF"
525 $"DFFD 0CC0 0000 0DCD CEEC D000 00CC 00D0"
526 $"0000 D000 0CEE C00D 000D 0000 CEAA EC0D"
527 $"000D 0000 CEAA EC0D 000D 0000 0CEE C00D"
528 $"000D 0000 00CC 000D 000C D000 0000 00E0"
529 $"0000 CDD0 00EE EE00 0000 000E EE00 0000"
530 $"0000 0000 000D 0000 0000 0000 000D"
531};
532#endif
533
534#ifdef GNU_ICON
535resource 'ics8' (128) {
536 $"0000 0000 0000 0000 0000 002B 0000 0000"
537 $"0000 0000 0000 0000 0000 002B FFF9 0000"
538 $"0000 00FF 0000 00FF FFFF FF00 00FF FF00"
539 $"0000 FFF9 00FF FF2B FF00 FFFF 00FF F900"
540 $"00F9 FF00 FFFF FFF9 FFFF FFF9 FFF9 FF00"
541 $"002B FFF9 FF2B F9FF 002B F9F9 2BFF FF00"
542 $"00FF F9FF FFF9 FFFF F9F9 F9FF 2BFF 2B00"
543 $"0000 FFFF F9FF FFF9 FFFF 2BFF FF00 0000"
544 $"0000 FF2B FFFF FF2B FF2B FCF9 FF00 0000"
545 $"0000 00FF FF2B FF2B 2B2B FFF9 FF00 0000"
546 $"0000 00FF FFFF 2BFF FFF9 F9F9 FFFF 0000"
547 $"0000 00FF FFF9 FFFF F9FF 2BFF FFFF 0000"
548 $"0000 00FF FFFF FFF9 FFFF F92B FF00 0000"
549 $"0000 0000 FFFF FFFF FFFF FFF9 FF00 0000"
550 $"0000 0000 00FF FFFF FF2B F9F9 0000 0000"
551 $"0000 0000 0000 2B00 2B"
552};
553#else
554resource 'ics8' (128) {
555 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
556 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
557 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F5F5 F9FC"
558 $"F7FB FBF7 F5F5 F5F6 F6F7 F7F7 F7F8 FFFF"
559 $"F9FF FFF9 F5F7 F7F5 F5F5 F5F5 F5F9 F7F9"
560 $"F7FB FCF7 F9F5 F5F5 F5F5 F6F6 F5F5 F9F5"
561 $"F5F5 F5F5 F9F5 F5F5 F5F7 FBFB F7F5 F5F9"
562 $"F5F5 F5F9 F5F5 F5F5 F7FB FDFD ACF7 F5F9"
563 $"F5F5 F5F9 F5F5 F5F5 F7FB FDFD ACF7 F5F9"
564 $"F5F5 F5F9 F5F5 F5F5 F5F7 FBFB F7F5 F5F9"
565 $"F5F5 F5F9 F5F5 F5F5 F5F5 F7F7 F5F5 F5FA"
566 $"F5F5 F5F7 F9F5 F5F5 F5F5 F5F5 F5F5 FBF5"
567 $"F5F5 F5F5 F7F9 F9F5 F5F5 FBFB FBFB F5F5"
568 $"F5F5 F5F5 F5F5 F5FB FBFB F5F5 F5F5 F5F5"
569 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5 F5F5"
570 $"F5F5 F5F5 F5F5 F5F5 F5F5 F5F9 F5F5 F5F5"
571};
572#endif
573
574resource 'ICN#' (129) {
575 { /* array: 2 elements */
576 /* [1] */
577 $"0000 0300 0000 1C80 0000 E0B0 0007 00F0"
578 $"0038 0070 01C0 0038 0E00 8038 7008 4038"
579 $"8008 2038 8004 0038 8080 041C C086 301C"
580 $"C087 311C 4007 BB8C 6167 378C 6170 070E"
581 $"2130 6006 3031 FC06 3047 FE06 10E7 FF02"
582 $"1867 FF82 1847 FF03 080F FE07 0C1F E03C"
583 $"0C0F C1F0 0406 0F80 0400 7C00 0203 E000"
584 $"031F 0000 01F8 0000 00C0",
585 /* [2] */
586 $"0000 0300 0000 1F80 0000 FFB0 0007 FFF0"
587 $"003F FFF0 01FF FFF8 0FFF FFF8 7FFF FFF8"
588 $"FFFF FFF8 FFFF FFF8 FFFF FFFC FFFF FFFC"
589 $"FFFF FFFC 7FFF FFFC 7FFF FFFC 7FFF FFFE"
590 $"3FFF FFFE 3FFF FFFE 3FFF FFFE 1FFF FFFE"
591 $"1FFF FFFE 1FFF FFFF 0FFF FFFF 0FFF FFFC"
592 $"0FFF FFF0 07FF FF80 07FF FC00 03FF E000"
593 $"03FF 0000 01F8 0000 00C0"
594 }
595};
596
597resource 'icl4' (129) {
598 $"0000 0000 0000 0000 0000 00FF 0000 0000"
599 $"0000 0000 0000 0000 000F FF0C F000 0000"
600 $"0000 0000 0000 0000 FFF0 0000 F0FF 0000"
601 $"0000 0000 0000 0FFF 0000 0000 FFDF 0000"
602 $"0000 0000 00FF F000 0000 0000 CFEF 0000"
603 $"0000 000F FF00 0000 0000 0000 00ED F000"
604 $"0000 FFF0 0000 0000 DC00 0000 00AD F000"
605 $"0FFF 0000 0000 E000 0DC0 0000 00FE F000"
606 $"F000 0000 0000 DC00 0CD0 0000 00FE F000"
607 $"F000 0000 CC00 CC00 00C0 0C00 00FA F000"
608 $"F000 0000 D000 00C0 00C0 0DCC 00CF EF00"
609 $"EF00 0000 E000 0EED C0ED C0DD 000F EF00"
610 $"EFC0 0000 DC00 CEEF CCEF D0DD 000F AF00"
611 $"DFC0 000C 00C0 CEFE D0EF D0ED E00C FF00"
612 $"0EFC 00CD 0EDC 0DDE 00DF CDEE EC00 FF00"
613 $"0EFC 000E 0DEE 00CC 00CC CDFE D000 FFF0"
614 $"0DFC 000D CCFE C00C DEDD 0CDC 0000 CFF0"
615 $"00EF C00C 0CDE 00CE FFFF AE00 0000 0FF0"
616 $"00EF C000 DD0C 0DEE FFFF FEED C000 0FF0"
617 $"00DF C000 DFE0 CDFF FFFF FFAF C000 0CF0"
618 $"000E FC00 DEE0 CAFF FFFF FFFE D000 0CFD"
619 $"000E FC00 CED0 DEFF FFFF FFFE C000 0CFF"
620 $"000D FC00 0C0C EFFF FFFF AEDD 00CC CFFF"
621 $"0000 EF00 000D EFFF FADD C00C CCFF FED0"
622 $"0000 EF00 000C FAFF AED0 CCCF FFEE D000"
623 $"0000 DF00 000C DEED CCCC FFFE ED00 0000"
624 $"0000 0E00 0000 0CCC CFFF EED0 0000 0000"
625 $"0000 0DFD 0000 CCFF FEED 0000 0000 0000"
626 $"0000 00EF DDDF FFEE D000 0000 0000 0000"
627 $"0000 000E FFFE ED00 0000 0000 0000 0000"
628 $"0000 0000 DDD0"
629};
630
631resource 'icl8' (129) {
632 $"0000 0000 0000 0000 0000 0000 0000 0000"
633 $"0000 0000 0000 FFFF 0000 0000 0000 0000"
634 $"0000 0000 0000 0000 0000 0000 0000 0000"
635 $"0000 00FF FFFF 00F7 FF00 0000 0000 0000"
636 $"0000 0000 0000 0000 0000 0000 0000 0000"
637 $"FFFF FF00 0000 0000 FF00 FFFF 0000 0000"
638 $"0000 0000 0000 0000 0000 0000 00FF FFFF"
639 $"0000 0000 0000 0000 FFFF FAFF 0000 0000"
640 $"0000 0000 0000 0000 0000 FFFF FF00 0000"
641 $"0000 0000 0000 0000 F7FF FCFF 0000 0000"
642 $"0000 0000 0000 00FF FFFF 0000 0000 0000"
643 $"F500 0000 0000 0000 0000 FCFA FF00 0000"
644 $"0000 0000 FFFF FF00 0000 0000 0000 0000"
645 $"812B 0000 0000 0000 0000 FDFA FF00 0000"
646 $"00FF FFFF 0000 0000 0000 0000 FBF5 0000"
647 $"0081 2B00 0000 0000 0000 FFFC FF00 0000"
648 $"FF00 0000 0000 0000 00F5 0000 F9F8 0000"
649 $"00F8 FA00 0000 0000 0000 FFFC FF00 0000"
650 $"FF00 0000 0000 0000 F8F8 0000 F7F8 0000"
651 $"00F5 2B00 002B 0000 0000 FFFD FF00 0000"
652 $"FF00 0000 0000 00F5 FA00 0000 00F5 F800"
653 $"0000 2B00 00FA F8F6 0000 F7FF FCFF 0000"
654 $"FCFF 0000 0000 0000 FB00 0000 00FB FCF9"
655 $"F600 FBFA F700 5656 0000 00FF FCFF 0000"
656 $"FCFF F700 0000 0000 81F6 0000 F8FC ACFE"
657 $"F72B ACFE 5600 F9FA 0000 00FF FDFF 0000"
658 $"F9FF F700 0000 F5F7 F500 F600 2BAC FEFC"
659 $"FA00 FCFF 81F5 FB81 FBF5 00F7 FFFF 0000"
660 $"00FC FFF6 0000 2B81 00FC 81F8 0081 81FC"
661 $"F500 FAFF 2B81 ACFC FCF6 0000 FFFF 0000"
662 $"00FC FFF6 0000 00FB 0081 FCAC F500 F82B"
663 $"0000 F8F8 2B81 FFAC F900 0000 FFFF FF00"
664 $"00F9 FFF6 0000 0081 F6F8 FFAC F700 00F8"
665 $"F9FC FA56 00F6 562B 0000 0000 F7FF FF00"
666 $"0000 FCFF F700 00F7 002B FAFB F500 F7FC"
667 $"FEFF FFFF FDFB F500 0000 0000 00FF FF00"
668 $"0000 FCFF F700 0000 F9FA F5F8 0081 FCAC"
669 $"FFFF FFFF FFFC AC56 2B00 0000 00FF FF00"
670 $"0000 F9FF F700 0000 81FF AC00 F781 FFFF"
671 $"FFFF FFFF FFFF FDFE F800 0000 00F7 FF00"
672 $"0000 00FC FFF7 0000 56FC FBF5 F7FD FFFF"
673 $"FFFF FFFF FFFF FFAC 8100 0000 00F6 FFF9"
674 $"0000 00FC FFF7 0000 2BAC 5600 F9FC FFFF"
675 $"FFFF FFFF FFFF FFFB F700 0000 00F7 FFFF"
676 $"0000 00F9 FFF7 0000 F5F6 002B FBFE FFFF"
677 $"FFFF FFFE FDFC FA56 0000 F7F7 F7FF FFFF"
678 $"0000 0000 FCFF 0000 0000 00FA ACFF FFFF"
679 $"FFFD 8156 2BF5 00F7 F7F7 FFFF FFFC F900"
680 $"0000 0000 FCFF 0000 0000 00F7 FEFD FFFE"
681 $"FDFC F900 F7F7 F7FF FFFF FCFC F900 0000"
682 $"0000 0000 F9FF 0000 0000 00F6 56AC FBF9"
683 $"F7F6 F7F7 FFFF FFFC FCF9 0000 0000 0000"
684 $"0000 0000 00FC 0000 0000 0000 002B F7F7"
685 $"F7FF FFFF FCFC F900 0000 0000 0000 0000"
686 $"0000 0000 00F9 FFF9 0000 0000 F7F7 FFFF"
687 $"FFFC FCF9 0000 0000 0000 0000 0000 0000"
688 $"0000 0000 0000 FCFF F9F9 F9FF FFFF FCFC"
689 $"F900 0000 0000 0000 0000 0000 0000 0000"
690 $"0000 0000 0000 00FC FFFF FFFC FCF9 0000"
691 $"0000 0000 0000 0000 0000 0000 0000 0000"
692 $"0000 0000 0000 0000 FAFA F9"
693};
694
695resource 'ics#' (129) {
696 { /* array: 2 elements */
697 /* [1] */
698 $"0030 01CC 0E04 7006 8006 8006 8352 4412"
699 $"44C3 49F1 2BF1 23C7 23B8 01C0 1E",
700 /* [2] */
701 $"0030 01FC 0FFC 7FFE FFFE FFFE FFFE 7FFE"
702 $"7FFF 7FFF 3FFF 3FFF 3FF8 3FC0 1E"
703 }
704};
705
706resource 'ics4' (129) {
707 $"0000 0000 0CFF C000 0000 0CCF FFC0 EE00"
708 $"00CC FFFC 0000 CEC0 CFFF C0C0 C000 0ED0"
709 $"F000 C0C0 CC00 0FD0 F000 C0CD 0CCC 0DA0"
710 $"FC0C C0DF CACD CCF0 DF0C DFCD 0DDA C0FC"
711 $"CF0C CD0C EEDC 00EF 0FC0 FCCF FFFE C0DF"
712 $"0DF0 DCDF FFFA C0CF 0CF0 0CAF FEDC CFFD"
713 $"00F0 0CEE DCFF FDC0 00CD 00CF FFDC 0000"
714 $"000D FFFD C000 0000 0000 CC"
715};
716
717resource 'ics8' (129) {
718 $"0000 0000 0000 0000 F5F7 FFFF 2BF5 0000"
719 $"0000 0000 00F6 F7FF FFFF F600 ACAC 0000"
720 $"0000 F6F7 FFFF FFF6 0000 0000 F8AC F700"
721 $"2BFF FFFF F600 F600 F8F5 0000 00AC FA00"
722 $"FFF5 0000 F6F5 F700 F6F6 F500 F5FE FA00"
723 $"FFF5 00F5 F700 F756 F5F8 2BF7 0081 FDF5"
724 $"FF2B 00F6 F700 FAFE F7FD F8FA 2BF7 FF00"
725 $"56FF 00F7 56FF 2B56 F556 56FD F800 FEF7"
726 $"2BFF F5F6 F7FA F5F8 ACFC F92B 0000 FBFF"
727 $"00FF F700 FFF8 F8FE FFFF FFFC F600 56FF"
728 $"0056 FF00 FAF7 81FF FFFF FFFD 2B00 F6FF"
729 $"002B FFF5 002B FDFF FFFC 56F7 F7FF FF81"
730 $"0000 FFF5 00F6 FCFB FAF7 FFFF FFF9 F600"
731 $"0000 F8F9 0000 F7FF FFFF F9F6 0000 0000"
732 $"0000 0081 FFFF FFF9 F600 0000 0000 0000"
733 $"0000 0000 F8F6"
734};
diff --git a/mac/src/chdir.c b/mac/src/chdir.c
deleted file mode 100644
index 73682c4c4cf..00000000000
--- a/mac/src/chdir.c
+++ /dev/null
@@ -1,46 +0,0 @@
1/* Implementation of chdir on the Mac for use with make-docfile.
2 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4
5Contributed by Andrew Choi (akochoi@mac.com).
6
7This file is part of GNU Emacs.
8
9GNU Emacs is free software: you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation, either version 3 of the License, or
12(at your option) any later version.
13
14GNU Emacs is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21
22
23#include <string.h>
24#include <Files.h>
25#include <TextUtils.h>
26
27int chdir(const char *path)
28{
29 WDPBRec wdpb;
30
31 Str255 mypath;
32 OSErr error;
33
34 strcpy(mypath, path);
35 c2pstr(mypath);
36
37 wdpb.ioNamePtr = mypath;
38 wdpb.ioVRefNum = 0;
39 wdpb.ioWDDirID = 0;
40 error = PBHSetVolSync(&wdpb);
41
42 return error == noErr ? 0 : -1;
43}
44
45/* arch-tag: f567b034-fd9e-43d1-94cb-9012375237d1
46 (do not change this comment) */