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

4156 Коммитов

Автор SHA1 Сообщение Дата
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
sgehani%netscape.com 5372f9f713 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 ea8075327d Lets show some objdir sensitivity. 2000-07-25 11:03:25 +00:00
warren%netscape.com 88e6c9b31f Fixed linux makefile for xpcom.properties 2000-07-25 05:54:38 +00:00
warren%netscape.com 3d627d5543 Added xpcom.properties to linux make. 2000-07-25 05:51:34 +00:00
warren%netscape.com 7ac7233df8 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
conrad%ingress.com 5861aac092 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 e1db113dac fix uninitialized variable 2000-07-22 22:50:35 +00:00
mkaply%us.ibm.com bdf3d42400 OS/2 Tinderbox breakage
Attempt 2 to fix this - just cast the functions
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com 3cd1429629 OS/2 Tinderbox breakage
Attempt 1 to fix this - add PR_CALLBACK for VisualAge
2000-07-22 14:13:00 +00:00
warren%netscape.com 6db4bc1911 Registering nsIErrorService 2000-07-22 05:48:04 +00:00
warren%netscape.com f932a2bc44 Added nsIErrorService to build. 2000-07-22 05:46:39 +00:00
warren%netscape.com f8798aa396 Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages. 2000-07-22 05:38:43 +00:00
dougt%netscape.com 0583d7d8e7 r,a=brendan@mozilla.org 24052 2000-07-21 22:16:18 +00:00
brendan%mozilla.org 0dcd470d51 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build). 2000-07-21 20:42:15 +00:00
mkaply%us.ibm.com e811719993 #45973
r=dougt, a=brendan
OS/2 specific changes for nsAppFileLocationProvider.cpp
2000-07-20 18:55:28 +00:00
mkaply%us.ibm.com 869e91a492 #45690
r=mkaply, a=brendan
Sync up nsLocalFileOS2.cpp with Windows changes
2000-07-20 14:54:24 +00:00
conrad%ingress.com 8db216ddd8 Not part of build! Added some <includes> needed on Mac 2000-07-19 21:47:08 +00:00
dougt%netscape.com 84a45a461c Adding UNIX makefiles.
making compile on unix

