1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
Commit graph

4258 commits

Author SHA1 Message Date
Nick Roberts
c055a7dc57 (speedbar-frame): Declare to avoid compiler
warning.
(gdb-breakpoints-header): Move forward to avoid compiler warning.
(gdb-make-header-line-mouse-map): Remove duplicate definition.
2009-07-18 10:37:39 +00:00
Dmitry Dzhus
bfc99364d9 (json-partial-output): Fix broken GDB/MI output in -break-info command
(Emacs bug #3794).
2009-07-14 08:40:58 +00:00
Sam Steingold
2b1d2412c5 (compilation-mode-font-lock-keywords): Omake sometimes indents the
errors it prints, so allow all regexps to start with spaces.
2009-07-10 18:23:49 +00:00
Sam Steingold
49405d0e1b (rgrep): Allow grep-find-ignored-directories
to be a cons cell (test . ignored-directory) to selectively ignore
some directories depending on the location of the search.
2009-07-08 14:23:57 +00:00
Nick Roberts
ab3c1ccf3d (gdb): Remove description of
gdb-use-separate-io-buffer.
(menu): Don't allow toggling of or enable
gdb-use-separate-io-buffer from menubar.
2009-07-08 04:51:57 +00:00
Nick Roberts
ca8eb1bd47 (gdb-init-1): Move sending
-data-list-register-names to ...
(gdb-starting): ... here because GDB 7.0 requires execution to
have started when using this MI command.
(gdb-set-header): New function to distinguish select and
unselected tabs in gdb buffers.
(gdb-propertize-header): New macro that uses gdb-set-header.
(gdb-breakpoints-header, gdb-locals-header): Use it.
2009-07-08 00:41:00 +00:00
Dmitry Dzhus
69a197a214 * progmodes/gdb-mi.el (gdb-input): Add trailing newline to command. 2009-07-07 20:10:05 +00:00
Dmitry Dzhus
e7006f272c * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom): y/n
instead of on/off; do not highlight breakpoints without line
information.
2009-07-07 19:54:08 +00:00
Dmitry Dzhus
17c1380b1f * progmodes/gdb-mi.el (gdb-stack-list-frames-handler): Rewritten
without regexps.
2009-07-07 17:40:32 +00:00
Dmitry Dzhus
dc6b4519c8 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
may contain frame information, so `string-match' should be used.
(gdb-update): Disassembly is invalidated through
`gdb-get-selected-frame'.
(gdb-pad-string): New function to pad string with spaces.
(gdb-invalidate-disassembly): Invalidate only if the buffer
exists.
(gdb-disassembly-handler-custom): Column alignment.
(gdb-disassembly-place-breakpoints): Clear old breakpoints before
placing new ones.
(gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
end of line, too.
(gdb-frame-handler): Match convention to for disassembly buffer
mode name.
2009-07-07 17:36:42 +00:00
Dmitry Dzhus
14340b25f4 * progmodes/gdb-mi.el (gdb-init-1): Set correct mode name for
disassembly buffer.
(gdb-breakpoints-list-handler-custom): Replacement for
gdb-break-list-handler. Using real parser instead of regexps now.
(gdb-place-breakpoints): Replacement for gdb-break-list-custom.
Use gdb-breakpoints-list instead of parsing breakpoints buffer to
place breakpoints.
(def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
functions.
(gdb-disassembly-handler-custom): Show overlay arrow.
(gdb-disassembly-place-breakpoints): Show breakpoints in
disassembly buffer.
(gdb-toggle-breakpoint, gdb-delete-breakpoint)
(gdb-goto-breakpoint): Using gdb-breakpoint text properties
instead of parsing breakpoints buffer.
Fixed old menu references in gud-menu-map.
2009-07-07 17:22:26 +00:00
Dmitry Dzhus
28d67a53c5 gdb-mi.el: Now using bindat-get-field instead of fadr functions. 2009-07-07 17:04:51 +00:00
Dmitry Dzhus
0996385d0a Port memory buffer from gdb-ui.el
(gdb-memory-address): New variable which holds top address of
memory page shown in memory buffer
(gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
customization variables.
New functions:
(gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
display the memory buffer.
(gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
buffer display parameters.
(def-gdb-memory-format, gdb-memory-format-binary)
(gdb-memory-format-octal, gdb-memory-format-unsigned)
(gdb-memory-format-signed, gdb-memory-format-hexadecimal):
Functions for setting memory buffer format.
(gdb-memory-unit-word, gdb-memory-unit-halfword)
(gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
unit size used in memory buffer.
(gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
to next/previous page of memory buffer.
2009-07-07 16:57:41 +00:00
Chong Yidong
d44d05e807 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
to the end of the line when locating the block (Bug#700).
2009-07-06 14:16:52 +00:00
Dan Nicolaescu
d88782c37f (verilog-error-regexp-emacs-alist): Coded custom
representation of verilog error regular expressions to work with
Emacs-22's new format.
(verilog-error-regexp-xemacs-alist): Coded custom representation
of verilog error regular expressions to work with XEmacs format
(verilog-error-regexp-add-xemacs): Hook routine to install verilog
error recognition into XEmacs.
(verilog-error-regexp-add-emacs): Hook routine to install verilog
error recognition into Emacs-22.
2009-07-06 08:32:48 +00:00
Glenn Morris
3f150a6009 (f90-break-delimiters, f90-no-break-re): Doc fixes. 2009-07-01 07:13:55 +00:00
Glenn Morris
b0d5b05b13 Evangelos Evangelou <vangelis at email.unc.edu> (tiny change)
(f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
2009-07-01 02:58:52 +00:00
Alan Mackenzie
2b78d42cb5 (c-mask-paragraph): Remove a spurious correction between the visible
width of TABs and their number of bytes, so that point is undisturbed
after typing a space, when there are tabs just before "*/".
2009-06-29 14:44:04 +00:00
Dan Nicolaescu
a3a8b0029a * verilog-mode.el (verilog-beg-of-statement)
(verilog-endcomment-reason-re): Support unique case and priority
case.
(verilog-basic-complete-re): Support localparam lineup.
(verilog-beg-of-statement-1): Fix for robustness, unique case.
(verilog-set-auto-endcomments): Fix for unique case, always_comb
commenting.
(verilog-leap-to-case-head): Now support *nested* unique &
priority case statements.
(verilog-auto-lineup): Make just declarations the default (as it
had been).
(verilog-leap-to-case-head): Support priority/unique case
statements.
(verilog-auto-lineup): Rework to give users radio buttons to
select the various styles of automatic lineup
(verilog-error-regexp-alist): Rework to support the XEmacs style
of error regular expressions from compilers, lint tools &
simulators.  Note that GNU Emacs has made it impossible for a mode
to load such things.
(electric-verilog-terminate-line, verilog-indent-declaration)
(verilog-auto-wiure): Rework for radio button selection of
auto-lineup selection of specification of auto lineup.
(verilog-beg-of-statement-1): Redesign to support proper operation
in additional code, based on testing with auto-lineup.
(verilog-calculate-indent, assignments & declarations)
(verilog-backward-token): Enhance to support auto-lineup of
assignments & declarations.
(verilog-in-directive-p, verilog-at-struct-p): New function for
easy test of whether we are.
(verilog-pretty-declarations, verilog-pretty-expr): Massive rework
to support safe execution at almost anyline.
(verilog-calc-1): Properly support indenting deep inside generate
blocks.
(verilog-init-font) Remove definition & use of verilog-init-font,
as it is redundant with font-lock-defaults.
(verilog-mode): Alter the definition of verilog-font-lock-defualts
to avoid circular calls if syntax-ppss is a function (as is the
case now in 22.x GNU Emacs) as that function would sometimes call
itself, leading to (nearly) infinite recursion
(verilog-ovm-begin-re, verilog-ovm-end-re)
(verilog-ovm-statement-re, verilog-leap-to-head)
(verilog-backward-token): Add support for OVM macros.  Some are
complete statements, and others open and close scopes like begin
and end.
(verilog-defun-level-not-generate-re, verilog-defun-level-re)
(verilog-defun-level-generate-only-re): Really fix the defun-list
compilation issue
(verilog-calc-1) (verilog-beg-of-statement): Enhance support for
coverpoint, constraint and cross statements
(verilog-defun-level-list, verilog-generate-defun-level-list)
(verilog-all-defun-level-list): Redo these specifications - it is
too hard to support eval-when compile aggregation of lists also
built at when-compile time.
(verilog-defun-level-list): Place defconsts of variables used in
building regular expressions which are built in eval-when-compile
bodies in the same eval-when-compile body to facilitate compile
without load.
(verilog-beg-block-re-ordered): Support indenting
virtual/protected tasks and functions.
(verilog-defun-level-list,verilog-in-generate-region-p)
(verilog-backward-ws&directives, verilog-calc-1): Speed up
indentation of some module items (generate items).
(verilog-forward-sexp, verilog-leap-to-head): Support stepping
across virtual/protected tasks and functions.

* verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort): Allow
sorting AUTOARG lists.  Suggested by Andrea Fedeli.
(verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
in concatenations.  Reported by Yishay Belkind.
(verilog-auto-ascii-enum): Support one-hot state machines in
AUTOASCIIENUM.  Suggested by Lloyd Gomez.
(verilog-auto-inst, verilog-auto-inst-port): Include interface
modport in AUTOINST and add vl-modport for users.  Reported by
David Rogoff.
(verilog-auto-inout-module, verilog-auto-inst)
(verilog-decls-get-interfaces, verilog-insert-definition)
(verilog-insert-one-definition, verilog-read-decls)
(verilog-read-sub-decls, verilog-read-sub-decls-sig)
(verilog-sig-modport, verilog-signals-combine-bus)
(verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
Suggested by David Rogoff.
(verilog-repair-open-comma): Fix non-insertion of comma when
`DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
(verilog-make-width-expression): Simplify [A-1:0] expression
widths to just {A{1'b0}}.
(verilog-mode): Cleanup checkdoc warnings.
(verilog-auto-inout-module, verilog-signals-matching-dir-re): Add
third optional regexp to AUTOINOUTMODULE to allow selecting only
inputs/outputs or data type.  Suggested by Vasu Kandadi.
(next-error-last-buffer): Fix byte-compiler warning.
(verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
(verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
or shell command text during AUTO expansion.  Suggested by Tad
Truex.
(verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
(verilog-read-sub-decls-sig, verilog-symbol-detick-text): Fix
dotted nets {a.b,c.d} and excaped identifiers being mis-included
in AUTOINOUT. Reported by Matthew Lovell.
(verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
causing use of <= assignments.  Reported by Alex Reed.
(verilog-read-decls): Fix triand, trior, wand, wor to be
recognized by AUTOWIRE.  Reported by Spencer Isaacson.
(verilog-extended-complete-re): Support import "DPI-C" functions.
(verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
y[a+1:a+1]" to not include a in reset list.  Reported by Dan
Dever.
(verilog-insert-date, verilog-insert-year)
(verilog-sk-header-tmpl): Fix verilog-header inserting error on
Windows systems.  Reported by Michael Potts.
(verilog-read-module-name): Fix AUTOINST when the child module
declaration's name is a tick define. Reported by Elliot Mednick.
(verilog-read-decls): Fix V2K parameter bit subscripts getting
passed to next parameter's definition. Reported by Bruce T.
(verilog-read-decls): Fix detecting "parameter int" when using
AUTOINSTPARAM.  Reported by Bruce T.
(verilog-goto-defun): Fix goto not finding modules unless first
perform a verilog-auto expansion. Suggested by Lawrence Butcher.
(verilog-mode): Expand -f flag arguments on entry to mode so
verilog-goto-defun will work.  Reported by Lawrence Butcher.
(verilog-getopt): Expand environment variables in -f file
arguments.  Suggested by Lawrence Butcher.
(verilog-set-define): Fix "Symbol's value as variable is void"
when reading enumerations.
(verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
Suggested by Stephen Peltan.
(verilog-read-defines): Fix reading of enumerations in include
files.  Reported by Steve Peltan.
2009-06-28 17:52:45 +00:00
Glenn Morris
cc80ccee1f Minor header format fixes.
(gud-remove, gud-break): Update declarations.
2009-06-23 07:34:28 +00:00
Miles Bader
a91a2316ad Add arch tagline 2009-06-23 06:44:04 +00:00
Nick Roberts
821ba844dc Pull further modified changes from Dmitry's repository (http://sphinx.net.ru/hg/gdb-mi/). 2009-06-22 10:57:52 +00:00
Nick Roberts
91239a5211 * progmodes/gdb-ui.el: Replace with ...
* progmodes/gdb-ui.el: ... this file.
* progmodes/gud.el: Modify for gdb-mi.el.
* fadr.el: New file.
2009-06-21 12:08:53 +00:00
Chong Yidong
f7a2e63478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
Comment out 2007-07-25 change adding support for Maven error
messages; this regexp is too slow on long lines (Bug#3441).
2009-06-17 16:33:41 +00:00
Chong Yidong
1147352943 * progmodes/ruby-mode.el (ruby-parse-partial, ruby-font-lock-keywords): Support overloadable negative operators (Bug#3587). 2009-06-17 15:16:17 +00:00
Chong Yidong
d4bbd646f4 * progmodes/grep.el (grep-compute-defaults): Simplify how settings
are looked up.
(grep-apply-setting): New function.
(grep-highlight-matches, grep-command, grep-template)
(grep-use-null-device, grep-find-command, grep-find-template):
Clarify role of grep-compute-defaults in docstrings.  Use
grep-apply-setting to apply changes (Bug#3343).
2009-05-23 00:11:53 +00:00
Alan Mackenzie
a0526d5ee5 cc-mode.el (c-extend-and-neutralize-CPP-line): Renamed from
c-neutralize-syntax-in-CPP.  Set the variables c-new-BEG and c-new-END,
thus extending the font-lock region.
(c-font-lock-init): Don't set obsolete variable font-lock-lines-before.

cc-langs.el (c-before-font-lock-function): Rename a value to
c-extend-and-neutralize-syntax-in-CPP.
2009-05-19 22:35:07 +00:00
Richard M. Stallman
0b508a2736 * progmodes/compile.el (compilation-filter): If inserting at end
of accessible part of buffer, keep end of output visible.
2009-05-18 16:30:59 +00:00
Alan Mackenzie
f0e4b2f240 Enhancements for Objective-C:
cc-vars.el
(c-objc-method-arg-min-delta-to-bracket,
c-objc-method-arg-unfinished-offset, c-objc-method-parameter-offset): New
variables.
(c-offsets-alist): Use c-lineup-ObjC-method-call-colons in entry for
objc-method-call-cont.

cc-langs.el (c-constant-kwds): New ObjC keywords "YES", "NO",
"NS_DURING", "NS_HANDLER", "NS_ENDHANDLER".

cc-align.el (c-lineup-ObjC-method-call-colons): New function.
2009-04-30 10:36:24 +00:00
Chong Yidong
1c6bf19606 * progmodes/which-func.el (which-function): Don't assume that
entries from `imenu--index-alist' are ordered by buffer position,
which fails when submenus are present (Bug#3153).
2009-04-28 21:29:47 +00:00
Nick Roberts
4dc5a19d8b (gdb-tooltip-print): Avoid "Non-X frame used"
error with gud-tooltip-mode in the Linux console.
2009-04-28 10:35:41 +00:00
Nick Roberts
7f4b360b32 Give hint for GDB in Emacs on Mac OSX. 2009-04-08 12:34:00 +00:00
Deepak Goel
b3f5a84631 m-v corrections. 2009-03-13 20:37:43 +00:00
Deepak Goel
3c2fbb994b multiple value corrections 2009-03-13 19:56:33 +00:00
Sam Steingold
0fdb20bb32 (compilation-error-regexp-alist-alist): Handle "omake -P" messages "file foo changed". 2009-03-04 14:33:42 +00:00
Sam Steingold
ee15d7591b (compilation-move-to-column): Guard against negative col values. 2009-03-03 22:26:24 +00:00
Eli Zaretskii
8f0e19afc8 (grep-process-setup) [windows-nt msdos]: Use "--color=always". 2009-02-28 17:26:00 +00:00
Glenn Morris
44ea2d6c29 (c-style-variables-are-local-p): Mark as safe if boolean. (Bug#2197) 2009-02-26 03:54:01 +00:00
Glenn Morris
af1d43f946 (cperl-find-pods-heres): Don't globally bind `name'. 2009-02-24 03:31:15 +00:00
Chong Yidong
721451bc13 Fix last change. 2009-02-21 19:50:17 +00:00
Chong Yidong
2f49167cb2 (compilation-error-regexp-alist-alist): Tweak regexp (Bug#2173). 2009-02-21 18:52:19 +00:00
Alan Mackenzie
d28e7f288e cc-engine.el (c-beginning-of-statement-1): Enhance to parse case clauses
with (compile-time) expressions.
cc-langs.el (c-case-kwds-regexp): New variable for the above.
2009-02-21 16:10:39 +00:00
Martin Rudalics
3ba6d4ed56 (python-shift-left, python-shift-right):
When the mark is not active shift the current line.  (Bug#2381)
2009-02-20 16:30:53 +00:00
Stefan Monnier
c9176b9f18 (sh-font-lock-quoted-subshell): ' inside a "..." does not quote anything. 2009-02-19 22:18:16 +00:00
Nick Roberts
8fca05449a (compilation-error-regexp-alist-alist):
Move entry for maven (alphabetical order).
2009-02-19 06:54:22 +00:00
Sam Steingold
72fcf38256 Require comint at top level to fix the last patch. 2009-02-18 15:37:40 +00:00
Juanma Barranquero
0d3e93a66f * progmodes/cc-menus.el (imenu-progress-message):
Remove bogus cc-bytecomp-defun.
  (cc-imenu-objc-function): Don't call `imenu-progress-message'.
  Don't let-bind variable `stupid'.  (Bug#1638)
2009-02-18 09:23:28 +00:00
Martin Rudalics
57a97b446f (flymake): Add defgroup. (Bug#2356) 2009-02-18 07:41:10 +00:00
Sam Steingold
2017951613 (compilation-filter): Call comint-carriage-motion', just like comint-output-filter'. 2009-02-17 16:49:40 +00:00
Juanma Barranquero
33ee2fc873 * progmodes/cc-menus.el (cc-imenu-objc-function): Doc fix. 2009-02-17 10:59:12 +00:00