1. 03 Dec, 2008 2 commits
  2. 26 Aug, 2008 1 commit
    • Juanma Barranquero's avatar
      Fix typos (sync from trunk). · 88a584fe
      Juanma Barranquero authored
      * editfns.c (Ffield_string_no_properties): Fix typo in docstring.
      
      * fringe.c (Fdefine_fringe_bitmap): Doc fix.
      
      * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstring.
      
      * textprop.c (syms_of_textprop) <text-property-default-nonsticky>:
        (Fremove_text_properties): Fix typos in docstrings.
      
      * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring.
      
      * xdisp.c (syms_of_xdisp) <scroll-conservatively>:
        Fix typo in docstring.
      
      * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face):
        Fix typos in docstrings.
      
      * xselect.c (Fx_send_client_event): Doc fix.
      88a584fe
  3. 20 Aug, 2008 1 commit
  4. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/ms-w32.h (MULTI_KBOARD): Remove. · 69ab3201
      Dan Nicolaescu authored
      * xterm.c:
      * xselect.c:
      * xfns.c:
      * window.c:
      * w32term.c:
      * w32fns.c:
      * terminal.c:
      * termhooks.h:
      * term.c:
      * sysdep.c:
      * keyboard.h:
      * keyboard.c:
      * frame.h:
      * frame.c:
      * frame.c: Remove references to MULTI_KBOARD, it is now the
      default.
      * config.in: Regenerate.
      
      * config.nt (MULTI_KBOARD): Remove.
      
      * configure.in (MULTI_KBOARD): Remove.
      69ab3201
  5. 22 Jul, 2008 1 commit
  6. 25 Jun, 2008 1 commit
  7. 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
  8. 26 May, 2008 1 commit
  9. 14 May, 2008 1 commit
  10. 07 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * xselect.c (x_handle_dnd_message): · 3ae565b3
      Stefan Monnier authored
      * xmenu.c (digest_single_submenu, xmenu_show):
      * xdisp.c (with_echo_area_buffer_unwind_data, format_mode_line_unwind_data)
      (unwind_format_mode_line, display_menu_bar):
      * eval.c (Ffetch_bytecode):
      * doc.c (store_function_docstring):
      * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code)
      (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map):
      * buffer.c (add_overlay_mod_hooklist): Use ASET.
      3ae565b3
  11. 08 Jan, 2008 1 commit
  12. 18 Nov, 2007 1 commit
    • Kenichi Handa's avatar
      (Vselection_coding_system) · 82e0280c
      Kenichi Handa authored
      (Vnext_selection_coding_system): Delete them.
      (syms_of_xselect): Don't declare selection-coding-system and
      next-selection-coding-system.  They are declared in select.el.
      82e0280c
  13. 01 Nov, 2007 1 commit
  14. 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
  15. 12 Sep, 2007 2 commits
  16. 06 Sep, 2007 2 commits
  17. 03 Aug, 2007 1 commit
  18. 25 Jul, 2007 1 commit
  19. 08 Jun, 2007 1 commit
  20. 04 Jun, 2007 1 commit
  21. 06 Mar, 2007 1 commit
  22. 21 Jan, 2007 1 commit
  23. 24 Nov, 2006 1 commit
  24. 12 Nov, 2006 1 commit
  25. 19 Oct, 2006 1 commit
  26. 11 Aug, 2006 1 commit
  27. 18 Jul, 2006 1 commit
  28. 05 Mar, 2006 1 commit
  29. 28 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xselect.c (x_catch_errors_unwind): New function. · c525d842
      Chong Yidong authored
      	(x_reply_selection_request): Put x_uncatch_errors in an unwind.
      	(Fx_get_atom_name): Call x_uncatch_errors earlier.
      
      	* window.c (Qscroll_up, Qscroll_down): New syms.
      	(window_scroll_pixel_based): Make preserve_y static to avoid
      	getting point stuck when scrolling 1 line.
      c525d842
  30. 27 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary · 4545fa20
      Chong Yidong authored
      	argument.
      
      	* xterm.c: (x_load_font, x_term_init, XTmouse_position)
      	(handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
      	x_uncatch_errors.
      
      	* xselect.c (x_own_selection, x_decline_selection_request)
      	(x_reply_selection_request, x_get_foreign_selection)
      	(Fx_get_atom_name, Fx_send_client_event): Likewise.
      
      	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
      	Likewise.
      4545fa20
  31. 25 Feb, 2006 1 commit
    • Chong Yidong's avatar
      * xterm.h (x_catch_errors) Return value changed to void. · 9ba8e10d
      Chong Yidong authored
      	(x_uncatch_errors): Unused count argument deleted.
      
      	* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
      	it can be called in a signal handler.
      	(x_catch_errors_unwind): Function deleted.
      	(x_uncatch_errors): Deallocate last x_error_message_stack struct.
      	(x_check_errors): Call x_uncatch_errors before signalling error.
      
      	(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
      	(x_connection_closed, x_list_fonts): Use new versions of
      	x_catch_errors and x_uncatch_errors.
      
      	* xselect.c (x_own_selection, x_decline_selection_request)
      	(x_reply_selection_request, x_get_foreign_selection)
      	(Fx_get_atom_name, Fx_send_client_event): Likewise.
      
      	* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
      	Likewise.
      
      	* eval.c (record_unwind_protect): Add an assertion.
      9ba8e10d
  32. 06 Feb, 2006 1 commit
  33. 29 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename `struct device' to `struct terminal'. Rename some terminal-related functions similarly. · 6ed8eeff
      Karoly Lorentey authored
      * src/termhooks.h (struct device): Rename to `terminal'.  Rename member
        `next_device' to `next_terminal'.
        (device_list): Rename to `terminal_list'.
        (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
        (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'.
        (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'.
        (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'.
        Update declarations and macro definitions.
      
      * src/termchar.h (tty_display_info): Rename member `device' to `terminal'.
        (FRAME_TTY): Update for renames.
      
      * src/xterm.h (x_display_info): Rename member `device' to `terminal'.
      
      * src/frame.h (frame): Rename `device' member to `terminal'.
        (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
        Update for renames.
      
      * src/lisp.h (set_process_environment): Rename to `set_global_environment'.
        (device): Rename to `terminal'.
      
      * src/dispextern.h: Update declarations and macro definitions.
      
      * src/terminal.c (device_list): Rename to `terminal_list'.
        (next_device_id): Rename to `next_terminal_id'.
        (initial_device): Rename to `initial_terminal'.
        (get_device): Rename to `get_terminal'.
        (create_device): Rename to `create_terminal'.
        (mark_devices): Rename to `mark_terminals'.
        (delete_device): Rename to `delete_terminal'.
        (Fdelete_display): Rename to `Fdelete_terminal'.
        (Fframe_terminal): Move here from frame.c.
        (Fdisplay_live_p): Rename to `Fterminal_live_p'.
        (Fdisplay_list): Rename to `Fterminal_list'.
        (Fdisplay_name): Rename to `Fterminal_name'.
        (init_initial_device): Rename to `init_initial_terminal'.
        (delete_initial_device): Rename to `delete_initial_terminal'.
        (ring_bell, update_begin, update_end, set_terminal_window)
        (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
        (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
        (ins_del_lines, get_terminal_param, store_terminal_param)
        (Fterminal_parameters, Fterminal_parameter)
        (Fmodify_terminal_parameters, Fset_terminal_parameter)
        (syms_of_terminal): Update for renames.
      
      * src/term.c (get_tty_device): Rename to `get_tty_terminal'.  Update.
        (Fdisplay_tty_type): Rename to `Ftty_type'.
        (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
        (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
        (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
        (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
        (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
      
      * src/frame.c (Qdevice): Rename to `Qterminal'.
        (Qdisplay_live_p): Rename to `Qterminal_live_p'.
        (terminal_frame_count): Rename to `tty_frame_count'.
        (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
        (make_frame_without_minibuffer, make_initial_frame)
        (make_terminal_frame, Fmodify_frame_parameters)
        (do_switch_frame, Fdelete_frame, Fmouse_position)
        (Fmouse_pixel_position, Fraise_frame, Flower_frame)
        (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
        Update for renames.
      
      * src/xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
        (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
        (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
        (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
        (Fx_display_pixel_width, Fx_display_pixel_height)
        (Fx_display_planes, Fx_display_color_cells)
        (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
        (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
        (Fx_display_backing_store, Fx_display_visual_class)
        (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
        Update for renames.
      
      * xterm.c (handle_one_xevent): Initialize `f' to NULL.
        (x_delete_device): Rename to `x_delete_terminal'.
        (x_create_device): Rename to `x_create_terminal'.
        (XTset_terminal_modes, XTreset_terminal_modes)
        (XTread_socket, x_connection_closed, x_term_init)
        (x_term_init, x_delete_display): Update for renames.
      
      * src/dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
        (Fsend_string_to_terminal, init_display): Update for renames.
      
      * src/keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
        (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
        (interrupt_signal, Fset_output_flow_control)
        (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
        (syms_of_keyboard): Update for renames.
      
      * src/alloc.c (mark_devices): Update declaration.
        (Fgarbage_collect): Update for renames.
      
      * src/coding.c (Fset_terminal_coding_system_internal)
        (Fterminal_coding_system4)
        (Fset_keyboard_coding_system_internal)
        (Fkeyboard_coding_system): Update for renames.
      
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value):
        Update for renames.
      
      * src/minibuf.c (read_minibuf): Update for renames.
      
      * src/sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
      
      * xselect.c (x_handle_selection_clear): Update for renames.
      
      * lisp/files.el (save-buffers-kill-display): Rename to `save-buffers-kill-terminal'.
        (save-buffers-kill-terminal, ctl-x-map): Update for renames.
      
      * frame.el (make-frame): Rename 'device frame parameter to 'terminal.  Update.
        (frames-on-display-list, framep-on-display, suspend-frame): Update for renames.
        (selected-display): Rename to `selected-terminal'.
      
      * server.el (server-save-buffers-kill-display): Rename to
        `server-save-buffers-kill-terminal'.
        (server-delete-client, server-handle-delete-frame)
        (server-handle-suspend-tty, server-process-filter)
        (server-switch-buffer): Update for renames.
      
      * startup.el (normal-splash-screen, normal-splash-screen): Update for renames.
      
      * talk.el (talk): Update for renames.
      
      * termdev.el (terminal-id): Update for renames.
      
      * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
        (turn-off-xterm-mouse-tracking-on-terminal)
        (xterm-mouse-handle-delete-frame): Update for renames.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-471
      6ed8eeff
  34. 19 Dec, 2005 1 commit
  35. 07 Aug, 2005 1 commit
  36. 12 Jul, 2005 1 commit
  37. 11 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename `struct display' to `struct device'. Update function, parameter and... · 7e59217d
      Karoly Lorentey authored
      Rename `struct display' to `struct device'.  Update function, parameter and variable names accordingly.
      
      * src/termhooks.h (struct device): Rename to `struct device'.
        Rename member `next_display' to `next_device'.
        Rename member `delete_display_hook' to `delete_device_hook'.
        (FRAME_DISPLAY): Rename to FRAME_DEVICE.
        (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
        (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
        (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.
      
      * src/frame.h (stuct frame): Rename `display' member to `device'.
      
      * src/xterm.h (x_display_info): Rename member `frame_display' to `device'.
      
      * src/termchar.h (struct tty_display_info): Rename `display' member to `device'.
      
      * src/keyboard.c (push_display_kboard): Rename to push_device_kboard.
      
      * lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'.
      * src/frame.c (Fmake_terminal_frame): Ditto.
      * src/xfns.c (Fx_create_frame): Ditto.
      
      * src/term.c (display_list): Rename to device_list.
      * src/term.c (initial_display): Rename to initial_device.
      * src/term.c (next_display_id): Rename to next_device_id.
      * src/term.c (get_display): Rename to get_device.
      * src/term.c (get_tty_display): Rename to get_tty_device.
      * src/term.c (get_named_tty_display): Rename to get_named_tty.
      * src/term.c (init_initial_display): Rename to init_initial_device.
      * src/term.c (delete_initial_display): Rename to delete_initial_device.
      * src/term.c (create_display): Rename to create_device.
      * src/term.c (delete_display): Rename to delete_device.
      
      * src/xfns.c (check_x_display_info): Document that the function allows
        display ids as well.
      
      * src/xterm.c (x_delete_frame_display): Rename to x_delete_device.
      * src/xterm.c (x_create_frame_display): Rename to x_create_device.
      
      * src/coding.c: Update.
      * src/dispextern.h: Update.
      * src/data.c: Update.
      * src/dispnew.c: Update.
      * src/frame.c: Update.
      * src/frame.h: Update.
      * src/keyboard.c: Update.
      * src/keyboard.h: Update.
      * src/lisp.h: Update.
      * src/sysdep.c: Update.
      * src/term.c: Update.
      * src/xdisp.c: Update.
      * src/xselect.c: Update.
      * src/xterm.c: Update.
      
      * src/prefix-args.c: Include stdlib.h for exit.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
      7e59217d