Wilmer Paulino
99af515866
Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj
2016-01-11 19:31:29 -05:00
Mike Hommey
8810bde2ef
Bug 1235099 - Remove the NS_APP_BOOKMARKS_50_FILE directory service key. r=dolske
...
Nothing in mozilla-central uses the NS_APP_BOOKMARKS_50_FILE/BMarks key except
tests. It's also not been very useful since the switch to places in ... Firefox
3? so even if addons use it, it's not doing them much good.
BookmarkHTMLUtils.defaultPath returns the same thing anyways for those that
really do insist on getting the equivalent thing (but I'd argue
BookmarkHTMLUtils.defaultPath, as well as the browser.bookmarks.file pref could
just go away as well).
Seamonkey does use NS_APP_BOOKMARKS_50_FILE/BMarks, but they really only need
the #define, which they can add in their source.
2016-01-12 08:01:52 +09:00
Mike Hommey
63439e34f6
Bug 1234012 - Remove the NS_APP_PROFILE_DEFAULTS_{NLOC_,}50_DIR directory keys. r=bsmedberg
...
Nothing apart the code that was just removed uses those keys, so remove them.
Actually, there is a use in Seamonkey, but considering they're shipping with
omnijar, the code expecting the directory has not been working as designed for
a while, so they can fixup and remove that use as well.
2016-01-09 07:30:32 +09:00
Kit Cambridge
1c0dc1a969
Bug 1205137 - Add a PushSubscription
serializer. r=mt,smaug
...
--HG--
extra : commitid : F5xjqIFcach
extra : rebase_source : 61b0a0cbae318f7afc51752fc31a7133b8abd15c
2015-12-14 16:28:19 -08:00
Birunthan Mohanathas
1cc56207d5
Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8
2015-12-18 15:02:50 +02:00
Andrea Marchesini
f2f6c3be20
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-18 08:44:00 +00:00
Sebastian Hengst
fe800f661e
Backed out changeset 30839ee209e8 (bug 901097) for mochitest failures on Android and Mulet. r=backout
2015-12-17 14:13:59 +01:00
Andrea Marchesini
35ff8e160c
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-17 12:00:35 +00:00
Makoto Kato
385785d472
Bug 1233283 - Remove unless tmp from ReadDir in nsLocalFileWin. r=froydnj
2015-12-17 13:55:38 +09:00
Wes Kocher
e23593462a
Backed out changeset 84c8783b8518 (bug 901097) for test_fileReader.html crashes CLOSED TREE
...
--HG--
extra : commitid : crWlUUwg6J
2015-12-16 09:43:42 -08:00
Andrea Marchesini
7a681c85f9
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-16 12:37:31 +00:00
Carsten "Tomcat" Book
af9ca82bf2
Backed out changeset d74d1e794421 (bug 901097) for bustage on a CLOSED TREE
2015-12-16 11:48:40 +01:00
Andrea Marchesini
97ccffac37
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-16 10:15:03 +00:00
Andrea Marchesini
ebc5b1a50f
iBug 1122788 - patch 2 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz
2015-12-05 09:36:51 +00:00
Andrea Marchesini
c018e81125
Bug 1122788 - patch 1 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz
2015-12-05 09:35:49 +00:00
Wes Kocher
18c24e60a0
Backed out changeset d271b9e473fd (bug 1122788) for being a possible cause of test_fileapi.html bustage CLOSED TREE
...
--HG--
extra : commitid : JtZfexvrBDK
2015-12-04 15:21:24 -08:00
Andrea Marchesini
17ff0fc26a
Bug 1122788 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz
2015-12-04 21:17:44 +00:00
Lars T Hansen
f6742410f9
Bug 1176214 - Part 15: Changes to xpcom. r=nfroyd
...
--HG--
extra : rebase_source : 661ab7ca0fe93d626257525cb7b6f4663a3d19ba
2015-11-13 15:08:30 +01:00
Valentin Gosu
67b179e6f9
Bug 412457 - should unescape hostname first, then perform IDNA r=mcmanus
2015-11-18 15:25:27 +01:00
Mike Hommey
762aba02cd
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09:00
Valentin Gosu
f4d3791247
Bug 1163030 - URL: stop escaping ` in query r=mcmanus
2015-11-02 13:55:24 +01:00
Valentin Gosu
e96a491a5d
Bug 1163028 - URL: stop escaping [ and ] in path r=mcmanus
2015-11-02 13:54:10 +01:00
Chris Peterson
4cbe614b32
Bug 1220035 - Fix -Wimplicit-fallthrough warnings in xpcom. r=mccr8
...
xpcom/base/nsDebugImpl.cpp:458:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsCheapSets.h:139:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsPersistentProperties.cpp:232:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsVariant.cpp:360:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsVariant.cpp:766:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsVariant.cpp:1658:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/ds/nsVariant.cpp:1661:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/glue/nsTextFormatter.cpp:355:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/glue/nsTextFormatter.cpp:362:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/io/nsWildCard.cpp:85:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
xpcom/io/nsWildCard.cpp:401:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-29 21:31:32 -07:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Eric Rahm
5b38c55967
Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj
...
--HG--
extra : rebase_source : 58d3b32bd0174f2540512cef810cafdd3556ef6b
2015-10-19 12:50:14 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Chris Peterson
0dbaae1ce2
Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8
2015-09-07 23:56:16 -07:00
Ben Kelly
233c4ec7a9
Bug 1203680 P4 Fix bug in nsStorageStream with reading streams created before data is populated. r=froydnj
2015-09-15 10:15:45 -07:00
Ben Kelly
02126738d3
Bug 1203680 P2 Implement an NS_InputStreamIsCloneable() method. r=froydnj
2015-09-15 10:15:45 -07:00
Wes Kocher
a336f83a0a
Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
...
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
7c43b0d527
Bug 1203680 P2 Implement an NS_InputStreamIsCloneable() method. r=froydnj
2015-09-14 12:12:00 -07:00
Ben Kelly
acc86c5c7a
Backout rev b25230c0a193 for wrong bug number. r=me
2015-09-14 12:12:00 -07:00
Ben Kelly
79ccea7ed6
Bug 1203680 P4 Fix bug in nsStorageStream with reading streams created before data is populated. r=froydnj
2015-09-14 12:04:56 -07:00
Ben Kelly
2577b751f1
Bug 1093357 P2 Implement an NS_InputStreamIsCloneable() method. r=froydnj
2015-09-14 12:04:56 -07:00
Ben Kelly
a1265d3d9a
Bug 1203760 P1 Allow pipe to wake up multiple streams at the same time. r=froydnj
2015-09-14 08:49:09 -07:00
Florian Quèze
e966fcb5ac
Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop.
2015-09-04 11:50:49 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
1416e566de
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Michael Layzell
945c9a35f4
Bug 1195415 - Add asciiHostPort field to nsIURI, and use it in the implementation of nsPrincipal::GetOriginForURI, r=bholley
2015-08-18 14:52:24 -04:00
Arnaud Bienner
2755fa9a57
Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
...
--HG--
extra : rebase_source : 81df1495200d3734ea1c4c13818ae764a445f4b3
2015-08-14 00:49:15 +02:00
Nathan Froyd
3b0a318c70
Bug 1192230 - clean up reference-counting in xpcom/; r=erahm
2015-07-01 12:27:43 -04:00
Birunthan Mohanathas
7315345693
Bug 1191100
- Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
4ac8503958
Bug 1143575. Avoid use of COMPARE macro which can clash with Android headers. r=bent
...
--HG--
extra : commitid : G02N9VidCk7
extra : rebase_source : a2a3bba44ef2b8765432e06d32ee4a811c9954fd
2015-06-07 12:26:40 +03:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Boris Zbarsky
075355a9e5
Bug 1175601. Make nsIFile.getRelativeDescriptor work with paths with paths with arbitrary numbers of segments, not just 32. r=froydnj
2015-06-17 16:17:22 -04:00
Boris Zbarsky
bf8f45932e
Bug 1175600. Add getRelativePath/setRelativePath to nsIFile. r=froydnj
2015-06-17 16:17:20 -04:00