reed@reedloden.com
59d2451ae9
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
reed@reedloden.com
b60e8823f4
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
benjamin@smedbergs.us
25928c5f24
Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron
2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu
672e66c2d2
Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon
2007-09-30 14:34:56 -07:00
dholbert@cs.stanford.edu
e81193d88b
Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits. r=bz sr=roc blocking1.9=dbaron
2007-09-25 10:12:17 -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
roc+@cs.cmu.edu
8f30adbc19
Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead).
2007-09-18 17:24:27 -07:00
roc+@cs.cmu.edu
9972360428
Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
2007-09-18 16:12:06 -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
sharparrow1@yahoo.com
9f9b12bd99
Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky.
2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com
b2aaa876db
Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky.
2007-09-05 18:13:42 -07:00
jwalden@mit.edu
d09c44d69c
Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
2007-09-04 23:41:35 -07:00
pavlov@pavlov.net
4901eb7dd6
bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca>
2007-08-28 13:44:12 -07:00
sharparrow1@yahoo.com
fe9a203e49
Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky
2007-08-07 12:16:52 -07:00
benjamin@smedbergs.us
5fb457dd7e
Bug 386025 - Expose cycle-collection symbols, r=graydon
2007-08-06 07:34:02 -07:00
jonas@sicking.cc
1d3132db39
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
2007-07-26 15:20:29 -07:00
jst@mozilla.org
0240a7e8d9
Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org
2007-07-11 13:46:43 -07:00
neil@parkwaycc.co.uk
10de8387c8
Followup to bug 348748 to fix the alignment of trailing backslashes in macros
...
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -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
sharparrow1@yahoo.com
6fc71d4edd
Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc
2007-07-01 22:22:51 -07:00
sdwilsh@shawnwilsher.com
fc5b52d4f2
Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger
2007-06-26 17:45:52 -07:00
wtc@google.com
10490a7e00
Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved fromprerror.h to prlog.h. r=jwalden sr=roc
2007-05-28 07:51:08 -07:00
peterv@propagandism.org
5acbaf5478
Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
2007-05-24 07:10:02 -07:00
asqueella@gmail.com
4f83fa46f3
Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt
2007-05-13 09:48:39 -07:00
smontagu@smontagu.org
3c0f9b5c0b
Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin. Recheckin including fix for bug 378839, r=bsmedberg, sr=biesi
2007-04-29 10:51:38 -07:00
smontagu@smontagu.org
9e38adda2c
Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC
2007-04-26 11:56:30 -07:00
bent.mozilla@gmail.com
2c4edbd812
Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
2007-04-26 06:53:48 -07:00
smontagu@smontagu.org
93a55d9d3b
Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin
2007-04-25 07:48:12 -07:00
jwalden@mit.edu
9de7196002
Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc
2007-04-12 15:19:26 -07:00
sayrer@gmail.com
13219592fa
Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky
2007-03-28 22:33:45 -07:00
dbaron@dbaron.org
ea80210b60
Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg
2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
d98d9fdec5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
peterv@propagandism.org
12431cf555
Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron.
2007-03-27 02:49:06 -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
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
peterv%propagandism.org
a267e57680
Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
2007-03-09 13:14:06 +00:00
pavlov%pavlov.net
73157b52b7
adding new round/ceil/floor that behave like (or call through to) the libc versions. splitting them out in to a file so they don't have a dependency on nscoord. bug 372027. r=vlad, sr=roc, r=bsmedberg
2007-02-28 20:57:13 +00:00
peterv%propagandism.org
3e4c261c01
Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan.
2007-02-18 20:05:32 +00:00
jshin%mailaps.org
88da57650a
bug 359808 : drop support for Win9x/ME (get rid of 'A' API code) : r=darin, sr=dougt, sr=darin
2007-02-08 17:48:22 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
asqueella%gmail.com
f491e43897
Bug 368310 - Remove the obsolete Windows "A" style API calls in nsWindowsRegKey
...
patch by Ryan Jones <bugs@ryan-jones.com>
r+sr=bsmedberg
2007-01-31 21:02:48 +00:00
timeless%mozdev.org
05804e5bfe
Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
...
r=darin
2006-12-21 07:03:23 +00:00
cbiesinger%web.de
189a0004b8
bug 275116 use the safe version of ObjectAt as required by the documentation
...
patch by Andreas Lange <mozilla@lange.cx> r=darin sr=biesi
2006-12-17 21:59:26 +00:00
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