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

4149 Коммитов

Автор SHA1 Сообщение Дата
pete%alphanumerica.com 1008dafcdb fixing a bunch of member functions that were not returning values etc . .
that i found running in strict mode.

cleaned up some of the syntax to make Brendan happy.

r=dougt

--pete
2000-08-29 13:02:02 +00:00
jband%netscape.com 6ba416e575 changed comment to show why compiler warning will not be fixed 2000-08-29 08:55:28 +00:00
jband%netscape.com 4a40401f3c fix bug 50445. r=shaver@mozilla.org a=brendan@mozilla.org. Thanks to Marcus G. Daniels <mgd@swarm.org> for uncovering this bug 2000-08-29 08:08:33 +00:00
brendan%mozilla.org 5387c4e16b 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
dbaron%fas.harvard.edu 75784d00bd Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt 2000-08-28 23:23:32 +00:00
dougt%netscape.com 90b2424793 Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com 2000-08-28 22:14:02 +00:00
pete%alphanumerica.com 40da71f89e just an update to reflect the interCaps API style changes
I also caught a small error running in js strict mode.

r=dougt

--pete
2000-08-26 22:56:35 +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
mccabe%netscape.com 83a2aee03e 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
jst%netscape.com 42f438ff51 Fixing AIX and SunOS 5.7 bustage. r=scc&vidur 2000-08-24 22:17:25 +00:00
mkaply%us.ibm.com e9cc7884ed #50203
r=mkaply, a=brendan
Patch from pedemont - xptcstubs didn't handle one parameter correctly
2000-08-24 20:20:49 +00:00
mkaply%us.ibm.com 60706b55ac OS/2 Tinderbox breakage
More XP_PC stuff
2000-08-24 13:58:21 +00:00
hyatt%netscape.com 985e328964 Fix bug in void array's assignment operator. r=scc 2000-08-24 09:26:58 +00:00
warren%netscape.com 10b3ee21a6 Bug 44352. Adding IsLowMemory predicate & implementation for Windows. 2000-08-24 08:35:13 +00:00
beard%netscape.com 20faf976ac use QueryElementAt() to save space and time. r=jband 2000-08-24 04:08:07 +00:00
jdunn%netscape.com 7eb04ed28d fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com 1a18c182df Attempting to fix AIX and OS2 bustage, code written by scc, r=jst 2000-08-23 23:36:58 +00:00
jst%netscape.com 5da5a8ecc8 Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc 2000-08-23 19:23:15 +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
bienvenu%netscape.com 61896d4c98 fix 48952 local file list of root windows directory broken r=dougt 2000-08-23 14:06:37 +00:00
racham%netscape.com 7e1c976d1e Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt 2000-08-23 01:24:30 +00:00
warren%netscape.com 15b00f8b9a Removed reference to nsIBaseStream 2000-08-22 09:56:13 +00:00
jband%netscape.com e0aa9a49db fix bustage after nsIBaseStream removal 2000-08-22 09:28:52 +00:00
warren%netscape.com 905958c321 Removed nsIBaseStream, nsIBufferInputStream and nsIBufferOutputStream.idl. 2000-08-22 08:19:18 +00:00
jband%netscape.com 23fac07700 fix Mac bustage? 2000-08-22 07:53:24 +00:00
warren%netscape.com 7a1efd9573 Fixed comments which got swapped around. 2000-08-22 07:12:56 +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 e38aadaa66 fixing Mac bustage? 2000-08-22 06:33:06 +00:00
jband%netscape.com 2a866e874c added files: mozilla/xpcom/ds/nsStaticNameTable.cpp 2000-08-22 06:05:12 +00:00
dp%netscape.com 940d3b0e41 Fixing progid translation for registrations that dont have a progid. 2000-08-22 06:03:56 +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
jband%netscape.com 4e732abd38 fix uninitialized member crash in secondary constructor of nsConsoleMessage 2000-08-22 05:54:25 +00:00
mccabe%netscape.com f14eb49869 Fix to 43282, courtesy Mark Hammond <markh@activestate.com>
Common code between GetIIDForParam and GetInfoForParam, and reinforce a needed check against null.

