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

4988 Коммитов

Автор SHA1 Сообщение Дата
dp%netscape.com d704cae585 bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
dp%netscape.com 9797a89805 bug 29063 Removing unneccessary stat() r/sr=waterson/alecf 2001-09-25 00:19:52 +00:00
jaggernaut%netscape.com c260906e58 Remove dead string files from the tree, r=dbaron, rs=scc 2001-09-24 23:55:19 +00:00
bienvenu%netscape.com 9b7b1feab2 fix 101143 r=dp, sr=waterson shutdown observer skipped if previous observer removes itself upon shutdown notification 2001-09-24 23:07:44 +00:00
alecf%netscape.com 060ef565d4 oops, remove this chrome line - for REQUIRES builds only 2001-09-21 14:28:26 +00:00
cls%seawood.org beb7e271fa Initial version. Added nsCOMPtr.h
Bug #99698 not part of build (yet)
2001-09-20 10:08:33 +00:00
cls%seawood.org 697ba94e32 Initial version of libxpcomglue win32 makefile. not part of build (yet)
Bug #99698
2001-09-19 08:09:04 +00:00
racham%netscape.com 6bdf3511df Fixing bug 100404. Backing out changes made to xpcom that caused dependency on chrome component. AccountManager in mailnews need to be fixed as explained in bug 100483 to solve the problem in a better way. 2001-09-19 07:43:41 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jband%netscape.com aec825ab4d unbust XPCOM_STANDALONE. bug 66759. These days xpcom relies on nsIChromeRegistry.h too. Gak! r=dougt sr=brendan. 2001-09-18 21:43:46 +00:00
chak%netscape.com 6d39581d5a Fix for #99144 - Marking nsIFactory as frozen
r=dougt, sr=rpotts
2001-09-18 21:40:42 +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
mkaply%us.ibm.com 0f70c47416 myotonic REQUIRES bustage I think 2001-09-15 13:00:17 +00:00
racham%netscape.com 240334f1ee Fixing bugscape bug 4198. This fix allows ISPs add signature files to the user accounts. Adding changes to AppFileLocationProvider to get to messenger defaults. 2001-09-15 07:53:54 +00:00
cls%seawood.org 7b40e5038e Initial version for bug 99698. Not part of the build. 2001-09-14 23:50:59 +00:00
jaggernaut%netscape.com 7a432ea951 Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc. 2001-09-14 08:23:46 +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
dp%netscape.com 04e45d44f1 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
beard%netscape.com f576a5eedf fix for bug #98290, keep stack aligned to 16 byte boundaries, r=beard, sr=sfraser 2001-09-11 06:10:31 +00:00
jband%netscape.com 5fb5520fbf Not part of the build - updating status page to reflect pavlov's great accomplishment. Also adding title attributes to <img> tags so that we can see the tip text on mozilla too. 2001-09-10 23:03:37 +00:00
dbaron%fas.harvard.edu e5077ef0df Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
dougt%netscape.com f99dbbbc26 fixes 98735. r=adamlock, sr=rpotts. Basic problem is that the first argument of NS_InitXPCOM2 was not returning an nsIServiceManager 2001-09-10 04:28:37 +00:00
jaggernaut%netscape.com 0edd20468e Bug 97328: switch XPIDL from nsAReadableString (and nsAWritableString) to const nsAString. r=cls, sr=shaver 2001-09-09 07:17:17 +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
dp%netscape.com 8fa7ca8c8d bug# 96457 Fixing ReInit() to account for the new factory entry type
r=gagan, sr=jband
2001-09-08 00:01:03 +00:00
jaggernaut%netscape.com 6022201d29 Bug 93071: Incorrect test in UnregisterComponent: we want to unregister if the registry name matches. r=bryner, sr=shaver 2001-09-07 03:48:37 +00:00
ccarlen%netscape.com 8389841cc2 Fixing bustage - didn't remove file from both targets 2001-09-06 22:16:57 +00:00
mkaply%us.ibm.com b8433ca1dc OS/2 build bustage - thanks gerv 2001-09-06 22:10:51 +00:00
naving%netscape.com 4b3380b60b 95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown. 2001-09-06 21:32:11 +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
ccarlen%netscape.com e28cdff7fe removed nsServiceManager.cpp, nsRepository.cpp for dougt 2001-09-06 21:14:30 +00:00
dougt%netscape.com 31c1842a29 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
pavlov%netscape.com 8e274fa328 fixing warnings/build bustage from checkin a minute ago 2001-09-06 09:07:08 +00:00
pavlov%netscape.com b3bfd0fe60 adding additional tests. part of sparcv9 work.. bug 91840. r=me/cls@seawood.org/rogerl rs=brendan 2001-09-06 08:27:43 +00:00
pavlov%netscape.com e10daab808 Enabling the sparcv9 xptcall code. Bug 91840. r=me/cls@seawood.org/rogerl rs=brendan 2001-09-06 08:23:09 +00:00
pavlov%netscape.com bf50a50a8b Adding a few more comments about what is going on and fixing the couple of issues brought up by brendan. Work for bug 91840. not part of build 2001-09-06 08:18:24 +00:00
alecf%netscape.com a03ce41ec0 string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls 2001-09-06 04:06:10 +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
jaggernaut%netscape.com 56490a5e26 Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc 2001-09-05 12:42:54 +00:00
jaggernaut%netscape.com 5979297126 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
dougt%netscape.com 6ac99769da Trival change to fix 58792 submitted by jkobal@us.ibm.com 2001-09-05 03:51:38 +00:00
cls%seawood.org 10fc059771 Add floating point support to sparcv9 xptcall implementation.
Bug #91840 r=pavlov [not part of the build and all that nonsense]
2001-09-03 01:47:32 +00:00
dougt%netscape.com 7612adc80d backing out my changes due to linux orangeness 2001-09-02 17:15:16 +00:00
dougt%netscape.com 0e2b282b21 Fixes a crash when QI'ing on async xpcom event proxy. r=rpotts, sr=jband, a=blizzard 2001-09-02 05:53:28 +00:00
pavlov%netscape.com bc7d6c899b change the st calls to stx since we're using extended words now. 2001-09-02 02:17:37 +00:00
pavlov%netscape.com 788688b5e8 learning to type.. (not part of build) 2001-09-02 00:27:28 +00:00
pavlov%netscape.com 454db0dabd typo 2001-09-02 00:23:10 +00:00
pavlov%netscape.com b30c59d0fc cleaning up a little.. adding new xptcstubs v9 (not part of build) 2001-09-02 00:18:39 +00:00
pavlov%netscape.com 21d2101820 adding xptcstubs for sparcv9 (64bit). not part of build 2001-09-01 23:48:04 +00:00
pavlov%netscape.com e238bef778 fixing some typos :) (NOT PART OF BUILD) 2001-09-01 08:02:48 +00:00
pavlov%netscape.com 9f3b9ba957 adding sparcv9 xptcall code for 64bit solaris with Sun Workshop/Forte compilers. not part of the build. 2001-09-01 07:57:33 +00:00
waterson%netscape.com becc569cc0 Bug 97828. Be sure to create the static component loader before putting it into mLoaderData array. r=dp, sr=jband/sfraser, a=asa 2001-08-31 21:45:58 +00:00
dp%netscape.com c9ea0f44cf bug# 97770 fixing tree orange due to crash on unload 2001-08-31 17:45:51 +00:00
dp%netscape.com edf92427dc bug #97658 Fixing build blocker. fixing js components after component registry has been
created r=gagan
2001-08-30 22:59:12 +00:00
dp%netscape.com 9cad77db82 bug# 96701 Using an array instead of hash table to store loader
data. Storing index into loader data array rather than allocating and
copying the type string. r=dougt, sr=jband, a=asa
2001-08-30 14:10:41 +00:00
waterson%netscape.com 519cd02fc0 Fix more debug-only win32 bustage. 2001-08-30 04:42:01 +00:00
waterson%netscape.com 75564e4004 Also need to export original NS_NewGenericModule() symbol. 2001-08-30 02:20:48 +00:00
attinasi%netscape.com ed1ccfee74 Trying to fix WIN32 bustage... 2001-08-29 23:51:38 +00:00
waterson%netscape.com 5fb1910c52 Bug 96910. Restore NS_NewGenericModule() entry point for backwards compatibility. r=dougt, sr=jband, a=asa 2001-08-29 21:59:43 +00:00
dp%netscape.com a25644a9bf bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa 2001-08-28 22:05:30 +00:00
jband%netscape.com cc6df875da Restore old method order so that newer components implmenting this interface are still callable by 0.9.2/NS6.1 browsers. bug 96917. sr=vidur r=brendan a=drivers 2001-08-28 21:46:08 +00:00
sfraser%netscape.com b164fe02fa Bug 62110 - initialize rv in nsLocalFile::SetPersistentDescriptor. Fixes multiple folders bug in mail on Mac OS X, and probably other bugs as well. r=pinkerton, sr=mscott, a=dbaron 2001-08-28 01:57:20 +00:00
thesteve%netscape.com a259a42b90 Bug#81373 (mac static build)
added nsStaticComponent.h
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:48:03 +00:00
thesteve%netscape.com ee4a202cfe Bug#81373 (mac static build)
add: link with nsStaticComponentLoader.cpp
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:43:23 +00:00
thesteve%netscape.com 4c765650b5 Bug#81373 (mac static build)
landing mac static build.
r=jfrancis
sr=sfraser
a=asa on behalf of drivers
2001-08-27 23:36:11 +00:00
rjesup%wgate.com 21a61a2079 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu 65dced4a06 Fix buffer overruns caused by incorrect porting of |char|-based code to |PRUnichar|. b=96764 r=bbaetz sr=brendan a=tor 2001-08-26 21:21:02 +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
mkaply%us.ibm.com d0de3533ec #95651
r=mkaply, timeless a=blizzard
OS/2 only - code from Javier Pedemonte - fix Launch/Reveal behavior for Os/2
2001-08-22 04:33:17 +00:00
dbradley%netscape.com f4036587aa Fix for bustage, remove extra paren from my patch 2001-08-22 01:53:43 +00:00
dbradley%netscape.com 566a57f6b4 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +00:00
dp%netscape.com bde268440f bug 94883 nsCreateInstanceByContractID() performance improvement 2001-08-21 22:42:35 +00:00
brendan%mozilla.org b365808864 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
andreas.otte%primus-online.de 5bb1bd5bd3 fix bug 84409 [Incorrect request for page components if main page URL contains ";" character] Implementing param support according to RFC 2396, r=dougt, sr=rpotts 2001-08-21 20:35:01 +00:00
timeless%mac.com 25dedc42c8 Bugzilla Bug 24515 Cant build XPCOM standalone
Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
Whoops, i contributed to xpcom standalone not working
patch by jband, r=dbaron, sr=brendan

