1. 13 Jun, 2008 1 commit
    • Jason Rumney's avatar
      * w32fns.c (Fw32_select_font): Removed old font API function. · 6fe9826d
      Jason Rumney authored
      * w32font.c (logfont_to_fcname): New function.
      (Fx_select_font): New font dialog function compatible with
      GTK/fontconfig version.
      
      * font.c (font_style_symbolic_from_value): New function.
      (font_style_symbolic): Use it.
      
      * font.h (font_style_symbolic_from_value): Declare new function.
      6fe9826d
  2. 02 Jun, 2008 1 commit
    • Jim Meyering's avatar
      Make "xfree (NULL)" a no-op; remove useless if-before-xfree. · 70fdbb46
      Jim Meyering authored
      * src/alloc.c (xfree): Return right away for a NULL arg.
      * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests.
      * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise.
      * src/mac.c (create_apple_event_from_event_ref): Likewise.
      (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise.
      * src/doprnt.c (doprnt1): Likewise.
      * src/frame.c (frame): Likewise.
      * src/keyboard.c (wipe_kboard): Likewise.
      * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap):
      (init_font_name_table, mac_unload_font, x_delete_display): Likewise.
      * src/term.c (tty_default_color_capabilities, maybe_fatal)
      (delete_tty): Likewise.
      * src/w16select.c (string): Likewise.
      * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise.
      * src/w32bdf.c (w32_free_bdf_font): Likewise.
      * src/w32fns.c (w32_unload_font): Likewise.
      * src/w32font.c (w32font_close): Likewise.
      * src/window.c (size_window): Likewise.
      * src/xselect.c (receive_incremental_selection): Likewise.
      * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise.
      * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise.
      * src/w32.c (stat): Likewise.
      70fdbb46
  3. 28 May, 2008 1 commit
  4. 22 May, 2008 1 commit
  5. 21 May, 2008 1 commit
  6. 14 May, 2008 2 commits
  7. 04 May, 2008 1 commit
  8. 29 Apr, 2008 1 commit
  9. 28 Apr, 2008 1 commit
  10. 03 Apr, 2008 1 commit
  11. 27 Mar, 2008 1 commit
  12. 19 Mar, 2008 1 commit
    • Jason Rumney's avatar
      * w32fns.c (hourglass_timer, hourglass_hwnd): New variables. · d148e14d
      Jason Rumney authored
      (syms_of_w32fns): Initialize them.
      (HOURGLASS_ID): New constant.
      (x_window_to_frame): Don't check hourglass_window.
      (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
      (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
      (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
      (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
      Only change the cursor if hourglass is not active.
      (Fx_create_frame): Initialize frame's current_cursor.
      (hourglass_atimer): Remove.
      (hourglass_started): New function.
      (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
      (show_hourglass): Adapt to w32, changing argument to frame.
      
      * w32term.h (struct w32_output): Remove hourglass_window.
      Add current_cursor.
      
      * eval.c (call_debugger, Fsignal):
      * keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
      (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
      (Fexecute_extended_command, cancel_hourglass_unwind):
      * minibuf.c (read_minibuf):
      * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
      d148e14d
  13. 14 Mar, 2008 2 commits
  14. 01 Mar, 2008 1 commit
  15. 24 Feb, 2008 1 commit
  16. 22 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      Consolidate the image_cache to the terminal struct. · 354884c4
      Stefan Monnier authored
      * termhooks.h (P_): Remove redundant def.
      (struct terminal): New field `image_cache'.
      * frame.h (FRAME_IMAGE_CACHE): New macro.  Use it everywhere in place
      of FRAME_X_IMAGE_CACHE.
      * xterm.h (struct x_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * w32term.h (struct w32_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * macterm.h (struct mac_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * xterm.c (x_term_init):
      * w32term.c (w32_term_init):
      * macterm.c (mac_term_init): Set the image_cache in the terminal.
      * dispextern.h (clear_image_cache, forall_images_in_image_cache):
      Remove declarations.
      (clear_image_caches, mark_image_cache): New declarations.
      * xfaces.c (clear_face_cache):
      * xdisp.c (redisplay_internal): Use clear_image_caches.
      * image.c (clear_image_cache): Don't check that a frame is on
      a window-system before checking if it shares the same cache.
      (clear_image_caches): New function.
      (Fclear_image_cache): Use it.
      (mark_image): Move from allo.c.
      (mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
      * alloc.c (mark_image, mark_image_cache): Move to image.c.
      (mark_object): Don't call mark_image_cache for frames.
      (mark_terminals): Call mark_image_cache.
      354884c4
  17. 18 Feb, 2008 1 commit
  18. 08 Jan, 2008 1 commit
  19. 29 Dec, 2007 1 commit
  20. 17 Dec, 2007 1 commit
  21. 13 Dec, 2007 1 commit
  22. 06 Dec, 2007 1 commit
  23. 17 Nov, 2007 1 commit
    • Jason Rumney's avatar
      Include imm.h. · 820eff5a
      Jason Rumney authored
      (get_composition_string_fn, get_ime_context_fn): New optional system functions.
      (globals_of_w32fns): Load them from imm32.dll.
      (ignore_ime_char): New flag.
      (w32_wnd_proc): Handle WM_UNICHAR, WM_IME_CHAR and WM_IME_ENDCOMPOSITION.
      820eff5a
  24. 15 Nov, 2007 1 commit
  25. 14 Nov, 2007 5 commits
  26. 13 Nov, 2007 2 commits
  27. 09 Nov, 2007 1 commit
  28. 25 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Make `window-system' into a keyboard-local variable (rather than · 70b8d0a4
      Stefan Monnier authored
      frame-local as done originally by multi-tty).
      
      * startup.el (window-system): Remove.  Don't make it frame-local.
      
      * keyboard.h (struct kboard): Add Vwindow_system.
      * keyboard.c (init_kboard): Set a default for Vwindow_system.
      (mark_kboards): Mark Vwindow_system.
      
      * dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
      (init_display): Don't set the obsolete `window-system' frame-param.
      
      * xterm.c (x_term_init):
      * w32term.c (w32_create_terminal):
      * term.c (init_tty): Set Vwindow_system.
      * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
      multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.
      
      * xfns.c (Fx_create_frame, x_create_tip_frame):
      * w32fns.c (Fx_create_frame, x_create_tip_frame):
      * macfns.c (Fx_create_frame):
      Don't set the obsolete `window-system' frame-param.
      
      * frame.h (Qwindow_system): Remove.
      * frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
      (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
      70b8d0a4
  29. 24 Oct, 2007 1 commit
  30. 22 Oct, 2007 2 commits
  31. 17 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * xselect.c (x_own_selection, x_handle_selection_clear) · 99784d63
      Stefan Monnier authored
      (x_clear_frame_selections):
      * w32menu.c (list_of_panes, list_of_items):
      * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list):
      * textprop.c (validate_plist, interval_has_all_properties)
      (interval_has_some_properties, interval_has_some_properties_list)
      (add_properties, text_property_list):
      * process.c (Fget_buffer_process, list_processes_1, status_notify):
      * minibuf.c (Fassoc_string):
      * macselect.c (x_own_selection, x_clear_frame_selections)
      (Fx_disown_selection_internal):
      * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree):
      Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.
      99784d63
  32. 13 Oct, 2007 1 commit