1917 Commits

Author SHA1 Message Date
jfrancis%netscape.com
144e308344 fix for 149320: crash if invalid setStart is set on a Range
r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@127963 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:02:45 +00:00
rods%netscape.com
c19d8288b7 Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@127763 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 12:01:05 +00:00
jst%netscape.com
0734ef5de2 Renaming GetDocShellChildren() to GetDocShellChildCount(). See bug 98158 for details.
git-svn-id: svn://10.0.0.236/trunk@127638 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 20:55:03 +00:00
henry.jia%sun.com
d4a65691fd Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +00:00
henry.jia%sun.com
e79b8105b8 Patch for bug Bug 98158: Recursive frames exhaust memory
Patch By Jack.Jia@sun.com
r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@127593 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:04:43 +00:00
jst%netscape.com
b336df4317 Fixing topcrash bug 162526. Change the shutdown code in nsGenericElement so that the order in which things are torn down, and also the things that are torn down match what we did before my fix for bug 156364. This causes us to leak what we leaked before my fix for bug 156364. r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@127520 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:06:11 +00:00
heikki%netscape.com
634b27b5ce Bug 163039, relax sanity check on XML serializer so that we won't throw an error if the serialized document is not XML. This is needed because Bugzilla (at least) abuses XMLSerializer (to edit attachments). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@127509 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 23:24:15 +00:00
dbaron%fas.harvard.edu
de6516960e Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127460 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:29:20 +00:00
bzbarsky%mit.edu
91868318af Adding files for Load/Save. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@127440 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 02:05:22 +00:00
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
darin%netscape.com
f4ac8b67b2 second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127379 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 18:38:46 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +00:00
jst%netscape.com
ec845ed149 Fixing typo's in comments. Typo's found by dbaron (bug 162526).
git-svn-id: svn://10.0.0.236/trunk@127273 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 20:48:55 +00:00
dbaron%fas.harvard.edu
43e046d34d Attempt to fix page load regression. b=35768
git-svn-id: svn://10.0.0.236/trunk@127261 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 14:01:39 +00:00
dbaron%fas.harvard.edu
23762bb47e Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127259 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 13:16:35 +00:00
dbaron%fas.harvard.edu
e58a8cf95b Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
git-svn-id: svn://10.0.0.236/trunk@127250 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:34:39 +00:00
heikki%netscape.com
fbe40219c9 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
jst%netscape.com
ed117f9119 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@127114 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 00:50:50 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
caillon%returnzero.com
eaa3d3d707 Bug 158674 - nsDocumentFragment::DropChildReferences() causes leaks because it doesn't do what it says
Thanks to Harshal <keeda@hotpop.com> for the patch.
r=peterv
sr=jst


git-svn-id: svn://10.0.0.236/trunk@126984 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:31:15 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
leaf%mozilla.org
e1e7037575 backout darin's checkin from around noon yesterday to remove the regression
in 161921


git-svn-id: svn://10.0.0.236/trunk@126917 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 23:46:19 +00:00
peterv%netscape.com
31de3f5600 Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@126889 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 08:45:30 +00:00
darin%netscape.com
0a81150b46 changes to nsIIOService in preparation for freezing, b=157131
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126784 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 19:08:59 +00:00
mjudge%netscape.com
62be4351bb crasher fix: forgot {} around an indented block of code. this will fix 161444 and 161512. r=brade sr= smfr
git-svn-id: svn://10.0.0.236/trunk@126675 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 17:47:28 +00:00
mjudge%netscape.com
7ce727c759 159207. HR is now selectable and navigatable. r=cmanske sr=kin
git-svn-id: svn://10.0.0.236/trunk@126554 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:56:50 +00:00
glazman%netscape.com
fa21906e76 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126518 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu
5603f12809 Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126513 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:46:35 +00:00
dbaron%fas.harvard.edu
ac193497c0 Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner
git-svn-id: svn://10.0.0.236/trunk@126511 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:39:22 +00:00
henry.jia%sun.com
148ed167a2 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
aaronl%netscape.com
c15c36a673 Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126181 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:36:02 +00:00
sicking%bigfoot.com
9f524ba3a3 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126081 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:26:32 +00:00
bzbarsky%mit.edu
e1f21b9781 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@126048 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 05:34:55 +00:00
jkeiser%netscape.com
7fb12b3d6a Add documentation comments (bug 159065), r=sicking, sr=bz/jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125934 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 05:02:38 +00:00
jkeiser%netscape.com
1675ed197f Add comments (bug 159065), r=sicking, sr=bz/jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125900 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:33:43 +00:00
nhotta%netscape.com
c49fae7638 Adding null check for mDocument before getting a document charset,
bug 159434, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125859 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 16:45:45 +00:00
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
bzbarsky%mit.edu
4200beed9b Fix silly logic error in lazy lists. Bug 158948, r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125731 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:43:48 +00:00
nhotta%netscape.com
7da2a94cbd Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125650 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:28:28 +00:00
sicking%bigfoot.com
fdf8ae5b5f Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125642 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:16:45 +00:00
bzbarsky%mit.edu
a844108e85 Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125602 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:45:06 +00:00
rods%netscape.com
4d051a96ff When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc


git-svn-id: svn://10.0.0.236/trunk@125564 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 10:55:07 +00:00
jkeiser%netscape.com
01341d9e3c Make radio buttons work without forms (bug 14445), r=rods@netscape.com, sr=jst@netscape.com, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125544 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 23:09:24 +00:00
sicking%bigfoot.com
96ef7647c7 Allow "chromenodes" to access all domains.
b=158167 r=bzbarsky sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125528 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:40:02 +00:00
nhotta%netscape.com
e98305c34a Changed nsPlainTextSerializer to try NCR if CER conversion fails,
bug 40350, r=akkana, sr=kin, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125508 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 20:50:14 +00:00
bzbarsky%mit.edu
dbb888b255 Fix GetQuotedAttributeValue's parsing. Bug 106163, r=sicking, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125483 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:14:29 +00:00
rods%netscape.com
7d81f1b38d need to check BUSY_FLAGS_PAGE_LOADING before printing
Bug 157632 r=dcone sr=jst a=scc


git-svn-id: svn://10.0.0.236/trunk@125458 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 09:09:54 +00:00
sicking%bigfoot.com
c52d22c28d Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125447 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:53:28 +00:00