Tcl Source Code

Check-in [2d21680323]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update doc and tools to Colin's new layout
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | ferrieux-nacl
Files: files | file ages | folders
SHA1: 2d216803238aa5b82fa3ca47224d4972a64adefd
User & Date: ferrieux 2011-05-05 22:17:09
Context
2011-05-05
22:17
Update doc and tools to Colin's new layout Closed-Leaf check-in: 2d21680323 user: ferrieux tags: ferrieux-nacl
07:53
* added initial NaTk support - won't yet run without symlink lib/ to Wub/ and symlink to tcllib/ check-in: 5262e46c8d user: colin tags: ferrieux-nacl
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to nacl/README.

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 - launch the  NaCl-provided python-based  webserver, and make  it see
   your nacl dir somewhere in its document tree. e.g. 
   cd $NACL/examples; ln -s /..../tcl/nacl nacl; python httpd.py 5103

 - (once) open about:flags in Chrome and enable Native Client

 - start   '(cd  tools;./chromedebug)',  and   point  Chrome   to  the
   index.html in nacl. e.g. chromedebug http://localhost:5103/nacl.

 - alternatively, use './chrd' to load the 'balls' demo.

 - (every  time)  make  sure  no  non-chromedebug  chrome  process  is
   running, otherwise it  will be used instead, and  NaCl will fail to
   load. Also, when you update or tweak anything, it is a good idea to
   flush your browser's cache !

 - note:  'chromedebug' just  sets an  env  var for  debug output  (on
   stderr), and  stars chrome with '--no-sandbox',  which is currently
   needed for NaCl to be really enabled on Linux.








|




|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 - launch the  NaCl-provided python-based  webserver, and make  it see
   your nacl dir somewhere in its document tree. e.g. 
   cd $NACL/examples; ln -s /..../tcl/nacl nacl; python httpd.py 5103

 - (once) open about:flags in Chrome and enable Native Client

 - start   '(cd  tools;./chromedebug)',  and   point  Chrome   to  the
   index.html in 'demo'. e.g. http://localhost:5103/nacl/demo.

 - alternatively, use './chrd' to load the 'balls' demo.

 - (every  time)  make  sure  no  non-chromedebug  chrome  process  is
   running, otherwise  it will be used  instead, and NaCl  may fail to
   load. Also, when you update or tweak anything, it is a good idea to
   flush your browser's cache !

 - note:  'chromedebug' just  sets an  env  var for  debug output  (on
   stderr), and  stars chrome with '--no-sandbox',  which is currently
   needed for NaCl to be really enabled on Linux.

Changes to nacl/demo/tcl.nmf.

1
2
3
4
5
6
{
  "nexes": {
    "x86-32": "tcl32.nexe",
    "x86-64": "tcl64.nexe",
  }
}


|
|


1
2
3
4
5
6
{
  "nexes": {
    "x86-32": "../tcl32.nexe",
    "x86-64": "../tcl64.nexe",
  }
}

Changes to nacl/tools/chrd.

1
2
3
4
#! /bin/sh -x
./chromedebug http://localhost:5103/tcl/${1:-balls.html}



|


1
2
3
4
#! /bin/sh -x
./chromedebug http://localhost:5103/nacl/demo/${1:-balls.html}