external/naclports.git
7 hours agoFix ARM build of quakespasm. master
sbc@google.com [Tue, 22 Jul 2014 17:55:34 +0000 (17:55 +0000)]
Fix ARM build of quakespasm.

Our ARM version of gcc doesn't define __unix and so was
not being detected correctly as a unix platform.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1465 7dad1e8b-422e-d2af-fbf5-8013b78bd812

26 hours agoUse strcasecmp rather than stricmp in SDLmain.
sbc@google.com [Mon, 21 Jul 2014 23:05:54 +0000 (23:05 +0000)]
Use strcasecmp rather than stricmp in SDLmain.

Its looks like the later is available in newlib but
not in glibc. Should have done more testing of that
last change, sorry.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1464 7dad1e8b-422e-d2af-fbf5-8013b78bd812

31 hours agoAdd the ability to access the HTML5 filesystem from tests
channingh@google.com [Mon, 21 Jul 2014 18:16:37 +0000 (18:16 +0000)]
Add the ability to access the HTML5 filesystem from tests

This uses the HTML5 filesystem api to directly access the HTML5 filesystem
in tests. This allows for testing of ports that manipulate files.

BUG=None
TEST=devenv_test
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1463 7dad1e8b-422e-d2af-fbf5-8013b78bd812

31 hours agoAdd quakespasm, an OpenGL+SDL-based port of quake1.
sbc@google.com [Mon, 21 Jul 2014 18:11:08 +0000 (18:11 +0000)]
Add quakespasm, an OpenGL+SDL-based port of quake1.

Add zip.fs to DEPS which is used to extract the quake
data zip file, if its not found alongside the executable.

BUG= http://code.google.com/p/naclports/issues/detail?id=96
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1462 7dad1e8b-422e-d2af-fbf5-8013b78bd812

31 hours agoMove README for libtar to correct folder.
sbc@google.com [Mon, 21 Jul 2014 18:07:27 +0000 (18:07 +0000)]
Move README for libtar to correct folder.

This file was mistakenly added to top level at r1435

R=noelallen@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1461 7dad1e8b-422e-d2af-fbf5-8013b78bd812

33 hours agoFix a bug in SDL_audio the the pause status was not
sbc@google.com [Mon, 21 Jul 2014 16:28:21 +0000 (16:28 +0000)]
Fix a bug in SDL_audio the the pause status was not
honoured and the sound callback could trigger before
the application was ready to generate audio.

Also update SDLmain to be a little more intelligent about
mounting. Now we always use a memfs on '/' and by default
mount httpfs on /home and chdir('/home') on startup.

These changes are both needed for the new quakespasm port.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1460 7dad1e8b-422e-d2af-fbf5-8013b78bd812

33 hours agoAdding port of m4 for newlib, glibc, pnacl.
bradnelson@google.com [Mon, 21 Jul 2014 16:25:12 +0000 (16:25 +0000)]
Adding port of m4 for newlib, glibc, pnacl.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3902
TEST=./make_all.sh m4
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1459 7dad1e8b-422e-d2af-fbf5-8013b78bd812

33 hours agoNew port: BLIS library (Linear Algebra)
sbc@google.com [Mon, 21 Jul 2014 16:22:07 +0000 (16:22 +0000)]
New port: BLIS library (Linear Algebra)

BLIS is low-level linear algebra library optimized for
efficient use of cache and TLB. BLIS supports the standard
BLAS interface, in addition to its own, more flexible, set
of functions.

This release supports only PNaCl architecture. When
targeting Pepper >= 36 it accelerates single-precision
(S and Z functions) operations with Portable SIMD vectors.

AUTHOR=Marat Dukhan <maratek@gmail.com>
TEST=./make_all.sh blis
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1458 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 days agoFixing bash to work in pnacl + devenv tests.
bradnelson@google.com [Sat, 19 Jul 2014 00:53:50 +0000 (00:53 +0000)]
Fixing bash to work in pnacl + devenv tests.

Adding a naclType parameter to spawn.
Adding a check to detect nexe vs pexe invocation.

BUG=None
TEST=devenv_test
R=binji@chromium.org, channingh@google.com, channingh@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1457 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 days agoSwitching nacl_spawn to mimic spawnve, wait, waitpid.
bradnelson@google.com [Sat, 19 Jul 2014 00:42:14 +0000 (00:42 +0000)]
Switching nacl_spawn to mimic spawnve, wait, waitpid.

