1. 02 Jul, 2005 1 commit
  2. 25 Jun, 2005 1 commit
  3. 24 Jun, 2005 2 commits
  4. 23 Jun, 2005 1 commit
  5. 31 May, 2005 1 commit
  6. 21 May, 2005 1 commit
  7. 13 May, 2005 2 commits
  8. 08 May, 2005 1 commit
  9. 30 Apr, 2005 1 commit
  10. 24 Apr, 2005 1 commit
  11. 23 Apr, 2005 1 commit
  12. 20 Apr, 2005 1 commit
  13. 30 Mar, 2005 1 commit
  14. 28 Mar, 2005 1 commit
    • Stefan Monnier's avatar
      (Fexpand_file_name): Use IS_DEVICE_SEP. · c70a4df6
      Stefan Monnier authored
      (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p.
      (Ffile_name_absolute_p): Use it.
      (search_embedded_absfilename): New fun, extracted from Fsubstitute_in_file_name.
      Use file_name_absolute_p.  Free the pw data after use.
      (Fsubstitute_in_file_name): Use it.
      After cutting a prefix, re-check file-name-handler.
  15. 17 Mar, 2005 1 commit
  16. 12 Mar, 2005 1 commit
  17. 11 Mar, 2005 2 commits
  18. 04 Mar, 2005 2 commits
  19. 03 Mar, 2005 1 commit
  20. 21 Jan, 2005 1 commit
  21. 30 Dec, 2004 1 commit
  22. 27 Dec, 2004 1 commit
    • Steven Tamm's avatar
      * dispextern.h: Change HAVE_CARBON to MAC_OS. · b15325b2
      Steven Tamm authored
      	(struct glyph_string): Likewise.
      * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of
      * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name):
      * fns.c (vector): Change MAC_OSX to MAC_OS.
      * frame.c (x_set_frame_parameters, x_report_frame_params)
      	(x_set_fullscreen): Remove #ifndef HAVE_CARBON.
      	(x_set_border_width, Vdefault_frame_scroll_bars): Change
      * image.c [MAC_OS]: Include sys/stat.h.
      	[MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and
      * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern.
      	[!MAC_OSX] (select): Use mac_wait_next_event.
      	[!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to
      	[!MAC_OSX] (select, run_mac_command): Change `#ifdef
      	(mac_clear_font_name_table): Add extern.
      	(Fmac_clear_font_name_table): New defun.
      	(syms_of_mac): Defsubr it.
      	[MAC_OSX] (select_and_poll_event): New function.
      	[MAC_OSX] (sys_select): Use it.
      	[MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function.
      	[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and
      	RunLoop for simultaneously monitoring two kinds of inputs, window
      	events and process outputs, without periodically polling.
      * macfns.c (mac_initialized): Remove extern.
      	(stricmp): Put in #if 0.  All callers changed to use xstricmp in
      	(strnicmp): Decrement `n' at the end of each loop, not the
      	(check_mac): Use the term "Mac native windows" instead of "Mac
      	(check_x_display_info, x_display_info_for_name): Sync with xfns.c.
      	(mac_get_rdb_resource): New function (from w32reg.c).
      	(x_get_string_resource): Use it.
      	(install_window_handler): Add extern.
      	(mac_window): New function.
      	(Fx_create_frame): Use it instead of make_mac_frame.  Set
      	parameter for Qfullscreen.  Call x_wm_set_size_hint.
      	(Fx_open_connection, Fx_close_connection): New defuns.
      	(syms_of_macfns): Defsubr them.
      	(x_create_tip_frame) [TARGET_API_MAC_CARBON]: Add
      	kWindowNoUpdatesAttribute to the window attribute.
      	(x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow.
      	(x_create_tip_frame): Don't call ShowWindow.
      	(Fx_show_tip): Call ShowWindow.
      	(Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if
      	(mac_frame_parm_handlers): Set handlers for Qfullscreen.
      	(syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0.
      * macgui.h [!MAC_OSX]: Don't include Controls.h.  Include
      	(Window): Typedef to WindowPtr and move outside `#if
      	(XSizeHints): New struct.
      * macterm.c (x_update_begin, x_update_end)
      	[TARGET_API_MAC_CARBON]: Disable screen updates during update of a
      	(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
      	[MAC_OS8]: Use XDrawImageString/XDrawImageString16.
      	(construct_mouse_click): Put in #if 0.
      	(x_check_fullscreen, x_check_fullscreen_move): Remove decls.
      	(x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef
      	(activate_scroll_bars, deactivate_scroll_bars)
      	[!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl.
      	(x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window
      	if the position is neither user-specified nor program-specified.
      	(x_free_frame_resources): Free size_hints.
      	(x_wm_set_size_hint): Allocate size_hints if needed.  Set
      	(mac_clear_font_name_table): New function.
      	(mac_do_list_fonts): Initialize font_name_table if needed.
      	(x_list_fonts): Don't initialize font_name_table.  Add BLOCK_INPUT
      	around mac_do_list_fonts.
      	(mac_unload_font): New function.
      	(x_load_font): Add BLOCK_INPUT around XLoadQueryFont.
      	(init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations
      	and definitions with #if TARGET_API_MAC_CARBON.
      	[USE_CARBON_EVENTS] (mac_handle_window_event): Add decl.
      	(install_window_handler): Add decl.
      	(do_window_update): Add BeginUpdate/EndUpdate for the tooltip
      	window.  Use UpdateControls.  Get the rectangle that should be
      	updated and restrict the target of expose_frame to it.
      	(do_grow_window): Set minimum height/width according to
      	(do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow.
      	(do_zoom_window): Don't use x_set_window_size.
      	[USE_CARBON_EVENTS] (mac_handle_window_event): New function.
      	(install_window_handler): New function.
      	[!USE_CARBON_EVENTS] (mouse_region): New variable.
      	[!USE_CARBON_EVENTS] (mac_wait_next_event): New function.
      	(XTread_socket) [USE_CARBON_EVENTS]: Move call to
      	GetEventDispatcherTarget inside BLOCK_INPUT.
      	(XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event.
      	Update mouse_region when mouse is moved.
      	(make_mac_frame): Remove.
      	(make_mac_terminal_frame): Put in #ifdef MAC_OS8.  Initialize
      	mouse pointer shapes.  Change values of f->left_pos and
      	f->top_pos.  Don't use make_mac_frame.  Use NewCWindow.  Don't
      	call ShowWindow.
      	(mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from
      	Vinvocation_name and Vsystem_name.
      	(mac_make_rdb): New function (from w32term.c).
      	(mac_term_init): Use it.  Add BLOCK_INPUT.  Error if display has
      	already been opened.  Don't pass argument to
      	mac_initialize_display_info.  Don't set dpyinfo->height/width.
      	Add entries to x_display_list and x_display_name_list.
      	(x_delete_display): New function.
      	(mac_initialize): Don't call mac_initialize_display_info.
      	(syms_of_macterm) [!MAC_OSX]: Don't call Fprovide.
      * macterm.h (check_mac): Add extern.
      	(struct mac_output): New member size_hints.
      	(FRAME_SIZE_HINTS): New macro.
      	(mac_unload_font): Add extern.
      * xdisp.c (expose_window, expose_frame): Remove kludges for Mac.
      * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font.
  23. 21 Dec, 2004 1 commit
  24. 07 Nov, 2004 2 commits
  25. 05 Nov, 2004 1 commit
  26. 04 Nov, 2004 1 commit
  27. 02 Nov, 2004 1 commit
    • Jan Djärv's avatar
      * fileio.c (Fread_file_name): Pass Qt as fifth parameter to · f9d64bb3
      Jan Djärv authored
      Fx_file_dialog if only directories should be read.
      * lisp.h: Fx_file_dialog takes 5 parameters.
      * xfns.c (Fx_file_dialog): Both Motif and GTK version:  Add
      parameter only_dir_p.
      In Motif version, don't put DEFAULT_FILENAME in filter part of the
      dialog, just text field part.  Do not add DEFAULT_FILENAME
      to list of files if it isn't there.
      In GTK version, pass only_dir_p parameter to xg_get_file_name.
      * macfns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".  When using
      a save dialog, add option kNavDontConfirmReplacement, change title
      to "Enter name", change text for save button to "Ok".
      * w32fns.c (Fx_file_dialog): Add parameter only_dir_p.  Check
      only_dir_p instead of comparing prompt to "Dired".
      * gtkutil.c (xg_get_file_with_chooser)
      (xg_get_file_with_selection): New functions, only defined ifdef
      (xg_get_file_name): Add parameter only_dir_p.
      Call xg_get_file_with_chooser or xg_get_file_with_selection
      depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog.
      (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog.
      * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
  28. 03 Oct, 2004 1 commit
  29. 29 Sep, 2004 1 commit
  30. 15 Sep, 2004 1 commit
  31. 08 Sep, 2004 1 commit
  32. 29 Aug, 2004 1 commit
  33. 26 Aug, 2004 1 commit
  34. 14 Aug, 2004 1 commit
  35. 07 Aug, 2004 1 commit