(NOT PART OF BUILD)
2000-07-19 21:20:35 +00:00
dougt%netscape.com 61b0bcc37e 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 58a834ad61 Bug 40748 - officially kill the SUNWspro4.2 build. r=cls, a=waterson 2000-07-19 19:53:01 +00:00
warren%netscape.com 86e087b9b1 Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits. 2000-07-19 09:32:35 +00:00
jband%netscape.com d64b148f22 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 4ab731af32 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 3d2bf1e428 Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. r = dougt 2000-07-17 15:01:10 +00:00
conrad%ingress.com 0f5751c7cf Added Get/SetPersistentDescriptor method. Use this instead of GetPath/InitWithPath. 2000-07-17 14:57:14 +00:00
conrad%ingress.com ff4d19f40e First checkin - Not yet part of build. 2000-07-16 14:20:33 +00:00
idk%eng.sun.com 3770d84000 ** not part of tbox build **
Renamed makefiles.
2000-07-15 01:37:28 +00:00
jfrancis%netscape.com 9191a143f2 reserving iid for nsIEditorObserver; NOT PART OF BUILD 2000-07-14 19:12:30 +00:00
dbaron%fas.harvard.edu 5614584c90 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 37f23ee639 #42637
r = mkaply, a = brendan
TINDERBOXBREAK - THIS FILE IS OS/2 ONLY
2000-07-13 15:39:52 +00:00
waterson%netscape.com 4330728237 Inline 'operator PRUnichar*()', 'operator char*()'; add inline 'get()' methods. r=brendan 2000-07-13 03:20:28 +00:00
dougt%netscape.com 2acfb4c6b2 Fixing bustage. 2000-07-12 23:59:33 +00:00
dougt%netscape.com c422448137 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 9bf0881977 Document recent changes to XPCOM memory tools. (Documentation. Not part of build.) 2000-07-12 03:21:45 +00:00
warren%netscape.com 1f64d48219 Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren 2000-07-12 00:28:57 +00:00
ftang%netscape.com 2e10a3e3cb 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 ebfa0c8b8f Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC). 2000-07-11 19:10:52 +00:00
warren%netscape.com 1819297fa4 Fixed warning. 2000-07-11 09:46:51 +00:00
warren%netscape.com 3939724fe5 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 3b5ee23e1c Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron 2000-07-11 07:29:05 +00:00
warren%netscape.com 3aea701549 Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron 2000-07-11 07:28:14 +00:00
warren%netscape.com 1426b26768 Defensive programming for UnregisterObserver after Shutdown. r=dbaron 2000-07-11 06:56:06 +00:00
warren%netscape.com ee4a37e955 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron 2000-07-11 06:03:08 +00:00
dougt%netscape.com 5f42022cfb First check in. NOT PART OF BUILD. 2000-07-11 00:10:34 +00:00
brendan%mozilla.org c8c2095917 First cut at reusable trace-malloc logfile reader, factored from bloatblame. 2000-07-09 08:53:46 +00:00
dbragg%netscape.com c53e74368e 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 4bd13d9a42 #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 a85b5aa646 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 4004bfcfc8 Debuggin code
a=waterson@netscape.com
2000-07-07 04:17:24 +00:00
dougt%netscape.com 899f63cac3 44665
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com
2000-07-06 20:56:24 +00:00
colin%theblakes.com 9a224f73ea Remove VMS specific code; not needed any more. r,a=leaf 2000-07-06 20:11:38 +00:00
dougt%netscape.com 454444a95f 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 e8005c2d01 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful 2000-07-05 22:58:28 +00:00
mkaply%us.ibm.com a906ea7cd5 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 ea7236e0cf #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 e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
jband%netscape.com 9ec0b005fc 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 f419b1bb9c updating status page - Not part of build 2000-06-29 22:17:54 +00:00
scc%mozilla.org c21f2f4c5e fix self assignment, self append, self replace problems. r=waterson 2000-06-29 22:17:53 +00:00
mkaply%us.ibm.com 260ad8a205 #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 9f611c7d16 #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 65f2087219 #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2000-06-28 14:37:25 +00:00
brendan%mozilla.org 840af768bc Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support. 2000-06-28 06:42:29 +00:00
brendan%mozilla.org 9096d0d767 Work around unsolved bug reported by rusty.lynch@intel.com. 2000-06-28 06:22:29 +00:00
dougt%netscape.com d7414a0c0d Forgot to check these changes is which were submitted by roc+moz@cs.cmu.edu
and approved by brendan.  See bug 43314.
2000-06-28 06:14:09 +00:00
dbaron%fas.harvard.edu 7a287718cd Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson 2000-06-27 21:54:28 +00:00
mkaply%us.ibm.com d5fc9b2942 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories
2000-06-27 21:23:51 +00:00
dougt%netscape.com 10d25c54b3 Initializing var before use. simple fix. 2000-06-27 20:55:54 +00:00
mang%subcarrier.org 3a0930b838 progid no longer defined in nsISample.idl
Part of previous fix to bug 10904
2000-06-27 06:35:17 +00:00
cls%seawood.org 5d60a61ea2 Given the statement "a == b ? c : d;" , the WorkShop 5.0 compiler expects c & d to be of the same type. 2000-06-27 06:10:21 +00:00
rich.burridge%sun.com 7a1ed30f9b Fix to prevent build bustage on nebiros with Sun compilers.
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769.
2000-06-27 05:58:00 +00:00
mang%subcarrier.org 7eb2df8b18 partial fix for bug 10904 - sample now works in M15
- moves CID/ProgID into header file
- adds more calls to enablePrivilege
- renames "write" callback to something that works as intended

