Commit Graph

42 Commits

Author SHA1 Message Date
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
Richard Newman
927ed5e389 Bug 833965 - Sqlite.jsm should support an array of binding parameters. r=gps 2013-04-10 17:57:42 -07:00
Richard Newman
55280fbd11 Bug 856925 - Sqlite.jsm tests to demonstrate errors. r=gps 2013-04-10 17:57:42 -07:00
Dave Townsend
34c2e45a17 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin 2013-02-01 11:43:15 -08:00
Richard Newman
a55bfa40b6 Bug 834449 - Part 3: simplify cleanup of cached statements. r=gps 2013-01-25 15:05:15 -08:00
Richard Newman
7f77371306 Bug 834449 - Part 2: clean up cached statements in Sqlite.jsm. r=gps 2013-01-25 00:38:59 -08:00
Richard Newman
6280f775ac Bug 834449 - Part 1: rework tracking of pending statements. r=gps 2013-01-25 00:35:19 -08:00
Gregory Szorc
d4c9ba5838 Bug 833609 - Part 2: Add timer to shrink memory after idle; r=mak 2013-01-24 13:30:20 -08:00
Gregory Szorc
73b29a92e4 Bug 833609 - Part 1: add a manual call to shrink memory usage to Sqlite.jsm. r=mak 2013-01-24 11:10:19 -08:00
Gregory Szorc
fd09346584 Bug 830209 - SQLite.jsm now handles transactions off the main thread; r=mak 2013-01-18 10:11:22 -08:00
Gregory Szorc
3871303db0 Bug 813833 - Add a Promise-based API to mozIStorage/SQLite; r=mak, sr=Mossop 2013-01-04 15:36:59 -08:00