Commit Graph

14 Commits

Author SHA1 Message Date
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Victor Porof
5af52da087 Bug 1006586 - Remove smoothscrolling from the breadcrumbs widget, r=rcampbell 2014-05-07 09:38:17 -04:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
Brian Grinstead
9c694d75ea Bug 936421 - Update the breadcrumbs as per Shorlander's new designs. OVERRIDE HOOK;r=pbrosset 2014-01-30 14:24:30 -06:00
Panos Astithas
8609912471 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Victor Porof
dbcc001303 Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +02:00
Victor Porof
2d45dc942f Bug 942120 - Avoid 'missing method' errors thrown by nsIScrollBoxObject when the nodes aren't visible. r=anton 2013-11-22 15:23:56 +02:00
Victor Porof
f270c5abca Bug 928278 - BreadcrumbsWidget should use setNamedTimeout, r=past 2013-10-18 11:13:36 +03:00
Victor Porof
3e80672cb9 Bug 882054 - Cleanup widgets inheritance model mechanism a bit, r=past 2013-06-21 17:33:56 +03:00
Victor Porof
1c40ac16cd Bug 852639 - Make the BreadcrumbsWidget keyboard accessible, r=rcampbell 2013-06-06 09:53:08 +03:00
Victor Porof
c1e05139d6 Bug 869497 - Remove function expression names from the debugger, netmonitor and widgets, r=rcampbell 2013-05-13 10:01:00 +03:00
Victor Porof
bd853245ea Bug 859039 - Allow sorting by column (status, method, file, domain, type, size etc.), r=rcampbell 2013-05-10 12:01:08 +03:00
Victor Porof
bd1c6716da Bug 812083 - Implement a SideMenuWidget (add a tree view to the remote debugger's script selector), r=past,rcampbell 2013-02-21 01:33:36 +02:00
Victor Porof
60e671abff Bug 802546 - Prettify the Stackframes UI, r=rcampbell 2013-03-09 21:05:09 -08:00