mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
66566f878d
Summary: Ref PHI1749. Instead of opening files to the last unchanged line on either side of the change, open files to the "simple" line number of the selected block. For inlines, this is the inline line number. For blocks, this is the first new-file line number, or the first old-file line number if no new-file line number exists in the block. This may not always be what the user is hoping for (we can't know what the state of their working copy is) but should produce more obvious behavior. Test Plan: - In Diffusion, used "Open in Editor" with and without line selections. Saw same behavior as before. - Used "n" and "r" to leave an inline with the keyboard, saw same behavior as before. - Used "\" and "Open in Editor" menu item to open a file with: - Nothing selected or changeset selected (line: 1). - An inline selected (line: inline line). - A block selected (line: first line in block, per above). Differential Revision: https://secure.phabricator.com/D21282
246 lines
7.2 KiB
PHP
246 lines
7.2 KiB
PHP
<?php
|
|
|
|
return array(
|
|
'core.pkg.js' => array(
|
|
'javelin-util',
|
|
'javelin-install',
|
|
'javelin-event',
|
|
'javelin-stratcom',
|
|
'javelin-behavior',
|
|
'javelin-resource',
|
|
'javelin-request',
|
|
'javelin-vector',
|
|
'javelin-dom',
|
|
'javelin-json',
|
|
'javelin-uri',
|
|
'javelin-workflow',
|
|
'javelin-mask',
|
|
'javelin-typeahead',
|
|
'javelin-typeahead-normalizer',
|
|
'javelin-typeahead-source',
|
|
'javelin-typeahead-preloaded-source',
|
|
'javelin-typeahead-ondemand-source',
|
|
'javelin-tokenizer',
|
|
'javelin-history',
|
|
'javelin-router',
|
|
'javelin-routable',
|
|
'javelin-behavior-aphront-basic-tokenizer',
|
|
'javelin-behavior-workflow',
|
|
'javelin-behavior-aphront-form-disable-on-submit',
|
|
'phabricator-keyboard-shortcut-manager',
|
|
'phabricator-keyboard-shortcut',
|
|
'javelin-behavior-phabricator-keyboard-shortcuts',
|
|
'javelin-behavior-refresh-csrf',
|
|
'javelin-behavior-phabricator-watch-anchor',
|
|
'javelin-behavior-phabricator-autofocus',
|
|
'phuix-dropdown-menu',
|
|
'phuix-action-list-view',
|
|
'phuix-action-view',
|
|
'phuix-icon-view',
|
|
'phabricator-phtize',
|
|
'javelin-behavior-phabricator-oncopy',
|
|
'phabricator-tooltip',
|
|
'javelin-behavior-phabricator-tooltips',
|
|
'phabricator-prefab',
|
|
'javelin-behavior-device',
|
|
'javelin-behavior-toggle-class',
|
|
'javelin-behavior-lightbox-attachments',
|
|
'phabricator-busy',
|
|
'javelin-sound',
|
|
'javelin-aphlict',
|
|
'phabricator-notification',
|
|
'javelin-behavior-aphlict-listen',
|
|
'javelin-behavior-phabricator-search-typeahead',
|
|
'javelin-behavior-aphlict-dropdown',
|
|
'javelin-behavior-history-install',
|
|
'javelin-behavior-phabricator-gesture',
|
|
'javelin-behavior-phabricator-remarkup-assist',
|
|
'phabricator-textareautils',
|
|
'phabricator-file-upload',
|
|
'javelin-behavior-global-drag-and-drop',
|
|
'javelin-behavior-phabricator-reveal-content',
|
|
'phui-hovercard',
|
|
'javelin-behavior-phui-hovercards',
|
|
'javelin-color',
|
|
'javelin-fx',
|
|
'phabricator-draggable-list',
|
|
'javelin-behavior-phabricator-transaction-list',
|
|
'javelin-behavior-phabricator-show-older-transactions',
|
|
'javelin-behavior-phui-dropdown-menu',
|
|
'javelin-behavior-doorkeeper-tag',
|
|
'phabricator-title',
|
|
'javelin-leader',
|
|
'javelin-websocket',
|
|
'javelin-behavior-dashboard-async-panel',
|
|
'javelin-behavior-dashboard-tab-panel',
|
|
'javelin-quicksand',
|
|
'javelin-behavior-quicksand-blacklist',
|
|
'javelin-behavior-high-security-warning',
|
|
'javelin-behavior-read-only-warning',
|
|
'javelin-scrollbar',
|
|
'javelin-behavior-scrollbar',
|
|
'javelin-behavior-durable-column',
|
|
'conpherence-thread-manager',
|
|
'javelin-behavior-detect-timezone',
|
|
'javelin-behavior-setup-check-https',
|
|
'javelin-behavior-aphlict-status',
|
|
'javelin-behavior-user-menu',
|
|
'phabricator-favicon',
|
|
'javelin-behavior-phui-tab-group',
|
|
'javelin-behavior-phui-submenu',
|
|
'phuix-button-view',
|
|
'javelin-behavior-comment-actions',
|
|
'phuix-form-control-view',
|
|
'phuix-autocomplete',
|
|
),
|
|
'core.pkg.css' => array(
|
|
'phabricator-core-css',
|
|
'phabricator-zindex-css',
|
|
'phui-button-css',
|
|
'phui-button-simple-css',
|
|
'phui-theme-css',
|
|
'phabricator-standard-page-view',
|
|
'aphront-dialog-view-css',
|
|
'phui-form-view-css',
|
|
'aphront-panel-view-css',
|
|
'aphront-table-view-css',
|
|
'aphront-tokenizer-control-css',
|
|
'aphront-typeahead-control-css',
|
|
'aphront-list-filter-view-css',
|
|
'application-search-view-css',
|
|
|
|
'phabricator-remarkup-css',
|
|
'syntax-highlighting-css',
|
|
'syntax-default-css',
|
|
'phui-pager-css',
|
|
'aphront-tooltip-css',
|
|
'phabricator-flag-css',
|
|
'phui-info-view-css',
|
|
|
|
'phabricator-main-menu-view',
|
|
'phabricator-notification-css',
|
|
'phabricator-notification-menu-css',
|
|
'phui-lightbox-css',
|
|
'phui-comment-panel-css',
|
|
'phui-header-view-css',
|
|
'phabricator-nav-view-css',
|
|
'phui-basic-nav-view-css',
|
|
'phui-crumbs-view-css',
|
|
'phui-oi-list-view-css',
|
|
'phui-oi-color-css',
|
|
'phui-oi-big-ui-css',
|
|
'phui-oi-drag-ui-css',
|
|
'phui-oi-simple-ui-css',
|
|
'phui-oi-flush-ui-css',
|
|
'global-drag-and-drop-css',
|
|
'phui-spacing-css',
|
|
'phui-form-css',
|
|
'phui-icon-view-css',
|
|
|
|
'phabricator-action-list-view-css',
|
|
'phui-property-list-view-css',
|
|
'phui-tag-view-css',
|
|
'phui-list-view-css',
|
|
|
|
'font-fontawesome',
|
|
'font-lato',
|
|
'phui-font-icon-base-css',
|
|
'phui-fontkit-css',
|
|
'phui-box-css',
|
|
'phui-object-box-css',
|
|
'phui-timeline-view-css',
|
|
'phui-two-column-view-css',
|
|
'phui-curtain-view-css',
|
|
|
|
'sprite-login-css',
|
|
'sprite-tokens-css',
|
|
'tokens-css',
|
|
'auth-css',
|
|
|
|
'phui-status-list-view-css',
|
|
'phui-feed-story-css',
|
|
'phabricator-feed-css',
|
|
'phabricator-dashboard-css',
|
|
'aphront-multi-column-view-css',
|
|
'phui-curtain-object-ref-view-css',
|
|
'phui-comment-form-css',
|
|
'phui-head-thing-view-css',
|
|
|
|
'conpherence-durable-column-view',
|
|
'phui-button-bar-css',
|
|
),
|
|
'conpherence.pkg.css' => array(
|
|
'conpherence-menu-css',
|
|
'conpherence-color-css',
|
|
'conpherence-message-pane-css',
|
|
'conpherence-notification-css',
|
|
'conpherence-transaction-css',
|
|
'conpherence-participant-pane-css',
|
|
'conpherence-header-pane-css',
|
|
),
|
|
'conpherence.pkg.js' => array(
|
|
'javelin-behavior-conpherence-menu',
|
|
'javelin-behavior-conpherence-participant-pane',
|
|
'javelin-behavior-conpherence-pontificate',
|
|
'javelin-behavior-toggle-widget',
|
|
),
|
|
'differential.pkg.css' => array(
|
|
'differential-core-view-css',
|
|
'differential-changeset-view-css',
|
|
'differential-revision-history-css',
|
|
'differential-revision-list-css',
|
|
'differential-table-of-contents-css',
|
|
'differential-revision-comment-css',
|
|
'differential-revision-add-comment-css',
|
|
'phabricator-object-selector-css',
|
|
'phabricator-content-source-view-css',
|
|
'inline-comment-summary-css',
|
|
'phui-inline-comment-view-css',
|
|
'diff-tree-view-css',
|
|
'phui-formation-view-css',
|
|
),
|
|
'differential.pkg.js' => array(
|
|
'phabricator-drag-and-drop-file-upload',
|
|
'phabricator-shaped-request',
|
|
|
|
'javelin-behavior-differential-populate',
|
|
'javelin-behavior-differential-diff-radios',
|
|
'javelin-behavior-aphront-drag-and-drop-textarea',
|
|
'javelin-behavior-phabricator-object-selector',
|
|
'javelin-behavior-repository-crossreference',
|
|
|
|
'javelin-behavior-aphront-more',
|
|
|
|
'phabricator-diff-inline',
|
|
'phabricator-diff-changeset',
|
|
'phabricator-diff-changeset-list',
|
|
'phabricator-diff-tree-view',
|
|
'phabricator-diff-path-view',
|
|
|
|
'phuix-formation-view',
|
|
'phuix-formation-column-view',
|
|
'phuix-formation-flank-view',
|
|
|
|
'javelin-external-editor-link-engine',
|
|
),
|
|
'diffusion.pkg.css' => array(
|
|
'diffusion-icons-css',
|
|
),
|
|
'diffusion.pkg.js' => array(
|
|
'javelin-behavior-diffusion-pull-lastmodified',
|
|
'javelin-behavior-diffusion-commit-graph',
|
|
'javelin-behavior-audit-preview',
|
|
),
|
|
'maniphest.pkg.css' => array(
|
|
'maniphest-task-summary-css',
|
|
),
|
|
'maniphest.pkg.js' => array(
|
|
'javelin-behavior-maniphest-batch-selector',
|
|
'javelin-behavior-maniphest-list-editor',
|
|
),
|
|
'dark-console.pkg.js' => array(
|
|
'javelin-behavior-dark-console',
|
|
'phabricator-darklog',
|
|
'phabricator-darkmessage',
|
|
),
|
|
);
|