summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
Commit message (Collapse)AuthorAgeFilesLines
* [NaCl SDK] Update httpfs to support Blob Urls.binji@chromium.org2014-07-017-15/+78
| | | | | | | | | | | Patch contributed by Soeren Balko. BUG=241464 R=sbc@chromium.org Review URL: https://codereview.chromium.org/360723003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280848 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add user callback whenever mount() is called.binji@chromium.org2014-06-306-22/+96
| | | | | | | | | | | | | | | | This can be used to get the dev number of the newly-mounted filesystem. Then the node at path "/dev/fs/<dev number>" can be used to send messages to this filesystem. The JsFs filesystem uses this technique to allow JavaScript to respond to NaCl filesystem requests. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/348153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280668 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Disable running video_decode on the bots.binji@chromium.org2014-06-301-0/+1
| | | | | | | | | | | It fails because it needs 3D graphics. BUG=none TBR=bbudge@chromium.org Review URL: https://codereview.chromium.org/361663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280613 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix include path for testdata.h in video_decode example.binji@chromium.org2014-06-281-1/+1
| | | | | | | | | BUG=none TBR=bbudge@chromium.org Review URL: https://codereview.chromium.org/353263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280465 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix typo in sdk_files.listbinji@chromium.org2014-06-281-1/+1
| | | | | | | | | BUG=none TBR=bbudge@chromium.org Review URL: https://codereview.chromium.org/358193003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280463 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl SDK: Add VideoDecode example that uses PPB_VideoDecoder.bbudge@chromium.org2014-06-275-0/+33635
| | | | | | | | | | | Adds an example that decodes H264 or VP8 video and renders it. BUG=281689 R=binji@chromium.org Review URL: https://codereview.chromium.org/346403005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280444 0039d316-1c4b-4281-b951-d872f2087c98
* PNaCl documentation: update the bitcode reference manual for vector load/storejfb@chromium.org2014-06-262-10/+27
| | | | | | | | | | | | | | | Document the changes from: https://codereview.chromium.org/321733002/ R= stichnot@chromium.org, kschimpf@chromium.org, jvoung@chromium.org TEST=none BUG= https://code.google.com/p/nativeclient/issues/detail?id=3870 NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/358033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280173 0039d316-1c4b-4281-b951-d872f2087c98
* Fix doc typo and moving status to the end.bradnelson@google.com2014-06-262-104/+109
| | | | | | | | | | BUG=None TEST=None TBR=binji@chromium.org,mackinlay@chromium.org Review URL: https://codereview.chromium.org/331593009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280033 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Simplify httpd.pybinji@chromium.org2014-06-253-128/+10
| | | | | | | | | | | | | | | There was a lot of code for handling example-specific delegates, but we don't need it anymore and it complicates the HTTP server. I've removed it. In addition, there was a bug in the delegate search that would cause an infinite loop, so this is actually fixing a real bug too. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/351963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279852 0039d316-1c4b-4281-b951-d872f2087c98
* Updating io2014 page with video link.bradnelson@google.com2014-06-255-5/+238
| | | | | | | | | | | | Fixing typo in release notes label. BUG=None TEST=None TBR=binji@chromium.org,jfb@chromium.org Review URL: https://codereview.chromium.org/359503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279821 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl documentation: fix release notes for 37jfb@chromium.org2014-06-252-4/+5
| | | | | | | | | | | | | | The translation time improvements were actually 2–10%. R= jvoung@chromium.org TEST=none BUG=none NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/349933005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279765 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl documentation: improve building documentationjfb@chromium.org2014-06-254-135/+188
| | | | | | | | | | | | R= dschuff@chromium.org TEST=none BUG=none NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/356573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279757 0039d316-1c4b-4281-b951-d872f2087c98
* Last minute documentation change.bradnelson@google.com2014-06-252-11/+24
| | | | | | | | | | | | Fixing split between debugger installation and deve environment. BUG=None TEST=local TBR=binji@chromium.org Review URL: https://codereview.chromium.org/358653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279716 0039d316-1c4b-4281-b951-d872f2087c98
* Adding more content to io2014 page.bradnelson@google.com2014-06-2515-301/+283
| | | | | | | | | | | | | | | Describing current limitations. Pointing at good linux chrome builds. Adding -j10 to make invocations. Discuss debugger and limitations. BUG=None TEST=None R=binji@chromium.org Review URL: https://codereview.chromium.org/337073004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279632 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl documentation: update release notesjfb@chromium.org2014-06-245-41/+88
| | | | | | | | | | | | R= dmichael@chromium.org, binji@chromium.org, bradnelson@chromium.org, jvoung@chromium.org TEST= none BUG= none NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/349293009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279417 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add some more logging to nacl_io.binji@chromium.org2014-06-2320-197/+394
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/349703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279130 0039d316-1c4b-4281-b951-d872f2087c98
* Remove references to pepperversion and peppernum for NaCl docs.binji@chromium.org2014-06-201-3/+0
| | | | | | | | | BUG=none R=kalman@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/344183006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278862 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add pepper_36 bundle.binji@chromium.org2014-06-201-0/+10
| | | | | | | | R=sbc@chromium.org Review URL: https://codereview.chromium.org/348823004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278784 0039d316-1c4b-4281-b951-d872f2087c98
* Adding content back into App Gallery and Middleware pages.binji@chromium.org2014-06-20100-20/+236
| | | | | | | | | | Doing this via HTML for now; back to RST after I/O. R=binji@chromium.org Review URL: https://codereview.chromium.org/342773003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278552 0039d316-1c4b-4281-b951-d872f2087c98
* Reupload .jpg files for earth simd examplenfullagar@google.com2014-06-202-0/+0
| | | | | | | | | | BUG=none TEST=this is the demo R=bradnelson@chromium.org Review URL: https://codereview.chromium.org/347923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278548 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Fix bug in getaddrinfo() where service is "0"sbc@chromium.org2014-06-202-2/+35
| | | | | | | | | | | | Add a test for this case. TEST=unit tests BUG=386220 R=binji@chromium.org, bradnelson@google.com Review URL: https://codereview.chromium.org/344833005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278543 0039d316-1c4b-4281-b951-d872f2087c98
* Adding development environment tutorial.bradnelson@google.com2014-06-199-2/+363
| | | | | | | | | | | | | First cut at the landing page. Missing debugger walk thru. BUG=None TEST=None R=sbc@chromium.org, binji@chromium.org Review URL: https://codereview.chromium.org/345703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278510 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] update_nacl_manifest updates canary to the latest available bundle.binji@chromium.org2014-06-193-249/+114
| | | | | | | | | | | | | | | | | | | Also switch bionic_canary over to being updated automatically. pepper_canary used to update based on the Chrome canary version, but that often prevents pepper_canary from updating as quickly. It also is unlikely that a newer pepper_canary than Chrome canary will cause any issues. This change makes pepper_canary (and bionic_canary) update based solely on which bundles are available in the cloud storage bucket. BUG=none R=sbc@chromium.org TEST=update_nacl_manifest_test.py Review URL: https://codereview.chromium.org/340243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278396 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add bionic SDK bundle auto-updating to update_nacl_manifestbinji@chromium.org2014-06-182-26/+88
| | | | | | | | | | BUG=none R=noelallen@chromium.org, sbc@chromium.org TEST=udpate_nacl_manifest_test.py TestUpdateManifest.testUpdateBionic Review URL: https://codereview.chromium.org/343703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278170 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] create_html.py now adds PS_TTY_PREFIX attribute to NaCl embed.sbc@chromium.org2014-06-181-8/+14
| | | | | | | | | | This fixes tty output handling for ppapi_simple-based applications. R=binji@chromium.org Review URL: https://codereview.chromium.org/341893005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278167 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix create_nmf on dynamic bionic nexesbinji@chromium.org2014-06-182-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | create_nmf runs objdump on its shared objects to determine what dependencies it has. libc.so is a dependency of bionic, and it is an ELF file. glibc has libc.so as well, but it is not an ELF file, but a linker script. There was a check in get_shared_deps.py that prevented running objdump on libc.so, if "bionic" is not in the path. Since we've added a package called "bionic_canary", "bionic" is always in the path, so objdump was being run on glibc's "libc.so", which fails. The (hack) fix is to check if a relative path from the root of the SDK has "bionic". This should only be true if the path is "toolchain/linux_arm_bionic/...". BUG=none R=sbc@chromium.org, noelallen@chromium.org TEST=test_all.py Review URL: https://codereview.chromium.org/341983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278133 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove use of TIOCNACLINPUT from nacl_io/ppapi_simple.binji@chromium.org2014-06-188-102/+92
| | | | | | | | | | | This is replaced by NACL_IOC_HANDLEMESSAGE. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/334983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278099 0039d316-1c4b-4281-b951-d872f2087c98
* Add BIONIC to NACLSDKnoelallen@chromium.org2014-06-171-0/+19
| | | | | | | | | | | | | | | Adds BIONIC to the manifest. This is a precursor to automated updates for bionic. This change only affects the SDK updater and the automated JSON generator, and is not visible to chrome. R=binji@chromium.org BUG=344574 NOTRY=true TEST=naclsdk update -U Review URL: https://codereview.chromium.org/339933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277832 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add JsFs filesystem type.binji@chromium.org2014-06-1714-2/+1969
| | | | | | | | | | | | | | | This filesystem posts a message to JavaScript for each filesystem access and blocks on the result. This implementation is tested, but is not yet hooked up. I'll do that in the next CL. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/321323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277596 0039d316-1c4b-4281-b951-d872f2087c98
* Remove apps in Pepper support and the PPB_Alarms_Dev API.yzshen@chromium.org2014-06-162-11/+0
| | | | | | | | | BUG=366304 TEST=None Review URL: https://codereview.chromium.org/314823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277513 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove extra stdlib.h from include/{pnacl,newlib}binji@chromium.org2014-06-162-20/+0
| | | | | | | | | | | | | | This was added so I could use realpath (which was not defined in the nacl-newlib headers). Since then, I've added it, so this CL removes this hack. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/333053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277471 0039d316-1c4b-4281-b951-d872f2087c98
* Removed un-used commandline switches.zmo@chromium.org2014-06-142-2/+2
| | | | | | | | | | | | | | | | | --disable-gl-multisampling (replaced by gpu_driver_bug_workaround switch --disable_multisampling) --enable-chromium-branding (no longer used) --force_discrete (no longer used, use gpu_driver_bug_workaround instead) --force_integrated (no longer used, use gpu_driver_bug_workaround instead) --gpu-switching (no longer used, use gpu_driver_bug_workaround instead) BUG=351312 TEST=bots R=kbr@chromium.org,piman@chromium.org,sky@chromium.org,nfullagar@chromium.org Review URL: https://codereview.chromium.org/321913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277256 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] docs: Bring back support for plain html generator.sbc@chromium.org2014-06-133-2/+8
| | | | | | | | | | | | Make our sphyix project at least builtable with the regular html generator. This keeps us honest IMHO. I'm also playing around with adding our docs to https://readthedocs.org/. R=binji@chromium.org Review URL: https://codereview.chromium.org/337583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277074 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix update_nacl_manifest.py; omahaproxy history changed.binji@chromium.org2014-06-131-1/+5
| | | | | | | | | | | | | | | https://omahaproxy.appspot.com/history changed recently to add a header row to its CSV output. This CL changes update_nacl_manifest.py to skip that row. BUG=none R=sbc@chromium.org TEST=ran update_nacl_manifest.py locally Review URL: https://codereview.chromium.org/326403004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277024 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl SDK doc: Recover sandbox internal doc for x86-64hamaji@chromium.org2014-06-137-7/+668
| | | | | | | | | | BUG=None TEST=N/A R=jfb@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/336563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277019 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] docs: update Pepper API docs.sbc@chromium.org2014-06-12137-953/+4865
| | | | | | | | | | | This is simply the result of running 'make' in the doc directory. R=binji@chromium.org, binji Review URL: https://codereview.chromium.org/332903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276789 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] docs: Introduce .bc vs .pexe naming convention before using that ↵jvoung@chromium.org2014-06-112-2/+8
| | | | | | | | | | | in doc. BUG=none NOTRY=true Review URL: https://codereview.chromium.org/323163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276413 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Allows subtree of html5fs to be mounted.sbc@chromium.org2014-06-119-30/+80
| | | | | | | | | | | | | | | | Honor the first argument of mount() when mount html5fs filesystem. This allows us to mount just part of an html5fs fileystem. Also, fix and re-enable the rmdir/unlink/remove tests for html5fs and add more error checking to that parameter parsing in Init(). R=binji Review URL: https://codereview.chromium.org/320983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276393 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Fix Path::Prepend and add unittestssbc@chromium.org2014-06-105-40/+48
| | | | | | | | | | | Also, cleanup Path.h/.cc a little too: Rename Top() to IsRoot() to match IsAbsolute(). Remove empty destructor. R=binji@chromium.org Review URL: https://codereview.chromium.org/323103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276128 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Fix nacl_io library to build with -Wstrict-prototypesmseaborn@chromium.org2014-06-103-8/+8
| | | | | | | | | BUG=https://code.google.com/p/nativeclient/issues/detail?id=3114 TEST=compile "nacl_io_untrusted" ninja target Review URL: https://codereview.chromium.org/320103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276023 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: fix TTY warning messages when using naclterm/hterm.sbc@chromium.org2014-06-072-8/+7
| | | | | | | | | | | | Passing strings rather than arraybuffers to the tty node is still the only supported way to go, so don't warn about this method being depreceated just yet :) R=binji@chromium.org, binji Review URL: https://codereview.chromium.org/318153004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275611 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] API definition for compositor artifactsmiletus@chromium.org2014-06-062-0/+6
| | | | | | | | | | | API Proposal http://goo.gl/V7xcu3 BUG=374383 R=binji@chromium.org, dmichael@chromium.org, mpearson@chromium.org, piman@chromium.org, raymes@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/292523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275490 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Don't set minimum_chrome_version for most examples.binji@chromium.org2014-06-065-4/+10
| | | | | | | | | | | | | | | | Most examples work with Chrome stable (currently M35), so don't require apps to use a newer version of Chrome. No examples need a later version of Chrome, but a few use features that just made it to stable. In this case, we allow the minimum version to be specified in example.dsc. BUG=none R=sbc@chromium.org, noelallen@chromium.org Review URL: https://codereview.chromium.org/318823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275454 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add support for ASAN, TSAN and valgrind to test_sdk.pysbc@chromium.org2014-06-052-9/+52
| | | | | | | | | | The plan is to enable these on a seperate test bot. R=binji@chromium.org, binji Review URL: https://codereview.chromium.org/315093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275199 0039d316-1c4b-4281-b951-d872f2087c98
* nacl_io: only copy up to the size of the sockaddr_in*, not the given len.jvoung@chromium.org2014-06-042-11/+37
| | | | | | | | | | | | | | | | | | One of the tests (SocketTestTCP, Listen) submits a len "addrlen = sizeof(addr) + 10", so that causes the memcpy to overwrite part of the caller's stack (because the outparam points at the stack). Related to: BUG= https://code.google.com/p/nativeclient/issues/detail?id=3867 (last time the compile change caused the test to fail) NOTRY=true (only an SDK change) Review URL: https://codereview.chromium.org/310903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274689 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add doc for html5fs param "filesystem_resource"binji@chromium.org2014-06-021-0/+6
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/302083015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274352 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Add dev synchronous JS->Plugin messaging APIdmichael@chromium.org2014-06-021-0/+1
| | | | | | | | BUG=367896 Review URL: https://codereview.chromium.org/252023009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274349 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Remove nacl_thread.h from NaCl SDKmseaborn@chromium.org2014-05-312-6/+0
| | | | | | | | | | | | | | | | | nacl_thread.h only defines nacl_tls_get() and nacl_tls_init(), which are not generally useful for application code. They are only used internally within libc/libpthread. This is part of general cleanup to reduce Chromium-side dependencies on NaCl headers that are not in public directories (src/include/nacl and src/public). BUG=https://code.google.com/p/nativeclient/issues/detail?id=2832 TEST=NaCl SDK bots Review URL: https://codereview.chromium.org/308163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274027 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] lua sample: Clean existing naclports installs before building.sbc@chromium.org2014-05-301-0/+5
| | | | | | | | R=binji@chromium.org Review URL: https://codereview.chromium.org/304393006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273938 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Run clang-format over nacl_io sources.sbc@chromium.org2014-05-3069-509/+770
| | | | | | | | | | | | | This change contains most of the changes that clang-format wanted to make to nacl_io. I left out a few that we not obviously better, mostly related to complex PPAPI macros. R=binji@chromium.org, binji BUG= Review URL: https://codereview.chromium.org/303223007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273918 0039d316-1c4b-4281-b951-d872f2087c98