Now that waitpid(-1) is supported we can sufficiently closely mimic spawnve,
wait, and waitpid.

Switching to use the standard wait and waitpid, and the semi-standard spawnve.
(The flexibility to specify a separate argv[0] from the executable is useful
for porting of pnacl).

BUG=None
TEST=trybots
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1456 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 days agoFixing subversion to build on newlib + pnacl, use nacl-spawn.
bradnelson@google.com [Fri, 18 Jul 2014 23:45:30 +0000 (23:45 +0000)]
Fixing subversion to build on newlib + pnacl, use nacl-spawn.

Refactor publish step.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1455 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 days agoAdding geturl utility to provide devenv access to URLLoader.
bradnelson@google.com [Fri, 18 Jul 2014 23:41:57 +0000 (23:41 +0000)]
Adding geturl utility to provide devenv access to URLLoader.

Using curl to download packages has the drawback that it both bypasses the
browser's proxy settings and requires a separate root certificate set.

Providing a ppapi based download utility (geturl) to download packages using
URLLoader.

Updating the devenv packaging script to use geturl and to include a separate
package for curl (downloaded by default).

Updating the packaging script to handle packages in which the nexe get
_ppapi added to the nexe name (curl_ppapi).

Updating devenv manifest.json to include access to naclports.storage.googleapis.com.

Switching from http to https, as geturl can use the browser's root certs implicitly.

Updating partitions manually to include geturl, as introducing a new dependency
in one step for devenv is not handled by the current partitioning tool.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1454 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 days agoAdd and utilize index of pre-built online packages.
sbc@google.com [Fri, 18 Jul 2014 23:33:11 +0000 (23:33 +0000)]
Add and utilize index of pre-built online packages.

The default behavior is now to use prebuilt packages
from google storage.  These are downloaded on demand
to 'out/pacakges/prebuilt'.

The index of available prebuilt packages is stored in
source control at lib/prebuilt.txt and generated
manually using the scan_packages.py script.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1453 7dad1e8b-422e-d2af-fbf5-8013b78bd812

5 days agoClean up home directory after tests
channingh@google.com [Thu, 17 Jul 2014 20:08:20 +0000 (20:08 +0000)]
Clean up home directory after tests

This adds a cleanup of the home directory in the teardown phase of a test
for tests that manipulate files. (e.g. mkdir tests)

BUG=None
TEST=devenv_test
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1452 7dad1e8b-422e-d2af-fbf5-8013b78bd812

6 days agoAdd more tests of devenv.
channingh@google.com [Thu, 17 Jul 2014 00:22:01 +0000 (00:22 +0000)]
Add more tests of devenv.

This adds more tests to devenv, including "echo", installing coreutils,
and "ls".

I also tried expressing the logic of waiting for a nacl_spawn_reply message
while keeping track of stdout in a waitWhile construct. I'm not sure if that
makes the code more or less confusing (as opposed to defining custom functions
for every loop and explicitly calling devEnv.wait().then(loopFunction))

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1451 7dad1e8b-422e-d2af-fbf5-8013b78bd812

6 days agoDelete correct background.js
channingh@google.com [Wed, 16 Jul 2014 23:35:15 +0000 (23:35 +0000)]
Delete correct background.js

Accidentally deleted background.js from bash instead of devenv.

BUG=the one on the waterfall
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1450 7dad1e8b-422e-d2af-fbf5-8013b78bd812

6 days agoCompress binary packages with bzip2 compression.
sbc@google.com [Wed, 16 Jul 2014 23:17:04 +0000 (23:17 +0000)]
Compress binary packages with bzip2 compression.

Also, fix missing symbols in package.py.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1449 7dad1e8b-422e-d2af-fbf5-8013b78bd812

6 days agoUpdate default MIN_SDK_VERSION to pepper_35.
sbc@google.com [Wed, 16 Jul 2014 20:34:29 +0000 (20:34 +0000)]
Update default MIN_SDK_VERSION to pepper_35.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1448 7dad1e8b-422e-d2af-fbf5-8013b78bd812

7 days agoMove devenv test framework from bash/ to devenv/
channingh@google.com [Tue, 15 Jul 2014 17:46:38 +0000 (17:46 +0000)]
Move devenv test framework from bash/ to devenv/

