gecko/layout
Gregory Szorc cb927ab20b Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
..
analysis
base Bug 806483 - Explicitly remove the LayerManagerDataProperty() from a destroyed frame also when destroying the shell. r=roc 2012-11-06 00:35:45 +01:00
build Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
doc Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
forms Bug 805153 - Check with the focus manager if our *content* is already focused. r=roc 2012-11-02 01:52:59 +01:00
generic Bug 807563 - Update the overflow areas of all preserve-3d children when the transform changes. r=roc 2012-11-05 12:12:05 +13:00
inspector [Bug 799407] Fix build warnings in layout r=roc 2012-10-10 01:00:05 -04:00
ipc Bug 792351. Make GetRootFrameOffset handle the case where aContainerFrame is itself a reference frame. r=mattwoodrow 2012-11-05 19:11:25 +13:00
mathml Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
media Bug 799069: Unresolved vpx_codec_vp8_cx export in --disable-webrtc build r=jesup,derf 2012-10-08 10:56:17 -04:00
printing Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
reftests Bug 808647 - Disable failing sanity reftests for B2G, a=test-only 2012-11-02 14:19:05 -04:00
style Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats 2012-11-02 23:42:59 +13:00
svg Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
tables Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
tools Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel 2012-11-06 16:57:41 -08:00
xul Bug 807465 - Less QIs in nsXULPopupManager::UpdateMenuItems; r=Enn 2012-11-04 09:05:25 +01:00
Makefile.in Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert 2012-09-24 23:01:21 +02:00