jaggernaut%netscape.com
453cb11f55
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106254 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:42:23 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
scc%mozilla.org
a3c9c27d84
bug #85271 : avoid regressions by re-creating the old behavior near |nsCRT::strdup|, see bug #86316
...
git-svn-id: svn://10.0.0.236/trunk@97312 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 03:50:12 +00:00
scc%mozilla.org
90f810b66a
bug #85271 : sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
waterson%netscape.com
bb4d25ff95
Bug 74448. Fix acceptable URI schemes using table-driven implementation. r=dmose, sr=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@93349 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:12:10 +00:00
disttsc%bart.nl
abd8de21e5
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
dbaron%fas.harvard.edu
0cc4ea2497
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
waterson%netscape.com
ef130dbe40
Bug 58252. Make sure that local store and internet search service match RegisterDataSource() calls with UnregisterDataSource(). Make RDFServiceImpl support weak references. r=rjc,scc; sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@82093 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 07:27:49 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
2a43feef6f
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@79047 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 03:42:35 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
waterson%netscape.com
970073800c
Bug 48486. Fuse allocation of LiteralImpl objects; get rid of nsAutoString member. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@77283 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:43:09 +00:00
dbaron%fas.harvard.edu
eb3bc9d467
Fix a leak of the keys used as strings in all cases. r=waterson b=44051
...
git-svn-id: svn://10.0.0.236/trunk@76487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:14:08 +00:00
warren%netscape.com
68783ed706
Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf
...
git-svn-id: svn://10.0.0.236/trunk@74441 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:58:25 +00:00
bienvenu%netscape.com
d43118ab80
fix 41292, r=waterson, problem with rdf factory cache
...
git-svn-id: svn://10.0.0.236/trunk@73900 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 02:35:50 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
waterson%netscape.com
c95e25c6e1
Bug 40601. Properly UTF-8 encode a URL that's been handed to us as UCS-2.
...
git-svn-id: svn://10.0.0.236/trunk@70959 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:57:04 +00:00
ruslan%netscape.com
8bdd03cb35
Make res/chrome handlers implement threadsafe_isupports
...
git-svn-id: svn://10.0.0.236/trunk@70934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:00:18 +00:00
scc%netscape.com
8c7f6c18d8
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66199 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:30:23 +00:00
mkaply%us.ibm.com
b3f0f45fdd
# 34082
...
r= waterson@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
git-svn-id: svn://10.0.0.236/trunk@65302 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:39:51 +00:00
tonyr%fbdesigns.com
6524533d08
Make nsISupports interfaces threadsafe so proxy objects can be created. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@63409 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:38:14 +00:00
pp%ludusdesign.com
b5787cf895
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
blizzard%redhat.com
1f1ce365e8
Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579 . Checking in for sford. r=scc,r=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +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
a270067a3a
Took out redundant MOZ_COUNT_CTOR/DTOR calls.
...
git-svn-id: svn://10.0.0.236/trunk@51002 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 19:06:21 +00:00
rjc%netscape.com
9621ab20bf
Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50798 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 06:27:02 +00:00
waterson%netscape.com
1464bedb39
Bug 16402. Make sure that literals addref (and release) the RDF service. Make sure to deal with edge Unregister[Resource|Literal] conditions; e.g., being called to unregister a literal when none was ever registered. r=rjc
...
git-svn-id: svn://10.0.0.236/trunk@50771 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:36:04 +00:00
rjc%netscape.com
1978802be8
Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@50076 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:51:30 +00:00
waterson%netscape.com
a82ecc3d56
Bug 14754. Shore up unregistration; verify that datasource matches URI to be unregistered. Be 'quiet' if it doesn't.
...
git-svn-id: svn://10.0.0.236/trunk@48996 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:54:36 +00:00
waterson%netscape.com
8ad49bd1e7
Bug 14285. Add some arg checking as we are prone to being called from JS.
...
git-svn-id: svn://10.0.0.236/trunk@48261 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 19:41:45 +00:00
waterson%netscape.com
1efa69d325
Make sure all control paths return a value.
...
git-svn-id: svn://10.0.0.236/trunk@46659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 00:01:27 +00:00
waterson%netscape.com
b29f25f4d2
Bug 13433. Create a one-element URI prefix cache to avoid excessive calls to ProgIDToCLSID(). Cache the default resource factory. Rename ServiceImpl to RDFServiceImpl.
...
git-svn-id: svn://10.0.0.236/trunk@46648 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:35:16 +00:00
waterson%netscape.com
1f4f0cb835
Move APIs to create 'anonymous' resources into the RDF service. Fix stuff that was using it.
...
git-svn-id: svn://10.0.0.236/trunk@46120 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:35:41 +00:00
bruce%cybersight.com
0285df2027
Use nsAllocator instead of new[] and nsCRT::free() instead of delete[] for char* data.
...
git-svn-id: svn://10.0.0.236/trunk@46005 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 13:42:15 +00:00
waterson%netscape.com
d01b080b39
Use PL_HashTableRawAdd() to avoid hashing twice.
...
git-svn-id: svn://10.0.0.236/trunk@45739 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:29:06 +00:00
shaver%netscape.com
cc25b49eab
initial RDF NS_DECL_* spam
...
git-svn-id: svn://10.0.0.236/trunk@44277 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 09:11:48 +00:00
waterson%netscape.com
8e77aec007
Bug 11575. Null check after pulling URI out of a resource. a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@43210 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 01:16:13 +00:00
waterson%netscape.com
887e9d7c5a
Bug 11154. Use 2-byte compare fn for literal hash table.
...
git-svn-id: svn://10.0.0.236/trunk@42016 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:59:56 +00:00
waterson%netscape.com
995405e316
Fix nsRDFSerivce.cpp so that it can be unloaded.
...
git-svn-id: svn://10.0.0.236/trunk@41628 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:52:47 +00:00
waterson%netscape.com
3a3ac92689
Re-try of changes for 1.40, this time with the off-by-one error in GetUnicodeResource() fixed.
...
git-svn-id: svn://10.0.0.236/trunk@39805 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:46:34 +00:00
waterson%netscape.com
ff8121bf80
Back out last change; was causing crashes on Unix.
...
git-svn-id: svn://10.0.0.236/trunk@39802 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:31:24 +00:00
waterson%netscape.com
328171593b
Some performance tweaks. Inline string copy in GetUnicodeResource(); re-write GetResourcee() to avoid multiple trips to the component manager; use GetValueConst() to re-use the pointers inside resource/literal objects instead of making copies for keys.
...
git-svn-id: svn://10.0.0.236/trunk@39640 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 04:01:21 +00:00
waterson%netscape.com
08fffac86f
Clean up compiler warnings. Thanks, slamm!
...
git-svn-id: svn://10.0.0.236/trunk@38243 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 04:43:44 +00:00
waterson%netscape.com
6b36359bd0
Expunge EqualsResource() and EqualsLiteral().
...
git-svn-id: svn://10.0.0.236/trunk@36926 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 20:51:13 +00:00
waterson%netscape.com
fc77a5b645
Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers.
...
git-svn-id: svn://10.0.0.236/trunk@36637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 00:22:58 +00:00
waterson%netscape.com
167d4bc642
Bug 7385. Open datasources asynchronously by default.
...
git-svn-id: svn://10.0.0.236/trunk@35328 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:19:33 +00:00
waterson%netscape.com
0a67db947b
Use nsServiceManager to get singleton datasources instead of nsComponentManager.
...
git-svn-id: svn://10.0.0.236/trunk@32026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:53:18 +00:00
shaver%netscape.com
6398b36c83
allow rdf:datasource;param=var (r=waterson)
...
git-svn-id: svn://10.0.0.236/trunk@31698 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:56:30 +00:00
waterson%netscape.com
44628a930b
Factor interfaces into individual .idl files. Add purge support and re-load support to RDF/XML datasource.
...
git-svn-id: svn://10.0.0.236/trunk@30343 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:09:12 +00:00