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

3884 Коммитов

Автор SHA1 Сообщение Дата
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
waterson%netscape.com 259d4d122b Make more portable. 2000-06-01 03:23:19 +00:00
waterson%netscape.com 9a0a7705c3 Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan 2000-06-01 02:09:25 +00:00
waterson%netscape.com 55c1064115 Ignore bloatblame. 2000-06-01 02:08:34 +00:00
brendan%mozilla.org 892e212b18 Push monitor down to avoid overhead when suppressing tracing (r=waterson). 2000-06-01 01:53:52 +00:00
warren%netscape.com c1de4be154 Fixed leak. 2000-05-31 04:34:54 +00:00
pavlov%netscape.com 9854479716 fix for nsbeta2+ bug 35921 (event notification outlives its event) r=danm,bryner,blizzard 2000-05-31 02:19:17 +00:00
waterson%netscape.com 0736651092 Bug 39424. Fix Sun Workshop compiler bustage by conditioning NS_READABLE_CAST's funkiness on NEED_CPP_TEMPLATE_CAST_TO_BASE. r=scc 2000-05-27 05:51:56 +00:00
waterson%netscape.com c82987ae0a Back out changes that I didn't mean to check in. 2000-05-27 00:17:36 +00:00
waterson%netscape.com d8892ddb25 Fix boneheaded mistake: I left the return type of NS_ConvertUCS2toUTF8::Init(). 2000-05-27 00:17:10 +00:00
waterson%netscape.com b8f8ba79a7 Bug 40461. Implement NS_ConvertUCS2toUTF8, r=scc,brendan 2000-05-26 22:24:34 +00:00
ruslan%netscape.com c390934b49 Make string properties implement threadsafe_isupports 2000-05-26 20:59:04 +00:00
shaver%mozilla.org ee8d2a82fe remove useless nsIModule paste (#22922), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE (#39875), r=dp,waterson a=brendan 2000-05-26 04:56:23 +00:00
dp%netscape.com 4a1eb43ec4 Updated code faq on xpcom-log and xpcom-log-analyze 2000-05-26 02:09:31 +00:00
dp%netscape.com 41a3177737 More caveats. 2000-05-26 01:22:01 +00:00
dp%netscape.com b50d91a6bd using $logfile consistently. 2000-05-26 01:21:25 +00:00
mkaply%us.ibm.com 94965403ad # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
mkaply%us.ibm.com c599e744f3 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only
2000-05-25 14:23:27 +00:00
mccabe%netscape.com 05fabaf02e Not used by Mozilla!
(also fixes a warning)

Change to use non-deprecated js getter/setter syntax.
2000-05-24 07:20:11 +00:00
mkaply%us.ibm.com 677613d5be # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only!
2000-05-22 19:38:22 +00:00
mccabe%netscape.com 271ab4124c Fixes to the xpcom sample. This code does not go into the Mozilla product.
- Update progid mentioned in the .html file to that actually used in the code.

- Remove outdated nsSampleFactory.cpp so nobody gets confused, but add note to nsSampleModule.cpp in its memory, as it had extensive comments.
2000-05-21 08:33:31 +00:00
dougt%netscape.com 5f08efa2cf fixing confusing comment. 38553 2000-05-21 05:42:57 +00:00
scc%mozilla.org 00443cdd51 Bug #39963. The NS_LITERAL_[C]STRING macros incorrectly counted the null terminator for a literal string in the length. This may not be the complete solution. r=sdagley 2000-05-21 01:45:19 +00:00
scc%mozilla.org 52c5791a3e fixed non-standard include-guard. This file is not currently part of the build 2000-05-20 20:48:12 +00:00
scc%mozilla.org 80e3b6a3ae Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag} 2000-05-20 20:43:26 +00:00
scc%mozilla.org 0430a32652 exporting to dist the new header file "nsAlgorithm.h" . Part of the fix for bug #39686 2000-05-20 20:00:49 +00:00
scc%mozilla.org dae10b02a8 Adding a new file. Part of the fix for Bug #39686. 2000-05-20 19:57:03 +00:00
scc%mozilla.org 3730f50409 ugh. Fix to placate egcs. |static_cast| should be sufficient for a |void*|, but egcs seems to need |reinterpret_cast| 2000-05-20 19:08:36 +00:00
shaver%mozilla.org 8c693ee0d9 add do_GetServiceFromCategory, r/a=brendan 2000-05-20 18:55:35 +00:00
scc%mozilla.org ebc8903c87 Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc. 2000-05-20 18:31:45 +00:00
scc%mozilla.org 82bbf19a82 Fixing platform bustage only caught by SunOS Workshop. Need a |const| in a cast to avoid casting away |const|-ness. r=jdunn 2000-05-20 18:22:05 +00:00
scc%mozilla.org 4814477a24 Checking in patch from Jim Dunn to fix platform bustage on HPUX. In fact, this is the way the code should have been written in the first place due to the C++ standard section 14.6.2(3). Members of the template base class just aren't visible without explicit scoping of some form, typically |this->|. r=scc 2000-05-20 18:19:27 +00:00
mccabe%netscape.com 7958962de4 Patch GetMethodInfoForName to not just return the first method found. Apparently, it never really worked.
Thanks to Mark G. Adams <madams@janna.com> for the patch.

