Commit Graph

60 Commits

Author SHA1 Message Date
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Joshua Mengel, Bailey Hudson
41689ccfd6 Bug 1423732 - Make Sqlite.jsm return an integer for getSchemaVersion. r=mak
MozReview-Commit-ID: KLJ7W3ZnmJU
2018-01-23 23:16:32 -08:00
Zack Noyes, William Loughton
e6cc7fc296 Bug 1407778 - Added status Error property on Sqlite.openConnection. r=mak 2018-01-23 23:11:54 -08:00
Kit Cambridge
35ed6e0cf8 Bug 1431149 - Add an optional schema name argument to OpenedConnection#{get, set}SchemaVersion. r=mak
MozReview-Commit-ID: 8Uk1Vuqc1lc
2018-01-17 09:13:47 -08:00
Dorel Luca
af06add272 Backed out changeset 410a941bdce8 (bug 1431149) for devtools failure on toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete.html 2018-01-18 18:50:04 +02:00
Kit Cambridge
43ad309d41 Bug 1431149 - Add an optional schema name argument to OpenedConnection#{get, set}SchemaVersion. r=mak
MozReview-Commit-ID: 8Uk1Vuqc1lc
2018-01-17 09:13:47 -08:00
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01: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
Masatoshi Kimura
76347b3b52 Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE
2017-08-19 22:10:44 +09:00
Andrew McCreight
2268934405 Bug 1371844 - Add explicit API to set Debugging.failTestsOnAutoClose in Sqlite.jsm. r=mak
With JSM global sharing, the Debugging object is no longer a property
directly on the global of the Sqllite object. Instead of going through
this back door, add a setter method to Sqllite and use that.

MozReview-Commit-ID: HVCZ4Zb42q7
2017-05-25 15:40:55 -07:00
Florian Quèze
15feaa278a Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Marco Bonardo
ffd0d0c669 Bug 1336944 - Change Sqlite.jsm to bind TypedArrays as Blobs, not common Arrays. r=Gijs
Currently an Array is bound as a blob. Unfortunately this occupies the best javascript
code path to bind an array to an IN clause in the future.
We would like Arrays to bind to IN lists, while still keeping a nice interface to bind blobs.
This patch makes Uint8Array bind to blob, while Array is left available for future use.

MozReview-Commit-ID: 7xzumBs8JTe
2017-02-06 19:30:19 +01:00
Mark Banner
a54b21ce85 Bug 1335813 - Enable eslint no-undef for toolkit, apart from components/ and content/, and fix various issues. r=jaws
MozReview-Commit-ID: LpXm7TbwvDb
2017-01-31 13:17:03 +00:00
Ilya Gordeev
26d70ab8fb Bug 1247602 - Allow to bind blobs in Sqlite.jsm. r=mak
MozReview-Commit-ID: 2yPO6kidqfn
2016-02-19 14:24:54 +05: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
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Kashyap Gajera
d2e13ffd80 Bug 1290701 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in toolkit/. r=dtownsend 2016-08-03 11:53:10 +05:30
Dave Townsend
7b18d60eed Bug 1229519: Fix toolkit/modules to pass eslint checks. r=mak 2015-12-03 09:58:56 -08:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Kalpesh Krishna
3154c6dd3c Bug 1188760 - Added a regex check to execute and executeCached of Sqlite.jsm. r=mak 2015-09-23 09:01:00 +02:00
Jacob Clark
046491ab20 Bug 1111284 - Improve error messages of Sqlite.jsm by including specific error message. r=Yoric 2014-12-14 21:26:31 +00:00
Marco Bonardo
c0f6b0c8d8 Bug 1090961 - Enqueue Sqlite.jsm transactions. r=Yoric 2014-12-11 15:50:51 +01:00
Alexander J. Vincent
75797f5ec7 Bug 1098965 - test_close_database_on_gc should use one Promise per database connection. r=Yoric 2014-11-21 06:13:00 +01:00
Blair McBride
86f3d15fb3 Bug 1073358 - Sqlite.jsm should return some measure of what happened regardless of whether a row handler was used. r=mak 2014-09-27 01:17:00 +12:00
Marco Bonardo
8ec6ad3ce6 Bug 1068620 - Provide a Sqlite.wrapStorageConnection method. r=Yoric 2014-09-22 18:32:43 +02:00
Shu-yu Guo
40c62f33a5 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Gregory Szorc
e9edda1da6 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.
2014-07-02 16:49:36 -07:00
Michael Brennan
fcfda5c78d Bug 1028887 - Cause tests to fail when autoclosing Sqlite.jsm. r=Yoric 2014-06-26 06:24:21 +02:00
Michael Brennan
0713ad206e Bug 939072: Auto-close Sqlite connections on finalization; r=Yoric 2014-06-11 23:40:17 +02:00
Michael Brennan
a208ac1886 Bug 939072: Refactor Sqlite connections to support finalization; r=Yoric 2014-06-11 23:40:06 +02:00
Marco Bonardo
ef471fb657 Bug 991682 - Sqlite.jsm API to clone an open db connection. r=Yoric 2014-04-08 14:09:26 +02:00
Paolo Amadini
7444deba28 Bug 986364 - Convert to Promise.jsm in the Toolkit "modules" folder. r=mak 2014-03-24 15:47:50 +01:00
Mark Capella
1bd68168c2 Bug 472963 - TableExists and IndexExists does not work for temporary tables, r=mak 2013-09-27 17:04:17 -04:00
David Rajchenbach-Teller
195eede93c Bug 702559 - Adapting Sqlite.jsm to use mozIStorageAsyncConnection;r=mak 2013-06-27 09:01:00 -04:00
Ed Morley
4125bcc2c3 Backed out changeset a01ced6de845 (bug 702559) 2013-06-26 12:56:14 +01:00
David Rajchenbach-Teller
292a00ed19 Bug 702559 - Adapting Sqlite.jsm to use mozIStorageAsyncConnection;r=mak 2013-06-26 05:45:50 -04:00