Commit Graph

684 Commits

Author SHA1 Message Date
morse%netscape.com
61a9624d09 fix bug 23037, allow autofill to use double-byte characters for i18n, r=dp 2000-01-12 21:53:32 +00:00
racham%netscape.com
3bcdb951b8 Fixing bug 16673. User50 directory on windows will now lives 1 level up fromthe executable. r=ssu 2000-01-11 23:07:22 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waterson%netscape.com
10a38e03d7 Bug 23352. Check 'target' before calling nsIRDFDataSource::Unassert(). r=davidm 2000-01-08 00:22:35 +00:00
radha%netscape.com
2a4df88f53 Fix for bug # 21767. Form values not reset upon reload. r=pollmann. 2000-01-06 22:42:16 +00:00
davidm%netscape.com
446cad0e49 22295 Tasks menu doesn't cycle through windows properly \ 13357 modal dialogs shouldn't be added to window menu r = law 2000-01-06 20:17:46 +00:00
danm%netscape.com
9fec649ffe use widget::GetScreenBounds to return window position. bug 5998. r:pierre. 2000-01-06 16:02:10 +00:00
ftang%netscape.com
9c677ed1f8 remove unneeded XMLEncodingService, fix bug 22282 2000-01-06 01:25:57 +00:00
edburns%acm.org
13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
morse%netscape.com
1557841fb0 fix for bug 22132, r=davidm 2000-01-06 00:23:24 +00:00
morse%netscape.com
0d7d7eea84 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
rpotts%netscape.com
af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
sspitzer%netscape.com
b7166f79ec rest of fix for #21901, a=sdagley (a while ago).
give alerts, prompts, and other common dialogs default titles, if none
are passed in.

todo:  put those defaults into a string bundle so ICP doesn't kill me.
1999-12-22 04:55:43 +00:00
sspitzer%netscape.com
60a39256fc fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.
1999-12-21 23:11:17 +00:00
sspitzer%netscape.com
e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
morse%netscape.com
0d953531f3 remove compile-time warning that my checkin from this morning introduced 1999-12-20 02:51:36 +00:00
morse%netscape.com
e865b43dec another attempt to fix mac bustage 1999-12-19 23:13:50 +00:00
morse%netscape.com
0573a7ed34 band-aid to fix mac bustage 1999-12-19 19:34:25 +00:00
morse%netscape.com
f4b2441812 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
jband%netscape.com
ef9c82db1e 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
1999-12-18 20:29:29 +00:00
tbogard%aol.net
df268d7f09 Changed nsWebShellWindow to talk to webshell as an nsIBaseWindow where appropriate. 1999-12-17 23:43:47 +00:00
leaf%mozilla.org
7ed558bcfc starting to remove pics from the build; no bug number. patch from neeti,
r=cyeh,leaf, a=chofmann
1999-12-12 01:27:44 +00:00
scc%netscape.com
db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
danm%netscape.com
db6c566369 actually use the 'visible' parameter in NewWebShell. makes new windows from links not be invisible. 1999-12-06 01:44:21 +00:00
danm%netscape.com
dce36d2b55 removing (early) Show() of new, explicitly sized windows (is redundant now, or should be...) 1999-12-06 01:42:11 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
tbogard%aol.net
eb96099e6d 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.
1999-12-03 09:24:22 +00:00
danm%netscape.com
8597b304fe hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com 1999-12-01 22:38:06 +00:00
warren%netscape.com
e126b531ba Removed -- old netlib stuff. 1999-11-30 06:50:50 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com
2832e2ca92 Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159 1999-11-30 04:49:11 +00:00
tbogard%aol.net
596104f4a2 Removed const from GetTitle to get in sync with API. 1999-11-27 02:24:43 +00:00
tbogard%aol.net
7baa306471 Removed const from GetTitle to get in sync with removal from API. 1999-11-27 02:22:42 +00:00
norris%netscape.com
51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
tbogard%aol.net
c33d960af9 Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map. 1999-11-24 10:04:13 +00:00
tbogard%aol.net
a13b372fa4 Removed the SetURLDispatcher call. 1999-11-24 09:41:45 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
radha%netscape.com
f043123f27 Fix for regressed bug # 9699. Comment out the code that removes partially
loaded pages from session History. r=law.
1999-11-23 23:29:58 +00:00
colin%theblakes.com
da9b69d818 Add MOZ_TIMER_LIBS to the link. r=shaver 1999-11-18 22:49:59 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net
3caae87616 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow(). 1999-11-16 20:05:21 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
norris%netscape.com
5b4b0169aa * 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
1999-11-16 05:07:31 +00:00
tbogard%aol.net
7b2900b449 Changed places where container were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:36:41 +00:00
tbogard%aol.net
c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
saari%netscape.com
1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
danm%netscape.com
595cabd731 Use new modal event filtering method on nsIWidget. Reset modal window flag when modal window is closed. part of fix for bug 14131. r:rods@netscape.com. 1999-11-12 23:46:39 +00:00
waterson%netscape.com
475e7d2c79 Bug 17839. Add timer_s.lib to the libraries link deps. 1999-11-11 05:51:53 +00:00
waterson%netscape.com
ff3926a43b Bug 17839. Call mAppShell->Exit() on a timer callback to allow Quit() to cleanly exit the app on platforms where the event queue gets yanked. a=warren 1999-11-11 05:51:22 +00:00