Commit Graph

1630 Commits

Author SHA1 Message Date
Blake Kaplan
76fd6fc673 Bug 520891 - nsHashtable::Put returns null on both failure and when we're adding a new entry. Assume the latter since it's correct more of the time. r=bsmedberg
--HG--
extra : rebase_source : e42e940235456e6edd4dc6d4cfc0f45c1cf71f97
2009-10-07 14:00:01 -07:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Ted Mielczarek
c995049c2e fix a leak in nsINIParser::GetSections/GetKeys. r=bsmedberg (no bug)
--HG--
extra : rebase_source : 7ed4d2d3aca5eb90a08e506accc6a82e37fe200e
2009-08-18 11:52:23 -04:00
timeless@mozdev.org
5b252a0666 Bug 505886 nsHashtable::Exists doesn't unlock mLock if !mHashtable.ops
r=bsmedberg
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
e614edadb8 Bug 485834 ObserverService shouldn't recurse infinitely for stupid consumers
r=dougt
2009-08-12 11:49:52 +02:00
Serge Gautherie
1bf86ff50c Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
--HG--
extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
2009-08-09 00:45:46 +02:00
Makoto Kato
152810b974 Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg 2009-07-24 19:11:23 +09:00
Serge Gautherie
4fb8bff0fa Bug 306840 - Improve PR_GetEnv() usages; (Cv1a) <XpCom/nsAtomTable.cpp> (= sync'ed Bv2); r=timeless sr=neil 2009-06-11 19:47:33 +02:00
Benjamin Smedberg
6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Robert O'Callahan
5457f988ef Bug 486991. Add useful operators to TimeStamp/TimeDuration. r=bsmedberg 2009-04-11 21:38:40 +12:00
Robert O'Callahan
d95f70cfbf Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
2bb2ba8f08 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Robert O'Callahan
97ea54af4c Bug 484921. Create TimeDuration/TimeStamp API that never rolls over and provides better typechecking than PR_IntervalTime. r=bsmedberg,cgj 2009-04-06 11:49:48 +12:00
Arpad Borsos
4fc5b38c9d Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Makoto Kato
8ca8ee9e63 Bug 472609 - Support Win64 (LLP64 model) for xpcom/ds. r=benjamin 2009-03-06 22:37:13 +09:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Fred Jendrzejewski
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
timeless@mozdev.org
266462dbca Bug 471296 nsArray (NS_ARRAY_CONTRACTID) can't be used on a single thread of its creator's choice, r=bsmedberg 2009-01-15 20:02:22 -08:00
Taras Glek
254745952a Bug 471087. Kill nsIDKey. r=bsmedberg
--HG--
extra : rebase_source : 9d60a541863c545101417cf00a11cb9ceda70a09
2009-01-08 21:43:07 +13:00
Robert O'Callahan
586e8a3c8c Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Benjamin Smedberg
470d4ccbfb Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert O'Callahan
d6c8ca697b Fixing filename case bustage 2008-10-01 14:17:15 +13:00
Jonas Sicking
69b9ff0371 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Ryan VanderMeulen
a03a62455e Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Boris Zbarsky
b90077bfb2 Bug 439206. Make sure to not skip over the next char after the high surrogate when we have a missing low surrogate. r+sr=jst 2008-09-04 11:13:54 -04:00
Joe Drew
692689e7af Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Justin Dolske
527c3d9af8 Reland bug 121341. 2008-08-13 21:30:45 -07:00
Justin Dolske
ba00588e10 Backed out changeset db55605b2a4c (relanding bug 121341) 2008-08-13 21:30:12 -07:00
Dave Townsend
8114ea8a37 Backout of bug 121341 2008-08-13 21:45:08 +01:00
Dave Townsend
2045996769 Backed out changeset cc82f602d986 2008-08-13 21:44:20 +01:00
Neil Rashbrook
93a5504ec3 Bug 447593 Crash [@ NS_NewAtom] r=bsmedberg 2008-08-11 21:26:40 +01:00
Michal Novotny
b3c9502fcb Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky 2008-08-07 17:05:19 -04:00
Sudheer Kumar Peddireddy
e620026ed6 Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron 2008-06-03 15:25:31 -07:00
David Mandelin
f8c68d8368 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
smontagu@smontagu.org
88d760e0f4 Define codepoints below 0x20 as illegal characters in filenames. Bug393488, r=bsmedberg, b=beltzner 2008-04-02 09:05:55 -07:00
reed@reedloden.com
c236aa4092 Bustage fix for bug 413787. 2008-04-01 21:21:31 -07:00
reed@reedloden.com
267d919be7 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com
bf68ef82c8 Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep] 2008-04-01 20:47:07 -07:00
benjamin@smedbergs.us
1141ded71b Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
reed@reedloden.com
985694bc9f Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
peterv@propagandism.org
ab07d4da83 Part 2 of the fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r/sr=sicking. 2008-02-07 03:37:18 -08:00
benjamin@smedbergs.us
adac3963d9 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
dwitte@stanford.edu
450e10614f remove nsValueArray. b=410360, r+sr=bsmedberg, a=schrep 2008-01-10 12:18:22 -08:00
reed@reedloden.com
f9ee4eb39f Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
jwalden@mit.edu
8c59f2d9ac Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
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