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

4055 Коммитов

Автор SHA1 Сообщение Дата
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
brendan%mozilla.org ca37059e30 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 2eab0c4a26 Work around unsolved bug reported by rusty.lynch@intel.com. 2000-06-28 06:22:29 +00:00
dougt%netscape.com da981cc3bf 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 6f36e68677 Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson 2000-06-27 21:54:28 +00:00
mkaply%us.ibm.com 6ed25d5b08 #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 87f7739f82 Initializing var before use. simple fix. 2000-06-27 20:55:54 +00:00
mang%subcarrier.org ed9753da0a 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 b85f37fcb6 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 049a2966bf 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 ccf3a3a8ca 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 69db7ba963 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 69a9f4b960 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 a8e37d78ac #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 b329184329 adding helper source. Not part of built. 2000-06-24 02:01:29 +00:00
dougt%netscape.com ee20e4ebcb 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 8b638a4c67 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

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

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
valeski%netscape.com 76f7cba2d3 a=waterson. adding idl file, part of dougt's checkin. 2000-06-23 23:56:55 +00:00
dougt%netscape.com 62c84968cb Adding idl'ifed nsIProxyObjectManager interface file. 2000-06-23 23:34:11 +00:00
waterson%netscape.com cdb181472e 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 88467d2e9d 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 3abefb82f8 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 0cb0663247 Hoist loop invariant. 2000-06-21 18:03:34 +00:00
brendan%mozilla.org 543138903e Comment fixes. 2000-06-21 18:03:01 +00:00
brendan%mozilla.org 155c1ab6f3 Fix skip-one-frame-too-many backtrace lossage; update TODO. 2000-06-21 17:59:30 +00:00
mscott%netscape.com 0152413cae 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 e00741f6fd 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 6951acdde0 added blizzards tests for problems with |Substring| 2000-06-21 02:06:29 +00:00
scc%mozilla.org e777b2b3db 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 f74e55bdcb #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 aafe798439 Turn on wchar_t 2000-06-21 01:31:09 +00:00
vidur%netscape.com 2017802f4c 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 b07756f915 # 42637
r = valeski, a = brendan
OS/2 bring-up  - PR_CALLBACK for VisualAge
2000-06-21 00:07:57 +00:00
beard%netscape.com 1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com a129b14b91 #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 aec080d457 #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 ab95b94e76 #42637
r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup
2000-06-20 13:21:22 +00:00
scc%mozilla.org 6bedf5618d 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 8d5e657bcf removed "nsWorkString.h" as discussed with waterson 2000-06-20 04:33:52 +00:00
scc%mozilla.org 1f29f46c00 removed nsWork[C]String, as discussed with waterson 2000-06-20 04:31:42 +00:00
scc%mozilla.org a7afde0889 added tests for self-assignment, self-insertion, self-appending, and self-replacement 2000-06-20 04:31:00 +00:00
scc%mozilla.org 76bacb9cc2 fix for bug #43085. r=waterson, a=waterson 2000-06-20 04:25:20 +00:00
dmose%mozilla.org 3150a332d2 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 1327cdd365 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 3446bda5c3 fixing OS/2 VisualAge platform bustage, and bad dates in licenses 2000-06-18 05:00:31 +00:00
waterson%netscape.com 78239d38c2 Bug 42836. Handle null string in NS_ConvertUCS2toUTF8::Init(). 2000-06-17 01:24:39 +00:00
scc%mozilla.org 9461eb8980 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 7f540ada8a r=dougt,brendan a=dougt
not part of the build.

