ember-cli 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/.github/workflows/ci.yml +4 -4
  2. package/CHANGELOG.md +42 -2
  3. package/blueprints/addon/additional-dev-dependencies.json +1 -1
  4. package/blueprints/addon/files/.github/workflows/ci.yml +0 -1
  5. package/blueprints/addon/files/.travis.yml +0 -1
  6. package/blueprints/addon/files/addon-config/ember-try.js +0 -13
  7. package/blueprints/app/files/config/environment.js +1 -1
  8. package/blueprints/app/files/package.json +6 -6
  9. package/docs/build/data.json +3 -3
  10. package/lib/models/host-info-cache.js +3 -5
  11. package/lib/models/per-bundle-addon-cache/index.js +2 -3
  12. package/lib/tasks/npm-task.js +1 -1
  13. package/lib/utilities/get-lang-arg.js +45 -45
  14. package/package.json +25 -25
  15. package/tests/helpers/mock-project.js +1 -1
  16. package/.github/ISSUE_TEMPLATE.md +0 -12
  17. package/.github/dependabot.yml +0 -15
  18. package/.github/workflows/coverage.yml +0 -31
  19. package/docs/analytics.md +0 -44
  20. package/docs/architecture.md +0 -316
  21. package/docs/assets/architecture/Ember-CLI architecture.png +0 -0
  22. package/docs/assets/architecture/Ember-CLI architecture.xml +0 -1
  23. package/docs/assets/architecture/README.md +0 -5
  24. package/docs/brocfile-transition.md +0 -46
  25. package/docs/build/api.js +0 -44
  26. package/docs/build/assets/css/external-small.png +0 -0
  27. package/docs/build/assets/css/logo.png +0 -0
  28. package/docs/build/assets/css/main.css +0 -555
  29. package/docs/build/assets/favicon.ico +0 -0
  30. package/docs/build/assets/img/spinner.gif +0 -0
  31. package/docs/build/assets/index.html +0 -10
  32. package/docs/build/assets/js/api-filter.js +0 -56
  33. package/docs/build/assets/js/api-list.js +0 -255
  34. package/docs/build/assets/js/api-search.js +0 -98
  35. package/docs/build/assets/js/apidocs.js +0 -376
  36. package/docs/build/assets/js/yui-prettify.js +0 -17
  37. package/docs/build/assets/vendor/prettify/CHANGES.html +0 -130
  38. package/docs/build/assets/vendor/prettify/COPYING +0 -202
  39. package/docs/build/assets/vendor/prettify/README.html +0 -203
  40. package/docs/build/assets/vendor/prettify/prettify-min.css +0 -1
  41. package/docs/build/assets/vendor/prettify/prettify-min.js +0 -1
  42. package/docs/build/classes/Addon.html +0 -4318
  43. package/docs/build/classes/AmdTransformAddon.html +0 -202
  44. package/docs/build/classes/Blueprint.html +0 -4796
  45. package/docs/build/classes/Builder.html +0 -611
  46. package/docs/build/classes/CLI.html +0 -810
  47. package/docs/build/classes/Command.html +0 -1655
  48. package/docs/build/classes/DefaultPackager.html +0 -202
  49. package/docs/build/classes/EmberAddon.html +0 -2207
  50. package/docs/build/classes/EmberApp.html +0 -2225
  51. package/docs/build/classes/HardwareInfo.html +0 -620
  52. package/docs/build/classes/HistorySupportAddon.html +0 -203
  53. package/docs/build/classes/Instrumentation.html +0 -695
  54. package/docs/build/classes/NodeModulesList.html +0 -460
  55. package/docs/build/classes/NpmTask.html +0 -333
  56. package/docs/build/classes/PackageInfo.html +0 -1390
  57. package/docs/build/classes/PackageInfoCache.html +0 -963
  58. package/docs/build/classes/PerBundleAddonCache {.html +0 -1010
  59. package/docs/build/classes/Project.html +0 -2083
  60. package/docs/build/classes/ServeFilesAddon.html +0 -260
  61. package/docs/build/classes/TestsServerAddon.html +0 -203
  62. package/docs/build/classes/WatcherAddon.html +0 -204
  63. package/docs/build/classes/WindowsSymlinkChecker.html +0 -1505
  64. package/docs/build/files/lib_broccoli_default-packager.js.html +0 -1426
  65. package/docs/build/files/lib_broccoli_ember-addon.js.html +0 -159
  66. package/docs/build/files/lib_broccoli_ember-app.js.html +0 -1913
  67. package/docs/build/files/lib_cli_cli.js.html +0 -417
  68. package/docs/build/files/lib_models_addon-info.js.html +0 -112
  69. package/docs/build/files/lib_models_addon.js.html +0 -1866
  70. package/docs/build/files/lib_models_blueprint.js.html +0 -1678
  71. package/docs/build/files/lib_models_builder.js.html +0 -417
  72. package/docs/build/files/lib_models_command.js.html +0 -804
  73. package/docs/build/files/lib_models_hardware-info.js.html +0 -479
  74. package/docs/build/files/lib_models_host-info-cache.js.html +0 -428
  75. package/docs/build/files/lib_models_installation-checker.js.html +0 -181
  76. package/docs/build/files/lib_models_instantiate-addons.js.html +0 -191
  77. package/docs/build/files/lib_models_instrumentation.js.html +0 -433
  78. package/docs/build/files/lib_models_package-info-cache_index.js.html +0 -793
  79. package/docs/build/files/lib_models_package-info-cache_node-modules-list.js.html +0 -208
  80. package/docs/build/files/lib_models_package-info-cache_package-info.js.html +0 -661
  81. package/docs/build/files/lib_models_per-bundle-addon-cache_addon-proxy.js.html +0 -252
  82. package/docs/build/files/lib_models_per-bundle-addon-cache_index.js.html +0 -485
  83. package/docs/build/files/lib_models_per-bundle-addon-cache_target-instance.js.html +0 -108
  84. package/docs/build/files/lib_models_project.js.html +0 -913
  85. package/docs/build/files/lib_models_task.js.html +0 -117
  86. package/docs/build/files/lib_tasks_build-watch.js.html +0 -157
  87. package/docs/build/files/lib_tasks_npm-task.js.html +0 -463
  88. package/docs/build/files/lib_tasks_serve.js.html +0 -207
  89. package/docs/build/files/lib_tasks_server_middleware_broccoli-serve-files_index.js.html +0 -127
  90. package/docs/build/files/lib_tasks_server_middleware_broccoli-watcher_index.js.html +0 -158
  91. package/docs/build/files/lib_tasks_server_middleware_history-support_index.js.html +0 -181
  92. package/docs/build/files/lib_tasks_server_middleware_tests-server_index.js.html +0 -171
  93. package/docs/build/files/lib_tasks_test-server.js.html +0 -167
  94. package/docs/build/files/lib_tasks_transforms_amd_index.js.html +0 -143
  95. package/docs/build/files/lib_utilities_ember-app-utils.js.html +0 -292
  96. package/docs/build/files/lib_utilities_insert-into-file.js.html +0 -219
  97. package/docs/build/files/lib_utilities_is-lazy-engine.js.html +0 -125
  98. package/docs/build/files/lib_utilities_is-yarn-project.js.html +0 -120
  99. package/docs/build/files/lib_utilities_valid-project-name.js.html +0 -142
  100. package/docs/build/files/lib_utilities_will-interrupt-process.js.html +0 -290
  101. package/docs/build/files/lib_utilities_windows-admin.js.html +0 -230
  102. package/docs/build/index.html +0 -125
  103. package/docs/build/modules/ember-cli.html +0 -152
  104. package/docs/build/modules/is-lazy-engine.html +0 -106
  105. package/docs/build-concurrency.md +0 -15
  106. package/docs/build-pipeline-debugging.md +0 -33
  107. package/docs/code-coverage.md +0 -14
  108. package/docs/error-propagation.md +0 -136
  109. package/docs/experiments.md +0 -53
  110. package/docs/node-support.md +0 -43
  111. package/docs/perf-guide.md +0 -250
  112. package/docs/project_version_preprocessor.js +0 -8
  113. package/docs/sourcemaps.md +0 -60
  114. package/docs/yuidoc.json +0 -13
@@ -1,376 +0,0 @@
1
- YUI().use(
2
- 'yuidoc-meta',
3
- 'api-list', 'history-hash', 'node-screen', 'node-style', 'pjax',
4
- function (Y) {
5
-
6
- var win = Y.config.win,
7
- localStorage = win.localStorage,
8
-
9
- bdNode = Y.one('#bd'),
10
-
11
- pjax,
12
- defaultRoute,
13
-
14
- classTabView,
15
- selectedTab;
16
-
17
- // Kill pjax functionality unless serving over HTTP.
18
- if (!Y.getLocation().protocol.match(/^https?\:/)) {
19
- Y.Router.html5 = false;
20
- }
21
-
22
- // Create the default route with middleware which enables syntax highlighting
23
- // on the loaded content.
24
- defaultRoute = Y.Pjax.defaultRoute.concat(function (req, res, next) {
25
- prettyPrint();
26
- bdNode.removeClass('loading');
27
-
28
- next();
29
- });
30
-
31
- pjax = new Y.Pjax({
32
- container : '#docs-main',
33
- contentSelector: '#docs-main > .content',
34
- linkSelector : '#bd a',
35
- titleSelector : '#xhr-title',
36
-
37
- navigateOnHash: true,
38
- root : '/',
39
- routes : [
40
- // -- / ----------------------------------------------------------------
41
- {
42
- path : '/(index.html)?',
43
- callbacks: defaultRoute
44
- },
45
-
46
- // -- /elements/* -------------------------------------------------------
47
- {
48
- path : '/elements/:element.html*',
49
- callbacks: defaultRoute
50
- },
51
-
52
- // -- /classes/* -------------------------------------------------------
53
- {
54
- path : '/classes/:class.html*',
55
- callbacks: [defaultRoute, 'handleClasses']
56
- },
57
-
58
- // -- /files/* ---------------------------------------------------------
59
- {
60
- path : '/files/*file',
61
- callbacks: [defaultRoute, 'handleFiles']
62
- },
63
-
64
- // -- /modules/* -------------------------------------------------------
65
- {
66
- path : '/modules/:module.html*',
67
- callbacks: defaultRoute
68
- }
69
- ]
70
- });
71
-
72
- // -- Utility Functions --------------------------------------------------------
73
-
74
- pjax.checkVisibility = function (tab) {
75
- tab || (tab = selectedTab);
76
-
77
- if (!tab) { return; }
78
-
79
- var panelNode = tab.get('panelNode'),
80
- visibleItems;
81
-
82
- // If no items are visible in the tab panel due to the current visibility
83
- // settings, display a message to that effect.
84
- visibleItems = panelNode.all('.item,.index-item').some(function (itemNode) {
85
- if (itemNode.getComputedStyle('display') !== 'none') {
86
- return true;
87
- }
88
- });
89
-
90
- panelNode.all('.no-visible-items').remove();
91
-
92
- if (!visibleItems) {
93
- if (Y.one('#index .index-item')) {
94
- panelNode.append(
95
- '<div class="no-visible-items">' +
96
- '<p>' +
97
- 'Some items are not shown due to the current visibility ' +
98
- 'settings. Use the checkboxes at the upper right of this ' +
99
- 'page to change the visibility settings.' +
100
- '</p>' +
101
- '</div>'
102
- );
103
- } else {
104
- panelNode.append(
105
- '<div class="no-visible-items">' +
106
- '<p>' +
107
- 'This class doesn\'t provide any methods, properties, ' +
108
- 'attributes, or events.' +
109
- '</p>' +
110
- '</div>'
111
- );
112
- }
113
- }
114
-
115
- // Hide index sections without any visible items.
116
- Y.all('.index-section').each(function (section) {
117
- var items = 0,
118
- visibleItems = 0;
119
-
120
- section.all('.index-item').each(function (itemNode) {
121
- items += 1;
122
-
123
- if (itemNode.getComputedStyle('display') !== 'none') {
124
- visibleItems += 1;
125
- }
126
- });
127
-
128
- section.toggleClass('hidden', !visibleItems);
129
- section.toggleClass('no-columns', visibleItems < 4);
130
- });
131
- };
132
-
133
- pjax.initClassTabView = function () {
134
- if (!Y.all('#classdocs .api-class-tab').size()) {
135
- return;
136
- }
137
-
138
- if (classTabView) {
139
- classTabView.destroy();
140
- selectedTab = null;
141
- }
142
-
143
- classTabView = new Y.TabView({
144
- srcNode: '#classdocs',
145
-
146
- on: {
147
- selectionChange: pjax.onTabSelectionChange
148
- }
149
- });
150
-
151
- pjax.updateTabState();
152
- classTabView.render();
153
- };
154
-
155
- pjax.initLineNumbers = function () {
156
- var hash = win.location.hash.substring(1),
157
- container = pjax.get('container'),
158
- hasLines, node;
159
-
160
- // Add ids for each line number in the file source view.
161
- container.all('.linenums>li').each(function (lineNode, index) {
162
- lineNode.set('id', 'l' + (index + 1));
163
- lineNode.addClass('file-line');
164
- hasLines = true;
165
- });
166
-
167
- // Scroll to the desired line.
168
- if (hasLines && /^l\d+$/.test(hash)) {
169
- if ((node = container.getById(hash))) {
170
- win.scroll(0, node.getY());
171
- }
172
- }
173
- };
174
-
175
- pjax.initRoot = function () {
176
- var terminators = /^(?:classes|files|elements|modules)$/,
177
- parts = pjax._getPathRoot().split('/'),
178
- root = [],
179
- i, len, part;
180
-
181
- for (i = 0, len = parts.length; i < len; i += 1) {
182
- part = parts[i];
183
-
184
- if (part.match(terminators)) {
185
- // Makes sure the path will end with a "/".
186
- root.push('');
187
- break;
188
- }
189
-
190
- root.push(part);
191
- }
192
-
193
- pjax.set('root', root.join('/'));
194
- };
195
-
196
- pjax.updateTabState = function (src) {
197
- var hash = win.location.hash.substring(1),
198
- defaultTab, node, tab, tabPanel;
199
-
200
- function scrollToNode() {
201
- if (node.hasClass('protected')) {
202
- Y.one('#api-show-protected').set('checked', true);
203
- pjax.updateVisibility();
204
- }
205
-
206
- if (node.hasClass('private')) {
207
- Y.one('#api-show-private').set('checked', true);
208
- pjax.updateVisibility();
209
- }
210
-
211
- setTimeout(function () {
212
- // For some reason, unless we re-get the node instance here,
213
- // getY() always returns 0.
214
- var node = Y.one('#classdocs').getById(hash);
215
- win.scrollTo(0, node.getY() - 70);
216
- }, 1);
217
- }
218
-
219
- if (!classTabView) {
220
- return;
221
- }
222
-
223
- if (src === 'hashchange' && !hash) {
224
- defaultTab = 'index';
225
- } else {
226
- if (localStorage) {
227
- defaultTab = localStorage.getItem('tab_' + pjax.getPath()) ||
228
- 'index';
229
- } else {
230
- defaultTab = 'index';
231
- }
232
- }
233
-
234
- if (hash && (node = Y.one('#classdocs').getById(hash))) {
235
- if ((tabPanel = node.ancestor('.api-class-tabpanel', true))) {
236
- if ((tab = Y.one('#classdocs .api-class-tab.' + tabPanel.get('id')))) {
237
- if (classTabView.get('rendered')) {
238
- Y.Widget.getByNode(tab).set('selected', 1);
239
- } else {
240
- tab.addClass('yui3-tab-selected');
241
- }
242
- }
243
- }
244
-
245
- // Scroll to the desired element if this is a hash URL.
246
- if (node) {
247
- if (classTabView.get('rendered')) {
248
- scrollToNode();
249
- } else {
250
- classTabView.once('renderedChange', scrollToNode);
251
- }
252
- }
253
- } else {
254
- tab = Y.one('#classdocs .api-class-tab.' + defaultTab);
255
-
256
- // When the `defaultTab` node isn't found, `localStorage` is stale.
257
- if (!tab && defaultTab !== 'index') {
258
- tab = Y.one('#classdocs .api-class-tab.index');
259
- }
260
-
261
- if (classTabView.get('rendered')) {
262
- Y.Widget.getByNode(tab).set('selected', 1);
263
- } else {
264
- tab.addClass('yui3-tab-selected');
265
- }
266
- }
267
- };
268
-
269
- pjax.updateVisibility = function () {
270
- var container = pjax.get('container');
271
-
272
- container.toggleClass('hide-inherited',
273
- !Y.one('#api-show-inherited').get('checked'));
274
-
275
- container.toggleClass('show-deprecated',
276
- Y.one('#api-show-deprecated').get('checked'));
277
-
278
- container.toggleClass('show-protected',
279
- Y.one('#api-show-protected').get('checked'));
280
-
281
- container.toggleClass('show-private',
282
- Y.one('#api-show-private').get('checked'));
283
-
284
- pjax.checkVisibility();
285
- };
286
-
287
- // -- Route Handlers -----------------------------------------------------------
288
-
289
- pjax.handleClasses = function (req, res, next) {
290
- var status = res.ioResponse.status;
291
-
292
- // Handles success and local filesystem XHRs.
293
- if (res.ioResponse.readyState === 4 && (!status || (status >= 200 && status < 300))) {
294
- pjax.initClassTabView();
295
- }
296
-
297
- next();
298
- };
299
-
300
- pjax.handleFiles = function (req, res, next) {
301
- var status = res.ioResponse.status;
302
-
303
- // Handles success and local filesystem XHRs.
304
- if (res.ioResponse.readyState === 4 && (!status || (status >= 200 && status < 300))) {
305
- pjax.initLineNumbers();
306
- }
307
-
308
- next();
309
- };
310
-
311
- // -- Event Handlers -----------------------------------------------------------
312
-
313
- pjax.onNavigate = function (e) {
314
- var hash = e.hash,
315
- originTarget = e.originEvent && e.originEvent.target,
316
- tab;
317
-
318
- if (hash) {
319
- tab = originTarget && originTarget.ancestor('.yui3-tab', true);
320
-
321
- if (hash === win.location.hash) {
322
- pjax.updateTabState('hashchange');
323
- } else if (!tab) {
324
- win.location.hash = hash;
325
- }
326
-
327
- e.preventDefault();
328
- return;
329
- }
330
-
331
- // Only scroll to the top of the page when the URL doesn't have a hash.
332
- this.set('scrollToTop', !e.url.match(/#.+$/));
333
-
334
- bdNode.addClass('loading');
335
- };
336
-
337
- pjax.onOptionClick = function (e) {
338
- pjax.updateVisibility();
339
- };
340
-
341
- pjax.onTabSelectionChange = function (e) {
342
- var tab = e.newVal,
343
- tabId = tab.get('contentBox').getAttribute('href').substring(1);
344
-
345
- selectedTab = tab;
346
-
347
- // If switching from a previous tab (i.e., this is not the default tab),
348
- // replace the history entry with a hash URL that will cause this tab to
349
- // be selected if the user navigates away and then returns using the back
350
- // or forward buttons.
351
- if (e.prevVal && localStorage) {
352
- localStorage.setItem('tab_' + pjax.getPath(), tabId);
353
- }
354
-
355
- pjax.checkVisibility(tab);
356
- };
357
-
358
- // -- Init ---------------------------------------------------------------------
359
-
360
- pjax.on('navigate', pjax.onNavigate);
361
-
362
- pjax.initRoot();
363
- pjax.upgrade();
364
- pjax.initClassTabView();
365
- pjax.initLineNumbers();
366
- pjax.updateVisibility();
367
-
368
- Y.APIList.rootPath = pjax.get('root');
369
-
370
- Y.one('#api-options').delegate('click', pjax.onOptionClick, 'input');
371
-
372
- Y.on('hashchange', function (e) {
373
- pjax.updateTabState('hashchange');
374
- }, win);
375
-
376
- });
@@ -1,17 +0,0 @@
1
- YUI().use('node', function(Y) {
2
- var code = Y.all('.prettyprint.linenums');
3
- if (code.size()) {
4
- code.each(function(c) {
5
- var lis = c.all('ol li'),
6
- l = 1;
7
- lis.each(function(n) {
8
- n.prepend('<a name="LINENUM_' + l + '"></a>');
9
- l++;
10
- });
11
- });
12
- var h = location.hash;
13
- location.hash = '';
14
- h = h.replace('l', 'LINENUM_');
15
- location.hash = h;
16
- }
17
- });
@@ -1,130 +0,0 @@
1
- <html>
2
- <head>
3
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
- <title>Change Log</title>
5
- </head>
6
- <body bgcolor="white">
7
- <a style="float:right" href="README.html">README</a>
8
-
9
- <h1>Known Issues</h1>
10
- <ul>
11
- <li>Perl formatting is really crappy. Partly because the author is lazy and
12
- partly because Perl is
13
- <a href="http://www.perlmonks.org/?node_id=663393">hard</a> to parse.
14
- <li>On some browsers, <code>&lt;code&gt;</code> elements with newlines in the text
15
- which use CSS to specify <code>white-space:pre</code> will have the newlines
16
- improperly stripped if the element is not attached to the document at the time
17
- the stripping is done. Also, on IE 6, all newlines will be stripped from
18
- <code>&lt;code&gt;</code> elements because of the way IE6 produces
19
- <code>innerHTML</code>. Workaround: use <code>&lt;pre&gt;</code> for code with
20
- newlines.
21
- </ul>
22
-
23
- <h1>Change Log</h1>
24
- <h2>29 March 2007</h2>
25
- <ul>
26
- <li>Added <a href="tests/prettify_test.html#PHP">tests</a> for PHP support
27
- to address
28
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=3"
29
- >issue 3</a>.
30
- <li>Fixed
31
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=6"
32
- >bug</a>: <code>prettyPrintOne</code> was not halting. This was not
33
- reachable through the normal entry point.
34
- <li>Fixed
35
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4"
36
- >bug</a>: recursing into a script block or PHP tag that was not properly
37
- closed would not silently drop the content.
38
- (<a href="tests/prettify_test.html#issue4">test</a>)
39
- <li>Fixed
40
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=8"
41
- >bug</a>: was eating tabs
42
- (<a href="tests/prettify_test.html#issue8">test</a>)
43
- <li>Fixed entity handling so that the caveat
44
- <blockquote>
45
- <p>Caveats: please properly escape less-thans. <tt>x&amp;lt;y</tt>
46
- instead of <tt>x&lt;y</tt>, and use <tt>&quot;</tt> instead of
47
- <tt>&amp;quot;</tt> for string delimiters.</p>
48
- </blockquote>
49
- is no longer applicable.
50
- <li>Added noisefree's C#
51
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4"
52
- >patch</a>
53
- <li>Added a <a href="http://google-code-prettify.googlecode.com/files/prettify-small.zip">distribution</a> that has comments and
54
- whitespace removed to reduce download size from 45.5kB to 12.8kB.
55
- </ul>
56
- <h2>4 Jul 2008</h2>
57
- <ul>
58
- <li>Added <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=17">language specific formatters</a> that are triggered by the presence
59
- of a <code>lang-&lt;language-file-extension&gt;</code></li>
60
- <li>Fixed <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=29">bug</a>: python handling of <code>'''string'''</code>
61
- <li>Fixed bug: <code>/</code> in regex <code>[charsets] should not end regex</code>
62
- </ul>
63
- <h2>5 Jul 2008</h2>
64
- <ul>
65
- <li>Defined language extensions for Lisp and Lua</code>
66
- </ul>
67
- <h2>14 Jul 2008</h2>
68
- <ul>
69
- <li>Language handlers for F#, OCAML, SQL</code>
70
- <li>Support for <code>nocode</code> spans to allow embedding of line
71
- numbers and code annotations which should not be styled or otherwise
72
- affect the tokenization of prettified code.
73
- See the issue 22
74
- <a href="tests/prettify_test.html#issue22">testcase</a>.</code>
75
- </ul>
76
- <h2>6 Jan 2009</h2>
77
- <ul>
78
- <li>Language handlers for Visual Basic, Haskell, CSS, and WikiText</li>
79
- <li>Added <tt>.mxml</tt> extension to the markup style handler for
80
- Flex <a href="http://en.wikipedia.org/wiki/MXML">MXML files</a>. See
81
- <a
82
- href="http://code.google.com/p/google-code-prettify/issues/detail?id=37"
83
- >issue 37</a>.
84
- <li>Added <tt>.m</tt> extension to the C style handler so that Objective
85
- C source files properly highlight. See
86
- <a
87
- href="http://code.google.com/p/google-code-prettify/issues/detail?id=58"
88
- >issue 58</a>.
89
- <li>Changed HTML lexer to use the same embedded source mechanism as the
90
- wiki language handler, and changed to use the registered
91
- CSS handler for STYLE element content.
92
- </ul>
93
- <h2>21 May 2009</h2>
94
- <ul>
95
- <li>Rewrote to improve performance on large files.
96
- See <a href="http://mikesamuel.blogspot.com/2009/05/efficient-parsing-in-javascript.html">benchmarks</a>.</li>
97
- <li>Fixed bugs with highlighting of Haskell line comments, Lisp
98
- number literals, Lua strings, C preprocessor directives,
99
- newlines in Wiki code on Windows, and newlines in IE6.</li>
100
- </ul>
101
- <h2>14 August 2009</h2>
102
- <ul>
103
- <li>Fixed prettifying of <code>&lt;code&gt;</code> blocks with embedded newlines.
104
- </ul>
105
- <h2>3 October 2009</h2>
106
- <ul>
107
- <li>Fixed prettifying of XML/HTML tags that contain uppercase letters.
108
- </ul>
109
- <h2>19 July 2010</h2>
110
- <ul>
111
- <li>Added support for line numbers. Bug
112
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=22"
113
- >22</a></li>
114
- <li>Added YAML support. Bug
115
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=123"
116
- >123</a></li>
117
- <li>Added VHDL support courtesy Le Poussin.</li>
118
- <li>IE performance improvements. Bug
119
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=102"
120
- >102</a> courtesy jacobly.</li>
121
- <li>A variety of markup formatting fixes courtesy smain and thezbyg.</li>
122
- <li>Fixed copy and paste in IE[678].
123
- <li>Changed output to use <code>&amp;#160;</code> instead of
124
- <code>&amp;nbsp;</code> so that the output works when embedded in XML.
125
- Bug
126
- <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=108"
127
- >108</a>.</li>
128
- </ul>
129
- </body>
130
- </html>