This makes nsCRT::atoi in standalone assert and functionally NOP
2001-08-21 19:36:07 +00:00
dp%netscape.com 544bddaf69 adapting to CreateInstancebyContractID() perf improvement 2001-08-21 19:07:26 +00:00
dbradley%netscape.com 3d9aa5849e Bug 44989: the memory allocated via g_malloc() should be freed via g_free(). sr=blizzard, r=jst 2001-08-21 12:33:28 +00:00
dbradley%netscape.com 610d3f8976 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband 2001-08-21 12:29:34 +00:00
jst%netscape.com 4eec412b0b Fixing bug 95871. Making it possible to put null pointers in nsISupportArrays. r=pavlov@netscape.com, sr=waterson@netscape.com 2001-08-21 08:51:19 +00:00
darin%netscape.com 017944a78b fixes bug 92563 "Bad comment in nsIInputStream?" r/sr=jst 2001-08-21 06:49:46 +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 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
waterson%netscape.com 5be81fd3ca 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
waterson%netscape.com ef1265798d 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 00:55:20 +00:00
dbaron%fas.harvard.edu 39e2126cb7 Add CallGetInterface. b=92602 r=jag sr=scc 2001-08-18 14:15:07 +00:00
blizzard%redhat.com 8449d6469f Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org 525a387cf2 - 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
waterson%netscape.com 1b09139498 modify mac project files for MOZ_TIMELINE tool, bug 78793 2001-08-17 02:04:20 +00:00
cathleen%netscape.com b6297898fd enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
dbradley%netscape.com f864548d94 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst 2001-08-16 13:40:51 +00:00
waterson%netscape.com 5e64146342 Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan 2001-08-16 03:24:45 +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
dbradley%netscape.com 3b88358165 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc 2001-08-10 13:52:21 +00:00
dbradley%netscape.com 83cb567a5f Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband 2001-08-10 13:47:45 +00:00
dbradley%netscape.com 8756ecfcad Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband 2001-08-10 01:06:14 +00:00
ccarlen%netscape.com cb85e25603 Bug 90686 - Can't migrate profiles under MacOS X. Make Mac_PreferencesDirectory return the prefs dir of the classic environment under OS X so we can find 4.x profile info. r=sdagley/sr=sfraser. 2001-08-09 13:12:10 +00:00
jaggernaut%netscape.com 1d71712002 Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc 2001-08-09 09:27:47 +00:00
waterson%netscape.com 8e03c80014 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan 2001-08-09 01:11:18 +00:00
waterson%netscape.com 67627ecc3a Fix mac bustage. 2001-08-07 06:27:42 +00:00
waterson%netscape.com 15c17672e2 Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2001-08-07 06:23:40 +00:00
brendan%mozilla.org 01289b3afb Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
waterson%netscape.com c5b444c36c 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
dbradley%netscape.com cf2c8cc9e5 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda 2001-08-06 20:42:53 +00:00
vidur%netscape.com b20b9d9523 Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +00:00
pinkerton%netscape.com 9d8b2797ed Working around dynamic linker restrictions on hp/macosx. r=dbaron/sr=brendan.
bug# 93479
2001-08-03 20:54:25 +00:00
pete%alphanumerica.com 4f260c4d6e Fix for nsLocalFile::CopyTo not fully implemented on Unix.
r=ccarlen, sr=brendan, b=53474

