Граф коммитов

456 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com 93959d48cc 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
waterson%netscape.com 1752115066 Fix more debug-only win32 bustage. 2001-08-30 04:42:01 +00:00
waterson%netscape.com a1887676c9 Also need to export original NS_NewGenericModule() symbol. 2001-08-30 02:20:48 +00:00
attinasi%netscape.com 0492183efc Trying to fix WIN32 bustage... 2001-08-29 23:51:38 +00:00
brendan%mozilla.org 6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
waterson%netscape.com 76c2f631f2 Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 01:47:31 +00:00
blizzard%redhat.com b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
cathleen%netscape.com be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
waterson%netscape.com 9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jaggernaut%netscape.com e793e569e6 Add "caps" to REQUIRES to fix Senna bustage. 2001-07-11 13:45:34 +00:00
jaggernaut%netscape.com 5a6317b8a5 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
waterson%netscape.com b74d6e1c8b 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 bf5fb48486 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
scc%mozilla.org a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
jband%netscape.com ddd9b3d3d8 bug 54471. Increase the xptcall stubs entry point count to almost 256. This increases the number of methods that can be implmented on a JS object via xpconnect, or on an xpcom/proxy object, or via PyXPCOM. There are platform limitations that would need to worked out to go higher. Also higher counts start getting into a zone where we should be wisely weighing the memory cost. r=markh@activestate.com sr=shaver@mozilla.org 2001-05-19 00:03:01 +00:00
jst%netscape.com ea706038cf 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
cls%seawood.org 00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
danm%netscape.com fadf045313 oops. forgot InterfacePointer constructor. see ds/nsSupportsPrimitives.cpp rev 3.16. bug 70534 2001-04-11 00:10:39 +00:00
dprice%netscape.com 8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
dprice%netscape.com edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
shaver%mozilla.org fcf7cd0d9f 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
varga%utcru.sk e65f901ee2 Fix obj dir build with --enable-lea
r=kandrot sr=waterson
2001-03-10 19:32:34 +00:00
dougt%netscape.com d159a31b21 Making nsInputStreamTee build on windows. r=darin, sr=gagan 2001-03-06 20:29:20 +00:00
sfraser%netscape.com 8ee9e073f5 Fix bug 69729, nsIObserverList had bogus params. Also make it possible to CreateInstance one. r=jag, sr=alecf. 2001-03-03 01:24:36 +00:00
dprice%netscape.com 199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl a6f2f5861a 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
scc%mozilla.org 3fc413f7cc bug #59429: xpcom gets string code from mozilla/string instead of locally 2001-02-21 14:05:29 +00:00
dougt%netscape.com 9f30e23c85 Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com 2001-02-19 03:09:57 +00:00
dprice%netscape.com 997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kandrot%netscape.com 47f98a24fe r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
 compiled switched in via --enable-lea.
