11990 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
0fe9131095 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226699 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 03:46:22 +00:00
Olli.Pettay%helsinki.fi
08e726e308 Bug 380716, Crash [@ nsContentUtils::ContentIsDescendantOf], r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226613 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 10:23:45 +00:00
mats.palmgren%bredband.net
5a743d0a0b Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226604 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:49:15 +00:00
mrbkap%gmail.com
5b0afeed77 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226590 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 23:54:35 +00:00
bzbarsky%mit.edu
17736e6d0a Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226581 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 18:31:31 +00:00
Olli.Pettay%helsinki.fi
0c6651b28b Bug 380911, Remove nsRecycled.h, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@226540 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 20:37:35 +00:00
gavin%gavinsharp.com
e725988a6c Revert unintentional change from bug 374723, r=dolske
git-svn-id: svn://10.0.0.236/trunk@226534 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 18:59:32 +00:00
benjamin%smedbergs.us
fa4db836c0 Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226528 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 17:05:47 +00:00
gavin%gavinsharp.com
8de0219d95 Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me
git-svn-id: svn://10.0.0.236/trunk@226509 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 10:02:51 +00:00
bzbarsky%mit.edu
d11ee5752e Fix bug introduced into collapsing of long PIs and comments. Bug 379683
followup, r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@226496 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 02:52:30 +00:00
bzbarsky%mit.edu
336e5d5940 Push the new content on the stack before calling BindToTree, since some
BindToTree implementations apparently flush out the sink (!).  Bug 372323,
r+sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@226495 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 02:21:55 +00:00
jonas%sicking.cc
88ff67c45c Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@226494 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 01:13:48 +00:00
ginn.chen%sun.com
cd223a580b Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible object
patch by nian.liu at sun.com r=surkov.alexander sr=neil


git-svn-id: svn://10.0.0.236/trunk@226458 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 09:46:08 +00:00
Olli.Pettay%helsinki.fi
30ac6877b1 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226456 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 08:50:37 +00:00
cbiesinger%web.de
6e69609e46 Bug 370195 – sql device for the offline cache
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)


git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 20:09:20 +00:00
Olli.Pettay%helsinki.fi
22c5b5538f Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226374 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:29:22 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
000433da32 Put content types and charsets on the text/plain parts of the form submission
for multipart POST submissions.  Bug 116346, patch by David Nesting
<david@fastolfe.net>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226372 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 04:00:49 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
bzbarsky%mit.edu
cd70f7ed7e Make use of the wonders of inline-block to produce a much smaller DOM for XML
prettyprinting (fewer nodes, fewer frames, etc).  Speeds up prettyprinting by a
factor of 2 or so over here, with a 25% memory usage decrease.  Bug 379683,
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226370 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:00:14 +00:00
asqueella%gmail.com
b7b453777d Bug 331991 - Save as "Web Page, Complete" for HTML should include meta charset or encode all non-ASCII characters as entities
p=Ryan Jones <sciguyryan@gmail.com>
r=glazou, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@226356 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:44:06 +00:00
asqueella%gmail.com
98dcec3ccd Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request header
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@226354 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:41:46 +00:00
Olli.Pettay%helsinki.fi
99f742af6f Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226347 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 13:59:00 +00:00
peterv%propagandism.org
2aeab841e4 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226333 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 15:36:28 +00:00
bugzilla%standard8.demon.co.uk
96df74e003 Part of bug 366673 Remove remaining contents.rdf from Suiterunner (stop using installed-chrome.txt) - content/xslt/tests/buster/jar.mn fix. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226331 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 10:45:43 +00:00
Olli.Pettay%helsinki.fi
5e98380240 Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@226304 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 18:34:12 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
ed9392c13f windows bustage fix
git-svn-id: svn://10.0.0.236/trunk@226295 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:33:17 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
dbaron%dbaron.org
fd2e86c15a Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
jonas%sicking.cc
4c374fb31b Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@226276 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 20:21:13 +00:00
jst%mozilla.org
cf1e209b82 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request.
git-svn-id: svn://10.0.0.236/trunk@226222 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 00:42:33 +00:00
jonas%sicking.cc
adac3ea8d9 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@226220 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 23:33:29 +00:00
Olli.Pettay%helsinki.fi
1a3ff58619 xpcshell testcases for Bug 378247, p=Alex Vincent
git-svn-id: svn://10.0.0.236/trunk@226180 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 10:48:21 +00:00
bzbarsky%mit.edu
9c1042b2f2 Store the charset we had when we were written into when document.open()
happens.  Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16.  Bug 255820, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
Olli.Pettay%helsinki.fi
2c42d324a8 Bug 379763, Need way to determine if a given element has an event handler of a certain type r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226135 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 21:13:14 +00:00
jonas%sicking.cc
1f3839c32b back out last patch since leaks went through the roof
git-svn-id: svn://10.0.0.236/trunk@226099 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 01:03:08 +00:00
jonas%sicking.cc
a46388ac06 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987
git-svn-id: svn://10.0.0.236/trunk@226093 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 23:45:26 +00:00
bzbarsky%mit.edu
a61e3d441f Make the sync loader handle streams that close on EOF (e.g. data: URLs). Bug
379957, r=biesi, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@226087 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 22:11:53 +00:00
bzbarsky%mit.edu
3a2aee02f0 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225952 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu
c6a333df55 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
masayuki%d-toybox.com
345d3747bf Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225454 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 15:34:36 +00:00
joshmoz%gmail.com
0bfd5f5156 Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225436 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 07:46:50 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
91d02046c7 Don't throw from attribute sets if we can't find a script global to compile an
event handler attribute on.  This happens; just don't compile it.  Bug 379120,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@225396 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 19:08:08 +00:00
bzbarsky%mit.edu
708c53b956 Make InitialReflow just post a reflow event instead of doing a synchronous
reflow.  Bug 378975, r=dbaron and Eli Friedman, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
mats.palmgren%bredband.net
74e8288335 Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225239 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 00:46:47 +00:00
gavin%gavinsharp.com
7fe6a9f792 Bug 233643: clone XUL element prototype inline style rules before they can be modified by script
git-svn-id: svn://10.0.0.236/trunk@225229 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 17:58:52 +00:00
gavin%gavinsharp.com
c66fd3f277 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn
git-svn-id: svn://10.0.0.236/trunk@225227 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 17:29:19 +00:00
dbaron%dbaron.org
5333b54172 Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225209 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 16:03:15 +00:00