Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Birunthan Mohanathas
ec8396a564
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Nochum Sossonko
36553842c0
Bug 481178 - mozIStorageConnection createTable and tableExists should support attached databases. r=mak
2014-04-09 09:22:33 -04:00
Gabriele Svelto
ce5716da48
Bug 411894 - Flush all mozStorageConnections' caches in response to memory pressure events. r=mak
2014-03-27 11:19:49 +01:00
Paolo Amadini
8dd6c66f29
Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric
2014-03-18 15:16:02 +01:00
Mark Capella
5628f20963
Bug 472963 - TableExists and IndexExists does not work for temporary tables, r=mak
2013-09-27 17:04:17 -04:00
Gregory Szorc
ed68c2482b
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
David Rajchenbach-Teller
d8e8800d00
Bug 911109 - Statement::internalFinalize now doesn't cause finalization if the connection is already closed. r=asuth
2013-09-04 12:51:45 -04:00
David Rajchenbach-Teller
bab0020ed0
Bug 874814 - Close AsyncClose() off the main thread and loop until all statements are finalized. r=mak
2013-08-27 17:07:04 -04:00
Geoff Brown
220e4a5f85
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
David Rajchenbach-Teller
fed1e56a56
Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak
2013-06-27 09:00:59 -04:00
Ed Morley
a8b441b706
Backed out changeset ad1819ab302a (bug 702559)
2013-06-26 12:56:17 +01:00
David Rajchenbach-Teller
415b54fc8e
Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak
2013-06-26 05:45:49 -04:00
Xin Zhang
9ba2b443d3
Bug 849764 - Replace removeObserver() calls with three params with two in storage dir. r=mak
2013-04-06 14:46:35 -04:00
Ben Turner
e850a70025
Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop.
2013-04-04 17:14:46 -07:00
Marco Bonardo
5df3128560
Bug 836039 - Reduce cache size per SQLite connection to 2MB
...
r=asuth
2013-02-21 11:12:48 +01:00
Ryan VanderMeulen
96b55dfae9
Backed out changesets 50f4ba15a3c7 and cafa8ba33704 (bug 796388) for mochitest-2 orange.
2013-01-29 16:38:37 -05:00
Nathan Froyd
5f2897868a
Bug 796388 - part 1 - delete TelemetryVFS; r=mak
2013-01-29 11:57:01 -05:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nathan Froyd
442af3d331
Bug 589032 - remove mozIStorageStatementWrapper; r=mak
2012-05-02 13:01:39 -04:00
Rafael Ávila de Espíndola
fc42dc3a1f
Bug 714377 - Close connection in storage/test/unit/test_storage_connection.js. r=mak.
2012-01-03 14:59:32 -05:00
Rafael Ávila de Espíndola
b1371ecf12
Bug 714378 - Close connections in storage/test/unit/vacuumParticipant.js. r=mak
2012-01-03 09:41:16 -05:00
Rafael Ávila de Espíndola
cd113516c5
Bug 714367 - Add an explicit getOpenedUnsharedDatabase to storage/test/unit/head_storage.js. r=mak.
2012-01-03 09:12:54 -05:00
Nicholas Nethercote
5d033e6f25
Bug 703113 - Fix overshadowed |pageSize| variable in Connection::initialize. r=mak.
2011-11-23 14:22:13 -08:00
Marco Bonardo
cd07a799ad
Bug 692487 - Decrease Storage connections default cache_size.
...
r=sdwilsh
2011-11-09 15:06:40 +01:00
Marco Bonardo
b0a26189a7
Bug 658303 - mozIStorageConnection::Clone() should copy over pragmas.
...
r=sdwilsh
2011-10-03 21:55:03 +02:00
Jezreel Ng
952495179e
Bug 666611 - Do not set chunksize if less than 500MiB of storage is available. r=mak
2011-09-05 10:29:06 +01:00
Geoff Brown
1264a5446f
Bug 668349 - Changes to xpcshell.ini; r=jmaher
2011-08-22 09:00:50 +01:00
Taras Glek
1800d8f336
Bug 668378: Telemetry sqlite IO r=asuth
2011-07-21 11:12:31 -07:00
Steve Fink
b5b601df06
Bug 668906 - Do not call openUnsharedDatabase with a null file (r=sdwilsh)
...
--HG--
extra : rebase_source : fbd0febc77e9972d10409ce09c73759f7d156ad1
2011-07-01 15:53:41 -07:00
Marco Bonardo
1d4d6212bb
Merge places and mozilla-central. a=developers
2011-05-24 04:51:59 +02:00
Marco Bonardo
a363c063f6
Bug 658135 - Use sqlite3_stmt_readonly to check if multiple async statements need a transaction.
...
r=sdwilsh
2011-05-24 00:15:01 +02:00
Joel Maher
6993636556
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Philipp von Weitershausen
84bbbabc50
Bug 648367 - Add run_next_test to head.js. r=ted
2011-04-18 13:31:20 -07:00
Shawn Wilsher
981c03168d
Bug 645049 - Update tests to no longer use a deprecated API
...
r=Mossop
2011-03-31 10:19:32 -07:00
Marco Bonardo
0786c95d93
Bug 628921 - Changing from WAL to a rollback journal to change page_size may cause a infinite loop @AsyncExecuteStatements::executeStatement.
...
r=sdwilsh a=blocking
2011-02-16 13:51:26 +01:00
Shawn Wilsher
8c46198937
Merge mozilla-central into places.
2010-10-20 12:33:53 -07:00
Shawn Wilsher
ca8b2b3da8
Bug 599970 - Add GetInterface for nsIEventTarget on Connection
...
r=asuth
2010-10-05 15:01:22 -07:00
Marco Bonardo
f8d95d590c
Bug 541373 (part 1) - Provide a global VACUUM component. r=sdwilsh sr=vlad a=blocking
2010-10-19 15:46:49 +02:00
Taras Glek
f849918830
Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE r=asuth sr=shaver a=b6
2010-09-01 20:35:46 -05:00
Shawn Wilsher
31576fbeec
Bug 583882 - Need a way to clone an existing connection.
...
r=asuth
sr=shaver
a=blocking2.0
2010-08-27 12:42:58 -07:00
Steve Fink
aed0c5459e
Bug 580019: Fix functiontimer crash when opening db with NULL filename
2010-08-02 14:29:59 -07:00
Robert Sayre
70fc03b113
Merge mozilla-central to tracemonkey.
2010-07-02 17:25:52 -07:00
Jeff Walden
d52d02e814
Remove a couple checks in test code that had asserted that Object.getOwnPropertyNames wasn't implemented. r=orange
2010-07-02 00:26:09 -07:00
Taras Glek
bb78f82fbe
Bug 416330 - Suboptimal SQLite page size r=sdwilsh
2010-07-01 10:57:13 -07:00