Commit Graph

112804 Commits

Author SHA1 Message Date
Gregory Szorc
576af377e9 Bug 808336 - Part 2: Discover mach settings providers via decorators; r=jhammel
With this patch, mach is now decoupled from the build system and is
truly a generic command dispatching framework.
2012-11-06 16:58:13 -08:00
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
Richard Newman
ee0049e7be Merge m-c to s-c. 2012-11-06 15:36:31 -08:00
Ryan VanderMeulen
23e4ee0b90 Merge m-c to inbound. 2012-11-06 17:32:31 -05:00
Doug Turner
f697ed8276 Backed out changeset 30b340a71112. r=me 2012-11-06 14:31:04 -08:00
Bobby Holley
ce74d3f31d Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug 2012-11-06 14:29:09 -08:00
Ed Morley
e74b154022 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00:00
Ed Morley
0ebccf77e2 Bug 753225 - Disable browser_dbg_createRemote.js on platforms other than Windows too, until it's made to behave 2012-11-06 22:26:56 +00:00
Ed Morley
33e0ad4927 Bug 536603 - Disable test_css_cross_domain.html on Android for too many intermittent failures 2012-11-06 22:26:56 +00:00
Ed Morley
5aa9b89a9a Bug 696306 - Disable whatwg/test_bug500328.html for too many intermittent failures 2012-11-06 22:26:23 +00:00
Ed Morley
8eac9457d3 Bug 786539 - Disable test_timeupdate_small_files.html on Windows for too many intermittent timeouts 2012-11-06 22:26:03 +00:00
Ed Morley
d7a0fc5759 Bug 783913 - Disable test_add_put.html for too many intermittent timeouts 2012-11-06 22:26:02 +00:00
Ed Morley
e12116ef55 Bug 707891 - Disable browser_styleeditor_reopen.js for too many intermittent failures 2012-11-06 22:26:02 +00:00
Ed Morley
facd25389a Bug 788164 - Disable test_pointerlock-api.html on Linux for too many intermittent failures 2012-11-06 22:26:02 +00:00
Vicamo Yang
98940e5525 Bug 775997 follow-up: make sSmsRequests a static class member. r=dougt 2012-11-07 06:13:58 +08:00
Marco Bonardo
e9c39f470d Bug 809022 - The downloads button opens the panel even if it's disabled.
r=paolo
2012-11-06 23:11:14 +01:00
Marco Bonardo
bf0f88e75b Bug 803546 - Applying background theme causes Downloads button to jump around.
r=mconley
2012-11-06 23:11:11 +01:00
Matt Woodrow
3cc8cded99 Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc 2012-11-07 11:04:53 +13:00
Doug Turner
40c06ebd3f Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
1ebe44d099 Backed out changeset 9035907b68ec 2012-11-06 12:45:25 -08:00
Doug Turner
4141c57f56 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Olli Pettay
9339cfe01c Bug 809003 - Don't dispatch load and error events on generated content images, r=bz 2012-11-06 20:54:02 +02:00
Olli Pettay
0eb2523ed9 Bug 808993, ASSERTION: must have binding parent when in native anonymous subtree with a parent node, r=bz 2012-11-06 20:52:46 +02:00
Doug Turner
91d22f1a0b Bug 808866 - do not create location providers in child process. r=jdm/amarchesini a=blocking-basecamp 2012-11-06 10:42:27 -08:00
Johan Charlez
a114936c71 Bug 793031 - Open recent file fails if the file doesn't exists anymore. r=robcee 2012-11-06 13:26:00 -05:00
Victor Porof
25807e7d90 No bug - Fix 'browser_dbg_propertyview-data.js | Test timed out' after 62379ce61c84, r=dcamp 2012-11-06 19:33:59 +02:00
Ed Morley
092f2cf1f0 Merge mozilla-central to fx-team
--HG--
rename : browser/devtools/debugger/VariablesView.jsm => browser/devtools/shared/VariablesView.jsm
2012-11-06 14:16:07 +00:00
Panos Astithas
5b7ba1d268 Bug 808527 - selectedBrowser frames appear when debugging chrome; r=dcamp 2012-11-06 09:15:12 +02:00
Panos Astithas
f8ce74e74e Bug 808498 - Chrome debugging broke B2G debugging; r=vporof,vingtetun 2012-11-06 09:14:07 +02:00
Phil Ringnalda
25dedca379 No bug - Update revision of Jetpack code used in Firefox to fix two tests. r=kwierso 2012-11-05 23:08:40 -08:00
Phil Ringnalda
25c4f24ae3 Back out 0d4e09ade336 (bug 808746) for Android reftest bustage 2012-11-05 22:35:59 -08:00
Richard Newman
ec2c8986d2 Bug 808750 - More logging and safety in resource callbacks. r=gps 2012-11-05 17:31:12 -08:00
Richard Newman
2f4e50d10f Bug 693427 - More logging and fixes for filelog cleanup. r=gps 2012-11-05 16:05:06 -08:00
Eric Chou
57002946d6 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -08:00
Jonathan Griffin
3965607e57 Bug 804366 - Include test names in Marionette failure messages, r=ahal 2012-11-05 10:49:26 -08:00
Ed Morley
99dac44a6f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-05 15:23:36 +00:00
Ed Morley
502d65ab6f Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
157e0ef0a7 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley
dee89bbd25 Bug 808417 - remotereftest.py should print the actual exception if one occurred runTests(); r=jmaher 2012-11-05 13:03:54 +00:00
Lucas Rocha
1647270fa1 Bug 808027 - Change favicons handling to be Bitmap-based (r=mfinkle) 2012-11-05 11:42:25 +00:00
Lucas Rocha
4cf713a9e1 Bug 808029 - Build AllPagesTab's context menu from favicon cache (r=mfinkle) 2012-11-05 11:42:25 +00:00
Jim Mathies
82d7df8ec6 Bug 807593 - Land metro specific nsAppRunner bits on mc. r=bbondy 2012-11-05 05:26:12 -06:00
Jim Mathies
f6d75d038e Bug 799121 - Update metro build's WINVER from 602 to 502 on mc. r=bbondy 2012-11-05 05:23:30 -06:00
Olli Pettay
84a336dd59 Bug 808389 - nsIProtocolHandler uses same values for different flags, r=bz, sr=biesi 2012-11-05 11:14:39 +02:00
Olli Pettay
fde2f7a7f4 Bug 805749, validate the view parameter of initUIEvent, r=jst 2012-11-05 10:59:12 +02:00
Robert O'Callahan
0b457b0fef Bug 792351. Make GetRootFrameOffset handle the case where aContainerFrame is itself a reference frame. r=mattwoodrow 2012-11-05 19:11:25 +13:00
aceman
cc2af4f753 Bug 808379 - fix Assertion failure: isEmpty(), at ../../dist/include/mozilla/LinkedList.h:258 causing Thunderbird crash since landing of fix to bug 803688. r=jlebar
Clear the sDiscardableImages linked list in DiscardTracker::Shutdown() so that the list destructor finds an empty array, which is required after bug 803688.
2012-11-04 23:20:52 +00:00
Patrick McManus
bfe09dc91a bug 779467 modify ClosePersistentConnections to accomodate sticky auth r=honzab 2012-11-04 11:24:24 -05:00
Ehsan Akhgari
6e3b90c43e Merge mozilla-central into mozilla-inbound 2012-11-04 11:09:45 -05:00
Ms2ger
dd0deeb865 Merge PGO-green chanageset from inbound to m-c. 2012-11-04 10:26:52 +01:00