5450 Commits

Author SHA1 Message Date
sdwilsh%shawnwilsher.com
5f1e8511af Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep
git-svn-id: svn://10.0.0.236/trunk@231202 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:33:17 +00:00
cbiesinger%gmx.at
7509b39f4e 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc


git-svn-id: svn://10.0.0.236/trunk@231094 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:40:46 +00:00
dwitte%stanford.edu
db912713b2 followup bustage-related fix for bug 386154, r+sr=biesi, a=gavins for checkin to closed tree
git-svn-id: svn://10.0.0.236/trunk@231062 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 18:42:54 +00:00
dwitte%stanford.edu
cd13eecb4d fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@231045 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 08:55:53 +00:00
dwitte%stanford.edu
e41022c0c0 rework etld backend to use a flat hash instead of a tree-hash structure, to reduce memory consumption and eliminate shutdown leaks. bugs 386154 and 386155,
r=biesi


git-svn-id: svn://10.0.0.236/trunk@231029 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:31:49 +00:00
dcamp%mozilla.com
7d38301c59 properly delete old files during an offline cache update. b=389591, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230998 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:47:33 +00:00
kaie%kuix.de
0bb95a57db Bug 382223, Add support for Camellia to PSM
Patch contributed by okazaki
r=kengert


git-svn-id: svn://10.0.0.236/trunk@230981 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 22:53:30 +00:00
myk%mozilla.org
c604d64c24 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230963 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 20:40:42 +00:00
bzbarsky%mit.edu
82a282ff4b Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:21:42 +00:00
enndeakin%sympatico.ca
7982dc0d36 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@230940 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 16:53:39 +00:00
sharparrow1%yahoo.com
10a2a082bc Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230936 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 16:22:28 +00:00
dcamp%mozilla.com
95ba970f9d update the offline cache atomically. b=389223, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230915 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:31:28 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
cbiesinger%gmx.at
5a63d11e4d 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@230818 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:47:33 +00:00
dmose%mozilla.org
98eb2d9168 Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage.
git-svn-id: svn://10.0.0.236/trunk@230815 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:38:31 +00:00
myk%mozilla.org
d2059ea375 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230806 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:29:52 +00:00
bzbarsky%mit.edu
0e47216a4d Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@230800 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:17:11 +00:00
mats.palmgren%bredband.net
6ecaeae839 Don't clobber 'pos' in the inner loops since we might need it again for the outer loop. b=388424 r=cbiesinger sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@230584 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 13:15:38 +00:00
cbiesinger%gmx.at
811a46363f Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230234 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:37:40 +00:00
jwalden%mit.edu
1fe811c921 Bug 376489 - Serve reftests from a web server so as not to depend on external resources, if the reftest is marked as needing HTTP; also picks up support for HTTP header and status modification in reftest files. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@230233 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:32:51 +00:00
dmose%mozilla.org
180ba5bb15 Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230151 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 22:59:58 +00:00
bzbarsky%mit.edu
75a45a44c6 Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230090 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 04:48:48 +00:00
dwitte%stanford.edu
b15c0240f7 add cookie tests for creation time ordering and eviction.
git-svn-id: svn://10.0.0.236/trunk@230056 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:06:55 +00:00
dwitte%stanford.edu
0ff78376fa Use getters and setters for database schema version. b=386369, p=sdwilsh, r=dwitte, sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@230054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:05:35 +00:00
jwalden%mit.edu
9db2c68826 Attempt to recommit part of the patch for bug 384192, in the hopes that this makes it easier to figure out what part of it is wrong. This part enables proxying for the added domains but doesn't actually use it.
git-svn-id: svn://10.0.0.236/trunk@229859 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:33:51 +00:00
dveditz%cruzio.com
9fab787f47 bug 383478 deal with %00 in file urls, r=bz,darin
git-svn-id: svn://10.0.0.236/trunk@229853 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:04:24 +00:00
jwalden%mit.edu
b5394cc6e3 Back out bug 386635; it broke restoring sessions in the browser.
git-svn-id: svn://10.0.0.236/trunk@229829 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 19:11:45 +00:00
jwalden%mit.edu
b45886c5d1 Back out 384192.
git-svn-id: svn://10.0.0.236/trunk@229797 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 08:46:10 +00:00
jwalden%mit.edu
dcb91f2642 Turn on server debugging for a cycle to figure out the orange, bug 384192.
git-svn-id: svn://10.0.0.236/trunk@229793 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 06:41:56 +00:00
jwalden%mit.edu
68fec6168b Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee
git-svn-id: svn://10.0.0.236/trunk@229790 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 05:38:48 +00:00
mrbkap%gmail.com
f5207325ba Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@229763 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 22:52:29 +00:00
dwitte%stanford.edu
bcfa6d9312 add unit tests for previous checkin.
git-svn-id: svn://10.0.0.236/trunk@229664 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:28:01 +00:00
dwitte%stanford.edu
3181c5c98c web content can set httponly cookie by overwriting a non-httponly one. b=387543, p=dveditz, r=dwitte, sr=mconnor.
git-svn-id: svn://10.0.0.236/trunk@229663 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:21:07 +00:00
dcamp%mozilla.com
ce486d5c5a implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229513 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 22:15:52 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sdwilsh%shawnwilsher.com
5a0e44e397 Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=cbiesinger, sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@229490 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 21:14:56 +00:00
dmose%mozilla.org
3c752eb47d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229371 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 19:31:46 +00:00
timeless%mozdev.org
4a35fe627f Bug 386614 Crash [@ nsSocketTransportService::Shutdown] when toggling offline/online in 2 frames
guarding against reentrancy from thread shutdown processing events waiting for thread join.
r=biesi sr=biesi


git-svn-id: svn://10.0.0.236/trunk@229332 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 19:33:57 +00:00
benjamin%smedbergs.us
c80e1713e7 Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi
git-svn-id: svn://10.0.0.236/trunk@229176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 18:20:28 +00:00
bent.mozilla%gmail.com
1dd5b937d4 Bug 386233 - "Content sniffers not always run depending on cache state". r+sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@229175 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 18:16:52 +00:00
benjamin%smedbergs.us
56eb117779 Reverting bug 383167 again for linux test bustage :-(
git-svn-id: svn://10.0.0.236/trunk@228774 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 19:22:55 +00:00
benjamin%smedbergs.us
8a535f621a Bug 383167 trying again, reviews by luser and biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228761 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 16:35:05 +00:00
dwitte%stanford.edu
48936af290 remove nsICookieServiceInternal. b=384990, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@228750 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 10:41:59 +00:00
dwitte%stanford.edu
e4bcc60c3c prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@228746 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 08:36:55 +00:00
dwitte%stanford.edu
ba5d9225d5 removing redeclaration, r+sr+ui-r+a=sdwilsh
git-svn-id: svn://10.0.0.236/trunk@228743 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 05:28:25 +00:00
dwitte%stanford.edu
bcb63a02e7 fix typo from storage checkin.
git-svn-id: svn://10.0.0.236/trunk@228742 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 05:10:33 +00:00
dcamp%mozilla.com
64be508c9b Properly disable caches on profile shutdown. b=380968, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@228737 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 03:25:31 +00:00
mrbkap%gmail.com
232ef63c13 Fix typo introduced by bug 374071 original changes r=crowder sr=darin.
git-svn-id: svn://10.0.0.236/trunk@228668 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 05:23:48 +00:00
asqueella%gmail.com
14d1276f7b Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@228529 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 20:18:25 +00:00
mrbkap%gmail.com
66c3830c9b Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin
git-svn-id: svn://10.0.0.236/trunk@228441 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 18:56:37 +00:00