Kevin Dangoor
d8f4bbf465
Implement jscodehints.defaultExclusions preference.
...
We've had a number of people report problems with Ionic in their projects.
Tern appears to have an issue with the minified Ionic files. I had planned
to add default exclusions so that we could quickly solve pain like this
and this problem appeared to be a good candidate. The repro steps
[reported here](https://github.com/adobe/brackets/issues/7262#issuecomment-41851396 )
are fixed with this change.
2014-05-02 22:49:45 -04:00
Kevin Dangoor
c55a530d3b
Add comment with link to #7646
2014-04-29 09:45:11 -04:00
Kevin Dangoor
9a8647e67d
Turn off test temporarily
2014-04-29 09:40:08 -04:00
Jeff Booher
c96b3df90a
fix rte and error found during self check
2014-04-07 16:47:36 -07:00
Jeff Booher
9a5088c4e8
found a few more...
2014-04-07 16:43:22 -07:00
Jeff Booher
b4e0dad4f9
respond to comments
2014-04-07 16:37:04 -07:00
Peter Flynn
7b32bb1d54
Fix several problems with the Jump to Definition extensibility API:
...
- JS impl would always crash on non-JS code, blocking any other provider
from responding
- Provider was not called with the args the docs described
- Other errors in docs
2014-03-17 23:37:24 -07:00
Narciso Jaramillo
7e41cdea6f
Merge branch 'master' into cmv4
2014-03-11 15:59:38 -07:00
Ingo Richter
b856768671
- fix for https://github.com/adobe/brackets/issues/6931
...
The fix is to cutoff the leading slash on a module name.
Test is not working due to issues with the ProjectManager and the missing projectRoot
2014-02-27 18:21:32 -08:00
Narciso Jaramillo
ddcc8064fa
Code review comment fix
2014-02-21 16:18:02 -08:00
Narciso Jaramillo
87d7bb9e9f
Change Document 'change' event to send an array of change records rather than a linked list, matching v4 'changes' event
2014-02-21 12:59:56 -08:00
Narciso Jaramillo
102f666254
Fix ScopeManager to require CodeMirror
2014-02-13 14:37:11 -08:00
Randy Edmunds
21bea9d143
refactor into separate events
2014-02-07 16:46:34 -08:00
Narciso Jaramillo
0e0f4909f1
Fix up submodules to match master
2014-01-27 18:29:32 -08:00
Narciso Jaramillo
dee49c727b
Merge from master
2014-01-24 15:59:18 -08:00
Arzhan Kinzhalin
6262d4fa3a
Fix #6142 . Check for the argument name to be falsy
...
In some cases (see #6142 for a minimized testcase), the argument name is
returned as null instead of undefined as the code expects. This fix
simply changes to check for name to be falsy (in which case it will be
assinged a generated name).
2013-11-29 15:33:52 -03:00
Raymond Lim
14cca49bb8
Merge pull request #6064 from adobe/dangoor/6018-codehinthang
...
Update Tern and Acorn to the latest.
2013-11-27 12:02:38 -08:00
Ian Wehrman
ce5aabc045
make isExcludedFiles work right when the preferences do not specify any exclusions
2013-11-20 14:55:13 -08:00
Ian Wehrman
fff10de605
Replace the directory dot-file exclusion test; move the language test within isFileExcluded for wider coverage
2013-11-20 14:38:12 -08:00
Kevin Dangoor
0281369fe0
Filter out dotfiles
2013-11-20 17:03:07 -05:00
Kevin Dangoor
7663609a36
Update Tern and Acorn to the latest.
...
This fixes #6018 and possibly others.
2013-11-20 11:24:50 -05:00
Kevin Dangoor
0bb8c0c155
Guard against possible errors in ScopeManager.
...
These errors don't seem likely in normal use, but we're seeing intermittent failure
on the test machine which could be related.
2013-11-13 10:27:16 -05:00
Kevin Dangoor
3919761153
Merge pull request #5917 from adobe/iwehrman/simplify-js-code-hints-traversals
...
Simplify some JS code hints filesystem traversals
2013-11-12 06:45:36 -08:00
Raymond Lim
06b4012046
Merge pull request #5918 from adobe/larz/function-hint-container
...
Function hint tweak.
2013-11-11 14:56:12 -08:00
Ian Wehrman
ff7a77379e
Remove HintUtils.splitPath
2013-11-11 14:44:41 -08:00
Kevin Dangoor
4c588d32b9
Simplify setConfig in tern-worker by just using the entire new config object.
2013-11-11 15:57:40 -05:00
Kevin Dangoor
3f2ad065a0
Minor fixes in code hint test/debug code to address review comments.
2013-11-11 15:44:04 -05:00
Lawrence Hsu
fa113e5270
Function hint tweak.
2013-11-08 19:21:30 -08:00
Ian Wehrman
d87b3fc207
Remove redundant filesystem traversals
2013-11-08 17:17:35 -08:00
Narciso Jaramillo
6ca65121a0
Fix submodule SHAs
2013-11-08 17:12:31 -08:00
Wouter Franken
0d15c0cab2
merge 2
2013-11-08 23:45:04 +01:00
Kevin Dangoor
7fc2bd15cb
Re-enable some tests
2013-11-08 10:17:03 -05:00
Kevin Dangoor
f80c0c9d98
Fixes code hint tests by controlling worker resets.
...
Previously, the web worker would be restarted at somewhat random
times during test runs (after a specific number of hints was requested).
This change forces the worker to start afresh with each test and switches
the worker so that it doesn't reset during any of the tests.
2013-11-08 09:33:56 -05:00
Glenn Ruehle
d77cf167b7
More cleanup
2013-11-07 12:24:50 -08:00
Glenn Ruehle
0fd2e149dd
Respond to more review comments.
2013-11-06 16:32:15 -08:00
Ian Wehrman
004ff6931b
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/project/ProjectManager.js
2013-11-01 17:22:32 -07:00
Jason San Jose
fce09d4c85
Merge pull request #5400 from adobe/dangoor/4922-document-methods-missing
...
Consider 2,000 lines to be a large file for hints.
2013-11-01 11:25:37 -07:00
Ian Wehrman
0942969d84
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/LiveDevelopment/LiveDevelopment.js
src/document/DocumentCommandHandlers.js
src/project/ProjectManager.js
2013-10-31 10:01:48 -07:00
Ingo Richter
c96a5ea074
Update unittests.js
...
Disabled failing unit test.
2013-10-29 18:04:40 -07:00
Peter Flynn
84c0e1c205
- Change ScopeManager to use getDocumentText() for efficiency
...
- Add FileSystem.isAbsolutePath() utility function
- Update FileSystem docs to reflect latest at
https://github.com/adobe/brackets/wiki/File-System
2013-10-28 18:50:37 -07:00
Glenn Ruehle
70c9453260
Merge with origin/master
2013-10-28 16:25:54 -07:00
Narciso Jaramillo
010bc625b8
Rename lodash.custom.min.js to lodash.js so our JS code hinting finds it. Remove the special path for it so it's more consistent with other require paths that have to be relative to src.
2013-10-28 14:15:03 -07:00
Ian Wehrman
f8c86db7fd
move FileSystemEntry.isFile() and isDirectory() to FileSystemEntry.isFile and isDirectory; create new FileSystemStats class and update FileSystemEntry.stat to callback with a FileSystemStats object
2013-10-24 16:45:07 -07:00
Ian Wehrman
63f452e5d0
Fix the acorn SHA
2013-10-24 12:26:40 -07:00
Ian Wehrman
2ab57c068b
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/document/DocumentCommandHandlers.js
src/document/DocumentManager.js
src/editor/CSSInlineEditor.js
src/file/FileUtils.js
src/project/ProjectManager.js
test/spec/DocumentCommandHandlers-test.js
2013-10-24 12:16:14 -07:00
Kevin Dangoor
0aef4999a1
Turn off tests that are failing for timing reasons.
2013-10-24 11:26:28 -04:00
Kevin Dangoor
f64e900a50
Merge branch 'dangoor/update-tern-acorn' into dangoor/4922-document-methods-missing
2013-10-23 15:59:17 -04:00
Kevin Dangoor
931d8bedb8
Update Acorn to match Tern update
2013-10-23 15:58:04 -04:00
Ian Wehrman
aa4d67932d
Bump Tern SHA to fix a doc parsing bug
2013-10-23 09:28:40 -07:00
Jeff Booher
8ca47a58a7
Merge pull request #5527 from adobe/pflynn/trailing-slash-cleanup
...
Better compartmentalize code that assumes no trailing "/"
2013-10-22 10:17:33 -07:00