Commit Graph

85 Commits

Author SHA1 Message Date
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Wes Kocher
47c4af6f89 Merge m-c to inbound 2014-07-16 17:42:00 -07:00
Birunthan Mohanathas
eaf5a9b897 Bug 1038535 - Flatten caps/{idl,include,src}/ directories. r=bholley,gps
--HG--
rename : caps/src/DomainPolicy.cpp => caps/DomainPolicy.cpp
rename : caps/include/DomainPolicy.h => caps/DomainPolicy.h
rename : caps/idl/nsIDomainPolicy.idl => caps/nsIDomainPolicy.idl
rename : caps/idl/nsIPrincipal.idl => caps/nsIPrincipal.idl
rename : caps/idl/nsIScriptSecurityManager.idl => caps/nsIScriptSecurityManager.idl
rename : caps/src/nsJSPrincipals.cpp => caps/nsJSPrincipals.cpp
rename : caps/include/nsJSPrincipals.h => caps/nsJSPrincipals.h
rename : caps/src/nsNullPrincipal.cpp => caps/nsNullPrincipal.cpp
rename : caps/include/nsNullPrincipal.h => caps/nsNullPrincipal.h
rename : caps/src/nsNullPrincipalURI.cpp => caps/nsNullPrincipalURI.cpp
rename : caps/src/nsNullPrincipalURI.h => caps/nsNullPrincipalURI.h
rename : caps/src/nsPrincipal.cpp => caps/nsPrincipal.cpp
rename : caps/include/nsPrincipal.h => caps/nsPrincipal.h
rename : caps/src/nsScriptSecurityManager.cpp => caps/nsScriptSecurityManager.cpp
rename : caps/include/nsScriptSecurityManager.h => caps/nsScriptSecurityManager.h
rename : caps/src/nsSystemPrincipal.cpp => caps/nsSystemPrincipal.cpp
rename : caps/include/nsSystemPrincipal.h => caps/nsSystemPrincipal.h
2014-07-15 11:12:59 -07:00
Tim Taubert
20557fbe55 Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-07-03 17:16:08 -07:00
Benoit Jacob
66530c3e02 Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jan Varga
31546e1e24 Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Luke Wagner
2e76aa2d05 Bug 968272 - use less conservative temporary storage policy in QuotaManager (r=janv)
--HG--
extra : rebase_source : 40739bd10fa31c813303328e48bff371fbe6224c
2014-05-20 17:19:59 -05:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Chris Peterson
ed406b4edb Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Jan Varga
c3ff045c03 Bug 984789 - FileHandle: Eliminate nsIFileStorage; r=bent 2014-05-07 16:33:02 +02:00
Jan Varga
6adeb3c23f Bug 975696 - Split ArchiveReader and FileHandle implementation into separate dirs. r=bent f=baku
--HG--
rename : dom/file/ArchiveEvent.cpp => dom/archivereader/ArchiveEvent.cpp
rename : dom/file/ArchiveEvent.h => dom/archivereader/ArchiveEvent.h
rename : dom/file/ArchiveReader.cpp => dom/archivereader/ArchiveReader.cpp
rename : dom/file/ArchiveReader.h => dom/archivereader/ArchiveReader.h
rename : dom/file/ArchiveRequest.cpp => dom/archivereader/ArchiveRequest.cpp
rename : dom/file/ArchiveRequest.h => dom/archivereader/ArchiveRequest.h
rename : dom/file/ArchiveZipEvent.cpp => dom/archivereader/ArchiveZipEvent.cpp
rename : dom/file/ArchiveZipEvent.h => dom/archivereader/ArchiveZipEvent.h
rename : dom/file/ArchiveZipFile.cpp => dom/archivereader/ArchiveZipFile.cpp
rename : dom/file/ArchiveZipFile.h => dom/archivereader/ArchiveZipFile.h
rename : dom/file/test/test_archivereader.html => dom/archivereader/test/test_basic.html
rename : dom/file/test/test_archivereader_nonUnicode.html => dom/archivereader/test/test_nonUnicode.html
rename : dom/file/test/test_archivereader_zip_in_zip.html => dom/archivereader/test/test_zip_in_zip.html
rename : dom/file/test/test_bug_793311.html => dom/base/test/test_bug793311.html
rename : dom/file/AsyncHelper.cpp => dom/filehandle/AsyncHelper.cpp
rename : dom/file/AsyncHelper.h => dom/filehandle/AsyncHelper.h
rename : dom/file/File.cpp => dom/filehandle/File.cpp
rename : dom/file/File.h => dom/filehandle/File.h
rename : dom/file/FileHandle.cpp => dom/filehandle/FileHandle.cpp
rename : dom/file/FileHandle.h => dom/filehandle/FileHandle.h
rename : dom/file/FileHelper.cpp => dom/filehandle/FileHelper.cpp
rename : dom/file/FileHelper.h => dom/filehandle/FileHelper.h
rename : dom/file/FileRequest.cpp => dom/filehandle/FileRequest.cpp
rename : dom/file/FileRequest.h => dom/filehandle/FileRequest.h
rename : dom/file/FileService.cpp => dom/filehandle/FileService.cpp
rename : dom/file/FileService.h => dom/filehandle/FileService.h
rename : dom/file/FileStreamWrappers.cpp => dom/filehandle/FileStreamWrappers.cpp
rename : dom/file/FileStreamWrappers.h => dom/filehandle/FileStreamWrappers.h
rename : dom/file/LockedFile.cpp => dom/filehandle/LockedFile.cpp
rename : dom/file/LockedFile.h => dom/filehandle/LockedFile.h
rename : dom/file/MemoryStreams.cpp => dom/filehandle/MemoryStreams.cpp
rename : dom/file/MemoryStreams.h => dom/filehandle/MemoryStreams.h
rename : dom/file/MetadataHelper.cpp => dom/filehandle/MetadataHelper.cpp
rename : dom/file/MetadataHelper.h => dom/filehandle/MetadataHelper.h
rename : dom/file/moz.build => dom/filehandle/moz.build
rename : dom/file/nsIFileStorage.h => dom/filehandle/nsIFileStorage.h
rename : dom/file/test/dummy_worker.js => dom/filehandle/test/dummy_worker.js
rename : dom/file/test/helpers.js => dom/filehandle/test/helpers.js
rename : dom/file/test/mochitest.ini => dom/filehandle/test/mochitest.ini
rename : dom/file/test/moz.build => dom/filehandle/test/moz.build
rename : dom/file/test/test_append_read_data.html => dom/filehandle/test/test_append_read_data.html
rename : dom/file/test/test_getFile.html => dom/filehandle/test/test_getFile.html
rename : dom/file/test/test_getFileId.html => dom/filehandle/test/test_getFileId.html
rename : dom/file/test/test_location.html => dom/filehandle/test/test_location.html
rename : dom/file/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_lockedfile_lifetimes.html
rename : dom/file/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_lockedfile_lifetimes_nested.html
rename : dom/file/test/test_lockedfile_ordering.html => dom/filehandle/test/test_lockedfile_ordering.html
rename : dom/file/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_lockedfiles.html
rename : dom/file/test/test_progress_events.html => dom/filehandle/test/test_progress_events.html
rename : dom/file/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_lockedfiles.html
rename : dom/file/test/test_request_readyState.html => dom/filehandle/test/test_request_readyState.html
rename : dom/file/test/test_stream_tracking.html => dom/filehandle/test/test_stream_tracking.html
rename : dom/file/test/test_success_events_after_abort.html => dom/filehandle/test/test_success_events_after_abort.html
rename : dom/file/test/test_truncate.html => dom/filehandle/test/test_truncate.html
rename : dom/file/test/test_workers.html => dom/filehandle/test/test_workers.html
rename : dom/file/test/test_write_read_data.html => dom/filehandle/test/test_write_read_data.html
2014-05-07 16:32:12 +02:00
Nathan Froyd
b2b2d28887 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Luke Wagner
9f2e8ba9d8 Bug 980447 - Follow-up fixes in clearStoragesForURI to address follow-up comments (r=janv)
--HG--
extra : rebase_source : 31a02fb699def1957c96aeae09052b7106509c84
2014-04-15 21:30:26 -05:00
Birunthan Mohanathas
504b581650 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
Luke Wagner
b9c343c46a Bug 980447 - Add persistenceType argument to nsIQuotaManager.clearStoragesForURI (r=janv)
--HG--
extra : rebase_source : 4d034bd92b099bd1385fc9e8a95fa959fc8e51e0
2014-04-14 15:48:49 -05:00
Jan Varga
a169d71bf3 Bug 856921 - Ensure that all quota failures are exposed to JS as QuotaExceededError. r=bent 2014-04-02 19:14:14 +02:00
Daniel Holbert
9d95b47d75 Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Ehsan Akhgari
345b35a6e8 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Luke Wagner
be3be017dd Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Jeff Walden
339cae3140 Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in dom/. r=bent
--HG--
extra : rebase_source : 7cf60c3e3091328ab8590dde4432fa566c303232
2014-02-06 22:17:07 -08:00
Jan Varga
18233c3266 Bug 965982. r=bent 2014-01-31 09:50:15 -08:00
Jan Varga
36551f5ff4 Bug 924348 - Intermittent PROCESS-CRASH | /tests/dom/indexedDB/test/test_add_put.html | application crashed [@ sqlite3LeaveMutexAndCloseZombie] or [@ hashDestroy]. r=khuey
CLOSED TREE
2014-01-13 13:27:19 -05:00
Ehsan Akhgari
eaa7491d77 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
Luke Wagner
ffe398ce2a Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Andrea Marchesini
d6c4daa5e7 Bug 932119 - convert nsIAtom to nsString in QuotaManager and IndexedDB, r=janv 2013-11-25 16:53:48 +00:00
Michael Shuen
d5c5f872a9 Bug 940207 - Build dom/quota in unified mode. r=bzbarsky 2013-11-20 09:40:32 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ms2ger
bd6c1c7dc9 Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal 2013-11-11 09:04:11 +01:00
Boris Zbarsky
c0b03f21a5 Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Trevor Saunders
e4cd176c9e [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Trevor Saunders
d33d8939a0 Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders
aba3fa9503 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Ed Morley
b578555c28 Backed out changeset d8636e485e85 (bug 882541) 2013-10-14 17:30:49 +01:00
Boris Zbarsky
093911dd1c Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Ehsan Akhgari
b91ba4ba3a Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari
dee6c12c6f Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Benoit Jacob
b268087442 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Andrea Marchesini
b1e3c18e72 Bug 916094 - Assertions removed from IDBFactory::Create() when it's used in JS from chrome in IPC. r=bent 2013-09-19 14:45:25 +02:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Jan Varga
67195df918 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00