4466 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu
e5136c3f58 Don't show the content viewer if it's not ours -- that means that we're
actually about to be torn down.  Bug 242282, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@156043 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 21:15:33 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
roc+%cs.cmu.edu
fc99d1731c Try to fix gcc 3.4 bustage. If this fixes it, it totally lied about the line number
git-svn-id: svn://10.0.0.236/trunk@155970 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 04:38:12 +00:00
roc+%cs.cmu.edu
e7710a4890 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
git-svn-id: svn://10.0.0.236/trunk@155965 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
c35d4c6753 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList
git-svn-id: svn://10.0.0.236/trunk@155964 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu
d901244f37 The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
bug is 241833


git-svn-id: svn://10.0.0.236/trunk@155962 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 01:46:15 +00:00
bzbarsky%mit.edu
112b38901a Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
kids, in case they're not our descendants and need a reflow.  Bug 170644,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155952 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:34:22 +00:00
dbaron%dbaron.org
39913966e5 Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@155945 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 23:56:25 +00:00
bzbarsky%mit.edu
a6e1e6353e Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155936 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 21:59:56 +00:00
cbiesinger%web.de
b1aa21fde5 move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155922 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 16:27:40 +00:00
aaronleventhal%moonset.net
3c5578a239 Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@155914 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 12:39:42 +00:00
caillon%redhat.com
3094a5267e Bug 241140
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor


git-svn-id: svn://10.0.0.236/trunk@155889 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 01:32:26 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
6f62f5ebfc Properly remove the context menu listener when we don't have a plugin. Bug
185714, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@155866 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:32:54 +00:00
bzbarsky%mit.edu
96e46e00ab Minor tweak to hashkey calculation. Bug 240934.
git-svn-id: svn://10.0.0.236/trunk@155840 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 19:56:06 +00:00
bzbarsky%mit.edu
f28b15a9f5 Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
with the reflow command list) instead of walking the array each time.  Bug
240934, r=roc, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@155834 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 18:07:12 +00:00
bzbarsky%mit.edu
dd1d73eb28 Don't do bizarre sizing stuff to the root element's frame. Bug 241694; also
fixes bug 15405 and bug 57906.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155799 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-01 06:24:06 +00:00
roc+%cs.cmu.edu
1f5258aa4a Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com
b20833c5e5 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@155718 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 00:57:06 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu
f8ae3111a6 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it.
git-svn-id: svn://10.0.0.236/trunk@155642 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 17:48:02 +00:00
dbaron%dbaron.org
48b55c6f36 Fix leak of content on all key and IME events. b=241591 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155558 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 23:19:50 +00:00
kyle.yuan%sun.com
d8d247dd3b Bug 240665 Can't navigate through some page lines using left or right arrow
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@155524 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 09:40:21 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
7f1f8aacd3 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155456 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:56:23 +00:00
neil%parkwaycc.co.uk
20dfed9e53 Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155443 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 13:30:23 +00:00
dbaron%dbaron.org
53aba73d28 Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@155409 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 19:27:14 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
dbaron%dbaron.org
0f9dcd84d2 Fix windows bustage. b=241304
git-svn-id: svn://10.0.0.236/trunk@155350 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 20:58:32 +00:00
bzbarsky%mit.edu
9e22d84572 Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@155344 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 19:33:56 +00:00
bzbarsky%mit.edu
811e223ae1 Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155241 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 19:20:16 +00:00
neil%parkwaycc.co.uk
3729473a44 Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172
git-svn-id: svn://10.0.0.236/trunk@155120 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 15:33:33 +00:00
bzbarsky%mit.edu
19a39fd9a3 Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155088 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 20:10:09 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
bmlk%gmx.de
f4c784d01d table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154861 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:28:25 +00:00
jst%mozilla.jstenback.com
89bbaf497b Changing comment style for consistency with other similar code in this file.
git-svn-id: svn://10.0.0.236/trunk@154768 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:57:12 +00:00
roc+%cs.cmu.edu
05f7f23201 Fix a few warnings. Patch by gautheri, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@154765 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:13:46 +00:00
roc+%cs.cmu.edu
a69c586b63 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154761 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 02:56:03 +00:00
jst%mozilla.jstenback.com
4f465de788 Fixing bug 240340. Make key events in plugins work correctly again on the Mac. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@154756 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:51:00 +00:00
bzbarsky%mit.edu
138778b97e When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up.  This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154754 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu
3cf94c63dd Fix dirty reflows of bullets to deal with an empty first line (whitespace
followed by block) in the parent block.  Bug 206602, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154752 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:38:10 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu
91063d56d4 Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case.  Bug 240240, r+sr=bryner


git-svn-id: svn://10.0.0.236/trunk@154741 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:27:29 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu
4c0299d092 Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
it later on.  Bug 231166, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154721 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:42:50 +00:00
dbaron%dbaron.org
950b1a4459 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
jst%mozilla.jstenback.com
397e8accd3 Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154661 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 00:25:01 +00:00