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
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
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
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
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
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
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
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
hyatt%netscape.com
8f6502ffb7
Fixes for bugs 17460 and 21656. r=travis
...
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
erik%netscape.com
ed6e764e4a
bug 8801; automatically reflow document(s) when font prefs change;
...
r=ftang
git-svn-id: svn://10.0.0.236/trunk@57553 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:10:48 +00:00
norris%netscape.com
5c8d9b369d
Fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@57463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:55:18 +00:00
dcone%netscape.com
5e51c18847
Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
...
git-svn-id: svn://10.0.0.236/trunk@57449 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:32:23 +00:00
mjudge%netscape.com
9df8bc0d71
r= cmanske. warning hunt
...
git-svn-id: svn://10.0.0.236/trunk@57410 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:43:07 +00:00
hyatt%netscape.com
2c9879296b
adding behavior property to CSS. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
pinkerton%netscape.com
28c3b87687
fixing bug 21414 the right way, reverting api's to their previous ways.
...
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
kin%netscape.com
a18087d551
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57280 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 15:32:42 +00:00
norris%netscape.com
02d0724222
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
git-svn-id: svn://10.0.0.236/trunk@57214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:51:54 +00:00
pinkerton%netscape.com
f4e554070e
Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
...
git-svn-id: svn://10.0.0.236/trunk@57149 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:48:39 +00:00
mjudge%netscape.com
0502df8149
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
...
git-svn-id: svn://10.0.0.236/trunk@57131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:31:32 +00:00
sspitzer%netscape.com
e111e775da
checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@56754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 21:24:37 +00:00
vidur%netscape.com
61f580e993
Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin
...
git-svn-id: svn://10.0.0.236/trunk@56443 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:44:30 +00:00
pierre%netscape.com
ab167ecc58
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
...
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
git-svn-id: svn://10.0.0.236/trunk@56387 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:27:10 +00:00
ftang%netscape.com
cfa1a18207
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
pierre%netscape.com
325e90f476
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
...
git-svn-id: svn://10.0.0.236/trunk@56361 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 05:00:47 +00:00
vidur%netscape.com
a423e0e3c7
Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@56333 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:54:04 +00:00
vidur%netscape.com
c34925bd34
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@56332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:51:58 +00:00
jband%netscape.com
191411b358
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
tbogard%aol.net
b5cb13131e
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
dcone%netscape.com
6a8024bb5f
Used the height and width of the page returned from the nsDeviceContext instead of hard coded values. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@56090 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 15:15:23 +00:00
danm%netscape.com
ba5552a03c
check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:15:57 +00:00
mjudge%netscape.com
78a1c7b0e7
massive changes a=jar.hoffman, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
warren%netscape.com
e9f618e116
Fix for leak/bloat stats going negative. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@55840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:27:52 +00:00
erik%netscape.com
3bc497b41c
bug 8801; added some code to pick up font size prefs from prefs file(s);
...
r=ftang; a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55820 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:44:47 +00:00
erik%netscape.com
b6eb1a0559
bug 8801; adding new font prefs implementation; r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@55642 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:27:52 +00:00