Move the code in background.js for testing from the bash/ folder to the
devenv/ folder, and update the build script to get the new background.js.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1447 7dad1e8b-422e-d2af-fbf5-8013b78bd812

7 days agoDisable libiconv in sdl, disable libiconv on mac.
bradnelson@google.com [Tue, 15 Jul 2014 16:36:20 +0000 (16:36 +0000)]
Disable libiconv in sdl, disable libiconv on mac.

Disabling libiconv use in sdl (as it breaks scummvm).

Disabling libiconv on mac as it tickles a pnacl internal error.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1446 7dad1e8b-422e-d2af-fbf5-8013b78bd812

8 days agoAdd tests for devenv.
channingh@google.com [Tue, 15 Jul 2014 00:44:58 +0000 (00:44 +0000)]
Add tests for devenv.

Add the basics of a testing framework to naclports. This adds a test that runs
"bash -c 'exit 42'" with NaClProcessManager and makes sure the exit code is
correct.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1445 7dad1e8b-422e-d2af-fbf5-8013b78bd812

8 days agoFix the case where foreground_process is null
channingh@google.com [Mon, 14 Jul 2014 18:32:18 +0000 (18:32 +0000)]
Fix the case where foreground_process is null

Since the root process can exit now without terminating the entire program,
we have to handle the case where foreground_process is null or becomes
null when the root process ends.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1444 7dad1e8b-422e-d2af-fbf5-8013b78bd812

8 days agoRepartitioning naclports in preparation for sdl -> iconv dependency.
bradnelson@google.com [Mon, 14 Jul 2014 17:24:41 +0000 (17:24 +0000)]
Repartitioning naclports in preparation for sdl -> iconv dependency.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1443 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding ninja port.
bradnelson@google.com [Sat, 12 Jul 2014 01:16:32 +0000 (01:16 +0000)]
Adding ninja port.

Builds for newlib, glibc, pnacl.

BUG=None
TEST=None
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1442 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding a libffi port.
bradnelson@google.com [Sat, 12 Jul 2014 00:25:57 +0000 (00:25 +0000)]
Adding a libffi port.

Platform code is gated out.

BUG=None
TEST=./make_all.sh libffi
R=sbc@chromium.org, sivachandra@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1441 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoDisabling builds currently broken on bionic.
bradnelson@google.com [Sat, 12 Jul 2014 00:19:18 +0000 (00:19 +0000)]
Disabling builds currently broken on bionic.

BUG=None
TEST=trybots
R=binji@chromium.org, noelallen@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1440 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding libiconv port.
bradnelson@google.com [Sat, 12 Jul 2014 00:01:00 +0000 (00:01 +0000)]
Adding libiconv port.

BUG=None
TEST=None
R=binji@chromium.org, sbc@chromium.org, sivachandra@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1439 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding libunistring port.
bradnelson@google.com [Fri, 11 Jul 2014 23:48:11 +0000 (23:48 +0000)]
Adding libunistring port.

BUG=None
TEST=None
R=binji@chromium.org, sbc@chromium.org, sivachandra@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1438 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoFixing ncurses under bionic.
bradnelson@google.com [Fri, 11 Jul 2014 23:34:31 +0000 (23:34 +0000)]
Fixing ncurses under bionic.

BUG=None
TEST=builds
R=noelallen@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1437 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoSplit onTerminalResize
channingh@google.com [Fri, 11 Jul 2014 22:40:34 +0000 (22:40 +0000)]
Split onTerminalResize

Split onTerminalResize to the resizing component and the component that handles
the initial spawning of bash.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1436 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoFixing libtar under bionic.
bradnelson@google.com [Fri, 11 Jul 2014 22:30:09 +0000 (22:30 +0000)]
Fixing libtar under bionic.

BUG=None
TEST=builds
R=noelallen@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1435 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoReplace underscore variable names with camel case.
channingh@google.com [Fri, 11 Jul 2014 22:16:59 +0000 (22:16 +0000)]
Replace underscore variable names with camel case.

We replace variable_name with variableName, for style.

BUG=None
TESTS=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1434 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoReplace onEnd handler with waitpid
channingh@google.com [Fri, 11 Jul 2014 22:13:39 +0000 (22:13 +0000)]
Replace onEnd handler with waitpid

Replace explicit setting of the onEnd handler for the root process (which
closes the window when bash terminates, etc.) with a call to waitpid on the PID
of the root process.

