OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="release-notes"> | 3 <section id="release-notes"> |
4 <span id="sdk-release-notes"></span><h1 id="release-notes"><span id="sdk-release
-notes"></span>Release Notes</h1> | 4 <span id="sdk-release-notes"></span><h1 id="release-notes"><span id="sdk-release
-notes"></span>Release Notes</h1> |
5 <section id="chrome-pepper-35-31-mar-2014"> | 5 <section id="chrome-pepper-35-31-mar-2014"> |
6 <h2 id="chrome-pepper-35-31-mar-2014">Chrome/Pepper 35 (31 Mar 2014)</h2> | 6 <h2 id="chrome-pepper-35-31-mar-2014">Chrome/Pepper 35 (31 Mar 2014)</h2> |
7 <section id="pnacl"> | 7 <section id="pnacl"> |
8 <h3 id="pnacl">PNaCl</h3> | 8 <h3 id="pnacl">PNaCl</h3> |
9 <ul class="small-gap"> | 9 <ul class="small-gap"> |
10 <li>Upgraded LLVM to version 3.4.</li> | 10 <li>Upgraded LLVM to version 3.4.</li> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 </section><section id="pnacl-15-may-2013"> | 87 </section><section id="pnacl-15-may-2013"> |
88 <h2 id="pnacl-15-may-2013">PNaCl (15 May 2013)</h2> | 88 <h2 id="pnacl-15-may-2013">PNaCl (15 May 2013)</h2> |
89 <ul class="small-gap"> | 89 <ul class="small-gap"> |
90 <li>Portable Native Client (PNaCl) is currently available for developer preview | 90 <li>Portable Native Client (PNaCl) is currently available for developer preview |
91 in Chrome 29 or higher.</li> | 91 in Chrome 29 or higher.</li> |
92 <li>To produce a PNaCl executable (.pexe) file, you must use the pnacl toolchain | 92 <li>To produce a PNaCl executable (.pexe) file, you must use the pnacl toolchain |
93 in the current <code>pepper_canary</code> bundle. Chrome 29 does not support .pe
xe | 93 in the current <code>pepper_canary</code> bundle. Chrome 29 does not support .pe
xe |
94 files produced by earlier versions of the pnacl toolchain (that is, | 94 files produced by earlier versions of the pnacl toolchain (that is, |
95 executables compiled with the <code>pepper_28</code> bundle or earlier).</li> | 95 executables compiled with the <code>pepper_28</code> bundle or earlier).</li> |
96 <li>To run an application with a PNaCl module, you must launch Chrome 29 with th
e | 96 <li>To run an application with a PNaCl module, you must launch Chrome 29 with th
e |
97 <code>--enable-pnacl</code> flag (for <a class="reference external" href="http:/
/developer.chrome.com/apps/about_apps.html">packaged apps</a>), or the | 97 <code>--enable-pnacl</code> flag (for <a class="reference external" href="/apps/
about_apps">packaged apps</a>), or the |
98 <code>--enable-nacl</code> flag (for other apps).</li> | 98 <code>--enable-nacl</code> flag (for other apps).</li> |
99 <li>When you launch Chrome with the <code>--enable-pnacl</code> flag, Chrome loa
ds a PNaCl | 99 <li>When you launch Chrome with the <code>--enable-pnacl</code> flag, Chrome loa
ds a PNaCl |
100 translator in the background. Wait about a minute after you launch Chrome and | 100 translator in the background. Wait about a minute after you launch Chrome and |
101 check <a class="reference external" href="chrome://nacl">chrome://nacl</a> to ve
rify that the translator loaded.</li> | 101 check <a class="reference external" href="chrome://nacl">chrome://nacl</a> to ve
rify that the translator loaded.</li> |
102 <li>PNaCl translators are currently available for 32-bit x86, 64-bit x86, and AR
M | 102 <li>PNaCl translators are currently available for 32-bit x86, 64-bit x86, and AR
M |
103 architectures.</li> | 103 architectures.</li> |
104 <li>PNaCl applications must use the newlib C library (glibc and dynamic linking | 104 <li>PNaCl applications must use the newlib C library (glibc and dynamic linking |
105 are not supported yet).</li> | 105 are not supported yet).</li> |
106 <li>The intermediate representation (IR) format may change prior to the release | 106 <li>The intermediate representation (IR) format may change prior to the release |
107 of PNaCl. If so, you will need to recompile your application with the pnacl | 107 of PNaCl. If so, you will need to recompile your application with the pnacl |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 </ul> | 240 </ul> |
241 </li> | 241 </li> |
242 <li>The simple web server included in the SDK, <code>httpd.py</code>, has been m
oved from | 242 <li>The simple web server included in the SDK, <code>httpd.py</code>, has been m
oved from |
243 the <code>examples/</code> directory to the <code>tools/</code> directory. On Wi
ndows, you can | 243 the <code>examples/</code> directory to the <code>tools/</code> directory. On Wi
ndows, you can |
244 run <code>httpd.cmd</code> (in the <code>examples/</code> directory) to start th
e server.</li> | 244 run <code>httpd.cmd</code> (in the <code>examples/</code> directory) to start th
e server.</li> |
245 </ul> | 245 </ul> |
246 </section><section id="ppapi"> | 246 </section><section id="ppapi"> |
247 <h3 id="ppapi">PPAPI</h3> | 247 <h3 id="ppapi">PPAPI</h3> |
248 <p>Pepper 25 includes two new APIs:</p> | 248 <p>Pepper 25 includes two new APIs:</p> |
249 <ul class="small-gap"> | 249 <ul class="small-gap"> |
250 <li>The <a class="reference external" href="https://developers.google.com/native
-client/dev/pepperc/struct_p_p_b___console__1__0">Console API</a> | 250 <li>The <a class="reference external" href="/native-client/pepper_stable/c/struc
t_p_p_b___console__1__0">Console API</a> lets your |
251 lets your module log messages to the JavaScript console in the Chrome browser.</
li> | 251 module log messages to the JavaScript console in the Chrome browser.</li> |
252 <li>The <a class="reference external" href="https://developers.google.com/native
-client/dev/peppercpp/classpp_1_1_message_loop">MessageLoop</a> | 252 <li>The <a class="reference external" href="/native-client/pepper_stable/cpp/cla
sspp_1_1_message_loop">MessageLoop</a> API lets your |
253 API lets your module make PPAPI calls on a background thread. Once you’ve | 253 module make PPAPI calls on a background thread. Once you’ve created a |
254 created a message loop resource, attached it to a thread, and run it, you can | 254 message loop resource, attached it to a thread, and run it, you can post work |
255 post work to the thread, including completion callbacks for asynchronous | 255 to the thread, including completion callbacks for asynchronous operations. |
256 operations. For a C++ example of how to use the MessageLoop API, | 256 For a C++ example of how to use the MessageLoop API, see |
257 see <code>pepper_25/include/ppapi/utility/threading/simple_thread.h</code>. Note
that | 257 <code>pepper_25/include/ppapi/utility/threading/simple_thread.h</code>. Note tha
t you |
258 you cannot make asynchronous PPAPI calls on a background thread without | 258 cannot make asynchronous PPAPI calls on a background thread without creating |
259 creating and using a message loop.</li> | 259 and using a message loop.</li> |
260 </ul> | 260 </ul> |
261 </section><section id="id6"> | 261 </section><section id="id6"> |
262 <h3 id="id6">Libraries</h3> | 262 <h3 id="id6">Libraries</h3> |
263 <p>The SDK includes two new libraries:</p> | 263 <p>The SDK includes two new libraries:</p> |
264 <ul class="small-gap"> | 264 <ul class="small-gap"> |
265 <li><p class="first">The <strong>nacl_mounts</strong> library provides a virtual
file system that your module | 265 <li><p class="first">The <strong>nacl_mounts</strong> library provides a virtual
file system that your module |
266 can “mount” in a given directory tree. The file system can be one of
several | 266 can “mount” in a given directory tree. The file system can be one of
several |
267 types:</p> | 267 types:</p> |
268 <ul class="small-gap"> | 268 <ul class="small-gap"> |
269 <li>“memfs” is an in-memory file system,</li> | 269 <li>“memfs” is an in-memory file system,</li> |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 your development machine. Within each toolchain build, each example also | 361 your development machine. Within each toolchain build, each example also |
362 builds both a debug and a release version.</li> | 362 builds both a debug and a release version.</li> |
363 <li>The example Makefiles use dependency (.d) files to enable incremental builds
.</li> | 363 <li>The example Makefiles use dependency (.d) files to enable incremental builds
.</li> |
364 <li>The pong example has been cleaned up and modified to run more smoothly. The | 364 <li>The pong example has been cleaned up and modified to run more smoothly. The |
365 drawing function is now set up as the Flush() callback, which allows 2D | 365 drawing function is now set up as the Flush() callback, which allows 2D |
366 drawing to occur as quickly as possible.</li> | 366 drawing to occur as quickly as possible.</li> |
367 </ul> | 367 </ul> |
368 </section><section id="id11"> | 368 </section><section id="id11"> |
369 <h3 id="id11">PPAPI</h3> | 369 <h3 id="id11">PPAPI</h3> |
370 <ul class="small-gap"> | 370 <ul class="small-gap"> |
371 <li>When creating a 3D rendering context, the <a class="reference external" href
="https://developers.google.com/native-client/dev/pepperc/group___enums#ga7df48e
1c55f6401beea2a1b9c07967e8">attribute list</a> | 371 <li>When creating a 3D rendering context, the <a class="reference external" href
="/native-client/pepper_stable/c/group___enums#ga7df48e1c55f6401beea2a1b9c07967e
8">attribute list</a> |
372 for the context can specify whether to prefer low power or performance for | 372 for the context can specify whether to prefer low power or performance for |
373 the GPU. Contexts with a low power preference may be created on an integrated | 373 the GPU. Contexts with a low power preference may be created on an integrated |
374 GPU; contexts with a performance preference may be created on a discrete GPU.</l
i> | 374 GPU; contexts with a performance preference may be created on a discrete GPU.</l
i> |
375 </ul> | 375 </ul> |
376 </section><section id="windows-sdk"> | 376 </section><section id="windows-sdk"> |
377 <h3 id="windows-sdk">Windows SDK</h3> | 377 <h3 id="windows-sdk">Windows SDK</h3> |
378 <ul class="small-gap"> | 378 <ul class="small-gap"> |
379 <li>The Windows SDK includes the pthreads-win32 library to assist in porting fro
m | 379 <li>The Windows SDK includes the pthreads-win32 library to assist in porting fro
m |
380 win32 code. You can use this library when developing your module as a Pepper | 380 win32 code. You can use this library when developing your module as a Pepper |
381 plug-in (.dll). See pepper_24/include/win/pthread.h and | 381 plug-in (.dll). See pepper_24/include/win/pthread.h and |
382 pepper_24/src/pthread/README for additional information.</li> | 382 pepper_24/src/pthread/README for additional information.</li> |
383 <li>The update utility naclsdk.bat works when it is run from a path with spaces.
</li> | 383 <li>The update utility naclsdk.bat works when it is run from a path with spaces.
</li> |
384 </ul> | 384 </ul> |
385 </section></section><section id="pepper-23-15-october-2012"> | 385 </section></section><section id="pepper-23-15-october-2012"> |
386 <h2 id="pepper-23-15-october-2012">Pepper 23 (15 October 2012)</h2> | 386 <h2 id="pepper-23-15-october-2012">Pepper 23 (15 October 2012)</h2> |
387 <p>The Pepper 23 bundle includes support for the nacl-gdb debugger on Mac and | 387 <p>The Pepper 23 bundle includes support for the nacl-gdb debugger on Mac and |
388 32-bit Windows, resources to enable hosted development on Linux, and changes to | 388 32-bit Windows, resources to enable hosted development on Linux, and changes to |
389 make the SDK examples compliant with version 2 of the Chrome Web Store manifest | 389 make the SDK examples compliant with version 2 of the Chrome Web Store manifest |
390 file format.</p> | 390 file format.</p> |
391 <section id="tools"> | 391 <section id="tools"> |
392 <h3 id="tools">Tools</h3> | 392 <h3 id="tools">Tools</h3> |
393 <ul class="small-gap"> | 393 <ul class="small-gap"> |
394 <li>The <a class="reference external" href="https://developers.google.com/native
-client/pepper23/devguide/devcycle/debugging#gdb">nacl-gdb debugger</a> | 394 <li>The <a class="reference internal" href="/native-client/devguide/devcycle/deb
ugging.html#using-gdb"><em>nacl-gdb debugger</em></a> now works on all systems (
Mac, |
395 now works on all systems (Mac, Windows, and Linux).</li> | 395 Windows, and Linux).</li> |
396 <li>The output of the SDK update utility has been simplified. When you run the | 396 <li>The output of the SDK update utility has been simplified. When you run the |
397 command <code>naclsdk list</code>, the utility displays one line for each availa
ble | 397 command <code>naclsdk list</code>, the utility displays one line for each availa
ble |
398 bundle, annotated with an “<code>I</code>” if the bundle is already
installed on your | 398 bundle, annotated with an “<code>I</code>” if the bundle is already
installed on your |
399 system, and a “<code>*</code>” if the bundle has an update available
. To see full | 399 system, and a “<code>*</code>” if the bundle has an update available
. To see full |
400 information about a bundle, use the command <code>naclsdk info <bundle></c
ode> (for | 400 information about a bundle, use the command <code>naclsdk info <bundle></c
ode> (for |
401 example, <code>naclsdk info pepper_28</code>).</li> | 401 example, <code>naclsdk info pepper_28</code>).</li> |
402 </ul> | 402 </ul> |
403 </section><section id="linux-sdk"> | 403 </section><section id="linux-sdk"> |
404 <h3 id="linux-sdk">Linux SDK</h3> | 404 <h3 id="linux-sdk">Linux SDK</h3> |
405 <ul class="small-gap"> | 405 <ul class="small-gap"> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 </li> | 443 </li> |
444 </ul> | 444 </ul> |
445 </section><section id="id12"> | 445 </section><section id="id12"> |
446 <h3 id="id12">Examples</h3> | 446 <h3 id="id12">Examples</h3> |
447 <ul class="small-gap"> | 447 <ul class="small-gap"> |
448 <li>On Linux and Windows systems, most of the examples now build with three | 448 <li>On Linux and Windows systems, most of the examples now build with three |
449 toolchains: the Native Client glibc and newlib toolchains, and the native | 449 toolchains: the Native Client glibc and newlib toolchains, and the native |
450 toolchain on the host system. Modules built with the native toolchain on the | 450 toolchain on the host system. Modules built with the native toolchain on the |
451 host system can only run as Pepper plugins.</li> | 451 host system can only run as Pepper plugins.</li> |
452 <li>All examples in the SDK now comply with version 2 of the Chrome Web Store | 452 <li>All examples in the SDK now comply with version 2 of the Chrome Web Store |
453 <a class="reference external" href="http://developer.chrome.com/extensions/manif
est.html">manifest file format</a>. By default, | 453 <a class="reference external" href="/extensions/manifest">manifest file format</
a>. By default, |
454 applications that use version 2 of the manifest file format apply a strict | 454 applications that use version 2 of the manifest file format apply a strict |
455 <a class="reference external" href="http://developer.chrome.com/extensions/conte
ntSecurityPolicy.html">content security policy</a>, which | 455 <a class="reference external" href="/extensions/contentSecurityPolicy">content s
ecurity policy</a>, which |
456 includes a restriction against inline JavaScript. This restriction prohibits | 456 includes a restriction against inline JavaScript. This restriction prohibits |
457 both inline <code><script></code> blocks and inline event handlers (e.g.,
<code><button | 457 both inline <code><script></code> blocks and inline event handlers (e.g.,
<code><button |
458 onclick="..."></code>). See <a class="reference external" href="ht
tp://developer.chrome.com/extensions/manifestVersion.html">Manifest Version</a>
for a list of | 458 onclick="..."></code>). See <a class="reference external" href="/e
xtensions/manifestVersion">Manifest Version</a> for |
459 changes between version 1 and version 2 of the manifest file format, and a | 459 a list of changes between version 1 and version 2 of the manifest file |
460 support schedule for applications that use version 1.</li> | 460 format, and a support schedule for applications that use version 1.</li> |
461 </ul> | 461 </ul> |
462 </section><section id="id13"> | 462 </section><section id="id13"> |
463 <h3 id="id13">PPAPI</h3> | 463 <h3 id="id13">PPAPI</h3> |
464 <ul class="small-gap"> | 464 <ul class="small-gap"> |
465 <li><a class="reference external" href="https://developers.google.com/native-cli
ent/pepper23/pepperc/group___enums#ga21b811ac0484a214a8751aa3e1c959d9">PP_InputE
vent_Modifier</a> | 465 <li><a class="reference external" href="/native-client/pepper_stable/c/group___e
nums#ga21b811ac0484a214a8751aa3e1c959d9">PP_InputEvent_Modifier</a> |
466 has two new enum values (_ISLEFT and _ISRIGHT).</li> | 466 has two new enum values (_ISLEFT and _ISRIGHT).</li> |
467 <li>The memory leak in the <a class="reference external" href="https://developer
s.google.com/native-client/pepper23/pepperc/struct_p_p_b___web_socket__1__0">Web
Socket</a> | 467 <li>The memory leak in the <a class="reference external" href="/native-client/pe
pper_stable/c/struct_p_p_b___web_socket__1__0">WebSocket</a> API has |
468 API has been fixed.</li> | 468 been fixed.</li> |
469 </ul> | 469 </ul> |
470 </section></section><section id="pepper-22-22-august-2012"> | 470 </section></section><section id="pepper-22-22-august-2012"> |
471 <h2 id="pepper-22-22-august-2012">Pepper 22 (22 August 2012)</h2> | 471 <h2 id="pepper-22-22-august-2012">Pepper 22 (22 August 2012)</h2> |
472 <p>The Pepper 22 bundle includes a <strong>command-line debugger</strong>, resou
rces to enable | 472 <p>The Pepper 22 bundle includes a <strong>command-line debugger</strong>, resou
rces to enable |
473 <strong>hosted development on Windows</strong>, and changes to the example Makef
iles (each | 473 <strong>hosted development on Windows</strong>, and changes to the example Makef
iles (each |
474 example now builds both a debug and a release version).</p> | 474 example now builds both a debug and a release version).</p> |
475 <section id="id14"> | 475 <section id="id14"> |
476 <h3 id="id14">Tools</h3> | 476 <h3 id="id14">Tools</h3> |
477 <ul class="small-gap"> | 477 <ul class="small-gap"> |
478 <li>The SDK now includes a <strong>command-line debugger</strong> that you can u
se to debug | 478 <li>The SDK now includes a <strong>command-line debugger</strong> that you can u
se to debug |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 <li>Comments have been added to common.js, which is used in all the examples. Th
e | 541 <li>Comments have been added to common.js, which is used in all the examples. Th
e |
542 JavaScript in common.js inserts an <embed> element that loads the NaCl mod
ule | 542 JavaScript in common.js inserts an <embed> element that loads the NaCl mod
ule |
543 in each example’s web page, attaches event listeners to monitor the loadin
g | 543 in each example’s web page, attaches event listeners to monitor the loadin
g |
544 of the module, and implements handleMessage() to respond to messages sent | 544 of the module, and implements handleMessage() to respond to messages sent |
545 from the NaCl module to the JavaScript side of the application</li> | 545 from the NaCl module to the JavaScript side of the application</li> |
546 </ul> | 546 </ul> |
547 </section><section id="id17"> | 547 </section><section id="id17"> |
548 <h3 id="id17">PPAPI</h3> | 548 <h3 id="id17">PPAPI</h3> |
549 <ul class="small-gap"> | 549 <ul class="small-gap"> |
550 <li>The <code>CompletionCallbackFactory</code> class template now takes a thread
traits | 550 <li>The <code>CompletionCallbackFactory</code> class template now takes a thread
traits |
551 class as its second parameter. For details see the <a class="reference external"
href="https://developers.google.com/native-client/pepper22/peppercpp/classpp_1_
1_completion_callback_factory#details">CompletionCallbackFactory | 551 class as its second parameter. For details see the <a class="reference external"
href="/native-client/pepper_stable/cpp/classpp_1_1_completion_callback_factory#
details">CompletionCallbackFactory |
552 class template reference</a>.</li> | 552 class template reference</a>.</li> |
553 </ul> | 553 </ul> |
554 </section></section></section> | 554 </section></section></section> |
555 | 555 |
556 {{/partials.standard_nacl_article}} | 556 {{/partials.standard_nacl_article}} |
OLD | NEW |