r=jband
a=brendan
2000-08-22 01:19:22 +00:00
dougt%netscape.com 6e5dd7aa53 b=49593. r=bruce@cubik.org (Bruce Mitchener). 2000-08-21 22:51:10 +00:00
warren%netscape.com d43828f23c Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
warren%netscape.com c82a2efd44 After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute. 2000-08-20 22:28:12 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
waterson%netscape.com 179f993e8b Fix nsCString::AppendWithConversion() to work. 2000-08-20 20:41:31 +00:00
scc%mozilla.org 794bf08cde temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet) 2000-08-20 07:40:30 +00:00
scc%mozilla.org 2fe691fa70 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
scc%mozilla.org 7d2020e4f9 fixing code that relied on implicit string construction 2000-08-20 07:18:09 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org aae8dfd4db adding |AppendWithConverison(const PRUnichar*, PRInt32)|, the need for which was brought out by making constructors |explicit| 2000-08-19 19:34:00 +00:00
cls%seawood.org e01272bbf7 Native irix compilers don't seem to know about |typename| either 2000-08-19 08:01:28 +00:00
warren%netscape.com 9d781138b0 Correct error code. 2000-08-18 20:54:28 +00:00
rayw%netscape.com 0540f62d4d A fix to bug 43351.
A softer landing on a failed initialization.  It checks for a null
before deallocating.  This does not affect the success path.

This was a patch, and I reviewed it:  (r=rayw)
2000-08-18 20:54:04 +00:00
rayw%netscape.com 8ddce2ac9b Check return from PlatformInit, and return if it failed.
Bug 43347

This was a patch submitted, I have reviewed it (r=rayw)
it provides a softer landing when problems occur in the
initialization.  There is no difference in behavior if
the initialization was successful.
2000-08-18 20:51:37 +00:00
pinkerton%netscape.com b7e5078b6c add a |do_AppendFromElement(PRUnichar)| to help speed up some things in wallet initialization (bug 44514) r/a=scc. 2000-08-18 04:48:29 +00:00
mccabe%netscape.com f803b21326 Rectify // comment to /** comment 2000-08-18 01:09:29 +00:00
scc%mozilla.org 4e46a37d08 not part of the build; temporarily patching these files to use the old (what is currently in the tree) |GetReadableFragment| scheme, so that clients can start using this now both on the tip and on the DOMAPI... branch 2000-08-17 21:07:45 +00:00
dougt%netscape.com 6502c4d736 b=47143, r=valeski. Puts the real object release on the proper thread. 2000-08-17 05:02:37 +00:00
mkaply%us.ibm.com 6ddfa37f7e OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!
2000-08-17 03:18:03 +00:00
mcafee%netscape.com 8de69e3e35 Fix build warning, trailing slash looks run-on comment to the egcs compiler. 2000-08-17 01:53:59 +00:00
jband%netscape.com 3e0ad5c4a1 fix bug 49137 by using PR_GetEnv rather than prefs to get these developer options r=mccabe 2000-08-17 01:20:02 +00:00
scc%mozilla.org 959c07dea2 not yet part of the build, this new class provides a more consistent and flexible answer to the need for functions like |AppendInt| and |AppendFloat|. It is a short readable string produced with printf. 2000-08-17 01:08:30 +00:00
dbaron%fas.harvard.edu e8436117f7 Attempt to fix Sun/HP/AIX bustage. r=cls 2000-08-17 00:15:50 +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
mkaply%us.ibm.com 69397914bf #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware
2000-08-16 14:27:18 +00:00
pete%alphanumerica.com 76d965a6da Fixed problem i was having returning array from readDir member function.
Thanks jband for the fix.

not part of the build

r=jband

--pete
2000-08-16 13:35:13 +00:00
dp%netscape.com b2945eb4e6 Removed unused static. 2000-08-16 07:33:23 +00:00
dprice%netscape.com fc188e8681 replacing this file in the right spot. 2000-08-16 04:23:40 +00:00
jband%netscape.com 3998d0b8d6 initial checkin - NOT PART OF BUILD 2000-08-16 02:07:37 +00:00
warren%netscape.com e8b9347907 Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren 2000-08-16 00:32:59 +00:00
pete%alphanumerica.com 5a0bb16248 moving APPEND comment. Wrong spot.
r=dougt