BUG=None
TESTS=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1433 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoRemove ability to add arbitrary event handlers from outside NaClProcessmanager
channingh@google.com [Fri, 11 Jul 2014 22:11:45 +0000 (22:11 +0000)]
Remove ability to add arbitrary event handlers from outside NaClProcessmanager

Before, one could directly add event handlers to spawned processes from outside
of NaClProcessManager. However, NaClProcessmanager.prefix is not available from
outside of NaClProcessmanager so it is not possible to handle events from
processes in the general case. Thus, we do preprocessing on the event objects
and extract relevant information (like contents of the message for handling
stdout). Clients of NaClProcessmanager can attach handlers to listen for these
modified events.

BUG=None
TESTS=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1432 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoTurn global variables into instance variables
channingh@google.com [Fri, 11 Jul 2014 22:08:29 +0000 (22:08 +0000)]
Turn global variables into instance variables

This changes global variables in naclprocess.js (like foreground_process) into
instance variables of a NaClProcessManager instance.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1431 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoRemove calls to print in naclprocess.
channingh@google.com [Fri, 11 Jul 2014 22:05:30 +0000 (22:05 +0000)]
Remove calls to print in naclprocess.

This removes calls to print() in naclprocess, since naclprocess more of a class
to be used by other code rather than an end user. Instead, we throw errors
if an error occurs.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1430 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoFixing grep build on arm and pnacl.
bradnelson@google.com [Fri, 11 Jul 2014 20:59:39 +0000 (20:59 +0000)]
Fixing grep build on arm and pnacl.

BUG=http://code.google.com/p/naclports/issues/detail?id=126
TEST=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1429 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding libtool port (for libltdl).
bradnelson@google.com [Fri, 11 Jul 2014 20:05:00 +0000 (20:05 +0000)]
Adding libtool port (for libltdl).

BUG=None
TEST=./make_all.sh libtool
R=sbc@chromium.org, sivachandra@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1428 7dad1e8b-422e-d2af-fbf5-8013b78bd812

11 days agoAdding a libatomic-ops port.
bradnelson@google.com [Fri, 11 Jul 2014 19:29:49 +0000 (19:29 +0000)]
Adding a libatomic-ops port.

BUG=None
TEST=None
R=sbc@chromium.org, sivachandra@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1427 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoMove onvtkeystroke to NaClTerm
channingh@google.com [Thu, 3 Jul 2014 00:00:46 +0000 (00:00 +0000)]
Move onvtkeystroke to NaClTerm

Move onvtkeystroke to NaClTerm, and expose methods sendStdinForeground
and sigint in NaClProcessManager.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1426 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoMove terminalresize to naclterm
channingh@google.com [Wed, 2 Jul 2014 23:56:26 +0000 (23:56 +0000)]
Move terminalresize to naclterm

Move the terminal resize handler to naclterm, and expose a setDimensions()
method in naclprocess.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com
DIFFBASE=367023005

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1425 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoMake clients of naclterm all use the same prefix.
channingh@google.com [Wed, 2 Jul 2014 23:47:30 +0000 (23:47 +0000)]
Make clients of naclterm all use the same prefix.

Remove prefix customization by clients of NaClTerm, since changing the prefix
doesn't really do anything.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com
DIFFBASE=361013003

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1424 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoMake spawn() immediately return a process ID
channingh@google.com [Wed, 2 Jul 2014 23:45:35 +0000 (23:45 +0000)]
Make spawn() immediately return a process ID

This change makes spawn() immediately return a process ID instead of waiting
until the process has loaded. This speeds up spawning processes in parallel.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1423 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoFix reference to old build_toolds/naclports.py in buildbot_common.sh
sbc@google.com [Wed, 2 Jul 2014 23:39:24 +0000 (23:39 +0000)]
Fix reference to old build_toolds/naclports.py in buildbot_common.sh

Also fix bash warnings in buildbot_selector.sh.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1422 7dad1e8b-422e-d2af-fbf5-8013b78bd812

2 weeks agoRevert part of last change to buildbot_common.sh.
sbc@google.com [Wed, 2 Jul 2014 23:15:21 +0000 (23:15 +0000)]
Revert part of last change to buildbot_common.sh.

This change broke the builders by clobber the TOOLCHAIN
and NACL_ARCH globals.  Add comment as to why these locals
are named differently.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1421 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoAdd gclient run-hooks script to clean stale pyc files.
sbc@google.com [Tue, 1 Jul 2014 18:20:20 +0000 (18:20 +0000)]
Add gclient run-hooks script to clean stale pyc files.

