48602 Commits

Author SHA1 Message Date
pierre%netscape.com
c7a56395b0 20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation.
git-svn-id: svn://10.0.0.236/trunk@55057 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:19:16 +00:00
mscott%netscape.com
9752ae7af4 oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
leak by using a nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@55056 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:11:51 +00:00
tbogard%aol.net
b37e05608c Removed nsIMarkupDocumentViewer.h as it is now copied from the docshell directory as part of the parsing of nsIMarkupDocumentViewer.idl.
git-svn-id: svn://10.0.0.236/trunk@55055 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:11:40 +00:00
tbogard%aol.net
bfe63e8f6e Stop copying the nsIMarkupDocumentViewer.h from this directory into the public directory. Rely on the IDL file in the docshell directory to copy it out.
git-svn-id: svn://10.0.0.236/trunk@55054 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:10:32 +00:00
cata%netscape.com
997f81d5d1 Evolution of the CharsetConverterManager in order to pair the new Charset Menu. r=erik
git-svn-id: svn://10.0.0.236/trunk@55053 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 08:05:59 +00:00
mscott%netscape.com
ab7173d18c *cringe* Bug #14928 --> throw the switch for uri loading! With this turned on, all urls which are run through
the webshell will now be run through the uri loader which knows how to dispatch urls based on content.

If any problems do arise, I'm ready to turn it back off again at a moment's notice.


git-svn-id: svn://10.0.0.236/trunk@55052 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:54:47 +00:00
dougt%netscape.com
9f59512919 Removing init() methods as warren suggested. These now live in the new
nsILocalFile interface.


git-svn-id: svn://10.0.0.236/trunk@55051 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:49:57 +00:00
dougt%netscape.com
b7a4eda34c First cut.
These are the local file init methods for a nsIFile.

not hooked up to the build


git-svn-id: svn://10.0.0.236/trunk@55050 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:45:12 +00:00
alecf%netscape.com
699c20459c missed another test
git-svn-id: svn://10.0.0.236/trunk@55049 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:37:23 +00:00
alecf%netscape.com
e8515e9237 oops, missed this one too
stupid tests.


git-svn-id: svn://10.0.0.236/trunk@55048 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:36:52 +00:00
alecf%netscape.com
89b340951c oops, forgot to check this file in with my last checkin
git-svn-id: svn://10.0.0.236/trunk@55047 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:25:39 +00:00
mscott%netscape.com
efb225519d Pass nsURILoadCommand's instead of char * around for the command associated with the url.
git-svn-id: svn://10.0.0.236/trunk@55046 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:09:06 +00:00
mscott%netscape.com
36a060eb5a api synch with uri loader --> use nsURILoaderCommand
r=travis


git-svn-id: svn://10.0.0.236/trunk@55045 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:01:11 +00:00
mscott%netscape.com
5b95d440f1 api synch with uri loader to use nsIURILoaderCommand.
fill out the canHandleContent method to include
all the primary and secondary content types we want the
browser window to handle.
r=travis


git-svn-id: svn://10.0.0.236/trunk@55044 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:54 +00:00
mscott%netscape.com
35be4c55b9 api synch with uri loader to use nsIURILoaderCommand.
fill out the canHandleContent method to include
all the primary and secondary content types we want the
mail window to handle
r=travis


git-svn-id: svn://10.0.0.236/trunk@55043 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:34 +00:00
mscott%netscape.com
ead0de0810 openuri now takes a nsURILoaderCommand
remove protocol scheme check before using the uri loader. this
means that all urls will run through the uriloader regardless of
 type when it gets turned on.
webshell:
doContent and canHandleContent now take a nsURILoaderCommand
modify the handle link click event method to pass in
in the nsIURILoader::viewUserClick command to the uri loader
r=travis


git-svn-id: svn://10.0.0.236/trunk@55042 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 07:00:17 +00:00
mscott%netscape.com
9a83fb8aac add enumerated type for uri load command. This will allow us
// to distinguish between incoming urls that are a result of user
						// clicks vs. normal views, view source and requires new window
