summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
Commit message (Collapse)AuthorAgeFilesLines
* NaCl: Update revision in DEPS, r12128 -> r12146jvoung@google.com2013-09-125-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following Native Client changes: r12129: (halyavin) Allow debug stub to change memory-mapped data and code on Windows. r12130: (sbc) Remove remove.c from libnacl. r12131: (mseaborn) PNaCl: Update LLVM revision in pnacl/DEPS r12132: (dschuff) Update PNaCl TOOL_REVISIONS to 12126 r12133: (jvoung) Retry move PNaCl drivers out of newlib/bin and into bin, part 1. r12134: (mcgrathr) Allow PROT_EXEC mmap on any O_RDONLY open in sel_ldr r12135: (bsy) Fix handling of file descriptors opened O_WRONLY | O_APPEND or equivalent in Windows. r12136: (phosek) Deduplicates NaClSysSysconf implementation r12137: (dschuff) sel_universal: Return success from stream_file command even if StreamChunk fails. r12138: (jvoung) Turn on run_eh_floating_point_*_test for PNaCl. r12139: (jvoung) Update TOOL_REVISIONS to 12133 to pull in new pnacl directory layout r12140: (sbc) PNaCl: Put newlib before libnacl on the link line r12141: (sbc) Don't explicitly define SIGNAL_PROVIDED when building newlib. r12142: (mseaborn) Split hardware-exception-handling syscalls into a separate file r12143: (phosek) Restrict access to -dev IRT interfaces r12144: (mseaborn) PNaCl: Update LLVM revision in pnacl/DEPS r12145: (kschimpf) Update PNaCl version to 12144. r12146: (phosek) Synchronize trusted and untrusted version of clock test Also fixes the SDK to handle the new PNaCl directory layout (newlib/* -> *) BUG=https://code.google.com/p/nativeclient/issues/detail?id=3618 TEST=nacl_integration R=binji@chromium.org, mseaborn@chromium.org Review URL: https://codereview.chromium.org/24106004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222670 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add a very simple getting_started example at top-level.binji@chromium.org2013-09-1020-310/+369
| | | | | | | | | | | | | | | | | * Added getting_started/ parallel to examples/ * Added getting_started/part1/ which is a quick port of hello_tutorial from the NaCl SDK documentation page. * Added support for examples not using auto-generated Makefiles * Disbled testing of getting_started/part1 (it doesn't have the test hooks) * Moved examples/getting_started/simple_hello_world => examples/tutorial/using_ppapi_simple BUG=none R=eliben@chromium.org Review URL: https://codereview.chromium.org/23661005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222142 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Don't exit from nacl_io_test before posting message to JS.binji@chromium.org2013-09-093-1/+27
| | | | | | | | | | | | | | | | | | In the nacl_io_test there's a race condition between the NaCl module exiting and a posted message from the module being handled by JavaScript. To fix it, when running in the browser, we wait indefinitely and assume the JavaScript will kill the module when it is ready. (This fixes a flake that can be seen in http://build.chromium.org/p/client.nacl.sdk/builders/mac-sdk-multi/builds/5838/steps/Run%20Tests/logs/stdio BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23531034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222065 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl Docs] Add devcyle/building.rstsbc@chromium.org2013-09-066-26/+496
| | | | | | | | | | This is direct port of the current content. No editing yet. R=eliben@chromium.org Review URL: https://codereview.chromium.org/23463019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221807 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanups for SDK devsite docs.sbc@chromium.org2013-09-068-115/+152
| | | | | | | | | | | | | | | | | | | | | | | | | Add -W to SHPINXOPTS to make warnings into error. Add presubmit check that makes sure sphinx is happy with the content. Use 2 spaces to indent code. Add a missing document. Fix document links in examples.rst. Use 'out' for build product data to be constent with chrome and native_client. Add 'all' target so that 'make' on its own will work (I'm lazy) R=binji@chromium.org, eliben@chromium.org Review URL: https://codereview.chromium.org/23531031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221806 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Screen capture extension for use with SDK visual testing.binji@chromium.org2013-09-065-0/+349
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23458018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221777 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Create a resources/ directory and move files to it.binji@chromium.org2013-09-0630-41/+16
| | | | | | | | | | | | | * Move files out of the roout of examples/ to resources/ * Move files from examples/resources to resources/ * Move Makefile templates to resources/ and rename them. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23919004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221741 0039d316-1c4b-4281-b951-d872f2087c98
* Fill in the devguide index pageeliben@chromium.org2013-09-061-1/+8
| | | | | | | | | BUG=None R=sbc@chromium.org Review URL: https://codereview.chromium.org/23999002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221739 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Update revision in DEPS, r12098 -> r12120sbc@chromium.org2013-09-064-54/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also contains chrome-side changes to handle the renaming of the PNaCl toolchain folder within the NaCl SDK. This pulls in the following Native Client changes: r12099: (shcherbina) Add custom tempfile prefix to old validator targeted tests. r12100: (stichnot) Fix and harden error reporting in the report parser. r12101: (stichnot) Exclude ms_struct_pack_layout. r12102: (ncbray) Enable validation caching on ARM. r12103: (petarj) [MIPS] Enable validator tests r12104: (halyavin) Fix copy paste error in the log message. r12105: (khim) Support precise toolchain trybots/buildbots r12106: (kschimpf) Update pnacl llvm revisions r12107: (stichnot) Fix breakage when running the LLVM regression tests. r12108: (jvoung) Handle unicode as strings instead of lists in the pnacl driver env setmany. r12109: (khim) Fix precise64 toolchain bots r12110: (jvoung) Turn off allow_double again, for callingconv test on arm-nacl-gcc. r12111: (kschimpf) Update pnacl llvm revisions. r12112: (bradnelson) Temporarily remove breakpad from DEPS in order to move it. r12114: (bradnelson) Clobbering the breakpad directory. r12115: (petarj) [MIPS] Fix expectations for mips_test_read_only_regs r12116: (sbc) Roll newlib toolchains in TOOL_REVISIONS. r12117: (petarj) [MIPS] Remove unneeded checks for TLS register r12118: (bradnelson) Pull in all of breakpad for crash dump testing. r12119: (sbc) Rename PNaCl toolchain folder within the SDK. BUG=none TEST=browser_tests and nacl_integration Review URL: https://chromiumcodereview.appspot.com/23576014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221664 0039d316-1c4b-4281-b951-d872f2087c98
* Porting the quick-start doc.eliben@chromium.org2013-09-054-18/+29
| | | | | | | | | | | | | It doesn't require PNaCl-specific changes per se, but I updated it to use the new formatting (and created placeholder pages for links) and also simplified it a bit to be less version-dependent. BUG=None R=binji@chromium.org Review URL: https://codereview.chromium.org/23538006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221517 0039d316-1c4b-4281-b951-d872f2087c98
* This updates the Native Client technical overview to the new bright world of ↵eliben@chromium.org2013-09-0510-327/+224
| | | | | | | | | | | | | | | PNaCl. As discussed in the team meeting, I'm still focusing on Native Client as the umbrella name for the technology, but trying to present PNaCl as the default toolchain. This update also removes some duplication from the document (with itself and with other documents), and introduces new, consistent diagrams. The other documents touched are just adding placeholders for links to look nicely in rendering. It's still rough along the edges and has some TODOs, but I think it's ready for an initial review. BUG=None R=binji@chromium.org Review URL: https://codereview.chromium.org/23629023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221511 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove invalid assert from nacl_io.sbc@chromium.org2013-09-0510-19/+64
| | | | | | | | | | | | | Also, add NDEBUG to CFLAGS by default so that asserts not compiled into release builds, and fix resulting unused variable warnings by making KernelProxy::Init do more error checking and return a result. R=binji@chromium.org Review URL: https://codereview.chromium.org/22842011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221470 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Porting the "Getting Started" tutorial to ReST.binji@chromium.org2013-09-047-5/+510
| | | | | | | | | | | NOTE: this is just porting to ReST, I haven't updated anything to PNaCl yet. BUG=none R=eliben@chromium.org Review URL: https://codereview.chromium.org/23902007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221282 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Simplify graphics3d example.binji@chromium.org2013-09-047-579/+572
| | | | | | | | | | | | | | * Rewrote in ppapi_cpp * Remove URL loading (data is static in the .nexe) * Cube data is no longer generated * Added sliders for cube rotation (useful for testing) BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/23838002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221218 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove output_protection_private.{cc,h} from library.dsc.binji@chromium.org2013-09-041-2/+4
| | | | | | | | | | | | These were added to ppapi_cpp_private/library.dsc in r221149, but the files were not landed in that CL. BUG=none TBR=kcwu@chromium.org Review URL: https://codereview.chromium.org/23898005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221217 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper API for output protection.kcwu@chromium.org2013-09-041-0/+3
| | | | | | | | | | | This is only interface part. Implementation will be in another CL. R=binji@chromium.org, dalecurtis@chromium.org, ddorwin@chromium.org, dmichael@chromium.org BUG=256538 Review URL: https://chromiumcodereview.appspot.com/23621019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221149 0039d316-1c4b-4281-b951-d872f2087c98
* Fix distributing.rst formatting, sections and dashes.eliben@chromium.org2013-09-032-140/+144
| | | | | | | | | | | Also add a reference for correct mdash and ndash in the examples document. BUG=None R=binji@chromium.org Review URL: https://codereview.chromium.org/23684020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221026 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Added sdk_util/string.h, with SplitString function.mgiuca@chromium.org2013-09-029-63/+184
| | | | | | | | | | | | | | | | | This was copied (and simplified) from base/strings/string_split.cc. kernel_proxy, mount_http, path: Replaced hand-written and duplicated string splitting code with calls to SplitString. This fixes thread-safety issues in KernelProxy::mount and MountHttp::ParseManifest due to the use of strtok. MountHttp::ParseManifest no longer destroys its text argument. BUG=266678 Review URL: https://chromiumcodereview.appspot.com/20750003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220821 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl docs] Add Andy Watson as OWNER for native_client_sdk/src/doceliben@chromium.org2013-08-301-0/+1
| | | | | | | | | BUG=None R=awatson@chromium.org Review URL: https://codereview.chromium.org/23456011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220700 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl docs] Initial commit of the new docs infrastructure into Chromium.eliben@chromium.org2013-08-3048-0/+2706
| | | | | | | | | | | | This reflects the current state of master in https://github.com/eliben/nacl-docs-rst BUG=None R=binji@chromium.org Review URL: https://codereview.chromium.org/23835002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220672 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add tests for file_io example.binji@chromium.org2013-08-292-13/+268
| | | | | | | | | | | | A lot of the test framework I use here seems like it could be reusable. I'll add tests for a few more examples, then see how I can refactor. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23093024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220329 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Improve the speed of the MemMountNode.binji@chromium.org2013-08-293-38/+77
| | | | | | | | | | | | | | | | | * The MemMountNode was reallocating in 65k chunks, so was incredibly slow when writing large amounts of data. Instead, grow the length expoentially up to fixed size, then grow linearly. In my test, the previous code took 30 seconds to write 65Mb, the new code takes less than a second. * Lock the node_lock_ when calling MemMountNode::FTruncate. * Add some tests for FTruncate. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23679002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220128 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Disabled running nacl_io_test for glibc on Windows.binji@chromium.org2013-08-291-0/+3
| | | | | | | | | | | | | These NEXEs take > 40seconds to load on the trybots, so the browser_tester is timing out. It is strange because the buildbots are able to load the NEXE in ~4 seconds. BUG=280753 R=sbc@chromium.org Review URL: https://codereview.chromium.org/23582010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220127 0039d316-1c4b-4281-b951-d872f2087c98
* Add native_client_sdk/src/doc with OWNERSeliben@chromium.org2013-08-281-0/+2
| | | | | | | | | | | OWNERS copied from native_client_sdk + added David and myself. BUG=None R=sbc@chromium.org Review URL: https://codereview.chromium.org/23721002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220057 0039d316-1c4b-4281-b951-d872f2087c98
* Make comment consistent in styleeliben@chromium.org2013-08-271-6/+16
| | | | | | | | | BUG=None R=binji@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/23578006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219858 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix examples/api/core test flake on Host builds.binji@chromium.org2013-08-261-11/+8
| | | | | | | | | | | | | | | | | | | | | | | Host builds (i.e. trusted plugins) of the examples were not waiting for modules to load before running tests. This is because a trusted plugins do not send progress events. The host builds were still dispatching a fake 'load' event (after an arbitrary time of 100ms), so moduleDidLoad was being called. This could happen after the tests started to run. If so, the common.naclModule variable would not be set when the tests were being run, which would cause the common.naclModule.postMessage() call to fail. The fix is to send more fake events: 'loadstart', 'load', 'loadend', and set the readyState variable correctly. Now, before running the tests, we can wait for host plugins in the same way we wait for NaCl modules. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23471002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219638 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] build_projects.py accepts args as well as options.sbc@chromium.org2013-08-232-12/+17
| | | | | | | | | | | | | | | | | | | It makes sense to pass projects as args rather than options. This avoids having to specify many -p options, and args are not currently used for anything. Same applies for test_projects.py. e.g. ./build_projects.py -b nacl_io nacl_io_test vs ./build_proejcts.py -b -p nacl_io -p nacl_io_test R=binji@chromium.org Review URL: https://codereview.chromium.org/22299008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219328 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add example test for core.binji@chromium.org2013-08-233-21/+78
| | | | | | | | | BUG=none R=ncbray@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/23248005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219325 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] update_nacl_manifest: Ignore the last digit of a canary version.binji@chromium.org2013-08-232-5/+65
| | | | | | | | | | | | | | | | | | | The final number in a canary build does not include any different changes, it is just a different experiment (e.g. using ASAN, or using aura). We should not compare these versions differently. Note that the version mapping will show that 31.0.1608.0 is different from 31.0.1608.1 -- this is because 31.0.1608.1 is built from the branch, not from trunk. Inspecting the branch would show that there are no changes (why would there be? No one has any reason to merge changes to a canary branch.) BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23068035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219321 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add more termios functions to nacl_iosbc@chromium.org2013-08-2210-0/+115
| | | | | | | | | | | These new functions are currently only stubs and do effect the tty device. R=binji@chromium.org Review URL: https://codereview.chromium.org/22839018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219139 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed documentation error in nacl_io.htorinmr@chromium.org2013-08-221-1/+1
| | | | | | | | | | | | | | | | nacl_io.h incorrectly stated that the parameter "allow_cross_origin_request" should be set to true to allow CORS. The correct name of the parameter is "allow_cross_origin_requests" (with an 's'). BUG=None TEST=None R=sbc@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/22876023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219116 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add initial implementations of kill and signal.sbc@chromium.org2013-08-2215-134/+669
| | | | | | | | | | | | | | These functions are needed to make window resize events using SIGWINCH work for nacl terminal apps. Also add the windows size ioctl's to the TTY device and have it send SIGWINCH when the size changes. R=binji@chromium.org Review URL: https://codereview.chromium.org/23005005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219103 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add plumbing for kill/signal/ioctl.sbc@chromium.org2013-08-2216-12/+467
| | | | | | | | R=binji@chromium.org Review URL: https://codereview.chromium.org/23068034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219071 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io MountNodeHtml5Fs GetType, IsaDir and IsaFile now work.mgiuca@chromium.org2013-08-223-10/+38
| | | | | | | | | | | | Removed IsDirectory (use IsaDir instead). Also fixed GetSize so that it works for directories. BUG=271925 Review URL: https://chromiumcodereview.appspot.com/23316002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218983 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Added sdk_util_test test suite directory.mgiuca@chromium.org2013-08-224-0/+208
| | | | | | | | | | | Currently has no actual tests. This is a preliminary CL for adding a new module to sdk_util with tests. BUG=266678 Review URL: https://chromiumcodereview.appspot.com/23202007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218953 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: html5fs should return EEXIST on mkdir("/")binji@chromium.org2013-08-213-0/+13
| | | | | | | | | | | | | | | | It seems the Pepper returns PP_ERROR_NOACCESS (which is translated to EACCES) when you try to create the root directory, instead of PP_ERROR_FILEEXISTS as I had expected. This causes libtar extract (for example) to fail when extracting to the root of the html5fs mount. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23129022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218817 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Enable select/poll on TTY nodes.sbc@chromium.org2013-08-2110-86/+236
| | | | | | | | R=binji@chromium.org Review URL: https://codereview.chromium.org/23075013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218585 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Move some additional nacl_io_test files (see r218515).binji@chromium.org2013-08-208-0/+0
| | | | | | | | | BUG=none TBR=sbc@chromium.org Review URL: https://codereview.chromium.org/23043009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218532 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove pepper_24, add pepper_30.binji@chromium.org2013-08-201-15/+15
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23254005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218517 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Move tests out of the libraries directory and into tests.binji@chromium.org2013-08-2030-6/+7
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23332007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218515 0039d316-1c4b-4281-b951-d872f2087c98
* Use the --enable_sockets flag on browser_tester, when testing NaCl SDK.binji@chromium.org2013-08-191-0/+1
| | | | | | | | | | | | This reverts r217693 which enables sockets unconditionally, and only enables it for the NaCl SDK tests. BUG=none R=bradnelson@chromium.org, bradnelson@google.com Review URL: https://codereview.chromium.org/23259003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218343 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fake implementations of PPAPI for nacl_io_test.binji@chromium.org2013-08-1910-490/+1594
| | | | | | | | | BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/19601011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218342 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Remove leaked mocks from nacl_io_test.sbc@chromium.org2013-08-177-247/+224
| | | | | | | | | | | Also, don't use new/delete for KernelProxy objects where autoamtic C++ members will suffice. R=binji@chromium.org Review URL: https://codereview.chromium.org/23007018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218133 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Allow passing of arguments to nexe when using 'make run'.sbc@chromium.org2013-08-161-2/+2
| | | | | | | | | | | | When using 'make run' with SEL_LDR=1 you can now pass args to the nexe. For example for gtest executables you can run "make SEL_LDR=1 NEXE_ARGS=--gtest_filter=foo run". R=binji@chromium.org Review URL: https://codereview.chromium.org/23186005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218082 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Framework for adding additional tests to examples.binji@chromium.org2013-08-169-55/+134
| | | | | | | | | | | I've also added a test.js file to nacl_io_tests to exercise the new code. BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23229002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218030 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add URL to load progress tutorialsbc@chromium.org2013-08-161-4/+3
| | | | | | | | | TEST=make run R=binji@chromium.org Review URL: https://codereview.chromium.org/23135002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217903 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix newlib getdents override.sbc@chromium.org2013-08-164-14/+13
| | | | | | | | | | | | | | | | | | In seems that the WRAP() version of getdents was always broken under newlib. The brokeness was not evindent until the recent move of all the syscalls implemenations to thier own files. When this was done the getdents implementation in nacl_io was not used by the linker and instead the libnacl version was used, which then calls the WRAP()'d version. As part of the fix I've also removed getdents.c completely. On both newlib and glibc it is incerpeted at the IRT level. R=binji@chromium.org Review URL: https://codereview.chromium.org/23020005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217897 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Add UDP and TCP Socketsnoelallen@chromium.org2013-08-1527-38/+1993
| | | | | | | | | | | | | | Creates MountSocket, MountNodeSocket, MountNodeUDP, MountNodeTCP Wires up socket api (socket, connect, bind, send, ...) to MountNodeSocket. This is a basic blocking only (no select) implementation. BUG=257723 R=binji@chromium.org, sbc@chromium.org Review URL: https://codereview.chromium.org/22587003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217731 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] nacl_io: Add a few new pepper_interface classes, some docs.binji@chromium.org2013-08-1417-96/+290
| | | | | | | | | | | | | | | | | | | | | | | | I've added two new PepperInterface-derived classes: * PepperInterfaceDelegate, which allows you to delegate Get*Interface() to a different PepperInterface object, e.g. FooInterfaceDelegate foo; PepperInterfaceDelegate delegate; delegate.SetCoreInterface(foo.GetCoreInterface()); * PepperInterfaceDummy, which returns NULL for all Get*Interface() functions. This way you can only implement the interface getters you are interested in. I've also added some documentation. BUG=none R=noelallen@chromium.org Review URL: https://codereview.chromium.org/22647008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217688 0039d316-1c4b-4281-b951-d872f2087c98
* [NaCl SDK] Fix bug in test_projects when deciding if a test is disabled.binji@chromium.org2013-08-141-6/+11
| | | | | | | | | BUG=none R=sbc@chromium.org Review URL: https://codereview.chromium.org/23007010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217636 0039d316-1c4b-4281-b951-d872f2087c98