Commit Graph

4072 Commits

Author SHA1 Message Date
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Wes Kocher
f2cb5e7c63 Merge inbound to m-c a=merge
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
Julian Descottes
3bb40f34e4 Bug 1335768 - inspector.html: replace calls to lazyImporter by empty fn;r=pbro
MozReview-Commit-ID: DgKfGbxjcn9

--HG--
extra : rebase_source : d1913d01fdf6390baa7406c2ad27db64a6333098
2017-02-01 17:34:48 +01:00
Julian Descottes
60bfa6a552 Bug 1335768 - inspector.html: remove dangling commas in args lists;r=pbro
MozReview-Commit-ID: FqYpcO25k7L

--HG--
extra : rebase_source : 12ac6a657ec3da19bc8f349c3d269bd1ceee7861
2017-02-01 17:16:56 +01:00
Wes Kocher
5e6c2376df Backed out changeset 85d33b74434a (bug 1327675) for asan dt10 failures in browser_rules_content_02.js a=backout
MozReview-Commit-ID: GxWdtGX5Lor
2017-01-31 10:24:33 -08:00
Jaideep Bhoosreddy
f1ddebe669 Bug 1334126 - Fix "Screenshot icon beside Screenshot Behavior label looks inconsistent". r=ntim.bugs
--HG--
extra : rebase_source : 7251497a5303293f26286b35706584e463119df3
2017-01-30 14:00:00 +01:00
Sébastien Blin
7560c32ad6 Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
MozReview-Commit-ID: KydZ3vNM6Z6

--HG--
extra : rebase_source : daa76ab0e51a6e087842be855a75638e47a2b43a
2017-01-27 07:32:00 +01:00
Julian Descottes
9f50dbd0e4 Bug 1335037 - add options to toggle new frontend for console/debugger;r=jryans
Add options (available in Nightly/Local builds only) to switch between the old
and new frontends for console and debugger.

MozReview-Commit-ID: 413xt7h9aoP

--HG--
extra : rebase_source : e1dcfdce8197b55674bab5e0ba992c4cccc12198
2016-12-27 17:59:58 +01:00
Nicholas Nethercote
9373d7166c Bug 1335595 (part 4) - Merge ThreadProfile into ThreadInfo. r=mstange.
ThreadInfo and ThreadProfile are hopelessly intertwined.

- ThreadInfo has an owning pointer to ThreadProfile. ThreadProfile has a raw
  back pointer to ThreadInfo. A reference to one is as good as a reference to
  the other, and references to one frequently reach into the other.

