Граф коммитов

9445 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 9381c2fc64 295916 r=mrbkap sr=bz a=shaver
- make parser handle calling Parse with an empty string and aLastCall=true
  correctly
- call that from document.close() even in the non-HTML case
2005-06-01 19:13:39 +00:00
timeless%mozdev.org 6b5dbf7bf2 Bug 290197 unchecked outputstream [@ nsXULPrototypeScript::Serialize]
r=bz sr=bz a=shaver
2005-06-01 18:33:20 +00:00
timeless%mozdev.org 914802b4f2 Bug 289068 ASSERTION: WriteToBuffer called with count of zero: 'count', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 710
r=jst sr=jst a=shaver
2005-06-01 16:10:58 +00:00
bzbarsky%mit.edu 5c2cbd6802 Just use our document for the doc we call ContentStatesChanged on instead of
trying to get it off the content nodes (which may no longer be in a document by
this point).  Bug 274736, r+sr=roc, a=shaver
2005-06-01 15:38:09 +00:00
bzbarsky%mit.edu b76f90dde8 Fix up more of the m*Content pointers correctly when content is removed from
the document.  Bug 293914 followup, r+sr=dbaron, a=shaver
2005-06-01 15:36:11 +00:00
bzbarsky%mit.edu 3115852b5a Fix memory leak. Bug 296014, r+sr=roc, a=shaver 2005-06-01 15:26:34 +00:00
allan%beaufour.dk 2b1e5f1170 fixing bustage, bug 235512 2005-06-01 14:50:34 +00:00
neil%parkwaycc.co.uk 37da555720 Bug 285830 textContent ignores whitespace r=sicking sr=jst a=shaver 2005-06-01 13:59:38 +00:00
allan%beaufour.dk c4f47b802a Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver 2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu bbb6167758 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
vladimir%pobox.com c0480b0899 b=295302, canvas drawImage fix, and gtk crash fix, r=pavlov,a=chofmann 2005-05-31 18:38:27 +00:00
bzbarsky%mit.edu 77b7e763aa Pass the document URI for the <key>'s or <command>'s document as the script
filename when compiling the <key>'s handler.  Bug 295160, r+sr=jst, a=asa
2005-05-24 17:30:07 +00:00
bsmedberg%covad.net 4d3c35bf2b Move xmlprettyprint stylesheets to "global" package, noticed this during bug 281988, r+sr=bzbarsky a=drivers 2005-05-20 16:42:15 +00:00
pavlov%pavlov.net 5838642122 fixing crash in canvas when calling restore() without save(). bug 294784. r=vlad a=shaver 2005-05-20 15:26:54 +00:00
bryner%brianryner.com f5df3b036d Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron. 2005-05-20 01:31:26 +00:00
timeless%mozdev.org 763151dc4b Bug 294831 JS OOM crash [@ nsXBLPrototypeBinding::InitClass]
r=bz sr=bz a=asa
2005-05-20 01:05:55 +00:00
roc+%cs.cmu.edu b19de6b75b Fixing bustage. 2005-05-19 21:57:10 +00:00
roc+%cs.cmu.edu 083ca626b2 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
bzbarsky%mit.edu c902337e6b Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
r+sr=peterv, a=asa
2005-05-19 19:56:13 +00:00
bzbarsky%mit.edu 0f4f2468fe Update focus and hover state correctly when an _ancestor_ of the current focus
or hover content is removed from the DOM.  Bug 293914, r+sr=roc, a=asa
2005-05-19 16:18:32 +00:00
bzbarsky%mit.edu 0b9e6ca5c6 Back out the patch for bug 211128 to fix bug 293639. r=sicking, sr=peterv, a=asa 2005-05-19 16:12:13 +00:00
vladimir%pobox.com 9d73f6f401 b=294400, fix mac image handling; 293221, default canvas values; 294572, mac image rendering issues. r+a=shaver 2005-05-18 03:58:01 +00:00
bryner%brianryner.com 27e59af17a Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
tor%cs.brown.edu dc0cdb448f Bug 288265 - saving svg page messing up viewBox attributes.
r=jwatt, src=bzbarsky, a=dveditz
2005-05-17 22:52:33 +00:00
aaronleventhal%moonset.net 3932b0279b Bug 294180. MSAA positional descriptions wrong for radio buttons in HTML form. r=timeless, sr=bz, a=chofmann 2005-05-17 21:50:27 +00:00
vladimir%pobox.com f443ef291d b=294134, fix canvas premultiplied alpha handling, r=pavlov 2005-05-14 08:31:23 +00:00
bzbarsky%mit.edu 5441b44331 Use the document as the context, not the node, since trying to JS-wrap the node
will reenter XBL loading.  Bug 293778, r+sr=jst, a=shaver
2005-05-14 02:55:41 +00:00
bzbarsky%mit.edu c76e70655e Add a document api to prevent onload from firing too early. Bug 293818,
r=darin, sr=jst, a=asa
2005-05-13 19:54:28 +00:00
vladimir%pobox.com 51353d9ac9 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver 2005-05-12 21:34:56 +00:00
bzbarsky%mit.edu f8dd552d90 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
tor%cs.brown.edu a942aa6aad Bug 293265 - rename --enable-cairo to --enable-canvas. r=bsmedberg, a=asa 2005-05-11 23:49:52 +00:00
bzbarsky%mit.edu d027d0d173 Remove unused variable. r=timeless, sr=lumpy, a=asa 2005-05-10 23:41:48 +00:00
bzbarsky%mit.edu 5284d540b7 Do content policy checks on XBL binding loads. Bug 292589, r+sr=jst, a=dbaron 2005-05-10 21:07:00 +00:00
bryner%brianryner.com b1e0c597ab Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver. 2005-05-10 02:06:29 +00:00
vladimir%pobox.com 231c7a2f54 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
bzbarsky%mit.edu de5864cb2a Fix typo that kept data: images from updating the titlebar. Bug 293399,
r=biesi, sr=brendan, a=dbaron
2005-05-08 23:21:36 +00:00
pavlov%pavlov.net 4e4627fe62 fixing drawImage bustage on windows with bgr_a8 images r=vlad a=brendan 2005-05-08 01:33:33 +00:00
vladimir%pobox.com 159e6f326f tiny fix for windows rgb order for canvas, r=pavlov 2005-05-08 01:29:31 +00:00
vladimir%pobox.com 71dac5720c b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
bryner%brianryner.com f3d10fa3c3 Don't notify form submit observers if the form can't be submitted due to not having a link handler. Also, make sure all nsIFormSubmitObserver implementations protected against a null DOMWindow. Bug 292960, r+sr=bzbarsky, a=brendan. 2005-05-07 00:16:17 +00:00
bryner%brianryner.com 592dbdc176 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu 1d5cc9c6c2 cite property on ins/del should be a URI, not a string. Bug 292754,
r+sr=jst, a=dbaron
2005-05-03 23:32:35 +00:00
bzbarsky%mit.edu 083870d241 Only unset :hover in NotifyMouseOut if we're not mousing over
anything. Otherwise, let NotifyMouseOver handle changing :hover; it's faster
that way.  Bug 292472, r+sr=roc, a=dbaron
2005-05-03 16:05:48 +00:00
bzbarsky%mit.edu 632a834fb0 Make the base URI for anon nodes in an XBL binding be the URI of the XBL
document.  Bug 211128, r+sr=jst, a=chofmann
2005-05-03 16:01:22 +00:00
bzbarsky%mit.edu 0d9afc5e97 Remove an unneeded "creating" check, since we'll never have a document while
we're still being created now.  Bug 289322, r=sicking, sr=jst, a=chofmann
2005-05-03 15:56:18 +00:00
Olli.Pettay%helsinki.fi c985ef60fd Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann 2005-05-02 17:54:41 +00:00
bzbarsky%mit.edu 16652732b8 When a form control is removed from the document and no longer has a form, also
check whether it's still in the same subtree as its mForm.  If it is, then
don't remove it from the form.  Bug 291042, r=sicking, sr=peterv, a=chofmann
2005-05-02 04:41:06 +00:00
bzbarsky%mit.edu ca9474a54f Don't flag XUL elements created via nsXULElement::Create as being in a document
-- they're not.  Bug 292247, r=sicking, sr=jst, a=chofmann
2005-05-01 17:32:49 +00:00
cbiesinger%web.de c98126213b 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa
2005-05-01 13:06:48 +00:00
bzbarsky%mit.edu 0597971698 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com c4b8dd4f16 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu 174cecbc39 Bug 291537. Don't wipe out mGestureDownPoint in StopTrackingDragGesture, since we may need it right afterward. r+sr=bzbarsky,a=asa 2005-04-28 22:11:53 +00:00
dbaron%dbaron.org c5fbc00351 Mouseout shouldn't fire on elements that were removed from the document. b=292146 r+sr=roc a=asa 2005-04-28 20:47:53 +00:00
bzbarsky%mit.edu aefdfc7bac Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa 2005-04-28 20:23:26 +00:00
bzbarsky%mit.edu 27b27bd5fc Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu cd9031b7b1 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
ben%bengoodger.com 248b172d94 291206 - verbose template rule format does not support parsetype='Integer' for literal match conditions... r=vlad sr=bryner a=brendan 2005-04-23 01:42:31 +00:00
tor%cs.brown.edu 745fa565a5 Bug 291499 - prevent infinite indent in layout-debug. r+sr+a=dbaron 2005-04-22 19:46:35 +00:00
dbaron%dbaron.org fd94b01f7c Restore broken .detail property on overflow and underflow events. b=291198 Patch from Nate Nielsen <nielsen@memberwebs.com>. +sr+a=dbaron 2005-04-22 02:01:34 +00:00
bzbarsky%mit.edu cffe86dac3 Improve error-reporting for XBL content sink. Bug 290870, r+sr=bryner, a=asa 2005-04-21 21:31:05 +00:00
pavlov%pavlov.net 041bdfaa2a fixing clearRect to actually clear r=vlad a=brendan 2005-04-20 01:59:51 +00:00
vladimir%pobox.com 119a1eb306 b=291049, add patterns and gradients to canvas, r=pav,a=brendan 2005-04-20 00:00:23 +00:00
roc+%cs.cmu.edu 9fd534c57f Bug 255378. Make the click-hold context menu code keep content references, not frame references, just as the drag gesture code does, so that it's robust to frame reconstruction during the click-hold time interval. r+sr=bzbarsky,a=asa 2005-04-19 23:03:23 +00:00
bryner%brianryner.com c60078405e Make --enable-cairo work for windows/msvc by switching it over to our build system. Bug 290518, r=vlad, pavlov. 2005-04-19 17:19:47 +00:00
bzbarsky%mit.edu b6817cdd3b Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu 9b44d06e51 Remove code that just duplicates what SetAnonymousContentFor(content, nsnull)
will do anyway.  Bug 289391, r=sicking, sr=peterv, a=brendan
2005-04-18 23:01:30 +00:00
bzbarsky%mit.edu f911f30fc9 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu 92b520e770 Fixing the XUL content sink's error reporting. Bug 289469, r+sr=peterv, a=dbaron 2005-04-18 19:44:14 +00:00
vladimir%pobox.com decabfa7ee = 0 for pure virtaul methods on interface 2005-04-18 09:00:11 +00:00
vladimir%pobox.com 37bdb5f099 missed on checkin; avoid refcount leak for mCanvasElement 2005-04-18 08:34:02 +00:00
vladimir%pobox.com d7018ad980 more canvas landing horkage fixing 2005-04-18 07:30:14 +00:00
vladimir%pobox.com 05ae4cd82f canvas horkage fix 2005-04-18 07:04:49 +00:00
vladimir%pobox.com 3f408c1608 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
roc+%cs.cmu.edu 249c80f870 Bug 288406. Stop tracking potential drag gesture *before* we fire the drag DOM event, in case something happens that causes us to think a second drag gesture happens recursively. r+sr=bzbarsky,a=asa 2005-04-18 00:48:59 +00:00
mrbkap%gmail.com bfa533e175 bug 289970: Fix a leak when using the sanitizing serializer by breaking the sink/parser cycle in DidBuildModel. r=BenB sr=bzbarsky a=asa 2005-04-15 04:05:18 +00:00
bzbarsky%mit.edu 61629299d4 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu 3dc9d7d394 Fix build bustage 2005-04-12 15:50:25 +00:00
bzbarsky%mit.edu c12c593778 Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu 67b8f9038a If our image was previously blocked and we're asked to maybe reload it, don't
check whether the URI changed; just try loading (since this time we may not be
blocked).  Bug 251354 followup, r=sicking, sr=shaver, a=chofmann
2005-04-11 16:37:27 +00:00
bzbarsky%mit.edu e9b905835e Disable loading of images in data documents on the document level, not on the
node level.  Bug 251354, r=sicking, sr=peterv, a=asa
2005-04-11 00:29:36 +00:00
bzbarsky%mit.edu 3601f2dd9e Fix mouseover event regression by making sure to init our doc pointer before
null-checking it.  Bug 289719 and oodles of dependencies, r+sr=roc, a=asa
2005-04-10 23:35:18 +00:00
smontagu%smontagu.org 3083cdcef3 Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa 2005-04-10 06:40:10 +00:00
bzbarsky%mit.edu 5403d4e3c2 Use the owner document when compiling event handlers. Bug 289456, r+sr=jst,
a=dbaron
2005-04-09 17:32:25 +00:00
aaronleventhal%moonset.net f0ee890389 Missing part of checkin for bug 287730. Reporting position of radio buttons, r+sr=bz on missing part, a=asa 2005-04-07 14:08:12 +00:00
roc+%cs.cmu.edu 0060ad51ab Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa. 2005-04-07 04:04:06 +00:00
bzbarsky%mit.edu 4f12075656 Append HTML nodes to the DOM on node creation, not when we hit the close tag.
Should help with the Tp regression.  Bug 289311, r=sicking, sr=jst
2005-04-07 03:30:50 +00:00
roc+%cs.cmu.edu 697dae9898 Bug 288775. Don't forget to pass relatedTarget to mouseout events, pointing to the element the mouse is moving into. r+sr=bzbarsky,a=dbaron 2005-04-07 00:19:08 +00:00
ben%bengoodger.com 55c1ef4bd6 crash at nsXULDocument::OverlayForwardReference::Merge due to broken implementation of removeelement attribute for overlay merging... we always want to notify of node removals, so don't pass the notify flag along to the Remove function, always send PR_TRUE so that state is updated correctly. r=bz, sr=bryner, a=brendan 2005-04-06 23:19:20 +00:00
bzbarsky%mit.edu 42ab60e2b9 Fix crash regression bug 289180. r=mrbkap, sr=roc 2005-04-06 06:28:28 +00:00
dbaron%dbaron.org 1dbc07ffd2 Fix bustage. b=288626 2005-04-06 05:20:41 +00:00
bzbarsky%mit.edu 58c75a0a1e Back out the preappend change now that the image changes are in to see what Tp does... 2005-04-06 03:40:51 +00:00
bzbarsky%mit.edu 3f3283562b Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).
2005-04-06 02:55:02 +00:00
jst%mozilla.jstenback.com 5685890daf Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-04-06 02:22:45 +00:00
cvshook%sicking.cc fd455a4b2a Bug 289053: Fix assertion when setting fontsize to empty or whitespace-only string. Also treat big relative fontsizes as absolute fontsizes so they at least render correctly.
r/sr=bz
2005-04-06 02:07:52 +00:00
bzbarsky%mit.edu 483b304692 Attempting to fix Tp regression 2005-04-06 01:23:07 +00:00
bzbarsky%mit.edu 9b1db9f768 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
cst%andrew.cmu.edu bc7ecfa66e Bug 189982 automatic image resizing: state of the image should be kept after resizing the browser window
r=bz sr=roc
2005-04-05 18:59:22 +00:00
timeless%mozdev.org 7a11b97e31 Bug 289063 protected recursion triggers ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file r:/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 3469
r=bz sr=bz
2005-04-05 18:46:44 +00:00
bzbarsky%mit.edu b21034222e Removing the type attr should make an input a text input. Bug 288331, r+sr=jst 2005-04-05 03:46:12 +00:00
bzbarsky%mit.edu a2c2c1f13b Fix content teardown in ReportError to also get rid of our buffered-up text
content.  Bug 288674, r=mrbkap, sr=jst
2005-04-05 03:40:36 +00:00