1. 13 Oct, 2007 1 commit
  2. 10 Oct, 2007 1 commit
  3. 09 Oct, 2007 1 commit
  4. 02 Oct, 2007 4 commits
    • Stefan Monnier's avatar
      * window.h (struct window): · d0fdb6da
      Stefan Monnier authored
      * window.c (struct save_window_data, struct saved_window):
      * termhooks.h (struct terminal):
      * process.h (struct Lisp_Process):
      * frame.h (struct frame):
      * buffer.h (struct buffer):
      * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table)
      (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table):
      The size field of (pseudo)vectors is now unsigned.
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly.
      d0fdb6da
    • Stefan Monnier's avatar
      * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. · 878f97ff
      Stefan Monnier authored
      Turn `count' into an integer.
      * fns.c (make_hash_table, hash_put, hash_remove, hash_clear)
      (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count):
      * print.c (print_object) <HASH_TABLE_P>: `count' is an int.
      * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR.
      (mark_object) <HASH_TABLE_P>: Use mark_vectorlike.
      878f97ff
    • Stefan Monnier's avatar
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't allow definition in m/*.h files. · 539b8c1c
      Stefan Monnier authored
      (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking.
      (XSETPVECTYPE): New macro.
      (XSETPSEUDOVECTOR): Use it.
      539b8c1c
    • Stefan Monnier's avatar
      * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. · d6aa1876
      Stefan Monnier authored
      (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c.
      * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER):
      * lread.c (defvar_per_buffer):
      * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c.
      d6aa1876
  5. 29 Sep, 2007 1 commit
  6. 23 Sep, 2007 1 commit
  7. 21 Sep, 2007 1 commit
  8. 20 Sep, 2007 1 commit
  9. 10 Sep, 2007 1 commit
  10. 29 Aug, 2007 1 commit
  11. 28 Aug, 2007 1 commit
  12. 22 Aug, 2007 1 commit
  13. 08 Aug, 2007 1 commit
  14. 25 Jul, 2007 1 commit
  15. 11 Jul, 2007 1 commit
  16. 10 Jul, 2007 1 commit
  17. 08 Jun, 2007 1 commit
  18. 20 May, 2007 1 commit
  19. 29 Apr, 2007 1 commit
  20. 17 Mar, 2007 1 commit
  21. 21 Jan, 2007 1 commit
  22. 03 Oct, 2006 1 commit
  23. 05 Sep, 2006 1 commit
  24. 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
  25. 26 Jul, 2006 1 commit
  26. 18 Jul, 2006 2 commits
    • Dan Nicolaescu's avatar
      * ebrowse.c (usage, version): Mark as NO_RETURN. · 2381d38d
      Dan Nicolaescu authored
      * emacsclient.c (print_help_and_exit): Likewise.
      
      * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
      
      * textprop.c (text_read_only): Likewise.
      
      * lread.c (end_of_file_error): Likewise.
      
      * lisp.h (circular_list_error, memory_full, buffer_memory_full):
      Likewise.
      
      * eval.c (unwind_to_catch): Likewise.
      
      * buffer.h (buffer_slot_type_mismatch): Likewise.
      2381d38d
    • Kim F. Storm's avatar
      (list1): Add EXFUN. · 7e85c1aa
      Kim F. Storm authored
      (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error):
      Add prototypes.  Mark them as no-return.
      7e85c1aa
  27. 12 Jul, 2006 1 commit
    • Kim F. Storm's avatar
      (CHECK_TYPE): New macro for generic type checking. · c8a39089
      Kim F. Storm authored
      (CAR_SAFE, CDR_SAFE): New macros.
      (ARRAYP, CHECK_ARRAY): New macros.
      (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros.
      (CHECK_WINDOW_CONFIGURATION): New macro.
      (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal.
      (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
      (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL)
      (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE)
      (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS)
      (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY)
      (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
      (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE.
      c8a39089
  28. 11 Jul, 2006 1 commit
  29. 29 May, 2006 1 commit
  30. 25 May, 2006 1 commit
  31. 12 Apr, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (syms_of_fontset, Fset_fontset_font): Put extern and · 4f48f1ab
      YAMAMOTO Mitsuharu authored
      EXFUN in #ifdef HAVE_WINDOW_SYSTEM.
      (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm):
      Put externs in #ifdef HAVE_X_WINDOWS.
      (syms_of_macfns, syms_of_macselect, syms_of_macterm)
      (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs.
      (init_mac_osx_environment) [MAC_OSX]: Add extern.
      4f48f1ab
  32. 11 Apr, 2006 1 commit
  33. 09 Apr, 2006 3 commits
  34. 08 Apr, 2006 1 commit