This should fix the current bot failures and prevent
confused devleopers.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1420 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoFix partition.py and check_sums.py WRT to new naclports python module.
sbc@google.com [Tue, 1 Jul 2014 17:52:36 +0000 (17:52 +0000)]
Fix partition.py and check_sums.py WRT to new naclports python module.

These slipped through local testsing because I still have a
naclports.pyc file locally.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1419 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoUpdate location of naclports_test.py to fix the bots.
sbc@google.com [Tue, 1 Jul 2014 06:31:42 +0000 (06:31 +0000)]
Update location of naclports_test.py to fix the bots.

TBR=binji

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1418 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoSplit naclports python script into python module with multiple files.
sbc@google.com [Tue, 1 Jul 2014 00:45:04 +0000 (00:45 +0000)]
Split naclports python script into python module with multiple files.

This change mostly re-factor.  There should be no
semantic changes.

Also, remove the make_bin_wrappers script and instead
simply check the wrappers into the bin folder and
maintain them manually.

TEST=bots
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1417 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoTemporarily disable sdl2-image.
sbc@google.com [Tue, 1 Jul 2014 00:07:58 +0000 (00:07 +0000)]
Temporarily disable sdl2-image.

Currently the pkg-config file for SDL2 doesn't link against
all the required libraries for SDL2, and sdl2-image attempts
to link binaries and fails.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1416 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoUpdate sdl2 to latest upstream version.
sbc@google.com [Mon, 30 Jun 2014 22:51:41 +0000 (22:51 +0000)]
Update sdl2 to latest upstream version.

sdl2-tests still have trouble linking due to LDFLAGS not
containing all the required libraries.

TEST=./make_all.sh sdl2
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1415 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoMove terminal-specific event handlers to NaClTerm.
channingh@google.com [Mon, 30 Jun 2014 22:15:22 +0000 (22:15 +0000)]
Move terminal-specific event handlers to NaClTerm.

This moves the terminal-specific event handlers for events emitted from
NaCl processes (i.e. handleLoad_, handleProgress_, etc, not onVTKeystroke)
from NaClProcessManager to NaClTerm. This includes things like printing
error messages to the terminal.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1414 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoAdding grep to naclports.
bradnelson@google.com [Mon, 30 Jun 2014 21:08:30 +0000 (21:08 +0000)]
Adding grep to naclports.

Builds for newlib, glibc, pnacl.

BUG=None
TEST=None
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1413 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoFixing rm -rf in coreutils.
bradnelson@google.com [Mon, 30 Jun 2014 20:12:03 +0000 (20:12 +0000)]
Fixing rm -rf in coreutils.

Disable checks based on inodes.

BUG=390245
TEST=local
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1412 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoAdd watchlist.
sbc@google.com [Mon, 30 Jun 2014 18:27:53 +0000 (18:27 +0000)]
Add watchlist.

Adding myself to default watchlist so I get CC'd on all
naclports changes.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1411 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoSeparate naclterm.js into naclprocess.js and naclhterm.js
channingh@google.com [Mon, 30 Jun 2014 18:13:13 +0000 (18:13 +0000)]
Separate naclterm.js into naclprocess.js and naclhterm.js

This separates naclterm.js into naclprocess.js and naclhterm.js, and updates
ports that are dependent upon NaClTerm.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1410 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoReplace lib.f.parseQuery call with inline code.
channingh@google.com [Fri, 27 Jun 2014 23:17:58 +0000 (23:17 +0000)]
Replace lib.f.parseQuery call with inline code.

This replaces a call to lib.f.parseQuery with non-library code that does the
same thing. This removes NaClTerm's dependence on the libraries in
hterm.concat.js, making it easier to separate out NaClTerm.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1409 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoMerge createEmbed() and spawn()
channingh@google.com [Fri, 27 Jun 2014 23:15:28 +0000 (23:15 +0000)]
Merge createEmbed() and spawn()

This merges the createEmbed() and spawn() calls into one function. We also
change the parameters such that instead of passing e (pretty much a dump of
all available data), we explicitly pass the parent element and the spawn ID.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com, binji@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1408 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoSplit NaClTerm into NaClTerm and NaClTermHTerm
channingh@google.com [Fri, 27 Jun 2014 20:36:30 +0000 (20:36 +0000)]
Split NaClTerm into NaClTerm and NaClTermHTerm

