Commit Graph

47 Commits

Author SHA1 Message Date
ducarroz@netscape.com
76257736b3 Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
NS_RELEASE. R=dougt, SR=sspitzer
2002-09-27 17:49:08 +00:00
dougt@netscape.com
a050d3d379 Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563 2002-09-25 21:27:20 +00:00
dougt@netscape.com
517b4e843b Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
mozilla.BenB@bucksch.org
d270b60afc 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband
2002-02-17 10:11:25 +00:00
dbaron@fas.harvard.edu
8ee9f55c1e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
warren@netscape.com
8df9a9bce0 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
mkaply@us.ibm.com
25cfcb8e6a # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
warren@netscape.com
4b6b924210 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
warren@netscape.com
e04a43ab8f Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren@netscape.com
87a518db08 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
dp@netscape.com
6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
dp@netscape.com
7e87853245 Removing NS_COMFALSE usage. 1999-11-09 23:30:44 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren@netscape.com
650239095e fixed mismatched free in nsProperties 1999-09-20 20:54:16 +00:00
kipp@netscape.com
4f2a844a4c Eliminate some silly nsString usage 1999-09-09 22:34:02 +00:00
warren@netscape.com
c051b946f8 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
erik@netscape.com
e1cf1043b9 Fixing warnings. 1999-08-30 21:59:42 +00:00
scc@netscape.com
6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
tao@netscape.com
67cfd71aea Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
tbogard@aol.net
b49eb58ef1 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
tao@netscape.com
04e51a6521 Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.
1999-08-06 20:24:02 +00:00
tbogard@aol.net
20ea8d0eb2 Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings. 1999-07-22 02:11:04 +00:00
beard@netscape.com
932c8f1f70 added <iostream.h> 1999-07-17 01:58:38 +00:00
jevering@netscape.com
c8d53c586e GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties. 1999-07-16 19:13:21 +00:00
valeski@netscape.com
fcac243589 necko - adjusted hash table initialization location to the constructor 1999-07-16 17:41:29 +00:00
sgehani@netscape.com
c4c6fad504 Guarding against memory allocation error and a resulting null pointer.
Also, now AddRef'ing XPCOM nsPropertyElements when created.
1999-07-01 18:39:46 +00:00
scc@netscape.com
90f6a8560a |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
erik@netscape.com
55c5c83b05 Was crashing when property already existed. Fixed now, by ignoring
subsequent attempts.
1999-06-12 21:07:22 +00:00
bruce@cybersight.com
5252adf886 Add newline at end of file for commercial unix compilers. 1999-06-12 16:59:57 +00:00
sgehani@netscape.com
f40ce48c7d Added enumeration service to PersistentProperties which returns an enumeration of
PropertyElement objects.
1999-06-11 02:20:36 +00:00
dp@netscape.com
6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren@netscape.com
b7643a591f Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL). 1999-04-30 22:54:22 +00:00
erik@netscape.com
6be5e2d6aa Was using the wrong IID to implement nsISupports. Fixed. 1999-04-28 01:43:51 +00:00
rickg@netscape.com
8b9917ab42 sync up with nsString2.cpp 1999-04-22 08:23:25 +00:00
warren@netscape.com
6d3a94dbb9 Started factoring nsIPersistentProperties from nsIProperties. 1999-04-22 07:32:51 +00:00
rickg@netscape.com
34644a0082 API cleanup for nsString 1999-04-05 08:06:54 +00:00
mcmullen@netscape.com
7ade9ba3be Made a function static to remove a warning. 1999-03-05 21:35:23 +00:00
troy@netscape.com
bdf4855ba7 Fixed some more memory leaks 1999-02-14 18:02:38 +00:00
troy@netscape.com
37c89e9d9e Fixed some memory leaks 1999-02-14 05:44:39 +00:00
troy@netscape.com
92e6ed8e57 Fixed some memory leaks 1999-02-14 05:34:07 +00:00
troy@netscape.com
50819cc89e Added NS_RELEASE of nsIUnicharInputStream interface in Load() 1999-02-14 05:20:34 +00:00
warren@netscape.com
a8e0baa4d3 Fixed unsigned problems. 1999-02-06 03:56:36 +00:00
erik@netscape.com
516634a3ab Moved nsPropertiesFactory constructor from .h to .cpp file 1999-02-05 21:06:07 +00:00
erik@netscape.com
db5aa8f891 Fixed compiler warning on Linux. 1999-02-03 18:11:45 +00:00
erik@netscape.com
2a30a87ce9 For some reason, the IID stuff didn't compile on the Mac. Fixed now. 1999-01-27 00:18:34 +00:00
erik@netscape.com
0e2181183d Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).
1999-01-26 23:50:25 +00:00