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
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
9e1fffab82
not part of build, yet.
2000-02-26 03:29:24 +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
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
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
286dfe38d2
make it so -FOO, -Foo, and -foo all have the same effect.
...
r=mscott. #25282
2000-02-08 02:50:32 +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
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
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
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
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
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
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
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
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
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
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