cst%yecc.com
cfde75b236
Bug 258058
...
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
git-svn-id: svn://10.0.0.236/trunk@199104 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 13:26:26 +00:00
benjamin%smedbergs.us
90b9f9df6a
Fix review nit
...
git-svn-id: svn://10.0.0.236/trunk@198053 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us
82c28d4d10
Bug 337730 - add additional utilities to nsStringAPI, r=darin
...
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
git-svn-id: svn://10.0.0.236/trunk@198051 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 22:37:17 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
dbaron%dbaron.org
f8c5ee69f1
Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@196106 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:49:21 +00:00
benjamin%smedbergs.us
dd146efb7b
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
git-svn-id: svn://10.0.0.236/trunk@195900 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:11:14 +00:00
dbaron%dbaron.org
f5d221deac
Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@194715 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 21:46:47 +00:00
benjamin%smedbergs.us
59e55aa87f
Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@194682 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 16:29:31 +00:00
benjamin%smedbergs.us
6e24a5d20a
Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
darin%meer.net
70deb5f58d
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
benjamin%smedbergs.us
f38d52b5e3
Bug 332135 - atomservice should provide utf8 accessors, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@193265 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 15:22:42 +00:00
benjamin%smedbergs.us
b191073e47
Bug 326491 - leaked observer service leaks things on shutdown - r=darin
...
git-svn-id: svn://10.0.0.236/trunk@192696 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 14:43:56 +00:00
dougt%meer.net
b1bcf2f41e
Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie
...
git-svn-id: svn://10.0.0.236/trunk@192601 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-19 02:52:30 +00:00
darin%meer.net
062617bb4b
fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin
...
git-svn-id: svn://10.0.0.236/trunk@192137 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 05:30:57 +00:00
darin%meer.net
119bbaf729
backing out bsmedberg's patch for bug 326491 to fix bug 329505.
...
git-svn-id: svn://10.0.0.236/trunk@192045 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us
c4b2b6637f
Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@191774 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 14:04:05 +00:00
timeless%mozdev.org
af51e73d0e
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
520c94426a
Bug 289571 Optimization for nsRecyclingAllocator
...
patch by alfredkayser@nl.ibm.com r=dougt sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186484 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 00:08:21 +00:00
bsmedberg%covad.net
1c2785149d
Followup to bug 319024 - I double-reversed the list
...
git-svn-id: svn://10.0.0.236/trunk@186030 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 00:59:06 +00:00
bsmedberg%covad.net
3bb7520bca
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
...
git-svn-id: svn://10.0.0.236/trunk@186016 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 21:12:41 +00:00
bsmedberg%covad.net
d6b9b86cbc
Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@185455 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 18:51:27 +00:00
timeless%mozdev.org
dae7b0629a
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
44f9ea7743
Backing out the rest of 316414 due to persistent orange.
...
git-svn-id: svn://10.0.0.236/trunk@185216 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 21:37:16 +00:00
bsmedberg%covad.net
7ed5ee90fe
Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@185199 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 14:32:18 +00:00
bsmedberg%covad.net
bbf7fb0c53
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
...
git-svn-id: svn://10.0.0.236/trunk@184904 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 14:18:49 +00:00
dougt%meer.net
1dddcf97d5
Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org
...
git-svn-id: svn://10.0.0.236/trunk@184783 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 21:27:11 +00:00
bzbarsky%mit.edu
43f03b908f
Fix HashCodeAsUTF8 to work properly for non-BMP stuff, and update it to the
...
current UTF8 spec. Bug 316573, r=smontagu, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184747 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:31:54 +00:00
bsmedberg%covad.net
0217e2f9a9
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
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
112c33275c
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.
...
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
9af8442fc0
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.
git-svn-id: svn://10.0.0.236/trunk@184156 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net
3928346420
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
...
git-svn-id: svn://10.0.0.236/trunk@184053 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 20:39:39 +00:00
bsmedberg%covad.net
d15fe4686d
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
git-svn-id: svn://10.0.0.236/trunk@184052 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 20:38:21 +00:00
cvshook%sicking.cc
84c1b0ed9d
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
git-svn-id: svn://10.0.0.236/trunk@182510 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc
1b2c2f65e8
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
git-svn-id: svn://10.0.0.236/trunk@182506 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 23:45:14 +00:00
bsmedberg%covad.net
951453c7af
Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin
...
git-svn-id: svn://10.0.0.236/trunk@181588 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 17:19:14 +00:00
peterv%propagandism.org
9d15dc1e32
Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@181126 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 13:13:27 +00:00
bsmedberg%covad.net
f5a3c325b8
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
...
git-svn-id: svn://10.0.0.236/trunk@177766 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:29:55 +00:00
bsmedberg%covad.net
66a3f64ab0
Backout bug 299992 - too much odd platform-specific bustage
...
git-svn-id: svn://10.0.0.236/trunk@177597 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:19:19 +00:00
bsmedberg%covad.net
bb73805324
Backout bug 299992 - too much odd platform-specific bustage
...
git-svn-id: svn://10.0.0.236/trunk@177596 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:07:08 +00:00
bsmedberg%covad.net
b80f390773
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
...
git-svn-id: svn://10.0.0.236/trunk@177591 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:40:53 +00:00
joshmoz%gmail.com
629699c509
don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176401 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:02:52 +00:00
darin%meer.net
9c1e6e4a44
fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176396 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 16:54:39 +00:00
joshmoz%gmail.com
23521c8822
Remove Mac OS classic code. r=josh a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175065 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 23:42:02 +00:00
dougt%meer.net
5ad50e9b43
* 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
git-svn-id: svn://10.0.0.236/trunk@174725 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:20:45 +00:00
bsmedberg%covad.net
8014e29410
Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174516 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 18:39:19 +00:00
cbiesinger%web.de
6673ed9c8e
289844 fixing MIPSpro bustage: include nsIVariant.h before using it in an nsBaseHashtable
...
r+sr+a=shaver
git-svn-id: svn://10.0.0.236/trunk@174161 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-05 18:55:41 +00:00
mrbkap%gmail.com
030d071cd2
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
...
git-svn-id: svn://10.0.0.236/trunk@173983 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:08:53 +00:00