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

4009 Коммитов

Автор SHA1 Сообщение Дата
scc%mozilla.org 6bd92ca334 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 1a8bb49b19 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
scc%mozilla.org 3645149acf fixing code that relied on implicit string construction 2000-08-20 07:18:09 +00:00
scc%mozilla.org a74bc9539d fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org c21575bfca 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 eb57d82d55 Native irix compilers don't seem to know about |typename| either 2000-08-19 08:01:28 +00:00
warren%netscape.com db80ca71a3 Correct error code. 2000-08-18 20:54:28 +00:00
rayw%netscape.com 780a67357a 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 b50736886e 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 13267f0631 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 d794133945 Rectify // comment to /** comment 2000-08-18 01:09:29 +00:00
scc%mozilla.org 8494e50ed1 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 e90938c56b 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 7375ebed5d 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 04c8a710e9 Fix build warning, trailing slash looks run-on comment to the egcs compiler. 2000-08-17 01:53:59 +00:00
jband%netscape.com 826c50d8e7 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 c5fefddeee 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 0947a62945 Attempt to fix Sun/HP/AIX bustage. r=cls 2000-08-17 00:15:50 +00:00
racham%netscape.com 0c4d1d1de5 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 dc873ec049 #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware
2000-08-16 14:27:18 +00:00
pete%alphanumerica.com 1b3694a9cd 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 da192f6947 Removed unused static. 2000-08-16 07:33:23 +00:00
dprice%netscape.com 70955cde50 replacing this file in the right spot. 2000-08-16 04:23:40 +00:00
jband%netscape.com a5f2a18401 initial checkin - NOT PART OF BUILD 2000-08-16 02:07:37 +00:00
warren%netscape.com 11801afbac 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 a57839669f moving APPEND comment. Wrong spot.
r=dougt