--pete
2000-06-15 13:16:49 +00:00
waterson%netscape.com ad2e0b0dbf Fix UMRs. 2000-06-15 06:42:27 +00:00
dbaron%fas.harvard.edu e3d2d8d1d7 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 1186c942a6 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 5695245ccb Count various classes in leak/bloat logs. r=waterson@netscape.com 2000-06-15 02:18:32 +00:00
waterson%netscape.com 535ca166a8 Fix leak I made. r=warren 2000-06-14 07:27:08 +00:00
cls%seawood.org 0857b21496 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 f0b350e647 Adding |nsWork[C]String| classes 2000-06-14 05:47:30 +00:00
scc%mozilla.org 22deb21d5b adding |nsWork[C]String| classes 2000-06-14 05:41:05 +00:00
brendan%mozilla.org 190a0bea06 Fiddle whitespace style. 2000-06-14 04:46:22 +00:00
scc%mozilla.org 9e02d75620 Adding a new string class for to help fix performance problems. 2000-06-14 04:10:00 +00:00
waterson%netscape.com 245e0a93a7 Bug 42360. Fix SUNWspro5.0 bustage. r=tor 2000-06-14 03:27:46 +00:00
scc%mozilla.org 5b2a4891ec 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 dc2e138a70 # 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 8195675560 Fix for blocker bug 42371 - unable to startup on Linux. r=akkana. 2000-06-13 20:26:30 +00:00
heikki%citec.fi 41bb442a68 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 984630e965 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 8c319ed8a3 Add test for Iterator. 2000-06-13 08:02:30 +00:00
waterson%netscape.com 9ec97d977f 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 20ffe2d5af Fix gcc-2.7.2.3 bustage. 2000-06-13 06:32:09 +00:00
waterson%netscape.com a58f2193b9 Sweet jesus. 2000-06-13 05:27:45 +00:00
waterson%netscape.com d151fb1b00 How'd that get in there? 2000-06-13 05:26:00 +00:00
waterson%netscape.com 72a69ec169 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 69e59a8c3d Add TestVoidBTree to the build. 2000-06-13 04:57:14 +00:00
waterson%netscape.com a0a8fef7ae Add nsVoidBTree and nsStatistics to the build. 2000-06-13 04:56:38 +00:00
waterson%netscape.com 337e3d6749 Add nsStatistics.cpp and nsVoidBTree.cpp to the build. 2000-06-13 04:55:22 +00:00
waterson%netscape.com 05d7001f23 Add nsVoidBTree.cpp and nsStatistics.cpp to the build 2000-06-13 04:54:23 +00:00
waterson%netscape.com ffb543ba22 Add nsVoidBTree.h and nsStatistics.h 2000-06-13 04:53:54 +00:00
waterson%netscape.com 87de79e12e Clean up egcs warnings. 2000-06-13 04:52:33 +00:00
waterson%netscape.com 15a4ceeba5 First checked in. Not yet in the build. 2000-06-13 04:30:45 +00:00
scc%mozilla.org 4dad2b6962 make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well. 2000-06-13 00:05:18 +00:00
pavlov%netscape.com 8f14b415d6 reverting previous checkin to fix workshop5 bustage as it has been fixed elsewhere 2000-06-12 05:34:27 +00:00
scc%mozilla.org 2a994e534b 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 bc987dce5d ...and set the define for the test case 2000-06-12 02:50:27 +00:00
scc%mozilla.org 1d272d98b9 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 29d26770c9 fixed tabs and spacing 2000-06-11 01:22:58 +00:00
scc%mozilla.org 7619583dad updated to reflect work done 2000-06-11 01:11:13 +00:00
scc%mozilla.org 008e0b3e60 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 e18d48139d convert to the new scheme for handling wide string literals: |NS_LITERAL_STRING|. 2000-06-11 01:09:54 +00:00
scc%mozilla.org 3a7bb8ec08 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 25896e8f49 First checked in. 2000-06-11 01:07:41 +00:00
scc%mozilla.org 84e47f2424 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 7f51a498b1 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 85aa1f07df 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 3adf5c9604 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
scc%mozilla.org c5867168d6 define |PRUnichar| to be |wchar_t|, when applicable 2000-06-11 00:49:29 +00:00
scc%mozilla.org e780126346 moved |explicit| here, where it belongs, from "nsCOMPtr.h" 2000-06-10 09:58:15 +00:00
scc%mozilla.org 5108fd1bbe further logging fixes; removed |explicit| to "nscore.h"; removed old-style logging definitions for |NSCAP_ADDREF| and |NSCAP_RELEASE|, define them externally if you want them (the new comment says how); fixed some comments... I'll be moving to doc-style comments soon to better support doxygen 2000-06-10 09:58:13 +00:00