--pete
2000-08-15 13:14:51 +00:00
pete%alphanumerica.com 683ce122fc added readDir(dirPath) member function.
Also fixed a small bug in copy to return if the source file is a dir.
r=dougt

--pete
2000-08-15 12:37:40 +00:00
dmose%mozilla.org a4c010c16e 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
pete%alphanumerica.com 688cfedc46 added two more member functions:
*       9. copy(source, dest);
*       10.leaf(path);

Fixed a bug i found in exists() member function.
Expanded tabs out of file. Tested.
not part of the build.

r=dougt

--pete
2000-08-14 17:14:29 +00:00
jband%netscape.com d98735c0ea Pass the buffer length in bytes to nsCRT::memcmp. a=warren 2000-08-11 23:46:09 +00:00
scc%mozilla.org e9b47b215c not part of the build; adding multi-fragment strings to the test suite 2000-08-11 20:54:25 +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
conrad%ingress.com 26dd1bf2fd 1. Changed from using strings to using macro names for property keys 2. Fixed return val of RegisterProvider r=valeski 2000-08-11 20:25:18 +00:00
warren%netscape.com a65ba7ec30 Jar manifest updates. 2000-08-11 09:05:40 +00:00
scc%mozilla.org 5082251b3e bug #48464. explicitly picking my own or the auto-generated function, in particular |operator=|. r={vidur, waterson}, a=vidur 2000-08-11 00:42:41 +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
rayw%netscape.com 6385bb207a Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.
2000-08-10 20:12:08 +00:00
mcafee%netscape.com c6ded73515 More double-space lossage, whitespace change only. 2000-08-10 08:16:40 +00:00
warren%netscape.com a35f9c8adb Fixed warnings. 2000-08-10 07:05:13 +00:00
scc%mozilla.org cc67834dfe fixes needed to get multi-fragment strings working; r|a=waterson 2000-08-10 06:36:54 +00:00
warren%netscape.com 501b575efa Fixed nscom.h -> nsCom.h 2000-08-10 06:35:34 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
conrad%ingress.com f32e087836 Fixed double line feed problem. 2000-08-10 06:06:02 +00:00
valeski%netscape.com c38e718733 fixing windows hatred of goto inits 2000-08-10 05:23:05 +00:00
mcafee%netscape.com 18b68e428a Adding nsDirectoryServiceDefs.h, fixing whitespace problems. This would have become linux bustage later. 2000-08-10 04:53:37 +00:00
conrad%ingress.com da645761e9 Changed strings to use macros Fixed FindWinFolder which was not doing anything. 2000-08-10 04:39:30 +00:00
conrad%ingress.com a76baabb28 Added nsDirectoryServiceDefs.h 2000-08-10 04:37:43 +00:00
conrad%ingress.com acabcc13af Export of nsDirectoryServiceDefs.h r=valeski 2000-08-10 04:12:16 +00:00
conrad%ingress.com 34afc03823 First checkin. r=valeski 2000-08-10 04:03:52 +00:00
scc%mozilla.org d369a0d0d0 not part of the build; further work on multi-fragment strings. They are now limping along and can actually be used. They pass all tests not related to |Substring| and |nsPromiseConcatenation|. 2000-08-10 00:45:33 +00:00
dp%netscape.com b8e3fb5d86 Perl script to analyze xpcom log output and print results in html 2000-08-09 20:45:24 +00:00
scc%mozilla.org 333974e822 better comments re: the formal specification of |SetCapacity|; jag's |ToInteger| patch as per bug #46898; r|a=waterson 2000-08-09 08:26:23 +00:00
scc%mozilla.org 332cbbead7 fixed |nsCharSinkTraits<T>::write| as per bug #46462; r=beard, a=waterson 2000-08-09 08:26:12 +00:00
scc%mozilla.org 7a4bbc2688 fixed |BeginWriting| and |EndWriting| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndWriting|; fixed |nsWritingIterator<CharT>::write| as per bug #46462; fixed comments galore, significantly better specifying |SetLength| and |SetCapacity|; since |SetCapacity| is just a hint, give it a default implementation rather than making it pure virtual; fixed a couple of the |do_...| routines to unify the code path minimizing overides; r|a=waterson 2000-08-09 08:26:08 +00:00
scc%mozilla.org 454fd1db7e fixed |BeginReading| and |EndReading| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndReading|; fixed the |CharAt| family of routines accordingly; fixed comments galore; r|a=waterson 2000-08-09 08:26:00 +00:00
scc%mozilla.org 121b1c59e0 not part of the build; further work on multi-fragment strings. Moved the bulk of the template implementation to the header file. This file needs to continue to exist for when I finally un-templatize the interfaces 2000-08-09 02:48:27 +00:00
scc%mozilla.org 744280c781 not part of the build; further work on multi-fragment strings 2000-08-09 02:47:33 +00:00
brendan%mozilla.org 53ef9c0ba4 Add captioned timestamp events, for JS storyboarding (not part of build). 2000-08-09 02:41:58 +00:00
scc%mozilla.org f4c2ca5073 not part of the build; initial work on multi-fragment strings 2000-08-08 00:14:35 +00:00
scc%mozilla.org e290b14ff8 not part of the build yet; initial work on multi-fragment strings 2000-08-08 00:14:14 +00:00
dougt%netscape.com 283ecd2375 1. remove extra monitors (47825)
2.  add method to determine if manager has been shutdown  (44680)
3.  Add nsCOMPtr to avoid leak  (44680, 43244)

