Commit Graph

212 Commits

Author SHA1 Message Date
Andrew Quartey
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Andrew Quartey
e0477b23d8 Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Thinker K.F. Li
fac6fa0c28 Bug 780878 - Check app permission against ALLOW_NO_WARN. r=honzab
Without this checking, nsOfflineCacheUpdateService don't update
offline cache any more if previous updating exceeds usage and showing
a warning.
2012-09-27 23:05:59 -04:00
Honza Bambas
7dc4ae6d35 Bug 776797 - Lock down POfflineCacheUpdate, r=jduell 2012-09-27 21:35:07 +02:00
Honza Bambas
41c12a706a Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Ehsan Akhgari
5832a14c90 Bug 788923 - Part 2: Use the load group of the document that the source node belongs to when prefetching links; r=bzbarsky 2012-09-07 14:06:44 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
d3e716eafa Bug 782594 - No, storing a 32-bit error code in a 16-bit variable is not "somewhat sensible"; r=bz 2012-08-14 12:10:42 +03:00
Aryeh Gregor
87ee7da27f Bug 782594 - Make some methods in uriloader/ infallible; r=bz 2012-08-14 12:10:42 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Honza Bambas
da3f0b8916 Bug 766210 - Delay updating nsPrefetchNode's reference to redirect channel until we know redirect is approved, r=jduell 2012-07-31 20:59:17 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Honza Bambas
a5c1861217 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Honza Bambas
d08a526246 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
881389a4b2 Backout 3bf8ff8836d1 too 2012-07-10 19:39:01 -04:00
Ryan VanderMeulen
89aff4650d Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas
a344f9ba91 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, remove unused member from nsOfflineCacheUpdate, r=sinker DONTBUILD 2012-07-11 00:06:26 +02:00
Honza Bambas
24c40e8525 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Ehsan Akhgari
5f1dca309f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky 2012-06-12 23:53:09 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas
5087829839 Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Honza Bambas
680e33b76d Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00
Honza Bambas
acf15bad5e Bug 744710 - Enable getting updates on how many bytes of an appcache update have been downloaded, r=michal 2012-05-22 22:12:40 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
eebd9c8f2a Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Benjamin Smedberg
ff2537e707 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Ryan VanderMeulen
0c2f2d9626 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Ryan VanderMeulen
3416d4009d Bustage fix for bug 674728. 2012-03-30 21:15:12 -04:00
Sinker Li
954be9a5df Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
f140262449 Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Simon Montagu
07bbd70b32 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Masayuki Nakano
0f3527ba9b Bug 666903 uriloader should use mozilla::Preferences r=bz 2011-07-01 17:35:28 +09:00
Masayuki Nakano
088288c705 back out previous checkin 2011-07-01 16:37:06 +09:00
Masayuki Nakano
8693de84dd Bug 666903 uriloader should use mozilla::Preferences r=bz 2011-07-01 15:26:10 +09:00
Ed Morley
5a6749df7a Bug 659956 - Remove unused variable from nsOfflineCacheUpdate.cpp; r=bz 2011-05-26 11:15:56 -07:00
Jason Duell
f4c178d25f Bug Remove unused code from nsPrefetchNode::AsyncOnChannelRedirect, r=bzbarsky
Looks like this was overlooked in bug 442803
2011-05-25 16:26:51 -04:00
Daniel Holbert
ff123ba64d Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
c7e1218869 Bug 650987: Remove unused variable gOfflineCacheUpdateService from OfflineCacheUpdateParent.cpp and OfflineCacheUpdateChild.cpp. r=biesi 2011-04-20 01:28:21 +02:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Honza Bambas
aeec5a2694 Bug 610044 - Crash [@ mozilla::ipc::RPCChannel::CxxStackFrame::CxxStackFrame], r=jduell, a=blassey 2010-12-22 16:44:27 +01:00
timeless@mozdev.org
faba012902 Bug 615425 warnings in prefetch
r=jst

