88 Commits

Author SHA1 Message Date
danm%netscape.com
e7ee73db72 expose constants to script. bug 166442 r=jag,lumpy
git-svn-id: svn://10.0.0.236/trunk@130617 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 23:23:01 +00:00
dougt%netscape.com
39061b33ac Backing out 157597
git-svn-id: svn://10.0.0.236/trunk@130318 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 01:56:37 +00:00
dougt%netscape.com
d7be4a17ef Relanding 157597 - Make embedding base and examples use XPCOM Glue. r=adamlock, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@130248 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 17:21:47 +00:00
chak%netscape.com
98ed7836a1 Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129568 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 22:18:43 +00:00
dougt%netscape.com
8f7fb38feb Mfcembed no longer runs in Visual Studio Debugger, r=timeless, sr=alec, a=rjesup, b=166977
git-svn-id: svn://10.0.0.236/trunk@128989 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 20:19:14 +00:00
dougt%netscape.com
57028338f0 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
dougt%netscape.com
d1fc1c4b9d Fixes NS_InitEmbedding unconditionally calls AutoRegister. This also removes xpinstall from using component.reg which I believe is the last users of this file. r=chak,dveditz sr=bryner b=149208
git-svn-id: svn://10.0.0.236/trunk@127101 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 22:09:25 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
ccarlen%netscape.com
86b83ddabc Bug 160212 - Embedding window creators need flag to distinguish unrequested popups from other windows. r=pink/sr=jst/a=rjesup
git-svn-id: svn://10.0.0.236/trunk@126234 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 14:51:24 +00:00
dougt%netscape.com
e9d9254cc7 backing out
git-svn-id: svn://10.0.0.236/trunk@125454 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:58:27 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
chak%netscape.com
ded609d173 Fix for #131175 - Chnages to register MRE components
r=dougt, sr=rpotts, a=drivers


git-svn-id: svn://10.0.0.236/trunk@123059 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:33:04 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
danm%netscape.com
ca3f288dcc freezing interface for 1.0. bug 136275 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/trunk@118641 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:20:10 +00:00
alecf%netscape.com
7634aa9246 dependency update
git-svn-id: svn://10.0.0.236/trunk@113838 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:52:53 +00:00
danm%netscape.com
5ae1a11f6f change in wording of comment. bug 122393
git-svn-id: svn://10.0.0.236/trunk@113378 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 23:32:07 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
dbaron%fas.harvard.edu
1604f09dd2 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
git-svn-id: svn://10.0.0.236/trunk@110840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 02:09:49 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
pavlov%netscape.com
b7d549610f bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
ccarlen%netscape.com
745e58b9e6 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110224 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
6d33fa025c Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110170 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:25:12 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
locka%iol.ie
9320e8b6d1 Removed chrome registry code from embedding API to improve startup performance. r=ccarlen@netscape.com sr=hyatt@netscape.com r=105462
git-svn-id: svn://10.0.0.236/trunk@105766 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 12:43:05 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
alecf%netscape.com
0a278b6afc bug 101761 - clean up embed components so we can better understand REQUIRES r=cls
git-svn-id: svn://10.0.0.236/trunk@103856 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:17:35 +00:00
gerv%gerv.net
aade3081c8 License changes, take 2. Bug 98089. mozilla/embedding/.
git-svn-id: svn://10.0.0.236/trunk@103758 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:58:40 +00:00
locka%iol.ie
ff90e0106a NS_InitEmbedding & NS_TermEmbedding become frozen APIs. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103302 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:08:04 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com
937638062c Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
locka%iol.ie
aecb361ff6 Fix for fallout in embedding from component/service manager merge. b=98721 r=ccarlen@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@102532 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:05:50 +00:00
chak%netscape.com
85802ea20c Fix for #92798 - Asserts in nsParser.cpp when registering JS components
r=valseki, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@100225 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:31:54 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
locka%iol.ie
2b77fe0542 Remove event queue destruction code from NS_TermEmbedding to prevent assertions later on. b=79181 r=rpotts@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@98457 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 19:23:40 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
sfraser%netscape.com
c696d9a508 Backing out valeski
git-svn-id: svn://10.0.0.236/trunk@93248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 05:53:22 +00:00
valeski%netscape.com
4aea038db2 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:16:22 +00:00
disttsc%bart.nl
994be1be1e Fix senna bustage (MOZ_TRACK_MODULE_DEPS)
git-svn-id: svn://10.0.0.236/trunk@92159 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 03:30:51 +00:00