Commit Graph

823 Commits

Author SHA1 Message Date
reed@reedloden.com
a389f02605 Bug 387049 - "Remove nsIObservableInputStream, nsIObservableOutputStream" [p=WeirdAl r=biesi a1.9=damons] 2007-11-13 02:27:26 -08:00
reed@reedloden.com
d5fc5fef6b Comment out failing test for now in test_streams.js. 2007-11-12 23:23:15 -08:00
reed@reedloden.com
10d22fde53 Remove DOS line endings from test_streams.js. 2007-11-12 23:16:48 -08:00
reed@reedloden.com
14aa6ecf32 Bug 401781 - "Add tests for nsI*Stream" [p=WeirdAl r=bsmedberg] 2007-11-12 21:33:25 -08:00
bent.mozilla@gmail.com
ad07b81a06 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron. 2007-10-03 17:57:09 -07:00
jst@mozilla.org
1a76db15cf Fixing solaris build bustage when building with tests enabled. r=sayrer, sr=biesi, a=jst 2007-10-02 16:11:18 -07:00
jwalden@mit.edu
714f199bfa Yet another fix for Windows calling convention differences. 2007-09-21 01:18:36 -07:00
jwalden@mit.edu
19c867966f Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition. 2007-09-21 01:12:07 -07:00
jwalden@mit.edu
ae3dfb487f Fix bustage from TestPipe.cpp; turns out NS_NewPipe2 isn't exported from XPCOM -- who knew? r+a=bustage 2007-09-21 00:59:09 -07:00
jwalden@mit.edu
2fd6ba18fe Bug 394692 - ASSERTION: read cursor is bad: 'mReadCursor != mWriteCursor', file xpcom/io/nsPipe3.cpp, line 539. Narrow the criteria used to decide whether to fire the assertion to deal with a particular (valid) pattern of memory allocations. r=biesi, a=bz 2007-09-20 23:17:59 -07:00
scott@scott-macgregor.org
8a04ed9e5c try to fix mac orange again. 2007-09-20 17:34:42 -07:00
scott@scott-macgregor.org
70e3056fe4 try to fix the orange mac tinderbox builds by adjusting the Makefile.in rule. Thanks to bsmedberg for suggesting the fix. 2007-09-20 16:56:10 -07:00
scott@scott-macgregor.org
fc5215cfe6 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg 2007-09-20 16:14:25 -07:00
aaronr@us.ibm.com
4d5884fb58 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
cbiesinger@gmx.at
6463d3214d 381812 improved testcase for storage stream behaviour when the stream hasn't been written to r=bsmedberg 2007-09-05 13:30:18 -07:00
philringnalda@gmail.com
3432251d59 Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz 2007-08-17 20:48:16 -07:00
cbiesinger@gmx.at
f24c0c5c5e fixing orange, the new behaviour is better 2007-08-17 14:20:55 -07:00
mrbkap@gmail.com
48153c5284 Fix broken printf to fix a compile warning. bug 390855, r+sr+a=bsmedberg 2007-08-07 18:47:40 -07:00
asqueella@gmail.com
cb5ac9d2d1 Bug 339069 - Optimization for RFindInReadable
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
philringnalda@gmail.com
f3f6213b5f Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin 2007-06-10 23:10:27 -07:00
gavin@gavinsharp.com
84f053f7ae Bug 377189: fix nsIFileTest.cpp compilation, patch by Bernhard Rosenkraenzer <bero@arklinux.org>, r=dougt 2007-04-16 11:09:29 -07:00
dbaron@dbaron.org
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
roc+@cs.cmu.edu
ed1b4a6e54 Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking 2007-03-26 20:38:21 -07:00
jwalden@mit.edu
093b1f6231 Bug 372546 - Mark pipe input/output streams as threadsafe. r=bsmedberg 2007-03-25 00:31:45 -07:00
jwalden@mit.edu
a300262180 Bug 373640 - nsIFile.parent throws an exception on reaching top of file system on Windows -- should return null. r=bsmedberg 2007-03-25 00:28:06 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
gavin%gavinsharp.com
789ff3ad33 Fix windows unit test bustage by reverting previous change (bug 332389 comment 24) 2007-03-12 11:10:11 +00:00
joshmoz%gmail.com
477cf561bf remove unnecessary exception handling code in unit test for bug 332389. r=jwalden 2007-03-12 09:19:40 +00:00
joshmoz%gmail.com
4679053296 xpcshell unit test for bug 332389, ensure that GetParent() returns nsnull at the top of the volume. patch by Wladimir Palant. b=332389 r=josh 2007-03-12 07:42:59 +00:00
jwalden%mit.edu
8aef0e3029 Bug 367467 - Allow inputstream generation at the end of data in a storage stream (i.e., so reading from the new stream automatically blocks/throws and doesn't even read any data). r=bsmedberg 2007-03-09 12:28:55 +00:00
jwalden%mit.edu
7eeed473b4 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg 2007-01-31 03:25:46 +00:00
sayrer%gmail.com
e4e974dc5a Bug 367608. implement nsIFile::normalize() on OS X. r=mano, sr=bsmedberg 2007-01-30 21:50:45 +00:00
jwalden%mit.edu
a53f200571 Bug 368158 - nsPipe XPCOM attributes are missing initialization checks. r+sr=darin 2007-01-29 20:08:50 +00:00
dveditz%cruzio.com
369c3dbf2e coverity-found potential use-after-free in testcases (bug 334541). r=bsmedberg 2007-01-26 02:50:18 +00:00
bent.mozilla%gmail.com
f79b2fa2c4 Bug 366592 - "Add comparison operators to external string API". r=bsmedberg. 2007-01-17 21:10:02 +00:00
gerv%gerv.net
caae487a24 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
cvshook%sicking.cc
636e4e6e5f Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
bzbarsky%mit.edu
75e2b326ac Fix some compiler bustage over here and eliminate compiler warnings by being
very clear that it's all unsigned.  No bug, r+sr=sicking
2006-11-04 05:14:55 +00:00
cvshook%sicking.cc
131b924b08 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook%sicking.cc
d6695ccad2 Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds. 2006-11-02 22:42:34 +00:00
cvshook%sicking.cc
26afccc177 Disable test_autoarray in non-debug builds since it relies on debug-only code 2006-11-02 20:26:05 +00:00
cvshook%sicking.cc
480afae792 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
cvshook%sicking.cc
b31519be79 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
timeless%mozdev.org
addef4e05f Bug 353137 TestVersionComparator.cpp: Warning: String literal converted to char* in assignment.
r=dougt
2006-09-22 07:44:03 +00:00
bzbarsky%mit.edu
2e8086a742 Remove no longer used tests so they stop confusing folks. Bug 347658, r+sr=darin 2006-08-08 16:44:29 +00:00
mark%moxienet.com
08de256cc5 Annoting tests where failure is expected (bug 347778 comments 3 and 5) 2006-08-08 16:43:41 +00:00
mark%moxienet.com
3faa5035a0 347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin 2006-08-07 21:27:09 +00:00
benjamin%smedbergs.us
0ce991da3a Bug 339105 - nsUnicharPtrHashKey, r=darin 2006-06-15 13:48:29 +00:00
benjamin%smedbergs.us
e0c5b54688 Bug 337731 - Make gnomevfs use frozen linkage, r=darin 2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us
0008d413fc Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:46:38 +00:00
benjamin%smedbergs.us
b4210273da Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
darin%meer.net
621c803bd5 fixes bug 327719 "Passing a big double serialize a rounded double" patch by afatecha@idea.com.py r=dbaron sr=darin 2006-03-15 14:23:11 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
darin%meer.net
f1141fd8e2 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding) 2006-02-08 01:23:26 +00:00
darin%meer.net
effdd39acc reverting last change since it makes vc6 unhappy. 2006-02-04 01:21:54 +00:00
darin%meer.net
e2bb3bb1e7 fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard and doesn't clear F_VOIDED flag" r=bzbarsky 2006-02-04 00:42:18 +00:00
darin%meer.net
7293ef5468 fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg 2006-02-03 21:41:31 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
darin%meer.net
c7c435dffa fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg 2006-01-30 17:16:50 +00:00
bryner%brianryner.com
ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
darin%meer.net
3f64b82bb8 fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg 2006-01-10 20:38:54 +00:00
bsmedberg%covad.net
642bc5b68e Fix bug 319068 bustage. 2005-12-13 18:27:04 +00:00
darin%meer.net
83d3a41589 fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg 2005-12-12 21:28:29 +00:00
darin%meer.net
7a0b170e56 fixes bug 319636 "Provide convenience function for consuming an entire nsIInputStream" r=biesi sr=bzbarsky 2005-12-09 21:35:27 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
bryner%brianryner.com
767508e177 Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me. 2005-11-28 20:27:42 +00:00
timeless%mozdev.org
eb9350f619 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
darin%meer.net
b69c78251e fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner 2005-11-23 19:44:16 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a7253270ad Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bsmedberg%covad.net
e54a5866ab Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin 2005-10-04 02:47:02 +00:00
bsmedberg%covad.net
a364b03e82 Followup to bug 300731 - parse negative numbers properly - patch by Justin Bradford <jabradford@gmail.com> r=shaver (+me) 2005-08-25 12:14:13 +00:00
bsmedberg%covad.net
f0d2e05a7e Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
bsmedberg%covad.net
8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
e9c48557e9 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
cbiesinger%web.de
170136bfb7 bug 63368 adds a "make check" rule to the build system, which currently runs necko unit tests + the version comparator tests
r=cls,bsmedberg a=bsmedberg
2005-08-11 16:41:54 +00:00
bsmedberg%covad.net
388a96ddaf Bug 304191 - VersionComparator is wrong comparing "1.2" and "1.2.2" - patch by Dave Townsend (Mossop), r+a=me, sr=shaver 2005-08-11 14:27:20 +00:00
bsmedberg%covad.net
137d918e93 --enable-tests bustage from bug 300731, r=cls 2005-07-23 18:44:37 +00:00
bsmedberg%covad.net
b3905512fd Bug 300731 - Change app/extension version scheme going forward, r=darin+shaver a=shaver 2005-07-23 14:05:25 +00:00
cbiesinger%web.de
2e7e16befb Bug 295047 Want unicode stream readers/writers: Makes nsIUnicharInputStream and
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
2005-06-24 19:44:50 +00:00
peterv%propagandism.org
555cc2a1f9 Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa. 2005-06-16 12:58:13 +00:00
darin%meer.net
b0d896c4cd fixes bug 292981 "Provide a scriptable interface to the Windows registry" r=neil,dougt a=chofmann 2005-05-16 21:23:09 +00:00
darin%meer.net
3b218b11f8 fixes bug 288786 "Add BeginWriting equivalent to frozen string API" r=biesi sr=dbaron a=asa 2005-04-27 01:38:35 +00:00
bsmedberg%covad.net
7e03c0b224 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
bsmedberg%covad.net
beadf6cd74 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end. 2005-04-01 18:22:57 +00:00
bryner%brianryner.com
f6b8fec0c7 Clean up xpfe/appshell, removing nsIWebShellWindow in the process. Bug 282200, r=danm, sr=bzbarsky. 2005-02-19 22:42:01 +00:00
darin%meer.net
dd78f625f5 landing xpcom patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=dbaron sr=jst 2005-02-02 22:18:37 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
brendan%mozilla.org
62e4a4e45f Whitespace cleanup (diff -w shows no changes). 2004-12-27 03:23:01 +00:00
timeless%mozdev.org
d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
darin%meer.net
90246214db fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
bsmedberg%covad.net
82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
darin%meer.net
52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
darin%meer.net
cff105e06c fixing win32 bustage (hopefully) 2004-09-29 20:24:53 +00:00
darin%meer.net
bf911ed5ea Adding testcase from bug 207846 2004-09-29 16:48:10 +00:00
caillon%redhat.com
2fdef090da These are C++ files; not IDL. rs=bzbarsky 2004-08-11 07:00:43 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
darin%meer.net
cdedae5f14 adding test for RFindCharInSet with no explicit offset parameter 2004-04-29 03:36:47 +00:00
neil%parkwaycc.co.uk
c27f4d336c Removing unused variables b=90906 p=gautheri@noos.fr r=dbradley sr=Henry.Jia 2004-04-21 11:16:04 +00:00
darin%meer.net
edc1e0d23c landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
darin%meer.net
e1596abc85 adding testcases for FindCharInSet and RFindCharInSet, bug 240837 2004-04-19 20:12:52 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net
72c1a2f196 Adding testcase for NS_CStringSetDataRange r=sparky 2004-04-13 22:14:54 +00:00
cbiesinger%web.de
a8c9d6354b bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
2004-04-13 19:13:49 +00:00
Stefan.Borggraefe%gmx.de
b3e05f4a70 Fix for Bug 227135: "TestCallTemplates crashes - erroneous test"
p=aku, r=dbaron
2004-04-12 22:15:25 +00:00
darin%meer.net
50c5f2be4e fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa 2004-04-11 20:52:32 +00:00
darin%meer.net
d3c91aae68 fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 20:47:48 +00:00
darin%meer.net
6a9b4c1c76 fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu 2004-03-04 07:54:22 +00:00
timeless%mozdev.org
014f0b61a7 Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt
2004-02-29 08:04:46 +00:00
darin%meer.net
80f8efd35c fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron 2004-02-25 03:24:29 +00:00
darin%meer.net
44ce35aebb 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.
2004-02-20 01:53:23 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com
85dbf281fb 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. 2004-02-11 06:19:03 +00:00
tor%cs.brown.edu
0cc458ef37 bustage fix 2004-02-07 03:06:25 +00:00
tor%cs.brown.edu
151ccda200 bustage fix 2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
bbf2ef596f 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
2004-02-07 02:41:10 +00:00
bryner%brianryner.com
c10588c67c sigh. 2004-01-15 06:56:39 +00:00
bryner%brianryner.com
9c6d198eba fixing windows test bustage 2004-01-15 06:43:38 +00:00
bryner%brianryner.com
0c7c3a2ff3 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. 2004-01-15 06:14:18 +00:00
bryner%brianryner.com
dac4fa30ed Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron. 2004-01-09 21:43:32 +00:00
dbaron%dbaron.org
8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
timeless%mozdev.org
d8323ba73f Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
darin%meer.net
cbcb460359 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
dougt%meer.net
ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
caillon%returnzero.com
4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
bsmedberg%covad.net
a82cd52521 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. 2003-06-18 11:26:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
bsmedberg%covad.net
22ee934b64 Attempting to fix Mac build bustage. 2003-04-24 03:29:19 +00:00
bsmedberg%covad.net
d1f638b36f 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
2003-04-24 01:54:57 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com
8c50d0242a 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
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
8bdd8c29d2 Bug 190058 Remove xpcom/tests/TestBuffers.cpp
r=darin sr=darin
2003-03-25 16:11:01 +00:00
peterlubczynski%netscape.com
f9e9c8ab3d Checking in fix to bug 198317 for Roland.Mainz@informatik.med.uni-giessen.de r=cls sr=jag 2003-03-22 03:39:40 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
a7bdb96a1d oops, and TestPermanentAtoms 2003-03-21 06:35:14 +00:00
alecf%netscape.com
d9331ea1a2 oops, land TestAtoms from the previous patch 2003-03-21 06:34:23 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
cls%seawood.org
d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
cls%seawood.org
d1079607df 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
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org
e2da493d4e Some compilers insist that AddRef and Release return |nsrefcnt| in order to get along with nsDerivedSafe. Hopefully fixing gcc 2.95 bustage. 2003-02-22 03:57:32 +00:00
dbaron%dbaron.org
05f4441e0d Remove tests with const template parameters. Should fix bustage on various ports. 2003-02-22 02:39:40 +00:00
bryner%netscape.com
e43f5a49fd 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. 2003-02-22 00:32:13 +00:00
timeless%mozdev.org
f8238d67cf 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.
2003-01-22 08:10:45 +00:00
timeless%mozdev.org
1d187936dc 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.
2003-01-22 07:51:44 +00:00
timeless%mozdev.org
c9b0d189e4 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.
2003-01-22 06:18:06 +00:00
dbaron%dbaron.org
d7151ab531 Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346 2003-01-18 16:20:26 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu
a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dougt%netscape.com
20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com
57e08a3f3a 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
2002-10-17 06:47:01 +00:00
dougt%netscape.com
07edb89a28 Not part of build 2002-10-14 17:41:00 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
301b1a4ca8 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
2002-08-07 06:08:00 +00:00
timeless%mac.com
651ae14d30 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
dbaron%fas.harvard.edu
6d2263f19b 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 2002-06-26 03:38:55 +00:00
alecf%netscape.com
fb9525040a 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
2002-06-20 20:35:37 +00:00
neeti%netscape.com
8b9e37be96 fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer 2002-06-04 18:47:37 +00:00
bryner%netscape.com
4858d2ec5f Fixing mcafee's windows bustage. 2002-05-08 08:13:32 +00:00
mcafee%netscape.com
2edef16b2f Moving PropertiesTest.cpp to netwerk/test (142680). r=cls, a=alecf 2002-05-08 06:13:40 +00:00
mcafee%netscape.com
8ab8908bdc Moving necko PropertiesTest over to netwerk. Remove toplevel xpcom/tests dirs hack. (142680) r=cls, a=alecf 2002-05-08 06:11:48 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
seawood%netscape.com
c0ec608df6 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
2002-04-25 02:52:44 +00:00
timeless%mac.com
4d7443c061 Bug 137495 TestDeque tries to delete a static class
r=caillon rs=darin
2002-04-16 12:05:43 +00:00
dougt%netscape.com
2dbd1edd63 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com 2002-04-15 22:26:29 +00:00
dbaron%fas.harvard.edu
6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
bryner%netscape.com
3fb226c592 Ignore test binaries. a=leaf. 2002-03-09 00:07:17 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
timeless%mac.com
fdd0e1f8d6 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.
2002-02-20 14:29:12 +00:00
cathleen%netscape.com
8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
dbaron%fas.harvard.edu
a16ddfb189 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 2002-02-20 03:20:04 +00:00
timeless%mac.com
387c5fb169 Bug 114166 Test app for nsDeque
rs=alecf
2002-02-20 03:09:40 +00:00
timeless%mac.com
abdca2b41a Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
alecf%netscape.com
8c0ab1d965 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
2002-02-18 22:57:47 +00:00
dbaron%fas.harvard.edu
59892aa65e 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 2002-02-16 16:18:13 +00:00
alecf%netscape.com
940a7ee5b6 bug 63025 - stop testing some stuff that I'm ripping out of xpcom 2002-02-15 00:27:32 +00:00
timeless%mac.com
92bbd3b2c2 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
pete%alphanumerica.com
1c193bb29f r=dougt
This file is very old and very outdated. Please use jslib for local file i/o
jslib.mozdev.org.

Not part of the build

--pete
2002-02-01 00:30:25 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com
c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
dbaron%fas.harvard.edu
3a1721ec4d Adding more tests. Not part of the build. 2002-01-09 22:15:22 +00:00
mcafee%netscape.com
0ff7ca1b24 Ignore generated files 2001-12-29 03:21:06 +00:00
dbaron%fas.harvard.edu
7a72f2d9f4 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
fe4f079813 Fix bustage 2001-12-17 08:10:57 +00:00