1. 26 Jul, 2012 10 commits
    • Paul Eggert's avatar
      Fix export of symbols to GDB. · 5eceb8fb
      Paul Eggert authored
      * alloc.c (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL)
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Move these here from
      emacs.c, as this is a more-suitable home.  Had this been done earlier
      the fix for 1995-05-30T23:07:27Z!kwzh@gnu.org would have avoided some of the problems noted in
      <http://bugs.gnu.org/1995-05-30T23:07:27Z!kwzh@gnu.org#13> by Eli Zaretskii, as the scope problems
      would have been more obvious.
      * emacs.c (gdb_CHECK_LISP_OBJECT_TYPE, gdb_DATA_SEG_BITS)
      (gdb_GCTYPEBITS, gdb_USE_LSB_TAG)
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS, GCTYPEBITS, USE_LSB_TAG):
      Remove; now done in lisp.h.
      * lisp.h (PUBLISH_TO_GDB): New macro.
      (GCTYPEBITS, USE_LSB_TAG, CHECK_LISP_OBJECT_TYPE, enum pvec_type)
      (DATA_SEG_BITS): Use it.
      (GCTYPEBITS, USE_LSB_TAG): Now also an enum, for GDB.
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS): Now just an enum, for GDB.
      * mem-limits.h (EXCEEDS_LISP_PTR): Redo so that DATA_SEG_BITS need
      not be usable in #if.  This simplifies things.
      5eceb8fb
    • Eli Zaretskii's avatar
      Fix parallel bootstrap in lisp/ on MS-Windows. · f8b91036
      Eli Zaretskii authored
       lisp/makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
       ($(lisp)/calendar/diary-loaddefs.el)
       ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
       ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
       failures in parallel bootstrap because subdirs.el is being
       rewritten while the autoload files are built at the same time,
       which needs to load subdirs.el.
      f8b91036
    • Juanma Barranquero's avatar
    • Paul Eggert's avatar
      Add Bug#1995-05-30T23:07:27Z!kwzh@gnu.org to latest ChangeLog entry. · d89518db
      Paul Eggert authored
      (I found this bug report after installing the change.)
      d89518db
    • Paul Eggert's avatar
      Spelling fix in comment. · 6f3ddb4e
      Paul Eggert authored
      6f3ddb4e
    • Martin Rudalics's avatar
      In mouse-drag-line don't exit tracking prematurely (Bug#12006). · c8e5a42c
      Martin Rudalics authored
      * mouse.el (popup-menu): Fix doc-string and re-indent code.
      (mouse-drag-line): Don't exit tracking when a switch-frame or
      switch-window event occurs (Bug#12006).
      c8e5a42c
    • Paul Eggert's avatar
      Simplify export of symbols to GDB; fix related .gdbinit bugs. · 1781b9e9
      Paul Eggert authored
      * etc/emacs-buffer.gdb ($tagmask, $valmask): Remove.
      (ygetptr): Adjust to recent changes in lisp.h and emacs.c,
      by using VALMASK instead of $valmask, CHECK_LISP_OBJECT_TYPE
      instead of gdb_use_union, and DATA_SEG_BITS instead of
      gdb_data_seg_bits.  Also, use $ptr.i rather than $ptr.u.val.
      * src/.gdbinit (xgetptr, xgetint, xgettype): Don't use "set $bugfix =
      $bugfix.i", as this doesn't work (with GDB 7.4.1, anyway).
      (xgetptr, xgetint, xgettype, xcoding, xcharset, xprintbytestr):
      Adjust to changes in lisp.h and emacs.c, by using
      CHECK_LISP_OBJECT_TYPE rather than gdb_use_struct, VALMASK instead
      of $valmask, DATA_SEG_BITS instead of gdb_data_seg_bits,
      INTTYPEBITS instead of gdb_gctypebits - 1, USE_LSB_TAG instead of
      gdb_use_lsb, (1 << GCTYPEBITS) - 1 instead of $tagmask, VALBITS
      instead of gdb_valbits.
      (xvectype, xvector, xpr, xprintstr, xbacktrace): Similarly, use
      PSEUDOVECTOR_FLAG instead of PVEC_FLAG, and ARRAY_MARK_FLAG
      instead of gdb_array_mark_flag.
      (xboolvector): Get size from $->size, not $->header.size.
      Use BOOL_VECTOR_BITS_PER_CHAR rather than mystery constants.
      (xreload, hook-run, hookpost-run): Remove.
      * src/emacs.c: Include <verify.h>.
      (gdb_use_lsb, gdb_use_struct, gdb_valbits, gdb_gctypebits)
      (gdb_data_seg_bits, PVEC_FLAG, gdb_array_mark_flag, gdb_pvec_type):
      Remove.
      (gdb_CHECK_LISP_OBJECT_TYPE, gdb_DATA_SEG_BITS, gdb_GCTYPEBITS)
      (gdb_USE_LSB_TAG): New enum constants.
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS, GCTYPEBITS, USE_LSB_TAG):
      Also define these as enum constants, so they're visible to GDB.
      (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): New macros.
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Also define these
      as constants, so they're visible to GDB.
      * src/lisp.h (VALBITS, INTTYPEBITS, FIXNUM_BITS, PSEUDOVECTOR_SIZE_BITS)
      (PSEUDOVECTOR_SIZE_MASK, PVEC_TYPE_MASK, BOOL_VECTOR_BITS_PER_CHAR):
      Now enum constants, not macros, so they're visible to GDB.
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS): Default to 0, as this is
      more convenient now.  All uses changed.
      (VALMASK) [USE_LSB_TAG]: Also define in this case.
      * src/mem-limits.h (EXCEEDS_LISP_PTR): Adjust to DATA_SEG_BITS change.
      1781b9e9
    • Dmitry Antipov's avatar
      Explicitly free restriction data that are not needed anymore. · 3628596a
      Dmitry Antipov authored
      * editfns.c (save_restriction_restore): Free restriction data.
      3628596a
    • Stefan Monnier's avatar
      670d85ea
    • Stefan Monnier's avatar
      Autoload more carefully from Lisp. Follow aliases for function properties. · 7abaf5cc
      Stefan Monnier authored
      * lisp/subr.el (autoloadp): New function.
      (symbol-file): Use it.
      (function-get): New function.
      * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
      autoload-do-load.
      * lisp/emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
      (lisp-indent-function):
      * lisp/emacs-lisp/gv.el (gv-get):
      * lisp/emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
      * lisp/emacs-lisp/autoload.el (make-autoload, autoload-print-form):
      Use function-get.
      * lisp/emacs-lisp/cl.el: Don't propagate function properties any more.
      
      * src/eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp,
      add argument, tune behavior, and adjust all callers.
      
      * lisp/speedbar.el (speedbar-add-localized-speedbar-support):
      * lisp/emacs-lisp/disass.el (disassemble-internal):
      * lisp/desktop.el (desktop-load-file):
      * lisp/help-fns.el (help-function-arglist, find-lisp-object-file-name)
      (describe-function-1):
      * lisp/emacs-lisp/find-func.el (find-function-noselect):
      * lisp/emacs-lisp/elp.el (elp-instrument-function):
      * lisp/emacs-lisp/advice.el (ad-has-proper-definition):
      * lisp/apropos.el (apropos-safe-documentation, apropos-macrop):
      * lisp/emacs-lisp/debug.el (debug-on-entry):
      * lisp/emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      * lisp/calc/calc.el (name): Use autoloadp & autoload-do-load.
      7abaf5cc
  2. 25 Jul, 2012 11 commits
  3. 24 Jul, 2012 3 commits
    • Julien Danjou's avatar
      Merge changes made in Gnus master; Remove dead code · b7af7f62
      Julien Danjou authored
      * mail-source.el (mail-source-movemail-and-remove): Remove, unused.
      * nntp.el (nntp-send-nosy-authinfo, nntp-send-authinfo-from-file)
        (nntp-async-timer-handler): Remove, unused.
      * nnimap.el (nnimap-get-responses): Remove, unused.
      * nnheader.el (mail-header-set-extra): Remove, unused.
      * netrc.el (netrc-find-service-number, netrc-store-data): Remove,
        unused.
      * mm-view.el (mm-view-sound-file): Remove, unused.
      * mm-url.el (mm-url-fetch-simple, mm-url-fetch-form)
        (mm-url-encode-multipart-form-data): Remove, unused.
      * message.el (message-remove-signature, message-make-host-name)
        (message-fill-address): Remove, unused.
      * gnus.el (gnus-writable-groups, gnus-group-guess-prefixed-name)
        (gnus-group-guess-full-name, gnus-group-guess-prefixed-name): Remove,
        unused.
      * gnus-uu.el (gnus-uu-find-name-in-shar): Remove, unused.
      * gnus-util.el (gnus-extract-address-component-name)
        (gnus-extract-address-component-email, gnus-sortable-date)
        (gnus-alist-to-hashtable, gnus-hashtable-to-alist)
        (gnus-process-live-p): Remove, unused.
      * gnus-topic.el (gnus-group-parent-topic): Remove, unused.
      * gnus-sum.el (gnus-score-set-default, gnus-article-parent-p)
        (gnus-article-read-p, gnus-uncompress-marks): Remove, unused.
        (gnus-summary-set-current-mark): Remove obsolete, empty and unused
        function.
      * gnus-start.el (gnus-kill-newsgroup): Remove unused obsolete function.
      * gnus-score.el (gnus-summary-score-crossposting)
        (gnus-score-regexp-bad-p): Remove, unused.
      * gnus-salt.el (gnus-tree-goto-article): Remove, unused.
      * gnus-range.el (gnus-sublist-p): Remove, unused.
      * gnus-msg.el (gnus-mail-parse-comma-list, gnus-put-message): Remove,
        unused.
      * gnus-kill.el (gnus-Newsgroup-kill-file): Remove, unused.
      * gnus-int.el (gnus-list-active-group, gnus-request-group-articles)
        (gnus-request-associate-buffer): Remove, unused.
      * gnus-group.el (gnus-group-set-method-info)
        (gnus-group-set-params-info): Remove, unused.
      * gnus-fun.el (gnus-shell-command-to-string)
        (gnus-shell-command-on-region): Remove, unused.
      * gnus-cite.el (gnus-cited-line-p): Remove, unused.
      * gnus-art.el (gnus-article-text-type-exists-p)
        (article-translate-characters, gnus-article-hide-text-of-type)
        (gnus-kill-sticky-article-buffers, gnus-article-maybe-highlight):
        Remove, unused.
      b7af7f62
    • Eli Zaretskii's avatar
      Fix display of tooltips damaged by enhancements for bug #11832. · 8a0484e1
      Eli Zaretskii authored
       src/xdisp.c (init_iterator): Don't compute dimensions of truncation
       and continuation glyphs on tooltip frames, leave them at zero.
       Avoids displaying continued lines in tooltips.
      8a0484e1
    • Dmitry Antipov's avatar
      Simplify copy_overlay. · fa691a83
      Dmitry Antipov authored
      * buffer.c (copy_overlay): Simplify, use build_marker.
      * lisp.h (struct Lisp_Overlay): Restore comment with minor tweaks.
      fa691a83
  4. 23 Jul, 2012 6 commits
  5. 22 Jul, 2012 7 commits
  6. 21 Jul, 2012 3 commits