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

289651 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 262077ed01 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 0b6916ca25 Merge m-c to s-c. 2012-11-06 15:36:31 -08:00
Doug Turner 07980c9f0f Backed out changeset 30b340a71112. r=me 2012-11-06 14:31:04 -08:00
Doug Turner 7b2c2dd576 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Doug Turner 8443a8c264 Backed out changeset 9035907b68ec 2012-11-06 12:45:25 -08:00
Doug Turner 0d2bc070e6 Bug 805965 - Geolocation fix jerks around. r=jdm/bz. a=blocking-basecamp 2012-11-06 12:34:03 -08:00
Olli Pettay 43eb134604 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 b4a77496d1 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 fca33df746 Bug 808866 - do not create location providers in child process. r=jdm/amarchesini a=blocking-basecamp 2012-11-06 10:42:27 -08:00
Richard Newman b7b6981ce2 Bug 808750 - More logging and safety in resource callbacks. r=gps 2012-11-05 17:31:12 -08:00
Richard Newman e867ebadd9 Bug 693427 - More logging and fixes for filelog cleanup. r=gps 2012-11-05 16:05:06 -08:00
Eric Chou 8c38007462 Bug 808193 - return 'boolean' if PROP_DEVICE_CONNECTED_TYPE is not found, r=qdot 2012-11-05 15:48:34 -08:00
Jonathan Griffin 6919925d86 Bug 804366 - Include test names in Marionette failure messages, r=ahal 2012-11-05 10:49:26 -08:00
Ed Morley e625e4092d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-05 15:23:36 +00:00
Ed Morley 28935a84bf 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 1536cfef6c Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley bcad0e76bf 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 e595bef520 Bug 808027 - Change favicons handling to be Bitmap-based (r=mfinkle) 2012-11-05 11:42:25 +00:00
Lucas Rocha 35c4f17077 Bug 808029 - Build AllPagesTab's context menu from favicon cache (r=mfinkle) 2012-11-05 11:42:25 +00:00
Jim Mathies 1627b67306 Bug 807593 - Land metro specific nsAppRunner bits on mc. r=bbondy 2012-11-05 05:26:12 -06:00
Jim Mathies 6f23afd2a7 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 a0e76b0717 Bug 808389 - nsIProtocolHandler uses same values for different flags, r=bz, sr=biesi 2012-11-05 11:14:39 +02:00
Olli Pettay 4d79fb7245 Bug 805749, validate the view parameter of initUIEvent, r=jst 2012-11-05 10:59:12 +02:00
Robert O'Callahan 54f1a9061d 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 5d56c2ede7 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 2d3e9a0ced bug 779467 modify ClosePersistentConnections to accomodate sticky auth r=honzab 2012-11-04 11:24:24 -05:00
Ehsan Akhgari 0f7dbe062a Merge mozilla-central into mozilla-inbound 2012-11-04 11:09:45 -05:00
Ms2ger 37fe9b5b6b Merge PGO-green chanageset from inbound to m-c. 2012-11-04 10:26:52 +01:00
Ms2ger c8f9049d6f Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas 2012-11-04 09:05:25 +01:00
Ms2ger 4dd22ae85f Bug 807465 - Less QIs in nsXULPopupManager::UpdateMenuItems; r=Enn 2012-11-04 09:05:25 +01:00
Ms2ger b903541457 Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst 2012-11-04 09:05:23 +01:00
Ms2ger af22942dae Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst 2012-11-04 09:04:04 +01:00
Ms2ger 77f04937ad Bug 709954 - Fix assertion failure "!cx->isExceptionPending()" with invalid regexp in <input pattern>; r=bz 2012-11-04 09:00:07 +01:00
Ms2ger b0eeaab6f2 Bug 629876 - Throw when drawImage's sw/sh arguments are zero; r=bz 2012-11-04 09:00:06 +01:00
Ms2ger 1dafc5be3e Bug 804005 - Update dom/imptests python to be py3k-compatible; r=jhammel 2012-11-04 09:00:06 +01:00
Ms2ger 2306a43dbc Bug 803520 - Don't use JSCList for JSRuntime::contextList; r=Waldo 2012-11-04 09:00:06 +01:00
Ms2ger c1e34c61d4 Bug 801991 - Remove the ability to generate custom quickstubs; r=peterv 2012-11-04 09:00:06 +01:00
Ms2ger 1494a04258 Bug 807926 - Don't handle outer windows in nsWindowSH::NewResolve; r=bholley 2012-11-04 09:00:06 +01:00
Seth Fowler 7864e2fd96 Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe 2012-11-03 23:04:07 -04:00
Ryan VanderMeulen c7c75c9730 Merge m-c to inbound. DONTBUILD 2012-11-03 22:36:18 -04:00
Alexander Surkov bb17d72ef8 Bug 733848 - log accessible/name/test_markup.html on stack enabled builds, r=ehsan, tbsaunde 2012-11-04 11:19:56 +09:00
philringnalda@gmail.com cf3bc3357e No bug, Automated blocklist update from host slice 2012-11-03 18:55:50 -07:00
Reed Loden 66b0b365d7 Bug 808313 - changing location.protocol can break nsFtpState::Init r=jduell
DONTBUILD
2012-11-03 15:53:00 -07:00
Phil Ringnalda 7c3d5fafa3 Back out 8baff4a80904 (bug 808313) to fix committer email 2012-11-03 19:03:27 -07:00
Reed Loden e2199cccaf Bug 808313 - changing location.protocol can break nsFtpState::Init r=jduell 2012-11-03 15:53:00 -07:00
Ed Morley 37f767edf7 Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures 2012-11-04 00:53:06 +00:00
Ryan VanderMeulen faf3403c7f Merge m-c to inbound. DONTBUILD 2012-11-03 19:51:29 -04:00
Brian R. Bondy 20acda6fe3 Bug 369108 - Win32's nsIFile::Create and nsIFile::CreateUnique ignore permissions argument. r=bsmedberg 2012-11-03 13:39:02 -04:00
Jonathan Kew 160f118d31 bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas 2012-11-03 23:01:33 +00:00
Jonathan Kew 599cd3c204 bug 808288 - part 2 - render the font's .notdef glyph for missing glyphs in <canvas>. r=bas 2012-11-03 23:01:33 +00:00