244 Commits

Author SHA1 Message Date
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
sspitzer%netscape.com
2e52c17f46 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.


git-svn-id: svn://10.0.0.236/trunk@56308 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 23:03:29 +00:00
morse%netscape.com
26b6521f5e another attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@56225 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 23:13:50 +00:00
morse%netscape.com
0e6301f5fa band-aid to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@56219 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 19:34:25 +00:00
morse%netscape.com
6fa6d63278 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56217 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 18:32:21 +00:00
tbogard%aol.net
7f977c7dbe Changed nsWebShellWindow to talk to webshell as an nsIBaseWindow where appropriate.
git-svn-id: svn://10.0.0.236/trunk@56155 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 23:43:47 +00:00
danm%netscape.com
78aaa53a28 actually use the 'visible' parameter in NewWebShell. makes new windows from links not be invisible.
git-svn-id: svn://10.0.0.236/trunk@55391 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 01:44:21 +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
danm%netscape.com
22cd501286 hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:38:06 +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
7d4f2d6a7c Removed const from GetTitle to get in sync with removal from API.
git-svn-id: svn://10.0.0.236/trunk@54490 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:22:42 +00:00
norris%netscape.com
2429ef124a 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


git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
tbogard%aol.net
dddce8c3b5 Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map.
git-svn-id: svn://10.0.0.236/trunk@54408 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 10:04:13 +00:00
tbogard%aol.net
ecf4583b04 Removed the SetURLDispatcher call.
git-svn-id: svn://10.0.0.236/trunk@54407 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 09:41:45 +00:00
tbogard%aol.net
a9a3650565 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
git-svn-id: svn://10.0.0.236/trunk@53676 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:05:21 +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
saari%netscape.com
48d75f5289 Landing focus changes. R: joki
git-svn-id: svn://10.0.0.236/trunk@53410 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 05:16:33 +00:00
danm%netscape.com
b74ba16a95 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.
git-svn-id: svn://10.0.0.236/trunk@53376 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:39 +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
waterson%netscape.com
7335ede542 Fix leak with nsCOMPtr. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@52827 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 00:44:10 +00:00
davidm%netscape.com
16e407c7ff 12539 Crash when quitting browser while bookmark properties dialog
r = saari
 nsINetPrompt implementation
r morse


git-svn-id: svn://10.0.0.236/trunk@52677 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:25:21 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
waterson%netscape.com
ed6d691c92 Remove unused references to nsIXULChildDocument and nsIXULParentDocument.
git-svn-id: svn://10.0.0.236/trunk@52135 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 22:18:21 +00:00
danm%netscape.com
d5cb9410ae moving initial content focus from OnEndDocumentLoad to Show. Reinstating SetSizeFromXUL. reduces new window flashing and allows gtk windows to size from JS. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@52036 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:52:49 +00:00
law%netscape.com
168d68ed9c Bug #14999; use OpenDialog instead of toolkit app core; r=radha@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51757 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:30:40 +00:00
danm%netscape.com
8e456a4690 moving Push/PopThreadEventQueue to nsIEventQueueService r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 15:04:18 +00:00
peterl%netscape.com
e8a5d2e937 Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50889 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:17:53 +00:00
mscott%netscape.com
2b381da127 Bug #16115 --> addref the web shell window inside it's Close method to keep the web shell window from getting
deleted out from under us. This could happen because in closing the window, we are destroying a webshell which
could have the last outstanding reference to the webshell window.
r=dp


git-svn-id: svn://10.0.0.236/trunk@50544 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 02:47:56 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
rpotts%netscape.com
fa598b6cae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer.
git-svn-id: svn://10.0.0.236/trunk@49795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:16 +00:00
davidm%netscape.com
758ff42c69 Add extra chrome flag for the sidebar and taskbars
git-svn-id: svn://10.0.0.236/trunk@48166 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 03:24:34 +00:00
sfraser%netscape.com
6cd9719155 Don't crash when closing the not-so-hidden window.
git-svn-id: svn://10.0.0.236/trunk@47986 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 19:56:53 +00:00
radha%netscape.com
baa9474b17 When invoking the mail composer upon on a click on a mailto: link, make
sure the to, cc, subject arguments are passed to the composer


git-svn-id: svn://10.0.0.236/trunk@47620 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:33:46 +00:00
danm%netscape.com
daa0ebcbb0 window.open(,_blank) now always opens a new window. r:joki
git-svn-id: svn://10.0.0.236/trunk@47484 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:40:06 +00:00
law%netscape.com
769a63dccc Fix title in view source window
git-svn-id: svn://10.0.0.236/trunk@47403 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:45:12 +00:00
pierre%netscape.com
77e6b000d5 Fixed crash on Quit due to a double delete of the nsAppShellService (it was noticed with debug builds on the Mac but it was affecting other platforms too)
git-svn-id: svn://10.0.0.236/trunk@46938 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 06:25:51 +00:00
hyatt%netscape.com
dc9e632ede Popup work.
git-svn-id: svn://10.0.0.236/trunk@46748 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 08:56:26 +00:00
kipp%netscape.com
42dd75656c Use nsAutoString to avoid malloc's
git-svn-id: svn://10.0.0.236/trunk@46615 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 20:44:17 +00:00
davidm%netscape.com
2ac5cc45f1 Update to support dialog titles and more than 2 buttons
git-svn-id: svn://10.0.0.236/trunk@45587 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:18:54 +00:00
danm%netscape.com
2578e432cd SizeContentTo sizes content webshell (was sizing chrome webshell)
git-svn-id: svn://10.0.0.236/trunk@45233 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 00:20:11 +00:00
law%netscape.com
379c6c0f92 Fix for bug #9866; check for memory allocation failure
git-svn-id: svn://10.0.0.236/trunk@44558 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:15:37 +00:00
hyatt%netscape.com
48d980b7c9 Patching a focus problem on web shell windows when no content area is contained in
a XUL file.


git-svn-id: svn://10.0.0.236/trunk@44198 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:43:31 +00:00
hyatt%netscape.com
1b3d134a9d Disabling the old popup code. The new popup code will be coming online
soon.


git-svn-id: svn://10.0.0.236/trunk@43710 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:11:12 +00:00
dp%netscape.com
65613971f8 Trying to fix solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@43632 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 16:57:32 +00:00
danm%netscape.com
ba1721aabc fix refcounting of parent window during window creation. fixes bug 12077.
git-svn-id: svn://10.0.0.236/trunk@43623 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:44:31 +00:00
danm%netscape.com
0d2f1b579b disable browser appcore's load of default page for new windows created by NewWebShell. fixes bug 11404. a:cyeh@netscape.com
git-svn-id: svn://10.0.0.236/trunk@43373 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-16 22:23:19 +00:00
scc%netscape.com
c108d9dde2 renamed to QueryReferent, do_QueryReferent, etc.
git-svn-id: svn://10.0.0.236/trunk@43314 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 23:00:58 +00:00
danm%netscape.com
caf895916f Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don
git-svn-id: svn://10.0.0.236/trunk@43260 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:08:17 +00:00
briano%netscape.com
1cf8df04f0 Fixed the missing newline bug that was upsetting HP.
git-svn-id: svn://10.0.0.236/trunk@43213 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 01:53:17 +00:00
davidm%netscape.com
ad7304e632 11128 Title bar of windows not displaying correctly - change name of attribute
git-svn-id: svn://10.0.0.236/trunk@43144 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 03:47:00 +00:00