1. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  2. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  3. 29 Jun, 2009 1 commit
    • Jim Meyering's avatar
      Remove useless if-before-xfree tests. · 5f445726
      Jim Meyering authored
      * nsfont.m (nsfont_close): Remove useless test.
      * term.c (delete_tty): Likewise.
      * w32.c (system_process_attributes): Likewise.
      * w32font.c (w32font_close): Likewise.
      * xfaces.c (x_free_gc): Likewise.
      * xselect.c (buffer): Likewise.
      5f445726
  4. 08 Jan, 2009 1 commit
  5. 03 Dec, 2008 2 commits
  6. 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
  7. 20 Aug, 2008 1 commit
  8. 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
  9. 22 Jul, 2008 1 commit
  10. 25 Jun, 2008 1 commit
  11. 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
  12. 26 May, 2008 1 commit
  13. 14 May, 2008 1 commit
  14. 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
  15. 08 Jan, 2008 1 commit
  16. 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
  17. 01 Nov, 2007 1 commit
  18. 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
  19. 12 Sep, 2007 2 commits
  20. 06 Sep, 2007 2 commits
  21. 03 Aug, 2007 1 commit
  22. 25 Jul, 2007 1 commit
  23. 08 Jun, 2007 1 commit
  24. 04 Jun, 2007 1 commit
  25. 06 Mar, 2007 1 commit
  26. 21 Jan, 2007 1 commit
  27. 24 Nov, 2006 1 commit
  28. 12 Nov, 2006 1 commit
  29. 19 Oct, 2006 1 commit
  30. 11 Aug, 2006 1 commit
  31. 18 Jul, 2006 1 commit
  32. 05 Mar, 2006 1 commit
  33. 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
  34. 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
  35. 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
  36. 06 Feb, 2006 1 commit
  37. 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