aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-12-24 02:51:04 +0000
committerYAMAMOTO Mitsuharu2005-12-24 02:51:04 +0000
commit14af1e44ad025c5028d74f9ac0910accd93189de (patch)
tree5d9f067045e5ef9ad08282cf0cb5c3658c096c24 /src
parent0e0a1663ccc907597a10877b057325924f1f82be (diff)
downloademacs-14af1e44ad025c5028d74f9ac0910accd93189de.tar.gz
emacs-14af1e44ad025c5028d74f9ac0910accd93189de.zip
(TYPE_FILE_NAME): New define.
(posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
-rw-r--r--src/macterm.h4
2 files changed, 26 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 69bc634be06..a32ed4158f6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,27 @@
12005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * macterm.h (TYPE_FILE_NAME): New define.
4 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
5
6 * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Add
7 prototypes. Make static.
8 (mac_aedesc_to_lisp): Initialize err to noErr.
9 (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
10 (init_coercion_handler): New functions.
11 (Fmac_coerce_ae_data): Use coercion of Apple event data for
12 translation from/to file names.
13
14 * macterm.c: Don't include sys/param.h.
15 (init_coercion_handler): Add extern.
16 [MAC_OS8] (main): Call init_coercion_handler.
17 (mac_initialize) [MAC_OSX]: Likewise.
18 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of
19 Apple event data for translation from/to file names.
20
21 * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise.
22
23 * image.c [MAC_OS] (find_image_fsspec): Likewise.
24
12005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change) 252005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change)
2 26
3 * insdel.c (insert, insert_and_inherit, insert_before_markers) 27 * insdel.c (insert, insert_and_inherit, insert_before_markers)
diff --git a/src/macterm.h b/src/macterm.h
index fb9651312cd..458fe63e5df 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -569,14 +569,14 @@ extern Lisp_Object mac_make_lispy_event_code P_ ((int));
569#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 569#define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
570#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 570#define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
571 571
572#define TYPE_FILE_NAME 'fNam'
573
572/* Defined in macselect.c */ 574/* Defined in macselect.c */
573 575
574extern void x_clear_frame_selections P_ ((struct frame *)); 576extern void x_clear_frame_selections P_ ((struct frame *));
575 577
576/* Defined in mac.c. */ 578/* Defined in mac.c. */
577 579
578extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *));
579extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int));
580extern void mac_clear_font_name_table P_ ((void)); 580extern void mac_clear_font_name_table P_ ((void));
581extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); 581extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *));
582#if TARGET_API_MAC_CARBON 582#if TARGET_API_MAC_CARBON