2177 Commits

Author SHA1 Message Date
sfraser%netscape.com
f5c799d682 Avoid crashing when mousing over links in teh composer window. r=brade
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +00:00
rods%netscape.com
e7a5a5632c removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck


git-svn-id: svn://10.0.0.236/trunk@59290 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:46:55 +00:00
attinasi%netscape.com
ec346f0c5a Sorry - typo in change...
git-svn-id: svn://10.0.0.236/trunk@59249 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:26:25 +00:00
attinasi%netscape.com
7f83027391 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803


git-svn-id: svn://10.0.0.236/trunk@59248 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:04:41 +00:00
rbs%maths.uq.edu.au
add951b804 [#ifdef MATHML]. Hook for the ms tag
git-svn-id: svn://10.0.0.236/trunk@59240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:33:38 +00:00
scc%netscape.com
1679a8f4c7 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59194 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 19:59:53 +00:00
vidur%netscape.com
df9d1ddacd Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:34:07 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
sfraser%netscape.com
e3af49b9d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
rods%netscape.com
4161da0c7d when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi


git-svn-id: svn://10.0.0.236/trunk@59070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:03:00 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
56e559d918 Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kin%netscape.com
8a522282c9 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58954 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 20:21:28 +00:00
rbs%maths.uq.edu.au
0f390929ca [#ifdef MATHML]. Hook for the mspace tag
git-svn-id: svn://10.0.0.236/trunk@58933 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:28:41 +00:00
vidur%netscape.com
b0d8cb960b Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:17:11 +00:00
vidur%netscape.com
b012506fc2 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58875 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:51:51 +00:00
attinasi%netscape.com
7a42258bf9 Setting GfxScrollFrame as the PrimaryFrame for scrolled content instead of the ScrollPortFrame. Also fixed some spots that were not correctly getting at the scrolled frame from the PrimaryFrame. b=23803 r=evaughan
git-svn-id: svn://10.0.0.236/trunk@58865 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:19:12 +00:00
attinasi%netscape.com
aeffd0ea97 Minor reformatting and some comments added. b=none r=none
git-svn-id: svn://10.0.0.236/trunk@58864 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:17:04 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
harishd%netscape.com
6575e1e56b Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58836 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:57:18 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
dcone%netscape.com
78a3fc3824 support for regression testing. r=rods
git-svn-id: svn://10.0.0.236/trunk@58785 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:14:41 +00:00
rods%netscape.com
f25bb8eb63 impls the new flag to only scroll when not visible
b 18649 r=troy


git-svn-id: svn://10.0.0.236/trunk@58617 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
rods%netscape.com
a2cf4c1276 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905


git-svn-id: svn://10.0.0.236/trunk@58588 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:33:03 +00:00
rods%netscape.com
4195d0064d Added new flag for scrolling a frame if it isn't visible
r=troy b=18649


git-svn-id: svn://10.0.0.236/trunk@58587 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:31:41 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
nisheeth%netscape.com
1f351b9156 r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor.
git-svn-id: svn://10.0.0.236/trunk@58488 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 19:11:02 +00:00
pierre%netscape.com
a0876134ef Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
pierre%netscape.com
2a14b9586a 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
git-svn-id: svn://10.0.0.236/trunk@58466 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 08:16:54 +00:00
nisheeth%netscape.com
26ad5f5255 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
norris%netscape.com
e4653042f2 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki


git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
erik%netscape.com
9f9aa6f3e7 bug 24355; Fixed Width Font too large in documents with text fields,
e.g. Bugzilla; going back to the old Variable bigger than Fixed way;
r=ftang; a=chofmann


git-svn-id: svn://10.0.0.236/trunk@58281 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 01:20:11 +00:00
scc%netscape.com
b981dc83f5 Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354. Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
git-svn-id: svn://10.0.0.236/trunk@58268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:56:25 +00:00
nisheeth%netscape.com
990dc941ec r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
hyatt%netscape.com
8700ce7aad Adding an interface for the creation of elements. r=waterson
git-svn-id: svn://10.0.0.236/trunk@58212 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:09:12 +00:00
scc%netscape.com
4c8d86d5b5 OK, mjudge and I have both looked, and we think no callers remain that |QueryInterface| to get an enumerator. Everyone has been fixed to call |GetEnumerator| ... but just in case, we added an assert to find any stragglers. If this assert fires, mjudge or I need to know. bug=16543; r=mjudge
git-svn-id: svn://10.0.0.236/trunk@58198 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:42:54 +00:00
sfraser%netscape.com
b343a64540 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
git-svn-id: svn://10.0.0.236/trunk@58119 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:06:10 +00:00
sfraser%netscape.com
89895243be Fix to account for the fact that nsISupportsArray returns PRBools for some inteface methods. r=akkana, jfrancis.
git-svn-id: svn://10.0.0.236/trunk@58117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:02:12 +00:00
attinasi%netscape.com
d688726719 Passing NS_BLOCK_SPACE_MGR for abs. positioned Fieldsets. Fixes bug 23611. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58103 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:40:25 +00:00
bryner%uiuc.edu
ccf75f8758 Make trees capable of scrolling by full pages with the mouse wheel.
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll).  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@57964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 05:30:49 +00:00
erik%netscape.com
51590bc1d8 bug 8801; use same default size for all generics (serif, monospace, etc);
set default size to 16px; allow pref to be specified in either px or pt;
as discussed in mozilla.layout; r=ftang


git-svn-id: svn://10.0.0.236/trunk@57938 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 16:30:13 +00:00
jfrancis%netscape.com
9a6f2f94aa speeding up selection by directly creating ranges, rather than going through CreateInstance(). See bug 19273.
git-svn-id: svn://10.0.0.236/trunk@57936 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 14:52:24 +00:00
danm%netscape.com
2b63300d33 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:30:34 +00:00
tao%netscape.com
ecd98e520f bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
git-svn-id: svn://10.0.0.236/trunk@57887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:01:05 +00:00
dcone%netscape.com
accd3d74de Fixed some problems with rounded borders. r=rods
git-svn-id: svn://10.0.0.236/trunk@57830 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:43:05 +00:00
dcone%netscape.com
fcd03d055e Added a container for the printContext. r= rods b = 21470
git-svn-id: svn://10.0.0.236/trunk@57829 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:30:41 +00:00