Commit graph

65 commits

Author SHA1 Message Date
Deepak Goel
b3f5a84631 m-v corrections. 2009-03-13 20:37:43 +00:00
Martin Rudalics
57a97b446f (flymake): Add defgroup. (Bug#2356) 2009-02-18 07:41:10 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Stefan Monnier
8cd56959b4 * files.el (locate-dominating-stop-dir-regexp): New var.
(locate-dominating-file): Change arg from a regexp to a file name.
Rewrite using the vc-find-root code to avoid directory-files which is
too slow.  Obey locate-dominating-stop-dir-regexp.
Don't pay attention to changes in owner.
(project-find-settings-file): Adjust call to locate-dominating-file.

* progmodes/flymake.el (flymake-find-buildfile):
Adjust call to locate-dominating-file.

* vc-hooks.el (vc-find-root): Use locate-dominating-file.
(vc-ignore-dir-regexp): Use locate-dominating-stop-dir-regexp.
2008-10-25 15:18:53 +00:00
Chong Yidong
b89b385c16 (flymake-parse-err-lines): Filter out errors occurring in different
files.
2008-09-07 19:05:05 +00:00
Chong Yidong
928b4203c1 Add terminal class check to faces in last change. 2008-07-23 22:03:40 +00:00
Chong Yidong
0880f4fcb1 (flymake-errline, flymake-warnline): Use more suitable colors on dark
displays.
2008-07-23 21:54:48 +00:00
Stefan Monnier
466a09b5f8 (flymake-process-filter): Make sure the source buffer isn't dead. 2008-06-03 08:12:02 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Glenn Morris
b1fc2b5014 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:25:26 +00:00
Mark A. Hershberger
eabd11d4da add support to flymake for php, add support to flymake for perl module files (.pm) 2008-02-13 19:30:58 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
4e643dd23c Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
Martin Rudalics
caf790b6e3 (flymake-goto-file-and-line): Fix typo in string. 2007-11-17 09:46:37 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Richard M. Stallman
a988c1c239 (flymake-err-line-patterns): Fix infloop in javac regexp. 2007-08-12 18:01:29 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
1a484753b2 Switch license to GPLv3 or later. 2007-07-25 04:29:40 +00:00
Stefan Monnier
8ebbfc80ba (flymake-buildfile-dirs): Remove.
(flymake-find-buildfile): Use locate-dominating-file.
2007-07-20 04:09:08 +00:00
Eli Zaretskii
8c01db22ac (flymake-err-line-patterns): Doc fix. 2007-03-31 09:37:59 +00:00
Juanma Barranquero
84bb5a0c65 (flymake-init-create-temp-source-and-master-buffer-copy): Fix typo in docstring. 2007-01-29 16:18:04 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
1d9a4930a5 (flymake-posn-at-point-as-event): New function.
(flymake-popup-menu): Use it instead of posn-at-point.
2006-11-25 13:29:40 +00:00
Kim F. Storm
ff4e2883a3 2006-10-15 Lennart Borgman <lennart.borgman.073@student.lu.se>
(flymake-get-project-include-dirs-imp): Use shell-quote-argument.
2006-10-15 20:42:28 +00:00
Juanma Barranquero
57d3a1f359 (flymake-fix-file-name): Fix typo in docstring. 2006-02-16 11:40:51 +00:00
Stefan Monnier
9f812d2370 Add bugs/todo entry. 2006-01-10 19:16:02 +00:00
Stefan Monnier
587d108e55 (flymake-split-string): Remove >1 empty strings at beg/end of the result.
(flymake-find-buildfile, flymake-find-possible-master-files):
Use expand-file-name.
(flymake-fix-file-name): Don't replace \ with / and don't remove ./
since expand-file-name does it for us.  Use directory-file-name.
(flymake-ler-get-full-file, flymake-ler-get-file, flymake-ler-get-line)
(flymake-ler-get-type, flymake-ler-get-text)
(flymake-ler-make-ler): Remove.  Replace by defstruct.  Update callers.
(flymake-current-line-no): Remove spurious interactive spec.
(flymake-delete-temp-directory): Remove unused var `slash-pos'.
(flymake-check-include): Remove arg inc-path merged into inc-name.
(flymake-check-patch-master-file-buffer): Fit in 80 columns.
Arg regexp-list replaced by a simple regexp.
(flymake-master-make-header-init, flymake-master-tex-init):
Correspondingly replace regexp-list with a regexp.  Fix regexp.
2006-01-10 18:46:07 +00:00
Stefan Monnier
5f73367de4 (flymake-find-buildfile): Remove invariant arg `dirs'. Adjust callers. 2006-01-10 04:05:46 +00:00
Stefan Monnier
6fee12e66d Use `require' rather than autoload for XEmacs's overlays.
(flymake-get-common-file-prefix, flymake-build-relative-filename):
Delete.  Use file-relative-name instead.
(flymake-get-syntax-check-program-args, flymake-perl-init):
Simplify the resulting code.
2006-01-09 19:11:28 +00:00
Stefan Monnier
c07fa03069 (flymake-get-cleanup-function): Default to flymake-simple-cleanup.
(flymake-allowed-file-name-masks): Use this new default.
All the functions are now called in the right buffer rather than
passing the buffer as argument.
(flymake-process-sentinel): Switch to buffer before calling cleanup.
(flymake-parse-err-lines): Remove redundant buffer arg.
(flymake-get-program-dir): Comment out unused function.
(flymake-start-syntax-check, flymake-start-syntax-check-process):
Remove redundant buffer argument.
(flymake-get-real-file-name, flymake-simple-java-cleanup)
(flymake-simple-cleanup, flymake-master-cleanup): Remove buffer arg.
2006-01-05 18:51:00 +00:00
Stefan Monnier
6df1924164 (flymake-create-temp-with-folder-structure): Use expand-file-name.
(flymake-delete-temp-directory): Use expand-file-name,
file-name-directory, and directory-file-name.
(flymake-strrchr): Delete.
(flymake-start-syntax-check): Don't pass the redundant buffer argument
to the init-f function.
(flymake-init-find-buildfile-dir, flymake-init-create-temp-buffer-copy)
(flymake-init-create-temp-source-and-master-buffer-copy, flymake-perl-init)
(flymake-save-buffer-in-file, flymake-simple-make-init-impl, flymake-xml-init)
(flymake-simple-make-init, flymake-master-make-init, flymake-master-tex-init)
(flymake-master-make-header-init, flymake-simple-make-java-init)
(flymake-simple-ant-java-init, flymake-simple-tex-init):
Remove corresponding redundant buffer argument.
(flymake-allowed-file-name-masks): Remove last elems that are equal to
the default anyway.  Clean up regexps.
2006-01-03 19:59:00 +00:00
Stefan Monnier
5bcef417b1 (flymake-base-dir, flymake-master-file-name, flymake-temp-master-file-name)
(flymake-temp-source-file-name): New buffer-local vars.
(flymake-buffer-data, flymake-get-buffer-value, flymake-set-buffer-value):
Replace those hash-tables by the new buffer-local vars.  Update callers.
2006-01-03 19:05:06 +00:00
Stefan Monnier
43ed65acea (flymake-check-start-time, flymake-check-was-interrupted, flymake-err-info)
(flymake-is-running, flymake-last-change-time, flymake-new-err-info)
(flymake-timer): Move definitions, so we can remove earlier declarations.
(flymake-replace-regexp-in-string, flymake-split-string)
(flymake-get-temp-dir): Use defalias.
(flymake-popup-menu): Remove `pos' argument.  Use posn-at-point.
(flymake-xemacs-window-edges): Remove unused function.
(flymake-get-point-pixel-pos): Move.
(flymake-pid-to-names, flymake-reg-names)
(flymake-get-source-buffer-name, flymake-unreg-names): Remove.
Replace by a simple list flymake-processes and by process-buffer.
Update callers.  Other than simplify the code, it uses buffers rather
than buffer-names so it doesn't get confused by uniquify.
(flymake-buffer-data): The global value should just be nil.
2006-01-03 18:44:42 +00:00
Stefan Monnier
4dd68f4433 (flymake-copy-buffer-to-temp-buffer): Simplify.
(flymake-parse-output-and-residual): Remove `source-buffer' argument.
(flymake-process-filter): Switch to buffer before calling it instead.
(flymake-post-syntax-check, flymake-highlight-err-lines)
(flymake-delete-own-overlays, flymake-parse-err-lines)
(flymake-start-syntax-check, flymake-start-syntax-check-process)
(flymake-count-lines, flymake-parse-residual): Remove constant buffer argument.
(flymake-start-syntax-check-for-current-buffer): Remove.
Update callers to use flymake-start-syntax-check instead.
(flymake-display-err-menu-for-current-line): Remove unused var `mouse-pos'.
(flymake-restore-formatting): Comment out unused function.
(flymake-report-status, flymake-report-fatal-status): Remove buffer
argument, use current-buffer instead.  Update callers.
2005-12-30 17:28:30 +00:00
Deepak Goel
29a4e67d88 Message format fixes, commit no. 3 2005-09-18 12:31:28 +00:00
Richard M. Stallman
c3b8339fd7 Require `compile' unconditionally. 2005-09-09 01:24:15 +00:00
Eli Zaretskii
1f33471dda (flymake-highlight-err-lines): Use save-excursion around
flymake-highlight-line to preserve point.
2005-08-26 13:49:07 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Nick Roberts
034babe1e1 Update copyright for release of 22.1 for progmodes directory. 2005-08-01 08:43:45 +00:00
Richard M. Stallman
7ea8834e08 (flymake-float-time): Instead of with-no-warnings, test for xemacs.
(flymake-replace-regexp-in-string): Test fboundp of replace-in-string
to avoid warning.
2005-07-06 19:03:21 +00:00
Stefan Monnier
0ea7c863fb Remove useless eval-when-compile. 2005-07-04 18:54:30 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
c92d602307 (flymake-find-file): Remove.
(flymake-float-time): Use `with-no-warnings'.
(flymake-check-start-time, flymake-check-was-interrupted, flymake-err-info,
flymake-is-running, flymake-last-change-time, flymake-new-err-info):
`defvar' at compile time.
2005-07-03 23:18:19 +00:00
Luc Teirlinck
bd6a83d5b3 (flymake-mode, flymake-mode-off): Fix unbalanced parentheses.
From David Hunter (tiny change).
2005-07-02 21:17:05 +00:00
Stefan Monnier
d57f6b5ed1 (flymake-mode-on, flymake-mode-off): Move body into flymake-mode and
delegate to flymake-mode.
2005-07-02 19:36:38 +00:00
Juanma Barranquero
173569aaca (flymake-find-possible-master-files, flymake-master-file-compare,
flymake-get-line-err-count, flymake-highlight-line,
flymake-gui-warnings-enabled): Fix typos in docstrings.
(flymake-parse-line, flymake-get-project-include-dirs-function,
flymake-get-prev-err-line-no, flymake-goto-prev-error): Doc fixes.
(flymake-get-project-include-dirs-function, flymake-make-err-menu-data): Improve
argument/docstring consistency.
2005-07-01 14:13:12 +00:00
Miles Bader
ded09abd8d Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-412
Remove "-face" suffix from flymake faces

2005-06-14  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/flymake.el (flymake-errline, flymake-warnline):
   Remove "-face" suffix from face names.
   (flymake-errline-face, flymake-warnline-face):
   New backward-compatibility aliases for renamed faces.
   (flymake-highlight-line): Use renamed flymake faces.
2005-06-14 23:20:37 +00:00
Juanma Barranquero
69df8d97d8 (flymake-new-err-info, flymake-start-syntax-check-for-current-buffer,
flymake-simple-cleanup): Fix quoting in docstring.
2005-06-14 11:32:58 +00:00
Richard M. Stallman
adf8a02eb3 (flymake-makehash): Use with-no-warnings. 2005-05-21 04:53:14 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00