r=valeski@netscape.com
2000-08-07 20:50:25 +00:00
dbaron%fas.harvard.edu 110242a861 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +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
scc%mozilla.org e442ddaee4 also including "nsAWritableString.h" to satisfy speedracer 2000-08-05 08:32:18 +00:00
scc%mozilla.org a5ad527f39 adding new files to the build to provide |ToNewCString|, |ToNewUnicode|, and |IsASCII| that work on |nsAReadable[C]String|s, as per Vidur's needs in converting the DOM. 2000-08-05 08:26:01 +00:00
scc%mozilla.org be5ab5a689 need |NS_COM| in the declarations too 2000-08-05 08:20:50 +00:00
scc%mozilla.org e94ee44bff adding new files to the build to provide |ToNewCString|, |ToNewUnicode|, and |IsASCII| that work on |nsAReadable[C]String|s, as per Vidur's needs in converting the DOM. 2000-08-05 07:50:28 +00:00
scc%mozilla.org 6a4f710e7d make sure the new functions are exported; still not in the build 2000-08-05 07:44:08 +00:00
scc%mozilla.org 8bf207c3fb added comments and made some changes suggested by reviewers; still not in the build 2000-08-05 04:25:49 +00:00
scc%mozilla.org 2637d04af7 everything's in and working correctly (as far as my tests show), still not in the build, but that's what I'm about to change with my next set of checkins 2000-08-05 03:32:36 +00:00
scc%mozilla.org f7a6b498a9 still not part of the build; I think everything's there, though. Some further testing and I'll add it to the build 2000-08-05 02:13:59 +00:00
scc%mozilla.org 1d41a0a81b still not part of the build; more work adding the new functions. More to come 2000-08-05 01:15:45 +00:00
scc%mozilla.org c179048fab These files are not yet part of the build; making global versions of |IsASCII|, |ToNewCString|, and |ToNewUnicode| that apply to readables, since we don't want them as member functions (where they were in |ns[C]String|). Vidur needs these to convert DOM interfaces over to readables. 2000-08-05 00:51:37 +00:00
syd%netscape.com 97248be348 Set sane directory permissions on creation. Partial fix for 43091. r=dougt 2000-08-04 22:13:10 +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
mscott%netscape.com 418070a7ab Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix. 2000-08-03 22:17:43 +00:00
mscott%netscape.com 645dd5e80d landing branch fix to trunk. Bug #47248 ---> Fix GetParent such that if appendedPath is an empy string we treat it the same as if it were null and create a dummy path. r=dougt 2000-08-03 22:13:34 +00:00
jj%netscape.com eaf1905c11 changed output location for xpt_link target 2000-08-02 22:12:10 +00:00
valeski%netscape.com 5b6a28fffd raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
pete%alphanumerica.com 23b5850b8b added two member functions to the File object prototype
r=dougt,brendan a=dougt
not part of the build.

