Remove synchronous database methods

This required doing additional caching at startup (e.g., item types and fields)
so that various methods can remain synchronous.

This lets us switch back to using the current Sqlite.jsm. Previously we were
bundling the Fx24 version, which avoided freezes with locking_mode=EXCLUSIVE
with both sync and async queries.

Known broken things:

  - Autocomplete
  - Database backup
  - UDFs (e.g., REGEXP function used in Zotero.DB.getNextName())
This commit is contained in:
Dan Stillman 2014-08-09 18:01:28 -04:00
parent 86bc20c4e9
commit f5896dbb8d
29 changed files with 733 additions and 2966 deletions

View file

@ -109,6 +109,7 @@ const xpcomFilesLocal = [
'syncedSettings',
'timeline',
'uri',
'users',
'translation/translate_item',
'translation/translators',
'server_connector'