| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Periodically we fail the timeout test, because the epoll wait appears to
return in less time than expected. This can be due to rounding issues,
conversion between usec/nsec, clock drift, and other small errors.
NOTRY=true
R=binji@chromium.org
Review URL: https://codereview.chromium.org/19460017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Demonstrate a canonical way to detect if the browser
has support for NaCl/PNaCl in the SDK examples.
Do the check before creating the embed tag, when the page
loads. If the browser does not have support, do not create
the embed and just update the status message.
If NaCl is disabled in about:plugins, then this will show
an error. If NaCl is not enabled in about:flags, then
this will not show an error and continue loading. The
embed tag will then either (a) be created for CWS apps
or (b) show a puzzle piece for the open web.
For PNaCl, the page will show an error and not attempt
to create an embed tag if either NaCl is disabled
in about:plugins, or PNaCl is disabled in about:flags.
BUG=243040
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19751003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213271 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Fix windows bot by including windows.h
TBR=sbc@chromium.org
Review URL: https://codereview.chromium.org/19668005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213242 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=jvoung@chromium.org, sbc@chromium.org
Review URL: https://codereview.chromium.org/18512005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Temporarily disabling NaCl IO as a Windows Host build to unblock socket development.
TBR=sbc@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/19684010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213047 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=257723
R=binji@chromium.org
Review URL: https://codereview.chromium.org/19271009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213030 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The change that enabled -Wall should have contained
this change.
TBR=noelallen1
Review URL: https://codereview.chromium.org/19591005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use C++ style copyright header in all C++ headers and sources.
Use consistent C-style copyright header in C sources and headers.
R=noelallen@chromium.org
Review URL: https://codereview.chromium.org/19673003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213024 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add -Wall to all SDK project, but not to the default
common.mk system (we don't want to force this on external
users).
gtest generates warning in gcc which can be suppressed with
with a gcc-only flag that clang doesn't understand, so I
added the ability to set GCC-only CFLAGS. This seemed
better than forgoing the benefits of Wall on all
gtest-using projects.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/19802008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to customize the optimization level in
the auto-generated NMF files for PNaCl chrome browser tests
as well. Currently, the auto-generated NMF files use the
default setting (do not specify optlevel).
BUG= http://code.google.com/p/nativeclient/issues/detail?id=3553
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19966002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212946 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
test_projects is the testing equivalent of build_projects, you can give it a
list of projects, configs, etc. to run.
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/19789009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=noelallen@chromium.org
Review URL: https://codereview.chromium.org/19717004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212906 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In nacl_io_test, we create mounts and nodes without actually using mount
which means the mount has only one ref. This CL forces the KernelHandle
destructor to order the destruction of the node and mount to revent
issues where the node attempts to unregister from a destroyed mount.
TBR=binji@chromium.org
TEST=nacl_io_test in SDK
Review URL: https://codereview.chromium.org/19647005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212800 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
passing strings directly to the instrumentation functions and sending the results via the Pepper Dev tracing interface.
Note: This is an experimental project within the NaCl SDK which is not normally built. NOTRY=true was added due to unrelated test failures on the trybots.
BUG=none
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19409003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212634 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes jobserver support for Windows, which will greatly improve its
recursive parallel build speed. (without jobserver support, the windows build
uses -j1 for all sub-makes.)
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/19278017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212632 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The stamp files used to signal when a given library
was up-to-date were not depending on the installed
libraries.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/19412002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
( broken in https://codereview.chromium.org/18644009/ )
TEST=manually run through examples using threadpool
BUG=none
R=noelallen@chromium.org
Review URL: https://codereview.chromium.org/19674009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We changed by-value struct passing in a way that we need
shims for every architecture to communicate with PPAPI.
(See https://codereview.chromium.org/14134011/)
This only affects users of offline translation.
BUG=261295
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19680002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212252 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
When adding or removing a PPAPI interface, a file in the NaCl SDK must be
updated as well.
BUG=254174
R=dmichael@chromium.org, sbc@chromium.org
Review URL: https://codereview.chromium.org/19067002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212107 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The Node was being released twice, which was stomping memory.
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/19500002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212056 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=None
BUG=None
Review URL: https://chromiumcodereview.appspot.com/19443003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212005 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The build system in the SDK will now references .deps files which
are generated by fixing up the gcc-generated .d files.
R=noelallen@chromium.org
BUG=259415
Review URL: https://codereview.chromium.org/18618003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211654 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unneeded lock in mount_dev, mount root nodes do the locking.
Add atomic and, or, xor.
Remove lock from RefObject.
Create SimpleLock.
BUG=259563
R=binji@chromium.org
Review URL: https://codereview.chromium.org/18644009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211612 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This does significantly increase the trace buffer memory
requirements, but makes interpolating captures easier.
This change also adds one additional guard value.
BUG=none
TEST=manual,experimental
R=grosse@chromium.org
Review URL: https://codereview.chromium.org/19087004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211469 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=noelallen@chromium.org,bradnelson@google.com
Review URL: https://chromiumcodereview.appspot.com/19061003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211315 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix missing expansion for dictioray: KEY = $(($TOOLCHAIN)_KEY))
Add toolchain specific include paths to support adding glibc compatibility to newlib/pnacl toolchains.
BUG=none
NOTRY=true
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18137009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211174 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the gtest and gmock libraries to the SDK.
They were already built and used during testing but not
shipped.
Also adds a simple example of how to use gtest in NaCl.
The idea being that the same tests can run under sel_ldr
and chrome (assuming the check for the ppapi interfaces
that they use).
R=binji@chromium.org, noelallen@chromium.org
Review URL: https://codereview.chromium.org/18453002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211143 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1- Move all kernel locks to KernelObject
2- Never take a kernel lock outside of KernelObject functions.
3- Rename locks to more accurately describe what they protect.
4- Never take more than one kernel lock at a time.
5- "Hide" CWD from KernelProxy, it always deals with relative paths.
BUG=none
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18129008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211003 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark fixed the stabilization step to handle "select"
instructions w/ structure arguments.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3514
TEST=build_tools/build_sdk.py && build_tools/build_projects.py -v -p gtest -p gmock -p nacl_io -p sdk_util -p nacl_io_test -b
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18333006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210940 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
If body.dataset.attrs is undefined, you can't split it. Trying to split it will
throw an exception that will prevent loading the module.
BUG=none
TBR=sbc@chromium.org
Review URL: https://codereview.chromium.org/18536008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ioctl to pass along console input can either succeed or fail depending on
if a tty device is on the other side.
Fixing the assertion to check for genuinely unexpected results.
This was producing spurious stderr warnings.
BUG=None
TEST=None
R=torinmr@chromium.org,binji@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18692006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210779 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TBR=sbc@chromium.org
Review URL: https://codereview.chromium.org/18266005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210758 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=139415
R=noelallen@chromium.org
R=sbc@chromium.org
Review URL: https://chromiumcodereview.appspot.com/17121010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- split out reporting, symbol parsing
- allow more than one instance of xray to run at a time on differing threads
- add lots of helper functions to parse frames and trace data
- add option to use gettimeofday vs. rdtsc
BUG=none
TEST=experimental,manual
R=bradnelson@google.com
Review URL: https://codereview.chromium.org/18331016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210641 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We often want to know why a particular version is being skipped/chosen during
the SDK update process. Now update_nacl_manifest will track that information
and upload it to commondatastorage.
Once this starts uploading, I'll modify the manifest viewer page to read this
data.
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18648004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210640 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also fix simple_hello_world example so that the stdout is
correctly re-directed to chrome vis PostMessage.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/18341024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210632 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LIB and SO targets in the SDK build system now honor
NACL_ARCH (and VALID_ARCHES) just like the main executable
targets.
R=noelallen@chromium.org
Review URL: https://codereview.chromium.org/18477003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SDK file list is fairly large and we like to keep
it sorted. This change adds a --sort option to the
verify_filelist.py script.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/18826006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210448 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script simplifies the process of running .nexe files
under the sel_ldr in the SDK. It uses sensible defaults for
things like the IRT location and library paths. It can also
determine which version of the sel_ldr to run according to
that architecture of the .nexe.
Make common.mk aware of SEL_LDR=1 environment variable. In
this case SEL_LDR is defined (so code an detect it) and
'make run' will run the sel_ldr rather than chrome.
Run sel_ldr based tests as part of test_sdk. Currently
this is only simple_hello_world and nacl_io_test.
Distinguish between crashes and program exiting normally
in common.js (we can't distinguish if exitcode is -1 right
now).
Review URL: https://chromiumcodereview.appspot.com/18176014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210236 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=223188
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18332009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210064 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I found this issue while using the common.mk system
to build the mesagl example in naclports:
https://codereview.chromium.org/18404005
I also changed the way that the $(PAGE) existence is
checked. The error message is a little less informative
(no rule to make index.html) but it is produced more
consistently. Mixing $(error) with make rules can lead
to confusing output since the "ifdef" check is done at
make parse time but the error message is expanded when
the rule is run.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/18054027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alows a LIST such as CCFLAGS or LIBS to be defined as a DICT.
When a LIST is passed in, the LIST applies to all keys of the
DICT. This is implemented in template.mk.
Also puts logic for removing unused values in the same
expansion path.
R=sbc@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18301009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210056 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=171068
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18543008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209820 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't pass the name of the current platform to all
functions. This is essentially a global that can be
accessed from anywhere. No need to pass this or the
verbosity level in arguments. This reduces that arity
of many functions and makes the code more readable.
Also, remove cases where GetPlatform() should have
been used in place of comparing with sys.platform.
Also, remove duplicate code for calling invoking make.
Construction of the make commandline is now done solely
in build_projects.py.
R=binji@chromium.org
Review URL: https://codereview.chromium.org/18563003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209811 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18158005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209743 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also enables users of our build system to use things
like cache and distcc via the NACL_COMPILER_PREFIX setting.
Goma is not enabled on the bots, or by default just yet.
R=binji@chromium.org, noelallen@chromium.org
Review URL: https://codereview.chromium.org/17759004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209728 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't want to allow this:
> examples/tutorial/dlopen$ make TOOLCHAIN=pnacl
This should fail because the dlopen example doesn't support pnacl.
But we do want this to work:
> examples/tutorial$ make TOOLCHAIN=pnacl
Because it should build everything in tutorial that supports pnacl.
BUG=225747
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/18422002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209711 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The flock example crashes if it can't find the images. When running as a
packaged app, the images are not in the root, but under the
examples/demo/flock/images directory.
BUG=none
TBR=noelallen@chromium.org
Review URL: https://codereview.chromium.org/18331007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209542 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new verbosity level called TRACE, and move a lot
of the message to this level. This means the default
level for Debug builds (LOG) is a little less chatty.
Write all log message to stderr rather than stdout, so
that we don't pullute the stdout the application with our
messages (think minizip using ppapi_simple).
Also, use NACL_SDK_DEBUG to determine if we are building
a debug build, so the verbosity level is set correctly
in debug builds.
make build_projects.py -v pass V=1 to the make commands
that it runs.
When using the common.mk build system, pass --debug-libs
to create_html in debug builds. Otherwise release libs
are deployed by create_nmf.
BUG=
R=binji@chromium.org, noelallen@chromium.org
Review URL: https://codereview.chromium.org/18089020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209526 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've also changed the MountFactory used by the KernelProxy into an object
instead of a function. This makes it easier to replace in tests.
I've also added MountMock and MountNodeMock which are gmock wrappers for Mount
and MountNode, respectively.
BUG=254675
R=noelallen@chromium.org
Review URL: https://codereview.chromium.org/17955003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209510 0039d316-1c4b-4281-b951-d872f2087c98
|