Permalink
Commits on Jul 15, 2002
  1. 2002-07-16 00:08 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-add-rule): `is-statement' added as a required
    	parameter.
    
    2002-07-16 00:07 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-indent-level): Added a message when the
    	indentation is fixed to a specific column.
    davep committed Jul 15, 2002
Commits on Jul 13, 2002
  1. 2002-07-13 12:06 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-add-rule): Added docstring.
    davep committed Jul 13, 2002
Commits on Jul 12, 2002
  1. 2002-07-12 09:42 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-indent-rules): Added customize option for
    	removing all indentation from the offset rule via the extra offset
    	setting.
    davep committed Jul 12, 2002
  2. 2002-07-12 09:37 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el: Added the commentary and installation hints.
    davep committed Jul 12, 2002
Commits on Jul 2, 2002
  1. 2002-07-02 09:56 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-indent-line): (/= ...) instead of (not (eq ...)).
    davep committed Jul 2, 2002
  2. 2002-07-02 09:52 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-indent-line): Modified the code so that the
    	indent level is only calculated once.
    davep committed Jul 2, 2002
  3. 2002-07-01 04:54 UTC Mike Romberg <romberg@fsl.noaa.gov>

               * xbase.el (xbase-indent-line): Don't indent if the current line
               already is indented correctly.  This prevents unneeded buffer saves
               if a user hits C-i as a matter of habbit.
    romberg committed Jul 2, 2002
Commits on Jun 28, 2002
  1. 2002-06-28 12:46 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-mode): Updated font-lock-defaults so that the
    	#ifdef/#ifndef "argument" is displayed in the "varable" face.
    davep committed Jun 28, 2002
  2. 2002-06-28 10:16 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-find-statement-backward): Now only looks for
    	rules that claim they are statements. Ignores non-statement rules.
    
    2002-06-28 10:15 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-indent-level): Added support for indentation
    	fixed at a specific column.
    
    2002-06-28 10:12 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-indent-rules, xbase-rule-statement-p)
    	(xbase-rule-statement-p): Added support for statement and
    	non-statement oriented rules. Seperated if...endif and friends out
    	from #if...#endif and friends.
    
    2002-06-28 10:10 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode-syntax-table): Added "#" to the "w" class.
    
    2002-06-28 09:59 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-directive-face): Now defaults to
    	font-lock-builtin-face instead of the keyword face.
    davep committed Jun 28, 2002
Commits on Jun 27, 2002
  1. 2002-06-27 07:45 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-add-rule): Added.
    davep committed Jun 27, 2002
Commits on Jun 11, 2002
  1. 2002-06-11 15:12 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-font-lock-statements): Removed duplicate mention
    	of "static".
    davep committed Jun 11, 2002
Commits on May 28, 2002
  1. Code format cleanup.

    davep committed May 28, 2002
Commits on May 24, 2002
  1. 2002-05-24 18:07 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el: Added joint copyright.
    davep committed May 24, 2002
  2. 2002-05-24 15:34 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-end-of-defun): Renamed `defunp' to `is-defun-p'
    	so as to work around a bug in emacs' Common Lisp indentation
    	engine (no, this doesn't have aanything to do with `xbase-mode',
    	but it stops xbase.el being badly formatted). See
    	<URL:http://mail.gnu.org/pipermail/bug-gnu-emacs/2002-May/012763.html>
    	my report to the emacs developers.
    davep committed May 24, 2002
  3. 2002-05-24 10:45 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-end-of-defun): Improved the doc-string.
    
    2002-05-24 10:39 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-find-statement-backward): Removed `then' part of
    	loop. Not required.
    	(xbase-find-some-statement-backward): As above.
    davep committed May 24, 2002
  4. 2002-05-24 09:46 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-find-matching-statement): Simplified the test of
    	the `while'.
    
    2002-05-24 09:41 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-font-lock-logic): Added.
    	(xbase-logic-face): Added.
    	(xbase-mode): Added logic operators to the font lock defaults.
    
    2002-05-24 09:33 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-end-of-defun): Don't `loop' when `while' will
    	do.
    davep committed May 24, 2002
Commits on May 23, 2002
  1. 2002-05-23 10:32 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-end-of-defun): Added.
    	(xbase-mode): Added `end-of-defun-function' as a local variable.
    	Set it to the above. This means that `end-of-defun' will work in
    	xbase buffers.
    
    2002-05-23 10:16 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode): Added `defun-prompt-regexp' as a local
    	variable. Set it to (xbase-rule-regexp 'xbase-defun). This means
    	that `beginning-of-defun' will work in xbase buffers.
    
    2002-05-23 10:08 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-describe-line): Added.
    	(xbase-mode-map): Bound the above to "C-c C-l".
    
    2002-05-23 09:56 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-indent-line): Fixed `point' repositioning glitch
    	introduced earlier.
    davep committed May 23, 2002
  2. 2002-05-23 09:41 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el: Added documentation strings to various functions.
    davep committed May 23, 2002
Commits on May 22, 2002
  1. 2002-05-22 18:18 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-calculate-indent-with-offset): Really fixed the
    	error message (I'd forgotten to pass the value of `offset' to
    	`error' so that the format string would have the corrent
    	argument).
    davep committed May 22, 2002
  2. 2002-05-22 17:52 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-calculate-indent-with-offset): Fixed error
    	message.
    davep committed May 22, 2002
  3. 2002-05-22 16:58 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-indent-line): Modified to use
    	`delete-horizontal-space'.
    davep committed May 22, 2002
  4. 2002-05-22 14:55 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-font-lock-statements): Added various OO oriented
    	statements. Added DEFAULT.
    
    2002-05-22 14:37 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-variable-name-face): Added.
    	(xbase-constant-face): Added.
    	(xbase-mode): Reenabled font locking for #define names. Reenabled
    	font locking for .T., .F. and NIL. Also included SELF and SUPER.
    davep committed May 22, 2002
  5. 2002-05-22 13:48 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-mode-syntax-table): Added support for "&&"
    	comments.
    
    2002-05-22 13:37 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode-syntax-table): Changed to a `defvar' (was a
    	`defconst').
    
    2002-05-22 13:36 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode-syntax-table): Set "_" to word class.
    	Added support for "/* .. */" and "//" comments.
    
    2002-05-22 13:31 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode-syntax-table): Set "'" to be a string
    	delimiter.
    
    2002-05-22 13:30 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-string-face): Removed.
    	(xbase-mode): Removed string entry from font lock rules, it's not
    	required.
    
    2002-05-22 12:49 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-function-name-face): Added.
    	(xbase-mode): Reenabled highlighting of (defun) function names.
    
    2002-05-22 12:47 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-*-face): Fixed invalid :type settings. They
    	should have been `face' but I'd used `facep'.
    
    2002-05-22 12:33 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode): Statements, directives and commands were
    	being highlighted when they were part of a string. Fixed.
    davep committed May 22, 2002
  6. 2002-05-22 12:02 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-keyword-face): Added.
    	(xbase-directive-face): Added.
    	(xbase-command-face): Added.
    	(xbase-string-face): Added.
    	(xbase-mode): Put font lock support for strings back in. Used the
    	above variables to control which faces are used for the various
    	font locking rules. Made full use of `regexp-opt' by getting it to
    	place the word markers in the resulting regular expression.
    	(xbase-font-lock-directives): Removed the preceeding "#" from each
    	entry in the list.
    	(xbase-mode): Added the "#" to the start of the use of
    	`xbase-font-lock-directives' when setting up the font lock rules.
    davep committed May 22, 2002
  7. 2002-05-22 10:55 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-some-statement-indentation): Modified to handle
    	cases where there is nothing to match to. Now, when there is
    	nothing to be matched for finding the previous indentation level
    	the current level is used.
    
    2002-05-22 10:47 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-indent-rules): STATIC/INIT/EXIT functions and
    	procedures are now catered for.
    davep committed May 22, 2002
  8. 2002-05-22 10:18 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-font-lock-commands): Added.
    	(xbase-mode): Changed value of `font-lock-defaults' to use the above.
    
    2002-05-22 10:16 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-font-lock-keywords): Renamed to `xbase-font-lock-statements'.
    	(xbase-mode): Changed value of `font-lock-defaults' to use the above.
    
    2002-05-22 10:11 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-calculate-offset): Removed.
    	(xbase-calculate-indent-with-offset): Added. This replaces
    	`xbase-calculate-offset'. The main difference is that a specific
    	column value is now supported as an "offset". This means that the
    	likes of TEXT/ENDTEXT can support having the intervening text at
    	column zero.
    	(xbase-some-statement-indentation): Added.
    	(xbase-previous-opening-statement-indentation) Changed to use the
    	above.
    	(xbase-previous-opening/interim-statement-indentation): Changed to
    	use the above.
    	(xbase-indent-level): Changed to use
    	`xbase-calculate-indent-with-offset'.
    	(xbase-indent-rules): Added TEXT/ENDTEXT support.
    davep committed May 22, 2002
  9. 2002-05-22 09:04 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el: Major re-working of indentation code and font lock
    	code.
    davep committed May 22, 2002
Commits on May 20, 2002
  1. 2002-05-20 17:50 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-mode): Removed `make-local-variable' declaration
    	for `xbase-indent-level', no such buffer local variable is
    	required.
    davep committed May 20, 2002
  2. 2002-05-20 16:12 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-mode): Made sure that `indent-line-function' is
    	a buffer local variable before setting it to `xbase-indent-line'.
    davep committed May 20, 2002
  3. 2002-05-20 14:39 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el: Renamed symbols using "select" in their name to
    	"do-case".
    davep committed May 20, 2002
  4. 2002-05-20 10:13 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-mode): Changed `mode-name' from "xBase" to
    	"Xbase".
    
    2002-05-20 10:09 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-label-regexp): Removed.
    
    2002-05-20 10:08 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-*-regexp): Made all lower case.
    	(xbase-indent-level): Bind `case-fold-search' to t so that regular
    	expression matches are case insensitive.
    davep committed May 20, 2002
Commits on May 18, 2002
  1. 2002-05-18 12:03 UTC+0100 Dave Pearson <davep@davep.org>

    	* xbase.el (xbase-indent-level): Removed code that saved `point'
    	it wasn't necessary because `save-excursion' is being used.
    davep committed May 18, 2002
  2. Added .cvsignore. Currently this only ignores "Makefile" so that we c…

    …an make
    
    use of our own local Makefiles. Should we ever need to provide a Makefile
    this will have to be changed.
    davep committed May 18, 2002
  3. Added ChangeLog.

    2002-05-18 11:39 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode): Added autoload marker.
    
    2002-05-18 11:38 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-mode): Actually use `xbase-mode-map'.
    	Set all values in one `setq'.
    
    2002-05-18 11:37 UTC+0100  Dave Pearson  <davep@davep.org>
    
    	* xbase.el (xbase-case-regexp): Added "otherwise".
    davep committed May 18, 2002