2001-02-06 04:52:19 +00:00
kandrot%netscape.com 098f279a10 r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
compiled switched in via --enable-lea.
2001-02-06 04:26:58 +00:00
disttsc%bart.nl 4fb4258415 Remove (unused) nsUnicharBuffer from nsXPComInit.cpp. bug=64097, r=dbaron, a=scc. 2001-01-31 21:25:18 +00:00
mjudge%netscape.com a79e1f9316 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
dbragg%netscape.com 2f9df69204 fix for build bustage. Leftover nsProcessWin.h in my include dir. 2001-01-22 22:38:43 +00:00
dbragg%netscape.com 0423269ffa Final step in adding nsIProcess to build. a=dougt sr=brendan 2001-01-22 21:52:01 +00:00
ccarlen%netscape.com d9dd3b5321 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
dougt%netscape.com 00d3cd613f Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565 2001-01-09 05:44:47 +00:00
dbaron%fas.harvard.edu 6b1c9bf9dc 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
vidur%netscape.com 3d01aed3f7 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst 2000-12-12 21:58:14 +00:00
dbaron%fas.harvard.edu de24c96d88 Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com 2000-12-09 04:11:05 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
danm%netscape.com 2c6d578e14 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
warren%netscape.com 95e38718ea Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson 2000-10-27 06:18:39 +00:00
waterson%netscape.com be8f8ecc25 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
waterson%netscape.com 7dc55680e8 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
rayw%netscape.com 0257791053 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
bienvenu%netscape.com 05988d5c93 whoops, forgot to invoke a pldhash routine 2000-08-31 14:00:38 +00:00
bienvenu%netscape.com be77e72ef2 add pldhash functions, r+a=waterson+brendan 2000-08-31 13:29:29 +00:00
jband%netscape.com e5089691c4 finish fix to bug 49748. Remove redundant (and too early) call to XPTI_FreeInterfaceInfoManager. This was causing first run crashes after the primary fix to this bug. r=shaver@mozilla.org a=brendan@mozilla.org 2000-08-26 03:19:23 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren%netscape.com e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
jband%netscape.com 6c95754e2c add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi 2000-08-22 05:59:06 +00:00
racham%netscape.com cddb62593d Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
conrad%ingress.com d9e8edcf29 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +00:00
warren%netscape.com 80ee64b1e3 Getting gc leak-detector to work on linux. Non-nspr changes. code=beard,wade r=warren 2000-08-11 00:13:39 +00:00
dbaron%fas.harvard.edu 710b05e789 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 bcffe58620 Dump bloat & leak stats if NS_BUILD_REFCNT_LOGGING is set. Needed for bloat stats of optimized builds. 2000-08-04 06:59:18 +00:00
waterson%netscape.com 00054750f1 Fix Win32 build bustage. 2000-07-29 03:13:41 +00:00
waterson%netscape.com f49e884774 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF. 2000-07-29 02:58:43 +00:00
warren%netscape.com 01ee522c47 Registering nsIErrorService 2000-07-22 05:48:04 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
warren%netscape.com c5d2febbcb Reordered atom table destruction to be last because memory shutdown still needs it. Moved nsIThread shutdown up just to be safe. r=dbaron 2000-07-11 07:31:50 +00:00
dougt%netscape.com 8b638a4c67 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
waterson%netscape.com a0a8fef7ae Add nsVoidBTree and nsStatistics to the build. 2000-06-13 04:56:38 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dp%netscape.com d7f5ecc681 Standalone xpcom. 2000-05-13 23:35:55 +00:00
dp%netscape.com 31295844e6 Removing nsConstructorPattern.cpp 2000-05-05 00:18:33 +00:00
cls%seawood.org 4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
jband%netscape.com d4388bb67f fix to make the comment not lie 2000-04-25 04:52:30 +00:00
cls%seawood.org 8754202470 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
jband%netscape.com e844355ed0 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:33:13 +00:00
jband%netscape.com 5f71a3e760 fix bustage due to relative path include of removed (and otherwise unused) file 2000-04-21 01:22:16 +00:00
jband%netscape.com 2964aea322 landing typelib loading improvements. bug 30753 2000-04-20 08:52:05 +00:00
mccabe%netscape.com 369030f2b6 Move nsIConsoleService and implementation into xpcom/base, and nsIScriptError and implementation into js/src/xpconnect. (A place for JavaScript-specific XPCOM would be better, but xpconnect will do). 2000-04-18 02:34:54 +00:00
scc%netscape.com c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
rickg%netscape.com afe9bbd6d3 removed references to nsString2 2000-03-31 10:19:31 +00:00
alecf%netscape.com d670519029 registering the atom service during XPCOM initialization
r=dp
2000-03-31 09:50:00 +00:00
rickg%netscape.com 8d7a62845e changed reference from nsString2 to nsString 2000-03-31 09:08:17 +00:00
ruslan%netscape.com 6bf5e9822c Cause NS_NewByteArrayInputStream to get actually exported out of windows
dll, r=warren
2000-03-22 03:07:39 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
warren%netscape.com 84ea15d65a Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott 2000-03-08 09:21:32 +00:00
vidur%netscape.com d990ee775e Fix for debug build breakage on Windows. r,a=dp 2000-03-07 03:25:04 +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
warren%netscape.com 7113f6e49d Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar 2000-03-05 10:14:50 +00:00
jdunn%netscape.com 00e933493c move mozreg_s from EXTRA_DSO_LDOPTS to SHARED_LIBRARY_LIBS to handle
AIX dependencies.

