1. 13 Aug, 2012 3 commits
    • Jan Djärv's avatar
      Don't redraw tool bar for Gtk+ unless out of date. · ca06f160
      Jan Djärv authored
      * gtkutil.c (xg_frame_tb_info): New struct.
      (TB_INFO_KEY): New define.
      (xg_free_frame_widgets): Free xg_frame_tb_info for frame if present.
      (xg_mark_data): Mark Lisp_Objects in xg_frame_tb_info.
      (xg_create_tool_bar): Allocate and initialize a xg_frame_tb_info
      if not present.
      (update_frame_tool_bar): Return early if data in xg_frame_tb_info
      is up to date. Otherwise store new data.
      (free_frame_tool_bar): Free xg_frame_tb_info if present.
      ca06f160
    • Dmitry Antipov's avatar
      Use KSET for write access to Lisp_Object members of struct kboard. · 7864a3f7
      Dmitry Antipov authored
      * keyboard.h (KSET): New macro.
      * callint.c, category.c, frame.c, keyboard.c, keyboard.h, macros.c:
      * msdos.c, nsfns.m, nsterm.m, term.c, w32fns.c, w32term.c, xfns.c:
      * xterm.c: Adjust users.
      7864a3f7
    • Dmitry Antipov's avatar
      Use BSET for write access to Lisp_Object members of struct buffer. · 4c31be61
      Dmitry Antipov authored
      * buffer.h (BSET): New macro.
      * buffer.c, casetab.c, cmds.c, coding.c, data.c, editfns.c:
      * fileio.c, frame.c, indent.c, insdel.c, intervals.c, keymap.c:
      * minibuf.c, print.c, process.c, syntax.c, undo.c, w32fns.c:
      * window.c, xdisp.c, xfns.c: Adjust users.
      4c31be61
  2. 11 Aug, 2012 4 commits
  3. 10 Aug, 2012 10 commits
  4. 09 Aug, 2012 1 commit
  5. 08 Aug, 2012 8 commits
    • Stefan Monnier's avatar
      * src/xdisp.c (safe_eval_handler): Remove prototype. Receive args describing · cc92c454
      Stefan Monnier authored
      the failing expression, include them in the error message.
      * src/eval.c (internal_condition_case_n): Pass nargs and args to hfun.
      * src/lisp.h (internal_condition_case_n): Update declaration.
      cc92c454
    • Dmitry Antipov's avatar
      Inline functions to examine and change buffer overlays. · 4cb3e6b3
      Dmitry Antipov authored
      * buffer.c (unchain_both): New function.
      * buffer.h (buffer_get_overlays, buffer_set_overlays):
      (buffer_has_overlays): New function.
      (enum overlay_type): New enum.
      * alloc.c, buffer.c, editfns.c, fileio.c, indent.c:
      * insdel.c, intervals.c, print.c, xdisp.c: Adjust users.
      4cb3e6b3
    • Dmitry Antipov's avatar
      Inline functions to examine and change buffer intervals. · 8707c1e5
      Dmitry Antipov authored
      * alloc.c (mark_interval_tree): Remove.
      (MARK_INTERVAL_TREE): Simplify.
      (UNMARK_BALANCE_INTERVALS): Remove.  Adjust users.
      * intervals.c (buffer_balance_intervals): New function.
      (graft_intervals_into_buffer): Adjust indentation.
      (set_intervals_multibyte): Simplify.
      * buffer.h (BUF_INTERVALS): Remove.
      (buffer_get_intervals, buffer_set_intervals): New function.
      * alloc.c, buffer.c, editfns.c, fileio.c, indent.c, insdel.c:
      * intervals.c, textprop.c: Adjust users.
      8707c1e5
    • Dmitry Antipov's avatar
      Inline functions to examine and change string intervals. · ad8c997f
      Dmitry Antipov authored
      * lisp.h (STRING_INTERVALS, STRING_SET_INTERVALS): Remove.
      (string_get_intervals, string_set_intervals): New function.
      * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c:
      * lread.c, print.c, textprop.c: Adjust users.
      ad8c997f
    • Glenn Morris's avatar
      Merge language/persian.el into language/misc-lang.el · 32ac3a6b
      Glenn Morris authored
      * lisp/language/persian.el: Remove file.
      * lisp/language/misc-lang.el: Move non-unique part of persian.el here.
      * lisp/loadup.el: Remove language/persian.
      
      * src/lisp.mk (lisp): Remove language/persian.elc.
      
      * etc/NEWS: Improve entry.
      32ac3a6b
    • Dmitry Antipov's avatar
      Cleanup intervals. · 77c7bcb1
      Dmitry Antipov authored
      * intervals.h (NULL_INTERVAL, DEFAULT_INTERVAL): Remove.
      (NULL_INTERVAL_P): Likewise.  Adjust users.
      (FRONT_STICKY_P, END_NONSTICKY_P, FRONT_NONSTICKY_P): Adjust
      comment.  Move under #if 0.
      * alloc.c, buffer.c, editfns.c, fns.c, insdel.c, intervals.c:
      * print.c, syntax.c, textprop.c, xdisp.c: Adjust users.
      77c7bcb1
    • YAMAMOTO Mitsuharu's avatar
      * unexmacosx.c (copy_data_segment): Copy initialized data in statically linked... · 8ccd072a
      YAMAMOTO Mitsuharu authored
      * unexmacosx.c (copy_data_segment): Copy initialized data in statically linked libraries from input file rather than memory.
      8ccd072a
    • Dmitry Antipov's avatar
      Check total length of intervals with eassert. · 9c08a8d4
      Dmitry Antipov authored
      * intervals.h (CHECK_TOTAL_LENGTH): Remove.
      * intervals.c: Change all users to eassert.
      9c08a8d4
  6. 07 Aug, 2012 8 commits
    • Eli Zaretskii's avatar
      Fix .gdbinit to match changes with INTERNAL_FIELD. · 26d16b35
      Eli Zaretskii authored
       src/.gdbinit (xframe, xwindow, nextcons, xcar, xcdr, xlist): Rename
       fields to match removal of FGET and WGET and disuse of
       INTERNAL_FIELD in Lisp_Cons.
      26d16b35
    • Dmitry Antipov's avatar
      Revert and cleanup Lisp_Cons, Lisp_Misc and Lisp_Symbol things. · c644523b
      Dmitry Antipov authored
      * src/lisp.h (struct Lisp_Symbol): Change xname to meaningful
      name since all xname users are fixed long time ago.  Do not use
      INTERNAL_FIELD.
      (set_symbol_name, set_symbol_function, set_symbol_plist):
      (set_symbol_next, set_overlay_plist): New function.
      (struct Lisp_Cons): Do not use INTERNAL_FIELD.
      (struct Lisp_Overlay): Likewise.
      (CVAR, MVAR, SVAR): Remove.
      * src/alloc.c, src/buffer.c, src/buffer.h, src/bytecode.c:
      * src/cmds.c, src/data.c, src/doc.c, src/eval.c, src/fns.c:
      * src/keyboard.c, src/lread.c, src/nsselect.m, src/xterm.c:
      Adjust users.
      * src/.gdbinit: Change to use name field of struct Lisp_Symbol
      where appropriate.
      * admin/coccinelle/overlay.cocci, admin/coccinelle/symbol.cocci:
      Remove.
      c644523b
    • Dmitry Antipov's avatar
      Basic functions to set Lisp_Object and pointer slots of intervals. · 6a3d20cc
      Dmitry Antipov authored
      * intervals.h (interval_set_parent, interval_set_object):
      (interval_set_left, interval_set_right, interval_set_plist):
      (interval_copy_parent): New function.
      (SET_INTERVAL_OBJECT, SET_INTERVAL_PARENT, INTERVAL_PTR_SIZE): Remove.
      (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE): Adjust
      indentation.
      (INTERVAL_SIZE): Remove.  Adjust users.
      * alloc.c, intervals.c, lread.c, textprop.c: Use new functions.
      6a3d20cc
    • Dmitry Antipov's avatar
      Drop PGET and revert read access to Lisp_Objects slots of Lisp_Process. · 4d2b044c
      Dmitry Antipov authored
      * process.h (PGET): Remove.
      (struct Lisp_Process): Do not use INTERNAL_FIELD.
      * gnutls.c, print.c, process.c, sysdep.c, w32.c, xdisp.c: Adjust users.
      4d2b044c
    • Dmitry Antipov's avatar
      Drop WGET and revert read access to Lisp_Objects slots of struct window. · d3d50620
      Dmitry Antipov authored
      * window.h (WGET): Remove.
      (struct window): Do not use INTERNAL_FIELD.
      * alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c:
      * fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c:
      * insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m:
      * nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c:
      * w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c:
      Adjust users.
      d3d50620
    • Chong Yidong's avatar
      Check for live frames explicitly in window.c functions which need it. · d10a51dc
      Chong Yidong authored
      * window.c (Fwindow_edges, Fwindow_pixel_edges)
      (Fwindow_absolute_pixel_edges, Fdelete_other_windows_internal)
      (Fdelete_window_internal): Signal an error if the window is not on
      a live frame.
      
      Fixes: debbugs:12025
      d10a51dc
    • Dmitry Antipov's avatar
      Drop FGET and revert read access to Lisp_Objects slots of struct frame. · e69b0960
      Dmitry Antipov authored
      * frame.h (FGET): Remove.
      (struct frame): Do not use INTERNAL_FIELD.
      * buffer.c, data.c, dispnew.c, dosfns.c, eval.c, fontset.c, frame.c:
      * fringe.c, gtkutil.c, minibuf.c, msdos.c, nsfns.m, nsmenu.m, nsterm.m:
      * print.c, term.c, w32fns.c, w32menu.c, w32term.c, window.c, window.h:
      * xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
      e69b0960
    • YAMAMOTO Mitsuharu's avatar
      Add new load commands for OS X 10.8. · db74a5fc
      YAMAMOTO Mitsuharu authored
      db74a5fc
  7. 06 Aug, 2012 6 commits