Page MenuHomePhabricator

D20189.id48197.diff
No OneTemporary

D20189.id48197.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -11,8 +11,8 @@
'conpherence.pkg.js' => '020aebcf',
'core.pkg.css' => 'f2319e1f',
'core.pkg.js' => '5c737607',
- 'differential.pkg.css' => 'd3118e7c',
- 'differential.pkg.js' => '44b9438a',
+ 'differential.pkg.css' => '9652fe26',
+ 'differential.pkg.js' => '62b6fdff',
'diffusion.pkg.css' => '42c75c37',
'diffusion.pkg.js' => '91192d85',
'maniphest.pkg.css' => '35995d6d',
@@ -61,7 +61,7 @@
'rsrc/css/application/dashboard/dashboard.css' => '4267d6c6',
'rsrc/css/application/diff/inline-comment-summary.css' => '81eb368d',
'rsrc/css/application/differential/add-comment.css' => '7e5900d9',
- 'rsrc/css/application/differential/changeset-view.css' => 'd14c317d',
+ 'rsrc/css/application/differential/changeset-view.css' => 'dba85744',
'rsrc/css/application/differential/core.css' => 'bdb93065',
'rsrc/css/application/differential/phui-inline-comment.css' => '48acce5b',
'rsrc/css/application/differential/revision-comment.css' => '7dbc8d1d',
@@ -418,7 +418,7 @@
'rsrc/js/application/releeph/releeph-preview-branch.js' => '75184d68',
'rsrc/js/application/releeph/releeph-request-state-change.js' => '9f081f05',
'rsrc/js/application/releeph/releeph-request-typeahead.js' => 'aa3a100c',
- 'rsrc/js/application/repository/repository-crossreference.js' => 'db0c0214',
+ 'rsrc/js/application/repository/repository-crossreference.js' => 'c15122b4',
'rsrc/js/application/search/behavior-reorder-profile-menu-items.js' => 'e5bdb730',
'rsrc/js/application/search/behavior-reorder-queries.js' => 'b86f297f',
'rsrc/js/application/transactions/behavior-comment-actions.js' => '4dffaeb2',
@@ -539,7 +539,7 @@
'conpherence-thread-manager' => 'aec8e38c',
'conpherence-transaction-css' => '3a3f5e7e',
'd3' => 'd67475f5',
- 'differential-changeset-view-css' => 'd14c317d',
+ 'differential-changeset-view-css' => 'dba85744',
'differential-core-view-css' => 'bdb93065',
'differential-revision-add-comment-css' => '7e5900d9',
'differential-revision-comment-css' => '7dbc8d1d',
@@ -669,7 +669,7 @@
'javelin-behavior-reorder-applications' => 'aa371860',
'javelin-behavior-reorder-columns' => '8ac32fd9',
'javelin-behavior-reorder-profile-menu-items' => 'e5bdb730',
- 'javelin-behavior-repository-crossreference' => 'db0c0214',
+ 'javelin-behavior-repository-crossreference' => 'c15122b4',
'javelin-behavior-scrollbar' => '92388bae',
'javelin-behavior-search-reorder-queries' => 'b86f297f',
'javelin-behavior-select-content' => 'e8240b50',
@@ -1907,6 +1907,12 @@
'c03f2fb4' => array(
'javelin-install',
),
+ 'c15122b4' => array(
+ 'javelin-behavior',
+ 'javelin-dom',
+ 'javelin-stratcom',
+ 'javelin-uri',
+ ),
'c2c500a7' => array(
'javelin-install',
'javelin-dom',
@@ -1975,9 +1981,6 @@
'javelin-workflow',
'javelin-util',
),
- 'd14c317d' => array(
- 'phui-inline-comment-view-css',
- ),
'd3799cb4' => array(
'javelin-install',
),
@@ -1995,11 +1998,8 @@
'javelin-uri',
'phabricator-notification',
),
- 'db0c0214' => array(
- 'javelin-behavior',
- 'javelin-dom',
- 'javelin-stratcom',
- 'javelin-uri',
+ 'dba85744' => array(
+ 'phui-inline-comment-view-css',
),
'dfa1d313' => array(
'javelin-behavior',
diff --git a/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php b/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
--- a/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
+++ b/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
@@ -275,11 +275,6 @@
}
}
- // NOTE: This is a unicode zero-width space, which we use as a hint when
- // intercepting 'copy' events to make sure sensible text ends up on the
- // clipboard. See the 'phabricator-oncopy' behavior.
- $zero_space = "\xE2\x80\x8B";
-
$old_number = phutil_tag(
'td',
array(
@@ -304,10 +299,7 @@
phutil_tag(
'td',
array('class' => $n_classes, 'colspan' => $n_colspan),
- array(
- phutil_tag('span', array('class' => 'zwsp'), $zero_space),
- $n_text,
- )),
+ $n_text),
$n_cov,
));
diff --git a/webroot/rsrc/css/application/differential/changeset-view.css b/webroot/rsrc/css/application/differential/changeset-view.css
--- a/webroot/rsrc/css/application/differential/changeset-view.css
+++ b/webroot/rsrc/css/application/differential/changeset-view.css
@@ -67,11 +67,6 @@
padding: 1px 4px;
}
-.differential-diff td .zwsp {
- position: absolute;
- width: 0;
-}
-
.prose-diff {
padding: 12px 0;
white-space: pre-wrap;
diff --git a/webroot/rsrc/js/application/repository/repository-crossreference.js b/webroot/rsrc/js/application/repository/repository-crossreference.js
--- a/webroot/rsrc/js/application/repository/repository-crossreference.js
+++ b/webroot/rsrc/js/application/repository/repository-crossreference.js
@@ -237,11 +237,6 @@
}
var content = '' + node.textContent;
-
- // Strip off any ZWS characters. These are marker characters used to
- // improve copy/paste behavior.
- content = content.replace(/\u200B/g, '');
-
char += content.length;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 5:46 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332898
Default Alt Text
D20189.id48197.diff (5 KB)

Event Timeline