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

672 Коммитов

Автор SHA1 Сообщение Дата
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
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
waterson%netscape.com c7d7fbef2b Fix leak with nsCOMPtr. r=brendan, a=brendan 1999-11-05 00:44:10 +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
davidm%netscape.com 3eeb9d28c1 12539 Crash when quitting browser while bookmark properties dialog r = saari nsINetPrompt implementation r morse 1999-11-03 05:25:21 +00:00
danm%netscape.com 287052e96e oops! Observe() was checked in flawed in 1.90. gtk may one day have noticed. r:noman@odyssey.org 1999-11-03 02:29:59 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
danm%netscape.com 90581d9641 removing implementation of nsIShutdownListener. it was redundant, anyway. r:dp@netscape.com 1999-11-02 01:10:35 +00:00
dp%netscape.com 40dff7f37d Removing release on a service as this would be taken care by the
NS_WITH_SERVICE() macro. r=danm
1999-11-01 21:16:24 +00:00
morse%netscape.com 43be8183c0 provide compatibility with single signon, r=davidm 1999-10-29 04:30:38 +00:00
sspitzer%netscape.com 73b4a087fd fix for #16231, r=mscott. make the file locator know about panels.rdf.
if <profile>/panels.rdf doesn't exist, copy the default to that location.
1999-10-29 04:02:25 +00:00
waterson%netscape.com 1409d66985 Remove unused references to nsIXULChildDocument and nsIXULParentDocument. 1999-10-28 22:18:21 +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