1. xemacs
  2. cc-mode

Commits

Author Commit Message Date Builds
Alan Mackenzie
Correct the position of point in some line-up functions. cc-align.el (c-lineup-whitesmith-in-block, c-lineup-assignments) (c-lineup-gcc-asm-reg ): take position of point at column 0 rather than at a random place in the line. cc-mode.texi (Custom Line-Up): State explicitly that point starts at a random position in the line being indented.
Alan Mackenzie
Merge.
Alan Mackenzie
Replace `last-command-event' by `last-command-char' in XEmacs. cc-defs.el (c-last-command-char): New macro. cc-align.el (c-semi&comma-inside-parenlist) (c-semi&comma-no-newlines-before-nonblanks) (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro in place of `last-command-event'. cc-cmds.el (c-electric-pound, c-electric-brace, c-electric-slash) (c-electric-semi&comma, c-electric-lt-gt, c-electric-paren) (c-electric-continued-statement): Use th…
Norbert Koch
Added tag cc-mode-1_63 for changeset b855e452c239
Norbert Koch
XEmacs Package Release 1.63
Norbert Koch
Merge changes from cc-mode, tramp
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
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
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
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
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
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
  1. Prev
  2. Next