This change splits off the hterm-specific parts of NaClTerm into a separate
class. Before, in order to instantiate a NaClTerm, one needed to pass in an
hterm to the constructor, making it difficult to create a standalone
NaClTerm.

BUG=None
TEST=None
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1407 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoAdd PNaCl support to sdlquake.
sbc@google.com [Fri, 27 Jun 2014 18:44:52 +0000 (18:44 +0000)]
Add PNaCl support to sdlquake.

There were a few duplicate symbol defintions that ended
up on the BSS segment which is fine on GCC but errors
out on PNaCl right now.

Also, export EXEEXT to the Makefile so it can know what
extension to use for the executable.

TEST=run PNaCl build of sdlquake with shareware level.
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1406 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoFix sdlquake by removing asm files.
sbc@google.com [Fri, 27 Jun 2014 01:21:58 +0000 (01:21 +0000)]
Fix sdlquake by removing asm files.

The original NaCl port didn't used asm so it hasn't been
ported yet.

R=binji@chromium.org
TBR=binji

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1405 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoRevive ancient sdlquake port.
sbc@google.com [Thu, 26 Jun 2014 23:31:47 +0000 (23:31 +0000)]
Revive ancient sdlquake port.

Amazingly removing pretty much all the Pepper-specific
code and just running the game seemed to work fist time.
This is mostly thanks to nacl_io and the SDLmain library.

Right now you still need to download some data files
(such as the shareware level and unzip them alongside
the nexe in the publish directory) to actually play the
game.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1404 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoExport $STRIP variable when setting up the build environment.
sbc@google.com [Thu, 26 Jun 2014 23:30:35 +0000 (23:30 +0000)]
Export $STRIP variable when setting up the build environment.

Also, add NACL_PREIFX/bin to the path so things like
sdl-config can be found by default.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1403 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoDelete old/experimental v8 port.
sbc@google.com [Thu, 26 Jun 2014 22:45:31 +0000 (22:45 +0000)]
Delete old/experimental v8 port.

The original authors are apparently hosting this stuff
on github now anyway.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1402 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoFix python manifest.json and name of nano app archive.
sbc@google.com [Wed, 25 Jun 2014 17:07:22 +0000 (17:07 +0000)]
Fix python manifest.json and name of nano app archive.

TBR=bradnelson

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1401 7dad1e8b-422e-d2af-fbf5-8013b78bd812

3 weeks agoSplitting up bashrc into separate parts.
bradnelson@google.com [Wed, 25 Jun 2014 01:52:33 +0000 (01:52 +0000)]
Splitting up bashrc into separate parts.

Dividing bashrc into:
  package - a package management script
  setup-environment - a script that scans for existing pacakages and sets
                      them up
  bashrc - minimal bashrc

Drop use of stubs in bash.

Suppress warning in newlib unzip.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1400 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix opencv URL so it points to upstream rather than mirror.
sbc@google.com [Wed, 25 Jun 2014 00:37:21 +0000 (00:37 +0000)]
Fix opencv URL so it points to upstream rather than mirror.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1399 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd missing dependencies on python to markupsafe and jinja2
sbc@google.com [Wed, 25 Jun 2014 00:36:35 +0000 (00:36 +0000)]
Add missing dependencies on python to markupsafe and jinja2

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1398 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd the ability to view graphical output of programs within the dev
channingh@google.com [Wed, 25 Jun 2014 00:33:57 +0000 (00:33 +0000)]
Add the ability to view graphical output of programs within the dev
environment.

This change adds the ability to view the graphical output of programs
(from Pepper APIs) within the dev environment in either a popup window
or as a section of the terminal window. This is enabled by setting
the PROCESS_SPAWN_MODE environment variable to either 'popup' or 'embed'.
The dimensions of the viewing area can also be configured.

BUG=none
TEST=none
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1397 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agonaclports.py: Split file downloading into its own function.
sbc@google.com [Wed, 25 Jun 2014 00:26:40 +0000 (00:26 +0000)]
naclports.py: Split file downloading into its own function.

Also, fix Package.__init__ logic for searching for source
packages given package names rather than pathnames.

Also, add more docstrings.