--HG--
extra : rebase_source : 56d3a2285ab7065a9652af4b694915b2e6e264b8
2010-12-04 11:07:08 +01:00
Honza Bambas
2652f6995a Bug 544462 - HTML5 Offline features - Asterisk (*) not supported in network section of manifest file, r=jst, a2.0=jst 2010-11-25 21:49:19 +01:00
Justin Wood
8d9bd74606 Bug 606040 - [SeaMonkey] 'Linux comm-central-trunk leak test build' still broken after bug 536295 bustage fixes. r=biesi, a=bustage-fix 2010-10-20 22:30:31 -04:00
Honza Bambas
ad4bfc8963 Fixed bustage on mozilla-central after changeset 4fce6753afea, a=bustage-fix 2010-10-20 22:45:19 +02:00
Honza Bambas
7d2dcd6418 Fixed bustage on comm-central after changeset c73c0da830fe, a=bustage-fix 2010-10-20 22:24:15 +02:00
Honza Bambas
e618ce3cbb Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
timeless@mozdev.org
5d8a795fd9 Bug 495078 - Crash [@ NS_GetInnermostURI] with manifest attribute in file as child frame of chrome document, r+sr=biesi 2010-04-15 06:48:41 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Dave Camp
605eb3854f Bug 486470. Keep ref to offline cache update until end of lifetime. r=honzab, sr=vlad 2009-04-14 15:09:23 +09:00
Dave Camp
2ddf9e1741 Bug 482370 - after noupdate documents are associated with the wrong application cache. r+sr=jst 2009-03-10 14:58:00 -07:00
Dave Camp
c2401372fd Bug 471227 - rework offline update scheduling a bit to avoid losing/misscheduling updates. r+sr=bz 2009-03-04 13:37:29 -08:00
Honza Bambas
762ed65762 Bug 460335 - disallow redirects when updating an application cache, r=dcamp, sr=cbiesinger 2009-02-27 15:09:06 +01:00
Dave Camp
9382bde2f2 More logging for bug 471227. 2009-02-25 21:57:28 -08:00
Dave Camp
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Dave Camp
66a3a31b50 Bug 442584 - Prefetching stops working until Firefox is restarted. r=jduell, sr=jst 2009-02-24 23:12:12 -08:00
Dave Camp
edf30b277b Bug 477747 - appcache 'noupdate' event fired too early for master entries. r+sr=jst 2009-02-22 11:09:10 -08:00
Dave Camp
d30d2b8d23 Bug 477692: applicationCache sending obsolete on new cache groups. r+sr=jst 2009-02-09 22:40:40 -08:00
Honza Bambas
0d4109c626 Bug 466314 - updatingImplicit.html \(used by test_offlineMode.html and test_updatingManifest.html\) crashes SeaMonkey, r=dcamp, sr=jst 2009-01-29 16:22:53 +01:00
Honza Bambas
86790d781f Backing out bug 466314 changeset b82c1c2d061e 2009-01-28 17:52:10 +01:00
Honza Bambas
62387ee187 Bug 466314 - updatingImplicit.html (used by test_offlineMode.html and test_updatingManifest.html) crashes SeaMonkey, r=dcamp, sr=jst 2009-01-28 16:07:23 +01:00
Honza Bambas
c8fedd2705 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
d82181a981 Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Dave Camp
7d7819f834 Bug 462549: Verify that an appcache manifest hasn't changed at the end of an update. r+sr=biesi 2008-11-05 16:01:07 -08:00
Dave Camp
6b4dfe44ed Bug 460327: Don't use opportunistic caching for entries in an application cache manifest. r=honzab, sr=bz 2008-11-04 10:59:12 -08:00
Dave Camp
78a7554f63 Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
Dave Camp
e65d37733f Bug 443023: Associate documents with their caches after an initial update. r=honzab, r+sr=biesi 2008-11-04 02:20:27 -08:00
Dave Camp
075a71489f Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Honza Bambas
19179e88b6 Bug 461327 - White list entries fix; r=dcamp sr=bzbarsky 2008-10-28 05:33:12 +01:00
Dave Camp
a1df547c6e Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Dave Camp
b208a7b6a3 Bug 456122 - Don't fail offline cache updates for non-explicit items. r+sr=biesi 2008-10-19 21:12:25 -07:00
Dave Camp
5a11a16230 Bug 442813: Implement fallback/opportunistic caching for application caches. p=me, Honza Bambas <honzab@allpeers.com>, r+sr=biesi 2008-09-30 11:34:23 -07:00
Christian Biesinger
3c5ff6a65a Bug 451572 - Allow prefetching between all combinations of HTTP and HTTPS
source and target
r+sr=bzbarsky
2008-09-30 10:53:48 +02:00
Honza Bambas
ec80dcba93 Bug 442812: Implement the application cache selection algorithm. r+sr=bz 2008-08-27 18:15:32 -07:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
3cb127f6fd Bug 442803: Remove offline fetching from nsPrefetchService.cpp. r+sr=bz 2008-08-24 20:37:10 -07:00
Dave Camp
44880ac18c Backed out changeset bbaf0d5fef61 (bug 442803) 2008-08-19 22:54:37 -07:00
Dave Camp
8758d3de43 Bug 442803: Remove offline fetching from nsPrefetchService.cpp. r+sr=bz 2008-08-19 19:28:46 -07:00
gavin@gavinsharp.com
264eb91ab9 Bug 432055: applicationCache.status is 0 through the update process, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:09:26 -07:00
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -08:00
dcamp@mozilla.com
bac18b5c8e Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
5c26c6c3fb Bug 397416: Raise globalStorage quota for domains with the offline-app permission. r=enndeakin, sr=dveditz, blocking1.9=sicking 2008-01-22 18:54:06 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
jwalden@mit.edu
4f2801da87 Bug 399096 - nsDOMCacheUpdateService leaks. r=dcamp, sr=biesi, a=blocker 2007-11-08 21:12:59 -08:00
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
49279363d0 fix bustage from bug 388839 2007-07-24 22:50:08 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
asqueella@gmail.com
e76686d085 try to fix bustage from bug 383417 2007-07-23 19:16:23 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
cbiesinger@web.de
9b8503bb13 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00