all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Small patches for Mac OS X
@ 2004-09-02  8:41 YAMAMOTO Mitsuharu
  2004-09-07  9:32 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 3+ messages in thread
From: YAMAMOTO Mitsuharu @ 2004-09-02  8:41 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

The attached is a collection of small patches about the following
problems on Mac OS X.  All but the final one are only for the Carbon
build.

  * `(read-char)' doesn't read the TAB key.
  * Non-ASCII window title is not displayed.
  * `(x-server-version)' returns a strange value.
  * A menu item just before a separator may not invoke its command.
  * The mouse pointer has unusual shape on scroll bars.
  * Linked with unused libraries.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

2004-09-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
	
	* term/mac-win.el: Add ASCII equivalents for some function keys.
	(mode-line-frame-identification): Sync with x-win.el.

	* macfns.c (x_real_positions): Save the current window port and
	set a new one before obtaining the global coordinate.  Use
	FRAME_MAC_WINDOW.
	(x_set_name, x_set_title): Encode title to UTF8.  Use
	SetWindowTitleWithCFString.
	(Fx_server_version): Get correct OS version.

	* macmenu.c (add_menu_item): Remove unused variable `i'.  Don't
	let separator items destroy refence constants of other menu items.

	* macterm.c (x_update_end): Move SetPortWindowPort to inside
	BLOCK_INPUT.
	(x_set_offset): Use FRAME_MAC_WINDOW.

	* xdisp.c (note_mouse_highlight): Set the mouse pointer shape to
	nontext_cursor if it is on a scroll bar.

	* s/darwin.h (LIBS_CARBON): New define to specify libraries for
	Carbon support.
	(LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.  Use
	LIBS_CARBON.


[-- Attachment #2: diff-small.gz --]
[-- Type: application/octet-stream, Size: 2851 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small patches for Mac OS X
  2004-09-02  8:41 Small patches for Mac OS X YAMAMOTO Mitsuharu
@ 2004-09-07  9:32 ` YAMAMOTO Mitsuharu
  2004-11-01 10:40   ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 3+ messages in thread
From: YAMAMOTO Mitsuharu @ 2004-09-07  9:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

>>>>> On Thu, 02 Sep 2004 17:41:36 +0900, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> said:

> The attached is a collection of small patches about the following
> problems on Mac OS X. 

... and more.

  * Crash if used with MacUIM.
    (http://www.digital-genes.com/~yatsu/macuim/en/)
  * Inconsistent calculation of the frame position.
    (cf. http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-07/msg00042.html)
  * Behavior of the zoom button is unlike that of other applications.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

2004-09-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c: Use GetWindowBounds to obtain the coordinate of the
	"outer window".

	* macterm.c: (front_emacs_window): Rename from mac_front_window.
	All uses changed.  Return the frontmost non-tooltip emacs window.
	(x_calc_absolute_position) [TARGET_API_MAC_CARBON]: Use the
	difference of width and height between the inner and outer windows.
	(x_set_offset) [TARGET_API_MAC_CARBON]: Specify window position by
	the coordinate of the outer window.  Adjust the position if the
	title bar is completely outside the screen.
	(app_is_suspended, app_sleep_time): Remove unused variables.
	(do_app_resume, do_app_suspend): Remove their contents because
	window-activate/deactivate events will do the job.
	(do_zoom_window): Remove unused variables.
	(do_zoom_window) [TARGET_API_MAC_CARBON]: Make compliant to the
	standard way of zooming.  Set the frame position.
	(XTread_socket): Don't use argument `expected'.  Don't use
	FrontWindow to determine the clicked window.  Exclude unprocessed
	mouseUp cases in the early stage.
	(XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.

[-- Attachment #2: diff-small2.gz --]
[-- Type: application/octet-stream, Size: 5023 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small patches for Mac OS X
  2004-09-07  9:32 ` YAMAMOTO Mitsuharu
@ 2004-11-01 10:40   ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 3+ messages in thread
From: YAMAMOTO Mitsuharu @ 2004-11-01 10:40 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

>>>>> On Tue, 07 Sep 2004 18:32:09 +0900, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> said:

>> The attached is a collection of small patches about the following
>> problems on Mac OS X.

> ... and more.

Yet once more.

  * "M-x fringe-mode RET" does not work.
  * Some fonts, notably "Hiragino", leave garbarge on cursor motion.

It also includes some internal changes for display.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

2004-11-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
	(macfns.o): Don't depend on ccl.h.

	* macfns.c (mac_frame_parm_handlers): Set handlers for
	Qleft_fringe and Qright_fringe.

	* macterm.c (mac_fill_rectangle_to_pixmap)
	(mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
	(mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
	Put in #if 0.
	(mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
	(x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
	(XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
	(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
	[!MAC_OS8]: Don't use XDrawImageString.  Always draw background
	and foreground separately.
	(x_draw_image_foreground): Use clipping instead of computing the
	intersection rectangle.
	(x_draw_image_glyph_string): Don't draw an image with mask to a
	pixmap.
	(x_redisplay_interface): Set flush_display_optional member to 0.

[-- Attachment #2: diff-small3.gz --]
[-- Type: application/octet-stream, Size: 3666 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-01 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02  8:41 Small patches for Mac OS X YAMAMOTO Mitsuharu
2004-09-07  9:32 ` YAMAMOTO Mitsuharu
2004-11-01 10:40   ` YAMAMOTO Mitsuharu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.