Misko Hevery
37b042b361
chore: Make enum names consistent with TypeScript convention
...
BREAKING_CHANGE
Ts2Dart issue: https://github.com/angular/ts2dart/issues/270
TypeScript convention: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
DartConvertion: https://www.dartlang.org/articles/style-guide/
Rename:
- NumberFormatStyle.DECIMAL => NumberFormatStyle.Decimal
- NumberFormatStyle.PERCENT => NumberFormatStyle.Percent
- NumberFormatStyle.CURRENCY => NumberFormatStyle.Currency
- RequestMethods.GET => RequestMethods.Get
- RequestMethods.POST => RequestMethods.Post
- RequestMethods.PUT => RequestMethods.Put
- RequestMethods.DELETE => RequestMethods.Delete
- RequestMethods.HEAD => RequestMethods.Head
- RequestMethods.PATCH => RequestMethods.Patch
- ReadyStates.UNSENT => ReadyStates.Unsent
- ReadyStates.OPEN => ReadyStates.Open
- ReadyStates.HEADERS_RECEIVED => ReadyStates.HeadersReceived
- ReadyStates.LOADING => ReadyStates.Loading
- ReadyStates.DONE => ReadyStates.Done
- ReadyStates.CANCELLED => ReadyStates.Canceled
2015-08-27 22:32:21 -07:00
Martin Probst
3bf8c18c56
chore: run clang-format on code base.
...
This fixes several minor indentation issues (instanceof precendence,
type declaration specificity, template string length calculation).
This should also fix some flip-flop situations with template strings.
2015-07-12 18:50:52 +02:00
Caitlin Potter
9a290f0c22
Revert "Revert "build(broccoli): allow rebuild() to return DiffResult""
...
This reverts commit 2c3c235969
.
2015-06-29 16:13:02 -07:00
Tobias Bosch
2c3c235969
Revert "build(broccoli): allow rebuild() to return DiffResult"
...
This reverts commit d575915d7a
.
See #2662
2015-06-23 13:21:17 -07:00
Caitlin Potter
d575915d7a
build(broccoli): allow rebuild() to return DiffResult
...
Plugins may opt to return a DiffResult themselves, and avoid the
need to calculate a diff
Closes #2514
2015-06-19 21:35:44 -04:00
Martin Probst
920982c4e8
chore: update files to match clang-format 1.0.21.
2015-06-19 15:00:32 -07:00
Igor Minar
dc45559c17
build(broccoli): add support for DiffResult#addedPaths
...
Some plugins want to explicitly know of new paths, so we need to distinguish them from changed paths.
2015-06-10 11:11:28 -07:00
Martin Probst
f999d5a156
chore: move to clang-format 1.0.17.
...
clang-format 1.0.17 substantially improves formatting for fat arrow functions
and array literal detection. It also fixes a number of minor formatting issues.
2015-06-03 15:27:27 -07:00
Igor Minar
160c38b5ca
build(broccoli): improve error messaging from TreeDiffer
2015-05-28 11:44:37 -07:00
Igor Minar
9b0fa0dedc
build(broccoli): TreeDiffer should log associated plugin name rather than inputPath
...
Usually we don't care what we are diffing, but why we are diffing it. With this change we see what is causing build slowdown
due to diffing.
2015-05-28 11:44:37 -07:00
Caitlin Potter
aad5795408
fix(tree-differ): treat symlinks to deleted paths as removals
...
Previously, tree-differ would not correctly handle symlinks to deleted files, resulting in
an ENOENT errno being tossed by libuv.
This change fixes this to ensure that symlinks are safely handled, performantly.
Closes #1961
2015-05-18 20:36:29 -04:00
Caitlin Potter
a58c9f83bd
fix(brocolli): escape special regexp characters when building regexps
...
Special regexp tokens were allowed unchanged previously, which incorrectly broke
the include/exclude behaviour. Now, they're escaped first.
Closes #1721
Closes #1752
2015-05-07 19:01:12 -04:00
Caitlin Potter
aaf3edd131
build(brocolli): move filename filtering into DiffingPluginWrapper
...
Closes #1719
2015-05-07 17:00:35 -04:00
Igor Minar
8c15ccecd1
build(broccoli): add DiffingBroccoliPlugin and refactor existing plugins to use it
...
tree-differ:
- export both TreeDiffer and DiffResult interface
diffing-broccoli-plugin:
- factory class for wrapping DiffingBroccoliPlugins and turning them into BroccoliTrees
broccoli-dest-copy:
- refactor into DiffingBroccoliPlugin
broccoli-traceur:
- refactor into DiffingBroccoliPlugin
2015-05-06 07:45:45 -07:00
Igor Minar
2f83efaac8
build(broccoli): add tree-differ for diffing broccoli trees
2015-04-27 10:47:49 -07:00