1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
Commit Graph

17734 Commits

Author SHA1 Message Date
walf
01a3f19602 Updated by ALF automation. 2018-03-02 09:55:32 -08:00
Pete Nykänen
32300dc3a5
Issue #11261: keep the search bar open (#14141)
* It fixes issue #11261 by preventing  the search bar from closing as a result of clicking in the main editor. This is done by commenting out the code in line 256. The search bar will also close when the ESC key is pressed while the main editor has focus

* Commented out unnecessary code around line 256

* [issue#11261] * Added in a menu option to allow find bar to stay open/automatically close
* Add a close icon to the search bar (for completeness)
* Fix escape key for in-editor searches
* Remember last search phrase if no selection for in-editor searches

* [issue#11261] Code clean up of initial mistakes of the previous commit

* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...

* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...

* [issue#11261] Further merge conflict resolution and clean up

* [issue#11261] Fix to branch and to testing

* [issue#11261] Fixes for incorrect regexp processing

* [issue#11261] Why does JSLint keep changing its own file

* [issue#11261] Not sure about the french one, let's exclude it for now until I can confirm with a Quebecois at work

* [issue#11261] Test left test file with change...

* [issue #11261] Minor fixes as per conversation of pull request

* [Issue #11261] Fixes mainly to the regular expression side of things

* [Issue #11261] Revert accidental change in JSLint

* [issue #11261] Remove loosy TODO and wording consistency change

* [Issue #11261] Remove Find Next on 'Find' option (we already have Find Next)

* [Issue #11261] (Retry the Travis CI build)

* Totally forgot to actually save the merge conflict resolution. Here it is.

* Merged master incorrectly - fix bad merge

* Fix test

Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
2018-03-02 16:56:14 +02:00
Prashanth Nethi
51a5908939
Merge pull request #13256 from duplicates/issue-13099
Fix #13099: Disallow user to create files/folder using relative path
2018-02-20 10:28:29 +05:30
Simon de Almeida
528f5a51a0 Merge branch 'master' of https://github.com/duplicates/brackets into issue-13099 2018-02-08 14:30:33 -05:00
Prashanth Nethi
2b8a2c8082
Merge pull request #14077 from adobe/release
Merge release back to master
2018-02-08 11:32:11 +05:30
Swagatam Mitra
d3b783b995
Merge pull request #14084 from adobe/swmitra-patch-1
Update README.md
2018-02-01 16:46:48 +05:30
Swagatam Mitra
24417e185a
Update README.md
Dummy change to create a new commit head. This is required to generate newer 1.12 builds with new build number
2018-02-01 16:46:17 +05:30
Swagatam Mitra
53f231827f
Merge pull request #14070 from adobe/swmitra/versionBump
Version bump to 1.13
2018-01-29 00:36:46 +05:30
Swagatam Mitra
e8d46989fc Version bump to 1.13 2018-01-27 22:37:12 +05:30
Swagatam Mitra
b8db07d7ea
Merge pull request #14062 from adobe/master
Moving to release branch for Brackets 1.12
2018-01-24 17:00:39 +05:30
NehaModi
2ecd91c7de Code to send Analytics Data to server (#14057)
* Code to send Analytics Data to server

* Addressing the review comments

* changes done to handle stage server and Prod Server

* changes done to define stage URL and Prod URL

* changes done to call analytics data server after health data server

* as server is change from Stage to Production ,environment variable needs to be changed to production

* Refactor code and cleanup

* Add force flag for testing and handle dev/stage or production enviroment

* Exposing command to explicitly test  health data sending  capability

* Handle stage environment

* Clean config json

* Correcting the sequence of call
2018-01-24 15:03:01 +05:30
Naveen Choudhary
453e92790e In case unsaved file, Tern is returning filename without forward slash (#14055)
* In case unsaved file, Tern is returning filename without forward slash

* Addressing review comments
2018-01-20 12:58:15 +05:30
Boopesh Mahendran
a3b6d6ccd1 UI Tweaks and bug fixes in JS Refactoring (#14046)
* Change shortcut for extract to variable and extract to function

* Tweak UI of inlinemenu widget

* Fix alignment issue in submenu

* Change string of getters/setters
2018-01-19 14:59:49 +05:30
Sailesh Ramayanam
d518e7b278 Added a unit test whose intent is to ensure that we are able to parse the JSON returned by the actual URL. (#14050) 2018-01-19 11:30:55 +05:30
walfgithub
c6d05893ab Updated by ALF automation. (#14042) 2018-01-18 10:27:27 +05:30
Naveen Choudhary
58855a795b Fixed some bugs in JS Refactoring (#14019)
* Fixed some bugs in JS Refactoring

* Default param in arrow function

* Some more keywords which we cant rename

* Review comment addressed

* Lint error fixed

* checking if selectedNode is nul or undefined
2018-01-18 00:28:31 +05:30
walfgithub
dc5a90ca13 ALF Automation (#14040)
* Updated by ALF automation.

* Updated by ALF automation.
2018-01-17 10:40:25 +05:30
walfgithub
5e80c0c794 ALF Automation (#14020)
* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.
2018-01-16 12:09:36 +05:30
Valtteri Laitinen
45347fe6ae Update CSS pseudo-selector hints (#14012)
* Update pseudo-selectors

Add pseudo-selectors
* :any-link
* :first
* :last
* :left
* :right
* ::backdrop
* ::cue
* ::cue().

Update
* :lang()
* :not().

Update descriptions being more correct.

(Move opening braces to previous line.)

* Use correct term “pseudo-class” + fix spelling error & tests

Pseudo-selectors are divided into two categories: pseudo-classes and pseudo-elements.

* Remove :last psudo-selector (which doesn’t exist) from CSS Selector Hints
2018-01-14 20:21:37 +01:00
Valtteri Laitinen
cad7bd2cdc Update CSS at-rule hints (#14013)
* Update CSS at-rules

Add @counter-style and @font-feature-values.
(Align colons.)

* Revert colon aligment

* Make CSS at-rule descriptions bit more consistent

* Fix the unit test for CSS At-Rule Hints
2018-01-14 20:19:03 +01:00
Naveen Choudhary
b4589d03e7
Merge pull request #14033 from adobe/navc/StringChange
Adding strings related to JS Refactoring Feature
2018-01-12 11:50:36 +05:30
Naveen Choudhary
196ecd5a73 Adding strings related to JS Refactoring Feature 2018-01-12 11:44:51 +05:30
Max Reynolds
5b8ae59815 Changed session end overlay to fixed styling (#14007)
Before it was absolute, which meant if the document had scroll, the overlay scrolled too.
2018-01-11 10:14:05 +02:00
Naveen Choudhary
97fff2a3dc Don't allow rename in inline widget if that identifier have reference… (#13994)
* Don't allow rename in inline widget if that identifier have reference outside of that widget range

* Review comment addressed

* Addressing review comments
2018-01-11 13:08:20 +05:30
José Pedro Machado
ec7dfa36fc bug on find solved (#13955)
* bug on find solved

* Revert "bug on find solved"

This reverts commit 456cfc8130.

* bug on find solved

* space
2018-01-11 11:50:57 +05:30
Boopesh Mahendran
6a3feaf77d Add Extract to Variable and Extract to Function features in js (#13980)
* Add extract to variable and extract to function features

* Fix lint errors

* Handle return statement in extract to function

* Format comments

* Format inline menu code

* Fix extract to function bug

For extract to function, check the props of scopes from src scope to
dest scope(including dest scope) for computing the return parameters

* Move inlinemenu widget to brackets core

* Externalize strings and create constants for command ids

* Return on multicursor error

* Move keyboard bindings to keyboard json

* Add keyboard json

* Add styles for inlinemenu widget

* Show function body prefix for nameless functions

* Externalize UI strings

* Fix bug in sort function for list of expressions

* Fix bug in scope position for function expressions

* Close inline menu on ESC

* Add class name for named class expressions

* Remove extra line breaks

* If only one scope, extract to function without menu

* Check identifiers of all surrounding scopes for unique identier name

* Clone ASTNode object before return in findSurroundASTNode

The node object must be cloned because we change the node object
afterwards and if not cloned, it will changed the ast and will
cause issues

* Create getAST function in refactoringUtils

* Check erroneous function declarations

* Allow function and class expressions also as statement

* Display multi-line expressions also for extract to variable

* Check if expns is null

* Check variable declaration for find name of class expn

* Change ecmaVersion in ternOption

* Move command and menu creation to javscriptrefactoring/main and add submenu

* Add refactor to strings and remove redundant keybinding lines

* Add extract to variable tests

* Remove wrong test case

* Add extract to function tests

* Add more tests

* Add unit tests for rename, wrap selection,getter/setter and convert to arrow function (#14022)
2018-01-11 11:46:56 +05:30
Jeonghyunsu
87a684f232 Translate untranslated 634, 635 lines to Korean (#13882) 2018-01-10 22:56:22 +02:00
GABINJUNG
cfd45ef6e2 Fix typo (#13924)
avaliable -> available
2018-01-10 22:54:30 +02:00
Goneeee
84986a9e91 Correct typo (#13889)
Changing draging to dragging
2018-01-10 22:54:07 +02:00
GABINJUNG
1c868ee539 Fix typo (#13891)
deafult -> default
2018-01-10 22:53:46 +02:00
GABINJUNG
87e07bacf0 Remove duplicate words (#13894)
the the -> the
2018-01-10 22:51:58 +02:00
kimohyeong
1688854b92 Edit CodeHintManager.js (#13895)
the the ->the
2018-01-10 22:47:45 +02:00
Jeonghyunsu
a74095f012 Correct typo (Peformance -> Performance) (#13902)
* Correct typo

* test

* Correct typo
2018-01-10 22:47:24 +02:00
Goneeee
922f523a4e Correct grammar (superlative expression) (#13904)
highest changes to the  highest
2018-01-10 22:46:03 +02:00
kimohyeong
52530b9224 Correct main.js (#13906)
http:// -> https://
2018-01-10 22:45:25 +02:00
kimohyeong
535935185c Change typo in unittests.js (#13907)
exclution -> exclusion
2018-01-10 22:45:02 +02:00
kimohyeong
5e9c7c7c7e Fix the wrong word (#13908)
explicity -> explicitly
2018-01-10 22:44:41 +02:00
GABINJUNG
22e4bd3418 Explicity -> Explicitly (#13912)
Correct typo.
2018-01-10 22:43:58 +02:00
GABINJUNG
bdbd223aa8 evalute -> evaluate (#13913)
correct typo
2018-01-10 22:43:47 +02:00
GABINJUNG
9dc7c5a0ce promsie -> promise (#13914)
correct typo
2018-01-10 22:43:29 +02:00
GABINJUNG
254bb77ac8 pased -> passed (#13921)
Correct typo
2018-01-10 22:43:17 +02:00
GABINJUNG
8e9d86fa0a Fix typo (#13922)
intial -> initial
2018-01-10 22:42:41 +02:00
GABINJUNG
6057ea96b1 Correct typo (#13923)
Keybooard -> Keyboard
2018-01-10 22:42:16 +02:00
walfgithub
0d17fcd7a0 ALF Automation (#13992)
* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.

* Updated by ALF automation.
2018-01-08 13:48:25 +05:30
GABINJUNG
bfe081219c curent -> current (#13915)
correct typo
2018-01-04 13:23:17 +05:30
GABINJUNG
623fd0f5a9 ommitted ->omitted (#13917)
* ommitted ->omitted

correct typo

* Another typo in the same sentence
2017-12-29 00:09:00 +02:00
GABINJUNG
915662c688 elemnt ->element (#13916)
correct typo
2017-12-29 00:08:09 +02:00
GABINJUNG
919346b821 equivelent -> equivalent (#13918)
correct typo
2017-12-29 00:07:49 +02:00
Naveen Choudhary
b39e89a9c8 JavaScript Refactoring - Rename Identifier, Wrap selection, Convert to arrow function, Create Getters & Setters (#13965)
* Rename references using tern

* On doc change editor was not getting updated

* Addressing review comments

* First cut of wrap selection

* Fixing issues i.e. Rename global variable, passing commonJS to tern node domain, popping up error at cursor

* Wrap in condition

* Code clean up

* Wrap selction, create getters setters, arrow function

* Lint error fixed

* linitng errors fixed

* Final changes, added documentation

* Addressing review comments

* Removing get and set from getters and setter name

* Addressed review comments, Fixed bug in convert to arrow function, minor change in templates.json

* linting errors fixed

* linting errors fixed
2017-12-20 22:13:17 +05:30
Prashanth Nethi
1717c45dde Move initialization of Brackets object from appshell_extensions.js to Global.js (#13975)
* Moved initialization of brackets object from appshell_extensions.js to Global.js as newer versions of CEF are not evaluating that expression correctly

* Fix ESLint Error

* Fix some nit as well as removed forward declarations.

* Reverting an unwanted change that crept in.

* Update Global.js

* Added better documentation
2017-12-20 13:09:00 +05:30