Commit Graph

174 Commits

Author SHA1 Message Date
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
henry.jia@sun.com
180c918f8c 2nd patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 05:11:23 +00:00
dougt@netscape.com
84301857f7 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com 2002-04-15 22:52:15 +00:00
darin@netscape.com
fc6d5e4b32 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dougt@netscape.com
c3e0a303eb 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
dbaron@fas.harvard.edu
004cf1e6eb Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt@netscape.com
32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
bzbarsky@mit.edu
aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron@fas.harvard.edu
1d843feacf Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
danm@netscape.com
9e8b67373a consolidating nsIWebBrowserChrome::CreateBrowserWindow and nsIWindowCreator::CreateChromeWindow. part of bug 88229 r=hyatt,rpotts 2001-11-06 01:19:39 +00:00
seawood@netscape.com
74b22d1a32 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dbaron@fas.harvard.edu
d52d3d978e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
jaggernaut@netscape.com
a29a08f141 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
cls@seawood.org
f8e349e4e7 Remove unused fullcircle build references.
Bug #98293 r=namachi
2001-09-07 04:59:44 +00:00
valeski@netscape.com
ab37c5705a r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
bryner@netscape.com
f2a525e569 Bug 66036 - Make viewer use nsIFilePicker instead of nsIFileWidget.
This required several fixes to make viewer able to display Linux's XUL
filepicker correctly, including making modal dialogs work, delaying the
showing of chrome windows until the document has fully loaded, and fixing
the problem on gtk where space was reserved for a menubar even if the
window doesn't have one.

r=jag, sr=shaver.
2001-08-14 05:21:54 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
valeski@netscape.com
924753d8e6 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases. 2001-07-19 05:48:49 +00:00
dbaron@fas.harvard.edu
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut@netscape.com
baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron@fas.harvard.edu
20d7bc6052 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
waterson@netscape.com
83a9c40b3e Bug 62589. Remove ad hoc timers from layout regression page cycler, collection regression data 200msec after page load has completed. Fix some bustage on framesets that happened when landing the new embed APIs. Fix Win32 harness to set XPCOM_DEBUG_BREAK=warn. r=karnaze,rpotts; sr=attinasi 2001-05-11 02:17:35 +00:00
dcone@netscape.com
aca3581c20 sr=waterson r=karnaze. Fixed printing regression tests. 2001-05-03 22:12:35 +00:00
bnesse@netscape.com
027a851757 Prefs API refactoring. Bug #46863. r=valeski, sr=alecf. 2001-04-26 18:41:11 +00:00
bryner@uiuc.edu
ab23d69a18 Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan. 2001-04-20 06:45:56 +00:00
bnesse@netscape.com
311ecc05bb Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard. 2001-04-19 22:21:39 +00:00
chak@netscape.com
d02ae69320 Fix for bug#66334 - Viewsource needs to be a protocol handler
Changes to make the viewer to use viewsource: URL
r=valeski,sr=rpotts
2001-04-16 20:18:30 +00:00
yokoyama@netscape.com
c6d2d72ea6 Partial fix for 66020: /r=valeski; /sr=alecf 2001-04-14 00:31:09 +00:00
locka@iol.ie
680bdb8529 Update viewer to use nsIWebBrowserSiteWindow. b=67723, sr=buster 2001-02-14 13:14:41 +00:00
ccarlen@netscape.com
f70959a99b Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
rods@netscape.com
660e44120e backed out unwanted changes 2001-01-10 15:42:24 +00:00
rods@netscape.com
5c725ca01e removing GfxListControlFrame support code
Bug 62960, r=kmcclusk sr=hyatt
2001-01-10 14:44:42 +00:00
attinasi@netscape.com
ee2a5d190e Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
alecf@netscape.com
4537ca16c5 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz
2000-11-17 20:54:21 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
warren@netscape.com
6f62c5808c Bug 15623. Fixed registration of nsKeygenHandler. 2000-08-25 18:48:50 +00:00
ccarlen@netscape.com
90372b7200 Fixing 49842 - the part about viewer not having an appfilelocprovider r=waterson 2000-08-22 22:59:34 +00:00
harishd@netscape.com
3fe7d2f431 Propagating nsIFormProcessor change to nsTestFormProcessor. 2000-05-05 20:39:23 +00:00
pavlov@netscape.com
77c859fa37 more string fun 2000-04-27 22:24:36 +00:00
scc@netscape.com
cdb72918cf making string conversions explicit 2000-04-18 10:22:00 +00:00
tbogard@aol.net
963e40b357 nsIBrowserWindow::GoTo no longer takes the command parameter. 2000-03-29 10:23:34 +00:00
rods@netscape.com
00ed3f4d0c Added the ability to set a particular index in the Tests Sites Dialog
in case you need to start over.
r=dcone
2000-03-20 15:46:03 +00:00
tbogard@aol.net
143581a69f Changed nsIBrowserWindow references to reference nsBrowserWindow. nsBrowserWindow is no longer a component. More implementation to get nsBrowserWindow and nsWebBrowserChrome implementations geared towards the embedding code. made nsBrowserWindow implement nsIBaseWindow. 2000-03-14 11:08:43 +00:00
tbogard@aol.net
fb0fbd6327 L"" is not legal on all compilers to pass to a PRUnichar*. So instead need a temporary nsAutoString. 2000-03-14 05:41:02 +00:00
tbogard@aol.net
cb8fdf7214 When bringing up the View Source window, set the title and set the mode on the docShell. 2000-03-14 04:39:46 +00:00
tbogard@aol.net
1c7bf629cf 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
mkaply@us.ibm.com
fb04fc4ffe # 25555
r= alecf@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:45:58 +00:00
rods@netscape.com
bc1db5aa6e adding widget viewer based widget library to build
widgets are no created from NS_New mthods instead of from the factory
r kmcclusk, b =17027
2000-02-04 15:58:35 +00:00