r= cls@seawood.org, dp@netscape.com
a= leaf@netscape.com
2000-02-29 21:03:25 +00:00
dougt%netscape.com cd46314d5e fixed regression: 28775 a=leaf, r=ssu. 2000-02-22 19:46:05 +00:00
dougt%netscape.com 3c681f228e missed this file. 2000-02-21 21:52:18 +00:00
jband%netscape.com f7d4f7b82f help with bug 8700 (at least in profiling it) by paying the cost of loading the xpt files early on before JSContexts are created 2000-02-15 06:45:30 +00:00
scc%netscape.com 40e6c21251 #include "nsCategoryManager.h", and hook it up as a service. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:02:24 +00:00
putterman%netscape.com e3af0aa031 Fix for 8405. Japanese shows up in thread pane sender column. r=nhotta, waterson. 2000-02-02 01:46:24 +00:00
dougt%netscape.com d9a6754c4b Fixing dll exports for NS_NewLocalFile()
r=dveditz
2000-01-28 23:35:55 +00:00
ssu%netscape.com ad510b294a Change the name of the current process directory to match that of the
directory service.  dougt's change r=ssu a=granrose
2000-01-25 20:46:02 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
dp%netscape.com 61b99b3b63 On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
briano%netscape.com 35a9a5201b Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano%netscape.com 890a0d3da8 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +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
warren%netscape.com 359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com 6fee6622fd Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dp%netscape.com 924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
beard%netscape.com ddd1c99054 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
valeski%netscape.com 8b33681727 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
sfraser%netscape.com e7977838cc Fix linkage errors with nsLinebreakConverter.r=kin 1999-12-02 00:31:45 +00:00
dp%netscape.com edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +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
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 9b922ed9d5 Added do_GetInterface to the dlldeps so it is properly exported from the DLL. 1999-11-28 02:17:24 +00:00
fur%netscape.com ce1e142143 #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
1999-11-16 21:14:52 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
tbogard%aol.net 00b82b3c85 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
dp%netscape.com ab88d596f5 Enabling componentmanager shutdown() before a release to clear out
references to the component manager.
1999-11-11 19:38:13 +00:00
shaver%netscape.com 588fbfb868 missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com dbe8dfe7a0 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com c73533acb7 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
dp%netscape.com 43788c85b9 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dp%netscape.com c2288cca73 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com 5a949b7ea7 added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren 1999-10-30 01:52:55 +00:00
warren%netscape.com 5a5994f0bb Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00
dougt%netscape.com 370ccb6aa0 ack! what was I thinking.
#ifdef'ing not including!!
1999-10-25 22:57:40 +00:00
dougt%netscape.com ac8f37a098 adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
bug 13320
1999-10-25 22:48:44 +00:00
jevering%netscape.com 8aa5c4f8da Enabling boehm leak detector, r=dp bug#15906 1999-10-21 21:59:15 +00:00
dp%netscape.com 03fd310400 bug#14656 Circular release problem of component manager. Fixed by
adding shutdown() method that gets called before the last
release. Enabled only for dp & shaver until we resolve js coredump.
1999-10-21 21:34:39 +00:00
beard%netscape.com 5192462091 added code to initialize/shutdown the leak detector. bug=15906, r=alecf 1999-10-16 00:06:37 +00:00
scc%netscape.com ef8d06d258 Bug #15292, r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|. 1999-10-15 21:14:43 +00:00
jevering%netscape.com 553fa2f217 Adding boehm collector linkages to the windows build.
(not part of the build yet)
1999-10-15 07:40:13 +00:00
alecf%netscape.com cde9ad4a5e add boehm leak detector support to xpcom on linux
(these flags not active in the build yet)
1999-10-14 23:26:41 +00:00
dougt%netscape.com a9f81ba0a6 changing the entrypoint to call another constructor. I need this since I have
removed an unneeded constructor.  related bug 13724. r=brendan@meer.net
1999-10-12 22:32:10 +00:00
warren%netscape.com bef2702ef0 Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
warren%netscape.com daf1d34844 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
kipp%netscape.com ecd7cc8833 Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required 1999-10-08 23:40:52 +00:00
kipp%netscape.com eb36875766 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT 1999-10-08 22:30:19 +00:00
kipp%netscape.com 50c256a698 Fixed windows build bustage 1999-10-08 21:19:42 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 37676fadb0 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
kipp%netscape.com 7c4773a988 Implemented suggested change so that leak info is printed if an env variable is used 1999-10-05 23:54:08 +00:00
kipp%netscape.com b18e3d2122 r=dp; cleanup xpcom library too during shutdown to reduce global leaks 1999-10-05 00:07:39 +00:00
valeski%netscape.com d66cd6ac49 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
danm%netscape.com c6882a2ad2 adding nsCWeakReference. r:scc a:chofmann 1999-10-01 02:43:27 +00:00
beard%netscape.com f6b231af47 initialization/shutdown code for GC leak detector. conditionalized on GC_LEAK_DETECTOR. r=sfraser 1999-09-30 07:41:37 +00:00
warren%netscape.com 53e8731812 Took out unused page manager. 1999-09-26 07:26:21 +00:00
kipp%netscape.com 8c84690452 Tidy up 1999-09-25 20:11:33 +00:00
dp%netscape.com 96c1197169 Releasing servMgr if one is passed in to match NS_InitXPCOM() 1999-09-24 06:26:17 +00:00
dp%netscape.com e74b8d75ca Assertion to ensure proper xpcom shutdown. 1999-09-24 01:40:18 +00:00
dp%netscape.com 3f500d2afb Assertions to ensure proper shutdown of xpcom. 1999-09-23 00:00:08 +00:00
warren%netscape.com 68e64ab5e6 freed global service manager in NS_ShutdownXPCOM 1999-09-20 20:53:49 +00:00
briano%netscape.com 04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
brendan%mozilla.org f7ba68844b *** empty log message *** 1999-09-17 23:21:29 +00:00
dp%netscape.com d0ccf9a6eb Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
ftang%netscape.com 56a0f1cefb add nsTextFormater to dlldeps.cpp 1999-09-15 21:23:31 +00:00
ramiro%netscape.com 8662d998bf Link with -liberty when MOZ_DEMANGLE_SYMBOLS is set. 1999-09-14 13:33:05 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
waterson%netscape.com a432214395 Add NS_NewSizeOfHandler() to dlldeps. 1999-08-31 18:59:02 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
jband%netscape.com 63658a50be adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
ramiro%netscape.com f4921fa221 Make it look prettier. 1999-08-17 16:24:46 +00:00
danm%netscape.com bd95ca26db fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com 1291f48b62 Added new pipe implementation. 1999-08-10 19:25:27 +00:00
dveditz%netscape.com 004e21bbe1 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
jband%netscape.com 7de4e04eed changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS 1999-08-06 09:42:12 +00:00
jband%netscape.com 0b4a14015d adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation 1999-08-04 07:08:58 +00:00
jband%netscape.com 63a28cec83 make sure that NS_NewHashtableEnumerator gets exported - yes I'm guilty for adding another global entry point 1999-08-04 06:05:29 +00:00
briano%netscape.com e2cc541f86 Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
dp%netscape.com 9a96223724 Removed ASSERTION. Added comments for shutdown. 1999-07-31 00:07:31 +00:00
warren%netscape.com 37708773d9 Added NS_ShutdownXPCOM for memory cleanup. 1999-07-28 07:57:39 +00:00
briano%netscape.com 007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
dougt%netscape.com 5adb63dcaf Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
jband%netscape.com e0a4f492bb include of config.mak needed for NT Alpha according to bob meader <bob@guiduck.com> 1999-07-24 21:57:34 +00:00
jband%netscape.com cfc4f4d116 adding NT Alpha (only) .def file stuff 1999-07-19 02:54:33 +00:00
peterl%netscape.com 169aad2d40 added avl tree 1999-07-18 00:02:48 +00:00
dp%netscape.com 51e376ed3f Landing XPCOM_M8_PERF_BRANCH.
- Enabling prepopulation of registry CID entries.
1999-07-07 07:48:12 +00:00
dveditz%netscape.com 07221257b4 Argh, escaped from the branch during my makefile munging -- Sorry! 1999-07-02 15:11:44 +00:00
dveditz%netscape.com 0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com 17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
dp%netscape.com 5b80b137ed Diabling registry prepopulation. These changes was meant for the
branch and not in the tip. When XPCOM_M8_PERF_BRANCH lands, these will
be enabled.
1999-07-02 04:04:31 +00:00
dp%netscape.com 948d7e96ab Calling PlatformPrePopulateRegistry() 1999-07-02 03:37:44 +00:00
mcafee%netscape.com 7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
putterman%netscape.com 72805f766f Only AddRef servMgr if we're going to assign it to *result. Approved by dp. 1999-06-15 23:21:12 +00:00
warren%netscape.com d1a7f6e578 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
mcmullen%netscape.com 711694acda Registered nsIDirectoryIterator 1999-06-14 22:06:22 +00:00
waterson%netscape.com 189548ff5a Add MISCDEP so that DLL gets rebuilt if a static lib changes. 1999-06-14 02:22:52 +00:00
dp%netscape.com 8044b2e000 - NS_RegistryGetFactory API changed 1999-06-14 02:08:49 +00:00
jband%netscape.com bd5a7d2279 added forced linkage to another xptcall file and moved the prototypes to the dummies to xptcall.h 1999-06-12 04:30:13 +00:00
warren%netscape.com c7f0ebfe8d Removed nsIByteBufferInputStream - obsolete. 1999-06-09 06:48:38 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
briano%netscape.com 4d8ab97905 Changed the location of libxpcombase_s.a in the list in order to fix the NetBSD build. 1999-06-08 02:01:01 +00:00
warren%netscape.com 9e109c9eb6 Fixed GenericFactory linkage problems. 1999-06-03 21:51:14 +00:00
law%netscape.com 0b7b490358 XPIDL-ifying nsIObserver/nsIObserverService 1999-05-29 00:51:17 +00:00
warren%netscape.com 0ac3645f11 Added nsConstructorPattern.cpp 1999-05-28 22:41:13 +00:00
dougt%netscape.com dea8fdf944 Adding Proxy to the xpcom init. 1999-05-28 22:17:24 +00:00
dougt%netscape.com 6369bae2ff Adding a local include path to proxy/src 1999-05-28 22:10:55 +00:00
dp%netscape.com 4e1c08ff0f - Adding in PROGID and Classname for registration of xpcom components.
- Registering FILESPEC
1999-05-28 01:14:59 +00:00
sspitzer%netscape.com c6e0e5e2df cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com 2af6e2a405 adding symbol XPTI_GetInterfaceInfoManager 1999-05-26 04:54:36 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 0142cb7a14 Added 1999-05-18 21:43:13 +00:00
dp%netscape.com 34b30431ba Initial version 1999-05-18 09:11:01 +00:00