Граф коммитов

1637 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu d0d7201c0d Fix error in previous patch for bug 348691. Reviews pending. 2006-12-15 21:39:30 +00:00
bzbarsky%mit.edu 66c675dd7f Make nsAString lookups in nsStaticCaseInsensitiveNameTable a little faster.
Bug 348691, r+sr=dbaron
2006-12-12 22:47:16 +00:00
allan%beaufour.dk 095024f1b6 Add NSPR debug info to nsObserverService. Bug 361490, r=darin 2006-11-23 08:43:28 +00:00
timeless%mozdev.org c2c65a7011 Bug 350908 setStringProperty() in nsIPersistentProperties2.idl needing comments
patch by gaomingcn@gmail.com r=dougt
2006-10-11 17:21:38 +00:00
mats.palmgren%bredband.net 2cc99b4386 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
cbiesinger%web.de c6c3784f35 350330 remove unused NS_IPROPERTYELEMENT_CID
r+sr=darin
2006-08-31 00:17:23 +00:00
sayrer%gmail.com fc7f10ffb6 Bug 3344605. nsIPropertyBag2 should grow a non-throwing get() and hasKey(). r=darin, sr=shaver 2006-08-20 16:42:08 +00:00
gavin%gavinsharp.com 77e21bbf92 Bug 347734: remove unused variable, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=bsmedberg 2006-08-11 20:40:51 +00:00
benjamin%smedbergs.us ef6b6ab3b4 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
cbiesinger%web.de 4b1e73757c Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <ak.miller@auckland.ac.nz> r=dougt sr=brendan
2006-08-04 17:20:27 +00:00
benjamin%smedbergs.us c9125873ca Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
roc+%cs.cmu.edu b3e499d2c6 Bug 344206. Fix unit coversion Ceil/Floor functions to use floor() and ceil() because the current scheme is nonsense. r=vlad 2006-07-13 08:03:04 +00:00
cst%yecc.com 6b66156a30 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
2006-06-06 13:26:26 +00:00
benjamin%smedbergs.us 135baa7fce Fix review nit 2006-05-19 22:47:53 +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
dbaron%dbaron.org e22e27fc35 Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan 2006-05-06 17:49:21 +00:00
benjamin%smedbergs.us 08887664c9 Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
dbaron%dbaron.org 19cdeba085 Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan 2006-04-19 21:46:47 +00:00
benjamin%smedbergs.us 8826418990 Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner 2006-04-19 16:29:31 +00:00
benjamin%smedbergs.us 70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
benjamin%smedbergs.us 3f0439ed89 Bug 332135 - atomservice should provide utf8 accessors, r=darin 2006-03-30 15:22:42 +00:00
benjamin%smedbergs.us 094c06b97d Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
dougt%meer.net db0f13d809 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
darin%meer.net 5625eac67e fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:30:58 +00:00
darin%meer.net 160c228151 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us ac2cdadfb2 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +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
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
timeless%mozdev.org a48dff0654 Bug 289571 Optimization for nsRecyclingAllocator
patch by alfredkayser@nl.ibm.com r=dougt sr=dbaron
2005-12-23 00:08:21 +00:00
bsmedberg%covad.net af5a5a9521 Followup to bug 319024 - I double-reversed the list 2005-12-14 00:59:06 +00:00
bsmedberg%covad.net 615da26151 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin 2005-12-13 21:12:41 +00:00
bsmedberg%covad.net 1b077c22fa Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin 2005-11-30 18:51:27 +00:00
timeless%mozdev.org 9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +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
bsmedberg%covad.net 20b7e83c42 Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg%covad.net f53711438a Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin 2005-11-23 14:32:18 +00:00
bsmedberg%covad.net c0af4ff1aa Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin 2005-11-18 14:18:49 +00:00
dougt%meer.net d5b7ea310f Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org 2005-11-16 21:27:11 +00:00
bzbarsky%mit.edu 776e34abab Fix HashCodeAsUTF8 to work properly for non-BMP stuff, and update it to the
current UTF8 spec.  Bug 316573, r=smontagu, sr=jst
2005-11-16 02:31:54 +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
bzbarsky%mit.edu aee1056ad7 Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
hashtable lookups zero-copy.  Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net 7112d805ca Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue: nsVoidArray.h nsVoidArray.cpp nsCOMArray.h nsCOMArray.cpp nsQuickSort.h nsQuickSort.cpp 2005-11-02 20:39:39 +00:00
bsmedberg%covad.net acf28ad4d1 Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
cvshook%sicking.cc d9f7354f6b Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc 75d7bc1a39 Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
r=rjesup sr=jst
2005-10-18 23:45:14 +00:00
bsmedberg%covad.net 14640d7793 Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin 2005-10-04 17:19:14 +00:00
peterv%propagandism.org 8702e6b0aa Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +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 00ed92f8a2 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:19:19 +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
joshmoz%gmail.com 275e8624be don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
darin%meer.net c2ff4e354b fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg 2005-07-21 16:54:39 +00:00
joshmoz%gmail.com 4a9863a471 Remove Mac OS classic code. r=josh a=bsmedberg 2005-06-23 23:42:02 +00:00
dougt%meer.net d1460e3a0a * Fixes some build problems when trying to build non-static. (removing link
libraries that don't exist on Windows CE)

* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)

