Commit Graph

2643 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
d479536899 Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky 2007-06-10 12:27:57 -07:00
roc+@cs.cmu.edu
c71327187f Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
2bfebe1bc6 Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
bzbarsky@mit.edu
6dfd7347b4 When serializing a <q> as plaintext, put in quotes even if we're not doingformatted output. Bug 378407, r=glazman, sr=sicking 2007-06-05 12:24:55 -07:00
jonas@sicking.cc
607f8caad0 Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
roc+@cs.cmu.edu
bc2c8b9809 Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker... 2007-05-30 17:06:31 -07:00
roc+@cs.cmu.edu
ff7447834d Fixing bustage 2007-05-30 15:36:30 -07:00
roc+@cs.cmu.edu
cf38be799a Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
18223fc22d Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
jonas@sicking.cc
a8a2928a3a Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz 2007-05-30 13:43:41 -07:00
bclary@bclary.com
7798f66122 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
neil@parkwaycc.co.uk
975c75417a Bug 380364 Fix regressions from bug 236546 r+sr=jst 2007-05-25 13:47:30 -07:00
Olli.Pettay@helsinki.fi
b9a6965dbe Bug 381153, r+sr=roc 2007-05-25 03:09:29 -07:00
jonas@sicking.cc
0a47e8baa7 Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz 2007-05-24 17:28:20 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
roc+@cs.cmu.edu
197e7e6d0b Backing out to fix bustage :-( 2007-05-23 22:16:52 -07:00
roc+@cs.cmu.edu
e138eb3816 Bug 336959. Reland update to use Pango for linebreaking of Thai and CJK text on Linux. patch by Theppitak Karoonboonyanan, r+sr=roc 2007-05-23 20:16:16 -07:00
bzbarsky@mit.edu
e1a7b2b6ef Make sure we flush out content before we try to set up the plug-in, sincethat's going to perform DOM access that can flush. Bug 377070, r+sr=biesi 2007-05-23 12:53:31 -07:00
roc+@cs.cmu.edu
5cf44de899 Backing out due to bustage. 2007-05-22 21:26:42 -07:00
roc+@cs.cmu.edu
daa8d1177d Bug 336959. Use Pango to break lines for CJK and Thai. r+sr=roc, patch by Theppitak Karoonboonyanan. 2007-05-22 21:06:20 -07:00
roc+@cs.cmu.edu
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
jonas@sicking.cc
4108fb711b Bug 380872: Bind nodes in insertion points directly under <children>. r/sr=bz 2007-05-22 15:41:32 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
Olli.Pettay@helsinki.fi
0a6d3668cd Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
jonas@sicking.cc
d8633e02b4 Bug 380872: Forgot to address bzs review comment to remove this assertion. r/sr=bz 2007-05-21 17:08:05 -07:00
mrbkap@gmail.com
6a241398b2 Don't assume that the parser is still enabled after we've returned to the event loop. bug 380590, r+sr=sicking 2007-05-21 15:40:59 -07:00
jonas@sicking.cc
0b6e5dff7a Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
jonas@sicking.cc
941dc3b4c4 Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
roc+@cs.cmu.edu
b7f3dc0143 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 2007-05-20 20:44:26 -07:00
Olli.Pettay@helsinki.fi
6575fbf571 Bug 380716, Crash [@ nsContentUtils::ContentIsDescendantOf], r+sr=jst 2007-05-18 03:23:45 -07:00
mrbkap@gmail.com
9669228ea9 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking 2007-05-17 16:54:35 -07:00
benjamin@smedbergs.us
7a23b59d17 Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron 2007-05-16 10:05:47 -07:00
jonas@sicking.cc
9a9515bed6 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
ginn.chen@sun.com
a334324e77 Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible objectpatch by nian.liu at sun.com r=surkov.alexander sr=neil 2007-05-15 02:46:06 -07:00
Olli.Pettay@helsinki.fi
e46f507021 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst 2007-05-15 01:50:33 -07:00
cbiesinger@web.de
9b8503bb13 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi
23a27d0393 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:29:22 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
asqueella@gmail.com
1cafc60b98 Bug 331991 - Save as "Web Page, Complete" for HTML should include meta charset or encode all non-ASCII characters as entitiesp=Ryan Jones <sciguyryan@gmail.com>r=glazou, sr=peterv 2007-05-13 09:44:06 -07:00
asqueella@gmail.com
53f5456ba7 Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request headerp=Ryan Jones <sciguyryan@gmail.com>r+sr=peterv 2007-05-13 09:41:46 -07:00
Olli.Pettay@helsinki.fi
dc641fc5d4 Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking 2007-05-13 06:59:00 -07:00
peterv@propagandism.org
cf3c4a0ecf Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
Olli.Pettay@helsinki.fi
3c2b2f46ce Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e8ff68b577 windows bustage fix 2007-05-11 04:33:17 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
bzbarsky@mit.edu
a78167f98d 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 wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
5e66b80452 Make the sync loader handle streams that close on EOF (e.g. data: URLs). Bug379957, r=biesi, sr=peterv 2007-05-07 15:11:53 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
masayuki@d-toybox.com
3d8a57b83a Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(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 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
ff1caef5dc Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
bzbarsky@mit.edu
a11e2edb3f Flush tags before calling StartLayout; otherwise we might end updouble-constructing frames for whatever content we hadn't notified on yet. Bug378559, r+sr=sicking 2007-04-26 11:57:58 -07:00
ted.mielczarek@gmail.com
467c001632 bug 373181 - onload doesn't fire for XHTML documents that contain a script tag (Firefox's RSS preview is broken) - add mochikit test. r=sicking 2007-04-26 04:39:15 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
d4cb1b7d7b Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
enndeakin@sympatico.ca
f7b1a69686 Bug 377663, <titlebar> should move popup if inside one instead of the window, r+sr=roc 2007-04-20 03:56:49 -07:00
Olli.Pettay@helsinki.fi
8df77090be Bug 378102, Remove nsIDOMEventReceiver::HandleEvent r+sr=jst 2007-04-19 16:20:29 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
masayuki@d-toybox.com
9737b98f68 Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
sayrer@gmail.com
51fd920a47 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
neil@parkwaycc.co.uk
41bb6169ac Bug 376802 Use one global tooltip listener instead of creating one for each XUL element that needs one r=Smaug sr=jst 2007-04-12 13:59:01 -07:00
bzbarsky@mit.edu
4ea7f3126e Adding testcase. 2007-04-11 23:40:27 -07:00
enndeakin@sympatico.ca
708500fbb3 Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc 2007-04-11 22:56:13 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
bzbarsky@mit.edu
65e1a1fadf Don't block the parser on scripts we'll never execute. Bug 371743, r+sr=sicking 2007-04-11 13:18:11 -07:00
joshmoz@gmail.com
a96b0154ec Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc 2007-04-10 17:25:11 -07:00
enndeakin@sympatico.ca
1bc747f685 Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking 2007-04-04 11:31:56 -07:00
enndeakin@sympatico.ca
532ad7a5c9 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
roc+@cs.cmu.edu
f21e61b37c Bug 374988. MSVC doesn't pack PRPackedBool bitfields properly, and PRBool field:1 means that the value for 'true' is -1, so use PRUint32 instead. r+sr=sicking 2007-03-27 20:57:36 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki@d-toybox.com
8eb84cfb3e Bug 236546 newlines not added when copying table into clipboard with CTRL+mouse. patch by Jeff Schiller<codedread@gmail.com> r+sr=jst 2007-03-27 08:10:23 -07:00
Olli.Pettay@helsinki.fi
cf1ccace7f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
asqueella@gmail.com
782392a877 Bug 371123 - XMLHttpRequest should trigger content policies
p=Wladimir Palant <trev@gtchat.de>r=jst, sr=sicking
2007-03-24 22:35:39 -07:00
Olli.Pettay@helsinki.fi
056e66fd0c Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
roc+@cs.cmu.edu
29a2c959bb No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
roc+@cs.cmu.edu
9878eceb62 Bug 333659. nsLineBreaker fixes. Not Part Of The Build, used by new-textframe only. 2007-03-22 16:45:02 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00