176 Commits

Author SHA1 Message Date
akkana%netscape.com
422c14fe78 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser


git-svn-id: svn://10.0.0.236/trunk@55681 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:16 +00:00
tbogard%aol.net
067920c238 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
brendan%mozilla.org
81777e8de7 Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@54574 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:44:36 +00:00
tbogard%aol.net
b37b8cb748 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
git-svn-id: svn://10.0.0.236/trunk@54496 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:11:10 +00:00
vidur%netscape.com
29607952c0 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
rods%netscape.com
9454f93684 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241
git-svn-id: svn://10.0.0.236/trunk@54000 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:41:30 +00:00
buster%netscape.com
1e648d27d6 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
norris%netscape.com
331cf153db * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law


git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
tbogard%aol.net
67a365111c Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
rods%netscape.com
8de7b8fef1 Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784


git-svn-id: svn://10.0.0.236/trunk@53439 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 00:34:15 +00:00
vidur%netscape.com
b4112523b1 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@53298 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:06:54 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
norris%netscape.com
0949cbb8b9 Fix 16836 "Security error accessing DOM elements inside an IFrame"
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.


git-svn-id: svn://10.0.0.236/trunk@51893 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 22:45:32 +00:00
vidur%netscape.com
1291c59ad4 Replaced delete operator calls with Recycle(). R=joki
git-svn-id: svn://10.0.0.236/trunk@51849 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:56:41 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
norris%netscape.com
c3494a9ffb Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.


git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
vidur%netscape.com
529603023b Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
kipp%netscape.com
aa5496085d Removed atom table hacks
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
warren%netscape.com
857e46c783 Fixed uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@49095 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:07:16 +00:00
ftang%netscape.com
f76321309a fix bug 14802. reviewed by harishd.
git-svn-id: svn://10.0.0.236/trunk@49009 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:50:49 +00:00
ftang%netscape.com
10bfc149b3 fix crash when the pref callback get call. Part of bug 14219
git-svn-id: svn://10.0.0.236/trunk@48888 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 02:10:15 +00:00
ftang%netscape.com
7c68543645 add pref callback for charset detectors
git-svn-id: svn://10.0.0.236/trunk@48856 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 08:49:28 +00:00
joki%netscape.com
62ad116aae Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
rpotts%netscape.com
2ea714e45c The document LoadGroup is now a nsWeakPtr...
git-svn-id: svn://10.0.0.236/trunk@48532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:44:56 +00:00
vidur%netscape.com
ce8c1d0658 Implemented nsIDOMHTMLDocument::GetReferrer. The referrer is obtained from the request header of the document channel
git-svn-id: svn://10.0.0.236/trunk@47940 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 06:56:39 +00:00
harishd%netscape.com
ba9cc1acb4 Added support for setting DOCTYPE and DTD mode.
git-svn-id: svn://10.0.0.236/trunk@47597 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:57:16 +00:00
vidur%netscape.com
407d5256ec Fix for bug 13192. Document is parented by the global object of the container context, not the calling context.
git-svn-id: svn://10.0.0.236/trunk@47276 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:17:07 +00:00
vidur%netscape.com
bb6ee90548 Reporting better nsresults to DOM methods.
git-svn-id: svn://10.0.0.236/trunk@46440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:18:27 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
ftang%netscape.com
98ec742dc3 fix the default charset problem I introduced when I fix 12378
git-svn-id: svn://10.0.0.236/trunk@44530 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:42:30 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
ftang%netscape.com
ccbbfc8b6e fix 12378
git-svn-id: svn://10.0.0.236/trunk@44268 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 07:38:00 +00:00
vidur%netscape.com
8fdb6facfd Fixed document.cookies after Necko landing.
git-svn-id: svn://10.0.0.236/trunk@43727 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:23:20 +00:00
waterson%netscape.com
5c18e4cc6c Bug 11016. Clean up GetSourceDocumentURL() return paths s.t. sourceURL is null and/or error code is set if do_QueryInterface() fails.
git-svn-id: svn://10.0.0.236/trunk@43485 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 08:48:33 +00:00
vidur%netscape.com
fe08914eae Implemented document.lastModified
git-svn-id: svn://10.0.0.236/trunk@42777 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:10:24 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
sfraser%netscape.com
6abdbb4fa4 Fix Mac startup crash: nil check for prefs.
git-svn-id: svn://10.0.0.236/trunk@40932 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 22:23:13 +00:00
pollmann%netscape.com
6b835b1af9 Bug 5403: Release services properly
git-svn-id: svn://10.0.0.236/trunk@40672 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:32:49 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
rickg%netscape.com
eaead748d4 fixed bug 9845
git-svn-id: svn://10.0.0.236/trunk@39984 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 06:35:52 +00:00
peterl%netscape.com
8cd44b6e3c fix color parsing
update to new tag lookup api


git-svn-id: svn://10.0.0.236/trunk@39941 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:22:29 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
jevering%netscape.com
7c308d2d10 Building w/Necko. For some reason prmem.h is not being included on the
NECKO=1 build.  Added include.


git-svn-id: svn://10.0.0.236/trunk@39295 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:13:05 +00:00
ftang%netscape.com
45384eb746 hook charset detection for html document
git-svn-id: svn://10.0.0.236/trunk@39270 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:33:48 +00:00
vidur%netscape.com
3e0b8967ef Cut-and-paste error. GetVLinkColor was calling the body's GetLink method. Fix approved by chofmann, reviewed by nisheeth.
git-svn-id: svn://10.0.0.236/trunk@38809 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:55:47 +00:00
vidur%netscape.com
3fd13d435d Switched document.bgColor,fgColor, etc. to set a style rule on the HTMLStyleSheet if the BODY element doesn't yet exist
git-svn-id: svn://10.0.0.236/trunk@38616 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 04:52:27 +00:00
peterl%netscape.com
1faa1cdc54 better quirk mode handling
git-svn-id: svn://10.0.0.236/trunk@38544 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:27:08 +00:00
vidur%netscape.com
c2d795e464 Fix for bug 9035. Shut of layers emulation and fixed type in layers getter.
git-svn-id: svn://10.0.0.236/trunk@37499 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 00:14:21 +00:00