elpasync pushed a change to branch elpa/emacsql. at 6b2e65bdf7 Use new version string format for unreleased revisions
This branch includes the following new commits: new c7597ab813 Initial commit. new 3b24b5d17c Drop closed-p field. new c92c56ce55 Add a close buffer sentinel. new eb10ddcdba Error-free reaping since it's automatic. new 08ea1e6636 Wrap with single rather than double quotes. new 161e3a41b1 Add some tests. new 1f57b77c4f Add command logging. new 97e9764343 Change the API of emacsql-insert. new a6dbb52a3c Add flatten option. new 2053a15b21 Add Emacs requirement note. new 961c689269 Rename information to constraints. new ccfafd7703 Always quote non-number values. new 1a84c983cf No named results by default. new 76a430032e Fix up old test. new c7a8ef0908 Rename every emacsql argument to conn. new 1074113f03 Add readability note. new d083cbb70e Add in-memory database support. new b3110c9fa9 Rename .sqlite to .db. new 9091fe8df5 Rename sqlite-program-name into namespace. new 9c3293c57e Add a docstring to emacsql struct. new c5845884f4 Rename type to column. new 727f3c8566 Make nil correspond to NULL. new 7caa63c11e Allow any sequence for table spec. new 178a31d5ca Lock in the coding system. new f8d9511d1d Tweak README limitations paragraph. new 4f6b524b9f Rename spec to schema. new 85076dfe0f Flesh out example more. new c9854331c0 Add (un)license header. new 2f0a9457a4 Drop non-idiomatic :else. new 9dcfebfba7 Factor out schema->string code. new 208885e264 Add testing to schema handling. new db0159f138 Update README. new b447994514 Change table type recommendation. new 39aa16906a Remove redundant wait. new 896bb7ce52 Start adding SQL expanders. new 9272d13ace Add some tests for the expanders. new 3511a0df1d Add a top-level query function, emacsql. new 76bf0c34dc Add rudimentary :where expander. new 7e18a43da1 Add a template example. new afe64ca63a Fix emacsql-add-expander example. new 8b2cf8c208 Fix up :where. new 36c6aae4b5 Drop raw select. new abe43b3381 Add :where test. new 4a89bfaf44 Use a macro to greatly simplify expanders. new 72145a1627 Allow for multi-arity keyword expanders. new 77ae713186 Create table expander. new f179ba928a Add :drop-table expander. new 031ec59f18 Add combine function to with-vars macro. new 963f221b82 Add expr expansion function. new 1f6c06bda9 Use expr expansion in :where expander. new 4fa57ba758 Fully drop named parsing. new 7c572d688d Fix % operator situation. new 50ae54d159 Use expressions in select columns. new f512300aba Fix a few things in emacsql-expr. new b3aea1e6af Oops, fix >= back. new f9820deed7 Add unary operators. new c4396ec5e6 Fix a bunch of warnings. new e08094c78f More precise parsing. new a13eba5f05 Use the timeout argument in emacsql-wait. new 109664b88b Memoize emacsql-expand. new e9fbc4a913 Fill out a Makefile. new f54142f1eb Argument list checking in emacsql-format. new 829298d5a7 Add dependency listing. new e859204451 Flesh out more README. new 35676bb560 Fix README examples. new b9599f1f41 Spelling error. new 86687b6ba3 Flesh out more README. new f410b5d663 Fix spelling error. new f9c562b0a4 Add SQLite link. new a306de980a Add :delete keyword. new 43ecb5a252 Tweak README names. new afa9aa5194 Add :into expander. new 8f59fe6e80 Add a vector escape. new 458b8a6acd Add :insert and :values expanders. new e900f99091 Update examples. new d440b44778 Add escape vector test. new eb3283990e Drop emacsql-create. new 847f3bd87f Add new keywords to listing. new 58e31aa3a9 Add :update and :set expanders. new d7a05db54e Add :replace expander. new 84499878d0 Add :union, :union-all, :difference, and :except. new c9aab20d47 Add in operator (special case operator). new a9b9d6bfc8 Fix typo in README. new 0ba12b89d5 Drop "work in progress." new cda366379a Add Windows note. new 364bf466ea Linkify the issue in the README. new dbf0598731 Add "-interactive" argument (fixes #1). new 231ec586ca Drop forced process coding system. new dd3f153406 Drop old with-errors macro. new 1db49d7f4c Add Windows notice again. new 66df2afbf1 Simplify start-process call. new 1fb97f7d4a Drop unusable macro emacsql-with-connection. new 29f65b3b8e Update Windows statement in the README. new 25f9817064 Add work-in-progress note back. new e956d91f99 Add -identifier to emacsql-escape. new 72c1954517 Block on connection until the output has flushed. new a1ce9f16f2 Add emacsql-with-connection back in. new da9797e948 Add a system-level test. new 7cfed08ab8 Add docstring to emacsql--log. new beb0e00b9e Rename emacsql--vars-collect. new 8aade12994 Add a unit test for vector update. new eba26bead6 Add emacsql-compile function for debugging. new 1e9857ccc4 Allow variables inside vectors. new bd6e02db55 Be much more strict with identifiers. new 8a66563af6 Combine :insert and :into. new ee2877dab0 Clearer error message from escape identifier. new 2faed63b20 Prime emacsql-expand for substatements. new 1ad58cd68d Allow substatement in IN operator. new d04ef64ce0 Add IF NOT EXISTS and TEMPORARY to CREATE TABLE. new 652847dbf5 Allow memoization cache to be nil (for development). new 682c1816fb Add optional font-locking. new e9b77b4774 Add a test for CREATE TABLE. new ff4c59a2a7 Fix cl-lib mistake. new 3eb06cdd73 Add GROUP BY expander. new 58641b9827 Fill out keywords in README. new f794d4d38f Allow for selected columns in :insert-into. new add06c47b9 Bring back :into for :replace (oops!). new fc941d7c75 Capture a common identifier vector pattern. new 03295cba37 Add ORDER BY expanders. new d1c0904564 Fix missing quotes. new cefe1ec014 Add emacsql-sqlite3-unavailable-p. new 4718ff4e89 Simplify all the expanders with new local functions. new b2d83c6477 Fix up ORDER BY, drop :ascending-by. new f52af86b05 Break apart and organize compilation tests. new a09911a205 Add LIMIT and OFFSET expanders. new 0bff8ccc34 Fix up README. new 54247e4b5e Add another insertion unit test. new 0f0840ffbf Add :default column constraint. new 8945af0dd8 Add :check and allow schemas to have variables. new bbe3031a50 Add table constraints. new 53b2e98515 Fill out README for new schema table constraints. new aa9283ca0a Allow sub-selects with :from. new 364c3cacb6 More advanced :from sources, again. new 4206b17f39 Add support for AS with CREATE TABLE. new 99a8069389 Add support for foreign keys. new a362a97c98 Add README section on foreign keys. new 6c32f02139 Add emacsql-thread macro. new 54c180017e Add :pragma and note in README. new 5e2ab842f7 Add foreign key test. new e6ab07e16b Switch to a friendlier name. new 223db2d397 Add quote operator. new 47d9476a02 Add tests for quote operator. new 8951084b40 Add variable escaping. new c236aa8437 Remove extra space. new 42c2fd7569 Tweak limitation wording. new fe0c7004fc Add :begin, :commit, and :rollback. new 19a65f390e Add ignored features section to README. new bec6af6940 Add VACUUM. new 75ea77c9a0 Add an "as" operator, greatly simplifying :from. new cd5e856ea6 Add :autoincrement. new 530b0ad98c Allow arbitrary sub-statements. new 213bb71b7a Add :having expander. new 8123020ca7 Make and and or operators variadic. new 3012f5b725 Fix typo. new f31120edb6 Fix up documentation headers. new adfbc7ed83 Add emacsql-show-last-sql. new 578a71d2d8 Re-order some definitions to group them. new d5cfaee783 Be more precise about error messages. new 60d92d3051 Change the output mode to list. new 03aebdecd1 Rename :log option to :debug. new bb221f6134 Drop .print command flushing. new 2550196816 Drop SQLite version requirements. new 1116a0873e Turn everything into generic functions. new 9a1b4209ba Add PostgreSQL front-end. new d2f1bcef5d Rename add-connection to register. new 5f4c2ed5a7 Add emacsql-psql-unavailable-p. new 1d0ef4011c Make emacsql-connection abstract. new 4f76b94f7c Set psql to print nil for NULL. new 64c3a03d62 Flesh out some more README. new 8fa7c00978 Add sentinel cleanup to psql. new 6d17256e1b Add a mix-in class to reduce code duplication. new 9f6c10eca0 Move error checking out to helper mix-in. new 72b34f6522 Add some more autoloading. new 7434263d82 Oops, drop leftover function call. new 301e2ff4b6 Drop "simple" from helper method names. new 935cca89a9 Add updated information about Windows. new ca62adc4b2 Add debug argument to emacsql-psql. new b2f2dd37cf Allow connection to specify their own types. new afef528d81 Fix memoization to include type map. new 3229cd41af Change the requirements for front-end implementations. new 749becb017 Disable notices and warnings in psql. new 4aa889882d Fix slot allocation on emacsql-connection. new 769abe20fa Don't rely on a closure in cleanup hook. new 5962268f83 Split off reaper code. new e9efb0803e Oops, include the reap source. new 13cfbeeaba Tidy up the constructors. new e42d939235 In SQLite, block for up to 30 seconds on db lock. new d21cc86540 Add lexical binding to tests. new ef976b8649 Add package target for Makefile. new 3dc6971829 Add ALTER TABLE stuff. new 672963ae53 Add DISTINCT option to :select. new a742687cfb Add funcall operator. new 568e663032 Fold dashes into underscores in identifiers. new c85ab1f7b4 Enable foreign keys in SQLite by default. new f51bb4bfaf Allow foreign key specifications within columns. new c4abd187a3 Remove junk file. new ed86b098ce Add prefix arg to emacsql-show-last-sql. new 3ba9109d45 Start using real version numbers. new 3dfd0d4b8c Fix missing argument typo. new 431a3b325f Toss "reap" and switch to new finalize with Cask. new 7341144e49 Fix ordering bug in emacsql--var-vars. new d8d4bf4b98 Add emacsql-with-transaction macro. new dc178532e5 Add emacsql-with-bind. new 75c0c4aeb7 Tweak emacsql-with-bind macro. new cc92c154ee Disallow nil as an identifier. new 3f38b357c3 Detect empty SQL vectors (better error messages). new de0bde9a02 Use Cask package-file directive instead. new ad24b1c508 Add JOIN syntax. new 027c5df94e Organize all the keywords in the README. new fe2eef212c Fix header typo. new 89654ad76b Add identifier note. new 1ebbc22411 Disable undo in process buffers. new bb3dbfc891 Set a global query timeout. new be95788334 Use global timeout in tests. new 543189295d Drop the pointless autoloads. new a7728339ba Switch to custom middleware. new cf16cdb2f8 Add a special characters test. new 3127283cd1 Clean up middleware a bit. new 394bb062aa Add a small library for determining binary to use. new 5bef799b6b Make some tweaks to accommodate Windows. new dc2afbbc1f Adjust the Emacsql wire protocol. new 801bc6239f Swap the tuple order. new 6318472b20 Link the Makefiles together. new f030b9952d Fix up psql-connection. new 2db4a84598 Allow os tuples to be specified as an env var. new 847196cafa Set tty to raw in psql. new 0cb9e47d24 Test all available backends. new ba2fac7701 Update the README. new 6ad267f93b Change :value to :scalar. new 79fb8cb223 Heavy compiler rework. new af2cdddca1 Squash a bunch of bugs. new ab53199d07 Fix escaping issue in middleware. new 1146f2e26a Flesh out the changes in the README. new d3fa5b908f Add funcall operator. new 730e4d882a Fix up the README. new b29ea275d4 Tweak limitations notes. new ed77eac846 Add string prepared statements. new 8fa1ca451c Fix schema mistake in unit test. new 45ac14390a Fix up emacsql.el header to match new syntax. new 4b45472ffa Don't copy the binary every time. new c89ccf82df Make a reconnect generic method. new 3e5ce21b0d Tweak the new implementation notes. new 9e6ea00f01 Add note about PostgreSQL. new a459708684 Move tests into their own directory. new 159195690d Include bin/ in the package. new f98ee5e7cd Use no-undo buffers. new 4db068920d Provide MySQL front-end. new 7c774ffe12 Improve MySQL error parsing. new dce6736e04 Oops, add new MySQL module to the Makefile. new 4b58a6717e Don't use temporary tables in foreign key test. new fcba876d0e Solve the tty (pty) issue in MySQL. new 462d1f1b31 Fix stupid backslash escape mode in MySQL. new 89e42aed13 Add docstring to emacsql-mysql. new 5c423307a8 Fix README typo. new 1b5891298a Officially add MySQL to unit testing. new fb0e2d5423 Fix typecase typo. new c5e1ccef73 Flesh out the rest of mysql-connection's constructor. new b0f0d3085d Get OS tuple from Emacs. new be9c46c274 Change the way tuples are computed. new a6e859f1b5 Normalize darwin OS. new ad6c09681e Oops, print the tuple. new de9b3633d2 Oops do clean with distclean. new 933e6f109a Clean up for easier cross-compilation. new 127bb98df2 Set coding system to utf-8-auto for sqlite. new ff59ca9336 Clear out binaries in distclean, too. new 00bb81ff2b Fix Makefile typo. new 0f5f560f8b Fix README example typo. new 46850a75d0 Update the README. new 203cff9007 Rename the project to EmacSQL. new 7963261ef3 Bump to version 1.0.0. new 4332bd67ec Flesh out the main header a bit more. new 6f6533ab70 Add Cygwin note. new 4e9297233d Don't rely on C99 mode. new a6155464c7 Try to build the package locally if possible. new 45f43323ad Check the compiler error code. new 38bd19ed6f Oops, use the right equality. new b60d9e05e2 Flesh out some docstrings. new 50e47ee01a Remove shell quote. new fb2270509f Adjust make clean. new c4036cbdc8 Move test print statement. new 3e16afce8b Escape backslashes as well. new 7e078e2b32 Change OS-detection in Makefile. new c1ede49bbe Update headers. new dcb9a903c7 Put emacsql-thread inside a transaction. new 1bf92bab9e Add a special case for unary not. new 8c46fb2c1e Drop argument count check since it's wrong. new 39ce3b9736 Smarter identifier identification in expressions. new 51224aab7a Add unit test for last change. new da2b137771 Fix the parameter naming in emacsql-show-last-sql. new 810243e823 Remember SQLite fetch preference in customization. new cfde8bea56 Update README for new customization variable. new 20391923d1 Add option to disable local builds. new c8de0ff1fd Adjust the EmacSQL protocol. new b375cd7759 Bump version number due to protocol change. new 6c7576e497 Rename condition emacsql-lock to emacsql-locked. new 9f0a19280c Enhance emacsql-with-transaction to retry. new b1da2ba9d2 Change compiler flag order (work around old gcc bug). new 944de63e9d Add functions to fix vector indentation. new 4a58806d64 Improve new indentation a little bit. new 2f606fdd2d Fix with-transaction macro to return results. new 4a570e3016 Predict new location when compiling binary. new e061847083 Improve emacsql-fix-vector-indentation. new 3e6a24e22a Escape identifiers that collide with keywords. new 76acd4f8a1 Add a test for reserved word escaping. new ce05c8b2e2 Fix MySQL quoting. new 57fa0e1d3e Use just BEGIN for transactions. new 57c40202e8 Set correct default transaction type in PostgreSQL. new 3c57f9a986 Adjust MySQL isolation level. new 7b505b6e94 Update back-end documentation. new 9cf4e267cc Bump up to version 1.0.2. new a0587f1b5f Fix docstring on emacsql-enable-debugging. new 649fc6b0b4 Add emacsql-pg using pg.el as a back-end. new c68f11b74e Register emacsql-pg for unit testing. new 965039cec2 Adjust header lines for each back-end. new c512f4287c Add back-end note to README. new 01f3d3eb2b Fallback to buffer-file-name when load-file-name is nil new ef10c33355 Only create the executable when compiling emacsql-sqlite new 4a535e2cca Fix typo in emacsql-buffer's doc-string new fd73d37df8 Ignore the generated executable new 048e81b759 Add file tests/.nosearch new ef4bcec524 Conform to elisp header conventions new c1ea25c872 Drop Windows issue from README (fixed in 24.4). new a5a0c2f838 Fix typo new a270218fd9 Ignore generated var/ directory new f00f724495 Enforce use of spaces for indentation new e6ce8ded45 Require url when running emacsql-sqlite-download new 2bc599d856 Add separate package headers for each backend. new 02acd07072 Ensure executable variable is defined at compile time. new 017cd8460d Use own data root in emacsql-sqlite. new 016f2bf05a Give up compiling at compile time. new 641338533c Just build SQLite on first connection. new 03d4788708 Bump to version 2.0.0 (fix #15). new 56a2882936 Update README for Melpa changes. new 74bd11bc09 Fix up package description headers. new a60deae960 Add NOTNULL and ISNULL special operators (#16). new e498dd1dea Drop emacsql-escape-format's KIND argument. new 0a2b3f6496 Follow rename of emacsql-with-vars in doc-strings. new 2ffcc95c67 Fix a typo in the doc-string of emacsql-with-params. new fbda94e6b5 Improve some doc-strings. new c634a1b6e1 Use initialize-instance with emacsql-sqlite (fixes #17). new 3f3c36a403 Expand identifier vectors when passed as parameters (#7). new 176cf10063 Bump to 2.0.1. new 3042597a72 Add note about lack of Windows support. new 8f3d0d4b81 Use font-lock-flush and font-lock-ensure if available new 3176aeee61 Use elisp--preceding-sexp if available new 95a00de3f1 Save match-data around call to accept-process-output new c93f52159f Bump to version 2.0.2. new 327b09b4b9 Add support for raw strings and raw parameters (#26, #28). new 5df2891557 Use cl-generic package new e91bac3a20 Add cl-generic require to emacsql.el (#32). new b65c5b03d5 Fix up Cask file. new 1b37570bf5 Fix up the Makefile. new e8c090e11f Improve Makefile portability and dump Cask new e3bc9b105f Finish removing Cask, including updating the README new 5ad4d2da9a fix ldlibs for berkeley-unix systems new 83a278aa6b Remove trailing &key in method definition new 1de10e8ad4 Fix warning in emacsql-sqlite initialize-instance (#38) new e597696682 Fix some indentation (whitespace cleanup) new 5da614bc9b Drop finalizer use and explicitely depend on Emacs 25 new ea613c5191 Push other sub-packages up to Emacs 25 as well new 616dde3752 An identifier named * means select all columns (#19) new 76489e0a10 Tweak Makefile documentation new 62d3915737 Update to SQLite 3.22.0 and remove download system (#40) new 75ac0448a5 Add support for DISTINCT in aggregate functions (#41) new a96b2587c4 Update README to mention FTS5 (#40) new 3b70e8f5dd Add support for NUL characters in strings (fixes #42) new 6f1e375a2e Better escaping of NUL and control characters (#42) new 8c5f095458 Bump to version 3.0.0 (#20) new f8c3d9fce2 Silence Emacs 25's byte-compiler new 8e34660ba1 Allow `gcc` as a separate option for C compilation. new 60b99760c5 Extend the compiler search to a configurable list (#45) new 214b46f547 Update documentation for building SQLite backend (#46) new 59147c4cdf Update README paragraph about automatic downloads (#46) new a164ecd9d3 Implement operator precedence handling new 5f30787890 Add precedence handling for "between" syntax new 49348329df Document op. precedence handling, clean up format string expansion new 5ebd12b6ff Add some support for the ESCAPE operator new e7b932a5c9 Handle read-only emacsql install diretory new d5c37d905d Put emacs-version in path for out-of-package binary new 488e7ebbb5 Change defvar to defconst for emacsql-version (fix #53) new a118b6c95a Don't use -lm flag on Windows (#55) new 6d8cd93662 README: Remove a duplicate word new 9dca599616 Fix whitespace new c82a0e6b4d Add public domain statement to remaining files new 374726060d Fix buffer struct allocation size (fixes #91) new 936ac5bc86 Define emacsql using cl-defgeneric new 373975cbcc Remove types from cl-defgeneric arguments new a29b9e7ea5 No longer needlessly require url and url-http new 739c24cab6 Add kludge to work around `cl-defmethod' bug new 2e9e2d6ba1 Fix SQL truncated when print-level or print-length are changed new f5da68e5f9 Fix quoting in docstring new d03c1a606f Include optional .config.mk in Makefile new 6622516e15 Update library headers new 3d556608ef emacsql-mysql: Abort if mysql cannot be found new 2fa32d2ab7 Create new log buffer if existing one isn't live anymore new 6728a8649a No longer try to clear a buffer that isn't live anymore new 1ce92a6f4a No longer require emacsql-psql in emacsql-pg new 97ccd7d9e6 Update library commentaries of package libraries new e80281487b Bump back-ends' dependency on emacsql new 6d999ba39d Update library headers new 20e390ea06 Add FAQ to README.md new 9e48d12e42 Fix typos in README.md new 18b40213fd No longer use obsolete generalized variable `point' new 30912aa69e Include ../.config.mk in sqlite/Makefile new b6a0336d62 make: Compile SQLite binary before Elisp new 08eb5aed26 Update to SQLite 3.39.3 new b9d848fa9c make: Don't warn about implicit fallthroughs new b405d99aed make: Don't use LDFLAGS to set Emacs load-path new d3d76ea72a make: Use essentially same Makefile as for other packages I maintain new b4d5ef41fe make: Don't require pg.el to be available to build and test new a4d01edd71 Adjust emacsql-pg to new pg version from original author new 5818000c7d make: Update pg repository url new 9ee397b2be Whitespace cosmetics new 50b139443b make: Fix compiling and cleaning tests new 5c4aa1030b Do not warn about missing pg functions new 0da3f06e89 Fix docstring typo new 20cdad6fe6 Include sqlite error code in error data new b907279bab Fix docstring of emacsql-sqlite-condition-alist new 1becb00945 Define a few constants as such new 4fe4413994 Re-indent some data so that machine and human can agree new 40c41d0d97 Release version 3.1.0 new bfbd0c3a73 Resume development new c1a44076c0 Release version 3.1.1 new ec4f3d091b Resume development new 67ca8124bc make: Suppress warning about obsolete autoload package new e318a6c8f6 Add new SQLite back-ends new 6b2e65bdf7 Use new version string format for unreleased revisions