dbaron%fas.harvard.edu
8f4c512490
Adding work in progress for new auto pointers in order to test easily on many compilers. b=104346
2001-10-25 04:09:38 +00:00
dougt%netscape.com
220f65a002
backing out changes to 104172. r=ccarlen@netscape.com
2001-10-23 03:50:24 +00:00
dougt%netscape.com
5fe12c09e7
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
dougt%netscape.com
fdb581ad21
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
2001-10-22 22:01:27 +00:00
dougt%netscape.com
da7e1268bd
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
2001-10-19 20:52:59 +00:00
cltbld%netscape.com
6b960fdb77
Fixing build busted in --enable-bohem builds
2001-10-18 21:45:52 +00:00
dougt%netscape.com
e75485644c
API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
2001-10-16 03:35:52 +00:00
av%netscape.com
fd45ff5886
Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
2001-10-13 20:40:40 +00:00
dbaron%fas.harvard.edu
0cc7ea34da
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
2001-10-02 03:18:08 +00:00
dougt%netscape.com
f69c9d1bb5
fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com
2001-10-01 19:44:27 +00:00
seawood%netscape.com
b241cfac14
Removing nsCOMPtr.{h,cpp} from xpcom/base. They have been copied (in the cvs repo) and are built in xpcom/glue.
...
Bug #99698
2001-09-30 03:30:29 +00:00
seawood%netscape.com
1693547812
Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
...
Bug #99698 r=rpotts sr=alecf
2001-09-30 01:44:25 +00:00
seawood%netscape.com
b4cb4dc46b
Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
...
Bug #99698 sr=alecf
2001-09-29 23:03:39 +00:00
seawood%netscape.com
31ebfa8d88
Export nsCOMPtr.h from xpcom:glue instead of xpcom:base .
...
Bug #99698 sr=alecf
2001-09-29 12:31:09 +00:00
jaggernaut%netscape.com
fdc4078bc4
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
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
mkaply%us.ibm.com
5e9a58286e
OS/2 bustage - we don't use _System
2001-09-27 16:04:44 +00:00
jdunn%netscape.com
9b76fa6a94
rulebrk.c includes this header, so we can't have c++
...
comment delims (//) we need to stick with c ones (/* ... */)
Fixing bustage!
2001-09-27 12:41:06 +00:00
dougt%netscape.com
9014c1e381
fixing a missing } in the macro. r=sfraser@netscape.com
2001-09-27 04:49:38 +00:00
dougt%netscape.com
61a2818b03
Adding new files to the unix build.
2001-09-27 04:37:35 +00:00
dougt%netscape.com
5935143361
reverting 99248. r=shaver|brendan@mozilla.org
2001-09-27 03:52:45 +00:00
dougt%netscape.com
62afce095d
Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
2001-09-27 03:43:00 +00:00
dbaron%fas.harvard.edu
3316d8ff52
Fix build bustage. Not part of the default build. b=99248
2001-09-27 00:43:32 +00:00
dougt%netscape.com
d367501b1d
uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248
2001-09-25 23:31:27 +00:00
jaggernaut%netscape.com
e25262c61f
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
3826eb9902
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
2001-09-18 13:41:47 +00:00
alecf%netscape.com
cf9912aa80
Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
2001-09-17 19:06:35 +00:00
vidur%netscape.com
057feb6217
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
2001-09-12 20:43:49 +00:00
brendan%mozilla.org
567e35c2fc
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.
2001-09-12 06:39:31 +00:00
dbaron%fas.harvard.edu
03b8e91855
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
2001-09-08 18:29:24 +00:00
jband%netscape.com
962426529a
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
2001-09-06 21:26:08 +00:00
alecf%netscape.com
68824c3a8d
dumb
...
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com
9c87bd5a37
fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars
2001-09-05 22:52:43 +00:00
valeski%netscape.com
ac33036169
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
vidur%netscape.com
7cc7556d93
Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan
2001-08-24 23:59:59 +00:00
jband%netscape.com
e8c7678733
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)
2001-08-21 01:59:55 +00:00
dbaron%fas.harvard.edu
39e2126cb7
Add CallGetInterface. b=92602 r=jag sr=scc
2001-08-18 14:15:07 +00:00
cls%seawood.org
0fdc5570bd
Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
...
Bug #20860 r=dbaron sr=brendan
2001-08-15 03:30:39 +00:00
cls%seawood.org
19699b8722
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
2001-08-14 04:18:27 +00:00
cls%seawood.org
62180bea17
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
2001-08-14 04:14:47 +00:00
brendan%mozilla.org
8c7c819206
FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
2001-07-31 19:05:34 +00:00
mstoltz%netscape.com
8ba12f5f91
Whoops, accidentally checked something that shouldn't be. Uncommenting-out
...
the break call in Assertion() (backing out earlier checkin)
2001-07-18 21:46:18 +00:00
rogc%netscape.com
ce47970433
Added heuristics for speculative RTTI for gnu 2.96 compilers.
...
b=62996,r=blizzard,sr=waterson.
2001-07-13 22:40:04 +00:00
mstoltz%netscape.com
3dbca29cb4
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.
2001-07-12 03:58:32 +00:00
dbaron%fas.harvard.edu
0e270245a3
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
2001-07-04 18:55:13 +00:00
waterson%netscape.com
0877b1a573
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.
2001-06-20 20:21:49 +00:00
cls%seawood.org
80f526179f
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
2001-06-18 22:10:38 +00:00
markh%activestate.com
33dc5fcc7f
Prevent crash in certain multi-threaded situations. Bug 83508. r=markh, sr=jband, a=blizzard.
2001-06-04 23:01:26 +00:00
scc%mozilla.org
9858b4a4d1
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.
2001-05-21 23:38:33 +00:00
dbaron%fas.harvard.edu
1a65c850d1
Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544
2001-05-21 16:34:20 +00:00
dbaron%fas.harvard.edu
608c4d0a19
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
2001-05-18 23:44:17 +00:00
dr%netscape.com
da269460c0
fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst
2001-05-11 05:36:00 +00:00
dr%netscape.com
5e06c69548
fix for 78824 (impl |AdoptData|, |AdoptDataWithLength| on nsISupports[W]String). r=kandrot, sr=jband
2001-05-10 02:44:35 +00:00
mkaply%us.ibm.com
a5b951e494
OS/2 break - our headers define UNKNOWN
...
See nsIURI.idl
Although our tinderbox isn't breaking, all developers are
2001-05-09 20:51:53 +00:00
mkaply%us.ibm.com
865948a22c
OS/2 TB breakage
2001-05-08 19:36:45 +00:00
jst%netscape.com
621060c4fd
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
jband%netscape.com
ebdd285c7a
NOT part of the build. Adding file that will appear on a branch
2001-05-04 21:39:11 +00:00
scc%mozilla.org
689f6a5c62
bug #75504 ; sr=jband. making it impossible to misuse |getter_AddRefs| in the way jband discovered
2001-05-03 10:15:09 +00:00
markh%activestate.com
d60c730c21
Adding placeholders for new files introduced in the XPCDOM_20010420_BASE
...
branch. Not part of the build.
2001-05-01 07:03:27 +00:00
waterson%netscape.com
527c38dc7b
Bug 75198. Support XPCOM_DEBUG_BREAK=warn on Win32. r=brendan, sr=scc
2001-04-28 02:10:18 +00:00
brendan%mozilla.org
1be564909a
Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann).
2001-04-24 21:13:15 +00:00
mkaply%us.ibm.com
99fc229b57
Don't need to make this change if pref isn't in
2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com
30d9f9d2ef
OS/2 TB bustage
...
Make OS/2 interfaces _System. Might cause OS/2 breakage - I'm testing it as fast as I can.
2001-04-20 03:44:05 +00:00
jfrancis%netscape.com
8fe96f97c4
reserving some id's for nsIRangeUtil. NOT PART OF BUILD
2001-04-19 23:21:57 +00:00
harishd%netscape.com
970bb44680
68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
...
r=heikki
sr=jst
2001-04-17 23:23:33 +00:00
shaver%mozilla.org
e2dc3d6d88
75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
...
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
dbaron%fas.harvard.edu
093e897c1b
Fix bustage on VC++ and gcc 2.7.2.x caused by incorrect overload resolution.
2001-04-07 17:25:16 +00:00
dbaron%fas.harvard.edu
244ee9e63a
Replace my previous incorrect fix for |operator==| ambiguities with a correct one: provide additional |operator==| and |operator!=| for comparing nsCOMPtrs to raw pointers that take a non-const raw pointer argument so that builtin operators will not have a better conversion for one argument. b=65664 r=waterson@netscape.com sr=scc@mozilla.org
2001-04-07 15:29:39 +00:00
disttsc%bart.nl
716603de54
Add AString to nsrootidl.idl for bug 70681, r=markh, sr=jst
2001-04-05 12:25:09 +00:00
waterson%netscape.com
9558d5bb62
Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
2001-04-04 05:00:08 +00:00
rickg%netscape.com
c1ce80ae83
preloader update. r=peterl, sr=attinasi
2001-04-03 22:58:59 +00:00
dbaron%fas.harvard.edu
d00646a9ea
Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build. r=disttsc@bart.nl sr=cls@seawood.org
2001-04-03 13:29:13 +00:00
mkaply%us.ibm.com
2ab67c4ef0
#73620
...
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
disttsc%bart.nl
6e48266508
Clean up REQUIRES lines. r=cls
2001-03-25 22:59:27 +00:00
valeski%netscape.com
c1098ac6ac
r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
2001-03-24 00:22:18 +00:00
jband%netscape.com
cc9b8ebdb9
fix bug 54792 by running assert dialog out or process on Win32. r=danm sr=brendan
2001-03-23 06:57:17 +00:00
waterson%netscape.com
7d70549a0c
Bug 72905. Add 'trap' to XPCOM_DEBUG_BREAK flags to bust into the debugger on asserts. r=sspitzer, sr=brendan
2001-03-23 06:21:41 +00:00
beard%netscape.com
053ec70356
Fix to get nsLeakDetector building again after shaver's changes to NS_NewGenericFactory(). r=dbaron@fas.harvard.edu, sr=waterson, amen=leaf.
2001-03-15 02:49:23 +00:00
shaver%mozilla.org
89c833fb49
67699: all your nsIClassInfo is belong to us
...
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
testing
2001-03-12 20:43:02 +00:00
dbaron%fas.harvard.edu
97307826a6
Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build bustage by adding boehm to REQUIRES. r=cls@seawood.org
2001-03-10 03:26:46 +00:00
scc%mozilla.org
996c83f58c
fix bustage
2001-03-09 01:38:36 +00:00
scc%mozilla.org
04cea7fe41
bug #68872 : r=jag, sr=waterson. provide |do_GetWeakReference|.
2001-03-09 00:40:11 +00:00
rpotts%netscape.com
7b553bbf24
bug #61339 . Added a missing const to an nsdIID (sr=waterson)
2001-03-08 06:54:47 +00:00
disttsc%bart.nl
043186b34e
Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
2001-03-02 09:26:57 +00:00
jst%netscape.com
fb391fbc16
Removing unused IID. r=pollmann@netscape.com
2001-03-02 00:50:05 +00:00
disttsc%bart.nl
744785129a
Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
2001-02-22 09:35:51 +00:00
dbaron%fas.harvard.edu
532db94253
Improve the boehm GC's ability to dump all leaked objects at shutdown. Patch partly by waterson@netscape.com, partly by me. r=beard@netscape.com sr=brendan@mozilla.org b=59967
2001-02-20 13:50:26 +00:00
pinkerton%netscape.com
cb0fc275e3
Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432.
2001-02-06 07:15:32 +00:00
dbaron%fas.harvard.edu
8d34652545
Make |nsCOMPtr<T>::operator&| private so that it is not used by clients. Legitimate users should use |address_of| instead. b=59414 r=disttsc@bart.nl sr=scc@mozilla.org
...
Fix ambiguities relating to the various forms of |operator==| defined for nsCOMPtrs by avoiding |const| for parameters for compilers where it (incorrectly) confuses overload resolution. r=scc@mozilla.org sr=brendan@mozilla.org b=65664
2001-02-04 19:57:29 +00:00
bratell%lysator.liu.se
37704cb796
Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard.
2001-02-04 10:49:33 +00:00
bratell%lysator.liu.se
773638f78e
Bug 29241, nsID::Parse used scanf to parse UUID:s which was very slow. This custom parsing should shave 1.6% of mozilla startup time. r=jag sr=jband
2001-02-04 09:36:22 +00:00
jband%netscape.com
d760e8c090
part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan
2001-02-02 08:40:01 +00:00
jband%netscape.com
6bf9fd8163
add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
2001-01-26 02:32:18 +00:00
mjudge%netscape.com
e5dbae6f52
R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build
2001-01-25 22:54:05 +00:00
mjudge%netscape.com
9fdc083176
not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
2001-01-17 21:07:42 +00:00
mjudge%netscape.com
3e21ae3574
not in build. for tracemalloc purposes only. when makefile is edited to add this as compile option There will be a reviewer of these checkins as well
2001-01-17 21:06:51 +00:00
dbaron%fas.harvard.edu
c9b346ca28
Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
...
Implement (without enabling, yet) assertions to warn about static constructors. b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon. b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com sr=brendan@mozilla.org
2000-12-23 16:43:32 +00:00
brendan%mozilla.org
efc9a81994
Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
2000-12-22 01:32:39 +00:00
waterson%netscape.com
2096a3d175
Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts
2000-12-21 00:38:31 +00:00
bratell%lysator.liu.se
8c07dbcef8
Backing myself out to save mac build
2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se
02f4ae5d2d
Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com
2000-12-19 21:38:36 +00:00
brendan%mozilla.org
3edfe573ec
Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
2000-12-12 05:48:16 +00:00
dbaron%fas.harvard.edu
198833687a
Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu
7f9852c286
Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com
2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu
2eea32ae2b
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:21:51 +00:00
waterson%netscape.com
d03997d28a
Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
2000-12-06 00:05:45 +00:00
dbaron%fas.harvard.edu
27f2bc6ec7
Add information to stack trace format so it can be processed by addr2line. b=59136
...
Make logging not crash when dll unloading is enabled. b=60710
r=waterson@netscape.com sr=brendan@mozilla.org
2000-12-02 16:10:50 +00:00
mccabe%netscape.com
2acfdd4b04
Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
...
r=jband
2000-11-30 08:08:24 +00:00
waterson%netscape.com
6798cb61fa
Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
2000-11-29 21:18:03 +00:00
waterson%netscape.com
1c7febd7de
Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
2000-11-29 21:16:53 +00:00
mkaply%us.ibm.com
8478a39a8b
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:51:05 +00:00
dmose%mozilla.org
531b866424
added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
2000-11-22 20:15:23 +00:00
brendan%mozilla.org
4c89c9e0d6
Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
2000-11-22 08:05:05 +00:00
alecf%netscape.com
7941b9e959
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
2000-11-17 03:41:41 +00:00
sspitzer%netscape.com
db8731ea9c
minor fix. sr=warren
2000-11-08 23:59:13 +00:00
mkaply%us.ibm.com
55cfa3d436
#58462
...
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins
2000-11-08 21:28:38 +00:00
danm%netscape.com
60276dd954
small tweak to get nspr logging running again. bug 58514 r=warren
2000-11-01 20:30:47 +00:00
warren%netscape.com
aa140b75d1
Moving leak fixes from logging_102900_branch to trunk to quite tinderbox a bit more.
2000-11-01 01:41:15 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
17abb45de7
Fix for leak in Vprintf: taking patrick's patch instead
2000-10-28 05:24:32 +00:00
warren%netscape.com
ca6ebab047
Fix for leak in Vprintf
2000-10-28 05:21:54 +00:00
warren%netscape.com
298e1f6ca9
Fixed leak beard pointed out on PR_vsmprintf
2000-10-28 04:36:33 +00:00
warren%netscape.com
4a0d5baedc
Added AddRef/Release method for nsLog so that they don't appear to leak. Changed comments too.
2000-10-28 03:12:02 +00:00
dbaron%fas.harvard.edu
f35d808e1e
Terminate statements with semicolon, not colon. (Fixing warren's bustage.)
2000-10-28 02:07:38 +00:00
warren%netscape.com
39006d8481
Added def for NS_GetLog for optimized builds
2000-10-28 01:58:42 +00:00
warren%netscape.com
5805bff56a
Added nslog.h
2000-10-27 23:25:45 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
scc%mozilla.org
6292c437ea
fix wrong error return; bug #57981 r=waterson, sr=brendan
2000-10-27 21:46:20 +00:00
mkaply%us.ibm.com
6ce155d267
OS/2 Tinderbox break
...
Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now
2000-10-27 18:30:16 +00:00
warren%netscape.com
8a69f1b13e
Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
2000-10-27 06:18:39 +00:00
warren%netscape.com
2d6e08d17f
Added new file - not in build yet.
2000-10-20 01:14:47 +00:00
sfraser%netscape.com
9188bf8d81
Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc.
2000-10-14 00:39:16 +00:00
mccabe%netscape.com
e278f4f966
Fix to 53929. Fix previously-broken UnregisterListener method on console service, by proxy-wrapping the service we've been asked to remove before comparing it to those in the listener list. The saved listeners are already proxy-wrapped, so the previous straight compare failed.
...
The equality check works because the proxy service caches proxies, and will always return the same wrapper.
This fixes a leak and a situation that led to some asserts in XPConnect on shutdown. (Some listeners were proxy-wrapped JS objects.)
r=jband.
2000-10-09 23:45:59 +00:00
waterson%netscape.com
64c248b2e4
Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren
2000-09-28 23:17:49 +00:00
warren%netscape.com
075350b1c8
Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
2000-09-20 19:35:24 +00:00
waterson%netscape.com
367d6c0a03
Fix orangeness on Linux.
2000-09-20 07:31:53 +00:00
waterson%netscape.com
c71e04b66a
Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren
2000-09-20 05:44:19 +00:00
beard%netscape.com
e8fdc10d23
[Not part of build] Changed getServices() to attribute services.
2000-09-19 14:48:11 +00:00
beard%netscape.com
bc35c73f74
[Not part of build] Added traceCollection, getServices methods.
2000-09-19 05:40:17 +00:00
cls%seawood.org
a97d2340f7
If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file
2000-09-15 22:16:01 +00:00
rayw%netscape.com
d39d9e6d59
Bug fix for 52648 -- remaining stash of progids which I missed on
...
the mega-change yesterday. This will fix a few more issues.
r=warren
2000-09-14 23:20:49 +00:00
mjudge%netscape.com
a2fa9edcb5
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
6cc70ebd6c
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
jdunn%netscape.com
939a715e0d
changing C++ comments to C comments since for some reason
...
nscore.h is being included by intl/lwbrk/src/rulebrk.c &
modules/libpref/src/prefapi.c
r= scc@mozilla.org & brendan@mozilla.org
2000-09-13 12:22:17 +00:00
scc%mozilla.org
b319334e3f
turning on |HAVE_CPP_2BYTE_WCHAR_T|
2000-09-03 02:24:58 +00:00
beard%netscape.com
7b1c9de390
[not part of build] traceObject, markObject.
2000-09-02 05:44:48 +00:00
scc%mozilla.org
ad0049c10e
fixed comment typo (now was a good time, since I just checked in string changes). r=brendan
2000-09-02 04:17:11 +00:00
mkaply%us.ibm.com
ca216d2361
#48208
...
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying
2000-09-01 21:41:42 +00:00
beard%netscape.com
45bf784816
Added traceObject() method.
2000-08-31 14:35:13 +00:00
waterson%netscape.com
cbb5a88d04
Damn. Wrong spot.
2000-08-30 00:16:59 +00:00
waterson%netscape.com
18be26752c
First checked in.
2000-08-30 00:16:58 +00:00
brendan%mozilla.org
907eccf8e7
Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
2000-08-29 01:52:13 +00:00
mccabe%netscape.com
a11931fc6a
Fix to 49416.
...
Emit NS_NO_VTABLE in xpidl-generated interface files. NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).
This saves us some code space, and may also be a runtime win.
Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.
r=jband
a=beard
NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
mkaply%us.ibm.com
d76099fa48
OS/2 Tinderbox breakage
...
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren%netscape.com
3f96fe5c0f
Bug 44352. Adding IsLowMemory predicate & implementation for Windows.
2000-08-24 08:35:13 +00:00
jband%netscape.com
0ba3f033e6
fixing Mac bustage?
2000-08-22 06:33:06 +00:00
jband%netscape.com
682f53de8e
fix uninitialized member crash in secondary constructor of nsConsoleMessage
2000-08-22 05:54:25 +00:00
cls%seawood.org
eb57d82d55
Native irix compilers don't seem to know about |typename| either
2000-08-19 08:01:28 +00:00
dprice%netscape.com
70955cde50
replacing this file in the right spot.
2000-08-16 04:23:40 +00:00
dmose%mozilla.org
7d90bae996
add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org.
2000-08-14 23:09:39 +00:00
warren%netscape.com
ea12edc20a
Jar manifest updates.
2000-08-11 09:05:40 +00:00
brendan%mozilla.org
e32f933de0
Add captioned timestamp events, for JS storyboarding (not part of build).
2000-08-09 02:41:58 +00:00
dbaron%fas.harvard.edu
20c3b28392
Fixing bustage. Stupid error...
2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu
3faac42dec
Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com
2000-08-06 16:23:04 +00:00
cls%seawood.org
847d576a56
Workaround for long-standing AIX bustage
2000-07-28 08:11:51 +00:00
cls%seawood.org
f97564f1f9
The AIX compiler doesn't seem to know how to handle |typename|
2000-07-28 06:57:20 +00:00
brendan%mozilla.org
b612891dd7
Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
2000-07-26 02:19:27 +00:00
brendan%mozilla.org
4ad25355a3
- Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
...
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees). This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.
- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats. This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).
- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts. So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.
- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event. Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).
- Right-align numbers in the first (trace-malloc stats) table.
2000-07-26 00:24:08 +00:00
cls%seawood.org
ea8075327d
Lets show some objdir sensitivity.
2000-07-25 11:03:25 +00:00
warren%netscape.com
88e6c9b31f
Fixed linux makefile for xpcom.properties
2000-07-25 05:54:38 +00:00
warren%netscape.com
3d627d5543
Added xpcom.properties to linux make.
2000-07-25 05:51:34 +00:00
warren%netscape.com
7ac7233df8
Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
2000-07-25 05:45:56 +00:00
mkaply%us.ibm.com
bdf3d42400
OS/2 Tinderbox breakage
...
Attempt 2 to fix this - just cast the functions
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com
3cd1429629
OS/2 Tinderbox breakage
...
Attempt 1 to fix this - add PR_CALLBACK for VisualAge
2000-07-22 14:13:00 +00:00
warren%netscape.com
f932a2bc44
Added nsIErrorService to build.
2000-07-22 05:46:39 +00:00
warren%netscape.com
f8798aa396
Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages.
2000-07-22 05:38:43 +00:00
brendan%mozilla.org
0dcd470d51
Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
2000-07-21 20:42:15 +00:00
warren%netscape.com
86e087b9b1
Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits.
2000-07-19 09:32:35 +00:00
jfrancis%netscape.com
9191a143f2
reserving iid for nsIEditorObserver; NOT PART OF BUILD
2000-07-14 19:12:30 +00:00
warren%netscape.com
1f64d48219
Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren
2000-07-12 00:28:57 +00:00
brendan%mozilla.org
ebfa0c8b8f
Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
2000-07-11 19:10:52 +00:00
warren%netscape.com
3b5ee23e1c
Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron
2000-07-11 07:29:05 +00:00
warren%netscape.com
3aea701549
Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
2000-07-11 07:28:14 +00:00
warren%netscape.com
1426b26768
Defensive programming for UnregisterObserver after Shutdown. r=dbaron
2000-07-11 06:56:06 +00:00
warren%netscape.com
ee4a37e955
Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron
2000-07-11 06:03:08 +00:00
brendan%mozilla.org
c8c2095917
First cut at reusable trace-malloc logfile reader, factored from bloatblame.
2000-07-09 08:53:46 +00:00
ruslan%netscape.com
e8005c2d01
Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful
2000-07-05 22:58:28 +00:00
cls%seawood.org
e1e6c5760f
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
2000-06-30 08:08:04 +00:00
brendan%mozilla.org
840af768bc
Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
9096d0d767
Work around unsolved bug reported by rusty.lynch@intel.com.
2000-06-28 06:22:29 +00:00
rich.burridge%sun.com
7a1ed30f9b
Fix to prevent build bustage on nebiros with Sun compilers.
...
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769 .
2000-06-27 05:58:00 +00:00
rich.burridge%sun.com
705dc8cd51
Fix to allow refcnt'ing on the Solaris platform.
...
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
2000-06-26 22:23:47 +00:00
dougt%netscape.com
e1274cde0a
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
brendan%mozilla.org
00173e1de5
Hoist loop invariant.
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
f84f1f8708
Comment fixes.
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
deab511971
Fix skip-one-frame-too-many backtrace lossage; update TODO.
2000-06-21 17:59:30 +00:00
amusil%netscape.com
5131a0f5c2
Turn on wchar_t
2000-06-21 01:31:09 +00:00
vidur%netscape.com
d22aa70d25
Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda
2000-06-21 00:42:59 +00:00
beard%netscape.com
5cca8adbe7
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com
afa273e248
#42637
...
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier
2000-06-20 13:59:17 +00:00