Commit Graph

2113 Commits

Author SHA1 Message Date
tbogard%aol.net
1ea38abf06 Changed the QueryInterface to be a QUERY using the macros. r=scc 1999-11-13 05:31:36 +00:00
tbogard%aol.net
956aa1737e Made webshell implement nsIInterfaceRequestor. This paves the way for me to start changing people to not use nsIContentViewerContainer::QueryCapability(). r=pavlov 1999-11-13 04:06:23 +00:00
sspitzer%netscape.com
56d01e76b9 fix build bustage.
#include "nsIDOMDocument.h"
not
#include "nsIDOMDOcument.h"
1999-11-12 00:19:00 +00:00
Jerry.Kirk%Nexwarecorp.com
e855259618 I left some junk in this file on the last check-in. This only effects
Photon.
r=kedl
1999-11-11 23:14:35 +00:00
buster%netscape.com
e9f930c225 added nsIWebShell::SetDocument, a new interface for loading a pre-fabricated content model
into a webshell synchronously.
This has NOT yet been reviewed, and is not yet used anywhere in the system.
I *will* get a formal code review before enabling it's use.  However, I want to get the code into
the tree because keeping my tree in synch is becoming a burden.
1999-11-11 22:32:13 +00:00
jdunn%netscape.com
0c7a249849 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
Jerry.Kirk%Nexwarecorp.com
80cfda67ae Added signal handler to call the Photon function what cleans up any
allocated shared memory in the event we crash or are closed abnormally
with a CTRL-C command.
r=kedl
1999-11-11 14:42:03 +00:00
valeski%netscape.com
a619ab8a51 11869, r=brendan (for everything but the case where we check for keyword url load failure). Hooking up keywords to webshell. we now kick non-qualified hosts to the keyword server (if keywords are enabled (they're defaulted to off), on windows. and if a non-qualifed host lookup fails we kick that to the keyword server (on all platforms, if keywords are enabled). If keywords are disabled (default case) we do the www.*.com trick ourselves in the client. 1999-11-11 03:26:18 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
nisheeth%netscape.com
716e6e11a8 r=norris,warren,radha. a=chofmann. Fix for bug 1646. Javascript: URLS were not getting loaded properly because the webshell was changing its notion of the current document (by setting mURL and mReferrer) too eagerly. Now, it does so only after the nsDocLoader::LoadDocument() in DoLoadURL() returns successfully. 1999-11-04 22:09:46 +00:00
radha%netscape.com
a0e755871b Fix for bug # 17893. Pass the url to nsISessionHistory::Add().Don't set
nsWebShell::mURL too early in the loading process.
r=law,nisheeth
1999-11-03 22:30:44 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
valeski%netscape.com
f051272c90 adding some keyword support back in 1999-11-02 07:18:44 +00:00
valeski%netscape.com
e52e34b4e3 putting www.*.com trick back in 1999-11-02 06:43:19 +00:00
valeski%netscape.com
4e76992f28 pulling non-qualified host-to-keyword server logic 1999-11-02 06:18:01 +00:00
valeski%netscape.com
00924492ac missed a case 1999-11-02 04:22:12 +00:00
valeski%netscape.com
13ec852729 11869, r = travis. we no longer to the www.*.com trick as it is handled by the keyword protocol handler. we now kick qualifying requests to the keyword protocol handler. 1999-11-02 04:00:07 +00:00
beard%netscape.com
2e05fff9a0 need to be able to Quit viewer via AppleEvent. r=sfraser 1999-11-02 01:49:52 +00:00
cls%seawood.org
1f9bd12490 Added detection for alphaev6. Submitted by Matt Wilson <msw@redhat.com>. 1999-11-02 01:24:16 +00:00
kipp%netscape.com
597ef271e8 Fixed compilation bustage by using nsIFrameDebug to invoke list and regression data methods 1999-11-01 23:29:05 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
radha%netscape.com
d0520f1d7f Remove the extra AddRef to nsHistoryLayoutState. r=pollmann, bug #16496 1999-11-01 21:47:54 +00:00
Jerry.Kirk%Nexwarecorp.com
c50b186228 Remove call to nsIThread::SetMainThread() and clean up things a bit.
r=kedl
1999-11-01 20:52:52 +00:00
beard%netscape.com
44de11a49c changed the CID for "component://netscape/gfx/region" to use new NS_SCRIPTABLEREGION_CID. r=pavlov 1999-10-31 02:28:32 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
syd%netscape.com
425c75b01c Add xpcom.dll to link line so test will link with scc changes make about this time. r=scc 1999-10-31 00:22:53 +00:00
dp%netscape.com
126d4cbb56 Fixing viewer starup assert on SetMainThread() happening twice. 1999-10-30 17:17:12 +00:00
troy%netscape.com
914c067b76 Removed call to SetMainThread() because it was triggering an assert. Turns
out NS_InitXPCOM() does it so we don't need to do it twice
1999-10-30 16:44:04 +00:00
troy%netscape.com
a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
beard%netscape.com
03a2863cca Removed statically constructed nsAutoString LinkCommand, moved inside nsWebShell::LoadURL(). This prevents calling printf before main runs on MacOS, which messes up the console window. r=sfraser 1999-10-30 01:23:01 +00:00
evaughan%netscape.com
bb8b139772 Fixed bug in example. -r hyatt 1999-10-29 23:27:26 +00:00
warren%netscape.com
bb7537da50 Moved purify stuff into xpcom/base for the benefit of all. 1999-10-29 03:28:22 +00:00
kipp%netscape.com
0e326d49bf nuked another silly warning because I got tired of seeing it 1999-10-29 02:06:33 +00:00
kipp%netscape.com
10949bfd27 I added logic to the viewers browser window to disable javascript initiated popups during web crawling; I also fixed the web crawler to only initiate a new load after a previous document ends not a subdocument (again!) 1999-10-29 02:06:09 +00:00
kipp%netscape.com
2a1378d3ff I added logic to the viewers browser window to disable javascript initiated popups during web crawling 1999-10-29 02:05:16 +00:00
radha%netscape.com
7634ef385a Fix for form values not maintained while going forward. bug # 16377. r=law 1999-10-28 20:29:43 +00:00
kmcclusk%netscape.com
81a82a507c Removed stray semi-colon after NS_DECL_ISUPPORTS bug=17235 r=rods@netscape.com 1999-10-28 20:24:19 +00:00
hoa.nguyen%intel.com
b7d200f3ef Initialize cookie manager. Allows cgi scripts to set and retrieve cookies through viewer. r=edburns@acm.org 1999-10-27 23:58:49 +00:00
locka%iol.ie
63f17b75e3 Fixed some bugs in the copy to clipboard operation.
Control now calls NS_ShutdownXPCOM during destruction
1999-10-27 23:19:27 +00:00
locka%iol.ie
837b96edac Added a menu to the dialog.
Implemented tests for cut, copy, paste, select all
1999-10-27 23:17:51 +00:00
bienvenu%netscape.com
7a53af86e4 add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
troy%netscape.com
2ea886f3be Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
warren%netscape.com
2550bd6aa3 Fixed missed change to NewInputStreamChannel 1999-10-26 09:51:01 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kmcclusk%netscape.com
8b37802ce3 Register nsFormProcessor service to exercise nsIFormProcessor interface.
bug 17060. r=karnaze@netscape.com
1999-10-25 22:54:12 +00:00
norris%netscape.com
906d924312 Expose referrer from web shell.
r=travis
needed for bug 11963.
1999-10-25 22:20:10 +00:00
beard%netscape.com
fb3b49b8a6 removed obsolete access paths. r=sfraser 1999-10-24 02:45:17 +00:00
troy%netscape.com
5fc05be5eb Removed a comment 1999-10-23 02:27:07 +00:00
radha%netscape.com
9cf9ffe640 Clean up of Session History apis. Corresponding changes to the users of SH. r=mcafee. No bug #. 1999-10-22 20:48:07 +00:00