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

1576 Коммитов

Автор SHA1 Сообщение Дата
tglek%mozilla.com d807caa2df Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 23:40:10 +00:00
benjamin%smedbergs.us c8ca7ed7db Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 19:16:30 +00:00
roc+%cs.cmu.edu d17df5167a Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 21:34:56 +00:00
dholbert%cs.stanford.edu 3c7d1a6612 Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits.
r=bz sr=roc blocking1.9=dbaron
2007-09-25 17:12:17 +00:00
scott%scott-macgregor.org b2f89ec9ef 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 23:14:26 +00:00
roc+%cs.cmu.edu 63e887f289 Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead). 2007-09-19 00:24:27 +00:00
roc+%cs.cmu.edu df1d8efba7 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 23:12:10 +00:00
aaronr%us.ibm.com f5cacc315a move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 18:14:37 +00:00
sharparrow1%yahoo.com 082f0fe6c2 Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-06 01:26:57 +00:00
sharparrow1%yahoo.com ee94534b3e Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-06 01:13:42 +00:00
jwalden%mit.edu f49fc51830 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-05 06:41:37 +00:00
pavlov%pavlov.net a97eae15a7 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 20:44:12 +00:00
sharparrow1%yahoo.com f69d397085 Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 19:16:52 +00:00
benjamin%smedbergs.us bbb6d901f3 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 14:34:05 +00:00
jonas%sicking.cc d0fc50677d Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 22:20:32 +00:00
jst%mozilla.org 59a9df672e 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 20:46:43 +00:00
neil%parkwaycc.co.uk 11d0936e48 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 08:46:49 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
sharparrow1%yahoo.com 88c05a2e60 Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-02 05:22:51 +00:00
sdwilsh%shawnwilsher.com abbcb73cbc 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-27 00:45:52 +00:00
wtc%google.com 103725f60e Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved from
prerror.h to prlog.h. r=jwalden sr=roc
2007-05-28 14:51:08 +00:00
peterv%propagandism.org 9eca95ccdc Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 14:10:04 +00:00
asqueella%gmail.com d343f35e22 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
2007-05-13 16:48:39 +00:00
smontagu%smontagu.org 747c3da590 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 17:51:38 +00:00
smontagu%smontagu.org 015cabd798 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 18:56:30 +00:00
bent.mozilla%gmail.com fadc33a800 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. 2007-04-26 13:53:48 +00:00
smontagu%smontagu.org 304d547dd9 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin 2007-04-25 14:48:12 +00:00
jwalden%mit.edu 5b4b2b870c Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc 2007-04-12 22:19:26 +00:00
sayrer%gmail.com dd9a03de8a Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky 2007-03-29 05:33:45 +00:00
dbaron%dbaron.org 17c1aa944f Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 15:34:15 +00:00
dbaron%dbaron.org a32fb9b241 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 15:33:45 +00:00
peterv%propagandism.org 84e7da2624 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron. 2007-03-27 09:49:06 +00:00
roc+%cs.cmu.edu e396ca83f3 Bug 368270. Implement nsExpirationTracker, a data structure for managing the timed expiration of many objects. r+sr=sicking 2007-03-27 03:38:21 +00:00
peterv%propagandism.org 9ed7625526 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 4e0af59120 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 13bf3e89cd 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 ab27ba75e9 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 c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
asqueella%gmail.com 56819fa19f 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 4c88c8a7ac Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
cbiesinger%web.de e6f4350ea9 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 a28df858f2 Fix error in previous patch for bug 348691. Reviews pending. 2006-12-15 21:39:30 +00:00
bzbarsky%mit.edu 0d540df1d8 Make nsAString lookups in nsStaticCaseInsensitiveNameTable a little faster.
Bug 348691, r+sr=dbaron
2006-12-12 22:47:16 +00:00
allan%beaufour.dk fe27d12b30 Add NSPR debug info to nsObserverService. Bug 361490, r=darin 2006-11-23 08:43:28 +00:00
timeless%mozdev.org 94784ecaa2 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 8239dcb851 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
cbiesinger%web.de 65a9af04b1 350330 remove unused NS_IPROPERTYELEMENT_CID
r+sr=darin
2006-08-31 00:17:23 +00:00
sayrer%gmail.com d781a030d0 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 41a8d98101 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 bece0ea443 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
cbiesinger%web.de 824ca67583 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 f4fa701ec6 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 1d2505ffa1 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 e3f2593485 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
2006-06-06 13:26:26 +00:00
benjamin%smedbergs.us aa428eac7a Fix review nit 2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us 0bca496fd6 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 7d3e7d7acd 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 0c9372c940 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 6cb145f253 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 dc8432a80c 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 06474b13cc 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 185c761605 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 ac49c790c1 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 5521781301 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 ab17656b13 Bug 332135 - atomservice should provide utf8 accessors, r=darin 2006-03-30 15:22:42 +00:00
benjamin%smedbergs.us 5f483e27f3 Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
dougt%meer.net e4b1b62115 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
darin%meer.net fc4b03d8cb 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:57 +00:00
darin%meer.net 74dd53a91f backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us 05825942c6 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 a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org a4c73b3f26 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 98a64a5f9f Followup to bug 319024 - I double-reversed the list 2005-12-14 00:59:06 +00:00
bsmedberg%covad.net a0bcb37a51 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 efbde9b480 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 3db428f6ac 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 532329ac75 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 8cb7c747fb Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg%covad.net 4ef7769813 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 d611b236bb 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 7072b65bdc 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 e67c2cf95d 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 dff1dea638 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 1172c33dfc 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 e64707f230 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 ea1cb71f29 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 fabafe8410 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 2d781dc39d Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc 72781ea8c3 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 57389b2a8e Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin 2005-10-04 17:19:14 +00:00
peterv%propagandism.org f54079d9e6 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 b1280c03e0 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 f61cd24f17 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:19:19 +00:00
bsmedberg%covad.net 4fb9cbf21d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net b88aaf3d98 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 6bf82a547b 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 3e76300e96 fixes bug 301521 "nsWindowsRegKey::WriteStringValue is broken" r=jshin a=bsmedberg 2005-07-21 16:54:39 +00:00
joshmoz%gmail.com 524fbd015e Remove Mac OS classic code. r=josh a=bsmedberg 2005-06-23 23:42:02 +00:00
dougt%meer.net 49db0e310b * 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