Commit Graph

112593 Commits

Author SHA1 Message Date
Gregory Szorc
96087ea75a Bug 807974 - Handle make errors more gracefully; r=jhammel
We now return the status code from executed processes. The API to
require a successful status code has been changed from ignore_errors to
ensure_exit_code. The build mach command no longer spews a stack trace
if make fails.

DONTBUILD (NPOTB)
2012-11-06 17:01:08 -08:00
Gregory Szorc
a015660155 Bug 808346 - Don't scan sys.path to discover mach commands; r=jhammel
All mach modules are now explicitly listed in the mach driver.

--HG--
rename : python/mozbuild/mach/commands/build.py => python/mozbuild/mozbuild/mach_commands.py
2012-11-06 17:00:19 -08:00
Gregory Szorc
47aa1a9366 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
203a9e64f9 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
3dcbea7f2e Merge m-c to s-c. 2012-11-06 15:36:31 -08:00
Ryan VanderMeulen
e48ce3c69a Merge m-c to inbound. 2012-11-06 17:32:31 -05:00
Doug Turner
bfcb7f0001 Backed out changeset 30b340a71112. r=me 2012-11-06 14:31:04 -08:00
Bobby Holley
d1f27d3d6f Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug 2012-11-06 14:29:09 -08:00
Ed Morley
03ec006f76 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00:00
Ed Morley
690b53769a 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
b9cb3b3d38 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
39648dcdf0 Bug 696306 - Disable whatwg/test_bug500328.html for too many intermittent failures 2012-11-06 22:26:23 +00:00
Ed Morley
ad32556a34 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
b4549718e8 Bug 783913 - Disable test_add_put.html for too many intermittent timeouts 2012-11-06 22:26:02 +00:00
Ed Morley
5cf26a01da Bug 707891 - Disable browser_styleeditor_reopen.js for too many intermittent failures 2012-11-06 22:26:02 +00:00
Ed Morley
97c179ad4c Bug 788164 - Disable test_pointerlock-api.html on Linux for too many intermittent failures 2012-11-06 22:26:02 +00:00
Vicamo Yang
a910d36999 Bug 775997 follow-up: make sSmsRequests a static class member. r=dougt 2012-11-07 06:13:58 +08:00
Marco Bonardo
7378a3a5e9 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
176916ab62 Bug 803546 - Applying background theme causes Downloads button to jump around.
r=mconley
2012-11-06 23:11:11 +01:00
Matt Woodrow
abb31e1f03 Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc 2012-11-07 11:04:53 +13:00
Doug Turner
43cf6ca441 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Bas Schouten
01329069a0 Bug 809178: Don't let the inactive layer manager keep a gfxContext alive. r=mattwoodrow 2012-11-09 07:01:24 +01:00
Dave Hylands
d548b36eff Backout e655c9d59704 Bug 809186 until we decide that we really want this. 2012-11-08 21:50:08 -08:00
Blake Kaplan
b8fa44f95c Bug 806965 - Initialize new child processes with the current offline state. r=jlebar 2012-11-08 13:09:39 -08:00
Phil Ringnalda
dcd3477dcb Back out 5ebd6549bf93 and 73287cb2dc6a (bug 794091) on suspicion of breaking Win64 PGO builds 2012-11-08 20:43:18 -08:00
Randy Lin
35ce1cd27e Bug 805744 - Add Support for media control on Wired Headset Button. r=fabrice 2012-11-07 09:45:54 +08:00
Nathan Froyd
426bb1a317 Bug 809950 - fix webrtc signaling Wrapper code to not introduce static initializers; r=jesup 2012-11-08 13:45:39 -05:00
Nathan Froyd
453525f9d9 Bug 809950 - fix mtransport logging macros to not introduce static initializers; r=jesup 2012-11-08 13:44:41 -05:00
Ehsan Akhgari
60b2718413 Merge mozilla-central into mozilla-inbound 2012-11-08 22:06:29 -05:00
Chris Pearce
859cedfd6a Bug 799344 - Remove extraneous media includes from nsLayoutStatics.cpp. r=roc 2012-11-07 11:33:02 +13:00
Chris Pearce
37519cec2a Bug 799344 - Remove virtual from media state machine methods, since they're not inherited. r=roc 2012-11-07 11:33:02 +13:00
Chris Pearce
a0956a77b0 Bug 799344 - Flatten nsBultinDecoderStateMachine and nsDecoderStateMachine into a single class. r=roc 2012-11-07 11:33:02 +13:00
Chris Pearce
4c332aefe8 Bug 799344 - Un-templatify nsBuiltinDecoderReader::DecodeToFirstData() so that we don't need to know nsBuiltinDecoderStateMachine's interface in nsBuiltinDecoderReader.h. This means that nsBuiltinDecoderReader.h doesn't need to include nsBuiltinDecoderStateMachine.h when we move the state machine declaration from nsBuiltinDecoder.h to nsBuiltinDecoderStateMachine.h (in a later patch). nsBuiltinDecoderStateMachine.h needs to include nsBuiltinDecoderReader.h, so if nsBuiltinDecoderReader.h needed to include nsBuiltinDecoderStateMachine.h we'd have an include cycle, which is bad. r=roc 2012-11-07 11:33:01 +13:00
Chris Pearce
dee00040c9 Bug 799344 - Remove nsBuiltinDecoder::GetDecodeState(), so that nsBuiltinDecoder doesn't need to know about nsDecoderStateMachine::State. r=roc 2012-11-07 11:33:01 +13:00
Patrick McManus
a7cee3804f bug 809984 HTTP Connections drain socket input before close to avoid TCP RST r=biesi 2012-11-08 21:10:24 -05:00
Nathan Froyd
3520137968 Bug 809967 - include ostream instead of iostream in PathRecording.h to avoid static initializers; r=Bas 2012-11-08 14:22:16 -05:00
Jed Parsons
8a1dc751ec Bug 809265 - Update Identity js and jsm modules to use new global object. r=benadida
--HG--
extra : rebase_source : e28a25b4a6556157532bcd082878ae36f6741607
2012-11-08 20:54:13 -05:00
Eric Promislow
8cc9542b35 Bug 809179 - Reinstate the js -w and -s command-line options. r=dvander
--HG--
extra : rebase_source : 7071d9acc638ea56bbc1532e3284d519db06a498
2012-11-08 20:53:07 -05:00
Daniel Holbert
2d1bac67b4 Bug 806002: Convert nsDidReflowStatus into an enum. r=dbaron 2012-11-08 17:27:48 -08:00
Daniel Holbert
373b4bed60 Bug 806001: Make nsListControlFrame pass a nsDidReflowStatus instead of a nsReflowStatus in its DidReflow calls. r=dbaron 2012-11-08 17:27:48 -08:00
Daniel Holbert
b6feb86a97 Bug 790903: Accept unitless 0 as 'flex-basis' component in 'flex' shorthand. r=dbaron 2012-11-08 17:27:47 -08:00
Fabrice Desré
73afc3d337 Bug 809325 - change version number to reflect not production-ready state [r=vingtetun] 2012-11-08 16:53:31 -08:00
Fabrice Desré
59fd73fd50 Bug 804469 - [Marketplace] Installed app can't be removed immediately if it has been executed (need reboot) [r=vingtetun] 2012-11-08 16:53:31 -08:00
Robert Longson
f158d75591 Bug 809766 - libsoundtouch does not build. r=khuey 2012-11-09 00:46:17 +00:00
Wes Johnston
0e88fa9cc1 Bug 786061 - Disable session restore in webapps. r=mfinkle 2012-11-08 14:49:07 -08:00
Wes Johnston
07037ced60 Bug 757208 - Don't move mousepoints for zero width and height elements. r=mfinkle 2012-11-08 15:51:52 -08:00
Doug Turner
6cf66eef3a Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner
bebc200792 Backed out changeset 9035907b68ec 2012-11-06 12:45:25 -08:00
Doug Turner
40d8fe576a Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Olli Pettay
799158b668 Bug 809003 - Don't dispatch load and error events on generated content images, r=bz 2012-11-06 20:54:02 +02:00