1. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove __P and P_ from .c and .m files and definition of P_ · f57e2426
      Jan D authored
      * lisp.h:
      * atimer.h: Remove define for P_.
      
      * alloc.c: Remove __P and P_ from .c and .m files.
      * atimer.c:
      * buffer.c:
      * callint.c:
      * category.c:
      * charset.c:
      * chartab.c:
      * cm.c:
      * coding.c:
      * composite.c:
      * data.c:
      * dired.c:
      * dispnew.c:
      * doc.c:
      * editfns.c:
      * emacs.c:
      * eval.c:
      * fileio.c:
      * filelock.c:
      * fns.c:
      * font.c:
      * fontset.c:
      * frame.c:
      * ftfont.c:
      * ftxfont.c:
      * gmalloc.c:
      * gtkutil.c:
      * image.c:
      * indent.c:
      * intervals.c:
      * keyboard.c:
      * keymap.c:
      * lread.c:
      * marker.c:
      * menu.c:
      * minibuf.c:
      * print.c:
      * process.c:
      * scroll.c:
      * search.c:
      * sound.c:
      * strftime.c:
      * syntax.c:
      * sysdep.c:
      * term.c:
      * terminal.c:
      * textprop.c:
      * unexalpha.c:
      * w32console.c:
      * w32fns.c:
      * w32font.c:
      * w32menu.c:
      * w32term.c:
      * w32uniscribe.c:
      * window.c:
      * xdisp.c:
      * xfaces.c:
      * xfns.c:
      * xfont.c:
      * xftfont.c:
      * xmenu.c:
      * xselect.c:
      * xterm.c: Likewise.
      
      * ebrowse.c: Remove P_ and __P.
      * etags.c:
      * movemail.c:
      * pop.c:
      * update-game-score.c: Likewise.
      f57e2426
  2. 13 Jan, 2010 1 commit
  3. 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
  4. 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
  5. 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
  6. 08 Jan, 2009 1 commit
  7. 03 Dec, 2008 2 commits
  8. 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
  9. 20 Aug, 2008 1 commit
  10. 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
  11. 22 Jul, 2008 1 commit
  12. 25 Jun, 2008 1 commit
  13. 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
  14. 26 May, 2008 1 commit
  15. 14 May, 2008 1 commit
  16. 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
  17. 08 Jan, 2008 1 commit
  18. 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
  19. 01 Nov, 2007 1 commit
  20. 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
  21. 12 Sep, 2007 2 commits
  22. 06 Sep, 2007 2 commits
  23. 03 Aug, 2007 1 commit
  24. 25 Jul, 2007 1 commit
  25. 08 Jun, 2007 1 commit
  26. 04 Jun, 2007 1 commit
  27. 06 Mar, 2007 1 commit
  28. 21 Jan, 2007 1 commit
  29. 24 Nov, 2006 1 commit
  30. 12 Nov, 2006 1 commit
  31. 19 Oct, 2006 1 commit
  32. 11 Aug, 2006 1 commit
  33. 18 Jul, 2006 1 commit
  34. 05 Mar, 2006 1 commit
  35. 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
  36. 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
  37. 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