- An exception is SyncProfile, a sub-class of ThreadProfile, which instead has
  an owning pointer to its ThreadInfo. (This makes the SyncProfile's destructor
  dubious, because it deletes the ThreadInfo, which could conceivably re-call
  into SyncProfile's destructor.)

- ThreadProfile also has copies of five ThreadInfo fields (mThreadId,
  mIsMainThread, mPlatformData, mStackTop, mPseudoStack) even though it also
  has direct ThreadInfo access via the back pointer.

The only good reason for having the two classes separate is that some
ThreadInfo objects have a null ThreadProfile pointer. But this doesn't justify
the entanglement.

So this patch merges ThreadProfile into ThreadInfo. It visually separates the
methods and fields related to profiles to partially preserve the original
meaning of the split. The new ThreadInfo::hasProfile() method replaces
ThreadInfo::Profile() as the indicator of whether a ThreadInfo has associated
profile data.

Notable points of simplification:

- The five duplicated fields are no longer duplicated.

- NewSyncProfile(), RegisterThread() no longer create ThreadProfile objects.

- ~SyncProfile() becomes trivial.

- ThreadInfo::SetPendingDelete() is simpler.

- Overall it removes ~80 lines of code.

Much of the rest is just plumbing changes.

--HG--
extra : rebase_source : 2e8c4cc46aa15943ffdc1fa19d9c829587267ee9
2017-02-02 11:07:13 +11:00
Sebastian Hengst
bff395da0b Backed out changeset bb3edf240bb0 (bug 1327675) for eslint failures. r=backout 2017-02-02 00:01:39 +01:00
djmdev
0c6e70f986 Bug 1201750 - Selecting text with Ctrl+A now copies correct text to clipboard. r=jdescottes
Copying text with keyboard using Ctrl+A now gives correctly formatted text.

MozReview-Commit-ID: HuzrNyl0J0H

--HG--
extra : rebase_source : bb9d813a39a080c69c1db7524557bfaf786ed0c7
2017-01-31 01:17:25 +05:30
djmdev
2f679a09e9 Bug 1201750 - Prevent "select all" command from selecting content in hidden tabs. r=jdescottes
Now "select all" command no more selects the content of hidden tabs.

MozReview-Commit-ID: GPK2293JqnP

--HG--
extra : rebase_source : 41bc448402606e6b6ec333c4dc90906be45208c8
2017-02-01 15:32:55 +01:00
Sébastien Blin
ae30e668fa Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
--HG--
extra : rebase_source : 1df369d9b5e07beaf9d66d017122f1f76afd9faf
2017-02-01 06:13:00 -05:00
Wes Kocher
e457683b2d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BipzgOEInZh
2017-01-30 15:54:34 -08:00
Wes Kocher
584127af5f Merge inbound to central, a=merge
MozReview-Commit-ID: 4GYZ5Pzy7BY
2017-01-30 15:44:58 -08:00
Tomer Cohen
abfe1947fc Bug 1334769 - RTL support for DevTools Font Inspector. r=gl
MozReview-Commit-ID: 6ga6KRJyj0x
2017-01-28 11:33:20 +02:00
Gijs Kruitbosch
862d5504b4 Bug 1333210, r=honzab,ckerschb
MozReview-Commit-ID: 2Gu8sv36Yyy

--HG--
extra : rebase_source : a1dc27e435c0bb4bea545d07e1675a7e27a1766e
2017-01-23 22:18:21 +00:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Gabriel Luong
7b223594ba Bug 1333561 - Part 5: Replace the inspector and computed view tests with the correct box model selectors. r=me 2017-01-28 17:38:58 -05:00
Gabriel Luong
b0eccb57d9 Bug 1333561 - Part 4: Rename box-model.js to deprecated-box-model.js. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/components/deprecated-box-model.js
2017-01-28 17:11:24 -05:00
Gabriel Luong
37d7b4c160 Bug 1333561 - Part 3: Implements the box model panel in the layout view. r=jdescottes 2017-01-28 17:11:04 -05:00
Gabriel Luong
53e3e0bfa2 Bug 1333561 - Part 2: Refactor EditingSession to a separate utils module. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/layout/utils/editing-session.js
2017-01-28 17:10:55 -05:00
Gabriel Luong
e3c40de999 Bug 1333561 - Part 1: Add an "old" prefix to the current box model's markup and css. r=jdescottes
--HG--
rename : devtools/client/themes/boxmodel.css => devtools/client/themes/deprecated-boxmodel.css
2017-01-28 17:10:46 -05:00
Sebastian Hengst
2eb374bd43 Backed out changeset ab2849f57624 (bug 1333561) for failing browser_inspector_textbox-menu.js. r=backout 2017-01-28 20:31:42 +01:00
Sebastian Hengst
26891f1df2 Backed out changeset 841363ee81e6 (bug 1333561) 2017-01-28 20:31:09 +01:00
Sebastian Hengst
9d801abe94 Backed out changeset 34e6599b9e3c (bug 1333561) 2017-01-28 20:31:04 +01:00
Sebastian Hengst
bb40054c8c Backed out changeset 725a0bf59e2b (bug 1333561)
--HG--
rename : devtools/client/inspector/components/deprecated-box-model.js => devtools/client/inspector/components/box-model.js
2017-01-28 20:30:59 +01:00
Sebastian Hengst
eef8eae6cf Backed out changeset e0effb6a369a (bug 1333561) 2017-01-28 20:30:55 +01:00
Gabriel Luong
2970a6cdb3 Bug 1333561 - Part 5: Replace the computed view tests with the correct box model wrapper id selector. r=me 2017-01-28 13:35:17 -05:00
Gabriel Luong
735686e810 Bug 1333561 - Part 4: Rename box-model.js to deprecated-box-model.js. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/components/deprecated-box-model.js
2017-01-28 12:51:02 -05:00
Gabriel Luong
f1d7bb9aba Bug 1333561 - Part 3: Implements the box model panel in the layout view. r=jdescottes 2017-01-28 12:50:26 -05:00
Gabriel Luong
e8c8117123 Bug 1333561 - Part 2: Refactor EditingSession to a separate utils module. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/layout/utils/editing-session.js
2017-01-28 12:43:27 -05:00
Gabriel Luong
9bacfd7135 Bug 1333561 - Part 1: Add an "old" prefix to the current box model's markup and css. r=jdescottes
--HG--
rename : devtools/client/themes/boxmodel.css => devtools/client/themes/deprecated-boxmodel.css
2017-01-28 12:43:21 -05:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Carsten "Tomcat" Book
5b5e4fa328 Merge mozilla-central to mozilla-inbound 2017-01-27 12:14:06 +01:00
Julian Descottes
23a6ef4890 Bug 1333385 - fix netmonitor b64 test after mc-merge;r=me a=tomcat
MozReview-Commit-ID: EndUt4g5BK2
2017-01-27 12:08:47 +01:00
Carsten "Tomcat" Book
a516a86a24 merge mozilla-inbound to mozilla-central a=merge 2017-01-27 10:42:54 +01:00
Ricky Chien
2f76dc4d66 Bug 1333004 - Selecting the details panel request is slow r=Honza
MozReview-Commit-ID: 43EoGR6IZGo

--HG--
extra : rebase_source : c2bfc1f7dcf66744bfa6105dc8497f2557a8b559
2017-01-25 15:40:30 +08:00
Wes Kocher
65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Ricky Chien
826d02c25e Bug 1333364 - Introduce id props to tab r=Honza
MozReview-Commit-ID: 1nbK6mlRSIr

--HG--
extra : rebase_source : 60f1eb24db7fbda9063503f005f00ff3997641d6
2017-01-25 00:25:11 +08:00
Adrien Enault
d1aa9f8545 Bug 1333385 - Fix base64 json in netmonitor. r=jdescottes 2017-01-26 18:18:22 +01:00
Joel Maher
cf806d9a07 Bug 1313861 - Intermittent browser_dbg_searchbox-parse.js, disable on all debug configurations. r=gregtatum
MozReview-Commit-ID: 9ljuZ2Co6hP
2017-01-26 05:51:56 -05:00
Phil Ringnalda
39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Phil Ringnalda
7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
Wes Kocher
78e9940e61 Backed out changeset dd1efa762e49 (bug 1333683) for failing the browser_color_widget test a=backout
MozReview-Commit-ID: 1am5MdTLodU

--HG--
extra : source : 6057588e27441ec4ce22e05b5a9f7eee7774995b
2017-01-25 15:52:12 -08:00
Jason Laster
bd339f9eac Bug 1333602 - Update new frontend (1/24/2017). r=jdescottes
* copy files from Debugger
* kill svgs
* add modes
* add theme changes
* add property changes
* remove old system for updating bundles
2017-01-25 11:49:00 +08:00
Wes Kocher
b68e3aac43 Backed out changeset dd1efa762e49 (bug 1333683) for failing the browser_color_widget test a=backout
MozReview-Commit-ID: 1am5MdTLodU
2017-01-25 15:52:12 -08:00
Gabriel Luong
294b6a4dd5 Bug 1333683 - Add unit test for the ColorWidget. r=jdescottes
--HG--
rename : devtools/client/shared/test/browser_spectrum.js => devtools/client/shared/test/browser_color_widget.js
2017-01-25 14:58:38 -05:00
Jason Laster
738cc9748d Bug 1328693 - Extract debugger preferences. r=jryans 2017-01-25 06:19:00 -05:00