1. 06 Nov, 2010 1 commit
    • Wilson Snyder's avatar
      * progmodes/verilog-mode.el (verilog-insert-one-definition) · 8468f78b
      Wilson Snyder authored
      (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
      AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
      by Eric Mastromarchi.
      (verilog-preprocess): Use with-current-buffer and
      font-lock-fontify-buffer to cleanup style issues.
      8468f78b
  2. 05 Nov, 2010 3 commits
  3. 04 Nov, 2010 15 commits
  4. 03 Nov, 2010 2 commits
  5. 01 Nov, 2010 6 commits
    • Jan Djärv's avatar
      Backport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts. · 3649d303
      Jan Djärv authored
      * src/keyboard.c (input_available_signal): Declare.
      (kbd_buffer_nr_stored): New function.
      (kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
      more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
      (kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
      returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
      (tty_read_avail_input): If input is on hold, return.
      Don't read more that free slots in kbd_buffer (Bug#6571).
      
      * src/process.c (kbd_is_on_hold): New variable.
      (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
      New functions.
      (wait_reading_process_output): If kbd_on_hold_p returns non-zero,
      select on empty input mask.
      (init_process): Initialize kbd_is_on_hold to 0.
      
      * src/process.h (hold_keyboard_input, unhold_keyboard_input)
      (kbd_on_hold_p): Declare.
      3649d303
    • Glenn Morris's avatar
      cb5e49a3
    • Chong Yidong's avatar
      Prevent server-mode from issuing a prompt in kill-emacs-hook. · 381d186f
      Chong Yidong authored
      * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
      user for confirmation.
      (server-force-stop): Use it.
      (server-start): Use server-force-stop for kill-emacs-hook, to
      avoid user interaction while killing Emacs.
      381d186f
    • Chong Yidong's avatar
      Backport VC improvements from trunk. · 98cfec0d
      Chong Yidong authored
      * vc/log-edit.el (log-edit-rewrite-fixes): New var.
      (log-edit-author): New dynamic var.
      (log-edit-changelog-ours-p, log-edit-insert-changelog-entries):
      Use it to return the author if different from committer.
      (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
      
      * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
      
      * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
      (vc-root-diff, vc-print-root-log, vc-log-incoming)
      (vc-log-outgoing): Use it.
      (vc-diff-internal): Set diff-vc-backend.
      
      * vc/diff-mode.el (diff-vc-backend): New var.
      
      * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
      buffer-locally to lambda that re-runs the vc diff command.
      (Bug#6447)
      
      * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
      
      Make 'g' (AKA revert-buffer) rerun VC log, log-incoming and
      log-outgoing commands.
      * vc/vc.el (vc-log-internal-common): Add a new argument and use it
      to create a buffer local revert-buffer-function variable.
      (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
      revert-buffer-function lambda.
      
      Improve VC create/retrieve tag/branch.
      * vc.el (vc-create-tag): Do not read the directory name for VCs
      with repository revision granularity.  Adjust the tag/branch
      prompt.  Reset VC properties.
      (vc-retrieve-tag): Do not read the directory name for VCs
      with repository revision granularity.  Reset VC properties.
      
      Add optional support for resetting VC properties.
      * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
      call vc-file-clearprops when true.
      (vc-resynch-buffer): Add new optional argument, pass it down.
      (vc-resynch-buffers-in-directory): Likewise.
      
      Improve support for special markup in the VC commit message.
      * vc-mtn.el (vc-mtn-checkin): Support Author: and Date: markup.
      * vc-hg.el (vc-hg-checkin): Add support for Date:.
      * vc-git.el (vc-git-checkin):
      * vc-bzr.el (vc-bzr-checkin): Likewise.
      
      Add support for vc-log-incoming, improve vc-log-outgoing for Git.
      * vc-git.el (vc-git-log-view-mode): Fix font lock for
      incoming/outgoing logs.
      (vc-git-log-outgoing, vc-git-log-incoming): New functions.
      
      * vc-git.el (vc-git-log-outgoing): Use the same format as the
      short log.
      (vc-git-log-incoming): Likewise.  Run "git fetch" before the log
      command
      
      Add bindings for vc-log-incoming and vc-log-outgoing.
      * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
      and vc-log-outgoing.
      * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
      and vc-log-outgoing.
      
      Improve state updating for VC tag commands.
      * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
      to update the state of all buffers in the directory.
      
      * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
      
      * vc.el (vc-checkin, vc-modify-change-comment):
      Adjust to new vc-start/finish-logentry.
      (vc-find-conflicted-file): New command.
      (vc-transfer-file): Adjust to new vc-checkin.
      (vc-next-action): Improve scoping.
      
      * vc-git.el (vc-git-checkin): Use log-edit-extract-headers.
      (vc-git-commits-coding-system): Rename from git-commits-coding-system.
      
      * vc-dispatcher.el (vc-log-edit): Shorten names for
      log-edit-show-files.
      
      * vc-bzr.el (vc-bzr-checkin): Use log-edit-extract-headers.
      (vc-bzr-conflicted-files): New function.
      
      * log-edit.el (log-edit-summary, log-edit-header)
      (log-edit-unknown-header): New faces.
      (log-edit-headers-alist): New var.
      (log-edit-header-contents-regexp): New const.
      (log-edit-match-to-eoh): New function.
      (log-edit-font-lock-keywords): Use them.
      (log-edit): Insert a "Summary:" header as default.
      (log-edit-mode): Mark font-lock rules as case-insensitive.
      (log-edit-done): Cleanup headers.
      (log-edit-extract-headers): New function to replace it.
      
      * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with
      the windows/frames.
      
      * vc-bzr.el (vc-bzr-shelve-apply): Don't use *vc-bzr-shelve*.
      
      * vc-dir.el (vc-dir-kill-line): New command.
      (vc-dir-mode-map): Bind it to C-k.
      (vc-dir-headers): Abbreviate the working dir.
      
      * vc-git.el (vc-git-revision-table): Include remote branches.
      
      New VC methods: vc-log-incoming and vc-log-outgoing.
      * vc.el (vc-print-log-setup-buttons, vc-log-internal-common)
      (vc-incoming-outgoing-internal, vc-log-incoming, vc-log-outgoing):
      New functions.
      (vc-print-log-internal): Just call vc-log-internal-common.
      (vc-log-view-type): New permanent local variable.
      
      * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
      
      * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
      of the dynamic bound vc-short-log.
      (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
      
      * vc-git.el (vc-git-log-outgoing): New function.
      (vc-git-log-view-mode): Use vc-log-view-type instead
      of the dynamic bound vc-short-log.
      
      * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead of
      the dynamic bound vc-short-log.  Highlight the tag.
      (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
      (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
      (vc-hg-incoming-mode): Remove.
      (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
      
      Fix default-directory for vc-root-diff.
      * vc.el (vc-root-diff): Bind default-directory to the root
      directory for the diff command.
      
      * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
      `vc-hg-command' with a list of flags.
      
      * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
      log-edit-before-checkin-process.
      
      * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
      
      * vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
      
      * vc-dispatcher.el (vc-start-logentry): Doc fix.
      (log-view-process-buffer, log-edit-extra-flags): Declare.
      
      Add special markup processing for commit logs.
      * log-edit.el (log-edit): Add new argument MODE.  Use that mode
      when non-nil instead of the log-view-mode.
      
      * vc.el (vc-default-log-edit-mode): New function.
      
      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
      log-edit.
      
      Support for shelving snapshots and for showing shelves.
      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
      New functions.
      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
      (vc-bzr-extra-menu-map): Map them.
      98cfec0d
    • Glenn Morris's avatar
      Mark tiny change. · 6aad7ea0
      Glenn Morris authored
      6aad7ea0
    • Elias Pipping's avatar
      Make Emacs compile with clang. · 76320384
      Elias Pipping authored
      * oldXMenu/XMakeAssoc.c (XMakeAssoc):
      * oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.
      
      Fixes: debbugs:7309
      76320384
  6. 31 Oct, 2010 2 commits
  7. 30 Oct, 2010 2 commits
  8. 29 Oct, 2010 2 commits
    • Glenn Morris's avatar
      Replace some inappropriate uses of toggle-read-only. (Bug#7292) · d2ce10d2
      Glenn Morris authored
      * lisp/speedbar.el (speedbar-mode):
      * lisp/play/fortune.el (fortune-in-buffer, fortune):
      * lisp/play/gomoku.el (gomoku-mode):
      * lisp/play/landmark.el (lm-mode):
      * lisp/textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
      * lisp/cedet/mode-local.el (mode-local-augment-function-help):
      * lisp/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
      * lisp/semantic/symref/list.el (semantic-symref-results-dump)
      (semantic-symref-rb-toggle-expand-tag):
      Replace inappropriate uses of toggle-read-only.
      d2ce10d2
    • Glenn Morris's avatar
      Correct some viewcvs links in docs and comments. · 97af9a72
      Glenn Morris authored
      * doc/misc/cc-mode.texi: Remove reference to defunct viewcvs URL.
      Instead, refer to the generic Savannah page, since it seems likely
      that Savannah will never provide the equivalent service for GNU bazaar.
      The other option would be to use the Git mirror URL, since it seems to
      be being updated now, and of course browsing Git repos works just fine.
      That would be a pretty poor advert for the GNU system though.
      
      * etc/MH-E-NEWS: Update URL (viewcvs -> viewvc).
      
      * lisp/net/tramp-fish.el: Update URL in comment (viewcvs -> viewvc).
      97af9a72
  9. 28 Oct, 2010 1 commit
  10. 27 Oct, 2010 2 commits
  11. 25 Oct, 2010 2 commits
  12. 24 Oct, 2010 1 commit
  13. 23 Oct, 2010 1 commit
    • Wilson Snyder's avatar
      verilog-mode.el updates. · a03c2342
      Wilson Snyder authored
      This file should be copied to the trunk verbatim.
      
      * verilog-mode.el (verilog-directive-re): Make this variable
      auto-built for efficiency of execution and updating.
      (verilog-extended-complete-re): Support 'pure' fucntion & task
      declarations (these have no bodies).
      (verilog-beg-of-statement): general cleanup to enable support of
      'pure' fucntion & task declarations (these have no bodies).  These
      efforts together fix Verilog bug210 from veripool; which was also
      noticed by Steve Pearlmutter.
      (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
      (verilog-directive-nest-re, verilog-set-auto-endcomments): Support
      `elsif.  Reported by Shankar Giri.
      (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
      attribute handling for lining up declarations and assignments.
      (verilog-beg-of-statement-1): Fix issue where continued declaration
      is indented differently if it is after a begin..end clock.
      (verilog-in-attribute-p, verilog-skip-backward-comments)
      (verilog-skip-forward-comment-p): Support proper treatment of
      attributes by indent code. Reported by Jeff Steele.
      (verilog-in-directive-p): Fix comment to correctly describe
      function.
      (verilog-backward-up-list, verilog-in-struct-region-p)
      (verilog-backward-token, verilog-in-struct-p)
      (verilog-in-coverage-p, verilog-do-indent)
      (verilog-pretty-declarations): Use verilog-backward-up-list as
      wrapper around backward-up-list inorder to properly skip comments.
      Reported by David Rogoff.
      (verilog-property-re, verilog-endcomment-reason-re)
      (verilog-beg-of-statement, verilog-set-auto-endcomments)
      (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
      of if). Reported by Max Bjurling and
      (verilog-calc-1): Fix for clocking block in modport
      declaration. Reported by Brian Hunter.
      * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
      (verilog-gate-keywords, verilog-read-sub-decls)
      (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
      (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
      AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
      (verilog-read-decls): Fix spaces in V2K module parameters causing
      mis-identification as interfaces, bug287.
      (verilog-read-decls): Fix not treating "parameter string" as a
      parameter in AUTOINSTPARAM.
      (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
      treating `elsif similar to `endif inside AUTOSENSE.
      	(verilog-do-indent): Implement correct automatic or static task or
      function end comment highlight. Reported by Steve Pearlmutter.
      (verilog-font-lock-keywords-2): Fix highlighting of single
      character pins, bug264.  Reported by Michael Laajanen.
      (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
      (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
      (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
      interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
      (verilog-pretty-expr): Fix interactive arguments, bug272. Reported
      by Mark Johnson.
      (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
      'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
      bug269. Suggested by Gary Delp.
      (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
      (verilog-preprocessor, verilog-set-compile-command): Create
      verilog-preprocess and verilog-preprocessor to show preprocessed
      output.
      (verilog-get-beg-of-line, verilog-get-end-of-line)
      (verilog-modi-file-or-buffer, verilog-modi-name)
      (verilog-modi-point, verilog-within-string): Move defmacro's
      before first use to avoid warning. Reported by Steve Pearlmutter.
      (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
      (verilog-colorize-region, verilog-highlight-buffer)
      (verilog-highlight-includes, verilog-highlight-modules)
      (verilog-highlight-region, verilog-mode): Rename colorize to
      highlight to match other packages.  Disable module highlighting,
      as received speed complaints, reenable for experimentation only
      using new verilog-highlight-modules.
      (verilog-read-decls): Fix regexp stack overflow in very large
      AUTO_TEMPLATEs, bug250.
      (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
      (verilog-scan): Create verilog-save-buffer-state to standardize
      making insignificant changes that shouldn't call hooks.
      (verilog-save-no-change-functions, verilog-save-scan-cache)
      (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
      Create verilog-save-no-change-functions to wrap verilog-scan
      preservation, and fix to work with nested preserved calls.
      (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
      port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
      generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
      (verilog-submit-bug-report): Update variable list to be complete.
      (verilog-auto, verilog-colorize-region): Fix AUTO expansion
      breaking on-the-fly font-locking.
      (verilog-colorize-buffer, verilog-colorize-include-files)
      (verilog-colorize-include-files-buffer, verilog-colorize-region)
      (verilog-load-file-at-mouse, verilog-load-file-at-point)
      (verilog-mode, verilog-read-inst-module-matcher): With point on a
      AUTOINST cell instance name, middle mouse button now finds-file on
      it.  Suggested by Brad Dobbie.
      (verilog-alw-get-temps, verilog-auto-reset)
      (verilog-auto-sense-sigs, verilog-read-always-signals)
      (verilog-read-always-signals-recurse): Fix loop indexes being
      AUTORESET. AUTORESET now assumes any variables in the
      initialization section of a for() should be ignored.  Reported by
      Dan Dever.
      (verilog-error-font-lock-keywords)
      (verilog-error-regexp-emacs-alist)
      (verilog-error-regexp-xemacs-alist): Fix error detection of
      Cadence HAL, reported by David Asher.  Repair drift between the
      three similar error variables.
      (verilog-modi-lookup, verilog-modi-lookup-cache)
      (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
      (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
      Fix slow verilog-auto expansion on very large files.
      (verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
      AUTOOUTPUT treating "1*2" as a signal name in submodule connection
      "{1*2{...".  Broke in last revision.
      (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
      submodule connections with replications "{#{a},#{b}}".
      a03c2342