nsIURIContentListener.idl--> doContent and canHandleContent now take a nsIURILoadCommand enum
nsURILoader.cpp --> changes to account for load command enum.
AsyncRead pass in the window context as the url context
(waterson will need this for his chrome cache work)
if we can't find a content handler for the content then go
back to the original window that loaded the url and force
them to handle the content...this is a HACK to force us to run
through the old code path for handling unknown content types
until the new version is online.
r=travis


git-svn-id: svn://10.0.0.236/trunk@55041 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:59:39 +00:00
alecf%netscape.com
40067e21e4 mail architecture cleanup (no bug - emptying my tree before next week's closure)
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott


git-svn-id: svn://10.0.0.236/trunk@55040 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:59:28 +00:00
cata%netscape.com
1c91ab1e0f Character Set Menu XUL - accomodating the changes in the RDF data source.
git-svn-id: svn://10.0.0.236/trunk@55039 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:43:18 +00:00
cata%netscape.com
77b7b8d32d The Character Set menu - rewrite of the RDF data source code. r=erik
git-svn-id: svn://10.0.0.236/trunk@55038 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:42:01 +00:00
alecf%netscape.com
bb74234246 add sendlater to unix build (test only, no review)
git-svn-id: svn://10.0.0.236/trunk@55037 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:32:36 +00:00
alecf%netscape.com
d49511cab5 update to use accountmanager as a service (test only, no review)
git-svn-id: svn://10.0.0.236/trunk@55036 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:31:47 +00:00
alecf%netscape.com
1a4ba72643 add geturl and sendpage tests to unix build (test only, no review)
git-svn-id: svn://10.0.0.236/trunk@55035 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:29:27 +00:00
alecf%netscape.com
f534603937 update this test (test only, no review)
use accountmanager as a service now


git-svn-id: svn://10.0.0.236/trunk@55034 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:28:42 +00:00
alecf%netscape.com
c96f2a9ee0 fix makefile so this test builds on unix
git-svn-id: svn://10.0.0.236/trunk@55033 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:27:00 +00:00
alecf%netscape.com
471d32441c add compose2 to the unix build (test only, no review)
git-svn-id: svn://10.0.0.236/trunk@55032 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:25:06 +00:00
alecf%netscape.com
d5dbfe7527 port this to unix so I stop breaking the tree
test only, no review necessary


git-svn-id: svn://10.0.0.236/trunk@55031 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:24:07 +00:00
tbogard%aol.net
1e0bcf01b1 Adding nsIScriptGlobalObjectOwner.idl to the manifest.
git-svn-id: svn://10.0.0.236/trunk@55030 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:18:32 +00:00
tbogard%aol.net
30980f7406 added files: mozilla/dom/public/nsIScriptGlobalObjectOwner.idl
git-svn-id: svn://10.0.0.236/trunk@55029 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:17:29 +00:00
tbogard%aol.net
eff33c6a8e Connecting nsIScriptGlobalObjectOwner.idl to be compiled. Not yet used anywhere.
git-svn-id: svn://10.0.0.236/trunk@55028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:16:08 +00:00
tbogard%aol.net
aedfffde10 Adding new interface for people who can supply an nsIScriptGlobalObject. Not yet connected to the build.
git-svn-id: svn://10.0.0.236/trunk@55027 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 06:14:49 +00:00
rgoodger%ihug.co.nz
0d0d59430f cookieviewer UI polish, r=morse
git-svn-id: svn://10.0.0.236/trunk@55026 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:46:24 +00:00
mcafee%netscape.com
0d1f1c16df Wrap tests directory in ENABLE_TESTS. patch submitted by jim_nance@yahoo.com, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@55025 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:43:08 +00:00
norris%netscape.com
1f0d69f6d9 Fix crash seen by waterson.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@55024 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:41:17 +00:00
sfraser%netscape.com
7d7ac5b8ec Additional fix to the linebreakers when munging nsStrings. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@55023 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:33:50 +00:00
pavlov%netscape.com
94867bd9d6 make scrolling suck less r=brendan
git-svn-id: svn://10.0.0.236/trunk@55022 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:16:13 +00:00
beard%netscape.com
067dc9aa6f bug #20504: fix crash when printing. r=joki
git-svn-id: svn://10.0.0.236/trunk@55021 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 05:13:56 +00:00
sfraser%netscape.com
8af29b1bde Fix the fragment name in both targets to be unique. Again. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@55020 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:53:47 +00:00
rgoodger%ihug.co.nz
b98ae1c63e more cosmetic changes to cookieviewer, r=morse
git-svn-id: svn://10.0.0.236/trunk@55019 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:51:58 +00:00
sfraser%netscape.com
d1d215cecb Fix the fragment name in both targets to be unique. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@55018 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:51:11 +00:00
tbogard%aol.net
738906d4eb Added attribute for setting and getting the nsIDocShellTreeOwner.
git-svn-id: svn://10.0.0.236/trunk@55017 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:34:09 +00:00
fur%netscape.com
4df51cacc5 Laying the foundation for the incorporation of caching, by
reorganizing/splitting protocol handler methods, though not yet adding any
new functionality:

    Allow for multiple instances of nsHTTPResponse to be associated
    with the same connection, i.e. so that response headers from the
    cache and response headers from the server can coexist
    simultaneously.  To wit:

        Moved content-length, charset and content-type information
        from nsHTTPChannel into nsHTTPResponse

        Split into separate functions the accumulation of a single line of
        HTTP header data (from the input stream) and the parsing of
        that line.  This permits cached response headers and server
        response headers to be parsed from separate data sources, the
        latter arriving from a nsIBufferInputStream and the former
        retrieved from the cache as a string.

        Moved the newly-created header-parsing methods to
        nsHTTPResponse from nsHTTPResponseListener

    Fixed some bugs in the interaction between AsyncOpen and
    AsyncRead.  It was possible for an OnHeadersAvailable event to be
    triggered *after* the associated OnDataAvailable, rather than the
    other way around.  It was also possible, in a rare case, for
    mOpenObserver->OnStopRequest() to be called without ever having
    called mOpenObserver->OnStartRequest().  I think my changes made
    the logic a bit more foolproof.

    Removed ancient ifdef NSPIPE2


git-svn-id: svn://10.0.0.236/trunk@55016 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:53:28 +00:00
pinkerton%netscape.com
029e0cffcd using new linebreak helper class to convert mac cr's to linefeeds expected by the dom. fixes 18409 for macOS. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@55015 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:40:29 +00:00
pinkerton%netscape.com
2d93e7b4bb added nsLinebreakHelper class so clipboard and d&d can easily convert linefeeds from native to DOM. bug 18409, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@55014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:39:41 +00:00
briano%netscape.com
b5f11bcccb Fix for QNX-specific build bustage. QNX doesn't provide a prototype for random().
git-svn-id: svn://10.0.0.236/trunk@55013 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:35:52 +00:00
briano%netscape.com
cbd2a79d4f Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate().
git-svn-id: svn://10.0.0.236/trunk@55012 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:17:04 +00:00
sfraser%netscape.com
d809f93363 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman
git-svn-id: svn://10.0.0.236/trunk@55011 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:12:51 +00:00
alecf%netscape.com
6e662dbdaa fix for #20405 - change Organization, Identity Name and FullName to be unicode, using new unicode prefs
r=rhp


git-svn-id: svn://10.0.0.236/trunk@55010 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:11:52 +00:00
sfraser%netscape.com
24d4124fee Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman
git-svn-id: svn://10.0.0.236/trunk@55009 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:11:38 +00:00
waldemar%netscape.com
5697c39c4b NOT IN BUILD. Added strdup to make Mac standalone js engine work again
git-svn-id: svn://10.0.0.236/trunk@55008 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:05:14 +00:00