1754 Commits

Author SHA1 Message Date
cvshook%sicking.cc
7d41db9309 Bug 359490: Put BeginUpdate call before FlushText call in FlushTags. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214834 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:50:33 +00:00
cvshook%sicking.cc
0b9688294e Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
e48041a41d Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214281 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 01:22:53 +00:00
cst%yecc.com
fa7000c4ab Bug 351969 nsImageDocument image scaling should never scale a dimension to 0px
r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@214146 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 01:49:38 +00:00
cvshook%sicking.cc
5c401232e7 Fix assertion from bug 355451 rs=jst
git-svn-id: svn://10.0.0.236/trunk@213725 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 21:43:08 +00:00
ted.mielczarek%gmail.com
51fffcb118 bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@213642 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
411a4ba687 Bug 355451: Be more efficient when creating HTML elements. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213625 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 22:54:12 +00:00
bzbarsky%mit.edu
b3b4b573a0 Remove nsIHTMLDocument::WasDomainSet. Use the principal instead, Luke! Bug
355948, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@213385 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 01:07:45 +00:00
cvshook%sicking.cc
c88ca333bc Bug 355433: Add an array of cached nodeinfos to the html content sinks. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213124 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 22:02:17 +00:00
peterv%propagandism.org
4095896649 Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@211854 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 17:15:38 +00:00
bzbarsky%mit.edu
98edc48be7 Remove unneeded notification on node creation. Bug 351910, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209835 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 04:48:12 +00:00
pkasting%google.com
6069428d8f Bug 348981: Crash toggling designMode.
This reverts the patch from bug 347200 and instead fixes that problem a
different way to avoid exposing crashes.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207804 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 02:38:40 +00:00
bzbarsky%mit.edu
36b317d733 Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 03:20:19 +00:00
bzbarsky%mit.edu
0583386559 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
timeless%mozdev.org
c16dc8b542 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.


git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
sayrer%gmail.com
95b0f24a09 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
pkasting%google.com
b7991a9493 Bug 347200: Designmode documents aren't spellchecked by default.
r=brettw
sr=bryner


git-svn-id: svn://10.0.0.236/trunk@206794 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 00:32:43 +00:00
mrbkap%gmail.com
3b3e656905 Protect document.open and document.close against some potential problems. bug 343168, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206341 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 21:48:03 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
0d9cbd7ca3 Go back to creating an inconsistent DOM and add a null-check elsewhere, because
the little mind of the focus code is blown by having no documentElement,
apparently.  Bug 341730, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
mats.palmgren%bredband.net
c9f10be5a1 Don't create ALT attribute for standalone image that was found in the cache. b=177747 r=bzbarsky sr=neil
git-svn-id: svn://10.0.0.236/trunk@201189 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:42:27 +00:00
enndeakin%sympatico.ca
ed636c9217 Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@201064 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
42ab54090e Clear mWyciwygChannel even if the loadgroup tells us there was an error since the call succeeds anyway. bug 342191, r=jst sr=darin
git-svn-id: svn://10.0.0.236/trunk@200868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 16:50:09 +00:00
mrbkap%gmail.com
17e58c9b0c Close shouldn't send any real text for the parser to parse, since there might
be elements open that make the text appear in the final content model. bug 342223, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@200484 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 00:39:24 +00:00
mrbkap%gmail.com
abc730764f Prevent assertions when a document that has had document.open called is closed
suddenly (without an intervening document.close call). bug 332896, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@200375 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:51:32 +00:00
bzbarsky%mit.edu
9209610724 Remove ourselves as an observer when we're done building the DOM, not when we
get destroyed, since the DOM can be messed with in ways that confuse us between
those two points in time.  Bug 341062, r=mrbkap, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@200351 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:10:29 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
dbaron%dbaron.org
f019e59995 Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
mrbkap%gmail.com
a4191ffd29 Quiet this warning for the one known case that it fires since we do a passable job of handling this case anyway. bug 341320, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200142 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 19:13:17 +00:00
mrbkap%gmail.com
0b7523274b Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
git-svn-id: svn://10.0.0.236/trunk@199768 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 22:39:55 +00:00
martijn.martijn%gmail.com
473ab4d909 Bug 333922 - Setting designMode doesn't work with enhanced privileges on a frame with a different domain, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199691 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 08:55:37 +00:00
bzbarsky%mit.edu
44f31a2103 Fix notifications so we don't double-notify when closing tags. Bug 339249,
r=mrbkap, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@199491 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:38:44 +00:00
bzbarsky%mit.edu
81c2afd375 Add assertion to catch issues like bug 312704. r=mrbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@199490 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:29:28 +00:00
bzbarsky%mit.edu
13b92c95bf Cache the list of form controls, so loading a large page with lots of form
controls outside forms is not O(N^2).  Bug 336062, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@199489 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:28:20 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
2f83475c96 Remove some pointless nsIChannel impls. Bug 337748, r=sicking, sr=darin
git-svn-id: svn://10.0.0.236/trunk@198653 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 17:26:00 +00:00
peterv%propagandism.org
399ad6834c Fix for bug 338834 (plugins are broken (PDF, WPM, MPG, AVI etc files won't load)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198264 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 15:33:15 +00:00
Olli.Pettay%helsinki.fi
8c8d5effa7 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196551 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:51:35 +00:00
gavin%gavinsharp.com
50ec5c816c Bug 337970: assert that the bookmarks charset resolver doesn't ask to be notified of the final resolved charset, since we can't currently notify, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196548 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:40:51 +00:00
gavin%gavinsharp.com
aff52b7588 Bug 337970: don't pass null to RequestCharset, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196537 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:17:04 +00:00
bzbarsky%mit.edu
572b6ceade Fix the way we do notifications so we don't notify twice for <head>. Bug
332644, r=mrbkap, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@196410 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 20:36:39 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
1a5bcd5020 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
86c63016f2 Don't half-support document.write in XHTML. Bug 332848, r=mrbkap, jst, sr=dvediz, a=dvediz
git-svn-id: svn://10.0.0.236/trunk@195934 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:20:14 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
mrbkap%gmail.com
d506ee0a4b Fixing bustage from bug 333697
git-svn-id: svn://10.0.0.236/trunk@195460 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 20:21:31 +00:00
mrbkap%gmail.com
b8f2621c76 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00