Nathan Froyd
5bfb1e0bd8
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Ehsan Akhgari
6c1914b71f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
2012-05-18 13:30:49 -04:00
Justin Lebar
8dfd539864
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
2012-03-12 18:53:18 -04:00
Jacob Holzinger
bfaddb970e
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
2012-03-08 18:22:57 -08:00
Boris Zbarsky
c632ee6a66
Bug 730414. Expose a quick way to get a hash key for an atom. r=bsmedberg
2012-02-29 21:40:51 -05:00
Nicholas Nethercote
c1dd090b4c
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
2012-01-25 00:52:51 -08:00
Nicholas Nethercote
d11022690d
Bug 712835 (part 3 of 3) - Move AtomImpl and PermanentAtomImpl out of the header. r=khuey.
2011-12-22 17:24:44 -08:00
Nicholas Nethercote
e9f15ea380
Bug 712835 (part 2 of 3) - Add a memory reporter for the nsAtomTable. r=khuey.
2011-12-22 17:24:43 -08:00
Jeff Walden
e6c7fadf0c
Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke
2011-12-19 16:58:30 -05:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Jonas Sicking
0d0238b01e
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
6f2017e1c2
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
8f76ee7397
Bug 534136 Part 5: Clean up atomtable hash entries. r=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
9d30378b7a
Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
6859a5ac8e
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
48366287f1
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
Henri Sivonen
2fa812bf83
Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
2009-09-18 18:13:10 +03:00
Serge Gautherie
93a9dae745
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
Arpad Borsos
1b55360c07
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Sudheer Kumar Peddireddy
427ecfea83
Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron
2008-06-03 15:25:31 -07:00
7b34ae7602
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
db8d572868
Bug 412320 - Try code-generation for QI impls, r=roc+luser
2008-01-25 09:14:48 -08:00
a113c5d648
Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky.
2007-09-05 18:13:42 -07:00
8a277235d9
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
126c483d51
Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky
2007-08-07 12:16:52 -07:00
8be89d4076
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
98de634631
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
0f08b75950
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
mats.palmgren@bredband.net
7f3bcc12a7
Don't crash on OOM. b=353997 r+sr=darin
2006-09-30 05:15:57 +00:00
dbaron@dbaron.org
3ad2463c7a
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
dbaron@dbaron.org
7452284d8f
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
cbiesinger@web.de
aae44b57d9
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky@mit.edu
b47c9f2b3e
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
gerv@gerv.net
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
jst@mozilla.jstenback.com
0c5e542fe7
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
bryner@brianryner.com
73c3254bfa
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
2004-01-22 01:01:19 +00:00
timeless@mozdev.org
09e16f2fe3
Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
...
r=dbaron sr=bz
2003-07-03 14:45:01 +00:00
alecf@flett.org
b2eac91a89
fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16
2003-06-18 02:22:46 +00:00
alecf@netscape.com
80b5831587
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
alecf@netscape.com
30294ad661
remove #ifdef NS_DEBUG as per bug 200241
...
code was already reviewed, just moved out of #ifdef per bryner
2003-04-02 15:47:16 +00:00
alecf@netscape.com
2fbddd4893
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf@netscape.com
1f1c5bf595
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf@netscape.com
5a84e994cb
oops, don't free the arena pool if we never allocated it!
...
duh.
fixes a shutdown crash
2003-03-21 08:38:56 +00:00
alecf@netscape.com
34b709508c
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dbaron@dbaron.org
834096485c
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
dbaron@dbaron.org
8c37890522
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00