BUG=
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1396 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoReduce the size the hterm javascript file.
sbc@google.com [Tue, 24 Jun 2014 22:27:23 +0000 (22:27 +0000)]
Reduce the size the hterm javascript file.

We were previeously includes all the same dependencies
as nassh, but this is more than we need.

Also, cleanup nano build and switch it to versioned
manifest.json file.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1395 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix mpg123 glibc build when SDL is installed.
sbc@google.com [Tue, 24 Jun 2014 21:13:25 +0000 (21:13 +0000)]
Fix mpg123 glibc build when SDL is installed.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1394 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix python-ppapi build on mac.
sbc@google.com [Tue, 24 Jun 2014 21:13:02 +0000 (21:13 +0000)]
Fix python-ppapi build on mac.

The apple version of tar requires that options come
before arguments.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1393 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoSwitch gdb to use nacl-spawn.
bradnelson@google.com [Tue, 24 Jun 2014 21:01:31 +0000 (21:01 +0000)]
Switch gdb to use nacl-spawn.

BUG=None
TEST=gdb_tests
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1392 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoChange icon color slightly for better constrast.
bradnelson@google.com [Tue, 24 Jun 2014 21:00:43 +0000 (21:00 +0000)]
Change icon color slightly for better constrast.

BUG=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1391 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAnother repartition attempt.
bradnelson@google.com [Tue, 24 Jun 2014 20:59:28 +0000 (20:59 +0000)]
Another repartition attempt.

The repartition script seems to incorrectly detect packages when a build is in
progress. This was done with the newlib build stopped.

BUG=None
TEST=trybots
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1390 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd missing mingn dependency, repartition.
bradnelson@google.com [Tue, 24 Jun 2014 06:29:13 +0000 (06:29 +0000)]
Add missing mingn dependency, repartition.

mingn also copies a few libraries, suboptimal, but probably shouldn't
change that for now.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1389 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoUpdate test expectations to match tests, pull in new chrome, fix manifest.
bradnelson@google.com [Tue, 24 Jun 2014 06:21:01 +0000 (06:21 +0000)]
Update test expectations to match tests, pull in new chrome, fix manifest.

Moral of story, always run the tests...

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1388 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoResizing all partitions given new dependencies.
bradnelson@google.com [Tue, 24 Jun 2014 05:18:36 +0000 (05:18 +0000)]
Resizing all partitions given new dependencies.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1387 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd python as dependency of six.
sbc@google.com [Tue, 24 Jun 2014 04:13:52 +0000 (04:13 +0000)]
Add python as dependency of six.

The six package relies on the NaCl version of
python being installed in the toolchain folder.

TBR=bradnelson

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1386 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoRedo partition to try to fix load balance.
bradnelson@google.com [Tue, 24 Jun 2014 03:20:48 +0000 (03:20 +0000)]
Redo partition to try to fix load balance.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1385 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix devenv build for pnacl.
bradnelson@google.com [Mon, 23 Jun 2014 22:44:18 +0000 (22:44 +0000)]
Fix devenv build for pnacl.

Add NACL_PUBLISH_FLAVOR to allow cross port references including pnacl.

BUG=None
TEST=None
R=binji@chromium.org, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1384 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd a short name for devenv and the debugger.
bradnelson@google.com [Mon, 23 Jun 2014 22:28:50 +0000 (22:28 +0000)]
Add a short name for devenv and the debugger.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1383 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoUse environment rather than patch to select libc getcwd in nacl bash port.
bradnelson@google.com [Mon, 23 Jun 2014 22:16:32 +0000 (22:16 +0000)]
Use environment rather than patch to select libc getcwd in nacl bash port.

BUG=None
TEST=None
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1382 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix PKG_CONFIG_LIBDIR in build_tools/common.mk.
sbc@google.com [Mon, 23 Jun 2014 21:56:56 +0000 (21:56 +0000)]
Fix PKG_CONFIG_LIBDIR in build_tools/common.mk.

PKG_CONFIG_LIBDIR was missing the final pkgconfig components.
This was not a problem in the past when we were also
(redundantly) settings PKG_CONFIG_PATH.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1381 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdding missing dependency on setuptools
bradnelson@google.com [Mon, 23 Jun 2014 20:30:49 +0000 (20:30 +0000)]
Adding missing dependency on setuptools

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1380 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoMake nacl-spawn for runnable-ld.so instead of assuming its in the main crx.
bradnelson@google.com [Mon, 23 Jun 2014 20:30:00 +0000 (20:30 +0000)]
Make nacl-spawn for runnable-ld.so instead of assuming its in the main crx.

