Commit Graph

33 Commits

Author SHA1 Message Date
Ehsan Akhgari
f4bd388765 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
073fd902de 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
7142b5ce83 Bug 740543 - Rule view does not update when window is resized. r=robcee 2012-06-02 15:18:33 -07:00
Dave Camp
4028077414 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
a2ac316de4 Bug 734365 - Rule view focus management needs an overhaul. r=paul 2012-06-01 15:13:48 -07:00
Dave Camp
28c51b8427 Bug 757253 - Implement real update in the rule view. r=robcee 2012-05-30 19:49:10 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Ratcliffe
a15521ba69 Bug 733747 - Highlight changed items in the rule view. r=msucan 2012-04-17 10:35:12 +01:00
Dave Camp
6932bbe470 Bug 702411 - Rule view shouldn't update during highlighting. r=robcee 2012-04-19 11:13:44 -07:00
Dave Camp
db226ca396 Bug 707809 - Refactor creation of registered sidebar tools iframes in InspectorUI. r=robcee 2012-04-19 11:04:46 -07:00
Michael Ratcliffe
42af291e09 Bug 740603 - "Copy Rule" in the rule view includes expanded shorthand properties; r=dcamp 2012-04-16 12:20:46 +01:00
Dave Camp
dc6de1215a Bug 740615 - Move rule view copy code into CssRuleView.jsm. r=paul 2012-04-04 09:36:35 -07:00
Bobby Holley
caf429f9f6 Bug 739432 - Access the inplaceEditor expando with an explicit API. r=dcamp 2012-03-26 15:26:21 -07:00
Michael Ratcliffe
89145df39c Bug 736014 - "Copy rule" with some text selected copies that text additionally; r=paul 2012-03-15 14:37:58 +00:00
Michael Ratcliffe
5fd42189d3 Bug 703643 - Be able to copy from the rules view; r=prouget 2012-03-11 14:01:38 +00:00
Dave Camp
fe17b3258c Bug 719916 - Rule view loses focus after entering attribute name. r=jwalker 2012-03-08 18:27:37 -08:00
Michael Ratcliffe
7e6857ae51 Bug 722196 - Rule view showing rules in the wrong order; r=jwalker 2012-03-01 19:13:12 +00:00
Michael Ratcliffe
fbd7565ae5 Bug 727867 - Rule view indicate when invalid values are entered; r=dcamp 2012-02-25 15:30:51 +00:00
Michael Ratcliffe
ed782042d5 Bug 707940 - Rule view should maintain user entered values; r=msucan,dcamp 2012-02-23 12:24:23 +00:00
Heather Arthur
b48717b0bf Bug 707740 - Ability to lock in a pseudo class in the page inspector. r=dcamp 2012-02-24 16:01:29 -08:00
Michael Ratcliffe
ab8600eadb 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
1b68b1e901 Bug 585563 - The inspector style panel should link to the CSS editor; r=dcamp f=cedricv 2012-02-10 13:39:47 +00:00
Paul Rouget
55e734dbf3 Bug 719783 - In the Rule View, pressing Escape close the whole Inspector. r=dcamp 2012-01-20 16:36:35 +01:00
Till Schneidereit
20167f82ca 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
ff39062228 Bug 706886 - Line-through disappears after editing overridden rule in style inspector; f=rcampbell; r=joewalker 2012-01-13 13:05:49 -05:00
Rob Campbell
2a892f4725 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
Dave Camp
9e564ee37a 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
91c3bffdde Bug 700770 - Style Inspector's Rule View can't scroll vertically; r=dao,rcampbell 2011-11-14 16:21:34 +01:00
Dave Camp
bc35b9af97 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
425ed3c8e0 Bug 699978 - Tools should notify the highlighter when they've modified a node. r=robcee 2011-11-06 19:02:08 -08:00
Dave Camp
8bbfdbed29 Bug 696180 - Add support for inherited properties to the rule view. r=robcee 2011-11-05 08:45:22 -07:00
Dave Camp
d500da5cc9 Bug 698921 - Rule view override calculation misses disabled properties; r=rcampbell 2011-11-04 13:42:26 -03:00
Dave Camp
2d3d8a5fef Bug 693887 - Implement a rule-centric view for the style inspector. r=robcee, r=dao 2011-11-01 18:06:48 -07:00