aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfns.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-10-09 20:00:17 +0000
committerKaroly Lorentey2005-10-09 20:00:17 +0000
commit0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2 (patch)
tree3e8596405b243531128cd0f1d8f59d2ab9e7f7c7 /src/macfns.c
parenta3c07f683d1f9fbf7c7af0120dfebc5fc34b61fa (diff)
parent20ef86730cca82a1a2e212a665c0b119ed2d70b2 (diff)
downloademacs-0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2.tar.gz
emacs-0ff21b4e57b1dc7c714c21c9eea1a4906630ecf2.zip
Merged from miles@gnu.org--gnu-2005 (patch 118-132, 551-577)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-551 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-552 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-553 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-554 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-555 Remove CVS keywords from newsticker files * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-556 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-557 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-558 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-559 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-560 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-561 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-562 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-563 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-564 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-565 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-566 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-567 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-568 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-569 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-570 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-571 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-572 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-573 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-574 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-575 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-576 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-577 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-118 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-119 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-120 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-121 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-122 Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-123 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-124 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-125 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-126 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-127 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-128 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-129 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-130 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-131 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-132 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-423
Diffstat (limited to 'src/macfns.c')
-rw-r--r--src/macfns.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/macfns.c b/src/macfns.c
index 160eb1f7774..f0d07a9fe55 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -94,6 +94,11 @@ Lisp_Object Qcancel_timer;
94 94
95extern Lisp_Object Vwindow_system_version; 95extern Lisp_Object Vwindow_system_version;
96 96
97#if GLYPH_DEBUG
98int image_cache_refcount, dpyinfo_refcount;
99#endif
100
101
97#if 0 /* Use xstricmp instead. */ 102#if 0 /* Use xstricmp instead. */
98/* compare two strings ignoring case */ 103/* compare two strings ignoring case */
99 104
@@ -2527,6 +2532,10 @@ This function is an internal primitive--use `make-frame' instead. */)
2527 } 2532 }
2528 2533
2529 /* Try out a font which we hope has bold and italic variations. */ 2534 /* Try out a font which we hope has bold and italic variations. */
2535#if USE_ATSUI
2536 if (! STRINGP (font))
2537 font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1");
2538#endif
2530 if (! STRINGP (font)) 2539 if (! STRINGP (font))
2531 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); 2540 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
2532 /* If those didn't work, look for something which will at least work. */ 2541 /* If those didn't work, look for something which will at least work. */
@@ -3335,6 +3344,10 @@ start_hourglass ()
3335 EMACS_TIME delay; 3344 EMACS_TIME delay;
3336 int secs, usecs = 0; 3345 int secs, usecs = 0;
3337 3346
3347 /* Don't bother for ttys. */
3348 if (NILP (Vwindow_system))
3349 return;
3350
3338 cancel_hourglass (); 3351 cancel_hourglass ();
3339 3352
3340 if (INTEGERP (Vhourglass_delay) 3353 if (INTEGERP (Vhourglass_delay)
@@ -3581,7 +3594,7 @@ x_create_tip_frame (dpyinfo, parms, text)
3581 FRAME_FONTSET (f) = -1; 3594 FRAME_FONTSET (f) = -1;
3582 f->icon_name = Qnil; 3595 f->icon_name = Qnil;
3583 3596
3584#if 0 /* GLYPH_DEBUG TODO: image support. */ 3597#if GLYPH_DEBUG
3585 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; 3598 image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount;
3586 dpyinfo_refcount = dpyinfo->reference_count; 3599 dpyinfo_refcount = dpyinfo->reference_count;
3587#endif /* GLYPH_DEBUG */ 3600#endif /* GLYPH_DEBUG */
@@ -3625,6 +3638,10 @@ x_create_tip_frame (dpyinfo, parms, text)
3625 } 3638 }
3626 3639
3627 /* Try out a font which we hope has bold and italic variations. */ 3640 /* Try out a font which we hope has bold and italic variations. */
3641#if USE_ATSUI
3642 if (! STRINGP (font))
3643 font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1");
3644#endif
3628 if (! STRINGP (font)) 3645 if (! STRINGP (font))
3629 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); 3646 font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1");
3630 /* If those didn't work, look for something which will at least work. */ 3647 /* If those didn't work, look for something which will at least work. */
@@ -4145,6 +4162,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
4145 options.optionFlags = kNavDefaultNavDlogOptions; 4162 options.optionFlags = kNavDefaultNavDlogOptions;
4146 options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */ 4163 options.optionFlags |= kNavAllFilesInPopup; /* All files allowed */
4147 options.optionFlags |= kNavSelectAllReadableItem; 4164 options.optionFlags |= kNavSelectAllReadableItem;
4165 options.optionFlags &= ~kNavAllowMultipleFiles;
4148 if (!NILP(prompt)) 4166 if (!NILP(prompt))
4149 { 4167 {
4150 message = cfstring_create_with_string (prompt); 4168 message = cfstring_create_with_string (prompt);