a=brendan@mozilla.org
r=scc@netscape.com
2000-06-27 05:54:46 +00:00
dougt%netscape.com 6c0973984f Bug 43314.
r=Henry Sobotka <sobotka@axess.com>
a=brendan@mozilla.org
s=Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-27 03:35:32 +00:00
rich.burridge%sun.com 705dc8cd51 Fix to allow refcnt'ing on the Solaris platform.
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
2000-06-26 22:23:47 +00:00
mkaply%us.ibm.com f273e5133c #42637
r=mkaply, a=brendan
OS/2 bring up - Set mresolvepath - OS/2 only
2000-06-26 14:50:20 +00:00
dougt%netscape.com d836bccf01 adding helper source. Not part of built. 2000-06-24 02:01:29 +00:00
dougt%netscape.com 891877778e nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-24 01:50:53 +00:00
dougt%netscape.com e1274cde0a I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
valeski%netscape.com 61e8ac3705 a=waterson. adding idl file, part of dougt's checkin. 2000-06-23 23:56:55 +00:00
dougt%netscape.com 70367cbd56 Adding idl'ifed nsIProxyObjectManager interface file. 2000-06-23 23:34:11 +00:00
waterson%netscape.com f9fee148e8 Bug 21650. Add an assertion if the service manager is improperly re-entered. r=dbaron,warren 2000-06-23 02:02:48 +00:00
jst%netscape.com 9af6ca0ecd Fixing linux build bustage introduced by rich.burridge@sun.com. r=andreas.otte@primus-online.de 2000-06-22 12:29:14 +00:00
rich.burridge%sun.com 16acac4ed3 Fix to allow Mozilla to build/run on the Solaris Intel platform with
Sun native compilers (SC 5.0 and Workshop 6 aka Forte). The two
xptc...uniish_x86.cpp files are forced to be compiled optimised to
generate the correct assembly code.
r=mccabe@netscape.com a=brendan@mozilla.org
2000-06-22 10:58:06 +00:00
brendan%mozilla.org 00173e1de5 Hoist loop invariant. 2000-06-21 18:03:34 +00:00
brendan%mozilla.org f84f1f8708 Comment fixes. 2000-06-21 18:03:01 +00:00
brendan%mozilla.org deab511971 Fix skip-one-frame-too-many backtrace lossage; update TODO. 2000-06-21 17:59:30 +00:00
mscott%netscape.com a778fbd165 Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott
2000-06-21 06:32:45 +00:00
scc%mozilla.org a2e2352e1e fix for commercial bustage on Mac (adding |operator const CharT*() const| to |basic_nsLiteralString|). fix for blizzards linux changes needing working |Substring|. r=beard,syd 2000-06-21 05:13:10 +00:00
scc%mozilla.org 4538064bbe added blizzards tests for problems with |Substring| 2000-06-21 02:06:29 +00:00
scc%mozilla.org c73c85cd8c had to add a bunch of libraries to get the debug target to build 2000-06-21 02:05:54 +00:00
mkaply%us.ibm.com f6a13621c9 #42637
r=mkaply, a=brendan
OS/2 bring up - Need io.h for GCC build
2000-06-21 01:35:21 +00:00
amusil%netscape.com 5131a0f5c2 Turn on wchar_t 2000-06-21 01:31:09 +00:00
vidur%netscape.com d22aa70d25 Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda 2000-06-21 00:42:59 +00:00
mkaply%us.ibm.com e843c13148 # 42637
r = valeski, a = brendan
OS/2 bring-up  - PR_CALLBACK for VisualAge
2000-06-21 00:07:57 +00:00
beard%netscape.com 5cca8adbe7 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com 2657651195 #42637
r=mkaply, a=brendan
OS/2 bring up - rewrite some nsLocalFileOS2 stuff to be more like Windows
2000-06-20 14:06:00 +00:00
mkaply%us.ibm.com afa273e248 #42637
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier
2000-06-20 13:59:17 +00:00
mkaply%us.ibm.com 7b18e753a4 #42637
r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup
2000-06-20 13:21:22 +00:00
scc%mozilla.org cc12d72f45 removing nsWork[C]String. It's already been removed from the Mac manifest, the windows and unix makefiles, and the string factoring test project. The header is not included anywhere else. After discussion with waterson, decided this class is not what or where we want it 2000-06-20 04:36:25 +00:00
scc%mozilla.org 4a1b30b0e2 removed "nsWorkString.h" as discussed with waterson 2000-06-20 04:33:52 +00:00
scc%mozilla.org f027fd15f1 removed nsWork[C]String, as discussed with waterson 2000-06-20 04:31:42 +00:00
scc%mozilla.org 0f66a676dc added tests for self-assignment, self-insertion, self-appending, and self-replacement 2000-06-20 04:31:00 +00:00
scc%mozilla.org 58b0747a46 fix for bug #43085. r=waterson, a=waterson 2000-06-20 04:25:20 +00:00
dmose%mozilla.org 0e491899a1 adding an LDAP module to the NS_ERROR global define space. a=r=waterson@mozilla.org 2000-06-20 03:33:26 +00:00
cls%seawood.org dc64e916d3 nscore.h is included by .c files so c++ comments have to go. Fix for WS5.0 bustage. 2000-06-18 21:27:27 +00:00
scc%mozilla.org 0aca2ee58f fixing OS/2 VisualAge platform bustage, and bad dates in licenses 2000-06-18 05:00:31 +00:00
waterson%netscape.com 20aa0cb8cb Bug 42836. Handle null string in NS_ConvertUCS2toUTF8::Init(). 2000-06-17 01:24:39 +00:00
scc%mozilla.org 154339463e undo the change of the 10th. The code is still in, conditioned on |NS_DONT_USE_CHUNKY_STRING_ALLOCATION|. The performance hit was unacceptable, and checking the original change in on the tip was a mistake. r=rpotts; a=leaf, phil 2000-06-15 22:13:19 +00:00
pete%alphanumerica.com 413cf4c3f4 r=dougt,brendan a=dougt
not part of the build.

