Jim Blandy
7e20285e70
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
Benoit Jacob
666893d878
Bug 1028588 - Fix dangerous public destructors in storage/ - r=bent
2014-06-23 18:40:03 -04:00
Birunthan Mohanathas
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Birunthan Mohanathas
59b969f7f4
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Marco Bonardo
528ab442ef
Bug 914070 - Part 1 - Remove native connection getters from Storage connection. r=asuth
2014-04-24 11:54:09 +02:00
Nochum Sossonko
bfd9a489d3
Bug 481178 - mozIStorageConnection createTable and tableExists should support attached databases. r=mak
2014-04-09 09:22:33 -04:00
Gabriele Svelto
5f8616903a
Bug 411894 - Flush all mozStorageConnections' caches in response to memory pressure events. r=mak
2014-03-27 11:19:49 +01:00
Paolo Amadini
c1739b687d
Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric
2014-03-18 15:16:02 +01:00
Daniel Holbert
f0216348aa
Bug 945063: Annotate storage/build and storage/test as FAIL_ON_WARNINGS. r=mak
2014-01-08 11:04:03 -08:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
561cae4a0e
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mark Capella
faf62388a2
Bug 472963 - TableExists and IndexExists does not work for temporary tables, r=mak
2013-09-27 17:04:17 -04:00
Gregory Szorc
7bd3c0ae36
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
Ehsan Akhgari
c8d51e9ce2
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Wes Kocher
545fbb7bd2
Merge m-c to inbound
2013-09-04 18:04:50 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
David Rajchenbach-Teller
00e7dae5ac
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
007c70de56
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
fd9a8160b1
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
Birunthan Mohanathas
521d66d83e
Bug 784739 - Switch from NULL to nullptr in storage/; r=ehsan
2013-07-31 11:44:58 -04:00
Ms2ger
10d5739f7a
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
David Rajchenbach-Teller
286a0ce6e8
Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak
2013-06-27 09:00:59 -04:00
David Rajchenbach-Teller
7631a5973e
Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak
...
* * *
Bug 702559 - Implementation of transaction helper compatible with mozIStorageAsyncConnection;r=mak
2013-06-27 09:00:59 -04:00
Ed Morley
67356c3a8c
Backed out changeset fa98df7a3493 (bug 702559) for xpcshell orange
2013-06-26 12:56:40 +01:00
Ed Morley
5d30720f63
Backed out changeset ad1819ab302a (bug 702559)
2013-06-26 12:56:17 +01:00
David Rajchenbach-Teller
a9b4cd7c3e
Bug 702559 - Async tests for mozIStorage[Async]Connection;r=mak
2013-06-26 05:45:49 -04:00
David Rajchenbach-Teller
198d5dbf1f
Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak
2013-06-26 05:45:49 -04:00
Nathan Froyd
7de7004013
Bug 884022 - fix clang warnings about pointer-to-int comparisons in test_AsXXX_helpers.cpp; r=dholbert
2013-06-17 17:18:40 -04:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Joey Armstrong
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Nathan Froyd
c2a2633d67
Bug 836493 - part 1: ensure that the initial reference to mozStorageService is obtained on the main thread; r=mak
2013-02-08 12:04:26 -05:00
Xin Zhang
a8e6ef988a
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
09d9ae691e
Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop.
2013-04-04 17:14:46 -07:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
113b7d1e50
Bug 784841 - Part 18ζ: Convert /storage; r=glandium
2013-02-25 13:05:31 -08:00
Marco Bonardo
efeb14948c
Bug 836039 - Reduce cache size per SQLite connection to 2MB
...
r=asuth
2013-02-21 11:12:48 +01:00
Ryan VanderMeulen
eaee248c5c
Backed out changesets 50f4ba15a3c7 and cafa8ba33704 (bug 796388) for mochitest-2 orange.
2013-01-29 16:38:37 -05:00
Nathan Froyd
cd46988e99
Bug 796388 - part 1 - delete TelemetryVFS; r=mak
2013-01-29 11:57:01 -05:00
Kyle Huey
0469a02b25
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
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
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
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
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