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
Markus Stange
a24593a89f
Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
...
MozReview-Commit-ID: 7W1dt2BBKJZ
2016-12-21 11:43:50 +01: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
Wes Kocher
dcd0d40377
Backed out 27 changesets (bug 1323100) for clipboard leaktest failures a=backout
...
Backed out changeset 84fb749698ab (bug 1323100)
Backed out changeset d6d25e8bd001 (bug 1323100)
Backed out changeset 1b0855bb0c38 (bug 1323100)
Backed out changeset b6953e3f5739 (bug 1323100)
Backed out changeset 5572f3b63215 (bug 1323100)
Backed out changeset 12fb4c533659 (bug 1323100)
Backed out changeset c36524e4e919 (bug 1323100)
Backed out changeset 1e3b3eddbe26 (bug 1323100)
Backed out changeset 061110f1ae12 (bug 1323100)
Backed out changeset 413dbd31725b (bug 1323100)
Backed out changeset 06550f7eca62 (bug 1323100)
Backed out changeset 940933b13b36 (bug 1323100)
Backed out changeset a6d75c1cd724 (bug 1323100)
Backed out changeset 681cacbbaa3b (bug 1323100)
Backed out changeset 3d53787293f6 (bug 1323100)
Backed out changeset c0340dfe4766 (bug 1323100)
Backed out changeset 9f554991549d (bug 1323100)
Backed out changeset 757539e7039a (bug 1323100)
Backed out changeset a3c9b45aa917 (bug 1323100)
Backed out changeset 23d69df98a66 (bug 1323100)
Backed out changeset 1297ded6a01d (bug 1323100)
Backed out changeset f4235b97257f (bug 1323100)
Backed out changeset 93419cb4f29f (bug 1323100)
Backed out changeset 865d1b81c804 (bug 1323100)
Backed out changeset 54acf4ef8e84 (bug 1323100)
Backed out changeset 88d17bcd8205 (bug 1323100)
Backed out changeset 0c466e5e8933 (bug 1323100)
2016-12-29 16:28:36 -08:00
Markus Stange
90080b427d
Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
...
MozReview-Commit-ID: 7W1dt2BBKJZ
2016-12-21 11:43:50 +01: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
Tomislav Jurin
9ff3007b90
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Phil Ringnalda
bf34d7ef12
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: EDVoIcyWOhi
2016-11-22 20:03:03 -08:00
Nicholas Nethercote
9994803f5a
Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm.
...
This change is mostly straightforward, except for the following.
- It removes all the printing from the do_check_* macros because gtest macros
do appropriate printing.
- test_StatementCache.cpp needs some special gtest magic for the type
parameterization.
- It merges the four tests in test_unlock_notify.cpp because they rely on being
executed in order, and so aren't independent.
- storage_test_harness_tail.h is no longer necessary because gtest provides the
test looping functionality.
- It uses #include and the preprocessor to remove the duplication between
test_deadlock_detector.cpp and xpcom/tests/DeadlockDetector.cpp.
- It makes the test in test_service_init_background_thread.cpp a death test to
force it to be the first storage gtest, because it fails otherwise.
- It adds code to undo the SQLite mutex hooking as necessary, so that tests
don't interfere with each other.
- It de-virtualizes Spinner's destructor (as identified in bug 1318282).
2016-11-11 09:59:23 +11:00
Andi-Bogdan Postelnicu
ba476d4bad
Bug 1318282 - Use C++11's override and remove virtual where applicable in storage/. r=mak
...
MozReview-Commit-ID: AXchuOpF65X
2016-11-17 12:36:25 +02:00
Andi-Bogdan Postelnicu
796621459d
Bug 1318282 - Replace string literals containing escaped characters with raw string literals in storage/. r=mak
...
MozReview-Commit-ID: 7iVr1Ug0Oot
2016-11-17 12:35:02 +02:00
Andi-Bogdan Postelnicu
2aca8b8440
Bug 1318282 - Replace default bodies of special member functions with = default; in storage/. r=mak
...
MozReview-Commit-ID: DLgi8Oa7X2b
2016-11-17 12:34:23 +02:00
Andi-Bogdan Postelnicu
0f8ce79775
Bug 1318282 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in storage/. r=mak
...
MozReview-Commit-ID: HuudUDUcQYu
2016-11-17 12:33:18 +02: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
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Thomas Zimmermann
09335496d7
Bug 1287739: Always set 'len' variable in storage test, r=mak
...
MozReview-Commit-ID: 8EpGeakICWY
2016-07-20 16:12:31 +02: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
Randell Jesup
8b4c125ead
Bug 1271514: clean up threads in test_unlock_notify r=froydnj
...
MozReview-Commit-ID: EbCnWFzLMca
2016-05-11 00:09:53 -04:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07: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