Граф коммитов

690 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net ffa14e2508 added files: mozilla/xpfe/appshell/public/nsIXULWindow.idl 2000-01-14 04:41:38 +00:00
tbogard%aol.net 67751590c0 Added nsIXULWindow.idl and put the list in alpha order. 2000-01-14 04:33:54 +00:00
tbogard%aol.net 959e0926eb Added nsIXULWindow.idl to the build. 2000-01-14 04:24:16 +00:00
tbogard%aol.net 5b7a25dc1f First check-in. Empty right now, but it will grow into a big boy real soon now. 2000-01-14 04:23:38 +00:00
danm%netscape.com a35f8ee87a scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself 2000-01-14 00:38:12 +00:00
danm%netscape.com 554e7f797d save/restore size & position as XUL tags. bug 15775. r:hyatt 2000-01-13 23:51:01 +00:00
morse%netscape.com acdd159d01 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 81405a710a 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 13efd9e8c6 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 c675118fa0 Bug 23352. Check 'target' before calling nsIRDFDataSource::Unassert(). r=davidm 2000-01-08 00:22:35 +00:00
radha%netscape.com 7cd27e242d Fix for bug # 21767. Form values not reset upon reload. r=pollmann. 2000-01-06 22:42:16 +00:00
davidm%netscape.com 42d9b0e151 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 dc38085a11 use widget::GetScreenBounds to return window position. bug 5998. r:pierre. 2000-01-06 16:02:10 +00:00
ftang%netscape.com def645e594 remove unneeded XMLEncodingService, fix bug 22282 2000-01-06 01:25:57 +00:00
edburns%acm.org 507ee16e37 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 efc2e61498 fix for bug 22132, r=davidm 2000-01-06 00:23:24 +00:00
morse%netscape.com dc94d5dc33 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
rpotts%netscape.com e4d36a4fca Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
sspitzer%netscape.com 1df68ebcfd 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 b8073feab0 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 7411c47023 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 1f61dde518 remove compile-time warning that my checkin from this morning introduced 1999-12-20 02:51:36 +00:00
morse%netscape.com aff4cc5ac2 another attempt to fix mac bustage 1999-12-19 23:13:50 +00:00
morse%netscape.com d2553d73df band-aid to fix mac bustage 1999-12-19 19:34:25 +00:00
morse%netscape.com 3199512b93 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
jband%netscape.com 7d0cb0f4bb 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 f5164d466f Changed nsWebShellWindow to talk to webshell as an nsIBaseWindow where appropriate. 1999-12-17 23:43:47 +00:00
leaf%mozilla.org 90cc7b9fcf 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 f4ad22b9d9 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
danm%netscape.com 5692529042 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 302bf8eb7e 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 bf4ef9672f 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 648ace3e23 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 c136879a5f hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com 1999-12-01 22:38:06 +00:00
warren%netscape.com 2e30d543c3 Removed -- old netlib stuff. 1999-11-30 06:50:50 +00:00
warren%netscape.com a265a32348 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 c742997002 Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159 1999-11-30 04:49:11 +00:00
tbogard%aol.net 7178c23d71 Removed const from GetTitle to get in sync with API. 1999-11-27 02:24:43 +00:00
tbogard%aol.net 2d51697d64 Removed const from GetTitle to get in sync with removal from API. 1999-11-27 02:22:42 +00:00
norris%netscape.com b62c04253e 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 f684a2460e Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map. 1999-11-24 10:04:13 +00:00
tbogard%aol.net 321c4f13ac Removed the SetURLDispatcher call. 1999-11-24 09:41:45 +00:00
tbogard%aol.net a0640b60c4 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 80dda7d3c4 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 472b4a1624 Add MOZ_TIMER_LIBS to the link. r=shaver 1999-11-18 22:49:59 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 65790643ab 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 d70d78c6bf 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 411aade911 * 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