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

3817 Коммитов

Автор SHA1 Сообщение Дата
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
waterson%netscape.com 9b0d829309 Add SizeOf() which is going to be needed for 'plug replacement' of nsVoidArray's 2000-06-10 07:31:09 +00:00
waterson%netscape.com b592bfb398 Clean up to compile on egcs. 2000-06-10 06:05:09 +00:00
waterson%netscape.com a339f479a5 First checked in, not part of the build. 2000-06-10 05:55:37 +00:00
waterson%netscape.com a2bb9ecb12 First checked in. Not part of the build. 2000-06-10 05:55:07 +00:00
ruslan%netscape.com cf1d7874af Partial fix for 41248. Check for the buffer being null and assert, but don't
crash, a=gagan
2000-06-10 02:11:04 +00:00
ssu%netscape.com 4461693aaa Fixing bug #31259 (nsbeta2+) - Install.modDate() and Install.modDateChanged() now shows the correct values. This *might* also happen to fix the following bugs: #42070 - Mac files get installed with the wrong date #38553 - nsIFile - Reducing modification dates significant digits #36681 - document.lastModified date is incorrect for a local file This only affects the Mac platforms. Pre-Checkin Tests: passed r=sgehani 2000-06-10 00:51:06 +00:00
pavlov%netscape.com 6bedd93335 include nscore.h 2000-06-10 00:50:48 +00:00
pavlov%netscape.com bf37f68ee0 fix ws5 build bustage 2000-06-10 00:31:40 +00:00
warren%netscape.com ecc2d9c51c Bug 27971. Better strategy for resource: urls to use less memory. Saves about 0.4% of entire run just bring up one page (home.mozilla.org). r=waterson 2000-06-09 07:51:13 +00:00
alecf%netscape.com a0b04734b4 fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs
r=waterson, scc a=waterson
2000-06-08 23:34:53 +00:00
waterson%netscape.com 5e705488cb Fix bonehead error warren found: don't re-initialize utf8len; we'll need it to set the string's length! 2000-06-08 23:07:15 +00:00
mkaply%us.ibm.com ed15a3c3c0 # 37239
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm
2000-06-08 14:18:07 +00:00
scc%mozilla.org fbdb41c4de further fix for the defined case. r=dbaron 2000-06-08 05:08:14 +00:00
scc%mozilla.org 372c751346 Improved logging facilities on |nsCOMPtr| in cooperation with dbaron, for his new logging tools. r=dbaron 2000-06-08 04:52:39 +00:00
ssu%netscape.com 406d3196ea fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac. precheckin tests=passed r=sgehani 2000-06-08 00:31:06 +00:00
brendan%mozilla.org d6b3206fde Sacred 80th column preservation, brendan-style case indentation (not part of default build). 2000-06-07 19:14:10 +00:00
inaky.gonzalez%intel.com 98157fd5a1 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
nhotta%netscape.com 3fc67a80b0 Added PRUnichar version of escape function, bug 34373, r=rhp, a=bobj. 2000-06-05 22:01:32 +00:00
pavlov%netscape.com 6d72d15bf9 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac 2000-06-05 21:53:25 +00:00
slamm%netscape.com ed7b6044f0 Ignore generated Makefile. 2000-06-05 21:40:07 +00:00
slamm%netscape.com cb0d1c2aa3 Ignore test executable. 2000-06-05 21:26:07 +00:00
mkaply%us.ibm.com ce4bf6fcaa # 37239
r = valeski, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:18:07 +00:00
waterson%netscape.com 94bd261c1c Canonify HAVE_CPP_ACCESS_CHANGING_USING and HAVE_CPP_AMBIGUITY_RESOLVING_USING. 2000-06-05 00:46:37 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com f8837c9c32 added files: mozilla/xpcom/base/nsMemoryImpl.cpp 2000-06-03 08:32:22 +00:00
warren%netscape.com f2ad17acdc Fixed file name. 2000-06-03 07:30:36 +00:00
warren%netscape.com 01715467ad Fixed file name. 2000-06-03 07:30:13 +00:00
warren%netscape.com b7cb857248 Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze. 2000-06-03 07:12:22 +00:00
warren%netscape.com e51fc772c6 added files: mozilla/xpcom/base/nsIMemory.idl 2000-06-03 07:06:04 +00:00
warren%netscape.com 03ec40bf4b Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze. 2000-06-03 07:02:20 +00:00
scc%mozilla.org 752a6ca4ce Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. These are stragglers missed in an earlier checkin. 2000-06-03 00:38:06 +00:00
scc%mozilla.org a59a36aebd VisualAge doesn't like declarations in if/for expressions. r=waterson 2000-06-02 22:35:01 +00:00
mkaply%us.ibm.com 2639f7608b # 37239
r = mkaply, a = brendan
OS/2 bringup - need a cast for OS/2 - OS/2 only
2000-06-02 20:15:33 +00:00
waterson%netscape.com 4f43183103 Bugs 41279, 41280, 41290. Implement NS_ConvertUTF8toUCS2, r=ftang. Fix NS_ConvertUCS2toUTF8 to set mLength, r=ftang. Re-implement ToNew[*]String to be less bloaty, r=scc,brendan 2000-06-02 20:06:54 +00:00
rusty.lynch%intel.com f592edc947 Fix for bug #40997. a=warren 2000-06-02 15:50:36 +00:00
mkaply%us.ibm.com adc8efc3b2 # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - Mispelling in BIN_SUFFIX and adding LIB_SUFFIX
2000-06-01 14:20:14 +00:00
mkaply%us.ibm.com 367a3f2df3 # 37239
r = valeski, a = brendan
OS/2 bringup on M16 continues - PR_CALLBACKs for VisualAge
2000-06-01 14:12:05 +00:00
scc%mozilla.org c54f63178e Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. r=waterson 2000-06-01 06:01:18 +00:00