aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/sqlite-tests.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Silence byte-compiler warnings from absent optional featuresMattias EngdegÄrd2021-12-201-0/+1
| | | | | | | | * test/src/inotify-tests.el (inotify-rm-watch): * test/src/lcms-tests.el (lcms-xyz->jch): * test/src/sqlite-tests.el (sqlite-open): Add declarations to prevent byte-compilation warnings when features are absent.
* Skip extension tests on hosts without the functionLars Ingebrigtsen2021-12-161-0/+1
|
* Only allow SQLite extensions from an allowlistLars Ingebrigtsen2021-12-141-0/+32
| | | | | * src/sqlite.c (Fsqlite_load_extension): Only allow extensions from an allowlist.
* Fix some compilation warnings in sqlite-less buildsdick r. chiang2021-12-121-0/+10
| | | | | | * test/src/sqlite-tests.el: * lisp/sqlite-mode.el: Avoid compilation warnings in builds without libsqlite (bug#52440).
* Fix Fsqlite_finalize book-keepingLars Ingebrigtsen2021-12-111-1/+3
| | | | * src/sqlite.c (Fsqlite_finalize): Mark the object as dead.
* Fix some sqlite doc string typosLars Ingebrigtsen2021-12-111-2/+0
| | | | | * src/sqlite.c (Fsqlite_load_extension, Fsqlite_more_p): Fix typos in doc strings.
* Add sqlite3 support to EmacsLars Ingebrigtsen2021-12-111-0/+175
* configure.ac: Add check for the sqlite library. * doc/lispref/text.texi (Database): Document it. * lisp/sqlite.el: New file. * lisp/term/w32-win.el (dynamic-library-alist): Add a mapping. * src/Makefile.in (SQLITE3_LIBS): Add the libraries. * src/alloc.c (union emacs_align_type): Add a Lisp_Sqlite struct. * src/data.c (Ftype_of): Add sqlite. * src/emacs.c (main): Load the syms. * src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add PVEC_SQLITE. (GCALIGNED_STRUCT): New struct to keep data for sqlite database objects and statement objects. (SQLITEP, SQLITE, CHECK_SQLITE, XSQLITE): New macros for accessing the objects. * src/pdumper.c (dump_vectorlike): Update hash. (dump_vectorlike): Don't dump it. * src/print.c (print_vectorlike): Add a printer for the sqlite object. * src/sqlite.c: New file. * test/src/sqlite-tests.el: Add tests.