r=mccabe
a=bruce (deputized)
2000-05-18 05:55:25 +00:00
cls%seawood.org 633c17f40c Documentation tweak. --enable-modules not --enable-module 2000-05-17 07:54:22 +00:00
brendan%mozilla.org 77478096cf Fix stupid logfile_list unlink bug; fix comment. 2000-05-17 06:59:21 +00:00
brendan%mozilla.org 483af1a01b Improve --trace-malloc to handle multiple logfiles. 2000-05-17 04:44:14 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sfraser%netscape.com 188c1b9a52 Change the XPCOM autoreg observer to provide more useful strings. 2000-05-17 01:53:50 +00:00
sfraser%netscape.com 807b771a1e Un-inline a bunch of methods that wouldn't have been inlined anyway because they are virtual. Just tidyup. 2000-05-17 01:53:21 +00:00
dougt%netscape.com d45fbb0655 Fixing 38767. Allows C: to be a valid path to InitWithPath(); 2000-05-17 00:29:59 +00:00
ruslan%netscape.com 6086d6afa6 Make nsISupportsVoid implement threadsafe_isupports 2000-05-17 00:13:59 +00:00
dp%netscape.com 0915097128 Updating to use --enable-module. Thanks to cls@seawood.org 2000-05-16 23:18:31 +00:00
ssu%netscape.com ec2a732bd6 fixing bug #37457. Xpinstall's File.dirRemove() is now working. 2000-05-16 22:01:59 +00:00
scc%netscape.com fbfcb9d94b fixed a problem with cut and advancing past the end of a string with an iterator r=waterson 2000-05-16 10:13:23 +00:00
scc%netscape.com b04f4b0861 turning on the new strings API. 2000-05-16 07:18:04 +00:00
waterson%netscape.com dbf69aad27 Revert NS_READABLE_CAST. Without the reference, it didn't work. 2000-05-16 07:01:30 +00:00
waterson%netscape.com 5f34d86620 Clean up some of the last warnings. 2000-05-16 00:45:38 +00:00
waterson%netscape.com fea560d46b Flip NS_READABLE_CAST back the other way: more important to placate egcs that gcc-2.7.2.3 2000-05-15 23:06:25 +00:00
rayw%netscape.com 3b33b094d3 Added an observer to autoregistration, which allows a callback during that
part of startup to advance a progress display, per bug 35866.

