1. 11 Jan, 2012 1 commit
  2. 02 Jan, 2011 1 commit
  3. 13 Jan, 2010 1 commit
  4. 01 Dec, 2009 1 commit
  5. 21 Nov, 2009 1 commit
    • Jan Djärv's avatar
      Use a select wrapper around the GLib event loop, thus taking into account GLib · 872870b2
      Jan Djärv authored
      timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
      for handling GConf death/restart.
      
      * xterm.c: #include xgselect.h.
      (x_initialize): Call xgselect_initialize.
      
      * xsettings.c (something_changedCB): C++ comments => C comments.
      (init_gconf): Do not deal with any GLib file descriptors, xg_select
      does that now.
      
      * gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
      (xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
      (scroll_bar_button_cb): Remove.
      (create_menus): C++ comments => C comments. Don't bind grab-notify
      event.
      (xg_create_scroll_bar): Don't bind button-press-event and
      button-release-event.
      
      * process.c: Include xgselect.h if defined (USE_GTK) ||
      defined (HAVE_GCONF).
      (wait_reading_process_output): Call xg_select for the same condition.
      
      * xgselect.c (xg_select): New function to better integrate with
      GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.
      
      * xgselect.h: New file, declare xg_select, xgselect_initialize.
      
      * Makefile.in (XOBJ): Add xgselect.o.
      872870b2
  6. 08 Jan, 2009 1 commit
  7. 09 May, 2008 2 commits
  8. 07 Jan, 2008 1 commit
  9. 25 Jul, 2007 1 commit
  10. 21 Jan, 2007 1 commit
  11. 06 Feb, 2006 1 commit
  12. 10 Aug, 2005 1 commit
  13. 04 Jul, 2005 1 commit
  14. 16 Apr, 2004 1 commit
  15. 08 Sep, 2003 1 commit
  16. 01 Sep, 2003 1 commit
  17. 26 Apr, 2002 1 commit
  18. 22 Oct, 2000 1 commit
    • Andrew Choi's avatar
      Initial check-in: changes for building Emacs under Mac OS. · 1a578e9b
      Andrew Choi authored
      2000-10-23  Andrew Choi  <akochoi@i-cable.com>
      
      	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
      
      	* dispnew.c [macintosh]: Include macterm.h.
      	(init_display) [macintosh]: initialization for window system.
      
      	* emacs.c (main) [macintosh]: Call syms_of_textprop,
      	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
      	syms_of_search, x_term_init, and init_keyboard before calling
      	init_window_once.  Also, call syms_of_xmenu.
      
      	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
      	default fontset to Monaco.
      
      	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
      	NewMacWindow and DisposeMacWindow.
      	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
      	instead of calling NewMacWindow and setting fields of
      	f->output_data.mac directly.  Call init_frame_faces.
      	(Fdelete_frame) [macintosh]: Remove unused code.
      	(Fmodify_frame_parameters) [macintosh]: Call
      	x_set_frame_parameters instead of mac_set_frame_parameters.
      
      	* frame.h [macintosh]: Define menu_bar_lines field in struct
      	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.
      
      	* keyboard.c [macintosh]: Include macterm.h.
      	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
      	and menu_bar_activate_event type events as for X and NT.
      	(make_lispy_event) [macintosh]: Construct lisp events of type
      	MENU_BAR_EVENT as for X and NT.
      
      	* sysdep.c [macintosh]: Remove declaration for sys_signal.
      	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
      	(sys_subshell) [macintosh]: Remove definition entirely.
      	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
      	Vwindow_system_version here.  Remove initialization of
      	Vx_bitmap_file_path.
      	(read_input_waiting): Correct the number of parameters passed to
      	read_socket_hook.
      	Move all Macintosh functions to mac/mac.c.
      
      	* term.c [macintosh]: Include macterm.h.
      
      	* window.c [macintosh]: Include macterm.h.
      
      	* xdisp.c [macintosh]: Include macterm.h.  Declare
      	set_frame_menubar and pending_menu_activation.
      	(echo_area_display) [macintosh]: Do not return if terminal frame
      	is the selected frame.
      	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
      	Allow only the selected frame to set menu bar.
      	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
      	calling FRAME_EXTERNAL_MENU_BAR (f).
      	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).
      
      	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
      	and check_x.  Declare XCreateGC.  Define x_create_gc and
      	x_free_gc.  Initialize font_sort_order.
      	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
      	but call x_list_fonts instead of w32_list_fonts.
      	(Finternal_face_x_get_resource) [macintosh]: Do not call
      	display_x_get_resource.
      	(prepare_face_for_display) [macintosh]: Set xgcv.font.
      	(realize_x_face) [macintosh]: Load the font if it is specified in
      	ATTRS.
      	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
      	to Qt.
      
      	* cus-edit.el (custom-button-face): Use 3D look for mac.
      	(custom-button-pressed-face): Likewise.
      
      	* faces.el (set-face-attributes-from-resources): Handle mac frames
      	in the same way as x and w32 frames.
      	(face-valid-attribute-values): Likewise.
      	(read-face-attribute): Likewise.
      	(defined-colors): Likewise.
      	(color-defined-p): Likewise.
      	(color-values): Likewise.
      	(display-grayscale-p): Likewise.
      	(face-set-after-frame-default): Likewise.
      	(mode-line): Same default face as for x and w32.
      	(tool-bar): Likewise.
      
      	* frame.el: Remove call to frame-notice-user-settings at end of
      	the file.
      
      	* info.el (Info-fontify-node): make underlines invisible for mac
      	as for x, pc, and w32 frame types.
      
      	* term/mac-win.el: New file.
      1a578e9b
  19. 25 Aug, 1996 1 commit
  20. 15 Jan, 1996 1 commit
  21. 15 Jun, 1995 1 commit
  22. 03 Mar, 1995 1 commit
  23. 13 Jan, 1992 1 commit
  24. 25 Oct, 1990 2 commits