Commit Graph

1107 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
b21a2a4d57 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
dougt%netscape.com
126a02889b adding xpfe file locations to be a provider of the nsDirectoryService.
r=dveditz@netscape.com
2000-05-11 21:06:17 +00:00
law%netscape.com
4e8c9aaf75 Export new nsINativeAppSupport interface header 2000-05-11 01:10:39 +00:00
sfraser%netscape.com
01bcb15814 Add some scoping {} to keep nsCOMPtrs within #ifdef code scope. This make window destruction order similar on Mac and other platforms, thereby fixing bug 38869 and maybe some other leaks. 2000-05-11 01:08:37 +00:00
rjc%netscape.com
e32ff92b27 Center common dialogs on screen. 2000-05-10 08:42:29 +00:00
sfraser%netscape.com
d377d4851e Tidy up the #ifdefs in CreateHiddenWindow to not confuse the CodeWarrior editor. 2000-05-10 00:37:05 +00:00
sspitzer%netscape.com
b3eeb21d31 fix assertions. 2000-05-09 19:09:41 +00:00
cls%seawood.org
d04e97c083 Forgot to add EXTRA_DSO_LIBS to EXTRA_DSO_LDOPTS. Bug #38353 2000-05-06 23:58:03 +00:00
dveditz%netscape.com
3141ce21a7 Adding the profile-chrome directory for use by skin installer 2000-05-05 04:03:17 +00:00
davidm%netscape.com
81f95600a3 Fix memory leak 2000-05-05 03:09:37 +00:00
cls%seawood.org
4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
law%netscape.com
a9465e075b New interface to provide Win32 DDE support, not built yet 2000-05-03 23:14:59 +00:00
davidm%netscape.com
589249c8bc 13182 [PI] Internet Config support for MIME type mapping switch to using nsInternetConfig of nsUserInfoMac 2000-05-03 02:53:30 +00:00
davidm%netscape.com
28a2459478 13182 [PI] Internet Config support for MIME type mapping. 2000-05-03 02:52:45 +00:00
davidm%netscape.com
055406bb9b First Checked In. 2000-05-03 02:51:51 +00:00
sfraser%netscape.com
db35a66608 Implement nsUserInfo on Mac, bug 29594. Add IC lib, weak linked. r=sspitzer. 2000-05-02 23:27:52 +00:00
sfraser%netscape.com
f71ba112ac Implement nsUserInfo on Mac, bug 29594. r=sspitzer. 2000-05-02 23:27:35 +00:00
sfraser%netscape.com
a412070ada First Checked In. 2000-05-02 23:26:01 +00:00
pavlov%netscape.com
a406d1c43a string fun 2000-04-27 22:39:17 +00:00
danm%netscape.com
2aeb01376b use preference for browser chrome url (aka navigator.xul). bug 31867 2000-04-26 02:25:28 +00:00
mscott%netscape.com
1971304ff9 Bug #33156 --> add a OnProgress handler 2000-04-25 05:51:04 +00:00
cls%seawood.org
5203eb31c3 Added --long-argument support for BeOS. Thanks to justin@68k.org for the patch. 2000-04-25 02:15:55 +00:00
scc%netscape.com
4fc9172ea9 makings string conversions explicit 2000-04-24 05:19:20 +00:00
rjc%netscape.com
86992f09eb Add ability to find search.rdf or "Search Plugins" directory. 2000-04-23 04:45:39 +00:00
pinkerton%netscape.com
b067edf867 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
danm%netscape.com
d0d8c4d5c3 dist...chrome restructuring 2000-04-19 21:42:30 +00:00
scc%netscape.com
1d4e8c5987 making string conversions explicit 2000-04-19 00:19:06 +00:00
scc%netscape.com
9ac6c4fb06 making string conversions explicit 2000-04-18 07:44:58 +00:00
tbogard%aol.net
08d91326d6 Both compiling and linking are pulled from the same list CPP_OBJS. 2000-04-17 01:05:24 +00:00
leaf%mozilla.org
34fa9b4fb7 removing reference to an obj file that no longer gets built 2000-04-16 19:47:38 +00:00
tbogard%aol.net
833361b073 removed files: mozilla/xpfe/appshell/src/nsSessionHistory.cpp 2000-04-16 11:20:51 +00:00
tbogard%aol.net
d39298580d Removing the old session history code. 2000-04-16 11:19:47 +00:00
tbogard%aol.net
3601d309e9 Replace setNetworkActive and setWindowActive by just passing up the status in the new onStatusChange method. 2000-04-16 11:19:03 +00:00
tbogard%aol.net
cc02530d3b Removing the old session history interface. 2000-04-16 11:19:02 +00:00
tbogard%aol.net
26354a3ff0 removed files: mozilla/xpfe/appshell/public/nsISessionHistory.idl 2000-04-16 11:18:40 +00:00
danm%netscape.com
24b21c7210 hook up new 'centerscreen' chrome flag 2000-04-13 20:32:30 +00:00
danm%netscape.com
24641e5743 adding a 'center' method 2000-04-13 20:07:28 +00:00
tbogard%aol.net
d05eb8f1ea Changed the code to use the nsIXULBrowserWindow interface rather than poking attributes for setting throbber activity, window activity and location changing. This should speed things up a bit and also makes the code a bit cleaner. 2000-04-13 08:08:52 +00:00
tbogard%aol.net
2ea02cc216 Close now simply calls destroy. nsWebShellWindow now has a subclass for Destroy which does everything that Close use to do. Removed all the implementation of nsIWebShellContainer methods that went away. 2000-04-11 23:52:50 +00:00
tbogard%aol.net
6b8b335f60 nsChromeTreeOwner is now a nsIWebProgressListener for a load. 2000-04-11 23:50:14 +00:00
putterman%netscape.com
8cbb6c9e43 Add a standalone message window and make multiple 3 pane configurations work. r=mscott, sspitzer. 2000-04-11 20:19:32 +00:00
danm%netscape.com
3f404cb31f when constraining z-level, make changes if "immediate" flag is set 2000-04-05 02:30:59 +00:00
davidm%netscape.com
8710e9a91f 34454 ftp thread destroying nsIPrompt on the wrong thread made nsWebShellWindow addref/release thread safe 2000-04-05 00:11:56 +00:00
tbogard%aol.net
82dffcacfd Changed the session history to not rely on the webShell to capture the state. It can call through to presShell on it's own. 2000-04-02 00:22:32 +00:00
danm%netscape.com
2a3cd3976f sync with nsWebShellWindow.h 1.291 2000-04-01 22:15:07 +00:00
danm%netscape.com
bb24b943d8 adding events to constrain z-level 2000-04-01 22:13:46 +00:00
danm%netscape.com
ad5caf7088 now additionally keeps track of windows in z-order 2000-04-01 22:07:41 +00:00
danm%netscape.com
511e20db53 add z-ordering attribute 2000-04-01 22:03:28 +00:00
tbogard%aol.net
f1866c053f nsIWebShell now has a new method for this last remaining piece of code that needs to call the loadurl. Converted the load to use that call. 2000-04-01 00:29:28 +00:00
tbogard%aol.net
a154678139 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set. 2000-03-31 09:26:02 +00:00
tbogard%aol.net
249e773aae Changed the nsIXULBrowserWindow to distinguish between JS status and it's own status. Fixed bugs where pages that set the window.status wouldn't actually end up showing up correctly. Now status has a priority scheme where different status versus links etc take priority. Use the new interfaces on nsPIDOMWindow to get to the properties hanging off the js window object instead of the old separate list. 2000-03-31 03:36:26 +00:00
saari%netscape.com
09f76b4017 Fixing MacOS native menu leak 2000-03-30 01:47:20 +00:00
gayatrib%netscape.com
b344ded683 Fixing all the callers of profile manager to use it's new i18n friendly interface. r=dveditz 2000-03-30 01:35:15 +00:00
warren%netscape.com
727f312b32 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. 2000-03-29 03:58:50 +00:00
shaver%mozilla.org
c18c1e8464 fix leak of nsAppShellService (#29907, r=warren) 2000-03-29 01:21:23 +00:00
dougt%netscape.com
d3335d5b52 making bool of AlertCheck be a inout param. this was suggested by morse@netscape.com 2000-03-28 11:37:12 +00:00
tbogard%aol.net
26c5586713 FindNamedBrowser is now FindNamedBrowserItem and deals with nsIDocShellTreeItems instead of nsIWebBrowser. 2000-03-28 09:54:25 +00:00
danm%netscape.com
5a06b7c3e9 reenabling disabling of modal window's parent, inexplicably removed in rev 1.21. bugs 30633, 33129 2000-03-28 00:53:43 +00:00
scc%netscape.com
fe25c08040 small changes to clients of string converting APIs 2000-03-26 12:05:32 +00:00
jim_nance%yahoo.com
bebfa35340 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
tbogard%aol.net
109ae22cdd Now when we want to tell the XUL Window of changes in progress, or status or overlink we use the new nsIDOMWindow::GetXPConnectObject functionality. This replaces our need for the broadcaster observer stuff along with the expensive setAttribute calls. 2000-03-24 03:46:15 +00:00
pollmann%netscape.com
7b81038eb7 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth 2000-03-24 03:37:03 +00:00
tbogard%aol.net
4aeaa44d4e Added new file nsIXULBrowserWindow.idl. 2000-03-24 03:09:39 +00:00
dougt%netscape.com
081fe374c9 Adding AlertCheck() to common dialogs. r=davidm@netscape.com 2000-03-23 06:38:35 +00:00
norris%netscape.com
b469634b56 Fix 32595 BAD: browser crashed on links.
r=mstoltz
2000-03-21 23:14:29 +00:00
danm%netscape.com
8fbf675e39 specify no min/max buttons for resizeable dialogs. bug 7372. code by roc+moz@cs.cmu.edu 2000-03-21 03:38:24 +00:00
sspitzer%netscape.com
66b5c6c373 clean up nsUserInfoUnix.cpp. fix from Chris Seawood <cls@seawood.org>.
r=sspitzer, tested by colin blake on vms.
2000-03-17 07:53:19 +00:00
tbogard%aol.net
5a2440fe6b SetJSStatus, SetJSDefaultStatus and SetOverLink now poke a DOM attribute on element WebBrowserChrome in the xul window if one exists. Renamed nsXULWindow::GetDOMElementFromDocShell to be nsXULWindow::GetWindowDOMElement. This cleans up having to pass in the same docShell over and over and make it mean more of what it is. Added a nsXULWindow::GetElementById which returns an element of the specified id within the xul window. nsContentTreeOwner doesn't need to cache the defaultStatus. nsWebShellWindow doesn't need to call ExecutStartupCode anymore as that was only there for nsIXULWindowCallbacks code which is gone. nsWebShellWindow doesn't need to cache mStatus or mDefaultStatus. 2000-03-16 05:45:26 +00:00
tbogard%aol.net
74bb53ade6 Change nsIWebShell::LoadURL calls to use nsIWebNavigation::LoadURI. 2000-03-16 02:20:26 +00:00
tbogard%aol.net
b8b57cf7d1 Providing implementation for SetOverLink. 2000-03-16 01:01:57 +00:00
sspitzer%netscape.com
620987a70a fix to get this to build on VMS. thanks to colin blake for this patch. r=sspitzer 2000-03-15 05:30:13 +00:00
tbogard%aol.net
51fe1b4422 Updated paramaters to FindNamedBrowserChrome() and changed it to FindNamedBrowser() to reflect changes in the API. 2000-03-15 04:34:29 +00:00
tbogard%aol.net
f4be7fb6ae Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API. 2000-03-14 07:06:07 +00:00
sspitzer%netscape.com
7d2ed2aada all three platforms have an implementation of nsIUserInfo now.
(but mac and windows impls need work, see bugs #29594 and #29596)
2000-03-12 11:59:34 +00:00
sspitzer%netscape.com
3fdf1674f6 added files: mozilla/xpfe/appshell/src/nsUserInfoMac.cpp 2000-03-12 11:57:56 +00:00
sspitzer%netscape.com
bf56d7dbed minor tweakage, not part of the build yet. 2000-03-12 11:52:02 +00:00
sspitzer%netscape.com
e66c382543 we now have an implementation of nsIUserInfo for windows.
only GetUsername is implemented.
2000-03-12 11:49:28 +00:00
sspitzer%netscape.com
3e1091328f fix build bustage. I need to make this code more portable across unixes. 2000-03-12 10:26:09 +00:00
sspitzer%netscape.com
1a0905dcd2 turn on nsUserInfo for unix only right now. windows and mac to follow. 2000-03-12 08:17:43 +00:00
sspitzer%netscape.com
313010ccfd added files: mozilla/xpfe/appshell/public/nsIUserInfo.idl 2000-03-12 07:58:13 +00:00
sspitzer%netscape.com
a27c258b6e adding nsIUserInfo the the build 2000-03-12 07:51:35 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
norris%netscape.com
9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net
dceeae290a Hold on to a docShell instead of a webShell. 2000-03-11 01:28:07 +00:00
tbogard%aol.net
b02ae83842 SetWebShell now sets a DocShell instead. 2000-03-11 01:27:42 +00:00
tbogard%aol.net
ac382f95a8 No longer implement the nsIBrowserWindow interface. Changed nsIDocumentLoaderObserver declarations to use the XPIDL generated macro. 2000-03-11 01:26:36 +00:00
tbogard%aol.net
1cf2eba45a No longer implement the nsIBrowserWindow interface. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Use the docShell APIs to initialize creation of the docShell/ webShell. 2000-03-11 01:25:54 +00:00
tbogard%aol.net
225c10c319 Remove dependency on nsIBrowserWindow. 2000-03-11 00:21:27 +00:00
tbogard%aol.net
7aa966acf2 Use the docShell APIs to navigate through children of the docShell. 2000-03-11 00:14:50 +00:00
danm%netscape.com
0560402e53 persist size only when window is not minimized or maximized. bug 30116 r=scc a=jevering 2000-03-09 02:00:20 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
jj%netscape.com
d5f6f16865 Removed references to MOZ_FULLCIRCLE in mozilla. a=leaf r=sfraser 2000-03-04 01:52:50 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
sspitzer%netscape.com
3093145395 add some comments / todo items. not part of the build. 2000-03-02 00:59:58 +00:00
sspitzer%netscape.com
46a21ce04e not part of the build yet. 2000-03-01 19:52:43 +00:00
sspitzer%netscape.com
7ecceef4b0 not part of the build yet. 2000-03-01 19:03:33 +00:00
sspitzer%netscape.com
9f24d3b8c7 not part of the build. 2000-03-01 17:24:12 +00:00
sspitzer%netscape.com
5650853485 not part of the build yet. 2000-03-01 05:55:19 +00:00
sspitzer%netscape.com
f4cd0a1c67 not part of the build yet. 2000-03-01 05:17:06 +00:00
tbogard%aol.net
d0507604ce Removing nsIXULWindowCallbacks as it is no longer used. r=danm a=jevering 2000-02-29 22:11:33 +00:00
tbogard%aol.net
4551c424d8 Removing nsIXULWindowCallbacks from the build as it is no longer used. r=danm a=jevering. 2000-02-29 22:10:06 +00:00
tbogard%aol.net
d2a51867ff Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering 2000-02-29 22:03:49 +00:00
mkaply%us.ibm.com
71af59e33c # 25555
r= sobotka (per jdunn@netscape.com)
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:52:31 +00:00
pollmann%netscape.com
1a92e41ff8 Bug 28670: Remove unneeded scroll param to webshell::Init r=travis a=rickg 2000-02-29 06:50:27 +00:00
dougt%netscape.com
a14179a92e Adding a windows implementation of GetUserName().
Adding a check on unix to ensure that the out param is not null when return
NS_OK.

Not in the build.
2000-02-29 04:39:54 +00:00
danm%netscape.com
bc4e8ed4e4 fixing build bustage by obliterating the entire offending function, which appears to be unused. 2000-02-29 02:50:06 +00:00
sspitzer%netscape.com
976819d442 change this to a wstring. not part of the build. 2000-02-29 01:38:45 +00:00
tbogard%aol.net
a0a5a8ed4e This should fix the mac bustage. 2000-02-29 01:37:49 +00:00
sspitzer%netscape.com
ae871d5874 not part of the build. 2000-02-29 00:49:46 +00:00
tbogard%aol.net
cf5a3f3925 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
dp%netscape.com
a420f03496 bug# 29063: Removing about a 100 calls to stat() on startup. r=alecf,racham a=jar 2000-02-28 15:57:13 +00:00
danm%netscape.com
9fe3a0a9db hide while destroying. prevents bad messages from getting to partially dead window. bug 28241 2000-02-27 22:34:18 +00:00
sspitzer%netscape.com
7cb570ad1b fix for #28911, r=alecf, a=jar. avoid loading in unnecessary dlls at startup. 2000-02-26 03:52:06 +00:00
sspitzer%netscape.com
9e1fffab82 not part of build, yet. 2000-02-26 03:29:24 +00:00
dougt%netscape.com
d076e83c8f fix for 26691. PDT+. reviewed by byner. This basically removes a assert that
was upsetting user of viewer.
2000-02-26 00:09:44 +00:00
danm%netscape.com
4727b65a38 re-enable parent window of modal dialog before dialog is destroyed. part of bug 28467. r=saari a=jar 2000-02-25 03:11:21 +00:00
danm%netscape.com
896e8238ee move all functional modal window code into nsXULWindow. part of bug 28467. r=saari a=jar 2000-02-25 03:11:13 +00:00
danm%netscape.com
65a83224fa oops. har. that last patch just disabled the timing, which reverted bug 28473. This one was the intended. 2000-02-24 21:32:47 +00:00
danm%netscape.com
298efc29cb tree-closure bug 29094 -- A tricky condition involving relative timing of size and position events seems to have surfaced. This patch should sort them out. 2000-02-24 21:16:16 +00:00
tbogard%aol.net
99210769aa Changed reload to go through the new nsIWebNavigation interface on the docShell. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 03:58:44 +00:00
tbogard%aol.net
3ffe268a79 Removed unused legacy function that is never called. Put an assert in place for people calling the old ShowModally, this is never called, but this will prevent new people from calling until it can be completely removed. r=danm. 2000-02-24 01:39:31 +00:00
tbogard%aol.net
c69642298a Pass true to repaint when resizing the outer window to fit the content. Fix for 28985. r=cmanske 2000-02-24 01:16:08 +00:00
danm%netscape.com
933477f2ad putting size and position persistence on a timer to ease chunky movement. r=scc a=jar 2000-02-23 20:07:31 +00:00
waterson%netscape.com
6d0ebbccfd Bug 27855. Use an event instead of a timer to flush the event queue when the app is shutting down. r=syd, a=jevering. 2000-02-22 06:01:57 +00:00
dveditz%netscape.com
a63ee75907 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
waterson%netscape.com
85010931c6 Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering. 2000-02-19 00:56:13 +00:00
jdunn%netscape.com
080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
sspitzer%netscape.com
ff7d1c07c2 turning off these printfs, except for saari. a=phil 2000-02-17 21:19:11 +00:00
sspitzer%netscape.com
56fb0c4bb2 clean up -help output. fix bug #26959, make it so when you start
a browser window, the right page (home, blank or last page visted) gets
loaded.  clean up tasksOverlay.js, navigator.js and Ensure1Window()
use the browser's command line handler (remove duplicate code).
remove uri dispatching ui and js.  r=mscott
2000-02-16 06:22:03 +00:00
danm%netscape.com
7448117f2b reverting fuzzy-brained part of last checkin that causes Hidden Window to be Tempting Crasher Window. bug 27842 2000-02-15 20:01:11 +00:00
tbogard%aol.net
d168c64453 The title is now only set on the window when the window has the contenttitlesetting="true" attribute. r=hyatt 2000-02-15 10:20:41 +00:00
danm%netscape.com
10574123ae reinstate recently removed disabling of modal window's parent. bug 19221. r:hyatt 2000-02-15 05:06:08 +00:00
dveditz%netscape.com
9172024f8e New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
2000-02-15 01:32:12 +00:00
tbogard%aol.net
452278e13f Removed unused GetPresShell(). Rely on nsXULWindow for the implmentation of SetIntrinsicSizing. SetStatus now flows through the nsXULWindow content tree owner. r=hyatt 2000-02-14 06:19:18 +00:00
tbogard%aol.net
17460e44b3 Added implementation for SetJSStatus and SetJSDefaultStatus. r=hyatt 2000-02-14 06:15:35 +00:00
tbogard%aol.net
b1608c3a04 Added the NotifyObservers function. r=hyatt 2000-02-14 06:14:21 +00:00
tbogard%aol.net
88d298ec91 Added the implementation for FocusAvailable. Added implementation for the new intrinsicSizing attribute. Moved over the NotifyObservers() call from nsWebShellWindow. r=hyatt 2000-02-14 06:13:12 +00:00
tbogard%aol.net
1ad5c378d4 Added an intrinsic sizing attribute. r=hyatt 2000-02-14 06:10:52 +00:00
pavlov%netscape.com
5c6f0e30a9 fix viewer bustage on linux r=bryner 2000-02-12 04:47:38 +00:00
saari%netscape.com
5be6d636ee more focus changes 2000-02-11 23:51:53 +00:00
saari%netscape.com
e1c9a7faa0 changes for PDT+ focus bugs, see my list, r=hyatt 2000-02-11 23:50:15 +00:00
sfraser%netscape.com
862c03f913 Fix for bug 27287 -- get Apple Events working again on Mac. r=scc 2000-02-11 22:10:43 +00:00
tbogard%aol.net
76b9ae1b30 Remove methods that are no longer needed to implement nsIWebShellContainer. Removed the local chrome mask member variable and moved it into relying on the base class. r=hyatt 2000-02-11 08:32:01 +00:00
tbogard%aol.net
e46ebc6ad0 Default to all chrome rather than no chrome. bug fix for 27354. 2000-02-11 08:21:15 +00:00
tbogard%aol.net
6a1ffaeb57 Moved the loading of the Title, Position and size from XUL into nsXULWindow from WebShellWindow. r=hyatt 2000-02-10 07:47:24 +00:00
tbogard%aol.net
dcc6e4e620 Fixed a bug where when targetting to a "_content" window from within a XUL window that did not have a browser window would not find an already open browser to target into. r=hyatt 2000-02-10 07:41:11 +00:00
norris%netscape.com
2b4b436f5f Fix 25062 Reload vulnerability
25206 Reload vulnerability #2
Implement grant dialogs and persistence for capabilities.
most r=mstoltz, some code from morse w/ r=norris
2000-02-10 04:56:56 +00:00
tbogard%aol.net
784537aebf Clear the intrinsic sizing after we have already sized the window. Fixes bug #26976. 2000-02-08 21:29:00 +00:00
tbogard%aol.net
4427818f1d The XULWindow object can get destroyed during the closing of a window, thus our loop would not have access to the mContinueLoop. We internally bump the ref on ourselves to ensure that while in the loop the object stays valid. r=mscott. 2000-02-08 20:20:33 +00:00
tbogard%aol.net
5408b39e26 When creating a new COM C++ object the refcount starts out at 0. Though we will QI before we return it out, we need to ensure COMPtr's used during init don't take the count to 1 and then back to 0. So we temporarily locally bump the count to 1 to represent our ownership during the scope of the function. r=mscott 2000-02-08 20:19:00 +00:00
tbogard%aol.net
79d89d1831 Fixed crash when dismissing modal dialogs. r=mscott 2000-02-08 18:57:02 +00:00
tbogard%aol.net
90bab0bb4f We were checking against TRUE on the return rather than NS_SUCCEEDED(). Fix for bug #26974. Good catch by Putterman. 2000-02-08 18:45:55 +00:00
tbogard%aol.net
48b1db01ed Ooops, XULWindow doesn't implement nsIDocumentObserver. Commented it out for now and moved the removal of the observer back to webshellwindow. This should fix the mac build. 2000-02-08 16:14:55 +00:00
tbogard%aol.net
4e6803a14f Fixed it so prompts could come up. Was missing the ability to QI properly. 2000-02-08 16:11:10 +00:00
tbogard%aol.net
1aa3d662b7 Now that the content viewer supports the SizeToContent, we can farm the work off onto it. r=hyatt 2000-02-08 15:55:46 +00:00
tbogard%aol.net
840c8350e1 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
sspitzer%netscape.com
69ae01cc66 on windows, make /mail be the same as -mail
on linux, make --mail be the same as -mail
r=alecf #23501
2000-02-08 11:59:06 +00:00
sspitzer%netscape.com
72e8a9e317 make it so -chrome <chrome url> does the right thing.
r=mscott
2000-02-08 03:12:39 +00:00
sspitzer%netscape.com
286dfe38d2 make it so -FOO, -Foo, and -foo all have the same effect.
r=mscott.  #25282
2000-02-08 02:50:32 +00:00
sspitzer%netscape.com
9431eb3736 more changes to get everyone using my arbitrary command line handling.
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott
2000-02-08 01:11:13 +00:00
sfraser%netscape.com
ed0c5e7aba Remove PowerPlant dependencies, by temporarily #if 0 out some code. r=beard, scc 2000-02-07 23:38:28 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
c00837ec56 I hate copy and pasted code. write two macros to do all the work for me.
r=alecf
2000-02-06 12:21:22 +00:00
sspitzer%netscape.com
83d321361d fix the assertion at startup, and other breakage. because appshell is a component, we need to install
it into bin/components, and not bin.  r=syd
2000-02-05 09:36:02 +00:00
alecf%netscape.com
8e7d3b39ee make appshell into a component
r=sspitzer
2000-02-05 05:38:13 +00:00
tbogard%aol.net
94353c313c Implemented GetPosition, SetSize, GetSize, and SetPositionAndSize. Added and stubbed out SizeShellTo, ShowModal and GetNewBrowserChrome. r=pavlov 2000-02-05 03:26:35 +00:00
tbogard%aol.net
baf284b1dd Added stub implementation for new methods nsIDocShellTreeOwner::SizeShellTo, and nsIDocShellTreeOwner::ShowModal. GetNewBrowserWindow calls into nsXULWindow to do the work. Implemented GetMainWidget, SetFocus, and FocusAvailable. 2000-02-05 03:26:12 +00:00
tbogard%aol.net
7d89d2dbb1 Added stub implementation for new methods nsIDocShellTreeOwner::SizeShellTo, and nsIDocShellTreeOwner::ShowModal. GetNewBrowserWindow calls into nsXULWindow to do the work. 2000-02-05 03:25:45 +00:00
sspitzer%netscape.com
f018e6d399 added files: mozilla/xpfe/appshell/public/nsICmdLineHandler.idl 2000-02-04 23:09:09 +00:00
sspitzer%netscape.com
5e8570bef6 building this on windows and linux, mac soon.
adding a #define for which category nsICmdLineHanders are for.
2000-02-04 23:07:27 +00:00
sspitzer%netscape.com
dff03d383f bulletproofing. r=alecf. see bug #26608 2000-02-04 22:37:11 +00:00
law%netscape.com
7d5448b5dd New splash screen stuff for windows version (plus removal of console from windows release builds); b=6391/22542, r=davidm@netscape.com (travis@netscape.com for the console stuff) 2000-02-04 14:40:08 +00:00
law%netscape.com
e706f60c92 Export new splash screen interface header (part of splash screen for windows changes); b=6391, r=davidm@netscape.com 2000-02-04 09:12:06 +00:00
sspitzer%netscape.com
d4401b412d add the interface for a command line handler. not part of build yet. 2000-02-04 04:33:46 +00:00
law%netscape.com
ad81185b3e New file needed for Win splash screen; b=6391,r=davidm@netscape.com 2000-02-04 03:24:55 +00:00
racham%netscape.com
6b01f7a730 Fixing bug 16791. Check if the current profile is available to return the profile directory value. r=gayatrib 2000-02-03 11:21:09 +00:00
sspitzer%netscape.com
96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
vidur%netscape.com
0f4ca0008c Fix for bug 26115. Missing addref in nsXULWindow::GetDocShell. r=travis 2000-02-03 01:01:31 +00:00
tbogard%aol.net
a4a1232ca0 Fixed titles of windows so they correctly show up when set from XUL files. r=hyatt 2000-02-02 04:58:18 +00:00
tbogard%aol.net
bd784e422a Added implementation for GetPrimaryContentShell now that it was added to nsIDocShellTreeOwner. r=hyatt 2000-02-02 02:28:32 +00:00
pp%ludusdesign.com
48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
sspitzer%netscape.com
b4f1c05ac0 make it so we can stuff a value given to us by the user from a Prompt()
can be stuffed into the single signon database, just like a password
can be.  auth news needs this.  r=dp,alecf
2000-02-01 08:43:48 +00:00
scc%netscape.com
6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
scc%netscape.com
8424ac3d64 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pinkerton 2000-01-31 23:45:42 +00:00
danm%netscape.com
94a219f706 changing name of opened window from 'null' to '_blank'. travis' idea. r:me 2000-01-31 21:33:50 +00:00
tbogard%aol.net
7c45f8716d The default content tree owner now has a separation of primary versus normal content areas. Primary areas are the only content areas that actually react to and set the title. 2000-01-30 07:29:38 +00:00
tbogard%aol.net
a5383448c8 Need to specify the class to call because the nsWebShellWindow base ends up calling the content set title. This ensures that Chrome and content go different paths for Setting the title. 2000-01-30 07:18:01 +00:00
tbogard%aol.net
b1f0a0aacb Fixed bug where when the aRequestor was the tree owner of the docShell in a content shell list. It was not advancing checking to see if the list had more. 2000-01-29 11:15:15 +00:00
tbogard%aol.net
e88463bfe8 Fixed the order in which the main docShell is released against when the content shells are released. The content shells are held onto until after the main docShell is released so the content shells can still be grabbed. 2000-01-29 11:08:21 +00:00
mscott%netscape.com
5299c7f507 oops forgot a checkin!!!
include nsIDocumentLoaderFactory.h
r=travis
2000-01-29 06:48:38 +00:00
sdagley%netscape.com
bbe5a1d59d Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in. 2000-01-28 04:00:28 +00:00
hyatt%netscape.com
98a3a526b1 Getting rid of createPopup 2000-01-28 03:04:40 +00:00
pepper%netscape.com
37e80e1ac7 All source files must contain a newline at the end of some unix builds fail. 2000-01-27 06:13:00 +00:00
pepper%netscape.com
87cbe5c9a6 ALL files must have a newline at then end 2000-01-27 06:07:03 +00:00
pepper%netscape.com
be6c10cf51 ALL files MUST have a newline at the end of certain unix builds will fail 2000-01-27 06:05:39 +00:00
tbogard%aol.net
0fa1a19b4d FindWebShellWithName now mainly relies on the implmenetation of nsContentTreeOwner::FindItemWithName for the implementation of finding named shells. 2000-01-27 06:01:02 +00:00
tbogard%aol.net
31982f8d7d Fixed FindItemWithName not to search shells that initiated the search request. Moved the guts of nsIDocShellTreeOwner::ContentShellAdded to nsXULWindow. 2000-01-27 05:59:48 +00:00
tbogard%aol.net
37a85fa443 Implemented FindItemWithName(). Stubbed out many of the other functions that shouldn't be called with error conditions. Setup nsContentTreeOwner as the default treeowner when one is not already set. 2000-01-27 05:59:44 +00:00
tbogard%aol.net
7be33c9438 Made the destructor virtual. Added ContentShellAdded notification to nsXULWindow. 2000-01-27 05:59:42 +00:00
tbogard%aol.net
2c35e7b993 Made the destructor virtual. 2000-01-27 04:56:21 +00:00
pepper%netscape.com
39f2d48ffb Yet another source file without an newline at the end. ALL file must have one. 2000-01-27 03:50:38 +00:00
saari%netscape.com
8e132ddbbe part of previous checkin 2000-01-26 22:48:16 +00:00
tbogard%aol.net
ffce833d24 Make nsWebShellWindow subclass from nsXULWindow. This paves the way for nsWebShellWindow to be replaced by nsXULWindow. Much of the work in nsWebShellWindow is put ontop of the nsXULWindow. 2000-01-26 02:21:42 +00:00
tbogard%aol.net
6ebd149e8e added files: mozilla/xpfe/appshell/src/nsChromeTreeOwner.cpp, mozilla/xpfe/appshell/src/nsContentTreeOwner.cpp, mozilla/xpfe/appshell/src/nsXULWindow.cpp 2000-01-26 01:28:18 +00:00
tbogard%aol.net
458490db79 Changing casing to fall inline with idl rules. 2000-01-26 01:07:56 +00:00
tbogard%aol.net
6e74433d34 Adding nsXULWindow.cpp, nsChromeTreeOwner.cpp and nsContentTreeOwner.cpp to the build. 2000-01-26 01:07:12 +00:00
tbogard%aol.net
2cec9a9f7b Implmemented ContentShellAdded(), the parent widget/ window functions as well as some of the init functions. [Not part of the build]. 2000-01-26 00:10:59 +00:00
tbogard%aol.net
24c747b937 Implemented FindItemWithName(). [Not Hooked to the build] 2000-01-25 22:00:59 +00:00
tbogard%aol.net
20e3a15454 nsXULWindow now maintains a list of content shells. Implemented GetPrimaryContentShell() and GetContentShellById(). [Not hooked to the build] 2000-01-25 21:59:31 +00:00
sspitzer%netscape.com
b4baf88489 do this, otherwise rv will be failure in all cases, even when Prompt
succeedes.
2000-01-25 03:21:00 +00:00
tbogard%aol.net
f67ee44f95 Added the ability to enumerate through the nsIWebShellWindow list instead of just the domWindow list. 2000-01-25 02:54:45 +00:00
tbogard%aol.net
e9a9b14772 Added the ability to get an enumerator that goes through "nsIWebShellWindow"s rather than DOM windows. These will soon become "nsIXULWindow"s thus the name. 2000-01-25 02:52:55 +00:00
tbogard%aol.net
55e2d93c13 First check in for nsXULWindow, nsContentTreeOwner and nsChromeTreeOwner. These collectively serve as the eventual replacement for nsWebShellWindow. (This is not hooked to the build). 2000-01-22 03:15:41 +00:00
tbogard%aol.net
93a2638f9a Started filling in methods needed on nsIXULWindow. (This is not hooked to the build). 2000-01-22 03:13:20 +00:00
tor%cs.brown.edu
22819c897a build bustage fix for older C++ compilers; bool -> PRBool; r=bryner 2000-01-19 01:34:26 +00:00
davidm%netscape.com
4b9e25212e 21901 [UI] dialogs don't have a title 22464 uninitialized variable in nsNetSupportDialog.cpp r = sspitzer 2000-01-18 05:50:56 +00:00
danm%netscape.com
cc3b8e6c5b kill persistence of browser window size for popups. bug 15555. r:hyatt 2000-01-15 02:33:14 +00:00
tbogard%aol.net
16c206f9f4 added files: mozilla/xpfe/appshell/public/nsIXULWindow.idl 2000-01-14 04:41:38 +00:00
tbogard%aol.net
3191ddb194 Added nsIXULWindow.idl and put the list in alpha order. 2000-01-14 04:33:54 +00:00
tbogard%aol.net
d3dd8a79de Added nsIXULWindow.idl to the build. 2000-01-14 04:24:16 +00:00
tbogard%aol.net
5913a2f65d 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
219f3348ce 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
334e9cd1b3 save/restore size & position as XUL tags. bug 15775. r:hyatt 2000-01-13 23:51:01 +00:00
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