Ryan VanderMeulen
33f08ea17c
Merge autoland to m-c. a=merge
2017-08-24 20:20:08 -04:00
Marco Bonardo
18b37ff3ae
Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth
...
MozReview-Commit-ID: V3ZjLEjqmT
2017-07-31 22:27:23 +02:00
Jan de Mooij
5421d2aa90
Bug 1392554 - Port (Async)StatementParams to WebIDL bindings. r=asuth,qdot
2017-08-24 10:52:52 +02:00
Jan de Mooij
04c221cee8
Bug 1390489 - Port StatementRow to WebIDL bindings. r=asuth,qdot
2017-08-22 09:25:37 +02:00
Florian Quèze
c0468168f5
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
ecd98ba423
Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Florian Quèze
d0406d270c
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Nathan Froyd
919a4253d3
Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian
...
We did an automated conversion for many of these in another bug, but
these instances were either missed or have been added since then.
2017-06-21 12:59:28 -04:00
Nathan Froyd
8335babfc9
Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian
2017-06-21 12:59:28 -04:00
Marco Bonardo
0dfad3037f
Bug 1355561 - Add a new API to spinningly close the database when strictly needed, and ensure Close() does what it's named after. r=asuth
...
Introduce a new SpinningSynchronousClose API that allows to synchronously close
a connection that executed asynchronous statements, by spinning the events loop.
This is expected to be used rarely in particular cases like database corruption.
It is currently [noscript] since the only consumer is cpp, in the future we can
evaluate removing that, if we find more uses for it.
MozReview-Commit-ID: 7SPqutoF9jJ
2017-04-12 17:44:39 +02:00
Marco Bonardo
01c9699781
Bug 1371945 - Avoid a possible thread-safety problem with unfinalized statements. r=asuth
...
Avoids a thread-safety race condition on shutdown where we could try to finalize a statement twice.
Allows the async thread to be referenced until ShutdownAsyncThread, so async finalizers can make use of it.
Removes the no more useful mAsyncExecutionThreadIsAlive.
Nullifies the sqlite3_mutex pointer when the connection is closed, since it would be a dangling pointer.
Use a ScopeExit to ensure the connection and the mutex pointers are always nullified on failure.
Makes asyncClose bailout early if a Close method was already invoked before.
Makes AsyncInitDatabase not use AsyncClose to just shutdown the async thread.
Fixes various unfinalized statements in consumers code.
Makes mConnectionClosed better follow mDBConn status.
Replaces some mutex locking isClosed() calls with lockless isConnectionReadyOnThisThread.
MozReview-Commit-ID: 6sftFehsQTt
2017-06-16 17:43:23 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Zibi Braniecki
b6f0455ba8
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 5GEnL7Kihpj
2017-02-07 12:52:03 -08:00
Wes Kocher
49a736e0b6
Backed out 2 changesets (bug 1335983) for build bustage a=backout
...
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)
MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00
Zibi Braniecki
347f170849
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: bJVrVj2dAS
2017-02-06 14:57:09 -08:00
Mark Banner
55868dde7c
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Mark Banner
793715cf78
Bug 1328851 - Enable eslint rule no-undef for storage/. r=mak
...
MozReview-Commit-ID: AemgF8H2ySH
2017-01-05 11:54:49 +00:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
dc46a8fba3
Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
...
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Dave Townsend
4e295aa48d
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Sebastian Hengst
d2d5bc2c29
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: storage. r=RyanVM
...
MozReview-Commit-ID: D3QcehYvTpx
2016-11-05 11:29:21 +01:00
Marco Bonardo
eb94cadde0
Bug 1313309 - Remove getColumnDecltype and compile with SQLITE_OMIT_DECLTYPE. r=asuth
...
MozReview-Commit-ID: 2QR8P7ylg9m
2016-11-03 21:04:00 +01:00
Jared Wein
5edec1c0d9
Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
...
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Marco Bonardo
76bcdc91b6
Bug 1310152 - AsyncClone may try to reuse a freed Critical Section in Sqlite. r=asuth
...
MozReview-Commit-ID: LW0esWlNfQQ
2016-11-03 15:31:31 +01:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Gijs Kruitbosch
0ba06a31e9
Bug 1285041 - ignore locking when trying to read chrome DB file, r=mak
...
MozReview-Commit-ID: 89f0YCxxgC8
2016-07-18 16:46:45 +01:00
Marco Bonardo
917723f111
Bug 1283083 - Cloning a connection should re-attach databases to the clone. r=asuth
...
MozReview-Commit-ID: CSZqvJNWthB
2016-06-29 17:33:15 +02:00
Jeffrey Tran
6650dc8806
Bug 1230685 - Replace function declarations with add_task statements in test_storage_value_array.js and test_unicode.js. r=mak
2016-02-10 15:30:34 +01:00
Jeffrey Tran
190b59a9e0
Bug 1230683 - Replace try/catch with Assert.throws in test_storage_connection.js. r=mak
2016-02-10 15:30:28 +01:00
Dave Townsend
a2ba043d69
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Jeffrey Tran
4be488e1e6
Bug 555087 - Add check for exception when passing undefined parameter. r=adw
2016-01-20 16:37:00 +01:00
Dave Townsend
740891e390
Bug 1239354: Replace old-style generator function with star functions. r=asuth
2016-01-13 08:58:15 -08:00
Andrew Sutherland
c630bf6090
Bug 1237601 - Perform storage close synchronously if async thread cannot be started. r=bkelly
...
Also factors asyncClose tests out into their own file.
2016-01-07 11:18:00 -05:00
Andrew Sutherland
1e071fe375
Bug 1237601 - Centralize storage xpcshell promise helpers (support patch). r=bkelly
2016-01-12 17:27:33 -05:00
Marco Bonardo
219e4df1f6
Bug 1230549 - Storage should pass more eslint rules. r=yoric
2015-12-04 17:00:03 +01:00
Marco Bonardo
d05d2011dd
Bug 1230549 - Make Storage pass basic eslint. r=yoric
2015-12-04 15:52:43 +01:00
Tooru Fujisawa
4d8e3536ac
Bug 1217982 - Remove for-each from storage/. r=mak
2015-10-19 03:53:14 +09:00
Tooru Fujisawa
15abcd4c5b
Bug 1207499 - Part 9: Remove use of expression closure from storage/. r=mak
2015-09-23 18:42:19 +09:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Birunthan Mohanathas
8c461f5abd
Bug 1164717 - Flatten storage/src/ directory. r=mak
2015-05-19 10:47:33 -07:00