--pete
2000-08-01 22:50:16 +00:00
danm%netscape.com dcd004f45b Deathgrip the output stream during WriteSegments to prevent bug 46267. This is a temporary patch to stop a common startup crash, until the real underlying cause is found. r=ruslan 2000-08-01 21:33:36 +00:00
dougt%netscape.com 30f07cfd34 r,a=brendan@mozilla.org 24052 2000-07-31 03:46:22 +00:00
dougt%netscape.com 9f5f745910 46044 fixes ABR. submitted by jband@netscape.com. 2000-07-29 08:13:39 +00:00
waterson%netscape.com 00054750f1 Fix Win32 build bustage. 2000-07-29 03:13:41 +00:00
scc%mozilla.org 9d0e5978e2 fixes for bugs #46898 and #46899: bad behavior in |nsCString::ToInteger| and a feature request for |ns[C]String::SetCapacity(0)| respectively. r={harishd, waterson}, a=waterson 2000-07-29 03:11:59 +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
waterson%netscape.com d1a16798a6 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that it can be used outside of RDF. 2000-07-29 02:58:10 +00:00
jband%netscape.com d94c7958e2 fix 46904. a=warren. Same change as on m17 branch 2000-07-29 01:52:59 +00:00
waterson%netscape.com fd461d7b41 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] out of rdf/base/src. Not yet part of the build. 2000-07-29 01:00:37 +00:00
scc%mozilla.org e4c73c28a5 adding a needed prefix file, these are not part of the build, just part of the string test framework (as was StringTest.mcp, just checked in) 2000-07-28 22:47:17 +00:00
scc%mozilla.org 73b7121bc5 get rid of "nsWorkString" 2000-07-28 22:45:58 +00:00
cls%seawood.org f9754b268f Workaround for long-standing AIX bustage 2000-07-28 08:11:51 +00:00
cls%seawood.org fe49190942 The AIX compiler doesn't seem to know how to handle |typename| 2000-07-28 06:57:20 +00:00
warren%netscape.com 0c4c474fb7 Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK. 2000-07-28 06:48:32 +00:00
dmose%mozilla.org 4b5231a715 on some windows configurations, the build has been messed up for at least a couple of weeks because some microsoft header file defines 'interface', which conflicts with the member variable in xpt_struct.h. rename the member variable from interface to iface. workaround suggested by alecf@netscape.com. r=jband@netscape.com, a=waterson@mozilla.org 2000-07-28 04:03:50 +00:00
bratell%lysator.liu.se 9bfe3f2e81 Final part of bug 40027. r,a=waterson@netscape.com 2000-07-27 06:12:49 +00:00
cls%seawood.org 8e82535d4f Bringing BeOS up to speed 2000-07-26 06:22:37 +00:00
brendan%mozilla.org 6bb2c26634 Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch]. 2000-07-26 02:19:27 +00:00
brendan%mozilla.org 55ce126995 - 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
bratell%lysator.liu.se c0a8b69048 Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson 2000-07-26 00:05:55 +00:00
sgehani%netscape.com ec4e062bc9 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver
2000-07-25 23:54:12 +00:00
cls%seawood.org 305d1f7993 Lets show some objdir sensitivity. 2000-07-25 11:03:25 +00:00
warren%netscape.com 8bd7267f01 Fixed linux makefile for xpcom.properties 2000-07-25 05:54:38 +00:00
warren%netscape.com 3fbed19a16 Added xpcom.properties to linux make. 2000-07-25 05:51:34 +00:00
warren%netscape.com 2b01440bc0 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
conrad%ingress.com fcb5d64b7f 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong. 2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. r-dougt 2000-07-24 20:05:54 +00:00
jband%netscape.com 1ddaab22f3 fix uninitialized variable 2000-07-22 22:50:35 +00:00
mkaply%us.ibm.com f83c889180 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 c03c730a44 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 01ee522c47 Registering nsIErrorService 2000-07-22 05:48:04 +00:00
warren%netscape.com d9d9722138 Added nsIErrorService to build. 2000-07-22 05:46:39 +00:00
warren%netscape.com 05c749064c Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages. 2000-07-22 05:38:43 +00:00
dougt%netscape.com 3a70ed325d r,a=brendan@mozilla.org 24052 2000-07-21 22:16:18 +00:00
brendan%mozilla.org 02c5512498 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build). 2000-07-21 20:42:15 +00:00
mkaply%us.ibm.com ee0249ccf8 #45973
r=dougt, a=brendan
OS/2 specific changes for nsAppFileLocationProvider.cpp
2000-07-20 18:55:28 +00:00
mkaply%us.ibm.com 522aaa276a #45690
r=mkaply, a=brendan
Sync up nsLocalFileOS2.cpp with Windows changes
2000-07-20 14:54:24 +00:00
conrad%ingress.com db6eb046ac Not part of build! Added some <includes> needed on Mac 2000-07-19 21:47:08 +00:00
dougt%netscape.com 780e01b652 Adding UNIX makefiles.
making compile on unix