--pete
2001-08-03 03:42:04 +00:00
pete%alphanumerica.com b6059fbad7 Fix for broken AppendRelativePath on unix. r=jag, sr=brendan b=55406.
Note, this method will be going away soon.

--pete
2001-08-03 03:26:26 +00:00
waterson%netscape.com 8487939399 First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
dbaron%fas.harvard.edu c0fa9abef6 Add test for gcc 2.7.x on Linux, which requires CFRONT_STYLE_THIS_ADJUST. r=waterson sr=shaver b=88397 2001-08-02 02:02:06 +00:00
brendan%mozilla.org 5cebc5d400 Fix ownership initializer merge botch (93079, dbaron's patch, sr=shaver, r=me). 2001-08-01 22:34:42 +00:00
brendan%mozilla.org 1a075aa858 Try to placate the HP-UX compiler by keeping gFastLoadService_'s decl before any uses in a template class. 2001-07-31 23:23:38 +00:00
brendan%mozilla.org 0bebf9b763 Danm's fix for Mac CodeWarrior C++ glitch, and a cosmetic sneak-fix. 2001-07-31 22:22:36 +00:00
dbaron%fas.harvard.edu 6747175f30 Fixing HP bustage. For the record, the error message was: Undeclared variable 'mRawPtr'. A variable with the same name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++ Standard). You can make it visible by writing 'this->mRawPtr'. 2001-07-31 21:23:58 +00:00
dbaron%fas.harvard.edu 846646799a Adding nsIFastLoadFileControl.idl to project. Change emailed from Zach, to fix fastload branch landing bustage. 2001-07-31 20:57:47 +00:00
dbaron%fas.harvard.edu 0e25f44bee Fix OS/2 and BeOS bustage from fastload landing. 2001-07-31 20:34:37 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
mkaply%us.ibm.com 71e36cb486 #88290
r=mkaply, a=blizzard
Code from Javier Pedemonte and Jeff Jones - rewrite of xptcinvoke to  be more efficient
2001-07-25 04:07:05 +00:00
mkaply%us.ibm.com 504089c5df OS/2 only - EMX break - this code should be VACPP only 2001-07-25 03:53:41 +00:00
pete%alphanumerica.com f65c767018 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
cathleen%netscape.com 562182c632 fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build
2001-07-19 22:43:14 +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
kandrot%netscape.com 7ae214fc34 bug #82133, r=jag, sr=scc. Fix for bad typecasting of a nsISupportsArray to a nsAupportsArray. 2001-07-18 05:50:04 +00:00
kandrot%netscape.com 37be77d927 Backing out this files last set of changes. 2001-07-18 00:29:20 +00:00
kandrot%netscape.com e12211dbc8 bug #82133, r=jag, sr=scc. Fix for bad typecasting of an nsISupportsArray to a nsAupportsArray. 2001-07-17 23:44:35 +00:00
av%netscape.com a2bc907cd6 Backing out existing fix for 87193 -- r=mstolz, sr=shaver, attinasi 2001-07-17 02:24:16 +00:00
rpotts%netscape.com 46e212a972 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
scc%mozilla.org efa96a34fb bug #90981 (top-crash): sr=mscott, rs=waterson. the new |nsXPIDLC?String| implementation doesn't always have a buffer handle to give up. |BeginReading| won't do what you want in this case, so modify |do_AssignFromReadable| to elide copies from empty strings. 2001-07-16 20:29:30 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +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
timeless%mac.com 656ced5924 Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
previous definition just recursed infinitely. |::atoi| takes a |char*|.
r=dbradley sr=scc
2001-07-13 05:17:33 +00:00
scc%mozilla.org 8aa9c500bd bug #90394: r=dbaron, sr=asa(?). A simple fix to a big leak when |nsXPIDLC?String|s are never accessed after assignment, deallocation failed. By storing the initial pointer in the _storage_ start slot, this is avoided. 2001-07-12 06:48:23 +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
jaggernaut%netscape.com 97c1db5b54 Add "caps" to REQUIRES to fix Senna bustage. 2001-07-11 13:45:34 +00:00
jaggernaut%netscape.com d4f0f612c1 Add "js" to REQUIRES to fix Senna bustage 2001-07-11 12:37:01 +00:00
jaggernaut%netscape.com 3b0eb90c80 Add "xpconnect" to REQUIRES to fix Senna bustage 2001-07-11 10:50:04 +00:00
jaggernaut%netscape.com 0e5514d14b Add to REQUIRES "caps" to fix senna bustage 2001-07-11 07:49:25 +00:00
mstoltz%netscape.com 939cbb8680 Checking in bug 87913 for jesse@netscape.com - Allow untrusted scripts
to call Components.manager.autoRefresh, but only with default params.
r=mstoltz, sr=jst.
2001-07-11 04:48:55 +00:00
rbs%maths.uq.edu.au 232e939520 Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc 2001-07-10 04:31:57 +00:00
kandrot%netscape.com d167434170 Adding default string in Normalize to allow Purify to run under Solaris. r=kandrot@netscape.com, sr=scc@mozilla.org 2001-07-09 23:42:00 +00:00
cls%seawood.org 654b132df3 Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
dbaron%fas.harvard.edu 70bbb76124 Some compilers don't support default parameters on templates, so split CallGetService and use what would have been a better solution in the first place. sr=scc b=87735 2001-07-04 20:26:31 +00:00
dbaron%fas.harvard.edu 7cbc07dc03 Add tests for CallQueryInterface, CallQueryReferent, CallCreateInstance, and CallGetService to make sure they compile on all platforms. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:15 +00:00
dbaron%fas.harvard.edu bd91b0893f Add CallCreateInstance and CallGetService. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:14 +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
scc%mozilla.org 073bbd5813 fixing ports bustage 2001-07-04 17:52:39 +00:00
scc%mozilla.org 6f91164cb0 fixing build bustage (typo), thanks gcc 2.7.2.3 for instantiating my unused template member functions :-( 2001-07-04 07:04:17 +00:00
scc%mozilla.org 8de83eaec2 bug #76846: r=cls, build bustage fix for 64-bit platforms 2001-07-04 06:06:22 +00:00
scc%mozilla.org 88720ed1d1 bug #50721: sr=brendan, r=dbaron. Add |do_QueryElementAt|. 2001-07-04 05:42:46 +00:00
jaggernaut%netscape.com 1556353d7f Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc 2001-07-03 09:09:56 +00:00
mkaply%us.ibm.com 7dfef57416 #88742
r=cls
Enable ASM_SUFFIX in the build
2001-07-02 03:49:50 +00:00
cls%seawood.org 52d7838acf Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson
2001-07-01 12:11:13 +00:00
mkaply%us.ibm.com 09dd3664a4 Beos build bustage - 82205 2001-06-30 20:26:40 +00:00
pete%alphanumerica.com d134c1e1ee Fix for nsIFile IsSpecial. r=dougt sr=jst b=82205
Checking this in for tenthumbs.

--pete
2001-06-30 13:30:32 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu aceadd91ec Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
dbaron%fas.harvard.edu 63f58d7036 Add hack to make functions that used to work with nsXPIDLString continue to work now that nsXPIDLString inherits from nsAString by adding inline methods to resolve ambiguity for compilers that don't support |explicit|. r=jaggernaut sr=waterson b=88411, 88420 2001-06-29 23:12:48 +00:00
dbaron%fas.harvard.edu 85e687d9cd Make ns[C]StringKey cooperate better with new string classes (although it doesn't participate in sharing). When created (non-cloned) from a flat string it will be dependent (as it was when created from ns[C]String), but it will copy non-flat strings. b=88411 r=jaggernaut sr=waterson (Complete comment for previous checkin.) 2001-06-29 23:09:38 +00:00
dbaron%fas.harvard.edu cec1234d56 Make ns[C]StringKey cooperate better with new string classes (although it doesn't participate in sharing). When created (non-cloned) from a flat string it will be dependent (as it was when created from ns[C]String), but it will copy non-flat strings. 2001-06-29 23:08:23 +00:00
pete%alphanumerica.com 2f632945aa Fix for nsIFile GetTarget method.
r=dougt sr=jst b=88032

--pete
2001-06-29 17:43:59 +00:00
scc%mozilla.org 908e14c758 fixing ports bustage 2001-06-29 17:39:25 +00:00
scc%mozilla.org 6661806af9 fixing linux crasher and hpux build bustage 2001-06-29 15:56:03 +00:00
scc%mozilla.org 66d1d83fba fix linux build bustage by adding a |.get()| to resolve ambiguity 2001-06-29 13:50:22 +00:00
scc%mozilla.org 9f85882805 OK, Windows is going to complain about the change from unsigned to signed, so we'll save that for later 2001-06-29 12:58:44 +00:00
scc%mozilla.org 49e26feed8 bug #74726: sr=waterson, r=beard. Make |nsXPIDLC?String| inherit from |nsSharableC?String|, the new implementation is now in the string hierarchy (and out of string/obsolete). CVS removing the old implementations. 2001-06-29 12:48:13 +00:00
scc%mozilla.org 4332e0ff4e bug #74726: sr=waterson, r=beard. Make |nsXPIDLC?String| inherit from |nsSharableC?String|, the new implementation is now in the string hierarchy (and out of string/obsolete). 2001-06-29 12:47:43 +00:00
scc%mozilla.org 28a392e910 bug #74726: sr=waterson, r=beard. Here's the new version of |nsXPIDLC?String| in all new files, and a factored header that sets up debugging defines. These files are not yet part of the build, but will become so with my next checkin 2001-06-29 11:25:08 +00:00
sean%beatnik.com 291264777c fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant. 2001-06-29 01:44:35 +00:00
pete%alphanumerica.com 26e685e8f1 Fix for broken nsIFile method IsSymlink
b=81927 r=blizzard sr=jst

--pete
2001-06-28 12:03:47 +00:00
bzbarsky%mit.edu a4546e5f11 Fixing Mac bustage. Part of 81165 2001-06-28 04:10:13 +00:00
bzbarsky%mit.edu 83dce82df3 Add an nILineInputStream interface, a ReadLine() helper function, and an
implementation of this interface by nsFileInputStream.  Bug 81165,
r=dougt, sr=darin
2001-06-28 03:19:51 +00:00
cathleen%netscape.com 588d2ab37c fix autoreg components always get called on startup. bug#85770 r=ssu sr=alecf 2001-06-28 00:06:16 +00:00
pete%alphanumerica.com eb73b6d1c4 Fix for mPath string corruption when nsIFile parent is called and the
file is a top level dir such as /tmp

b=84738 r=dougt sr=jst

--pete
2001-06-27 12:29:45 +00:00
mkaply%us.ibm.com 6c079bc46c senna bustage 2001-06-22 03:13:45 +00:00
mkaply%us.ibm.com 51cb61678e Fix OS/2 breakage. We have an nsLocalFile too. 2001-06-22 02:57:07 +00:00
dougt%netscape.com c306e0513b Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +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
mkaply%us.ibm.com 9fad62e422 No bug
r=mkaply, pedemonte, sr=blizzard, a=asa for drivers
AWESOME xptcstubs rewrite from Jeff Jones. Incredibly elegant. Allows us to fully optimize our build.
2001-06-19 22:47:14 +00:00
dbaron%fas.harvard.edu 09e99242d5 To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa 2001-06-19 22:38:45 +00:00
waterson%netscape.com fc3bdcf72f Bug 83737. Fix off-by-one error when enumerating values. r=kandrot, sr=scc, a=asa. 2001-06-19 22:34:32 +00:00
syd%netscape.com b31fd3c52e Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
return we found it. r=dougt, sr=mscott, a=drivers
2001-06-19 03:17:20 +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
scc%mozilla.org 60a960aaf8 attempting to fix build bustage for speedracer from associated bug #85271 2001-06-17 07:09:41 +00:00
scc%mozilla.org 2e8b3e9481 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
jdunn%netscape.com f7b6e60a0d fixing AIX's problem with dealing with multiple inheritence
this fixes editor and mailnews startup crashing bugs
submitted by hhoetzel@us.ibm.com
r= jdunn@netscape.com,cls@seawood.org
a= blizzard@mozilla.org
# 24458
2001-06-15 12:19:18 +00:00
mkaply%us.ibm.com e821491ffa Fix Os/2 bustage 2001-06-15 03:48:00 +00:00
ccarlen%netscape.com 8363ca6e21 Bug 74247 - Fizzilla should use $HOME/Library/Mozilla to store profiles. r=pinkerton/sr=sfraser/a=asa 2001-06-14 01:24:22 +00:00
kandrot%netscape.com 4f67913550 r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
removes a memset that sets zero bytes (so it did nothing)
2001-06-13 00:03:21 +00:00
dougt%netscape.com 1035447227 Adds a test case for bug 84489. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com 2001-06-12 18:38:17 +00:00
dougt%netscape.com cb41e513ea Fixes bug 84489. Ensures that worker threads can not process the same reque
st at the same time. r-danm@netscape.com, sr-darin@netscape.com, a-clayton@n
etscape.com
2001-06-12 18:35:23 +00:00
dougt%netscape.com a2f659d9c4 fixes bug 84489. ensures that workthreads never process the same request at the same time. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com. 2001-06-12 18:32:26 +00:00
mkaply%us.ibm.com 380a75ccae #50203
r=mkaply, aaronr, pedemont sr=blizzard
OS/2 only - while investigating optimizer issues, we came up with a better fix for this problem
2001-06-08 14:54:10 +00:00
syd%netscape.com 421006c67d trunk fix for 84115. Pass arguments to the process (I omitted these in an earlier
checkin). Bad because xpi files that invoke processes with args are not functioning
correctly. r=ssu, sr=mscott, a=drivers (asa)
2001-06-06 04:33:19 +00:00
ccarlen%netscape.com 8708c4be01 Bug 83687 - The keys NS_XPCOM_CURRENT_PROCESS_DIR and NS_OS_CURRENT_PROCESS_DIR were defined identically. They should be different. r=valeski/sr=jband/a=asa 2001-06-05 22:19:19 +00:00
valeski%netscape.com 221edc8f1a r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
valeski%netscape.com 83586c4fe5 r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr. 2001-06-04 23:30:55 +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
syd%netscape.com 0180b1d074 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=80383
r=dbragg, sr=mscott, a=asa

For the nsIProcess component, which is only used by XPInstall, instead of calling
nspr for process creation, we call a simplified version which, on windows, will
cause the child process not to inherit fds open by the forking process.

Fix is only XP_WIN. nspr will provide a more risky, non-nsIProcess, XP solution at
some point which is either achieved by modifying open() to accept a non-inherit
flag (on win32) or do an fcntl() on Unix (see the bug for details specific to the
fcntl()), or provide another pair of create processes functions that are geared
towards non-inheriting process creation.

The bug fixed here is the XP installer is not able, on win32, to remove the
components.reg file from the "cleanup" process, which leads to all sorts of mayhem,
because the cleanup process inherits the component.reg fd which is open at the
time the cleanup process is forked, and this it cannot remove something it has an
open reference to.
2001-06-02 00:06:44 +00:00
cls%seawood.org bbc335acd4 Tweak xptc so that it works on Irix with gcc.
Thanks to John Vandenberg <zeroJ@null.net> for the patches.
Bug #79362 r=cls a=asa for 0.9.1
2001-05-30 14:48:52 +00:00
mkaply%us.ibm.com d261552206 #83166
r=aaronr, sr=blizzard, a=blizzard
OS/2 only change - we weren't deleting temp files after download
2001-05-29 22:21:11 +00:00
mkaply%us.ibm.com f67b028a4a No bug
r=javier, a=tor
OS/2 only change - we were unnecessarily defining DEBUG
2001-05-25 04:20:24 +00:00
brendan%mozilla.org e21d5d58c0 - Add a generation number to JSDHashTable that counts entryStore changes due
to grows, shrinks, and compresses.  This helps JS_DHashTableOperate callers
  who hold returned entry pointers to validate those pointers and avoid having
  to re-lookup an entry by its key.
- Balance that addition by removing JSDHashTable.sizeMask, which is induced by
  JSDHashTable.sizeLog2 at the cost of two typically single-cycle instructions.
- Use JSDHashTable.generation in jsobj.c to avoid unsafely dereferencing an
  entry pointer held across calls to JSClass.resolve from js_LookupProperty,
  which may recur and add entries to cx->resolving, growing that table and
  invalidating entry pointers held by earlier js_LookupProperty activations.
(bug 78121, r=jst@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org)
2001-05-25 03:05:38 +00:00
scc%mozilla.org cc99419281 bug #75164: sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h". 2001-05-23 06:49:51 +00:00
law%netscape.com a83465493d Bug 68279; tightens up IsExecutable() check in nsLocalFileWin to properly detect most dangerous executables; adds code to the two places in the UI where such files used to be executed to disable us doing that; r=mstoltz, sr=mscott 2001-05-23 06:03:59 +00:00
scc%mozilla.org 9c83bf2aa8 bug #78398: sr=waterson. adding my new header file "nsAStringGenerator.h" to the Mac project to make it easier to open. 2001-05-23 03:33:06 +00:00
scc%mozilla.org 49cf768412 bug #78398: sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist. 2001-05-23 03:31:23 +00:00
scc%mozilla.org f98c3d6d97 bug #78398: sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator| 2001-05-23 03:29:48 +00:00
scc%mozilla.org b048777e64 bug #75220: r=vidr, sr=jst ... had just been waiting for the commercial fixes, and now mscott has landed those. Finally get rid of |nsLiteralC?String| and |nsLocalC?String|. Use |nsDependentC?String| now instead. 2001-05-23 02:44:46 +00:00
scc%mozilla.org 3272a6f922 bug #63923: sr=sfraser, r=waterson (aka ``thrill-kitty''), casting to an abstract base prevents people on crack-baby platforms from using an |NS_LITERAL_STRING| (incompatibly) as an |nsAutoString|. Who's ready for a full rebuild? 2001-05-23 01:45:13 +00:00
ccarlen%netscape.com ea29897e20 Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser 2001-05-22 21:38:21 +00:00
scc%mozilla.org 066e935721 ok, but make this local bustage fix into a global one 2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com f909ffbe26 Nope, didn't work - broke stuff 2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com 4c817fab6f Valiant attempt to fix AIX and BeOS bustage 2001-05-22 03:36:31 +00:00
jst%netscape.com f5b2547e3a Changing a mixture of old C-style casts and C++ constructor type casts to NS_STATIC_CAST to be consistent. This is a followup to my build bustage fix this morning, sr=scc@mozilla.org 2001-05-22 02:36:50 +00:00
scc%mozilla.org f92553939b bug #75220: sr=jst, r=vidur. Renaming the member function |Promises| to the more meaningful |IsDependentOn|. 2001-05-21 23:50:56 +00:00
scc%mozilla.org 27f293c085 bug #69872, sr=jst, r=jag. Make |nsDependentC?String|s rebindable. 2001-05-21 23:45:03 +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
colin%theblakes.com 46a5354f91 Check for ENXIO as well as EXDEV as expected failure from rename.
b=70915 r/sr=brendan
2001-05-21 23:15: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
jst%netscape.com 99c9bf9ae8 Fixing build bustage, apparently msvc doesn't like the C++ style PRUint8(...) casts here, changing them to old C style casts. r=peterv@netscape.com 2001-05-21 12:42:47 +00:00
scc%mozilla.org 50ca1126ca bug #28952: r=jst, sr=scc, checking in patch by drepper@cygnus.com which fixes |nsCRT::strtok| to handle 8-bit delimiter characters correctly when the high bit is set. 2001-05-21 10:45:44 +00:00
scc%mozilla.org 27142d83e1 bug #75220: sr=jst, rs=brendan. fixing string names. removing the old |nsPromise...| files from the build. 2001-05-19 11:31:22 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jband%netscape.com 91e7e36a99 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
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
darin%netscape.com a20383886d Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
2001-05-18 22:39:52 +00:00
dougt%netscape.com 8afbdc2689 DUH! how about this time we make the generate code do something useful. sorry about this. 2001-05-18 07:00:02 +00:00
dougt%netscape.com 7e6a5aedfb Fixing bug 81464. Adding generated NS_FORWARD_SAFE_ macros. This is so that there is a check for null before forwarding the call. Basically copy and paste code. sr=jband@netscape.com 2001-05-18 05:56:26 +00:00
vidur%netscape.com 46ae8a22d2 Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org 2001-05-17 05:53:16 +00:00
brendan%mozilla.org 06f0438169 Fix ChangeTable and how it's called (74883, r=gordon, sr=waterson, mcafee approved). 2001-05-16 21:41:52 +00:00
scc%mozilla.org 2fb2d3cc2a bug #75220: rs=brendan, r=axel@pike.org. fixing string names. add the renamed implementations to the build. 2001-05-16 12:46:47 +00:00
scc%mozilla.org 357320f4c0 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. export the new header files. 2001-05-16 12:38:41 +00:00
scc%mozilla.org 1075e88360 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. 2001-05-16 12:36:35 +00:00
scc%mozilla.org e4e84cc783 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. cvs remove the obsolete files. 2001-05-16 06:57:02 +00:00
scc%mozilla.org 2e4c2f30de bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop exporting the old header file "nsCommonString.h" (now that all users of the old name have been fixed) 2001-05-16 04:55:23 +00:00
scc%mozilla.org 8352858dc7 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Fix all users of the old name. 2001-05-16 04:52:43 +00:00
scc%mozilla.org cd731aa604 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop building the old implementation in "nsCommonString.cpp", and |typedef| the old type to an alias for |nsSharable[C]String|. 2001-05-16 04:49:20 +00:00
scc%mozilla.org 82264a0b2e bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Build the new implementation in "nsSharableString.cpp". 2001-05-16 04:45:59 +00:00
scc%mozilla.org 30451fb284 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Export the new header file "nsSharableString.h". 2001-05-16 04:43:31 +00:00
scc%mozilla.org f2e912df81 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String| 2001-05-16 04:41:32 +00:00
rbs%maths.uq.edu.au 252d8fe4c0 Remove a gratuitous redundant test. b=67438 2001-05-16 03:40:29 +00:00
Xiaobin.Lu%eng.Sun.com 756c0b5663 r=timeless sr=shaver
bug 72807 "c++ style comment warning"
2001-05-16 02:24:44 +00:00
anthonyd%netscape.com 0118687b97 Patch around ChangeTable bug (brendan, r=gordon, smoketestblocker). 2001-05-15 23:41:32 +00:00