Commit Graph

1409 Commits

Author SHA1 Message Date
dwitte@stanford.edu
faeb488a77 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
2007-07-25 23:31:49 -07:00
dcamp@mozilla.com
d0e325d71c properly delete old files during an offline cache update. b=389591, r+sr=biesi 2007-07-25 17:47:33 -07:00
kaie@kuix.de
931bb87869 Bug 382223, Add support for Camellia to PSM
Patch contributed by okazaki
r=kengert
2007-07-25 15:53:30 -07:00
myk@mozilla.org
58273b5215 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 2007-07-25 13:40:41 -07:00
bzbarsky@mit.edu
1e0b05ffcf 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
2007-07-25 10:21:41 -07:00
enndeakin@sympatico.ca
4ada13e2d9 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
sharparrow1@yahoo.com
2274f05553 Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi 2007-07-25 09:22:27 -07: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
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
cbiesinger@gmx.at
9ae7c9de67 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
dmose@mozilla.org
ee90fd6056 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. 2007-07-24 16:38:29 -07:00
myk@mozilla.org
388545f1a3 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 2007-07-24 13:29:50 -07:00
bzbarsky@mit.edu
dc8de3f8f7 Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
mats.palmgren@bredband.net
8059d478b7 Don't clobber 'pos' in the inner loops since we might need it again for the outer loop. b=388424 r=cbiesinger sr=bzbarsky 2007-07-22 06:15:38 -07:00
cbiesinger@gmx.at
58c915e6bf 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
2007-07-18 14:37:39 -07:00
jwalden@mit.edu
b9d07173a5 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 2007-07-18 14:32:50 -07:00
dmose@mozilla.org
f17228f4ff Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -07:00
bzbarsky@mit.edu
28323d5173 Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi 2007-07-16 21:48:47 -07:00
dwitte@stanford.edu
ca97f9c4a8 add cookie tests for creation time ordering and eviction. 2007-07-16 14:06:55 -07:00
dwitte@stanford.edu
88b3d4896c Use getters and setters for database schema version. b=386369, p=sdwilsh, r=dwitte, sr=biesi. 2007-07-16 14:05:35 -07:00
jwalden@mit.edu
bfd8039d8a 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. 2007-07-12 16:33:51 -07:00
dveditz@cruzio.com
3745d28e95 bug 383478 deal with %00 in file urls, r=bz,darin 2007-07-12 16:04:24 -07:00
jwalden@mit.edu
af5688aa77 Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
7c3f8e2c1c Turn on server debugging for a cycle to figure out the orange, bug 384192. 2007-07-11 23:41:56 -07:00
jwalden@mit.edu
76bb7db098 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 2007-07-11 22:38:47 -07:00
mrbkap@gmail.com
fcde0538ee 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 2007-07-11 15:52:28 -07:00
dwitte@stanford.edu
97665dc2d0 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
dwitte@stanford.edu
31d7ad3b22 web content can set httponly cookie by overwriting a non-httponly one. b=387543, p=dveditz, r=dwitte, sr=mconnor. 2007-07-10 20:21:07 -07:00
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -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
sdwilsh@shawnwilsher.com
25025ee30f Bug 333848 - add full-featured user-defined functions and progress handlers to storage. Patch by Lev Serebryakov <blacklion@gmail.com>. r=cbiesinger, sr=cbiesinger 2007-07-07 14:14:56 -07:00
dmose@mozilla.org
d28396462d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
timeless@mozdev.org
e427f99df5 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
2007-07-04 12:33:57 -07:00
benjamin@smedbergs.us
75dc0cfd4c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
bent.mozilla@gmail.com
a099577eae Bug 386233 - "Content sniffers not always run depending on cache state". r+sr=biesi. 2007-07-02 11:16:52 -07:00
benjamin@smedbergs.us
5ebfce3c70 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us
bd5749568a Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
dwitte@stanford.edu
1ad6eb2554 remove nsICookieServiceInternal. b=384990, r+sr=biesi 2007-06-26 03:41:58 -07:00
dwitte@stanford.edu
f03c281249 prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz 2007-06-26 01:36:50 -07:00
dwitte@stanford.edu
1543d48f1b removing redeclaration, r+sr+ui-r+a=sdwilsh 2007-06-25 22:28:25 -07:00
dwitte@stanford.edu
8afd980244 fix typo from storage checkin. 2007-06-25 22:10:33 -07:00
dcamp@mozilla.com
0aefd90a7f Properly disable caches on profile shutdown. b=380968, r+sr=biesi 2007-06-25 20:25:31 -07:00
mrbkap@gmail.com
958e1a6be0 Fix typo introduced by bug 374071 original changes r=crowder sr=darin. 2007-06-24 22:23:48 -07:00
asqueella@gmail.com
7cb7471f2a Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
mrbkap@gmail.com
c2eb204370 Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-21 11:56:37 -07:00
dwitte@stanford.edu
e55450dea9 remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi 2007-06-20 22:17:08 -07:00
bzbarsky@mit.edu
8e3788dec7 Fix assertion to not fire when it shouldn't. Bug 303003, patch by Radek
'sysKin' Czyz <syskin@syskin.cjb.net>, r=alfredkayser@nl.ibm.com, sr=biesi
2007-06-18 08:24:17 -07:00
dwitte@stanford.edu
b85020d757 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
dwitte@stanford.edu
703d65b306 rev nsICookieManager2 interface to allow adding httpOnly cookies, and update consumers to match. b=379408, r+sr=biesi. 2007-06-17 16:40:40 -07:00
dwitte@stanford.edu
7e8c0cc18e switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 14:52:22 -07:00
kherron@fmailbox.com
8d9db0e22f Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
dwitte@stanford.edu
1d2c79b900 removing unused p3p-related files. 2007-06-16 17:42:13 -07:00
kherron@fmailbox.com
3ef7e96849 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
mrbkap@gmail.com
204ffd0ef1 Backing out to fix orange. 2007-06-14 17:46:26 -07:00
mrbkap@gmail.com
33b94743eb Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-14 16:22:27 -07:00
sdwilsh@shawnwilsher.com
1ba37932bb Bug 383786 - nsIOService uses an Init method when it doesn't need to. Patch by Ryan Jones <sciguyryan@gmail.com>. r=bzbarsky sr=cbiesinger 2007-06-10 17:01:48 -07:00
kaie@kuix.de
4847498bb8 Bug 110161, enable OCSP by defaultr=cbiesinger, sr=mconnor 2007-06-05 12:27:42 -07:00
rflint@ryanflint.com
58b0e61e6f Bug 382373 - NS_ERROR_NOT_RESUMABLE and NS_ERROR_FTP_LIST are the same value (25). Patch by Edward Lee <edilee@gmail.com>, r=cbiesinger 2007-06-04 22:48:25 -07:00
db48x@yahoo.com
5ebf301846 Bug 321706 - Some elements of pages in sub-directories are not loaded if the URL ends by /.patch by Florian Quèze <f.qu@queze.net>, r+sr=cbiesinger 2007-06-03 07:31:14 -07:00
timeless@mozdev.org
643be74562 Bug 191187 Request for UDP/IP (datagram) socket provider and supportbased on dougt's workpatch by mook.moz+mozbz@gmail.comr=biesi sr=bz 2007-05-30 23:07:26 -07:00
kaie@kuix.de
06f32215fd Bug 110161. Code related to the plan to enable OCSP by default.r=rrelyea, toolkit r=mconnor 2007-05-30 16:13:28 -07:00
wtc@google.com
3520824920 Bug 213637: follow the all lowercase comment style of this file. 2007-05-30 14:36:02 -07:00
wtc@google.com
3c2e95bee3 Bug 213637: if the pollable event becomes broken, create a new one. If wecan't create a new one, fall back on "busy wait". Since the pollable eventmay change now, we use a lock to protect it. The bug was tracked down byLiming Zhan. sr=darin.Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-05-30 10:30:39 -07:00
roc+@cs.cmu.edu
57aeb31980 Bug 381657. Install offline cache listener even for loads from the disk/memory caches. patch by Dave Camp, r+sr=biesi 2007-05-29 19:34:23 -07:00
bent.mozilla@gmail.com
5c7024b338 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
jwalden@mit.edu
4523eb7fe5 Bug 367214 - mod_cern_meta support in the HTTP server, enabling modification of the HTTP status and headers sent in the response for a file. r=biesi 2007-05-20 18:35:06 -07:00
dwitte@stanford.edu
ef6b365c4c Bug 368317 - temp files remain if MoveToNative fails in nsSafeFileOutputStream::Finish(). patch by Ryan Jones (sciguyryan@gmail.com), r=mvl, sr=biesi 2007-05-20 11:12:26 -07:00
mozilla.mano@sent.com
b70f0e0942 Re-enabling digest auth. tests, a=sayrer. 2007-05-19 17:33:28 -07:00
mozilla.mano@sent.com
0c57aaac1e Commenting out some failing authentication tests to check whetehr places-bookmarks build on the windows machines of MozillaTest, a=sayrer. 2007-05-18 14:53:18 -07:00
sspitzer@mozilla.org
cf8478fbfc fix for bug #380741: Crash with about:cache and clear privacy data [@nsCOMPtr::StartAssignment]fall out from bug #380704: compile error [@nsOfflineCacheDevice::Init]fix by dcamp@mozilla.com, r/sr=biesi 2007-05-17 11:33:19 -07:00
alfred.peng@sun.com
8aff595076 Bug 380704. compile error [@nsOfflineCacheDevice::Init]. Fix the bustage for bug 370195 on Solaris SPARC/x86 with Sun Compiler.r+sr=jst. 2007-05-15 00:53:42 -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
gavin@gavinsharp.com
e709c38502 Bug 379997: don't delete logins if authentication fails, patch by Justin Dolske <dolske@mozilla.com>, r+sr=biesi 2007-05-14 11:39:34 -07:00
asqueella@gmail.com
b27c97fe76 Bug 369787 - calling nsHttpChannel::SetContentType on a closed channel doesn't work as expected.p=Sylvain Pasche <sylvain.pasche@gmail.com>r=biesi, sr=darin 2007-05-13 10:09:52 -07:00
dwitte@stanford.edu
79b57327d1 unit test for new cookie path checks, per bug 373228. 2007-05-07 04:40:23 -07:00
dveditz@cruzio.com
f6877b70d3 bug 373228 incorporate additional review comments after initial checkin, r=dwitte, a=release-drivers 2007-05-07 04:14:01 -07:00
dwitte@stanford.edu
e0c1921b4e add nsICookieManager{2} interface tests. 2007-05-05 18:31:06 -07:00
dwitte@stanford.edu
ec6657c4bd tweak some comments to reflect the changes in bug 240963. 2007-05-05 18:29:44 -07:00
dwitte@stanford.edu
29ca525e36 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.bug 379239, r=mvl, sr=biesi 2007-05-05 14:09:54 -07:00
asqueella@gmail.com
5422f92f6b Bug 372554 - "ASSERTION: cannot set host on no-auth url" trying to set location.hostname at a file: URLp=Ryan Jones <sciguyryan@gmail.com>r=biesi/r+sr=jst 2007-05-03 23:42:28 -07:00
asqueella@gmail.com
19b90382ec 287469 - fix source comments to match idl.r+sr=biesi 2007-05-03 23:00:33 -07:00
sayrer@gmail.com
f072dabd07 Bug 378787. Digest Authentication Request Splitting. r=biesi, sr=brendan 2007-05-03 20:31:30 -07:00
bzbarsky@mit.edu
1414308296 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
dveditz@cruzio.com
26ebf9833f bug 373228 prevent cookies with long paths from taking too much space, r=dwitte, a=juanb 2007-05-01 01:14:49 -07:00
dwitte@stanford.edu
ce9b9bdb62 comment sp fix. 2007-04-29 00:52:23 -07:00
asqueella@gmail.com
ad930c84a4 Bug 378128 - ascii art in IDL files should be protected so that it displays in documentationp=Ray Kiddy <ray@ganymede.org>r=biesi 2007-04-27 09:50:11 -07:00
asqueella@gmail.com
f32e01f616 test for bug 261425 - a space in a url between the : and // does nothing.p=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-27 09:20:26 -07:00
asqueella@gmail.com
2fca2dccd7 Bug 368702 - Effective TLD Service should treat trailing dot properlyp=Wladimir Palant <trev.moz@adblockplus.org>r=biesi, sr=dveditz 2007-04-27 07:50:15 -07:00
asqueella@gmail.com
a662596943 Bug 377049 - nsBaseURLParser::ParsePath doesn't handle strings that are not NULL terminated, take 2.p=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-27 07:34:26 -07:00
asqueella@gmail.com
d7957d4f56 Backed out until the patch is tested. Sorry for not building with it.b=377049 2007-04-25 14:10:54 -07:00
asqueella@gmail.com
94f197331e Bug 377049 - nsBaseURLParser::ParsePath doesn't handle strings that are not NULL terminatedp=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-25 13:57:35 -07:00
asqueella@gmail.com
b8416a312a Bug 376865 - nsInputStreamPump::AsyncRead does not null check listenerp=Ryan Jones <sciguyryan@gmail.com>r+sr=biesi 2007-04-25 13:52:16 -07:00
Olli.Pettay@helsinki.fi
23b2b446b7 Bug 378380, FTP problem with IBM iSeries (AS400, Series I) systems (does not recognize SYST response), p=bugzilla@mcsmurf.de, r+sr=biesi 2007-04-23 09:28:12 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bent.mozilla@gmail.com
f3296f0003 Bug 372050 - "Expose UnescapeString through nsINetUtil". Patch by Prasad Sunkari <prasad@medhas.org>. r+sr=biesi. 2007-04-23 07:19:04 -07:00
sayrer@gmail.com
ec7d7bf042 bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-22 16:56:06 -07:00
cbiesinger@web.de
37000f6990 extend test for bug 376660: also test failure cases. r=bz 2007-04-22 13:00:17 -07:00
sayrer@gmail.com
8c59031fab backout patch from bug 373253 because changes to nsIPasswordManagerInternal, yes Internal, break multiple projects. 2007-04-20 19:14:40 -07:00
sayrer@gmail.com
42c56a3a5b Bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-20 18:46:51 -07:00
bzbarsky@mit.edu
557e77debe Add test and some docs for bug 376660. r=biesi 2007-04-16 18:47:57 -07:00
gijskruitbosch@gmail.com
3ae532001a Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
bzbarsky@mit.edu
5a8ef9b905 Set mChannel so consumers can get it even if we have no data. Bug 376660,r+sr=biesi 2007-04-05 16:06:00 -07:00
cbiesinger@web.de
161b7e27b8 Bug 375878 remove users of Recycle()patch by taras glek r+sr=biesi 2007-03-30 15:44:22 -07:00
gijskruitbosch@gmail.com
e27f89009b Bug 375488 - HttpOnly Cookies broken (exchanged httponly and secure arguments in function call)
p=ronny.perinke@gmx.de (Ronny Perinke)
r=mozilla@kaply.com
sr=darin.moz@gmail.com (Darin Fisher)
2007-03-27 10:34:12 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
cbiesinger@web.de
1390efdf1e Bug 372486 – Document and enforce that channels can't be reopenedpatch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin 2007-03-23 14:56:32 -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