(NOT PART OF BUILD)
2000-07-19 21:20:35 +00:00
dougt%netscape.com f11513d107 Fixing line feeds.
Adding makefiles for windows.
Making compile on windows.


(not part of build!)
2000-07-19 19:58:35 +00:00
tor%cs.brown.edu 1d1a5485e4 Bug 40748 - officially kill the SUNWspro4.2 build. r=cls, a=waterson 2000-07-19 19:53:01 +00:00
warren%netscape.com 9cb1fc4213 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
jband%netscape.com ff320436f0 patches from madams@janna.com to build xpconnect standalone. bug 42026. r=leaf@mozilla.org a=brendan@mozilla.org 2000-07-19 03:36:27 +00:00
conrad%ingress.com a348a7e8c7 1. Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. 2. It is now possible to pass nsnull for the path param to NS_NewLocalFile(). This allows one to create an unspecified file. r = dougt 2000-07-17 15:03:05 +00:00
conrad%ingress.com eedd73c66d Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. r = dougt 2000-07-17 15:01:10 +00:00
conrad%ingress.com 71b8e272d8 Added Get/SetPersistentDescriptor method. Use this instead of GetPath/InitWithPath. 2000-07-17 14:57:14 +00:00
conrad%ingress.com 9038f4adb8 First checkin - Not yet part of build. 2000-07-16 14:20:33 +00:00
idk%eng.sun.com c000d75fca ** not part of tbox build **
Renamed makefiles.
2000-07-15 01:37:28 +00:00
jfrancis%netscape.com 7df6a29f8a reserving iid for nsIEditorObserver; NOT PART OF BUILD 2000-07-14 19:12:30 +00:00
dbaron%fas.harvard.edu 902378af7e Clean up stack trace horribly mangled by some editor. Documentation changes only (not part of build). 2000-07-14 01:41:11 +00:00
mkaply%us.ibm.com 892de09884 #42637
r = mkaply, a = brendan
TINDERBOXBREAK - THIS FILE IS OS/2 ONLY
2000-07-13 15:39:52 +00:00
waterson%netscape.com 11fbbe38a5 Inline 'operator PRUnichar*()', 'operator char*()'; add inline 'get()' methods. r=brendan 2000-07-13 03:20:28 +00:00
dougt%netscape.com c555c3e7c1 Fixing bustage. 2000-07-12 23:59:33 +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
dbaron%fas.harvard.edu 085ff3a5cc Document recent changes to XPCOM memory tools. (Documentation. Not part of build.) 2000-07-12 03:21:45 +00:00
warren%netscape.com 5946c0c8bf Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren 2000-07-12 00:28:57 +00:00
ftang%netscape.com 478c04fe2f fix bug 21418. change the converter to UTF-8 and handle the \uxxxx and \r \n \t in the
lexical level (scanner) r=tao
2000-07-11 19:14:59 +00:00
brendan%mozilla.org 0d66d403b3 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 7982bac600 Fixed warning. 2000-07-11 09:46:51 +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
warren%netscape.com 2f3e104192 Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron 2000-07-11 07:29:05 +00:00
warren%netscape.com ca180c6d4d Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron 2000-07-11 07:28:14 +00:00
warren%netscape.com 4157de5421 Defensive programming for UnregisterObserver after Shutdown. r=dbaron 2000-07-11 06:56:06 +00:00
warren%netscape.com bcd997ce22 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron 2000-07-11 06:03:08 +00:00
dougt%netscape.com 7016b714ad First check in. NOT PART OF BUILD. 2000-07-11 00:10:34 +00:00
brendan%mozilla.org e419a66c7a First cut at reusable trace-malloc logfile reader, factored from bloatblame. 2000-07-09 08:53:46 +00:00
dbragg%netscape.com cfb6d3817e Fix for bug #42719. SetLeafName was not removing the old leaf name before appending a new one. r=sgehani 2000-07-07 21:54:08 +00:00
mkaply%us.ibm.com 4432abe4be #42637
r = mkaply, a = brendan
OS/2 bringup - We weren't returning a value from CallMethodFromVTable
2000-07-07 21:46:12 +00:00
jband%netscape.com dcac81acb0 Fix yet another instance of the qsort bug that was biting OS/2 only. See explanation in cvs log comment for revision 1.25 of xpt_link.c. Thanks to Javier Pedemonte <pedemont@us.ibm.com>. a=brendan@mozilla.org 2000-07-07 07:32:50 +00:00
dougt%netscape.com 7a11b65ba3 Debuggin code
a=waterson@netscape.com
2000-07-07 04:17:24 +00:00
dougt%netscape.com 4b58b28542 44665
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com
2000-07-06 20:56:24 +00:00
colin%theblakes.com 48f9742dca Remove VMS specific code; not needed any more. r,a=leaf 2000-07-06 20:11:38 +00:00
dougt%netscape.com 789492867e Mike Kaply <mkaply@us.ibm.com> pointed out a malloc(0) bug as well as a free(null).
a=brendan@mozilla.org
2000-07-06 00:22:17 +00:00
ruslan%netscape.com 6b7345ebd1 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful 2000-07-05 22:58:28 +00:00
mkaply%us.ibm.com 40b51de15a 42637
r=dougt, a=brendan
OS/2 bringup - DLL names need to be 8.3 on OS/2
2000-07-05 13:53:12 +00:00
mkaply%us.ibm.com a3c3e7afcb #42637
r=dougt, a=brendan
OS/2 bringup - change to locate DLL in components dir
2000-07-05 13:40:53 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
jband%netscape.com 1a7630d560 Fix dogfood/crash bugs: 42750, 39858 and fix 43897 and improve JS/XPConnect error reporting to help with crasher 40792. r=mccabe@netscape.com. 2000-06-30 04:04:46 +00:00
jband%netscape.com 54e7229415 updating status page - Not part of build 2000-06-29 22:17:54 +00:00
scc%mozilla.org 0b41ff950a fix self assignment, self append, self replace problems. r=waterson 2000-06-29 22:17:53 +00:00
mkaply%us.ibm.com 515dc5503f #42637
r = dougt, a = brendan
Rather than using cast and &operator to get spec, use the Spec member function
2000-06-28 21:56:49 +00:00
mkaply%us.ibm.com c051dc5537 #42637
r=mkaply, a=brendan
OS/2 bringup - rewrite of nsFileSpecOS2.cpp to be more like Windows
2000-06-28 14:50:12 +00:00
mkaply%us.ibm.com c7cc467aac #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2000-06-28 14:37:25 +00:00