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 CIDs 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
darin%netscape.com
2b1d90b6ed
modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
...
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
6ed727cbe8
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
...
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
dougt%netscape.com
3ce22699b8
landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@132196 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 23:41:47 +00:00
seawood%netscape.com
f9eb727003
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
820b2ca5fe
Not part of build
...
git-svn-id: svn://10.0.0.236/trunk@131967 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 17:41:00 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
timeless%mac.com
585baa0803
Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
...
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
alecf%netscape.com
eb193c5571
fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
...
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@123713 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:35:37 +00:00
neeti%netscape.com
29dc4eb3d1
fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@122684 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 18:47:37 +00:00
bryner%netscape.com
58554f257e
Fixing mcafee's windows bustage.
...
git-svn-id: svn://10.0.0.236/trunk@121055 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 08:13:32 +00:00
mcafee%netscape.com
e10272e188
Moving PropertiesTest.cpp to netwerk/test (142680). r=cls, a=alecf
...
git-svn-id: svn://10.0.0.236/trunk@121048 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:13:40 +00:00
mcafee%netscape.com
2c93f02691
Moving necko PropertiesTest over to netwerk. Remove toplevel xpcom/tests dirs hack. (142680) r=cls, a=alecf
...
git-svn-id: svn://10.0.0.236/trunk@121047 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:11:48 +00:00
darin%netscape.com
24feadaaed
fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
seawood%netscape.com
7e4c3987ab
Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
...
Changes:
* Added EXTRA_COMPONENTS variable to build. Use it to automagically install files into the components dir.
* Added SYSINSTALL variable. Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template
The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
/bin/mozilla-config
/include/mozilla-ver/*
/lib/mozilla-ver (mozappdir)
/components
/res
/defaults
/chrome
There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.
$prefix -> /lib/mre/mre-ver (mredir)
/components
git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
timeless%mac.com
282a30f615
Bug 137495 TestDeque tries to delete a static class
...
r=caillon rs=darin
git-svn-id: svn://10.0.0.236/trunk@119097 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 12:05:43 +00:00
dougt%netscape.com
a17830dad4
XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
dbaron%fas.harvard.edu
772b5b8c58
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@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
darin%netscape.com
3872488d18
b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
...
r=dougt sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
a73ac4fc75
HPUX rightly insists that class a{a::a(){}} isn't the right way to declare a constructor
...
fixed to class a{a(){}}. I can't believe that msvc and gcc didn't mind what I did.
git-svn-id: svn://10.0.0.236/trunk@115106 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 14:29:12 +00:00
cathleen%netscape.com
6a0e426e6c
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
dbaron%fas.harvard.edu
4281b39a7d
Some compilers (like gcc 3.0.3, at least) don't like a main that returns void, so make it return int. Fixing bustage. r=timeless
...
git-svn-id: svn://10.0.0.236/trunk@115016 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:20:04 +00:00
timeless%mac.com
e4beb05e73
Bug 114166 Test app for nsDeque
...
rs=alecf
git-svn-id: svn://10.0.0.236/trunk@115008 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:09:40 +00:00
timeless%mac.com
29beedeb0d
Bug 114166 rewrite nsDeque
...
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
alecf%netscape.com
057eaef9e2
remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
...
r=jag, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +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
alecf%netscape.com
f5bfc799ad
bug 63025 - stop testing some stuff that I'm ripping out of xpcom
...
git-svn-id: svn://10.0.0.236/trunk@114550 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:27:32 +00:00
timeless%mac.com
5be877f2d4
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:12:50 +00:00