I did not get the code actually reviewed, but I discussed it, and tested it
for breakage.  Other developers must register for the observer before it can
be ascertained whether it performs as advertized.
2000-05-15 19:28:12 +00:00
tor%cs.brown.edu 0b00ea3931 SUNWspro5.0 bustage fix: add "const" in a couple places to keep
the compiler happy.  Patch from tomi.leppikangas@oulu.fi, r=tor
2000-05-15 19:00:43 +00:00
dbaron%fas.harvard.edu 475f83d8ee Count some classes for the leak stats. r=warren@netscape.com 2000-05-15 13:10:18 +00:00
scc%netscape.com 7e3373bbbf patch from Joerg Brunsmann to fix bug #39268. r=scc 2000-05-15 12:57:21 +00:00
scc%netscape.com f7b3e7de41 circular include logic defeated me ... protect the new operator definitions locally 2000-05-15 08:07:25 +00:00
scc%netscape.com b141c8fd07 oops 2000-05-15 07:37:18 +00:00
scc%netscape.com 626f886483 adding macros and uses to support Solaris' inability to pick operator+ 2000-05-15 07:28:00 +00:00
dp%netscape.com 650631432f Updated build instructions 2000-05-15 07:21:12 +00:00
brendan%mozilla.org 44ffcfa883 Enforce interCaps Mozilla XPIDL style (r=shaver). 2000-05-15 07:03:46 +00:00
brendan%mozilla.org 168c70825d Comment grammar and style fixes. 2000-05-15 06:41:00 +00:00
brendan%mozilla.org cceee2aa69 Space cleanup. 2000-05-15 06:21:49 +00:00
scc%netscape.com b9cc20ed14 added macro code to help define more comparison operators. Got rid of |typename|. We can live with the warnings, maybe; but windows can't digest it in this context. 2000-05-15 05:14:40 +00:00
scc%netscape.com a274af8eb7 changes to fix some errors constructing autostrings from null pointers that led to crashes 2000-05-15 03:10:19 +00:00
waterson%netscape.com 58fe0403d8 With NEW_STRING_APIS, turn on definition of string comparison operators to avoid accidental pointer comparisons. r=scc 2000-05-15 01:27:04 +00:00
scc%netscape.com dc0afa9707 ...oops, have to comment out the body too. Sorry. 2000-05-15 00:16:30 +00:00
scc%netscape.com 1280fd6d46 commented out an |NS_WARNING| that will overwhelm you, I'll turn it into an assertion for me only, later. Also got rid of |Equals(*, int)| temporarily, as with |Compare| to catch clients who should be using |EqualsWithConversion| 2000-05-15 00:13:57 +00:00
scc%netscape.com 6965740bc5 disable a not helpful warning for VC++ 2000-05-14 23:33:05 +00:00
alecf%netscape.com b9d28478e4 repair the NS_IMPL_QUERY_INTERFACE_INHERITED3 macro 2000-05-14 23:09:21 +00:00
dp%netscape.com aca59908a3 Including nsTestSample.cpp. 2000-05-14 22:56:53 +00:00
dp%netscape.com 3a7992a5f0 Sample XPCOM Application 2000-05-14 22:49:36 +00:00
dp%netscape.com faaf62dfd6 Standalone xpcom. 2000-05-14 22:46:24 +00:00
scc%netscape.com 3e0a608172 comment out |Compare| with a length to help find callers of the old compare function that need to become to |CompareWithConversion|. 2000-05-14 22:32:30 +00:00
dp%netscape.com ab76ca26bb Initial version 2000-05-14 18:22:11 +00:00
michael.lowe%bigfoot.com ea7c30bd13 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu 2000-05-14 09:18:43 +00:00
waterson%netscape.com e9d590dbb4 Also wrap in #ifdef __cplusplus 2000-05-14 00:17:47 +00:00
waterson%netscape.com c9c47efc3c Remove #ifdef that's no longer necessary now that STL headers aren't included. 2000-05-14 00:14:19 +00:00
waterson%netscape.com d272d6d54b Wrap C++ in |extern C++| block to fix build. r=scc 2000-05-14 00:11:54 +00:00
waterson%netscape.com 8e51bfbbef Remove #ifdef that is unnecessary when STL headers are not included. 2000-05-14 00:05:24 +00:00
scc%netscape.com 5bd4efd8d4 waterson and I are giving up on the current build being allowed to even include files related to STL, mostly (but not only) because of Solaris ... by the time someone want to _use_ STL, maybe the compilers will be better, and this fix won't effect them. 2000-05-13 23:59:49 +00:00
dp%netscape.com d7f5ecc681 Standalone xpcom. 2000-05-13 23:35:55 +00:00
dp%netscape.com 11476feb1a Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1. 2000-05-13 23:11:43 +00:00
scc%netscape.com 37ec015a19 fixed macro-based comparison operators to help with our type-unification problems 2000-05-13 21:39:37 +00:00
scc%netscape.com 018741229b Added |NS_READABLE_CAST| to clarify what we're doing in places where we face the type-unification error on lame compilers. 2000-05-13 20:29:18 +00:00
scc%netscape.com e55217832f getting ready to turn this stuff on, changes related to that: empty strings specified with null pointer, a couple of other fixes. 2000-05-13 20:17:35 +00:00
waterson%netscape.com cd9a82f6e1 Resolve gcc-2.7.2.3 type unification ambiguity for nsAReadableString's Compare() method. NOT PART OF THE BUILD. 2000-05-13 02:11:26 +00:00
waterson%netscape.com abb7aa4bf8 Fix build bustage. Added nscore.h, which declares NS_STATIC_CAST et. al. 2000-05-13 02:05:50 +00:00
waterson%netscape.com 7c5e4bf508 Deal with type unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc 2000-05-13 00:23:04 +00:00
waterson%netscape.com a926ea50f1 Deal with type-unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc 2000-05-13 00:19:21 +00:00
waterson%netscape.com 2ecdf03c7c Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc 2000-05-13 00:05:29 +00:00
gordon%netscape.com 26fd2a9c50 Let go of monitor a bit earlier in ReleaseService() so that services which are shuttingdown may aquire their own monitors without potential deadlocks. Also changed allocation/deallocation of ServiceManager's monitor to use nsAutoMonitor methods, as per brendan's suggestion. 2000-05-12 23:39:34 +00:00
scc%netscape.com cf127bfa10 fix bug #36316 2000-05-12 23:09:28 +00:00
scc%netscape.com 4b1f539a77 fix bug #36311 2000-05-12 23:05:11 +00:00
dougt%netscape.com e28f98f20b Patch from snizinsk@us.ibm.com
from email:
What is in the tree from 5/2 was not correct (the
PR_CALLBACKs that were checked in 5/2 were incorrect for our build. They
should be on the prototypes which are declared "static PRIntn" not on
"NS_IMETHOD".
2000-05-12 22:11:45 +00:00
mkaply%us.ibm.com b21a2a4d57 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
scc%netscape.com 89bc179ffd Added "nsStringIO.h" to exports. r=hyatt 2000-05-12 07:46:13 +00:00
scc%netscape.com 80b170c264 Fixed the block stomping bug by ensuring the correct |operator=()| was always available. 2000-05-12 05:25:26 +00:00
scc%netscape.com e3490a6024 changed some comments 2000-05-12 05:20:21 +00:00
scc%netscape.com 0d642cf442 added tests for the new IO stuff, etc. 2000-05-12 05:19:46 +00:00
scc%netscape.com bc2e03c19d Uncommented tests that should work now that I've fixed the block stomping bug. 2000-05-12 05:18:36 +00:00
scc%netscape.com d3d0b85749 Changed some comments 2000-05-12 05:17:51 +00:00
scc%netscape.com c977f73add Filled out the smart pointer implementation. Changed some comments. 2000-05-12 05:17:39 +00:00
scc%netscape.com cfa6bc6d60 Added an assertion in |copy_string|. Changed some comments. 2000-05-12 05:16:00 +00:00
scc%netscape.com c6175b2ee3 First Checked In. 2000-05-12 03:16:35 +00:00
rayw%netscape.com d0199a10bc Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz
2000-05-12 01:24:36 +00:00
dougt%netscape.com 4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
dougt%netscape.com 5b16d0583a adding dirs.js. example of how you can get different locations via the
nsDirectoryService via JS.

not part of build.
2000-05-11 20:58:47 +00:00
cls%seawood.org 5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
pavlov%netscape.com afefbe5a7d fix for unix filepicker not coming up correctly (bug #38810) 2000-05-10 23:41:33 +00:00
nhotta%netscape.com 728c6d8def Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.
2000-05-10 22:24:22 +00:00
dougt%netscape.com 8104407afa InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.
2000-05-09 23:53:03 +00:00
dougt%netscape.com ada597dc3f Fixing bustage 2000-05-09 19:38:20 +00:00
dougt%netscape.com afaefc04b1 Missed six chars. fixing bustage 2000-05-09 19:28:55 +00:00
dougt%netscape.com a942da7d9f Fixes bug 38553. Using usecs now. r=sgehani@netscape.com 2000-05-09 19:11:14 +00:00
jdunn%netscape.com 9fca281d4b Fixing HPUX code - HP specific file
r= jgracer@ems.att.com
# 17997
2000-05-08 21:22:21 +00:00
ruslan%netscape.com 3b9581d368 Make nsAtomService implement threadsafe isupports 2000-05-08 20:28:21 +00:00
jbetak%netscape.com 7048dc7bf9 37408
String bundle doesn't offer a scriptable enumerator
r=be (incrementally deprecating outdated non-scriptable interface)
2000-05-07 21:12:38 +00:00
dp%netscape.com f7eb166ecf added contributors. 2000-05-05 07:44:50 +00:00
dp%netscape.com fa7f769bbe Initial version 2000-05-05 07:24:30 +00:00
dp%netscape.com f252153c3b Adding in class headers. 2000-05-05 06:53:09 +00:00
dp%netscape.com 9e5bcc6e67 Including class headers. 2000-05-05 06:49:13 +00:00
dp%netscape.com 481db03263 - Using nsILocalFile::AppendRelativePath() to get components that live
under subdirs of component directory to work
- Fixing UnregisterComponent() to take a registryLocation as opposed
to a misinterpretted fullpathname
2000-05-05 06:37:39 +00:00
dp%netscape.com 99c45e2779 Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
dp%netscape.com f6783ede03 Heavy documentation. 2000-05-05 06:33:05 +00:00
dp%netscape.com 996296e9e0 Adding progid for component manager. 2000-05-05 06:01:41 +00:00
dp%netscape.com 41cacf309f Converting to generic module. 2000-05-05 05:59:42 +00:00
dp%netscape.com e70cfc3491 Removed unneccessary casts. 2000-05-05 05:54:15 +00:00
dp%netscape.com 462db59ab4 Converting to generic module. 2000-05-05 05:53:21 +00:00
dp%netscape.com 222d9164f6 Added progid. 2000-05-05 05:52:26 +00:00
dp%netscape.com 51248669a0 Removed unneccessary include of nsIModule.h 2000-05-05 05:51:43 +00:00
dp%netscape.com 7290a04bc1 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
dveditz%netscape.com 7d59f7b2e6 adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread 2000-05-05 03:47:00 +00:00
dp%netscape.com 31295844e6 Removing nsConstructorPattern.cpp 2000-05-05 00:18:33 +00:00
rayw%netscape.com 1520de99ee Bug #37058
Added a simple test to CreateInstance, similar to the existing test in
GetService in the service manager, to prevent instances from being created
during shutdown.  We detected no calls to CreateInstance in normal code we
tested during shutdown.  If such occur, the fix is NOT to back out the
check, but rather to eliminate the calls to CreateInstance either by
registering a shutdown observer which gets called just before the
shutdown, or creating the instance before shutdown.

r=scc
2000-05-04 23:11:30 +00:00
rayw%netscape.com 2e5bb3a573 Bug 38219
Commented two references to nsSystemInfo so that .idl and .cpp files should
not be compiled.  This makes the windows platform the same as the other
platforms which are missing these parts.

r=scs
2000-05-04 23:07:19 +00:00
cls%seawood.org 4bb89416eb More OS/2 Makefile changes. Bug #34106 Batch 12 2000-05-04 11:00:47 +00:00
ftang%netscape.com 1968a91722 fix IsAscii function. The origional one report Latin1 characters as ASCII 2000-05-03 07:05:19 +00:00