1510 Commits

Author SHA1 Message Date
jst%mozilla.org
9c54b2dff6 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@229744 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 20:46:43 +00:00
neil%parkwaycc.co.uk
998c53a562 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)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com
9f75e7a68b Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229128 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 05:22:51 +00:00
sdwilsh%shawnwilsher.com
b28cc5d2f9 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
git-svn-id: svn://10.0.0.236/trunk@228796 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:45:52 +00:00
wtc%google.com
bdb745e44d Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved from
prerror.h to prlog.h. r=jwalden sr=roc


git-svn-id: svn://10.0.0.236/trunk@227112 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 14:51:08 +00:00
peterv%propagandism.org
cae5ba4341 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:10:04 +00:00
asqueella%gmail.com
40f914a66d Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argument
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=darin, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@226357 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:48:39 +00:00
smontagu%smontagu.org
51eda83633 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
git-svn-id: svn://10.0.0.236/trunk@225228 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 17:51:38 +00:00
smontagu%smontagu.org
ca062bd6b8 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC
git-svn-id: svn://10.0.0.236/trunk@225103 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 18:56:30 +00:00
bent.mozilla%gmail.com
84bf540501 Bug 377995 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@225089 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 13:53:48 +00:00
smontagu%smontagu.org
148de41ea7 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@225008 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 14:48:12 +00:00
jwalden%mit.edu
3c39115095 Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224470 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 22:19:26 +00:00
sayrer%gmail.com
ca9fad66bb Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@222580 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 05:33:45 +00:00
dbaron%dbaron.org
5948490569 Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222463 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:34:15 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
peterv%propagandism.org
3fa85f1e05 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@222453 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 09:49:06 +00:00
roc+%cs.cmu.edu
ed9e4d793e Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@222444 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:38:21 +00:00
peterv%propagandism.org
fbe71aa7e3 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
pavlov%pavlov.net
6e50282a93 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
git-svn-id: svn://10.0.0.236/trunk@221091 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 20:57:13 +00:00
peterv%propagandism.org
de048b9d64 Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@220522 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 20:05:32 +00:00
jshin%mailaps.org
9df6b480dc bug 359808 : drop support for Win9x/ME (get rid of 'A' API code) : r=darin, sr=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@219724 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 17:48:22 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
asqueella%gmail.com
d4ac305796 Bug 368310 - Remove the obsolete Windows "A" style API calls in nsWindowsRegKey
patch by Ryan Jones <bugs@ryan-jones.com>
r+sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@219290 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 21:02:48 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
cbiesinger%web.de
bb74327ee2 bug 275116 use the safe version of ObjectAt as required by the documentation
patch by Andreas Lange <mozilla@lange.cx> r=darin sr=biesi


git-svn-id: svn://10.0.0.236/trunk@217102 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 21:59:26 +00:00
bzbarsky%mit.edu
ea96e4cb5d Fix error in previous patch for bug 348691. Reviews pending.
git-svn-id: svn://10.0.0.236/trunk@217030 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 21:39:30 +00:00
bzbarsky%mit.edu
5a40a60434 Make nsAString lookups in nsStaticCaseInsensitiveNameTable a little faster.
Bug 348691, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@216910 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:47:16 +00:00
allan%beaufour.dk
34472477d0 Add NSPR debug info to nsObserverService. Bug 361490, r=darin
git-svn-id: svn://10.0.0.236/trunk@215744 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 08:43:28 +00:00
timeless%mozdev.org
105dba9c9c Bug 350908 setStringProperty() in nsIPersistentProperties2.idl needing comments
patch by gaomingcn@gmail.com r=dougt


git-svn-id: svn://10.0.0.236/trunk@213505 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 17:21:38 +00:00
mats.palmgren%bredband.net
6d97cd6889 Don't crash on OOM. b=353997 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@212916 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 05:15:57 +00:00
cbiesinger%web.de
6a2411b006 350330 remove unused NS_IPROPERTYELEMENT_CID
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@208870 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 00:17:23 +00:00
sayrer%gmail.com
f029fcf881 Bug 3344605. nsIPropertyBag2 should grow a non-throwing get() and hasKey(). r=darin, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@207960 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-20 16:42:08 +00:00
gavin%gavinsharp.com
c423c022c9 Bug 347734: remove unused variable, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@207161 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 20:40:51 +00:00
benjamin%smedbergs.us
5b4d54f739 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin
git-svn-id: svn://10.0.0.236/trunk@206904 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 18:18:50 +00:00
cbiesinger%web.de
21091d77bd Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <ak.miller@auckland.ac.nz> r=dougt sr=brendan


git-svn-id: svn://10.0.0.236/trunk@206582 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 17:20:27 +00:00
benjamin%smedbergs.us
e5f238eaac Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin
git-svn-id: svn://10.0.0.236/trunk@203371 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 16:28:51 +00:00
roc+%cs.cmu.edu
c141c564de Bug 344206. Fix unit coversion Ceil/Floor functions to use floor() and ceil() because the current scheme is nonsense. r=vlad
git-svn-id: svn://10.0.0.236/trunk@201999 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 08:03:04 +00:00
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