703 Commits

Author SHA1 Message Date
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
cltbld%netscape.com
fb42e0d8d0 Fixing build busted in --enable-bohem builds
git-svn-id: svn://10.0.0.236/trunk@105721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 21:45:52 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
av%netscape.com
7c799c5bd3 Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
git-svn-id: svn://10.0.0.236/trunk@105376 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 20:40:40 +00:00
dbaron%fas.harvard.edu
c7ecd0425e Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +00:00
dougt%netscape.com
e791d31d3d fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104332 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:44:27 +00:00
seawood%netscape.com
9fcd756f2b Removing nsCOMPtr.{h,cpp} from xpcom/base. They have been copied (in the cvs repo) and are built in xpcom/glue.
Bug #99698


git-svn-id: svn://10.0.0.236/trunk@104240 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 03:30:29 +00:00
seawood%netscape.com
49d0e82cb0 Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
Bug #99698 r=rpotts sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104238 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 01:44:25 +00:00
seawood%netscape.com
e4bb761af1 Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104232 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 23:03:39 +00:00
seawood%netscape.com
7525745442 Export nsCOMPtr.h from xpcom:glue instead of xpcom:base .
Bug #99698 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104218 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 12:31:09 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
mkaply%us.ibm.com
4490848ef7 OS/2 bustage - we don't use _System
git-svn-id: svn://10.0.0.236/trunk@103947 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:04:44 +00:00
jdunn%netscape.com
398e9dfa0b rulebrk.c includes this header, so we can't have c++
comment delims (//) we need to stick with c ones (/* ... */)
Fixing bustage!


git-svn-id: svn://10.0.0.236/trunk@103938 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 12:41:06 +00:00
dougt%netscape.com
05f25b6893 fixing a missing } in the macro. r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103923 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 04:49:38 +00:00
dougt%netscape.com
f30dca6482 Adding new files to the unix build.
git-svn-id: svn://10.0.0.236/trunk@103922 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 04:37:35 +00:00
dougt%netscape.com
3ae73a07eb reverting 99248. r=shaver|brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103921 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:52:45 +00:00
dougt%netscape.com
997cb851e1 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
git-svn-id: svn://10.0.0.236/trunk@103919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:43:00 +00:00
dbaron%fas.harvard.edu
830d253373 Fix build bustage. Not part of the default build. b=99248
git-svn-id: svn://10.0.0.236/trunk@103905 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:43:32 +00:00
dougt%netscape.com
15aec61064 uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248
git-svn-id: svn://10.0.0.236/trunk@103764 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:27 +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
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
vidur%netscape.com
7149298284 Fix for bug 12189. Added NS_ERROR_MODULE_GENERAL as an return code base for non-core components that don't care if their return codes overlap. r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@102828 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:43:49 +00:00
brendan%mozilla.org
9457b2de04 1. Fix jsdhash/pldhash.[ch] so that add/remove cycles for a given k do not
create a long chain of removed sentinels.  Also, when adding k to a table
    where k is not mapped, but where k hashes to a chain that includes removed
    sentinels, recycle the first removed sentinel in the chain for k's entry.
2.  Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable
    new/destroy overhead in js_LookupProperty.
3.  Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.


git-svn-id: svn://10.0.0.236/trunk@102796 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:39:31 +00:00
dbaron%fas.harvard.edu
0998d9523b Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@102590 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:29:24 +00:00
jband%netscape.com
c25a7edcbb Slightly modify the WIN32 flags check to catch missing XP_WIN32 define also. Add a comment to help people tripping over this so that they can see what we are telling them to fix. See bug 65727. rs=jband
git-svn-id: svn://10.0.0.236/trunk@102459 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:26:08 +00:00
alecf%netscape.com
1a422e5b81 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@102380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:56:35 +00:00
valeski%netscape.com
5bca1cb1dd fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars
git-svn-id: svn://10.0.0.236/trunk@102335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:52:43 +00:00
valeski%netscape.com
8db35965a8 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.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
vidur%netscape.com
bf7046a35b Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan
git-svn-id: svn://10.0.0.236/trunk@101780 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 23:59:59 +00:00
jband%netscape.com
71d7122618 bug 65727. Make it an error to not have XP_WIN defined if you are compiling on Win32. Too many people with their own build projects stumble into this hole. r=valeski sr=scc (turns out this was reviewed months ago and I neglected to check it in. My bad)
git-svn-id: svn://10.0.0.236/trunk@101465 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:59:55 +00:00
dbaron%fas.harvard.edu
f45cbae471 Add CallGetInterface. b=92602 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@101411 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 14:15:07 +00:00
cls%seawood.org
59164dedf8 Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@101069 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 03:30:39 +00:00
cls%seawood.org
e8d28b7625 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100998 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:18:27 +00:00
cls%seawood.org
57e209b492 Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100996 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:14:47 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
mstoltz%netscape.com
f0864e4a2d Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)


git-svn-id: svn://10.0.0.236/trunk@99523 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 21:46:18 +00:00
rogc%netscape.com
93534daba2 Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.


git-svn-id: svn://10.0.0.236/trunk@99226 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 22:40:04 +00:00
mstoltz%netscape.com
1ac430a069 Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.


git-svn-id: svn://10.0.0.236/trunk@99104 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 04:00:24 +00:00
dbaron%fas.harvard.edu
8bfe346ccd Make CallQueryInterface work when nsISupports is an ambiguous base class and make CallQueryReferent work when nsIWeakReference is an ambiguous base class. b=87735 r=jaggernaut sr=scc
git-svn-id: svn://10.0.0.236/trunk@98645 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 18:55:13 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +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
markh%activestate.com
5f59fd399e Prevent crash in certain multi-threaded situations. Bug 83508. r=markh, sr=jband, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@96342 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:01:26 +00:00
scc%mozilla.org
eb9407b361 bug #67600, checking in for Ulrich Drepper <drepper@cygnus.org>, sr=scc, r=jst. |#undef| |printf| macros before un-conditionally redefining them, else there are warnings.
git-svn-id: svn://10.0.0.236/trunk@95635 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:38:33 +00:00
dbaron%fas.harvard.edu
f64e0286cd Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544
git-svn-id: svn://10.0.0.236/trunk@95603 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 16:34:20 +00:00
dbaron%fas.harvard.edu
226a8a9ed9 Fix NS commercial Unix build bustage on some compilers by (at least temporarily) making PRUnichar always be equivalent to PRUint16 rather than sometimes being wchar_t. r=scc sr=brendan b=75544
git-svn-id: svn://10.0.0.236/trunk@95473 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:44:17 +00:00
dr%netscape.com
ce76fb13c3 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94585 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 05:36:00 +00:00
dr%netscape.com
a3c941d06d fix for 78824 (impl |AdoptData|, |AdoptDataWithLength| on nsISupports[W]String). r=kandrot, sr=jband
git-svn-id: svn://10.0.0.236/trunk@94441 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:44:35 +00:00
mkaply%us.ibm.com
5b2dc977f0 OS/2 break - our headers define UNKNOWN
See nsIURI.idl
Although our tinderbox isn't breaking, all developers are


git-svn-id: svn://10.0.0.236/trunk@94404 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 20:51:53 +00:00