35 Commits

Author SHA1 Message Date
seawood%netscape.com
bc892b941f Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@235251 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:06:16 +00:00
dbaron%fas.harvard.edu
7b0e77d756 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@235250 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:06:15 +00:00
alecf%netscape.com
7baa135dbf a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@234957 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:01:22 +00:00
jst%netscape.com
c89c073f34 Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@234948 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:01:13 +00:00
jaggernaut%netscape.com
00b94bd92d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@234944 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:01:09 +00:00
sgehani%netscape.com
fb571f6a2e Replace strtok() with nsCRT::strok().
(Checking in for drepper@cygnus.com)
b=81590; r=sgehani; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@234940 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:01:05 +00:00
jaggernaut%netscape.com
b9c2beb8c2 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@234939 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:01:04 +00:00
gerv%gerv.net
f77e5ac3a8 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@234770 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:15 +00:00
jaggernaut%netscape.com
9093ab96c7 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@234765 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:10 +00:00
jaggernaut%netscape.com
04b86e731e Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@234763 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:08 +00:00
scc%mozilla.org
f06ec165a0 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@234760 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:05 +00:00
ben%netscape.com
88ec3d1cbc Fix for 76502 and related bugs. some parts sr=alecf, tested by several people (andred, fabian)
git-svn-id: svn://10.0.0.236/trunk@234759 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:04 +00:00
disttsc%bart.nl
011ff57120 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@234758 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:03 +00:00
alecf%netscape.com
cb52e6b25e fix for #65865 - add date and integer support to local search, so that
we can search history and bookmarks by last visited/etc.
sr=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@234757 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:58:02 +00:00
alecf%netscape.com
84da489992 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@234739 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:44 +00:00
warren%netscape.com
4ee9ed7f3c 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@234736 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:41 +00:00
warren%netscape.com
d5110fa043 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@234735 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:40 +00:00
scc%mozilla.org
19073dcf2d fixing bustage. I didn't realize what a common (and mistaken) pattern it was to compare a |nsString| to |nsnull|. Better to say |IsEmpty()|.
git-svn-id: svn://10.0.0.236/trunk@234729 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:34 +00:00
valeski%netscape.com
8257b9bd87 46775. preparing for linkage changes. these changes move class definitions into their own .h files so they can be used in other directories (not exported) for building purposes. I also utilized module/factory macros when possible
git-svn-id: svn://10.0.0.236/trunk@234727 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:32 +00:00
rjc%netscape.com
8f4ec9f261 Fix bug # 28087: Search Bookmarks and History now works with non-ASCII characters. r=me
git-svn-id: svn://10.0.0.236/trunk@234726 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:31 +00:00
warren%netscape.com
e4188da762 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@234724 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:29 +00:00
scc%netscape.com
fdc7e7ff92 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@234697 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:57:02 +00:00
rjc%netscape.com
7bc2959ab1 Expose support for adding a search engine via JavaScript (with appropriate user acceptance).
git-svn-id: svn://10.0.0.236/trunk@234691 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:56 +00:00
rjc%netscape.com
ed63855f2e Fix simple signed/unsigned comparison warning.
git-svn-id: svn://10.0.0.236/trunk@234683 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:48 +00:00
rjc%netscape.com
a03f6a7c59 Use GetValueConst() in a couple of places.
git-svn-id: svn://10.0.0.236/trunk@234682 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:47 +00:00
waterson%netscape.com
9c4a0fe906 Bug 28640. Be sure to addref before returning interface. r=rjc, a=jevering
git-svn-id: svn://10.0.0.236/trunk@234662 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:27 +00:00
scc%netscape.com
8df99d96b6 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@234652 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:17 +00:00
pp%ludusdesign.com
94f28d5c40 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@234651 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:16 +00:00
rjc%netscape.com
41ba16fed4 Small search changes: open up "Search Results" sidebar panel whenever we have new search results (if pref is set to do so) irregardless of whether its by clicking on the "Search" button or not.
git-svn-id: svn://10.0.0.236/trunk@234649 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 21:56:14 +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
rjc%netscape.com
bb3ab25dee Add ClearResultSearchSites() to internetSearchService's IDL, and use IDL macros more for defining public methods.
git-svn-id: svn://10.0.0.236/trunk@47571 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 11:08:58 +00:00
rjc%netscape.com
26433bd2e2 Be sure to inherit from RDF datasource interface as well as call RegisterDataSource() on Init().
git-svn-id: svn://10.0.0.236/trunk@47570 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 10:35:56 +00:00
rjc%netscape.com
e665bd55e2 Return proper value for GetURI()
git-svn-id: svn://10.0.0.236/trunk@47566 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 10:17:55 +00:00
rjc%netscape.com
19e4a3007c Add Search component into Windows build.
git-svn-id: svn://10.0.0.236/trunk@47562 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:29:24 +00:00
rjc%netscape.com
a1bc813340 (Not part of build yet) Moving find/search into its own component.
git-svn-id: svn://10.0.0.236/trunk@47545 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 06:14:45 +00:00