--pete
2000-06-15 13:16:49 +00:00
waterson%netscape.com a97ae58687 Fix UMRs. 2000-06-15 06:42:27 +00:00
dbaron%fas.harvard.edu ccb545953e Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com 2000-06-15 02:23:55 +00:00
dbaron%fas.harvard.edu 2542937940 Change MOZ_DECL_CTOR_COUNTERs that I added to use ;, as all others do. r=waterson@netscape.com 2000-06-15 02:20:30 +00:00
dbaron%fas.harvard.edu ce0a7feae1 Count various classes in leak/bloat logs. r=waterson@netscape.com 2000-06-15 02:18:32 +00:00
waterson%netscape.com e608b04776 Fix leak I made. r=warren 2000-06-14 07:27:08 +00:00
cls%seawood.org 8deeb466c1 The WS5.0 problem cropped up again so I'm reapplying pavlov's previous fix. 2000-06-14 06:28:13 +00:00
scc%mozilla.org 9eac94d3fb Adding |nsWork[C]String| classes 2000-06-14 05:47:30 +00:00
scc%mozilla.org 0046864d2b adding |nsWork[C]String| classes 2000-06-14 05:41:05 +00:00
brendan%mozilla.org c23c45c768 Fiddle whitespace style. 2000-06-14 04:46:22 +00:00
scc%mozilla.org cc0aa5c6d7 Adding a new string class for to help fix performance problems. 2000-06-14 04:10:00 +00:00
waterson%netscape.com 8c03caa216 Bug 42360. Fix SUNWspro5.0 bustage. r=tor 2000-06-14 03:27:46 +00:00
scc%mozilla.org 1d6c6fadc5 Temporarily (till Thursday) commented out the definition that made |PRUnichar*| incompatible with |OLECHAR*| as a favor to the AIM team, so they can decide whether to cast in their code, or alter their headers. They know what to do in either case, and have agreed that this definnition can be re-activated on Thursday. r=vishy 2000-06-14 02:54:40 +00:00
mkaply%us.ibm.com b3e435e1de # 37239
r = valeski, a = brendan
OS/2 bring-up - Yes I know this is ugly.
We are getting a linker error on this delete.
We want to get our builds up by any means necessary,
so I need to comment this out for us for now.
2000-06-14 00:26:52 +00:00
bryner%uiuc.edu f3584cb69d Fix for blocker bug 42371 - unable to startup on Linux. r=akkana. 2000-06-13 20:26:30 +00:00
heikki%citec.fi 805cc13312 Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it. 2000-06-13 08:36:06 +00:00
waterson%netscape.com 287eb64abe Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty. 2000-06-13 08:33:19 +00:00
waterson%netscape.com 99378b6076 Add test for Iterator. 2000-06-13 08:02:30 +00:00
waterson%netscape.com e29c915886 Fix else-after-break and other stylistic atrocities; add default and copy ctors for Iterator; add operator=() for Iterator. 2000-06-13 08:02:08 +00:00
waterson%netscape.com 1a90d1fa84 Fix gcc-2.7.2.3 bustage. 2000-06-13 06:32:09 +00:00
waterson%netscape.com f3abbd6780 Sweet jesus. 2000-06-13 05:27:45 +00:00
waterson%netscape.com ed47b9358c How'd that get in there? 2000-06-13 05:26:00 +00:00
waterson%netscape.com 3964ecab91 Reduce index and data node size to eight words; pack bits harder so overhead per node is one word; add Iterator and make singleton iterator be simpler. 2000-06-13 05:16:02 +00:00
waterson%netscape.com c8c5ae145c Add TestVoidBTree to the build. 2000-06-13 04:57:14 +00:00
waterson%netscape.com 43246b762f Add nsVoidBTree and nsStatistics to the build. 2000-06-13 04:56:38 +00:00
waterson%netscape.com 289d1365cc Add nsStatistics.cpp and nsVoidBTree.cpp to the build. 2000-06-13 04:55:22 +00:00
waterson%netscape.com b004a9e7ec Add nsVoidBTree.cpp and nsStatistics.cpp to the build 2000-06-13 04:54:23 +00:00
waterson%netscape.com 4a1a4ccd33 Add nsVoidBTree.h and nsStatistics.h 2000-06-13 04:53:54 +00:00
waterson%netscape.com 21a95d8d93 Clean up egcs warnings. 2000-06-13 04:52:33 +00:00
waterson%netscape.com 465e5f19be First checked in. Not yet in the build. 2000-06-13 04:30:45 +00:00
scc%mozilla.org f96d29bcff make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well. 2000-06-13 00:05:18 +00:00
pavlov%netscape.com 139d01474d reverting previous checkin to fix workshop5 bustage as it has been fixed elsewhere 2000-06-12 05:34:27 +00:00
scc%mozilla.org f9832905c7 reduce bloat by not chunk-allocating strings (in |nsStr::Alloc|). Clients that don't benefit from this can explicitly call |SetCapacity|. We may re-introduce this functionality in the append of a single character when no space remains, if it turns out to be a problem. This optimization was suggested by profiling done by sfraser, who now promises to find out where it hurts us. 2000-06-12 02:54:22 +00:00
scc%mozilla.org 0dd133eef6 ...and set the define for the test case 2000-06-12 02:50:27 +00:00
scc%mozilla.org c7ed57b159 added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms 2000-06-11 04:35:02 +00:00
scc%mozilla.org 1d482b725a fixed tabs and spacing 2000-06-11 01:22:58 +00:00
scc%mozilla.org 6ac6a0494a updated to reflect work done 2000-06-11 01:11:13 +00:00
scc%mozilla.org 8c3521ba58 Added new targets to compare between the |wchar_t| version and the no |wchar_t| version 2000-06-11 01:10:49 +00:00
scc%mozilla.org 2c3b6e2814 convert to the new scheme for handling wide string literals: |NS_LITERAL_STRING|. 2000-06-11 01:09:54 +00:00
scc%mozilla.org 57004e2d83 now that NEW_STRING_APIS is turned on in the actual string headers, I needed to move some defs around. Also setting a new define for HAVE_CPP_2BYTE_WCHAR_T 2000-06-11 01:09:00 +00:00
scc%mozilla.org 7b3025a965 First checked in. 2000-06-11 01:07:41 +00:00
scc%mozilla.org 9029ea592f added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms; added a conversion operator (against my best judgement) to |NS_ConvertASCIItoUCS2| to support the construction of literal strings induced by the bad case of the new macro. I could conditionally define this is the opposite direction. 2000-06-11 01:06:14 +00:00
scc%mozilla.org 5498a8acae added some #ifdef logic to allow me to NEW_STRING_APIS off, so I can continue to profile for bloat 2000-06-11 01:03:19 +00:00
scc%mozilla.org f3555fc0ef In an assignment, |SetLength(0); SetLength(newLength);| so that the implementation won't bother to copy any old characters if allocation is required. Fiddled with inlining to reduce bloat ... more experiments needed. 2000-06-11 01:02:12 +00:00
scc%mozilla.org 2f8ac64d97 provide real definitions for |NS_LITERAL_STRING| (one of which exploits |wchar_t|); add a range-check assertion to |CharAt|; add another constructor to |nsPromiseConcatenation| to allow per-class |operator+()| (which some compilers need to resolve ambiguity) to work; fiddled with inlining to reduce bloat ... more experiments needed 2000-06-11 01:00:08 +00:00