Commits

Author Commit Message Labels Comments Date
Norbert Koch
XEmacs Package Release 1.62
Norbert Koch
XEmacs Package Release 1.62
Norbert Koch
XEmacs Package Release 1.62
Norbert Koch
Added tag cc-mode-1_62 for changeset 193c0f9dbfba
Norbert Koch
XEmacs Package Release 1.62
Tags
cc-mode-1_62
Alan Mackenzie
Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor. cc-engine.el (c-get-fallback-scan-pos): Remove. (c-parse-state-get-strategy): Don't return 'BOD any more. (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead of narrowing. Widen to top of buffer before searching backwards for a brace pair. (c-state-push-any-brace-pair): Add HERE parameter to function call. (c-append-to-state-cache): Extra parameter HERE in place of narrowing.…
Alan Mackenzie
Amend to fontify /regexp/s in actions correctly. cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re): (c-awk-harmless-string*-here-re): braces, parens and semicolons are no longer included. (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re): What used to be these variables without "-line" in the name. (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are. (c-awk-non-arith-op-bra-re): Now also matches {. (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print", "return", and "case". (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed by /. (c-awk-syntax-tablify-/): Check special cases "print /re/", etc. (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;. awk-face-2.awk, awk-face-2.face: New test files for /regexp/s.
Norbert Koch
Added tag cc-mode-1_60 for changeset 84035315a6ee
Norbert Koch
XEmacs Package Release 1.60
Tags
cc-mode-1_60
Alan Mackenzie
AWK Mode: Fix indentation bug at top level. cc-engine.el (c-guess-basic-syntax): Move CASE 5P to just before CASE 5D. awk-top-1.{awk,res}. Add an extra test for this.
Alan Mackenzie
Fix a bug in the state cache mechanism. Refactor this a bit. (c-parse-state-get-strategy): Remove the `cache-pos' element from the return value. (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of buffer to enable proper searching from beyond HERE. Amend the test for detecting the sought brace pair. Amend the value written to the "brace desert cache" when the brace isn't found. (c-remove-stale-state-cache): Rename `good-pos' to `start-point', an…
Alan Mackenzie
Merge.
Alan Mackenzie
Fix bugs in the state cache. Enhance a debugging mechanism. cc-engine.el (c-state-old-cpp-beg-marker, c-state-old-cpp-end-marker): New variables. (c-parse-state-get-strategy): Don't use "brace at column zero" strategy for C++. (c-append-lower-brace-pair-to-state-cache): Repair algorithm. Start a backward search for "}" definitively outside CPP constructs. (c-remove-stale-state-cache): Inform the caller of a need to search back for a brace pair in certain …
Norbert Koch
Added tag cc-mode-1_59 for changeset c325532f7d0b
Norbert Koch
XEmacs Package Release 1.59
Tags
cc-mode-1_59
Alan Mackenzie
Speed up fontification where there's large brace blocks. cc-fonts.el (c-font-lock-enclosing-decls): Add a limit to a call of c-beginning-of-decl-1.
Norbert Koch
Added tag cc-mode-1_58 for changeset 46f8e9f7f817
Norbert Koch
XEmacs Package Release 1.58
Tags
cc-mode-1_58
Alan Mackenzie
Merge.
Alan Mackenzie
Make CC Mode not hang when _some_ lines end in CRLF. cc-engine.el (c-backward-comments): Add code to work around `forward-comment' not recognizing ^M as whitespace.
Norbert Koch
Added tag cc-mode-1_57 for changeset a9aff1813e2a
Norbert Koch
XEmacs Package Release 1.57
Tags
cc-mode-1_57
Alan Mackenzie
Correct the handling of two c-state-cache state variables. cc-engine.el (c-state-cache-init): Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly. (c-record-parse-state-state): record c-state-semi-nonlit-pos-cache\(-limit\)?.
Norbert Koch
Added tag cc-mode-1_56 for changeset 2475272d8bae
Norbert Koch
XEmacs Package Release 1.56
Tags
cc-mode-1_56
Alan Mackenzie
AWK Mode: make auto-newline work when there's "==" in the pattern. cc-cmds.el (c-point-syntax): Handle virtual semicolons correctly. cc-engine.el (c-guess-basic-syntax CASE 5A.3): Test more rigorously for "=" token.
Norbert Koch
Added tag cc-mode-1_55 for changeset c6a1f4bc808e
Norbert Koch
XEmacs Package Release 1.55
Tags
cc-mode-1_55
Alan Mackenzie
Fix erroneous commit.
Alan Mackenzie
Adding a ) can hide the resulting (..) from searches. Fix it. cc-engine (c-append-lower-brace-pair-to-state-cache): Bound the backward search to the position of the existing (.
  1. Prev
  2. Next