* Windows CE on ARM doesn't support C++ exceptions.  In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla.  On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.

* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.

* Disabling more code in nsOSHelperAppService for Windows CE.

* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).

Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa
2005-06-16 21:20:45 +00:00
bsmedberg%covad.net 84a2c9fc02 Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa 2005-06-13 18:39:19 +00:00
cbiesinger%web.de c779b4ab1e 289844 fixing MIPSpro bustage: include nsIVariant.h before using it in an nsBaseHashtable
r+sr+a=shaver
2005-06-05 18:55:41 +00:00
mrbkap%gmail.com 550985b369 bug 288460: Make ScanDocStructure() more strict about tags that break the ShouldVerifyHeirarchy check and mark all children of the tag as malformed so that its children don't think they're well formed. r=rbs sr=bzbarsky a=shaver 2005-06-01 21:08:53 +00:00
bryner%brianryner.com d9035a7667 fix vc6 debug build bustage, r=darin 2005-05-17 19:15:17 +00:00
darin%meer.net d96f04776d fixing VC6 build bustage 2005-05-16 23:00:47 +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
timeless%mozdev.org cd198e6b42 Bug 243904 SOAP code problem with null, unpositioned array item
patch by chantepie@altern.org r=doron sr=jst a=asa
2005-05-02 19:42:26 +00:00
pedemont%us.ibm.com d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
dbaron%dbaron.org 50acbb058e Fix leak regression from yesterday: derived classes use NS_IMPL_RELEASE_INHERITED, which relies on destructor being virtual. r+sr=bzbarsky a=brendan b=283489 2005-04-06 18:12:57 +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
Olli.Pettay%helsinki.fi 5605311ce4 Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf 2005-03-31 22:00:15 +00:00
cbiesinger%web.de ce4140de8d 270224 create nsIPropertyBag2 for easier getting of values from a propertybag
r=shaver sr=darin
2005-03-22 18:16:53 +00:00
bzbarsky%mit.edu 29fc84c184 Don't use locale-dependent methods to convert variants to strings. Bug 282245,
r=peterv, sr=dbaron
2005-02-22 20:11:52 +00:00
bzbarsky%mit.edu a86e2f619e Remove unnecessary UTF8-to-UTF16 method and just reuse our string classes. Bug
278835, r=dougt, sr=darin
2005-02-20 17:09:10 +00:00
gerv%gerv.net c9e600ac91 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 15:28:15 +00:00
timeless%mozdev.org 1f8b801a07 Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
patch by mikael@parknert.se r=darin sr=bz
2005-01-20 21:39:23 +00:00
timeless%mozdev.org aa1bea7776 Bug 245283 Add a * topic for the observerservice
r=dougt
2005-01-14 11:25:05 +00:00
cbiesinger%web.de 8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
neil%parkwaycc.co.uk 3aa229256f Bug 255593 Add ReplaceElementAt to nsIMutableArray plus comment fixes p=eyalroz@technion.ac.il r=darin sr=bienvenu 2005-01-01 17:57:00 +00:00
shaver%mozilla.org df7a7220b4 Bug 274679: ensure that nsHashPropertyBag's inner property hash is properly
initialized before enumerating. r=vlad/sr=darin.
2004-12-15 20:03:39 +00:00
pedemont%us.ibm.com 15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
vladimir%pobox.com 86363e20d8 b=266085, nsIWritablePropertyBag interface and hashtable component implementation; r=darin,sr=shaver 2004-11-24 23:21:14 +00:00
roc+%cs.cmu.edu 5b10c8c493 Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky 2004-11-03 02:48:04 +00:00
cbiesinger%web.de 3f64219c22 fixing gcc 3.4 bustage with --enable-timeline, bug 261293 2004-11-01 22:37:14 +00:00
dveditz%cruzio.com dda30fd22f bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
darin%meer.net 3eb2f75165 fixes bug 263957 "Convert nsProperties to nsTHashtable, implement GetKeys" r=bsmedberg sr=shaver 2004-10-25 19:52:48 +00:00
bzbarsky%mit.edu 608e73b236 nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2004-10-24 17:24:25 +00:00
dbaron%dbaron.org 3118860f30 Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2004-09-14 17:17:21 +00:00
vladimir%pobox.com 3e8d2f24f4 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver 2004-08-30 22:25:29 +00:00
timeless%mozdev.org 2bc735d388 Bug 238963 nsObserverList::GetObserverList should return OOM on failure
r=dougt
2004-07-30 02:43:13 +00:00
cbiesinger%web.de df64131ac2 Bug 198694 make nsTime inherit from nsInt64
r=bsmedberg sr=dougt
2004-07-28 21:33:28 +00:00
mkaply%us.ibm.com ae6ca1e908 This stuff doesn't work on OS/2 and is causing thousands of warnings errors 2004-07-22 20:27:48 +00:00
cbiesinger%web.de f59c8b4564 Bug 251277 add a Clear() function to remove all elements from an nsValueArray
r=bsmedberg sr=dougt
2004-07-21 12:30:52 +00:00
gerv%gerv.net c01bb2d438 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
dbaron%dbaron.org 4c9caa3458 Only use __attribute__ on gcc 3 or higher. Fixing bustage. b=249652 2004-07-15 00:00:43 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
cbiesinger%web.de 41bff105d2 bug 245927 add nsUint64, similar to nsInt64
r=bsmedberg sr=darin
2004-06-26 18:32:15 +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
jst%mozilla.jstenback.com d7c3908a90 Fixing part of bug 241157. Making it valid for an nsIVariant to hold a interface pointer pointing to null. r=ben@bengoodger.com, sr=darin@meer.net. 2004-05-21 21:19:13 +00:00
caillon%redhat.com 178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
jst%mozilla.jstenback.com 30f4e1ec2d Yet one more part for bug 243484. Clean up some string handling code in nsVariant, and do some other generic cleanup too. r+sr=peterv@propagandism.org 2004-05-13 22:52:14 +00:00
darin%meer.net 96c93347b1 fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg 2004-04-27 17:07:42 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cls%seawood.org e887c496ee Fix mingw 3.3.1/3.3.3 bustage.
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
2004-03-16 08:07:25 +00:00
cls%seawood.org 3977ae5a71 Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org 8e702f20f2 Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Bug #226609 r=shaver sr=dbaron a=chofmann
2004-03-15 23:47:04 +00:00
timeless%mozdev.org b99905cda6 Bug 235271 nsTimelineService - Warning (Anachronism): Formal argument ... of type extern "C" in call to ...(..., extern "C"...) is being passed something else
r=dbaron sr=dbaron
2004-03-08 07:27:06 +00:00
brendan%mozilla.org 65bbfda81a Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin). 2004-02-25 23:38:40 +00:00
jshin%mailaps.org e5dab37fe0 bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2004-02-20 01:54:55 +00:00
jshin%mailaps.org a99b882982 bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs) 2004-02-19 10:50:20 +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 ac9cbd3e87 Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem. 2004-02-13 19:04:38 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
ccarlen%mac.com 90910fcb46 Bug 161982 - need an autobuffer impl available to all code. This is a template version of nsSpillableStackBuffer, which is defined in more than 1 place. r=brade/sr=bryner 2004-02-06 20:15:59 +00:00
jshin%mailaps.org 0f9983b873 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2004-02-06 09:49:22 +00:00
bryner%brianryner.com 6e68ebaa46 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 0ca4d12034 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
neil%parkwaycc.co.uk d83422b6c2 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf 2004-01-31 12:37:36 +00:00
bryner%brianryner.com a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
tor%cs.brown.edu 285c42cad8 Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner 2004-01-16 23:32:25 +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
brendan%mozilla.org 1d61995445 Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification. 2004-01-15 02:00:55 +00:00
bryner%brianryner.com e078b585e3 Remove unused nsStatistics (bug 230599). r=dougt, sr=jst. 2004-01-13 20:59:10 +00:00
bryner%brianryner.com da21ab0661 Remove unused PLVector and nsVector (bug 230556). r=dougt,sr=dbaron 2004-01-12 22:47:52 +00:00
bzbarsky%mit.edu 385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00
bryner%brianryner.com dac4fa30ed Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron. 2004-01-09 21:43:32 +00:00
bryner%brianryner.com 00aae51b9d removing dead file. not part of the build. 2004-01-09 09:06:23 +00:00
roc+%cs.cmu.edu 7cbc0c61b9 Bug 118117. Fix bad constants. patch by tenthumbs, r=roc,sr=bz 2004-01-09 04:37:19 +00:00
bzbarsky%mit.edu 7d1f0c7ed2 Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf 2004-01-05 23:43:28 +00:00
cbiesinger%web.de 55abef3994 addressing the reviewer comments 2003-12-29 13:22:49 +00:00
cbiesinger%web.de b3516a4418 bug 228794, r=bsmedberg sr=alecf
add nsInterfaceHashtable::GetWeak
2003-12-29 13:21:21 +00:00
peter%propagandism.org 45f50dbc47 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:56:23 +00:00
timeless%mozdev.org 6896eb831f Bug 226169 DRefTool analysis for timeline files
r=roc sr=roc
2003-12-21 06:17:28 +00:00
jshin%mailaps.org 4e090b9734 bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor) 2003-12-10 21:27:01 +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
bzbarsky%mit.edu 6e374aa4e1 Don't use precision so high it gets rounded in a way we don't want. Bug
118117, r+sr=roc
2003-11-15 21:51:39 +00:00
sicking%bigfoot.com 56ad1b1cba Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
r=bryner sr=alecf
2003-11-13 17:01:20 +00:00
bsmedberg%covad.net 2034fc15f9 Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2003-11-03 16:46:13 +00:00
dbaron%dbaron.org 3ca027dcc3 nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner 2003-10-07 23:17:58 +00:00
dougt%meer.net 1d91b8a1dd add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535 2003-10-07 05:42:28 +00:00
pkw%us.ibm.com bbef938929 Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
files correctly. This is a better patch than the original one.
r=darin@meer.net, sr=alecf@flett.org
2003-09-25 16:28:06 +00:00
pkw%us.ibm.com f47146b27c Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
files correctly. Checking in the first patch in this bug to ensure there
are no major regressions.
r=darin@meer.net, sr=alecf@flett.org
2003-09-22 16:28:55 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +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
bsmedberg%covad.net c174638b2d Bug 212919 - Fix const issues in nsDataHashtable on MSVC7 (I'm surprised other
compilers didn't barf already!) r=swalker sr=scc a=asa
2003-08-09 19:24:24 +00:00
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
dougt%meer.net b74426322b this shouldn't have been checked in 2003-08-05 06:34:54 +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
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
timeless%mozdev.org 6e7848a3aa Bug 211276 nsStaticCaseInsensitiveNameTable::Init doesn't check the return value of PL_DHashTableInit Last
r=alecf sr=dbaron
2003-07-14 21:21:54 +00:00
timeless%mozdev.org ffc2007ca1 Bug 211277 nsPersistentProperties::nsPersistentProperties doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:07:31 +00:00
bzbarsky%mit.edu 29080c9146 Fixing think-o. 2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu 401365f06a Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
encoding to do (has a non-ascii spec segment).  Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
timeless%mozdev.org 2f6f278787 Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-07-03 14:45:01 +00:00
bsmedberg%covad.net 97601586ac Bug 210337 part 2: remove unused nsObserver r=alecf/dougt 2003-06-23 20:47:45 +00:00
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
jaggernaut%netscape.com 6d16320259 Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
kyle.yuan%sun.com a1bc56e855 Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
2003-06-20 01:26:00 +00:00
bsmedberg%covad.net 581fce1582 Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
also remove unused configure test. r=dbaron sr=alecf
2003-06-19 18:42:23 +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
alecf%flett.org 63cdbb3203 fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16 2003-06-18 02:22:46 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brendan%mozilla.org 33cce84916 Disable DEBUG_brendan stuff. 2003-05-30 20:25:42 +00:00
alecf%flett.org 8fa1bb278e remove these files, they aren't built any more 2003-05-30 06:00:51 +00:00
bsmedberg%covad.net 1ec4879a62 bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf 2003-05-26 23:36:19 +00:00
dougt%meer.net ad4efabeb5 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
bsmedberg%covad.net 110776c7d6 Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer 2003-05-11 01:28:03 +00:00
bsmedberg%covad.net a063aaffd5 Fixing AIX bustage. r=jdunn a=mkaply/ycalonje 2003-04-24 16:01:24 +00:00
bsmedberg%covad.net d0b580c34a Fix for mac build bustage, with ccarlen. Cleanup from bug 201034. 2003-04-24 05:27:10 +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
mkaply%us.ibm.com fcc51f8013 OK, should be final - need PR_CALLBACK here 2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com 2df9fd3c2d Putting this back because I think it might break stuff - OS/2 will be broke however 2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com 43cb1a0e6d One more PR_CALLBACK 2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com 93f248fd4f OS/2 bustage - PR_CALLBACK stuff 2003-04-23 04:33:14 +00:00
bsmedberg%covad.net c47f659d09 forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin. 2003-04-10 14:14:32 +00:00
bsmedberg%covad.net 2fe15728d7 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au 9e50b7b363 Fix bug 200893 - Timeline Service is not thread aware,
and bug 200204 - Timeline service should expose NS_TIMELINE_MARK_TIMER1
sr=alecf, r=alecf/dougt
2003-04-10 05:39:46 +00:00
jkeiser%netscape.com 02767a1d4f Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-05 00:16:32 +00:00
alecf%netscape.com 6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +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 0be7c71e1a remove #ifdef NS_DEBUG as per bug 200241
code was already reviewed, just moved out of #ifdef per bryner
2003-04-02 15:47:16 +00:00
seawood%netscape.com a9dc22843a msgCore.h seems to think that os2 has isalpha() too 2003-04-02 08:31:39 +00:00
jkeiser%netscape.com 57a1ab6f5c Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-02 06:53:57 +00:00
seawood%netscape.com 4957953e70 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +00:00
alecf%netscape.com 458bf37a3e one more thing for bug 195262 - export nsStaticAtom.h - not used anywhere yet 2003-03-25 21:46:33 +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
neil%parkwaycc.co.uk 25738e0473 Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed) 2003-03-25 13:16:02 +00:00
alecf%netscape.com 1e90f98296 just relanding this file - not part of build yet - to make relanding bug 195262 easier
(its been r=dbaron, sr=darin'ed already)
2003-03-21 20:35:14 +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 8d478bc8fc oops, don't free the arena pool if we never allocated it!
duh.
fixes a shutdown crash
2003-03-21 08:38:56 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu 95563f3ca8 fix build bustage 2003-03-20 03:40:26 +00:00
alecf%netscape.com 799163824a fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com, r/sr=alecf
2003-03-20 02:34:11 +00:00
dougt%netscape.com aa98f0a05f didn't want to check this in per darin 2003-03-15 02:31:17 +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
rginda%netscape.com 500958a09b bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +00:00
alecf%netscape.com fe6074f0b4 fix for bug 173601 - nsIStringEnumerator implementation
r=dougt, sr=darin
Yes, this will cause a code size increase.. but it is for some upcoming interface freezes...
2003-03-10 21:09:31 +00:00
brendan%mozilla.org ae0c4d3804 Reorder static and const to match tradition; reomve DEBUG_brendan cruft. 2003-03-08 01:28:02 +00:00
timeless%mozdev.org 39a2ea215a Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf
2003-03-07 01:17:27 +00:00
alecf%netscape.com 5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00