Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / native_client_sdk / src / doc / sdk / release-notes.rst
blob6c4b63980a38a7a64c5dd07a2fc17997f809bdb1
1 .. _sdk-release-notes:
3 #############
4 Release Notes
5 #############
7 Chrome/Pepper 39 (26 September 2014)
8 ====================================
10 Pepper
11 ------
13 .. TODO(jfb): Change to VideoDecoder to pepper_stable when it hits stable.
15 * Support for ``DEBUG_ONLY:dev://postmessage`` has been removed in favor of
16   :ref:`other more useful debugging approaches <devcycle-debugging>`.
17 * `VideoDecoder
18   </native-client/pepper_beta/cpp/classpp_1_1_video_decoder.html>`_ is now
19   stable, see the SDK example in ``pepper_canary/examples/api/video_decode``.
20 * ``postMessageAndAwaitResponse`` is now stable and allows JavaScript to
21   communicate synchronously with PNaCl embeds.
23 Chrome/Pepper 38 (15 August 2014)
24 =================================
26 PNaCl
27 -----
29 * Compilation speed improvements due to validation caching of the translator and
30   linker.
31 * Performance improvement of SIMD vector shuffle.
33 Chrome/Pepper 37 (20 June 2014)
34 ===============================
36 PNaCl
37 -----
39 * 2–10% translation time improvement.
40 * Improved vector load/store and shuffle performance.
42 Pepper
43 ------
45 * Media Streams Input support.
46 * Compositor API.
47 * Hardware Decode API in development preview.
48 * Sync API in development preview.
50 SDK
51 ---
53 * Demo of a :ref:`full development environment in the browser <io2014>`.
55 Chrome/Pepper 36 (09 May 2014)
56 ==============================
58 PNaCl
59 -----
60 * Support `LLVM vectors
61   <http://clang.llvm.org/docs/LanguageExtensions.html#vectors-and-extended-vectors>`_
62   and `GCC vectors
63   <http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html>`_ for SIMD
64   vectors through :ref:`Portable SIMD Vectors
65   <portable_simd_vectors>`. Note that this is still an early release,
66   and performance is expected to become acceptable for version 37 of
67   Chrome. More SIMD instructions will be added in later releases.
69 Chrome/Pepper 35 (31 Mar 2014)
70 ==============================
72 PNaCl
73 -----
74 * Upgraded LLVM to version 3.4.
75 * Translation now uses dynamic load balancing, making translation time faster.
76 * Unstable pexes (i.e. non-finalized) with debug information can be loaded by
77   Chrome, simplifying debugging with PNaCl. See :ref:`Debugging PNaCl pexes
78   <debugging_pnacl_pexes>`
81 Chrome/Pepper 34 (20 Feb 2014)
82 ==============================
84 Pepper
85 ------
86 * Filesystems can now be passed from JavaScript to NaCl. The resulting
87   ``pp::Var`` will contain a ``pp::Resource`` that can be given to the
88   ``pp::FileSystem`` constructor.
89 * New Audio and Video input APIs have been added as dev interfaces. See
90   `pp::MediaStreamAudioTrack
91   </native-client/pepper_dev/cpp/classpp_1_1_media_stream_audio_track>`_ and
92   `pp::MediaStreamVideoTrack
93   </native-client/pepper_dev/cpp/classpp_1_1_media_stream_video_track>`_ for
94   more details.
96 PNaCl
97 -----
98 * Parallel translation: at least 1.7x faster, even with older pexes.
99 * Intelligent abbreviations in the bitcode: 20% reduction in binary size using
100   the :ref:`pnacl-compress <pnacl_compress>` tool.
102 Chrome/Pepper 33 (16 Dec 2013)
103 ==============================
105 Portable Native Client
106 ----------------------
108 * PNaCl's default C++ standard library is now LLVM's own libc++, based on
109   LLVM 3.3. This library now supports optional ``setjmp``/``longjmp`` exception
110   handling (see `announcement
111   <https://groups.google.com/forum/#!topic/native-client-discuss/0spfg6O04FM>`_
112   for details).
117 * The ``nacl_io`` library now includes a FUSE mount.
118 * In the SDK examples, ``common.js`` now loads the Release version of the
119   nexes/pexes that are built (by default).
120 * "``make debug``" and "``make run``" have been fixed on Mac.
122 PNaCl enabled by default in Chrome 31 (12 Nov 2013)
123 ===================================================
125 * Portable Native Client (PNaCl) is enabled by default in Chrome 31. See
126   :doc:`NaCl and PNaCl </nacl-and-pnacl>` for details on the differences between
127   NaCl and PNaCl.
128 * The PNaCl ABI has changed from the preview release in Chrome 30.
129   Pexe modules built with the ``pepper_30`` bundle in the SDK must be recompiled
130   with the ``pepper_31`` bundle or later.
131   As a general rule, we always recommended building applications with the latest
132   stable bundle in the Native Client SDK.
133   The PNaCl ABI will remain stable starting with the release of Chrome 31.
134 * Additional changes in the Chrome/Pepper 31 release:
136   * Updates to the Pepper API, including socket and network support
137   * Improved socket support in the ``nacl_io`` library
139 PNaCl in Chrome 30 Dev channel (01 Aug 2013)
140 ============================================
142 * Portable Native Client (PNaCl) is currently available for preview in Chrome
143   30 (currently in the Dev channel). Apps and sites built with PNaCl can run in
144   Chrome 30 without an explicit flag.
145 * See `Introduction to Portable Native Client
146   <http://www.chromium.org/nativeclient/pnacl/introduction-to-portable-native-client>`_
147   for information on developing for PNaCl. More documentation will be available
148   soon.
149 * Please note that the `PNaCl bitcode ABI
150   <http://www.chromium.org/nativeclient/pnacl/bitcode-abi>`_ may still change
151   before the official public release; if you're developing a PNaCl-based
152   application, be sure to build your code with the latest version of the Native
153   Client SDK.
154 * Update: PNaCl is not enabled by default in beta or stable versions of M30.
156 PNaCl (15 May 2013)
157 ===================
159 * Portable Native Client (PNaCl) is currently available for developer preview
160   in Chrome 29 or higher.
161 * To produce a PNaCl executable (.pexe) file, you must use the pnacl toolchain
162   in the current ``pepper_canary`` bundle. Chrome 29 does not support .pexe
163   files produced by earlier versions of the pnacl toolchain (that is,
164   executables compiled with the ``pepper_28`` bundle or earlier).
165 * To run an application with a PNaCl module, you must launch Chrome 29 with the
166   ``--enable-pnacl`` flag (for `packaged apps </apps/about_apps>`_), or the
167   ``--enable-nacl`` flag (for other apps).
168 * When you launch Chrome with the ``--enable-pnacl`` flag, Chrome loads a PNaCl
169   translator in the background. Wait about a minute after you launch Chrome and
170   check `chrome://nacl <chrome://nacl>`_ to verify that the translator loaded.
171 * PNaCl translators are currently available for 32-bit x86, 64-bit x86, and ARM
172   architectures.
173 * PNaCl applications must use the newlib C library (glibc and dynamic linking
174   are not supported yet).
175 * The intermediate representation (IR) format may change prior to the release
176   of PNaCl. If so, you will need to recompile your application with the pnacl
177   toolchain in a new SDK bundle.
179 Pepper 27 (12 April 2013)
180 =========================
182 The Pepper 27 bundle features a significant number of new libraries that have
183 been incorporated directly into the SDK.
185 Libraries
186 ---------
188 * A number of libraries from the naclports project have been incorporated
189   directly into the Native Client SDK. These libraries include:
191   * image encoding/decoding: jpeg, tiff, png, webp
192   * multimedia: openal, freealut, ogg, vorbis
193   * XML parsing: tinyxml, xml2
194   * miscellaneous: zlib (general purpose compression), freetype (font
195     rendering), lua (Lua interpreter)
197   The libraries are located in ``ports/lib``, and the header files are in
198   ``ports/include``.
200 * The ``httpfs`` filesystem in the nacl_io library now caches content in memory
201   by default; this improves performance considerably.
202 * For applications compiled with a glibc toolchain, ``dlopen()`` can now be
203   used to open shared libraries that are not specified in an application's
204   Native Client manifest (.nmf) file. This allows applications, for example, to
205   download a shared object and then use ``dlopen()`` to access the shared
206   object.  The ``dlopen`` example has been modified to demonstrate this
207   functionality: reverse.cc is built into a shared object (.so) file, which is
208   downloaded and opened using an ``httpfs`` mount.
210 Examples
211 --------
213 * Each example now has a single ``index.html`` file, instead of multiple HTML
214   files corresponding to NaCl modules built using different toolchains and
215   configurations. By default, most examples are built using one toolchain
216   (newlib) and one configuration (Debug). If you build an example using
217   multiple toolchains or configurations, you can specify which version to run
218   in Chrome using the query parameters ``tc`` and ``config``. For example,
219   assuming you are serving an example from the local server localhost:5103, you
220   can run a version of the example built with the glibc toolchain in the
221   Release configuration by specifying the following URL in Chrome:
222   ``http://localhost:5103/index.html?tc=glibc&config=Release``. For additional
223   information about how different NaCl modules are loaded into ``index.html``,
224   see the ``common.js`` file in each example.
226 Build tools and toolchains
227 --------------------------
229 * Common makefiles, including ``tools/common.mk``, can now handle source files
230   located outside of an application's root directory. For example, a Makefile
231   for an application can specify a source file to compile such as
232   ``../../some/other/place.cpp``.
234 Pepper 26 (29 March 2013)
235 =========================
237 The Pepper 26 bundle includes a new HTTP filesystem type in the nacl_mounts
238 library (which has been renamed nacl_io), changes to the example Makefiles, a
239 simple new 3D example, and a threaded file IO example.
241 Build tools and toolchains
242 --------------------------
244 * Makefiles have been changed significantly:
246   * Build commands are now specified in a number of common files
247     (``tools/*.mk``), which are included in the Makefiles in the examples.
248   * By default, make displays a simplified list of build steps (e.g., ``CC
249     newlib/Debug/hello_world_x86_32.o``) rather than the actual build commands.
250     To see the actual build commands, run ``make V=1``.
251   * By default, most examples are built using one toolchain (newlib) and one
252     configuration (Debug). To build an example using a different toolchain or
253     configuration, run ``make`` with the parameters ``TOOLCHAIN=<x>`` or
254     ``CONFIG=<y>``.  You can also run make ``all_versions`` to build an example
255     with all toolchains.
257 * Header files have been moved out of the toolchains. All toolchains now share
258   the same set of header files as host builds. Previously host and NaCl builds
259   used different headers, which could cause build problems.
261 Libraries
262 ---------
264 * The nacl_mounts library has been renamed **nacl_io**, and has been expanded
265   with a new type of mount, httpfs, which can be used to read URLs via HTTP.
266   For details see ``include/nacl_io/nacl_io.h``, as well as the
267   ``hello_nacl_io`` example.
269 Examples
270 --------
272 * A new example, **hello_world_instance3d**, has been added to demonstrate a
273   simplified 3D app.
274 * The **file_io** example has been rewritten to do all file operations on a
275   thread.  The example demonstrates how to use the MessageLoop API and blocking
276   callbacks on a thread.
278 General
279 -------
281 * Old bundles (``pepper_20`` and earlier) have been removed from the Native
282   Client SDK Manifest, and will no longer be updated by the ``naclsdk``
283   command.
285 Pepper 25 (21 December 2012)
286 ============================
288 The Pepper 25 bundle features an ARM toolchain to build Native Client modules
289 for ARM devices, two new Pepper APIs (including the MessageLoop API, which lets
290 you make Pepper calls on background threads), two new libraries (nacl_mounts,
291 which provides a virtual file system that you can use with standard C file
292 operations, and ppapi_main, which lets you implement a Native Client module
293 using a simple ppapi_main function), and two new examples that demonstrate how
294 to use the nacl_mounts and ppapi_main libraries.
296 Build tools and toolchains
297 --------------------------
299 * The SDK includes a new toolchain to build Native Client executables (.nexe
300   files) for **ARM devices**.
302   * Currently the ARM toolchain can only be used to compile modules that use
303     the :ref:`newlib C library <c_libraries>`. You cannot use the ARM toolchain
304     to compile modules that use the glibc library.
305   * The ARM toolchain is in the directory
306     ``pepper_25/toolchain/<host>_arm_newlib``.  The bin subdirectory contains
307     the compiler (``arm-nacl-gcc``), the linker (``arm-nacl-g++``), and the
308     other tools in the toolchain.
309   * Take a look at the ``hello_world`` example to see how to use the ARM
310     toolchain. Go to ``examples/hello_world`` and run ``make``. When the build
311     finishes, the newlib/Debug and newlib/Release subdirectories will contain
312     .nexe files for the x86-32, x86-64, and ARM target architecutes, and a
313     Native Client manifest (.nmf file) that references those three .nexe files.
315 * The simple web server included in the SDK, ``httpd.py``, has been moved from
316   the ``examples/`` directory to the ``tools/`` directory. On Windows, you can
317   run ``httpd.cmd`` (in the ``examples/`` directory) to start the server.
319 PPAPI
320 -----
322 Pepper 25 includes two new APIs:
324 * The `Console API
325   </native-client/pepper_stable/c/struct_p_p_b___console__1__0>`_ lets your
326   module log messages to the JavaScript console in the Chrome browser.
327 * The `MessageLoop
328   </native-client/pepper_stable/cpp/classpp_1_1_message_loop>`_ API lets your
329   module make PPAPI calls on a background thread.  Once you've created a
330   message loop resource, attached it to a thread, and run it, you can post work
331   to the thread, including completion callbacks for asynchronous operations.
332   For a C++ example of how to use the MessageLoop API, see
333   ``pepper_25/include/ppapi/utility/threading/simple_thread.h``. Note that you
334   cannot make asynchronous PPAPI calls on a background thread without creating
335   and using a message loop.
337 Libraries
338 ---------
340 The SDK includes two new libraries:
342 * The **nacl_mounts** library provides a virtual file system that your module
343   can "mount" in a given directory tree. The file system can be one of several
344   types:
346   * "memfs" is an in-memory file system,
347   * "dev" is a file system with various utility nodes (e.g., ``/dev/null``,
348     ``/dev/console[0-3]``, ``/dev/tty``), and
349   * "html5fs" is a persistent file system.
351   Once you've mounted a file system in your module, you can use standard C
352   library file operations: fopen, fread, fwrite, fseek, and fclose. How those
353   operations are performed depends on the type of file system (e.g., for
354   html5fs, the operations are performed using the Pepper FileIO API). For a
355   list of the types of file systems you can mount, see
356   include/nacl_mounts/nacl_mounts.h. For an example of how to use nacl_mounts,
357   see examples/hello_nacl_mounts. Note that html5fs is subject to the same
358   constraints as persistent :ref:`local file IO <devguide-coding-fileio>` in
359   Chrome (for example, prior to using an html5fs file system, you must `enable
360   local file IO <enabling_file_access>`_).
362 * The **ppapi_main** library simplifies the creation of a NaCl module by
363   providing a familiar C programming environment. With this library, your
364   module can have a simple entry point called ppapi_main(), which is similar to
365   the standard C main() function, complete with argc and argv[] parameters.
366   Your module can also use standard C functions such as printf(), fopen(), and
367   fwrite(). For details see include/ppapi_main/ppapi_main.h. For an example of
368   how to use ppapi_main, see examples/hello_world_stdio.
370 Header files for the new libraries are in the ``include/`` directory, source
371 files are in the ``src/`` directory, and compiled libraries are in the ``lib/``
372 directory.
374 Examples
375 --------
377 * The SDK includes two new examples:
379   * **hello_nacl_mounts** illustrates how to use standard C library file
380     operations in a Native Client module through the use of the nacl_mounts
381     library.
382   * **hello_world_stdio** illustrates how to implement a Native Client module
383     with a ppapi_main() function, and how to write to STDOUT and STDERR in a
384     module, through the use of the nacl_mounts and ppapi_main libraries. This
385     example makes it easy for new users to get started with Native Client by
386     letting them start making changes in a familiar C environment.
388 * With a few exceptions, the Makefile for each example now builds the following
389   versions of each example:
391   * glibc toolchain: 32-bit and 64-bit .nexes for the x86 target architecture
392   * newlib toolchain: 32-bit and 64-bit .nexes for the x86 target architecture,
393     and ARM .nexe for the ARM architecture
394   * pnacl toolchain: .pexe (which is subsequently tranlsated to .nexes for the
395     x86-32, x86-64, and ARM architectures)
396   * hosted toolchain: .so or .dll (to be executed as a Pepper plug-in in
397     Chrome)
399 * Additionally, each version is built in both a Debug and a Release
400   configuration.
401 * The Makefile for each example includes two new targets: ``make RUN`` and
402   ``make LAUNCH``. These targets, which are interchangeable, launch a local
403   server and an instance of Chrome to run an example. When the instance of
404   Chrome is closed, the local server is shut down as well.
405 * The hello_world_stdio example includes a simplified Makefile that only lists
406   source dependencies, and invokes the build rules in a separate file
407   (common.mk).
409 Pepper 24 (5 December 2012)
410 ===========================
412 The Pepper 24 bundle features a new, experimental toolchain called PNaCl (short
413 for "Portable Native Client"), a new library (pthreads-win32) for the Windows
414 SDK, and an expanded list of attributes for Pepper 3D contexts that lets
415 applications specify a GPU preference for low power or performance.
417 Build tools and toolchains
418 --------------------------
420 * The SDK includes a new, experimental toolchain called `PNaCl
421   <http://nativeclient.googlecode.com/svn/data/site/pnacl.pdf>`_ (pronounced
422   "pinnacle"). The PNaCl toolchain produces architecture-independent executable
423   files (.pexe files). Chrome doesn't yet support .pexe files directly, but if
424   you want to experiment with this early preview of PNaCl, the toolchain
425   includes a tool to translate .pexe files into architecture-specific .nexe
426   files. Take a look at the ``hello_world`` example to see how to build a .pexe
427   file and translate it into multiple .nexe files. Note that PNaCl is currently
428   restricted to the newlib C standard library – if your application uses glibc,
429   you can't build it with PNaCl.
430 * The ``create_nmf.py`` script uses ELF headers (rather than file names) to
431   determine the architecture of .nexe files. That means you can change the
432   names of your .nexe files and ``create_nmf.py`` will still be able to
433   generate the appropriate Native Client manifest file for your application.
435 Examples
436 --------
438 * The SDK examples now build with four toolchains: the glibc and newlib
439   toolchains, the experimental PNaCl toolchain, and the hosted toolchain on
440   your development machine. Within each toolchain build, each example also
441   builds both a debug and a release version.
442 * The example Makefiles use dependency (.d) files to enable incremental builds.
443 * The pong example has been cleaned up and modified to run more smoothly. The
444   drawing function is now set up as the Flush() callback, which allows 2D
445   drawing to occur as quickly as possible.
447 PPAPI
448 -----
450 * When creating a 3D rendering context, the `attribute list
451   </native-client/pepper_stable/c/group___enums#ga7df48e1c55f6401beea2a1b9c07967e8>`_
452   for the context can specify whether to prefer low power or performance for
453   the GPU. Contexts with a low power preference may be created on an integrated
454   GPU; contexts with a performance preference may be created on a discrete GPU.
456 Windows SDK
457 -----------
459 * The Windows SDK includes the pthreads-win32 library to assist in porting from
460   win32 code. You can use this library when developing your module as a Pepper
461   plug-in (.dll). See pepper_24/include/win/pthread.h and
462   pepper_24/src/pthread/README for additional information.
463 * The update utility naclsdk.bat works when it is run from a path with spaces.
465 Pepper 23 (15 October 2012)
466 ===========================
468 The Pepper 23 bundle includes support for the nacl-gdb debugger on Mac and
469 32-bit Windows, resources to enable hosted development on Linux, and changes to
470 make the SDK examples compliant with version 2 of the Chrome Web Store manifest
471 file format.
473 Tools
474 -----
476 * The :ref:`nacl-gdb debugger <using_gdb>` now works on all systems (Mac,
477   Windows, and Linux).
479 * The output of the SDK update utility has been simplified. When you run the
480   command ``naclsdk list``, the utility displays one line for each available
481   bundle, annotated with an "``I``" if the bundle is already installed on your
482   system, and a "``*``" if the bundle has an update available. To see full
483   information about a bundle, use the command ``naclsdk info <bundle>`` (for
484   example, ``naclsdk info pepper_28``).
486 Linux SDK
487 ---------
489 * Developers using the Linux SDK now have resources, including pre-built
490   libraries and example Makefiles, that make it easier to **build a module as a
491   Pepper plugin** (sometimes called a "trusted" or "in-process" plugin) using
492   the native C/C++ compiler on their development system. In essence this makes
493   developing a Native Client module a two-step process:
495   #. Build the module into a shared library (.so file) using your system's
496      C/C++ compiler. Test and debug the .so file using the tools in your normal
497      development environment.
498   #. Build the module into a .nexe file using the compiler from one of the
499      Native Client toolchains in the SDK (nacl-gcc or nacl-g++). Test and debug
500      the .nexe file using nacl-gdb.
502   This two step development process has many benefits—in particular, you can
503   use the compilers, debuggers, profilers, and other tools that you're already
504   familiar with. But there are a few potential issues to keep in mind:
506   * Chrome uses different threading models for trusted plugins and Native
507     Client modules.
508   * Certain operations such as platform-specific library calls and system calls
509     may succeed during trusted development, but fail in Native Client.
511   Here are the resources you can use to build your module into a Pepper plugin:
513   * header files are in ``pepper_23/include``
514   * source files are in ``pepper_23/src``
515   * pre-built libraries are in ``pepper_23/lib``
517   You can now build and run most of the examples in the SDK as Pepper plugins.
519   * Look at the example Makefiles or run ``make`` in the example directories to
520     see the commands and flags used to build modules as Pepper plugins.
521   * Run ``make LAUNCH`` in the example directories to see how to use the
522     ``--register-pepper-plugins`` argument to load a Pepper plugin in Chrome.
523     Note that you must set the ``CHROME_PATH`` environment variable and start a
524     :ref:`local server <web_server>` prior to running this command.
526 Examples
527 --------
529 * On Linux and Windows systems, most of the examples now build with three
530   toolchains: the Native Client glibc and newlib toolchains, and the native
531   toolchain on the host system. Modules built with the native toolchain on the
532   host system can only run as Pepper plugins.
533 * All examples in the SDK now comply with version 2 of the Chrome Web Store
534   `manifest file format </extensions/manifest>`_. By default,
535   applications that use version 2 of the manifest file format apply a strict
536   `content security policy </extensions/contentSecurityPolicy>`_, which
537   includes a restriction against inline JavaScript. This restriction prohibits
538   both inline ``<script>`` blocks and inline event handlers (e.g., ``<button
539   onclick="...">``).  See `Manifest Version </extensions/manifestVersion>`_ for
540   a list of changes between version 1 and version 2 of the manifest file
541   format, and a support schedule for applications that use version 1.
543 PPAPI
544 -----
546 * `PP_InputEvent_Modifier
547   </native-client/pepper_stable/c/group___enums#ga21b811ac0484a214a8751aa3e1c959d9>`_
548   has two new enum values (_ISLEFT and _ISRIGHT).
549 * The memory leak in the `WebSocket
550   </native-client/pepper_stable/c/struct_p_p_b___web_socket__1__0>`_ API has
551   been fixed.
553 Pepper 22 (22 August 2012)
554 ==========================
556 The Pepper 22 bundle includes a **command-line debugger**, resources to enable
557 **hosted development on Windows**, and changes to the example Makefiles (each
558 example now builds both a debug and a release version).
560 Tools
561 -----
563 * The SDK now includes a **command-line debugger** that you can use to debug
564   Native Client modules. See :ref:`Debugging with nacl-gdb
565   <devcycle-debugging>` for instructions on how to use this debugger. For now,
566   nacl-gdb only works on 64-bit Windows, 64-bit Linux, and 32-bit Linux
567   systems. Support for Mac and 32-bit Windows systems will be added soon.
569 Windows SDK
570 -----------
572 * Developers using the Windows SDK can now **build a module as a Pepper
573   plugin** (sometimes called a "trusted" or "in-process" plugin) using the
574   native C/C++ compiler on their development system. In essence this makes
575   developing a Native Client module a two-step process:
577   #. Build the module into a DLL using your system's C/C++ compiler. Test and
578      debug the DLL using the tools in your normal development environment.
579   #. Build the module into a .nexe using the compiler from one of the Native
580      Client toolchains in the SDK (nacl-gcc or nacl-g++). Test and debug the
581      .nexe using nacl-gdb.
583   This two step development process has many benefits—in particular, you can
584   use the compilers, debuggers, profilers, and other tools that you're already
585   familiar with. But there are a few potential issues to keep in mind:
587   * Some libraries that are commonly used with Native Client may not build
588     easily on Windows.
589   * You may need to put in extra effort to get source code to compile with
590     multiple compilers, e.g., Microsoft Visual Studio and GCC.
591   * Chrome uses different threading models for trusted plugins and Native
592     Client modules.
593   * Certain operations such as platform-specific library calls and system calls
594     may succeed during trusted development, but fail in Native Client.
596   Here are the resources you can use to build your module into a DLL:
598   * header files are in ``pepper_22\include``
599   * source files are in ``pepper_22\src``
600   * pre-built libraries are in ``pepper_22\lib``
602 * A Visual Studio add-in will be available in the near future with
603   configurations that include platforms for both Pepper plugins and NaCl
604   modules.
606 .. Note::
607   :class: note
609   **Note:** It's also possible to build a module as a trusted plugin on Mac and
610   Linux systems, but doing so requires more work because the SDK does not yet
611   include the above resources (library source files and pre-built libraries)
612   for Mac and Linux systems. To build and debug a trusted plugin on Mac and
613   Linux systems, you need to `get the Chromium code
614   <http://dev.chromium.org/developers/how-tos/get-the-code>`_ and then follow
615   the `Mac instructions
616   <http://www.chromium.org/nativeclient/how-tos/debugging-documentation/debugging-a-trusted-plugin/trusted-debugging-on-mac>`_
617   or `Linux instructions
618   <http://www.chromium.org/nativeclient/how-tos/debugging-documentation/debugging-a-trusted-plugin/debugging-a-trusted-plugin-on-linux>`_.
619   In the future, the SDK will include resources for hosted development on Mac
620   and Linux as well as Windows.
622 Examples
623 --------
625 * Each example in the SDK now builds both a debug and a release version. As
626   before, most examples also build newlib and glibc versions, which means that
627   there are now four versions for each example. Take a look at the Makefiles in
628   the examples to see the compiler flags that are used for debug and release
629   versions. For a description of those flags, see :ref:`Compile flags for
630   different development scenarios <compile_flags>`.
631 * Comments have been added to common.js, which is used in all the examples. The
632   JavaScript in common.js inserts an <embed> element that loads the NaCl module
633   in each example's web page, attaches event listeners to monitor the loading
634   of the module, and implements handleMessage() to respond to messages sent
635   from the NaCl module to the JavaScript side of the application
637 PPAPI
638 -----
640 * The ``CompletionCallbackFactory`` class template now takes a thread traits
641   class as its second parameter. For details see the `CompletionCallbackFactory
642   class template reference
643   </native-client/pepper_stable/cpp/classpp_1_1_completion_callback_factory#details>`_.
645 .. TODO: Port release notes for older releases