1. 04 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert (most) functions in src to standard C. · 971de7fb
      Dan Nicolaescu authored
      * src/alloc.c: Convert function definitions to standard C.
      * src/atimer.c:
      * src/bidi.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/ccl.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/doprnt.c:
      * src/ecrt0.c:
      * src/editfns.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/filemode.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/ftfont.c:
      * src/ftxfont.c:
      * src/gtkutil.c:
      * src/indent.c:
      * src/insdel.c:
      * src/intervals.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/md5.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/prefix-args.c:
      * src/print.c:
      * src/ralloc.c:
      * src/regex.c:
      * src/region-cache.c:
      * src/scroll.c:
      * src/search.c:
      * src/sound.c:
      * src/strftime.c:
      * src/syntax.c:
      * src/sysdep.c:
      * src/termcap.c:
      * src/terminal.c:
      * src/terminfo.c:
      * src/textprop.c:
      * src/tparam.c:
      * src/undo.c:
      * src/unexelf.c:
      * src/window.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xfont.c:
      * src/xftfont.c:
      * src/xgselect.c:
      * src/xmenu.c:
      * src/xrdb.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c:
      * src/xterm.c: Likewise.
      971de7fb
  2. 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
  3. 13 Jan, 2010 1 commit
  4. 09 Jan, 2010 1 commit
  5. 08 Jan, 2010 1 commit
    • Alan Mackenzie's avatar
      Fix spurious before-change-functions invocation from (insert ?\n). · 9c345213
      Alan Mackenzie authored
      textprop.c (set_text_properties): rename parameter
      `signal_after_change_p' to `coherent_change_p', and make the invocation
      of `modify_region' conditional on it.
      
      ------------- This line and the following will be ignored --------------
      
      modified:
        src/ChangeLog
        src/textprop.c
      unknown:
        Makefile
        config.log
        config.status
        doc/emacs/Makefile
        doc/lispintro/Makefile
        doc/lispref/Makefile
        doc/misc/Makefile
        etc/DOC-23.1.91.1
        leim/Makefile
        leim/changed.misc
        leim/changed.tit
        lib-src/Makefile
        lib-src/Makefile.c
        lib-src/b2m
        lib-src/ctags
        lib-src/digest-doc
        lib-src/ebrowse
        lib-src/emacsclient
        lib-src/etags
        lib-src/fakemail
        lib-src/hexl
        lib-src/make-docfile
        lib-src/movemail
        lib-src/profile
        lib-src/sorted-doc
        lib-src/test-distrib
        lib-src/update-game-score
        lisp/Makefile
        lwlib/Makefile
        oldXMenu/Makefile
        src/Makefile
        src/Makefile.c
        src/bootstrap-emacs
        src/deps/
        src/emacs
        src/emacs-23.1.91.1
        src/prefix-args
        src/stamp-oldxmenu
        src/temacs
      9c345213
  6. 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
  7. 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
  8. 08 Jan, 2009 1 commit
  9. 26 Dec, 2008 1 commit
  10. 03 Nov, 2008 1 commit
  11. 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
  12. 01 Jun, 2008 1 commit
  13. 14 May, 2008 1 commit
  14. 08 Jan, 2008 1 commit
  15. 30 Dec, 2007 1 commit
  16. 04 Nov, 2007 1 commit
  17. 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
  18. 08 Aug, 2007 1 commit
  19. 25 Jul, 2007 1 commit
  20. 21 Jan, 2007 1 commit
  21. 12 Sep, 2006 1 commit
  22. 01 Sep, 2006 1 commit
    • Chong Yidong's avatar
      * buffer.h (struct buffer_text): New field chars_modiff. · 3e145152
      Chong Yidong authored
              (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
              * buffer.c (Fbuffer_chars_modified_tick): New function returning
              value of BUF_CHARS_MODIFF.
              (syms_of_buffer): Defsubr it.
              (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
              * insdel.c (modify_region): New argument preserve_chars_modiff.
              Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
              (insert_1_both, insert_from_string_1, insert_from_buffer_1)
              (adjust_after_replace, adjust_after_replace_noundo)
              (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
              * lisp.h (modify_region): Add fourth argument in extern.
              * casefiddle.c (casify_region): Call modify_region with fourth
              argument zero to assert that CHARS_MODIFF is updated.
              * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
              (Ftranspose_regions): Likewise.
              * textprop.c (Fadd_text_properties, Fset_text_properties)
              (Fremove_text_properties, Fremove_list_of_text_properties):
              Call modify_region with fourth argument 1 to avoid that
              CHARS_MODIFF is updated.
      3e145152
  23. 18 Jul, 2006 2 commits
  24. 03 Jul, 2006 1 commit
  25. 28 Jun, 2006 1 commit
  26. 14 May, 2006 1 commit
  27. 20 Apr, 2006 1 commit
  28. 06 Feb, 2006 1 commit
  29. 30 Dec, 2005 1 commit
  30. 07 Aug, 2005 1 commit
  31. 21 Jul, 2005 1 commit
  32. 04 Jul, 2005 1 commit
  33. 22 Mar, 2005 1 commit
    • David Kastrup's avatar
      (Fnext_char_property_change) · d615870a
      David Kastrup authored
      (Fprevious_char_property_change): allow marker as limit.
      (Fnext_single_char_property_change)
      (Fprevious_single_char_property_change): Check that limit is a
      number in strings.
      (Fnext_single_char_property_change): Coerce position to integer.
      (Fprevious_single_char_property_change): Same here.
      d615870a
  34. 13 Oct, 2004 1 commit
  35. 17 May, 2004 1 commit
  36. 16 Apr, 2004 1 commit
  37. 30 Nov, 2003 1 commit
  38. 08 Sep, 2003 1 commit
  39. 01 Sep, 2003 1 commit