Fix naclprocess.js so that it works on the open web.

A recent change caused it to depend on
chrome.runtime.getPlatformInfo()

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/565733002
Switch from using 'git number' to 'git describe'

git number is non-standard (its part of gclient)
and not fully supported.  The reason we were
using it is because it doesn't rely on the
existence of the git annotated tag.  Now that
naclpors has officially switched to git we
can push annotated tags to the master repo and
start using 'git describe' to label builds.

BUG= https://code.google.com/p/naclports/issues/detail?id=139
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/563603002
Set both REVISION and FULL_REVISION in common.sh

This allows us to use the integer revision where this is
necessary and full output of 'git describe' elsewhere.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/565013002
Fix a couple of minor issues with glibc-compat headers.

Remove sys/cdefs.h (newlib's existing one already contains
__BEGIN_DECLS/__END_DECLS).

Move FIONBIO to ioctl.h and give it corresponding value
from glibc/linux to match other ioctl numbers.

Declare creat rather than defining it (newlib has an
implemenation in libcrt_common.a).

R=binji@chromium.org, bradnelson@google.com

Review URL: https://codereview.chromium.org/563043004
Make nacl-spawn self references internal only, fix gcc link order.

nacl-spawn previously called waitpid from wait, which because its an exported
symbol, in some contexts (gcc) can end up being replaced by a different symbol
(a version in gcc). Making all internal references to a static _impl.

Fixing the link order of gcc so that the pthread waitpid shim is not moved to
front of the required order implicitly.

Net effect is to fix gcc which has been broken since nacl_waitpid became
waitpid.

BUG=None
TEST=local
R=binji@chromium.org

Review URL: https://codereview.chromium.org/569763003
Chaning nacl_main to have a C declaration.

Making nacl_main as much of a drop in replacement for main as possible.
Passing envp.
Using a C declartion.
Declaring with visibility default.

Switching make to use this.
This should apply to many more ports, more simplications to come.

BUG=None
TEST=local
R=binji@chromium.org

Review URL: https://codereview.chromium.org/556073005
Revert "Chaning nacl_main to have a C declaration."

This reverts commit 9be9cbb863f166c1b9c3658861721837af493cf7.

This actually did not work generally the way I had hoped,
particularly with C++ code.
Reverting and regrouping.

BUG=None
TEST=None
TBR=binji@chromium.org

Review URL: https://codereview.chromium.org/563283006
Fixing unzip by setting LF2 to empty.

The unzip build uses both the -s option to strip and an explicit strip.
We don't need both, and -s seems to have stopped working for pnacl.
Disabling by setting the LF2 parameter to the build, in order to green the bot.

BUG=None
TEST=on bot
TBR=sbc@chromium.org,dschuff@chromium.org

Review URL: https://codereview.chromium.org/569023002
Ignore utime errors for until we restore old behavior for tar + libtar.

utime recently started returning EINVAL for mounts that don't implement it.
This throws off libtar + tar, breaking most ports.

BUG=https://code.google.com/p/chromium/issues/detail?id=414058
TEST=local
TBR=binji@chromium.org

Review URL: https://codereview.chromium.org/550423003
Flip when libtar ignores errors.

In making libtar ignore utime errors, accidentally flipped the logical sense of
when to disable the check when preparing the change to send out.
Flipping it the right way.

BUG=https://code.google.com/p/chromium/issues/detail?id=414058
TEST=Check vim works locally.
TBR=binji@chromium.org

Review URL: https://codereview.chromium.org/570893002
Pulling in newer package versions into devenv, holding back some.

Pull in newer versions of everything other than git and python.

Fixing link order in git that causes it to malfunction (gets bad access on working directory). Need to roll forward in a later version.

Python is a mystery.

Advancing the version number of devenv to allow it to be published in the store.

Fixing help in packaging script + allowing pinning.

BUG=None
TEST=tested video demo
TBR=sbc@chromium.org

Review URL: https://codereview.chromium.org/566183003
Pulling in newer packages into devenv.

Pulling in newer packages into devenv.
Drop special casing that pins git to an old revision.

BUG=None
TEST=local
TBR=sbc@chromium.org

Review URL: https://codereview.chromium.org/572603002
Don't call cmp on files that don't exist.

Fix InjectSystemHeaders so that it only runs cmp
if the destination file already exists.

This removes excessive error output on first
package build.

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/574073002
New package: protobuf-c 1.0.0

protobuf-c is a C library for decoding and encoding Protocol Buffers.
This port does not include the protobuf compiler.

TEST=./make_all.sh protobuf-c
R=sbc@chromium.org

Review URL: https://codereview.chromium.org/426523002
Add missing functions to glibc-compat

This adds enough to glibc-compat to enable gettest
and glib to compile with newlib.

Remove old spawn.c file that was not being compiled.

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/565563003
Move httpd.py into build_tools and clean it up

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/574423002
Fix location of out/publish folder in httpd.py

TBR=bradnelson@chromium.org

Review URL: https://codereview.chromium.org/575183002
Remove ancient example.

This example hasn't been built in years, and seems
to depend on a nacl module (crypto) that doesnlt seem
to exist anymore.

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/562253003
Revive alut demo application.

TEST=run example and verify "hello world" plays.
R=binji@chromium.org

Review URL: https://codereview.chromium.org/582473002
PRESUBMIT.py: Make partition check faster.

Make partioning check info a single call to
partition.py and only run it once per N-way partioning
rather than N times per N-way parition.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/575193003