Commit Graph

356 Commits

Author SHA1 Message Date
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
0baab851d8 Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3cfc98309e Bug 534136 Part 5: Clean up atomtable hash entries. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Uli Link
d5626e719c Bug 537967 - Moving FILE_ILLEGAL_CHARACTERS from nsCRT.h to nsCRTGlue.h for frozen linkages, r=bsmedberg,sr=shaver 2010-03-07 15:15:31 +01:00
Chris Jones
5e03f750df Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc 2010-03-01 15:44:05 -06:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Gavin Sharp
5589f1de57 Bug 538920: give nsIObserver the "function" attribute to allow directly passing JS function objects to nsIObserverService::addObserver, r=bsmedberg 2010-01-11 05:01:38 -05:00
Chris Jones
800ff959c1 Bug 522126, part 3: Use POSIX-clock TimeStamp/TimeDuration implementation if configure.in says it's supported. r=luser 2010-01-07 11:21:33 -06:00
Chris Jones
1399b2b545 Bug 522126, part 2: Add a POSIX clock (CLOCK_MONOTONIC) implementation of TimeStamp/TimeDuration. r=roc 2010-01-07 11:21:28 -06:00
Chris Jones
176bc71fd6 Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc 2010-01-07 11:21:23 -06:00
Henri Sivonen
580302d483 Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Jonas Sicking
e147c900f4 Bug 507114: Make the observer-service deal with do_QueryReferent causing observers to be added or removed. r=bsmedberg 2009-11-16 17:07:41 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
L. David Baron
125bd1103e Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Blake Kaplan
025564a0a9 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
2e9438fd2f 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
2218ea81b0 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
1a965c5ef0 Bug 505886 nsHashtable::Exists doesn't unlock mLock if !mHashtable.ops
r=bsmedberg
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
e2c82df69a Bug 485834 ObserverService shouldn't recurse infinitely for stupid consumers
r=dougt
2009-08-12 11:49:52 +02:00
Serge Gautherie
28965346e8 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
815f6cdd90 Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg 2009-07-24 19:11:23 +09:00
Serge Gautherie
82a4092aee 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
bb1c33c4ea 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
3b41dc81ee Bug 486991. Add useful operators to TimeStamp/TimeDuration. r=bsmedberg 2009-04-11 21:38:40 +12:00
Robert O'Callahan
5bde4bb05f Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
1ca364a2d0 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Robert O'Callahan
5ed0163b93 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
e79293b2c0 Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Makoto Kato
b66ef2ce00 Bug 472609 - Support Win64 (LLP64 model) for xpcom/ds. r=benjamin 2009-03-06 22:37:13 +09:00
Daniel Holbert
2a7d88e05a 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
8759b06c00 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
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 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
d79aacc7cc 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
5c08797a3f Bug 471087. Kill nsIDKey. r=bsmedberg
--HG--
extra : rebase_source : 9d60a541863c545101417cf00a11cb9ceda70a09
2009-01-08 21:43:07 +13:00
Robert O'Callahan
50bd83420a 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
8e93542d35 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
8b11d938d2 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
a5b355c436 Fixing filename case bustage 2008-10-01 14:17:15 +13:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Ryan VanderMeulen
950f98985d Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Boris Zbarsky
764231c2b9 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
e4a9682ed2 Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Justin Dolske
6321402495 Reland bug 121341. 2008-08-13 21:30:45 -07:00
Justin Dolske
91ec607e05 Backed out changeset db55605b2a4c (relanding bug 121341) 2008-08-13 21:30:12 -07:00
Dave Townsend
a05706f1bf Backout of bug 121341 2008-08-13 21:45:08 +01:00
Dave Townsend
ba0b5395d8 Backed out changeset cc82f602d986 2008-08-13 21:44:20 +01:00
Neil Rashbrook
9d850c9502 Bug 447593 Crash [@ NS_NewAtom] r=bsmedberg 2008-08-11 21:26:40 +01:00
Michal Novotny
8ed418dcef 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
18c18ceba1 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
dbe96cfe58 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
smontagu@smontagu.org
fcd4cf5362 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
6674ea7ffa Bustage fix for bug 413787. 2008-04-01 21:21:31 -07:00
reed@reedloden.com
2372c88cc4 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com
f4bcba49f5 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
ca89a98e8c 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
2696e083e0 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
e7f578a6a7 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
e8c45488e3 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
dwitte@stanford.edu
0179ddf326 remove nsValueArray. b=410360, r+sr=bsmedberg, a=schrep 2008-01-10 12:18:22 -08:00
reed@reedloden.com
1d602b3c42 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
a9b2dc0526 Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
reed@reedloden.com
ffa3ace89f 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
e2df9b35fd Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com
62f4ae88bd Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
benjamin@smedbergs.us
e56c3d784d Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu
20e5bb075c 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
a1da58e6f5 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
f9d06920f7 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
0c7941bd6b 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
559a8984a7 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
2c8a07cf79 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
sharparrow1@yahoo.com
287e3b3a5d Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com
70dae41e30 Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-05 18:13:42 -07:00
jwalden@mit.edu
f57320c98b 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
448c760419 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
6e635b361e Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 12:16:52 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
jst@mozilla.org
a5ca1451f3 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
11ed13d71f 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
e3c4baccae 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
1aec3714f6 Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-01 22:22:51 -07:00
sdwilsh@shawnwilsher.com
63c8d13237 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
ac2afcf8a6 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
98955fbcad 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
3c8901d1d8 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
fa6eefc1a9 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
4266bdbdc9 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 11:56:30 -07:00
bent.mozilla@gmail.com
410a990fb7 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
360c411c82 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
28e59734d6 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
a798c7caa7 Bug 375779. nsIWritablePropertyBag2 needs a UUID change. r+sr=bzbarsky 2007-03-28 22:33:45 -07:00
dbaron@dbaron.org
20ccc7a91d Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
peterv@propagandism.org
d1329c5052 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
ab2533b6bd 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
465265d0d4 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