554 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
0a3d3a8fc2 Removing unused variables b=90906 p=gautheri@noos.fr r=dbradley sr=Henry.Jia
git-svn-id: svn://10.0.0.236/trunk@155278 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 11:16:04 +00:00
darin%meer.net
0fc79f3a16 landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155191 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 00:21:34 +00:00
darin%meer.net
c3bfbfa7f1 adding testcases for FindCharInSet and RFindCharInSet, bug 240837
git-svn-id: svn://10.0.0.236/trunk@155168 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 20:12:52 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
darin%meer.net
e1709d7a8a Adding testcase for NS_CStringSetDataRange r=sparky
git-svn-id: svn://10.0.0.236/trunk@154829 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 22:14:54 +00:00
cbiesinger%web.de
4c81f1552a bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154813 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 19:13:49 +00:00
Stefan.Borggraefe%gmx.de
aa3d4de4b4 Fix for Bug 227135: "TestCallTemplates crashes - erroneous test"
p=aku, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@154714 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:15:25 +00:00
darin%meer.net
dcb6fabc6b fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@154693 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-11 20:52:32 +00:00
darin%meer.net
17b87fb59e fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154433 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 20:47:48 +00:00
darin%meer.net
03e1a1a947 fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@153517 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 07:54:22 +00:00
timeless%mozdev.org
2463c3d411 Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt


git-svn-id: svn://10.0.0.236/trunk@153373 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 08:04:46 +00:00
darin%meer.net
118c2a873e fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153194 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 03:24:29 +00:00
darin%meer.net
a01e1c2f7f landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.


git-svn-id: svn://10.0.0.236/trunk@152994 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 01:53:23 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
16b26bbf1b Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
tor%cs.brown.edu
6ab1d43553 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152454 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 03:06:25 +00:00
tor%cs.brown.edu
e80519da24 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152453 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
fdb05f925f Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@152450 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:41:10 +00:00
bryner%brianryner.com
90b1e18feb sigh.
git-svn-id: svn://10.0.0.236/trunk@151362 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:56:39 +00:00
bryner%brianryner.com
9e188a5df5 fixing windows test bustage
git-svn-id: svn://10.0.0.236/trunk@151361 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:43:38 +00:00
bryner%brianryner.com
b5ccad4460 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
bryner%brianryner.com
79ccb45177 Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151099 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 21:43:32 +00:00
dbaron%dbaron.org
c4bdc17ba3 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@149839 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-29 18:56:10 +00:00
timeless%mozdev.org
5a1907b913 Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose


git-svn-id: svn://10.0.0.236/trunk@149429 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 10:05:45 +00:00
darin%meer.net
aa4dd41e45 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147780 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 01:54:07 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
dougt%meer.net
6dfc67684a Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
caillon%returnzero.com
1c1e0c7bb4 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@144011 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:15:41 +00:00
bsmedberg%covad.net
e3c168a346 Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
git-svn-id: svn://10.0.0.236/trunk@143853 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 11:26:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
bsmedberg%covad.net
8347f9cc7f Attempting to fix Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@141731 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 03:29:19 +00:00
bsmedberg%covad.net
8a71f7dbb4 Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@141729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 01:54:57 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
d6486a04cc Bug 190058 Remove xpcom/tests/TestBuffers.cpp
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@140253 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 16:11:01 +00:00
peterlubczynski%netscape.com
8605b8bbb4 Checking in fix to bug 198317 for Roland.Mainz@informatik.med.uni-giessen.de r=cls sr=jag
git-svn-id: svn://10.0.0.236/trunk@140035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:39:40 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
19e7c316b5 oops, and TestPermanentAtoms
git-svn-id: svn://10.0.0.236/trunk@139911 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:35:14 +00:00
alecf%netscape.com
543edb105e oops, land TestAtoms from the previous patch
git-svn-id: svn://10.0.0.236/trunk@139910 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:34:23 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
cls%seawood.org
dac8d1a090 Adding mingw makefile changes.
Bug #134113 r=bryner


git-svn-id: svn://10.0.0.236/trunk@139140 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:57:15 +00:00
cls%seawood.org
609a196b54 XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org
5eef234bb4 Some compilers insist that AddRef and Release return |nsrefcnt| in order to get along with nsDerivedSafe. Hopefully fixing gcc 2.95 bustage.
git-svn-id: svn://10.0.0.236/trunk@138147 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 03:57:32 +00:00
dbaron%dbaron.org
8f60521a45 Remove tests with const template parameters. Should fix bustage on various ports.
git-svn-id: svn://10.0.0.236/trunk@138142 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:39:40 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
timeless%mozdev.org
c928db330f This is not part of the build (it doesn't build).
nsIConverterInputStream::Init now requires four parameters instead of three.
To build this test, add uconv necko to requires.


git-svn-id: svn://10.0.0.236/trunk@136835 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 08:10:45 +00:00
timeless%mozdev.org
fb2a9303e4 Not part of the build (without these changes it doesn't build).
Fixed the input string variable name in1/in.
CreateACString takes three params not two.
variables living in nsCOMPtrs should not be left alive past xpcom shutdown.


git-svn-id: svn://10.0.0.236/trunk@136831 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:51:44 +00:00
timeless%mozdev.org
bfb7453f74 This isn't part of the build (without these changes it doesn't build).
"register" is a keyword and wasn't the right name for the variable anyway.
the registrar no longer accepts nsIFileSpec. Converted the caller to nsIFile.


git-svn-id: svn://10.0.0.236/trunk@136822 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 06:18:06 +00:00
dbaron%dbaron.org
5706026d0a Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346
git-svn-id: svn://10.0.0.236/trunk@136599 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 16:20:26 +00:00