Ehsan Akhgari
a95b6edeea
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Dave Camp
531ad984d6
Bug 761665: [rule view] double clicking on a property value does weird things. r=paul
2012-06-19 10:22:29 -07:00
Dave Camp
b7df8bdb18
Bug 740543 - Rule view does not update when window is resized. r=robcee
2012-06-02 15:18:33 -07:00
Dave Camp
510ccb2afa
Bug 745961 - Hard to find the clickable region for adding a new CSS property in the Style Inspector. r=paul
2012-06-01 15:13:48 -07:00
Dave Camp
98fee4f732
Bug 734365 - Rule view focus management needs an overhaul. r=paul
2012-06-01 15:13:48 -07:00
Dave Camp
fee853fba4
Bug 757253 - Implement real update in the rule view. r=robcee
2012-05-30 19:49:10 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Ratcliffe
791f96e187
Bug 733747 - Highlight changed items in the rule view. r=msucan
2012-04-17 10:35:12 +01:00
Dave Camp
ea761452ca
Bug 702411 - Rule view shouldn't update during highlighting. r=robcee
2012-04-19 11:13:44 -07:00
Dave Camp
51e0086bff
Bug 740662 - Replace InspectorStore dictionaries with Inspector instances. r=robcee
2012-04-19 11:13:42 -07:00
Dave Camp
7885fece64
Bug 707809 - Refactor creation of registered sidebar tools iframes in InspectorUI. r=robcee
2012-04-19 11:04:46 -07:00
Michael Ratcliffe
46b4e30246
Bug 740603 - "Copy Rule" in the rule view includes expanded shorthand properties; r=dcamp
2012-04-16 12:20:46 +01:00
Dave Camp
eea25d558b
Bug 740615 - Move rule view copy code into CssRuleView.jsm. r=paul
2012-04-04 09:36:35 -07:00
Michael Ratcliffe
f03ae0ebd4
Bug 734259 - Clicking a system stylesheet in the style inspector does not open the source; r=msucan
2012-03-19 18:38:13 +00:00
Bobby Holley
9547cdcb7b
Bug 739432 - Access the inplaceEditor expando with an explicit API. r=dcamp
2012-03-26 15:26:21 -07:00
Michael Ratcliffe
1c78bee43d
Bug 736014 - "Copy rule" with some text selected copies that text additionally; r=paul
2012-03-15 14:37:58 +00:00
Michael Ratcliffe
608f7a934b
Bug 705276 - Split style inspector CSS between content & document CSS; r=prouget
2012-03-11 20:36:46 +00:00
Michael Ratcliffe
7a0125fde0
Bug 703643 - Be able to copy from the rules view; r=prouget
2012-03-11 14:01:38 +00:00
Blake Winton
2903600336
Bug 704223 - styles added in data urls are displayed badly in the rule view; r=prouget
2012-03-08 20:27:55 -05:00
Dave Camp
4f7fe0d6d3
Bug 719916 - Rule view loses focus after entering attribute name. r=jwalker
2012-03-08 18:27:37 -08:00
Michael Ratcliffe
03d179f404
Bug 722196 - Rule view showing rules in the wrong order; r=jwalker
2012-03-01 19:13:12 +00:00
Michael Ratcliffe
294829b875
Bug 728833 - String change in styleinspector.properties whitout changing name; r=past
2012-02-20 11:53:33 +00:00
Michael Ratcliffe
1ad14e2596
Bug 727867 - Rule view indicate when invalid values are entered; r=dcamp
2012-02-25 15:30:51 +00:00
Michael Ratcliffe
19ce2b035e
Bug 707940 - Rule view should maintain user entered values; r=msucan,dcamp
2012-02-23 12:24:23 +00:00
Michael Ratcliffe
67afe23484
Bug 592743 - Style inspector specificity calculator makes mistakes; r=jwalker
2012-02-28 14:26:05 +00:00
Heather Arthur
2acd67c3c7
Bug 707740 - Ability to lock in a pseudo class in the page inspector. r=dcamp
2012-02-24 16:01:29 -08:00
Dave Camp
f114db9ebf
Bug 696755: Open the inspector sidebar on inspect if previously active. r=rcampbell
2012-01-28 14:48:00 +01:00
Michael Ratcliffe
c281712bcd
Bug 705707 - Style Inspector doesn't take into account chrome:// stylesheets; r=msucan f=dao
2012-02-13 11:26:33 +00:00
Michael Ratcliffe
82ff6b3ed6
Bug 585563 - The inspector style panel should link to the CSS editor; r=dcamp f=cedricv
2012-02-10 13:39:47 +00:00
Michael Ratcliffe
dc54998ab5
Bug 720980 - Quick rule view ... quick layout fix until we have mockups - Only hide checkboxes. r=paul
2012-01-31 13:55:03 +00:00
Paul Rouget
ade44b8e24
Bug 719783 - In the Rule View, pressing Escape close the whole Inspector. r=dcamp
2012-01-20 16:36:35 +01:00
Dao Gottwald
c7d43576c7
Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell
2012-01-23 11:50:11 -04:00
Till Schneidereit
2ee58c18ea
Bug 718518. Remove in-tree uses of the nonstandard third argument to String.prototype.replace. r=dcamp,jgriffin,dao,ted,dtownsend
2012-01-18 16:10:39 -05:00
Dave Camp
bb17d0f6d7
Bug 706886 - Line-through disappears after editing overridden rule in style inspector; f=rcampbell; r=joewalker
2012-01-13 13:05:49 -05:00
Paul Rouget
8f61e993ad
Bug 715887 - Rename Properties to Computed in the Style sidebar; r=rcampbell
2012-01-09 17:45:53 +01:00
Paul Rouget
e501a6a6e9
Bug 704017 - [RTL] The Inspector rules view should be LTR; r=dao
2012-01-05 12:42:30 +01:00
Michael Ratcliffe
e866bfe0e5
Bug 589375 - Inspector: style panel keyboard access. r=msucan
2011-12-19 14:57:42 +01:00
Michael Ratcliffe
f977824507
Bug 704132 - Style Inspector's left column should auto-fit text contents. r=dao r=paul
2011-12-19 14:16:43 +01:00
Rob Campbell
9187eb976c
Bug 712113 - Either brace should be clickable to add new properties in the Style panel's Rule View; r=jwalker
2011-12-22 14:58:17 -04:00
Ms2ger
b584f33714
Merge m-c to m-i.
2011-12-16 21:04:41 +01:00
Rob Campbell
6103bfc002
merge fx-team to m-c
...
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Masayuki Nakano
b4506dd72f
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Ed Morley
9525e1ba4b
Bug 692625 - Move browser/devtools/styleinspector/test/browser/ to browser/devtools/styleinspector/test/; r=rcampbell
...
--HG--
rename : browser/devtools/styleinspector/test/browser/Makefile.in => browser/devtools/styleinspector/test/Makefile.in
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.html => browser/devtools/styleinspector/test/browser_bug683672.html
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_bug_692400_element_style.js => browser/devtools/styleinspector/test/browser_bug_692400_element_style.js
rename : browser/devtools/styleinspector/test/browser/browser_csslogic_inherited.js => browser/devtools/styleinspector/test/browser_csslogic_inherited.js
rename : browser/devtools/styleinspector/test/browser/browser_ruleview_editor.js => browser/devtools/styleinspector/test/browser_ruleview_editor.js
rename : browser/devtools/styleinspector/test/browser/browser_ruleview_inherit.js => browser/devtools/styleinspector/test/browser_ruleview_inherit.js
rename : browser/devtools/styleinspector/test/browser/browser_ruleview_manipulation.js => browser/devtools/styleinspector/test/browser_ruleview_manipulation.js
rename : browser/devtools/styleinspector/test/browser/browser_ruleview_override.js => browser/devtools/styleinspector/test/browser_ruleview_override.js
rename : browser/devtools/styleinspector/test/browser/browser_ruleview_ui.js => browser/devtools/styleinspector/test/browser_ruleview_ui.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector_bug_672744_search_filter.js => browser/devtools/styleinspector/test/browser_styleinspector_bug_672744_search_filter.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector_bug_672746_default_styles.js => browser/devtools/styleinspector/test/browser_styleinspector_bug_672746_default_styles.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector_bug_689759_no_results_placeholder.js => browser/devtools/styleinspector/test/browser_styleinspector_bug_689759_no_results_placeholder.js
rename : browser/devtools/styleinspector/test/browser/head.js => browser/devtools/styleinspector/test/head.js
2011-12-16 09:11:21 +00:00
Michael Ratcliffe
6859ffa198
Bug 702861 - browser chrome mochitests trigger uncaught JS exception in CssHtmlTree.jsm; r=dcamp
2011-11-16 10:51:05 +01:00
Joe Walker
aae7876045
Bug 705074 - All uses of DOMTemplate should use new template function; r=dcamp
2011-12-08 12:39:04 +00:00
Cameron McCormack
0fb03e07e0
Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher
2011-12-02 23:25:03 +11:00
Ed Morley
c5ac81c33d
Bug 703874 - Remove redundant |ifneq (mobile,$(MOZ_BUILD_APP))| from makefiles in browser; r=ted
2011-11-30 18:37:57 +00:00
Mihai Sucan
d8045b5c65
Bug 700331 - Remove inspectstyle() from the Web Console; r=rcampbell,l10n
2011-11-16 18:37:15 +02:00
Dave Camp
422cf18d60
Bug 700770 - Style Inspector's Rule View can't scroll vertically followup, fixes inplace editing. r=robcee.
2011-11-15 16:47:14 -08:00
Michael Ratcliffe
73b824fbc0
Bug 700770 - Style Inspector's Rule View can't scroll vertically; r=dao,rcampbell
2011-11-14 16:21:34 +01:00
Mihai Sucan
c216565901
Bug 700387 - Remove the Style Inspector breadcrumbs; r=dcamp
2011-11-07 21:57:10 +02:00
Dave Camp
c2a0574100
Bug 696181 - Properties disabled in the css rule view should not be lost. r=robcee
2011-11-07 10:35:40 -08:00
Dave Camp
b5e6ed517f
Bug 700194 - Speed up style inspector creation and refresh. r=msucan
2011-11-07 10:35:40 -08:00
Dave Camp
36cdc761fc
Bug 691978 - CssLogic doesn't discern between inherited and not-inherited properties. r=msucan
2011-11-07 10:35:39 -08:00
Dão Gottwald
719ead4832
Bug 699002 - Use a xul:checkbox for "Only user styles" option. r=rcampbell
2011-11-07 16:25:08 +01:00
Dão Gottwald
f2c6ff4d46
Bug 700272 - Remove non-functional resizer from the style inspector. r=rcampbell
2011-11-07 16:24:44 +01:00
Dão Gottwald
474c7c40db
Bug 700243 - Rename csshtmltree.xul's 'header' class. r=msucan
2011-11-07 13:52:06 +01:00
Dave Camp
c9cf1b65d0
Bug 699978 - Tools should notify the highlighter when they've modified a node. r=robcee
2011-11-06 19:02:08 -08:00
Dão Gottwald
c634860a9e
Bug 699832 - Style Inspector needs a way to display treetwisties that will work on all operating systems. r=dcamp
2011-11-06 10:26:00 -08:00
Michael Ratcliffe
6129ae153d
Bug 689759 - Style Inspector needs a no-results placeholder. r=msucan
2011-11-06 12:36:38 +02:00
Mihai Sucan
9b8366cd22
Bug 698762 - Remove unmatched rules from style inspector. r=robcee
2011-11-06 12:26:09 +02:00
Dão Gottwald
0b639ce679
Bug 700036 - Put the style inspector into a xul document. r=dcamp
...
--HG--
rename : browser/devtools/styleinspector/csshtmltree.xhtml => browser/devtools/styleinspector/csshtmltree.xul
rename : browser/devtools/styleinspector/cssruleview.xhtml => browser/devtools/styleinspector/cssruleview.xul
2011-11-05 12:31:00 -07:00
Rob Campbell
a1d6ac3585
Backout part 2 - Bug 689759 rev b73aa0bd2b4e, Bug 698762 rev 2967e93cdb44, a=bustage
2011-11-05 19:19:02 -03:00
Rob Campbell
29dc47ca07
Backout part 1 - Bug 698762 rev 1b6acffa7a94, Bug 698762 rev f0e736dbc7bc, a=bustage
2011-11-05 19:18:58 -03:00
Rob Campbell
864956964f
Bug 698762 - Remove unmatched rules from style inspector; backout; a=dcamp
2011-11-05 17:01:10 -03:00
Rob Campbell
b58577f69b
merge m-c to fx-team
2011-11-05 15:55:28 -03:00
Ed Morley
7bc582f20f
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rob Campbell
92c7bd7f02
merge m-c to fx-team
2011-11-05 10:11:34 -03:00
Michael Ratcliffe
bab28afe5c
Bug 689759 - Style Inspector needs a no-results placeholder; r=msucan
2011-11-05 12:52:55 +01:00
Michael Ratcliffe
c6e58bd800
Bug 698762 - Remove unmatched rules from style inspector; r=msucan
2011-11-05 12:38:17 +01:00
Michael Ratcliffe
63a634f34e
Bug 672748 - Style inspector UI refresh; r=dcamp,msucan,rcampbell,dao
2011-11-04 18:12:58 +01:00
Mihai Sucan
ac58401aa8
Bug 692543 - Make the Style Inspector UI faster; r=dcamp
2011-11-02 19:50:15 +02:00
Dave Camp
8863497d7e
Bug 699968 - Update the rule view's dtd link. r=robcee
2011-11-05 08:46:40 -07:00
Dave Camp
60392df231
Bug 696180 - Add support for inherited properties to the rule view. r=robcee
2011-11-05 08:45:22 -07:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Rob Campbell
e13aae1370
Bug 695440 - Create sidebar for Highlighter tools; f=zpao; r=dcamp,dao
2011-11-03 10:37:14 -03:00
Dave Camp
046d9f4003
Bug 693887 - Implement a rule-centric view for the style inspector. r=robcee, r=dao
2011-11-01 18:06:48 -07:00
Joe Walker
41a59a667f
Bug 687851 - Create a locales directory in the devtools module, move all devtools l10n strings to it; r=rcampbell,mfinkle,l10n
...
--HG--
rename : browser/locales/en-US/chrome/browser/inspector.properties => browser/locales/en-US/chrome/browser/devtools/inspector.properties
rename : browser/locales/en-US/chrome/browser/scratchpad.dtd => browser/locales/en-US/chrome/browser/devtools/scratchpad.dtd
rename : browser/locales/en-US/chrome/browser/scratchpad.properties => browser/locales/en-US/chrome/browser/devtools/scratchpad.properties
rename : browser/locales/en-US/chrome/browser/styleinspector.dtd => browser/locales/en-US/chrome/browser/devtools/styleinspector.dtd
rename : browser/locales/en-US/chrome/browser/styleinspector.properties => browser/locales/en-US/chrome/browser/devtools/styleinspector.properties
rename : toolkit/locales/en-US/chrome/global/webConsole.dtd => browser/locales/en-US/chrome/browser/devtools/webConsole.dtd
rename : toolkit/locales/en-US/chrome/global/headsUpDisplay.properties => browser/locales/en-US/chrome/browser/devtools/webconsole.properties
2011-10-27 12:35:13 -03:00
Mihai Sucan
9c7aa9352a
Bug 692400 - Style inspector appears to ignore inline styles; r=dcamp
2011-10-26 21:52:34 +03:00
Rob Campbell
2eedd7940e
Bug 697109 - browser_styleinspector_webconsole.js sometimes fails with instance stylePanels[1] is hidden; r=msucan
2011-10-25 12:53:03 -03:00
Rob Campbell
cb35b8bae0
Bug 685893 - style inspector properties and methods to be moved out of the panel, a=orange
2011-10-21 15:16:36 -04:00
Rob Campbell
3b80f4a4c0
Bug 685893 - style inspector properties and methods to be moved out of the panel; r=msucan
2011-10-21 13:40:22 -04:00
Michael Ratcliffe
36f7e6c21a
Bug 685900 - csshtmltree.refreshPanel should use a setTimeout loop to improve performance (cancel-able); r=msucan
2011-10-19 12:25:39 +02:00
Michael Ratcliffe
e52511a7b2
Bug 685902 - Improve csshtmltree speeds by adding a has[Un]matchedSelectors() method. r=msucan
2011-10-13 11:28:52 +02:00
Michael Ratcliffe
477dfb7c5c
Bug 691721 - Potential memory leak in DevTools test, r=msucan
2011-10-04 13:26:22 +02:00
Rob Campbell
f2b975797f
merge m-c to fx-team
2011-10-08 01:58:32 -03:00
Rob Campbell
5b4b63299e
Bug 689160 - Investigate and Fix leaked csshtmltree.xhtml windows in Highlighter+Style Inspector; r=msucan
2011-10-07 12:38:35 -03:00
Mihai Sucan
3412110a4e
Bug 689968 - CssLogic is slow at skipping UA rules for the unmatched selectors view; r=rcampbell
2011-09-28 19:26:01 +03:00
Rob Campbell
d886182d5f
Bug 663831 - Style inspector should be controllable from the highlighter; r=gavin,msucan
2011-09-26 13:46:44 -03:00
Dão Gottwald
c7ea5c62f9
Backed out changeset f1409901573a
2011-09-24 12:22:48 +02:00
Rob Campbell
0cbd87c4df
Bug 663831 - Style inspector should be controllable from the highlighter; r=msucan,gavin
2011-09-23 13:50:33 -03:00
Michael Ratcliffe
620028efdf
Bug 672744 - Add search filter to style inspector; r=msucan
2011-09-20 11:59:13 +02:00
Michael Ratcliffe
293a19d75f
Bug 672746 - Add an Only user styles checkbox to the style inspector, r=msucan
2011-09-20 11:35:01 +02:00
Michael Ratcliffe
b7d113ebcf
Bug 674856 - The style inspector should not redraw the whole UI every time it is used; r=mihai.sucan
2011-09-15 13:30:00 +03:00
Michael Ratcliffe
9d83e5f859
Bug 683672 - Style Inspector is counting some unmatched rules incorrectly; r=msucan
2011-09-05 15:14:52 +02:00
Michael Ratcliffe
dddeb8cff6
Bug 683737 - browser/devtools/styleinspector/test/browser/browser_styleinspector_webconsole.js; r=msucan
2011-09-05 15:33:01 +02:00
Michael Ratcliffe
91df175ed6
Bug 683320 - data:text/html,basic style inspector tests leaked during mochitest-browser-chrome. r=msucan
2011-09-01 14:17:05 +02:00
Mike Ratcliffe
9013d36779
Bug 672743 - Remove category view from style inspector; r=msucan
2011-08-30 13:40:29 -03:00
Mike Ratcliffe
0082504274
Bug 680111 - style inspector is not showing the correct selected rule, r=msucan
2011-08-30 13:38:30 -03:00
Mike Ratcliffe
0b8cb6dd25
Bug 582596 - Style view centered around answering common CSS questions, f=l10n, r=dolske, msucan
2011-08-30 09:12:02 -03:00
Dave Camp
4bfd768b28
Bug 698921 - Rule view override calculation misses disabled properties; r=rcampbell
2011-11-04 13:42:26 -03:00
Ed Morley
72ed7305fc
Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey
2011-10-06 17:15:07 +01:00
Ed Morley
918444551f
Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey
2011-10-06 17:15:07 +01:00