4325 Commits

Author SHA1 Message Date
cbiesinger%web.de
4988bf0fe7 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186979 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 13:30:19 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
cbiesinger%web.de
aa80ec3c74 bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
cvshook%sicking.cc
36a1fa551d Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186756 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-30 20:12:35 +00:00
gavin%gavinsharp.com
9a98b84a70 Bug 307616: <input type="image"> with missing image gives "ASSERTION: Form control has a frame, but it's not a form frame", remove bogus assertion, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186752 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-30 16:50:11 +00:00
mrbkap%gmail.com
f881e6b0f8 bug 321558: document.write into a new window or frame won't set the title of the
new document. Void out the old title so that we know that there hasn't been a
real <title> yet. r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@186720 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 20:38:06 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
b5ef4d21fa Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@186212 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 01:50:50 +00:00
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
ca7e6121f6 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185844 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:20:42 +00:00
mrbkap%gmail.com
50750c8f13 bug 319123: document.close in an external script that is being document.written doesn't close the document and leaks parsers and content sinks and documents. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185841 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 18:50:59 +00:00
bzbarsky%mit.edu
5fb47fd4ff Fix bug 318856 (<hr> attributes not getting the special treatment they
should).  Patch by Marco Perez <bugmail@millibyte.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@185659 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-04 16:31:26 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
95094c0b4b Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185396 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 21:51:53 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu
916a43a789 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@185374 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:37:15 +00:00
jst%mozilla.jstenback.com
2f9d94cede Fixing tinderbox orange. Add event listeners on inner windows when processing event attributes on body elements, make sure to use the inner window, not the outer.
git-svn-id: svn://10.0.0.236/trunk@185358 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 01:34:37 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
joshmoz%gmail.com
4cfd7f22d4 fix totally incorrect comment. b=317035 sr=bz
git-svn-id: svn://10.0.0.236/trunk@185120 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 05:20:32 +00:00
joshmoz%gmail.com
a10295766d Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz
git-svn-id: svn://10.0.0.236/trunk@185104 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 00:24:48 +00:00
masayuki%d-toybox.com
ab0ca2be2d Bug 316867 Should clean up the changed code by bug 55751 and bug 316715 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184888 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 05:22:04 +00:00
masayuki%d-toybox.com
a02398c96d Bug 316715 should enable IME on applet and embed elements r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184811 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 03:36:38 +00:00
bzbarsky%mit.edu
4a2e0b2852 Finish fixing bug 279378 -- land part of patch for it that never quite made it
to the tree.  r=aaronlev, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@184790 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 22:17:58 +00:00
bzbarsky%mit.edu
b2f82fd14b Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184748 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:55:29 +00:00
bzbarsky%mit.edu
f52916dfe8 Don't throw on DOM access to parts of an href just because the anchor has an
invalid URI.  Return empty strings instead.  Bug 299088, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184743 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:05:56 +00:00
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +00:00
bzbarsky%mit.edu
b1c4a358ab Remove aForce arg for ID table modifications. Bug 315770, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184602 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:05:03 +00:00
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +00:00
mrbkap%gmail.com
6b9c2499d9 bug 316049: We need to hold strong refs so that flushing doesn't nuke our presshell. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:33:11 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
9fe570c5d5 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184399 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
1247b9a400 Throw if someone sets .tFoot to something that's not a <tfoot>, and similar
with .tHead.  Bug 301685, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184395 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:46:32 +00:00
bzbarsky%mit.edu
634027a710 Fix trunk-only GetElementById regression. Bug 311681, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 21:52:06 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
12e878ae6e bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184115 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 22:47:06 +00:00
dbaron%dbaron.org
6c02daa20d Back out 311569; see bug for discussion.
git-svn-id: svn://10.0.0.236/trunk@184097 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 16:35:28 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cbiesinger%web.de
4510cfee8d bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
bzbarsky%mit.edu
0480e7cab6 Fix bug 314255 -- invalidating the canvas frame shouldn't need a layout flush.
r=vlad, sr=roc


git-svn-id: svn://10.0.0.236/trunk@183242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 14:47:45 +00:00
cbiesinger%web.de
8cc8c8248a bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183237 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:54:24 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
680d242c2c Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@183169 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 03:11:53 +00:00
bzbarsky%mit.edu
1da47293fa Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183168 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 02:59:38 +00:00
peterv%propagandism.org
7645808305 Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
a71eca5d17 Remove JS hacks in marquee and just rely on the attribute mapping code. Bug
313642, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=doron,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@183082 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 20:23:56 +00:00