seed r172 - in trunk: examples examples/shader tests
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r172 - in trunk: examples examples/shader tests
- Date: Sat, 8 Nov 2008 00:11:11 +0000 (UTC)
Author: racarr
Date: Sat Nov 8 00:11:11 2008
New Revision: 172
URL: http://svn.gnome.org/viewvc/seed?rev=172&view=rev
Log:
Replace #!/usr/local/bin/seed with #!/usr/bin/env seed in examples and
tests.
Modified:
trunk/examples/HACKING
trunk/examples/accelgroup.js
trunk/examples/actions.js
trunk/examples/calculator.js
trunk/examples/clutter.js
trunk/examples/gconf.js
trunk/examples/introspect.js
trunk/examples/json-packing.js
trunk/examples/ls.js
trunk/examples/mini-browser.js
trunk/examples/n-oscillator.js
trunk/examples/notify-test.js
trunk/examples/pango-fontset.js
trunk/examples/pango.js
trunk/examples/poppler.js
trunk/examples/quine.js
trunk/examples/repl.js
trunk/examples/shader/ShaderView.js
trunk/examples/shader/main.js
trunk/examples/soup.js
trunk/examples/vte-test.js
trunk/tests/argv.js
trunk/tests/compare.js
trunk/tests/enum.js
trunk/tests/gobject-scope.js
trunk/tests/gsuper.js
trunk/tests/gtype.js
trunk/tests/include.js
trunk/tests/json-constructor.js
trunk/tests/json.js
trunk/tests/list-test.js
trunk/tests/namespace-exception-test.js
trunk/tests/native-closure.js
trunk/tests/print.js
trunk/tests/printf.js
trunk/tests/printprint.js
trunk/tests/property-benchmark.js
trunk/tests/property-glib-exception.js
trunk/tests/readline.js
trunk/tests/signal.js
trunk/tests/syntax-test.js
trunk/tests/type-conversion.js
Modified: trunk/examples/HACKING
==============================================================================
--- trunk/examples/HACKING (original)
+++ trunk/examples/HACKING Sat Nov 8 00:11:11 2008
@@ -3,7 +3,7 @@
== Large Examples ==
ide/
- - A Seed IDE. Utilizes much of GTK; GtkToolbar, GtkSourceView, GtkFileChooser, GtkNotebook, VTE, a practical use of GConf.
+ - A Seed IDE. Utilizes much of GTK; GtkToolbar, GtkSourceView, GtkFileChooser, GtkNotebook, VTE, a practical use of GConf. Intelligently uses inheritance.
lightsoff/
- A simple game. Utilizes GtkImage, GtkMenu, Seed.setTimeout.
Modified: trunk/examples/accelgroup.js
==============================================================================
--- trunk/examples/accelgroup.js (original)
+++ trunk/examples/accelgroup.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk")
Seed.import_namespace("Gdk");
Modified: trunk/examples/actions.js
==============================================================================
--- trunk/examples/actions.js (original)
+++ trunk/examples/actions.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk");
Gtk.init(null, null);
Modified: trunk/examples/calculator.js
==============================================================================
--- trunk/examples/calculator.js (original)
+++ trunk/examples/calculator.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gdk");
Seed.import_namespace("Gtk");
Modified: trunk/examples/clutter.js
==============================================================================
--- trunk/examples/clutter.js (original)
+++ trunk/examples/clutter.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Clutter");
Clutter.init(null, null);
Modified: trunk/examples/gconf.js
==============================================================================
--- trunk/examples/gconf.js (original)
+++ trunk/examples/gconf.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("GConf");
GConf.init(null, null);
Modified: trunk/examples/introspect.js
==============================================================================
--- trunk/examples/introspect.js (original)
+++ trunk/examples/introspect.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk");
proto = Seed.prototype(Gtk.Window);
Modified: trunk/examples/json-packing.js
==============================================================================
--- trunk/examples/json-packing.js (original)
+++ trunk/examples/json-packing.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk");
Gtk.init(null, null);
Modified: trunk/examples/ls.js
==============================================================================
--- trunk/examples/ls.js (original)
+++ trunk/examples/ls.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gio");
// Gio.File is an interface, not an actual instantiable class, so we can not
Modified: trunk/examples/mini-browser.js
==============================================================================
--- trunk/examples/mini-browser.js (original)
+++ trunk/examples/mini-browser.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk");
Seed.import_namespace("WebKit");
Modified: trunk/examples/n-oscillator.js
==============================================================================
--- trunk/examples/n-oscillator.js (original)
+++ trunk/examples/n-oscillator.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk","2.0");
Seed.import_namespace("Gst","0.10");
Modified: trunk/examples/notify-test.js
==============================================================================
--- trunk/examples/notify-test.js (original)
+++ trunk/examples/notify-test.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk");
Seed.import_namespace("Gio");
Seed.import_namespace("Notify");
Modified: trunk/examples/pango-fontset.js
==============================================================================
--- trunk/examples/pango-fontset.js (original)
+++ trunk/examples/pango-fontset.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Pango");
Seed.import_namespace("PangoFT2");
Modified: trunk/examples/pango.js
==============================================================================
--- trunk/examples/pango.js (original)
+++ trunk/examples/pango.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Clutter");
Seed.import_namespace("Gtk");
Modified: trunk/examples/poppler.js
==============================================================================
--- trunk/examples/poppler.js (original)
+++ trunk/examples/poppler.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("cairo");
Seed.import_namespace("Gdk");
Seed.import_namespace("Gtk");
Modified: trunk/examples/quine.js
==============================================================================
--- trunk/examples/quine.js (original)
+++ trunk/examples/quine.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gio");
file = Gio.file_new_for_path(Seed.argv[1])
Modified: trunk/examples/repl.js
==============================================================================
--- trunk/examples/repl.js (original)
+++ trunk/examples/repl.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
while(1)
{
Modified: trunk/examples/shader/ShaderView.js
==============================================================================
--- trunk/examples/shader/ShaderView.js (original)
+++ trunk/examples/shader/ShaderView.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
function ShaderView(source_type, actor, reflection)
{
this.hbox = new Gtk.HBox();
Modified: trunk/examples/shader/main.js
==============================================================================
--- trunk/examples/shader/main.js (original)
+++ trunk/examples/shader/main.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Clutter");
Seed.import_namespace("Gtk");
Seed.import_namespace("GtkSource");
Modified: trunk/examples/soup.js
==============================================================================
--- trunk/examples/soup.js (original)
+++ trunk/examples/soup.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Soup");
session = new Soup.SessionSync();
Modified: trunk/examples/vte-test.js
==============================================================================
--- trunk/examples/vte-test.js (original)
+++ trunk/examples/vte-test.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
Seed.import_namespace("Gtk","2.0");
Seed.import_namespace("Vte");
Modified: trunk/tests/argv.js
==============================================================================
--- trunk/tests/argv.js (original)
+++ trunk/tests/argv.js Sat Nov 8 00:11:11 2008
@@ -1,6 +1,6 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
-// STDOUT:/usr/local/bin/seed
+// STDOUT:seed
// STDERR:
Seed.print(Seed.argv[0]);
Modified: trunk/tests/compare.js
==============================================================================
--- trunk/tests/compare.js (original)
+++ trunk/tests/compare.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:0.000000\n1.000000
Modified: trunk/tests/enum.js
==============================================================================
--- trunk/tests/enum.js (original)
+++ trunk/tests/enum.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:2.000000
Modified: trunk/tests/gobject-scope.js
==============================================================================
--- trunk/tests/gobject-scope.js (original)
+++ trunk/tests/gobject-scope.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
Modified: trunk/tests/gsuper.js
==============================================================================
--- trunk/tests/gsuper.js (original)
+++ trunk/tests/gsuper.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Found a fooed widget
Modified: trunk/tests/gtype.js
==============================================================================
--- trunk/tests/gtype.js (original)
+++ trunk/tests/gtype.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:In klass init\nIn constructor for \[object HelloWindow\]\nPrototypes!\nIn map, verifying widget\.title : Hello!
Modified: trunk/tests/include.js
==============================================================================
--- trunk/tests/include.js (original)
+++ trunk/tests/include.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Hello, world!
Modified: trunk/tests/json-constructor.js
==============================================================================
--- trunk/tests/json-constructor.js (original)
+++ trunk/tests/json-constructor.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:JSON Win!
Modified: trunk/tests/json.js
==============================================================================
--- trunk/tests/json.js (original)
+++ trunk/tests/json.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
Modified: trunk/tests/list-test.js
==============================================================================
--- trunk/tests/list-test.js (original)
+++ trunk/tests/list-test.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:\[object Object\]\n\[object GtkButton\]\n\[object GtkButton\]
Modified: trunk/tests/namespace-exception-test.js
==============================================================================
--- trunk/tests/namespace-exception-test.js (original)
+++ trunk/tests/namespace-exception-test.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:No such namespace: CoreAnimation\nNo such namespace: Gtk \(version 3\.0\)
Modified: trunk/tests/native-closure.js
==============================================================================
--- trunk/tests/native-closure.js (original)
+++ trunk/tests/native-closure.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:\[object GtkLabel\]\n\[object GtkButton\]
Modified: trunk/tests/print.js
==============================================================================
--- trunk/tests/print.js (original)
+++ trunk/tests/print.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Hello, world!
Modified: trunk/tests/printf.js
==============================================================================
--- trunk/tests/printf.js (original)
+++ trunk/tests/printf.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:string\nstring\ninteger 4\nfloat 0\.333333\nmore 0\.333333333\nless 0\.33
Modified: trunk/tests/printprint.js
==============================================================================
--- trunk/tests/printprint.js (original)
+++ trunk/tests/printprint.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Hello World!\n\[null\]
Modified: trunk/tests/property-benchmark.js
==============================================================================
--- trunk/tests/property-benchmark.js (original)
+++ trunk/tests/property-benchmark.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
Modified: trunk/tests/property-glib-exception.js
==============================================================================
--- trunk/tests/property-glib-exception.js (original)
+++ trunk/tests/property-glib-exception.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
Modified: trunk/tests/readline.js
==============================================================================
--- trunk/tests/readline.js (original)
+++ trunk/tests/readline.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:2+2
// STDOUT:4.000000
Modified: trunk/tests/signal.js
==============================================================================
--- trunk/tests/signal.js (original)
+++ trunk/tests/signal.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Window mapped.
Modified: trunk/tests/syntax-test.js
==============================================================================
--- trunk/tests/syntax-test.js (original)
+++ trunk/tests/syntax-test.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
@@ -7,7 +7,7 @@
new = 3
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:
Modified: trunk/tests/type-conversion.js
==============================================================================
--- trunk/tests/type-conversion.js (original)
+++ trunk/tests/type-conversion.js Sat Nov 8 00:11:11 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:Javascript number out of range of guchar\nCan not convert Javascript value to boolean\nCan not convert Javascript value to int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]