Mercurial > emacs
view admin/ChangeLog @ 52242:f5ada28bb9f0
Patch by Michael Mauger <mmaug@yahoo.com>
Version 1.8.0 of sql-mode.
Simplify selection of SQL products to define highlighting and
interactive mode. Includes detailed instructions on adding
support for new products.
* sql.el (sql-product): New variable. Identifies SQL product for
use in highlighting and interactive mode.
(sql-interactive-product): New variable. SQL product for
sql-interactive-mode.
(sql-product-support): New variable. Specifies product-specific
parameters to drive highlighting and interactive mode.
(sql-imenu-generic-expression): Add more object types.
(sql-sqlite-options): Correct comment.
(sql-ms-program): Use "osql" rather than "isql".
(sql-prompt-regexp, sql-prompt-length): Update comment.
(sql-mode-menu): Add "Start SQLi session" entry. Replace
Highlighting submenu with Product menu. Fix Send Region entry.
(sql-mode-abbrev-table): Add abbreviations. Support of
SYSTEM-FLAG on define-abbrev. Support was removed with last
check-in; it now handles older Emacsen without the SYSTEM-FLAG.
(sql-mode-font-lock-object-name): Add font-lock pattern for object
names.
(sql-mode-ansi-font-lock-keywords): Set as default value.
(sql-mode-oracle-font-lock-keywords): Set as default value.
Support Oracle 9i keywords.
(sql-mode-postgres-font-lock-keywords): Set as default value.
(sql-mode-linter-font-lock-keywords): Set as default value.
(sql-mode-ms-font-lock-keywords): New variable. Support Microsoft
SQLServer 2000.
(sql-mode-sybase-font-lock-keywords)
(sql-mode-interbase-font-lock-keywords)
(sql-mode-sqlite-font-lock-keywords)
(sql-mode-strong-font-lock-keywords)
(sql-mode-mysql-font-lock-keywords)
(sql-mode-db2-font-lock-keywords): New variables. Default to ANSI
keywords.
(sql-mode-font-lock-defaults): Update comment.
(sql-product-feature): New function. Returns feature associated
with a product from `sql-product-support' alist.
(sql-product-font-lock): New function. Set font-lock support
based on `sql-product'.
(sql-add-product-keywords): New function. Add font-lock rules to
product-specific keyword variables.
(sql-set-product): New function. Set `sql-product' and apply
appropriate font-lock highlighting.
(sql-highlight-product): New function. Set font-lock support
based on a product. Also set mode name to include product name.
(sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
(sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
Use `sql-set-product'.
(sql-highlight-ms-keywords)
(sql-highlight-sybase-keywords)
(sql-highlight-interbase-keywords)
(sql-highlight-strong-keywords)
(sql-highlight-mysql-keywords)
(sql-highlight-sqlite-keywords)
(sql-highlight-db2-keywords): New functions. Use
`sql-set-product'.
(sql-get-login): Prompt in the same order as the tokens.
(sql-mode): Uses `sql-product-highlight' and
`sql-product-font-lock'.
(sql-product-interactive): New function. Common portions of
product-specific interactive mode wrappers.
(sql-interactive-mode): Rewritten to use product features.
(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
(sql-db2, sql-linter): Use `sql-product-interactive'.
(sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
(sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
(sql-connect-ingres, sql-connect-postgres)
(sql-connect-interbase, sql-connect-db2, sql-connect-linter): New
functions. Format command line parameters and invoke comint on
the appropriate interpreter. Code was in the corresponding
`sql-xyz' function before.
(sql-connect-ms): New function. Support -E argument to use
operating system credentials for authentication.
| author | Alex Schroeder <alex@gnu.org> |
|---|---|
| date | Mon, 18 Aug 2003 17:29:23 +0000 |
| parents | c869cd8e35ac |
| children | 68158472dffc |
line wrap: on
line source
2003-08-11 Markus Rost <rost@math.ohio-state.edu> * cus-test.el: Remove obsolete workaround. 2003-04-22 Andrew Innes <andrewi@gnu.org> * nt/makedist.bat: Fix multi-file .zip distribution, by splitting emacs.exe before zipping, and including batch file to recreate after unpacking. * nt/stitch.bat: New file. * nt/README-ftp-server: Update wording and version number etc. Add extra instructions for installing multi-file .zip distribution. * nt/README.W32: Remove personal email address and update wording. * nt/README-UNDUMP.W32: Remove personal email address and update wording. 2003-02-10 Francesco Potort,Al(B <pot@gnu.org> * make-changelog-diff: New script, code stolen from make-announcement. * make-announcement: Use make-changelog-diff. 2003-01-20 Francesco Potort,Al(B <pot@gnu.org> * make-tarball.txt: Step-by-step instructions for making a tarball. * make-announcement: A script for creating pretest annuncements. 2003-01-17 Francesco Potort,Al(B <pot@gnu.org> * admin.el (add-release-logs): Expand the directory name before calling find(1). (add-release-logs): Use the same methods as add-log.el for writing the date and the user's name and address 2003-01-07 Miles Bader <miles@gnu.org> * quick-install-emacs: Unset LANG etc. to avoid non-standard command output from non-C locales. 2002-10-16 Markus Rost <rost@math.ohio-state.edu> * cus-test.el: Extended and reorganized. There are now 4 tests which can be run in batch mode. See the Commentary section. 2002-10-08 Markus Rost <rost@math.ohio-state.edu> * cus-test.el: New file. 2002-05-27 Miles Bader <miles@gnu.org> * quick-install-emacs (VERSION): Calculate using the same method that configure.in uses. 2002-04-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz> * emacs-pretesters: New file with information for Emacs pretesters. 2002-03-22 Paul Eggert <eggert@twinsun.com> * quick-install-emacs (PRUNED): Avoid "head -1" and "tail +2", as POSIX 1003.1-2001 disallows both usages. 2002-02-11 Andrew Innes <andrewi@gnu.org> * nt/makedist.bat: Don't include elisp/term/*.el files twice. 2002-01-24 Andrew Innes <andrewi@gnu.org> * nt/README.W32: Remove unnecessary version number and date references. * nt/README-UNDUMP.W32: Ditto. 2001-12-06 Gerd Moellmann <gerd@gnu.org> * make-emacs: Add --trace-move. 2001-10-23 Andrew Innes <andrewi@gnu.org> * nt/makedist.bat: Remove remaining obsolete reference to GETTING.GNU.SOFTWARE. 2001-10-22 Gerd Moellmann <gerd@gnu.org> * admin.el (set-version): Use `s' interactive spec for version number. 2001-10-20 Gerd Moellmann <gerd@gnu.org> * (Version 21.1 released.) 2001-10-20 Gerd Moellmann <gerd@gnu.org> * admin.el (add-release-logs): Put the log entry in lispref, too. 2001-10-20 Miles Bader <miles@gnu.org> * quick-install-emacs: Exit if we can't find some variable. (AVOID): Add .orig & .rej files. (get_config_var): Be more liberal about format of config.status sed commands. 2001-10-19 Gerd Moellmann <gerd@gnu.org> * admin.el: New file. * build-configs: Add --help option. Add support for building in arbitrary source trees. 2001-10-17 Gerd Moellmann <gerd@gnu.org> * alloc-colors.c: New file. 2001-10-13 Gerd Moellmann <gerd@gnu.org> * make-emacs: Add --boot switch for bootstrapping. Logs to EMACS_ROOT/boot.log, renames previous log file to boot.log.old. 2001-10-05 Gerd Moellmann <gerd@gnu.org> * Branch for 21.1. 2001-09-04 Andrew Innes <andrewi@gnu.org> * admin/nt/makedist.bat: Remove reference to obsolete file GETTING.GNU.SOFTWARE. Remove outdated comments. Explain about version of tar used. ;; Local Variables: ;; coding: iso-2022-7bit-unix ;; End: Copyright (C) 2001 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.
