44 Commits

Author SHA1 Message Date
mozilla.BenB%bucksch.org
a72534e093 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband


git-svn-id: svn://10.0.0.236/trunk@114726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:11:25 +00:00
dbaron%fas.harvard.edu
ac6b721449 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
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
mkaply%us.ibm.com
f32dd26a1b # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler


git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
warren%netscape.com
576a6158bc Fixed Has method as per Doug's request.
git-svn-id: svn://10.0.0.236/trunk@57028 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:02:32 +00:00
warren%netscape.com
3a54a73a34 Added .get() to fix unix breakage.
git-svn-id: svn://10.0.0.236/trunk@56837 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 10:59:25 +00:00
warren%netscape.com
070a48ce2a Made nsIProperties scriptable. Bug #21982
git-svn-id: svn://10.0.0.236/trunk@56832 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:29:25 +00:00
dp%netscape.com
9b0cfefb70 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54812 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:36:32 +00:00
dp%netscape.com
ccb285cb8c Removing NS_COMFALSE usage.
git-svn-id: svn://10.0.0.236/trunk@53029 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 23:30:44 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
warren%netscape.com
96f4dfebdc fixed mismatched free in nsProperties
git-svn-id: svn://10.0.0.236/trunk@48374 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:16 +00:00
kipp%netscape.com
835f03ff66 Eliminate some silly nsString usage
git-svn-id: svn://10.0.0.236/trunk@46646 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:34:02 +00:00
warren%netscape.com
de60d2685c 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.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
erik%netscape.com
12b9c786ff Fixing warnings.
git-svn-id: svn://10.0.0.236/trunk@45168 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:59:42 +00:00
scc%netscape.com
56d5ad0b43 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
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
tao%netscape.com
bd832f7355 Set properties files encoding to escape unicode.
git-svn-id: svn://10.0.0.236/trunk@43736 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:37:35 +00:00
tbogard%aol.net
a74ab35457 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.
git-svn-id: svn://10.0.0.236/trunk@43556 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:36:30 +00:00
tao%netscape.com
76cdc0d7f2 Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.


git-svn-id: svn://10.0.0.236/trunk@42518 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 20:24:02 +00:00
tbogard%aol.net
0562346fa7 Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings.
git-svn-id: svn://10.0.0.236/trunk@40584 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:11:04 +00:00
beard%netscape.com
ced440e148 added <iostream.h>
git-svn-id: svn://10.0.0.236/trunk@39811 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:58:38 +00:00
jevering%netscape.com
98c06b0473 GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties.
git-svn-id: svn://10.0.0.236/trunk@39730 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 19:13:21 +00:00
valeski%netscape.com
e8279b37bc necko - adjusted hash table initialization location to the constructor
git-svn-id: svn://10.0.0.236/trunk@39710 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:41:29 +00:00
sgehani%netscape.com
72023cf976 Guarding against memory allocation error and a resulting null pointer.
Also, now AddRef'ing XPCOM nsPropertyElements when created.


git-svn-id: svn://10.0.0.236/trunk@37740 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 18:39:46 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
erik%netscape.com
192fe6b11a Was crashing when property already existed. Fixed now, by ignoring
subsequent attempts.


git-svn-id: svn://10.0.0.236/trunk@35029 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:07:22 +00:00
bruce%cybersight.com
304d735c7e Add newline at end of file for commercial unix compilers.
git-svn-id: svn://10.0.0.236/trunk@35015 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 16:59:57 +00:00
sgehani%netscape.com
68a3a5bc2f Added enumeration service to PersistentProperties which returns an enumeration of
PropertyElement objects.


git-svn-id: svn://10.0.0.236/trunk@34736 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:20:36 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
7cdc9ff1ad Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL).
git-svn-id: svn://10.0.0.236/trunk@29898 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:54:22 +00:00
erik%netscape.com
ea0b01b163 Was using the wrong IID to implement nsISupports. Fixed.
git-svn-id: svn://10.0.0.236/trunk@29642 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:43:51 +00:00
rickg%netscape.com
a045a34e43 sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28692 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:23:25 +00:00
warren%netscape.com
a16789b734 Started factoring nsIPersistentProperties from nsIProperties.
git-svn-id: svn://10.0.0.236/trunk@28686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:32:51 +00:00
rickg%netscape.com
15e7886623 API cleanup for nsString
git-svn-id: svn://10.0.0.236/trunk@26288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:06:54 +00:00
mcmullen%netscape.com
72a74134c2 Made a function static to remove a warning.
git-svn-id: svn://10.0.0.236/trunk@22952 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:35:23 +00:00
troy%netscape.com
f89f085421 Fixed some more memory leaks
git-svn-id: svn://10.0.0.236/trunk@20709 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 18:02:38 +00:00
troy%netscape.com
658dac2de0 Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@20677 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:44:39 +00:00
troy%netscape.com
307ef53826 Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@20675 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:34:07 +00:00
troy%netscape.com
1a976b63f6 Added NS_RELEASE of nsIUnicharInputStream interface in Load()
git-svn-id: svn://10.0.0.236/trunk@20674 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:20:34 +00:00
warren%netscape.com
be8fdbef0a Fixed unsigned problems.
git-svn-id: svn://10.0.0.236/trunk@19913 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:56:36 +00:00
erik%netscape.com
6c9f7e2e5a Moved nsPropertiesFactory constructor from .h to .cpp file
git-svn-id: svn://10.0.0.236/trunk@19871 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 21:06:07 +00:00
erik%netscape.com
fcf0688ef4 Fixed compiler warning on Linux.
git-svn-id: svn://10.0.0.236/trunk@19487 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:11:45 +00:00
erik%netscape.com
4ae5d93417 For some reason, the IID stuff didn't compile on the Mac. Fixed now.
git-svn-id: svn://10.0.0.236/trunk@18670 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:18:34 +00:00
erik%netscape.com
961ef36d39 Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).


git-svn-id: svn://10.0.0.236/trunk@18656 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:50:25 +00:00