61 Commits

Author SHA1 Message Date
rjc%netscape.com
39381cda9c Fix bug # 58736: nsDirectoryViewer leak. r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82223 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:34:46 +00:00
rjc%netscape.com
9829ba6b6c Fix RTM++ bug # 51446: FTP issue with date/time strings containing dots. r=gagan sr=ftang
git-svn-id: svn://10.0.0.236/trunk@81013 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 08:08:39 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
valeski%netscape.com
6dfa1d57af 51490. r=rjc. regression. httplistener was using a global when it should have been using it's static member
git-svn-id: svn://10.0.0.236/trunk@78299 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:33:58 +00:00
valeski%netscape.com
fe121568c9 46775. consolodating xpfe components into a root module to reduce system overhead bloat. built on win, linux, mac. precheckin tests on windows. general testing on mac and linux.
git-svn-id: svn://10.0.0.236/trunk@78209 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:58:06 +00:00
rjc%netscape.com
c748b385da Fix bug # 50642: Win32 timer issue affecting FTP. r=me
git-svn-id: svn://10.0.0.236/trunk@77592 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 05:26:56 +00:00
rjc%netscape.com
08892fb0a2 Use .get() for Unix.
git-svn-id: svn://10.0.0.236/trunk@77356 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 09:51:42 +00:00
rjc%netscape.com
2bc4d9c086 FTP bug # 46750: don't starve UI during FTP operations by slowly pushing FTP URLs into content model on a timer. r=me
git-svn-id: svn://10.0.0.236/trunk@77355 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 09:50:20 +00:00
rjc%netscape.com
c1411bed7a FTP bug # 46750: speed optimizations, as well as set busy cursor while FTP data is streaming in. r=me
git-svn-id: svn://10.0.0.236/trunk@77346 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:24:49 +00:00
valeski%netscape.com
f28abc3bdd 46775. preparing for linkage changes. these changes move class definitions into their own .h files so they can be used in other directories (not exported) for building purposes. I also utilized module/factory macros when possible
git-svn-id: svn://10.0.0.236/trunk@77290 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:37:59 +00:00
rjc%netscape.com
ee4f909197 Fix bug # 47927: crash loading 2nd ftp URL. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76324 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 01:43:42 +00:00
waterson%netscape.com
b03ddd8490 Bug 47927. Check in the wrong fix to get the tree open. a=granrose.
git-svn-id: svn://10.0.0.236/trunk@75887 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 19:30:14 +00:00
rjc%netscape.com
ba6db048f5 Fix bug # 20339: get busy animation back for FTP. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74853 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:46:56 +00:00
warren%netscape.com
68783ed706 Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf
git-svn-id: svn://10.0.0.236/trunk@74441 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:58:25 +00:00
rjc%netscape.com
20494f74f7 Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=gagan
git-svn-id: svn://10.0.0.236/trunk@74277 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:21:48 +00:00
rjc%netscape.com
873cf151d5 Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=me
git-svn-id: svn://10.0.0.236/trunk@74246 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 09:07:13 +00:00
scc%netscape.com
a4e898e031 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:24:29 +00:00
rjc%netscape.com
f83df9056a Fix bug # 37102: if its a "ftp://" URL and its a HTTP-INDEX mimetype, it has to be a directory, so ensure that the URL ends with a slash.
git-svn-id: svn://10.0.0.236/trunk@67355 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:17:10 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
scc%netscape.com
d2a7990448 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66364 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:53:10 +00:00
rjc%netscape.com
f1167fd6f1 Fix trivial warning regarding initialization order.
git-svn-id: svn://10.0.0.236/trunk@66180 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:46:13 +00:00
rjc%netscape.com
e05925b05f Fix GetURI() to return "rdf:httpindex".
git-svn-id: svn://10.0.0.236/trunk@66177 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:22:50 +00:00
rjc%netscape.com
0e2efedad6 "HTTP-Index" datasource now allows easy aggregation with out datasources.
git-svn-id: svn://10.0.0.236/trunk@66173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:07:26 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
scc%netscape.com
60839ca9f0 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:48:10 +00:00
andreas.otte%primus-online.de
db654a3217 fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 11:07:04 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
valeski%netscape.com
4890009be0 we don't want to default to GMT
git-svn-id: svn://10.0.0.236/trunk@60204 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:08:54 +00:00
dp%netscape.com
54c542a819 - Converted to Generic Module
- Removed unused CID
r=waterson


git-svn-id: svn://10.0.0.236/trunk@60071 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:39:23 +00:00
waterson%netscape.com
86818defd4 Cleanup: collapse some QueryInterface implementations into macros; re-write ProcessData() to avoid hitting the heap more than necssary.
git-svn-id: svn://10.0.0.236/trunk@60019 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:17:27 +00:00
valeski%netscape.com
867f16ef2b URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
mscott%netscape.com
c753218324 include nsIDocumentLoaderFactory
r=travis


git-svn-id: svn://10.0.0.236/trunk@59169 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:09:13 +00:00
jband%netscape.com
7ac1267323 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@58762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:38:10 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
waterson%netscape.com
1dc5a28c4f Bug 23799. Add a brief comment to clarify wtf is going on here. r=valeski
git-svn-id: svn://10.0.0.236/trunk@57718 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:25:25 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +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
warren%netscape.com
82ba7cc6a4 2 fixes for directory listings: I added arguments to NewChannel which needed to be added in directory.js. Travis wacked nsHTTPIndexParser::OnStartRequest and didn't preserve the 'call once' stuff. r=waterson
git-svn-id: svn://10.0.0.236/trunk@55482 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:45:34 +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
tbogard%aol.net
3332c74e48 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 07:29:23 +00:00
tbogard%aol.net
52c3ea73a7 Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
git-svn-id: svn://10.0.0.236/trunk@53419 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 07:36:28 +00:00
rjc%netscape.com
577cd4ac84 Check in real fix. Review: me
git-svn-id: svn://10.0.0.236/trunk@53114 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:56:29 +00:00
rjc%netscape.com
c1eba56c75 Comment out problem.
git-svn-id: svn://10.0.0.236/trunk@53112 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:54:24 +00:00
rjc%netscape.com
1c6454fbce Small improvements to HTTP-INDEX datasource. Review: me
git-svn-id: svn://10.0.0.236/trunk@53105 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:51:10 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
tbogard%aol.net
ae3cd9e2ce Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@52417 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:43:56 +00:00
rjc%netscape.com
31eba671e2 Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49886 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:39:48 +00:00