This allows newlib apps which lack a copy of runnable-ld.so to spawn glibc
executables. (Thus allowing a newlib devenv).

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1379 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoUntar relative to argv[0] before /mnt/http.
bradnelson@google.com [Mon, 23 Jun 2014 19:24:30 +0000 (19:24 +0000)]
Untar relative to argv[0] before /mnt/http.

Remove previous NACL_ALT_HTTP hack.

First check for application tar relative to argv[0],
then fallback on /mnt/http.

Move untar logic into nacl-spawn so it can be shared.

Fix nacl-spawn to update argv[0] when PATH expanding it.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1378 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoHandle upload of nothing correctly.
bradnelson@google.com [Mon, 23 Jun 2014 19:13:28 +0000 (19:13 +0000)]
Handle upload of nothing correctly.

BUG=None
TEST=None
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1377 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoFix ruby compile-time prefix.
sbc@google.com [Mon, 23 Jun 2014 18:36:56 +0000 (18:36 +0000)]
Fix ruby compile-time prefix.

This fixes a recent regression causes by a change the
default prefix used to configure packages.

Ruby bakes the prefix in at compile time so use the real
prefix (in this case /) when configuring it.  Without this
our dummy prefix is baked in and of course is not correct at
runtime.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1376 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoRepartion in preparation for adding a libtar dependency to nacl-spawn.
bradnelson@google.com [Mon, 23 Jun 2014 18:10:44 +0000 (18:10 +0000)]
Repartion in preparation for adding a libtar dependency to nacl-spawn.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1375 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdding new icon for devenv, fixing gdb build.
bradnelson@google.com [Mon, 23 Jun 2014 18:07:56 +0000 (18:07 +0000)]
Adding new icon for devenv, fixing gdb build.

BUG=None
TEST=None
R=sbc@google.com, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1374 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoDon't ship site-packages folder in python app.
sbc@google.com [Mon, 23 Jun 2014 17:53:10 +0000 (17:53 +0000)]
Don't ship site-packages folder in python app.

This folder can be very large depending on what
python packages have previously been installed.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1373 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoUpdate curl version 7.32.0 -> 7.37.0
sbc@google.com [Mon, 23 Jun 2014 17:20:44 +0000 (17:20 +0000)]
Update curl version 7.32.0 -> 7.37.0

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1372 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoMinor cleanup of buildbot_sdk_bundle.sh
sbc@google.com [Mon, 23 Jun 2014 17:17:21 +0000 (17:17 +0000)]
Minor cleanup of buildbot_sdk_bundle.sh

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1371 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdding new icon for debugger.
bradnelson@google.com [Mon, 23 Jun 2014 16:59:28 +0000 (16:59 +0000)]
Adding new icon for debugger.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1370 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoAdd arm to the devenv manifest now that we have bash arm support.
bradnelson@google.com [Sun, 22 Jun 2014 20:46:56 +0000 (20:46 +0000)]
Add arm to the devenv manifest now that we have bash arm support.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1369 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoDisable curl and devenv build on mac.
bradnelson@google.com [Sun, 22 Jun 2014 19:52:47 +0000 (19:52 +0000)]
Disable curl and devenv build on mac.

Not sure why this ever worked.
Seems to have an ordering thing.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1368 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoMake bash, thus devenv build with newlib and pnacl.
bradnelson@google.com [Sun, 22 Jun 2014 19:32:13 +0000 (19:32 +0000)]
Make bash, thus devenv build with newlib and pnacl.

Fixed bash build to work with pnacl and newlib.
Disabled attempt to set file time in newlib build of unzip (so it can be
actually used).

Repartitioned buildbots.

Build and runs with tweaks to startup, but has various issues.
These will be addressed in a forthcoming refactor of the devenv bashrc.

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

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1367 7dad1e8b-422e-d2af-fbf5-8013b78bd812

4 weeks agoMake binutils build with newlib, no pnacl yet.
bradnelson@google.com [Sun, 22 Jun 2014 19:31:31 +0000 (19:31 +0000)]
Make binutils build with newlib, no pnacl yet.

PNaCl's failing on some abi verification errors I've sent to the team.

BUG=None
TEST=None
R=sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1366 7dad1e8b-422e-d2af-fbf5-8013b78bd812