101 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
79c2bd2cd6 Add some comments explaining what these files do. rs=jst
git-svn-id: svn://10.0.0.236/trunk@193256 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 08:03:04 +00:00
bzbarsky%mit.edu
b70fa46bd0 Simplify the check for a codebase principal when setting cookies. Bug 327106,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@189961 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 16:28:46 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
1510aacc39 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com
1226adc383 bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188078 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:48:41 +00:00
roc+%cs.cmu.edu
3aa042c0b4 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182487 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:33:35 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
dfe3e9b0bc Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
c980dc5f76 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
dbaron%dbaron.org
be07cbe034 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
bzbarsky%mit.edu
12f6fa15c7 Add a "safe" way to unblock the parser, to protect against CSSLoader
stupidity.  Bug 220542, patch by Blake Kaplan <mrbkap@gmail.com>, r=jst,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168404 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 19:28:22 +00:00
bryner%brianryner.com
e1daca3ce3 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
bzbarsky%mit.edu
8f8a18bd02 Expose the content-disposition header on documents (via nsIWindowUtils), and
use it for save as.  Bug 263697, r=biesi, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@165478 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-18 20:50:16 +00:00
dbaron%dbaron.org
7d40175fee Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
cbiesinger%web.de
0be99300a4 Bug 250342 Views should not inherit from nsISupports
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
peterv%propagandism.org
81c8531df2 Add comment to explain the fix for bug 243392.
git-svn-id: svn://10.0.0.236/trunk@160477 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-07 17:25:56 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu
d5ed39f76e Make use of <meta http-equiv="content-language"> and stop setting
content-language based on user prefs for accept-language.  Bug 246454, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@159279 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:07:00 +00:00
tor%cs.brown.edu
bcbc310507 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@158808 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 22:52:03 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
66440bd3e4 Checking in fix for bug 243392. Prevent execution of external script that finishes loading after the page where they came from is unloaded. Patch by peterv@propagandism.org, r=bzbarsky@mit.edu, sr=jst@mozilla.jstenback.com
git-svn-id: svn://10.0.0.236/trunk@157379 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 19:45:03 +00:00
bzbarsky%mit.edu
2ce7c13354 When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157195 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 20:56:55 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
bzbarsky%mit.edu
a224d361f0 Backing out content-location support. See bug 238654 and dependencies/dups for
reasons.  r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@155705 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 21:10:05 +00:00
bzbarsky%mit.edu
f781e488a7 Relanding bug 238654 in a way that hopefully builds. r=sicking, sr=darin,
a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@154528 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-06 00:57:13 +00:00
bzbarsky%mit.edu
ac21c4a661 Backing out to fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@154516 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-05 15:43:21 +00:00
bzbarsky%mit.edu
98bf57d332 Disable content-location support when dealing with servers known to send out
bogus content-location headers.  Bug 238654, r=sicking, sr=darin, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@154513 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-05 15:02:48 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
hpradhan%hotpop.com
6f4724db9f bug 229575 : refactor some code that was common between
the xml and html content sinks into nsContentSink
r=sicking sr=jst


git-svn-id: svn://10.0.0.236/trunk@151948 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 12:14:17 +00:00
bzbarsky%mit.edu
86fee95b4d Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu
3b89ac8234 Add Content-Location header support. Bug 109553, r=jst, sr=darin
git-svn-id: svn://10.0.0.236/trunk@151014 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 04:04:16 +00:00
hpradhan%hotpop.com
b1f5788e3e backing out last two checkins since they had no effect on Tp
git-svn-id: svn://10.0.0.236/trunk@150709 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com
ec6e4a4dc7 bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@150706 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com
5139c3655c bug 229163 : Going back to using an nsISupportsArray
to try and fix perf regression r=sicking sr=jst


git-svn-id: svn://10.0.0.236/trunk@150705 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 07:45:06 +00:00
dwitte%stanford.edu
55a5a686dc remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@148522 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:59:31 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
hpradhan%hotpop.com
1c581a3fca still bug 218837 : backing out all the backouts. they did not work.
git-svn-id: svn://10.0.0.236/trunk@147582 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
155cccf24e One final attempt to fix Tp regression from bug 218837
git-svn-id: svn://10.0.0.236/trunk@147581 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
b17a745241 backing out part of bug 218837. hoping to fix Tp regression
git-svn-id: svn://10.0.0.236/trunk@147580 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com
4fb3a8bf05 bug 218837 : bustage fix
git-svn-id: svn://10.0.0.236/trunk@147578 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 08:09:28 +00:00