1. 13 Nov, 2009 3 commits
  2. 12 Nov, 2009 3 commits
  3. 11 Nov, 2009 5 commits
    • Dan Nicolaescu's avatar
      * process.c (ifflag_def): Make flag_sym constant. · 91433552
      Dan Nicolaescu authored
      (Fnetwork_interface_info): Use a constant pointer.
      (ifflag_table):
      * xfns.c (cursor_bits):
      * xdisp.c (power_letter):
      * termcap.c (speeds, esctab):
      * sysdep.c (baud_convert):
      * keyboard.c (lispy_accent_codes, modifier_names):
      * image.c (xbm_format, xpm_format, pbm_format, png_format)
      (jpeg_format, tiff_format, gif_format, svg_format)
      (interlace_start, interlace_increment, gs_format):
      * gtkutil.c (separator_names):
      * fringe.c (swap_nibble):
      * fns.c (base64_value_to_char, base64_char_to_value):
      * fileio.c (make_temp_name_tbl):
      * coding.c (suffixes): Make constant.
      91433552
    • Dan Nicolaescu's avatar
      * frame.c (make_initial_frame): · f4265f6c
      Dan Nicolaescu authored
      * buffer.c (init_buffer_once): Use make_pure_c_string instead of
      build_string.
      * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
      f4265f6c
    • Dan Nicolaescu's avatar
      * s/freebsd.h: · 04420943
      Dan Nicolaescu authored
      * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
      04420943
    • Dan Nicolaescu's avatar
      Add dependencies to lisp.h. Remove dependencies · 0a5d24ae
      Dan Nicolaescu authored
      for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c.
      0a5d24ae
    • Dan Nicolaescu's avatar
      * xfns.c (syms_of_xfns): Use make_pure_string instead of build_string. · a4ada374
      Dan Nicolaescu authored
      * xterm.c (syms_of_xterm):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * lread.c (syms_of_lread):
      * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of
      build_string.
      * doc.c (Fsnarf_documentation): Purecopy Vbuild_files.
      a4ada374
  4. 10 Nov, 2009 4 commits
  5. 09 Nov, 2009 3 commits
    • Juanma Barranquero's avatar
      Fix typos. · 362654a6
      Juanma Barranquero authored
      362654a6
    • Juanma Barranquero's avatar
      04e452cb
    • Stefan Monnier's avatar
      * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, · ef7417fd
      Stefan Monnier authored
      w32menu.c, and nsmenu.m.
      Simplify the obsolete case where position is nil.
      (cleanup_popup_menu): New function, moved from nsmenu.m.
      (struct skp): Remove slot `notreal'.
      (single_keymap_panes, keymap_panes): Remove arg `notreal' and adjust callers.
      (single_menu_item): Adjust call to parse_menu_item.
      (syms_of_menu): Defsubr x-popup-menu.
      * menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c.
      (keymap_panes): Don't export any more.
      (mouse_position_for_popup, w32_menu_show, ns_menu_show, xmenu_show): Declare.
      * keyboard.c (parse_menu_item): Remove arg `notreal'.
      (menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers.
      * keyboard.h (parse_menu_item): Update declaration.
      * xmenu.c (Fx_popup_menu): Remove.
      (syms_of_xmenu): Don't defsubr x-popup-menu.
      * w32menu.c (Fx_popup_menu): Remove.
      (syms_of_w32menu): Don't defsubr x-popup-menu.
      * nsmenu.m (cleanup_popup_menu): Remove.
      (ns_menu_show): Rename from ns_popup_menu and remove all the code
      moved to menu.c's Fx_popup_menu.
      (Fx_popup_menu): Remove.
      (syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize
      menu_items (it's done in menu.c already).
      ef7417fd
  6. 08 Nov, 2009 2 commits
  7. 07 Nov, 2009 1 commit
  8. 06 Nov, 2009 8 commits
    • Stefan Monnier's avatar
      Let integers use up 2 tags to give them one extra bit and double their range. · 2de9f71c
      Stefan Monnier authored
      * lisp.h (USE_2_TAGS_FOR_INTS): New macro.
      (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros.
      (enum Lisp_Type): Use them.  Give explicit values.
      (Lisp_Type_Limit): Remove.
      (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
      (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
      Pay attention to USE_2_TAGS_FOR_INTS.
      (INTEGERP): Use LISP_INT_TAG_P.
      * fns.c (internal_equal): Simplify the default case.
      (sxhash): Use case_Lisp_Int.
      * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more.
      (Ftype_of): Use case_Lisp_Int.
      (store_symval_forwarding): Take into account the fact that Ints can
      now have more than one tag.
      * buffer.c (syms_of_buffer): Use LISP_INT_TAG.
      buffer_slot_type_mismatch):
      * xfaces.c (face_attr_equal_p):
      * print.c (print_object):
      * alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
      2de9f71c
    • Eli Zaretskii's avatar
      7ac65b38
    • Eli Zaretskii's avatar
    • Jan Djärv's avatar
      Fix bug #4870, issues 3 and 4. · e511451f
      Jan Djärv authored
      * gtkutil.c (xg_event_is_for_scrollbar): New function (bug#4870).
      
      * gtkutil.h: Declare xg_event_is_for_scrollbar (bug#4870).
      
      * xterm.c (handle_one_xevent): Call xg_event_is_for_scrollbar for
      ButtonPressRelease and MotionNotify (bug#4870).
      e511451f
    • Dan Nicolaescu's avatar
    • 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
    • Dan Nicolaescu's avatar
      * process.c (socket_options): Make it const. · 5e2327cf
      Dan Nicolaescu authored
      (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*.
      
      * lisp.h (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Update prototypes.
      (DEFUN, EXFUN): Support for prototypes is now required.
      (intern_c_string): New prototype.
      (struct Lisp_Subr): Make symbol_name constant.
      
      * 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.
      
      * character.h (DEFSYM): Use intern_c_string.
      5e2327cf
    • Dan Nicolaescu's avatar
      * alloc.c (make_pure_c_string): New function. · a56eaaef
      Dan Nicolaescu authored
      * eval.c (Fautoload): Purecopy all arguments.
      a56eaaef
  9. 05 Nov, 2009 1 commit
  10. 04 Nov, 2009 1 commit
  11. 03 Nov, 2009 2 commits
  12. 31 Oct, 2009 1 commit
  13. 30 Oct, 2009 2 commits
    • Eli Zaretskii's avatar
    • Dan Nicolaescu's avatar
      * puresize.h (BASE_PURESIZE): Increase to 1470000. · ca0a881a
      Dan Nicolaescu authored
      * lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.
      
      * textmodes/ispell.el (ispell-skip-region-alist):
      * international/mule-conf.el (eight-bit):
      * international/fontset.el (font-encoding-alist):
      * startup.el (pure-space-overflow-message):
      * simple.el (overwrite-mode-textual, overwrite-mode-binary):
      * paths.el (gnus-nntp-service, rmail-spool-directory)
      (term-file-prefix):
      * files.el (save-some-buffers-action-alist):
      * cmuscheme.el (same-window-buffer-names):
      * ielm.el (same-window-buffer-names):
      * shell.el (same-window-buffer-names):
      * mail/sendmail.el (same-window-buffer-names):
      * progmodes/inf-lisp.el (same-window-buffer-names):
      * bindings.el (mode-line-client)
      (mode-line-column-line-number-mode-map):
      * language/tibetan.el (tibetan-precomposition-rule-regexp)
      (tibetan-precomposed-regexp): Purecopy string arguments.
      ca0a881a
  14. 29 Oct, 2009 1 commit
  15. 26 Oct, 2009 3 commits