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

17 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote bf1839cd7a Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj.
--HG--
extra : rebase_source : 8e7e616c93cae653440a6ea2e11cd1c6da2e8821
2015-05-05 18:23:39 -07:00
Birunthan Mohanathas 916fc10422 Bug 1130096 - Convert embedding/components/commandhandler/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Nicholas Nethercote 3a7b0a9f57 Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Nicholas Nethercote 63e3218e4c Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Nicholas Nethercote b5913e0b3d Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote 3163cfc2c1 Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.

--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Nicholas Nethercote 48710afc66 Bug 1124920 - Remove PLDHashTable::Operate(). r=froydnj.
--HG--
extra : rebase_source : f029d3ca8835232b3c1d4188aa63a0004c1aad4b
2015-01-22 15:43:18 -08:00
Nicholas Nethercote 69fe655b04 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Phil Ringnalda e39f0adeca Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote e9735966fa Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote 47221bc7f9 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote c7538c9776 Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Nicholas Nethercote 699e7b5b3e Bug 1120476 (part 2) - Avoid using PLDHashTable::data in nsCommandParams. r=froydnj.
--HG--
extra : rebase_source : 892170937a41229301be81236d2517f09e20138d
2015-01-13 16:40:47 -08:00
Michael Pruett 411a94b05a Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Nicholas Nethercote 423528a175 Bug 1057914 (part 2) - Fix the style of nsCommandParams.{h,cpp}. r=ehsan.
--HG--
extra : rebase_source : 7d0dbdde81fb3f308fee47cb5c6d881cc5174ae0
2014-08-25 16:20:01 -07:00
Nicholas Nethercote f47c6d907e Bug 1057914 (part 1) - Remove enumeration methods from nsICommandParams. r=ehsan.
--HG--
extra : rebase_source : 313bf18bd88f1fbdb9a308aecbab666b8ff87adf
2014-08-17 21:58:10 -07:00
Birunthan Mohanathas 720dc9a6c4 Bug 1054703 - Part 3: Flatten embedding/components/commandhandler/{public,src}/ into parent directory. r=bsmedberg
--HG--
rename : embedding/components/commandhandler/src/nsBaseCommandController.cpp => embedding/components/commandhandler/nsBaseCommandController.cpp
rename : embedding/components/commandhandler/src/nsBaseCommandController.h => embedding/components/commandhandler/nsBaseCommandController.h
rename : embedding/components/commandhandler/src/nsCommandGroup.cpp => embedding/components/commandhandler/nsCommandGroup.cpp
rename : embedding/components/commandhandler/src/nsCommandGroup.h => embedding/components/commandhandler/nsCommandGroup.h
rename : embedding/components/commandhandler/src/nsCommandManager.cpp => embedding/components/commandhandler/nsCommandManager.cpp
rename : embedding/components/commandhandler/src/nsCommandManager.h => embedding/components/commandhandler/nsCommandManager.h
rename : embedding/components/commandhandler/src/nsCommandParams.cpp => embedding/components/commandhandler/nsCommandParams.cpp
rename : embedding/components/commandhandler/src/nsCommandParams.h => embedding/components/commandhandler/nsCommandParams.h
rename : embedding/components/commandhandler/src/nsControllerCommandTable.cpp => embedding/components/commandhandler/nsControllerCommandTable.cpp
rename : embedding/components/commandhandler/src/nsControllerCommandTable.h => embedding/components/commandhandler/nsControllerCommandTable.h
rename : embedding/components/commandhandler/public/nsICommandManager.idl => embedding/components/commandhandler/nsICommandManager.idl
rename : embedding/components/commandhandler/public/nsICommandParams.idl => embedding/components/commandhandler/nsICommandParams.idl
rename : embedding/components/commandhandler/public/nsIControllerCommand.idl => embedding/components/commandhandler/nsIControllerCommand.idl
rename : embedding/components/commandhandler/public/nsIControllerCommandTable.idl => embedding/components/commandhandler/nsIControllerCommandTable.idl
rename : embedding/components/commandhandler/public/nsIControllerContext.idl => embedding/components/commandhandler/nsIControllerContext.idl
rename : embedding/components/commandhandler/public/nsPICommandUpdater.idl => embedding/components/commandhandler/nsPICommandUpdater.idl
2014-08-20 10:27:16 -07:00