1. 08 Nov, 2009 1 commit
  2. 07 Nov, 2009 1 commit
  3. 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
  4. 05 Nov, 2009 1 commit
  5. 04 Nov, 2009 1 commit
  6. 03 Nov, 2009 2 commits
  7. 31 Oct, 2009 1 commit
  8. 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
  9. 29 Oct, 2009 1 commit
  10. 26 Oct, 2009 4 commits
  11. 25 Oct, 2009 1 commit
  12. 24 Oct, 2009 6 commits
  13. 23 Oct, 2009 5 commits
  14. 22 Oct, 2009 1 commit
  15. 21 Oct, 2009 3 commits
    • Andreas Schwab's avatar
      (doprnt): Fix overflow check. · 26898943
      Andreas Schwab authored
      26898943
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Fix resize due to font change on a maximized/xmonad-controlled frame. · 5c646d5a
      Jan Djärv authored
      * xterm.h (x_wait_for_event): Declare it.
      
      * xterm.c (pending_event_wait): New variable.
      (handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
      see pending_event_wait.eventtype.
      (handle_one_xevent): Don't change gravity when parent changes.
      (x_new_font): Call change_frame_size with new rows/columns before we try
      to resize the frame.
      (x_wait_for_event): New function.
      (x_set_window_size_1): Don't change gravity unless change_gravity is set.
      Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
      don't change frame size, instead wait for the ConfigureNotify.
      (x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
      (x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
      (x_initialize): Initialize pending_event_wait.
      
      * xmenu.c (set_frame_menubar): Add internal border width to menu bar
      size.
      
      * widget.c (EmacsFrameSetValues): Add comment.
      (EmacsFrameSetCharSize): Just call x_set_window_size.
      
      * gtkutil.c (xg_frame_set_char_size): Flush events and call
      x_wait_for_event.
      (flush_and_sync): Removed again.
      (xg_get_font_name): Suggest monospace if no previous font is known.
      5c646d5a
  16. 20 Oct, 2009 2 commits