Commit Graph
180 Commits
Author SHA1 Message Date
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Tim Nguyen 265bbb90e8 Bug 1255116 - Simplify toolbar button styles. r=jryans
MozReview-Commit-ID: 9J11mNk2c5W
2017-02-14 19:34:54 +00:00
Kerem KAT 269736ba77 Bug 1242601 - Change devtools "Show allocation triggers" button style to resemble a link. r=gtatum 2017-01-04 18:35:25 +03:00
Nicholas Nethercote 813e825754 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.
2017-02-02 11:07:13 +11:00
Nicholas Nethercote cb4cbc3719 Bug 1333296 (part 5) - Remove SPS references in devtools/ and dom/. r=mstange. 2017-01-25 09:08:15 +11:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Joel Maher 0f0373cde1 Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Jared Wein 21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -05:00
Greg Tatum 4cfa5992a4 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9
2016-11-18 15:02:21 -06:00
Phil Ringnalda 081875b29e Bug 1273374 - Disable browser_perf-recording-notices-03.js on 32-bit debug for very frequent failures
MozReview-Commit-ID: aekA652Iz5
2016-12-04 07:41:50 -08:00
Tom Tromey 8a93d4e955 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY
2016-11-21 08:47:10 -07:00
Michael Brennan 0527fa77a5 Bug 1315923 - Make devtools/client/performance pass ESLint's "react/prop-types" rule. r=jdescottes 2016-11-18 20:12:48 +01:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Towkir Ahmed 080e89da0f Bug 1296984 - Fix indentation of child twisty in jit-optimizations-view in RTL locales. r=ntim 2016-10-13 17:39:00 -04:00
Amit Chandra 47f41a31a4 Bug 1259227 - Update regex for the imported profile name in the performance tool. r=gregtatum
Change the regex responsible for displaying the imported profile
name in performance module to show full name of the profile
except the extension of the file.

MozReview-Commit-ID: JA59V3P50RG
2016-10-11 13:48:00 +02:00
Greg Tatum a4631ccd8b Bug 1302062 - Use React on performance recording list; r=jsantell 2016-09-20 09:47:59 -05:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -07:00
Jarda Snajdr 4f04418547 Bug 1152441 - Part 2: Rewrite the marker view to use React and the Tree component r=gregtatum
MozReview-Commit-ID: 5TNNsVSql46
2016-09-09 16:55:54 +02:00
Greg Tatum 0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum 36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Tim Nguyen f6e31963c8 Bug 1300473 - Properly set recording buttons classes in performance tool. r=gregtatum 2016-09-12 17:31:51 +02:00
Sebastian Hengst 1b913ffb5a Backed out changeset 5b64b2e8e518 (bug 1300473) for failing devtools test browser_perf-recording-selected-03.js. r=backout 2016-09-12 20:03:26 +02:00
Tim Nguyen 3b8574034d Bug 1300473 - Properly set recording buttons classes in performance tool. r=gregtatum 2016-09-12 17:31:51 +02:00
Greg Tatum 5b4041dff2 Bug 1297784 - Turn performance controls into a React component; r=jsantell
MozReview-Commit-ID: 1R8ky0vW4fH
2016-08-18 14:53:03 -05:00
Julian Descottes 2283f05cf3 Bug 1265887 - migrate devtools/ from PluralForm.jsm to plural-form.js;r=tromey
MozReview-Commit-ID: 7I7djgqcrnr
2016-08-27 18:42:33 +02:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Julian Descottes dd7585e67d Bug 1294220 - part3: Escape % characters in localized strings;r=bgrins
MozReview-Commit-ID: AcUOjfgp9lS
2016-08-23 00:13:04 +02:00
divyanshu 5b3443845e Bug 1292998 - Replace Iterator() with Object.{entries,values}. r=jryans
Replace simple in-tree consumer of non-standard Iterator() with Object.{values,entries} in devtools/
2016-08-14 02:02:06 +05:30
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Greg Tatum 13b3b00221 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7
2016-08-02 17:18:01 -05:00
Greg Tatum bd9650f208 Bug 1290142 - Lint devtools/client/performance/test/unit; r=jsantell
MozReview-Commit-ID: IDBF4mmHElf
2016-07-28 16:03:55 -05:00
Greg Tatum d23dccabb7 Bug 1290142 - Lint devtools/client/performance/modules/; r=jsantell
MozReview-Commit-ID: 5Q71TImHlgW
2016-07-28 11:53:20 -05:00
Greg Tatum 5f7d0ced0f Bug 1290142 - Lint devtools/client/performance/modules/ subfolders; r=jsantell
MozReview-Commit-ID: 5K3ugb3xAhM
2016-07-28 11:52:48 -05:00
Greg Tatum 6416acf70e Bug 1290142 - Lint devtools/client/performance/legacy; r=jsantell
MozReview-Commit-ID: 9zX19SxK8rw
2016-07-28 10:47:12 -05:00
Greg Tatum a53f6fac3a Bug 1290142 - Lint devtools/client/performance/components; r=jsantell
MozReview-Commit-ID: E418yPtONiX
2016-07-28 08:58:05 -05:00
Greg Tatum 54f9488fd4 Bug 1288830 - Start to lint parts of the performance tool. r=jsantell 2016-07-22 13:55:00 -04:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Luke Chang 4744357060 Bug 1265686 - Add PageUp/PageDown/Home/End navigation in AbstractTreeItem; r=gregtatum
MozReview-Commit-ID: 1LkKblI5ghz
2016-07-13 19:12:31 +08:00
"Helen V. Holmes" ad3150e30d Bug 1247331: Make import snapshot an icon,r=ntim
MozReview-Commit-ID: 4p73KYag0sT
2016-07-12 20:26:00 +02:00
Greg Tatum b3528e782c Bug 1259228 - Fix shortcut bug in performance tools r=jsantell 2016-07-08 08:07:00 +02:00
Alexandre Lissy ad2a84e842 Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35
2016-03-16 17:11:12 +01:00