aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/sqlite-mode.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Check for support in sqlite-mode-open-fileLars Ingebrigtsen2021-12-121-0/+2
| | | | | * lisp/sqlite-mode.el (sqlite-mode-open-file): Error out earlier when we don't have sqlite support.
* Fix some compilation warnings in sqlite-less buildsdick r. chiang2021-12-121-0/+8
| | | | | | * test/src/sqlite-tests.el: * lisp/sqlite-mode.el: Avoid compilation warnings in builds without libsqlite (bug#52440).
* Tweak erroring in sqlite-mode-deleteLars Ingebrigtsen2021-12-121-1/+1
| | | | | * lisp/sqlite-mode.el (sqlite-mode-delete): Use user-error instead of error for user-level stuff.
* Make sqlite-mode-list-tables work on older sqlite versionsLars Ingebrigtsen2021-12-121-1/+1
| | | | | | | * lisp/sqlite-mode.el (sqlite-mode-list-tables): Use sqlite_master instead of sqlite_schema, since the former name is the historical name and is available in all sqlite3 versions: https://sqlite.org/schematab.html
* Improve documentation of sqlite3 supportEli Zaretskii2021-12-111-1/+1
| | | | | | | | | | * lisp/sqlite-mode.el (sqlite-mode-list-data): * configure.ac (HAVE_SQLITE3): Fix typos. * doc/lispref/text.texi (Database): Improve and clarify wording, add index entries, mention all the function arguments. * etc/NEWS: Minor wording changes of the sqlite entries.
* Add confirmation to sqlite-mode-deleteLars Ingebrigtsen2021-12-111-0/+2
| | | | * lisp/sqlite-mode.el (sqlite-mode-delete): Add confirmation.
* Don't leave open cursors when listing sqlite dataLars Ingebrigtsen2021-12-111-32/+28
| | | | | | | * lisp/sqlite-mode.el (sqlite-mode-list-data) (sqlite--mode--list-data): Don't leave open cursor (because they block other processes from deleting stuff). (sqlite-mode-delete): Adjust to new layout.
* Add FIXME commentLars Ingebrigtsen2021-12-111-1/+4
| | | | | | * lisp/sqlite-mode.el (sqlite-mode-delete): New command. (sqlite--mode--list-data, sqlite-mode-list-data): Adjust to new command.
* Add an sqlite-mode-delete commandLars Ingebrigtsen2021-12-111-15/+54
| | | | | | * lisp/sqlite-mode.el (sqlite-mode-delete): New command. (sqlite--mode--list-data, sqlite-mode-list-data): Adjust to new command.
* Improve sqlite-mode--tablify tablesLars Ingebrigtsen2021-12-111-6/+9
| | | | | * lisp/sqlite-mode.el (sqlite-mode--tablify): Tweak column widths and sanitize newlines.
* Fix sqlite-mode.el build problemsLars Ingebrigtsen2021-12-111-1/+3
| | | | | * lisp/sqlite-mode.el (sqlite-mode-list-tables): Fix function rename usage.
* Add a new mode for examining sqlite filesLars Ingebrigtsen2021-12-111-0/+161
* lisp/sqlite-mode.el: New file.