--pete
2000-08-15 13:14:51 +00:00
pete%alphanumerica.com bb68503c51 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 7d90bae996 add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org. 2000-08-14 23:09:39 +00:00
pete%alphanumerica.com 710f11700b 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 220f30d726 Pass the buffer length in bytes to nsCRT::memcmp. a=warren 2000-08-11 23:46:09 +00:00
scc%mozilla.org f66e036261 not part of the build; adding multi-fragment strings to the test suite 2000-08-11 20:54:25 +00:00
conrad%ingress.com 008b9ba5fb 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 fae711e2a5 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 ea12edc20a Jar manifest updates. 2000-08-11 09:05:40 +00:00
scc%mozilla.org 00dda8db96 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 1dc501bfae 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 d8d52c08c6 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 23bfcd1b52 More double-space lossage, whitespace change only. 2000-08-10 08:16:40 +00:00
warren%netscape.com bfefb0ab2a Fixed warnings. 2000-08-10 07:05:13 +00:00
scc%mozilla.org 6835c7e5c5 fixes needed to get multi-fragment strings working; r|a=waterson 2000-08-10 06:36:54 +00:00
warren%netscape.com 43fe8069d1 Fixed nscom.h -> nsCom.h 2000-08-10 06:35:34 +00:00
warren%netscape.com 4af572e4c1 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 ab1c8173ed Fixed double line feed problem. 2000-08-10 06:06:02 +00:00
valeski%netscape.com d50faae952 fixing windows hatred of goto inits 2000-08-10 05:23:05 +00:00
mcafee%netscape.com 4b0d364ea2 Adding nsDirectoryServiceDefs.h, fixing whitespace problems. This would have become linux bustage later. 2000-08-10 04:53:37 +00:00
conrad%ingress.com e9738e5a4e Changed strings to use macros Fixed FindWinFolder which was not doing anything. 2000-08-10 04:39:30 +00:00
conrad%ingress.com 315270d458 Added nsDirectoryServiceDefs.h 2000-08-10 04:37:43 +00:00
conrad%ingress.com 2af8351f9a Export of nsDirectoryServiceDefs.h r=valeski 2000-08-10 04:12:16 +00:00
conrad%ingress.com 4bd4881f90 First checkin. r=valeski 2000-08-10 04:03:52 +00:00
scc%mozilla.org 463b66fb92 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 a6c7b5728b Perl script to analyze xpcom log output and print results in html 2000-08-09 20:45:24 +00:00
scc%mozilla.org 4dc5e7fd53 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 5864a3093c fixed |nsCharSinkTraits<T>::write| as per bug #46462; r=beard, a=waterson 2000-08-09 08:26:12 +00:00
scc%mozilla.org 424571e52f 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 d5a9845d79 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 f3b71a95e8 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 77d093dffc not part of the build; further work on multi-fragment strings 2000-08-09 02:47:33 +00:00
brendan%mozilla.org e32f933de0 Add captioned timestamp events, for JS storyboarding (not part of build). 2000-08-09 02:41:58 +00:00
scc%mozilla.org 7be992ff1c not part of the build; initial work on multi-fragment strings 2000-08-08 00:14:35 +00:00
scc%mozilla.org 6a94f3765c not part of the build yet; initial work on multi-fragment strings 2000-08-08 00:14:14 +00:00
dougt%netscape.com abd29914f3 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 20c3b28392 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu 3faac42dec Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com 2000-08-06 16:23:04 +00:00
scc%mozilla.org 7d13e2dced also including "nsAWritableString.h" to satisfy speedracer 2000-08-05 08:32:18 +00:00
scc%mozilla.org feadd4a8f1 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 a66b235863 need |NS_COM| in the declarations too 2000-08-05 08:20:50 +00:00
scc%mozilla.org 7b3368b76f 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 0014f10f2b make sure the new functions are exported; still not in the build 2000-08-05 07:44:08 +00:00
scc%mozilla.org 1d5ffdc97b 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 10c05c2dda 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 dedc5a9c21 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 20c5889df8 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 28a66444bc 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 8d1cacc63f Set sane directory permissions on creation. Partial fix for 43091. r=dougt 2000-08-04 22:13:10 +00:00
cls%seawood.org adeb00b19f 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 1dcb8fce94 Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix. 2000-08-03 22:17:43 +00:00
mscott%netscape.com 8b744d551d 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 4c16df60b4 changed output location for xpt_link target 2000-08-02 22:12:10 +00:00
valeski%netscape.com 5739272593 raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
pete%alphanumerica.com 6914b0df4b 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:15 +00:00
danm%netscape.com d145eecb84 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 12e854904f r,a=brendan@mozilla.org 24052 2000-07-31 03:46:22 +00:00
dougt%netscape.com 8e0a0bd465 46044 fixes ABR. submitted by jband@netscape.com. 2000-07-29 08:13:39 +00:00
waterson%netscape.com 0fe4ffd286 Fix Win32 build bustage. 2000-07-29 03:13:41 +00:00
scc%mozilla.org 3d7ca9eb7d 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 4ae6833009 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 457813cb86 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 9fd93d8476 fix 46904. a=warren. Same change as on m17 branch 2000-07-29 01:52:59 +00:00
waterson%netscape.com a98c8cd0f8 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 dd3bf8c49f 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 88fd53cff1 get rid of "nsWorkString" 2000-07-28 22:45:58 +00:00
cls%seawood.org 847d576a56 Workaround for long-standing AIX bustage 2000-07-28 08:11:51 +00:00
cls%seawood.org f97564f1f9 The AIX compiler doesn't seem to know how to handle |typename| 2000-07-28 06:57:20 +00:00
warren%netscape.com 0cadfc216c Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK. 2000-07-28 06:48:32 +00:00
dmose%mozilla.org 1185ecd2ac 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 6744bb5d65 Final part of bug 40027. r,a=waterson@netscape.com 2000-07-27 06:12:49 +00:00
cls%seawood.org 684d85ec07 Bringing BeOS up to speed 2000-07-26 06:22:37 +00:00
brendan%mozilla.org b612891dd7 Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch]. 2000-07-26 02:19:27 +00:00
brendan%mozilla.org 4ad25355a3 - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees).  This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.

- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats.  This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).

- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts.  So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.

- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event.  Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).

- Right-align numbers in the first (trace-malloc stats) table.
2000-07-26 00:24:08 +00:00
bratell%lysator.liu.se c91ba0a681 Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson 2000-07-26 00:05:55 +00:00