[Vexi-svn] SF.net SVN: vexi: [1908] widgets/trunk/org.vexi.widgets/src

2007-07-02 Thread clrg
Revision: 1908
  http://svn.sourceforge.net/vexi/?rev=1908&view=rev
Author:   clrg
Date: 2007-07-02 15:20:12 -0700 (Mon, 02 Jul 2007)

Log Message:
---
Widget purtiness returning for vexi3 :-) but still not quite there

Modified Paths:
--
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/edit.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/button.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/menu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/radio.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/toolbar.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/menuitem.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/submenu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tabpane.t
widgets/trunk/org.vexi.widgets/src/vexi/util/lazyload.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/pad.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/edit.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2007-07-02 
17:31:04 UTC (rev 1907)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2007-07-02 
22:20:12 UTC (rev 1908)
@@ -144,6 +144,7 @@
 
 // edit functions
 thisbox.syncCursor; // for implementations to override
+thisbox.selectAll;  // publicly accessible function for 
selecting all text
 thisbox.unselectAll;// publicly accessible function for 
unselecting all text
 
 ///

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02 
17:31:04 UTC (rev 1907)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02 
22:20:12 UTC (rev 1908)
@@ -21,6 +21,7 @@
 thisbox.prefwidth = 0;  // preferred width of this word
 thisbox.valign = "bottom";  // vertical alignmnet of the word
 thisbox.whitespace = false; // whether this is space or text
+thisbox.parent = null;  // parent block containing this word
 
 // assign static functions to properties
 align   ++= static.alignFunc;

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/button.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/button.t 
2007-07-02 17:31:04 UTC (rev 1907)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/button.t 
2007-07-02 22:20:12 UTC (rev 1908)
@@ -8,12 +8,17 @@
 
 
 
-
 selected ++= static.selectFunc;
-
+thisbox.textalign ++= static.textalignFunc;
 
 
 /** only activate selection if part of a button group */
 static.selectFunc = function(v) { cascade = trapee.groupref ? v : false; }
 
+static.textalignFunc = function(v)
+{
+cascade = v;
+trapee.th_content.align = v;
+}
+
 

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t   
2007-07-02 17:31:04 UTC (rev 1907)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t   
2007-07-02 22:20:12 UTC (rev 1908)
@@ -46,11 +46,11 @@
 

[Vexi-svn] SF.net SVN: vexi: [1907] core/branches/vexi2/org.ibex.js/src

2007-07-02 Thread mkpg2
Revision: 1907
  http://svn.sourceforge.net/vexi/?rev=1907&view=rev
Author:   mkpg2
Date: 2007-07-02 10:31:04 -0700 (Mon, 02 Jul 2007)

Log Message:
---
Adding JS exception type, remote.
Refactoring xmlrpc tests.

Modified Paths:
--
core/branches/vexi2/org.ibex.js/src/org/ibex/js/Constants.java
core/branches/vexi2/org.ibex.js/src/org/ibex/js/Interpreter.jpp
core/branches/vexi2/org.ibex.js/src/org/ibex/js/XMLRPC.jpp
core/branches/vexi2/org.ibex.js/src_dev/org/ibex/js/DevUtil.java
core/branches/vexi2/org.ibex.js/src_dev/org/ibex/js/RunJS.java
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/TestXmlRpc.java
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/emptyline.js
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/lib.js

core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/nested_object.js

core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/nested_vector.js

core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/nested_vector2.js
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/simple.js

Added Paths:
---
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/ioException.js

core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/serverException.js

core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/serverException2.js

Removed Paths:
-
core/branches/vexi2/org.ibex.js/src_junit/test/js/rpc/xmlrpc/no_handler.js

Modified: core/branches/vexi2/org.ibex.js/src/org/ibex/js/Constants.java
===
--- core/branches/vexi2/org.ibex.js/src/org/ibex/js/Constants.java  
2007-07-02 16:45:59 UTC (rev 1906)
+++ core/branches/vexi2/org.ibex.js/src/org/ibex/js/Constants.java  
2007-07-02 17:31:04 UTC (rev 1907)
@@ -22,6 +22,7 @@
static final JS SC_next = JSU.S("next",true);
static final JS SC_number = JSU.S("number",true);
static final JS SC_object = JSU.S("object",true);
+   static final JS SC_remote = JSU.S("remote",true);
static final JS SC_Progress = JSU.S("Progress",true);
static final JS SC_some = JSU.S("some",true);
static final JS SC_string = JSU.S("string",true);

Modified: core/branches/vexi2/org.ibex.js/src/org/ibex/js/Interpreter.jpp
===
--- core/branches/vexi2/org.ibex.js/src/org/ibex/js/Interpreter.jpp 
2007-07-02 16:45:59 UTC (rev 1906)
+++ core/branches/vexi2/org.ibex.js/src/org/ibex/js/Interpreter.jpp 
2007-07-02 17:31:04 UTC (rev 1907)
@@ -238,8 +238,12 @@
 } else {
 didTrapPut = true;
 if(!tm.pauseOnCascade) 
tm.t.target().put(tm.t.key(), tm.val);
+else Thread.cascadedTo = 
tm.trapargs.trapname;
 }
-} else retval = CASCADE_PREVENTED;
+}else{
+   
Thread.cascadedTo = null;
+   retval 
= CASCADE_PREVENTED;
+   }
 }
 }
 CallMarker cm = (CallMarker) o;

Modified: core/branches/vexi2/org.ibex.js/src/org/ibex/js/XMLRPC.jpp
===
--- core/branches/vexi2/org.ibex.js/src/org/ibex/js/XMLRPC.jpp  2007-07-02 
16:45:59 UTC (rev 1906)
+++ core/branches/vexi2/org.ibex.js/src/org/ibex/js/XMLRPC.jpp  2007-07-02 
17:31:04 UTC (rev 1907)
@@ -356,7 +356,7 @@
 try {
 new Helper().parse(br);
 if (fault) 
-   return new 
JSExn(((JS)objects.get(0)).get(SC_faultString),SC_xmlrpc);
+   return new 
JSExn(((JS)objects.get(0)).get(SC_faultString),SC_remote);
 final JS result = (objects.size() == 0 ? (JS)null : 
((JS)objects.get(0)));
 return result;
 

Modified: core/branches/vexi2/org.ibex.js/src_dev/org/ibex/js/DevUtil.java
===
--- core/branches/vexi2/org.ibex.js/src_dev/org/ibex/js/DevUtil.java
2007-07-02 16:45:59 UTC (rev 1906)
+++ core/branches/vexi2/org.ibex.js/src_dev/org/ibex/js/DevUtil.java
2007-07-02 17:31:04 UTC (rev 1907)
@@ -8,6 +8,7 @@
 import org.ibex.js.Interpreter.CallMarker;
 import org.ibex.js.Interpreter.JSArgs;
 import org.ibex.js.Parser.ScopeInfo;
+import org.ibex.util.Log;
 
 /**
  * 
@@ -30,6 +31,15 @@
static public String dump(JS f){
return ((JSFunction)f).dump();
}
+   
+   public static void log

[Vexi-svn] SF.net SVN: vexi: [1904] core/branches/EXPERIMENTAL_PROPERTY_CACHE/

2007-07-02 Thread clrg
Revision: 1904
  http://svn.sourceforge.net/vexi/?rev=1904&view=rev
Author:   clrg
Date: 2007-07-02 09:16:44 -0700 (Mon, 02 Jul 2007)

Log Message:
---
This was never going to work efficiently

Removed Paths:
-
core/branches/EXPERIMENTAL_PROPERTY_CACHE/


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi: [1906] widgets/trunk/org.vexi.widgets/src/org/vexi

2007-07-02 Thread clrg
Revision: 1906
  http://svn.sourceforge.net/vexi/?rev=1906&view=rev
Author:   clrg
Date: 2007-07-02 09:45:59 -0700 (Mon, 02 Jul 2007)

Log Message:
---
Oops...
- arguments.index -> arguments.trapname
- redirect orient, layout in lib.role.popupmanager
- and we have a nearly working demo screen!

Modified Paths:
--
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/menu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/toolbar.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 
2007-07-02 16:45:59 UTC (rev 1906)
@@ -10,6 +10,8 @@
 
 
 
+vexi..vexi.util.redirect..addRedirect(thisbox, $content, "orient", 
"layout");
+
 var interval = 50;// sleep interval for pop thread
 var popgroups = {};   // track pop groups
 var popforegs = {};   // popgroup foregrounds

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/block.t
2007-07-02 16:45:59 UTC (rev 1906)
@@ -217,7 +217,7 @@
 // child removed
 else
 {
-v = trapee[arguments.index];
+v = trapee[arguments.trapname];
 v.Enter --= trapee.activeTrap;
 }
 }

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t   
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t   
2007-07-02 16:45:59 UTC (rev 1906)
@@ -26,7 +26,7 @@
 Children ++= function(v)
 {
 cascade = v;
-v.fill = (arguments.index-1)%2 ? fill2 : fill1;
+v.fill = (arguments.trapname-1)%2 ? fill2 : fill1;
 v.Press1 ++= selectFunc;
 }


Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t   
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/cardpane.t   
2007-07-02 16:45:59 UTC (rev 1906)
@@ -54,7 +54,7 @@
 return;
 }
 
-c = thisbox[arguments.index];
+c = thisbox[arguments.trapname];
 // if c is the shown card, attempt to show another
 if (show == c)
 {

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t  
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t  
2007-07-02 16:45:59 UTC (rev 1906)
@@ -319,7 +319,7 @@
 c.Children ++= function(e)
 {
 cascade = e;
-e.width = th_head[arguments.index].width;
+e.width = th_head[arguments.trapname].width;
 }
 }
 }

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/menu.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/menu.t   
2007-07-02 16:35:08 UTC (rev 1905)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/menu.t   
2007-07-02 16:45:59 UTC (rev 1906)
@@ -32,7 +32,7 @@
 
 v.Children ++= function()
 {
-   

[Vexi-svn] SF.net SVN: vexi: [1905] widgets/trunk/org.vexi.widgets/src/org/vexi

2007-07-02 Thread clrg
Revision: 1905
  http://svn.sourceforge.net/vexi/?rev=1905&view=rev
Author:   clrg
Date: 2007-07-02 09:35:08 -0700 (Mon, 02 Jul 2007)

Log Message:
---
More vexi3 related fixes - mostly missing cascades

Modified Paths:
--
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tab.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
2007-07-02 16:16:44 UTC (rev 1904)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/submenu.t
2007-07-02 16:35:08 UTC (rev 1905)
@@ -59,6 +59,8 @@
 th_content[arguments.index] = c;
 lockChildren = false;
 }
+
+cascade = v;
 }
 
 // assign static trap functions
@@ -119,6 +121,7 @@
 /** set up popbox */
 static.popboxFunc = function(v)
 {
+cascade = v;
 v.popgroup = "sublevel" + trapee.level;
 v.Press1 ++= vexi..org.vexi.lib.widget.menu..popboxPressFunc;
 }

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
2007-07-02 16:16:44 UTC (rev 1904)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t
2007-07-02 16:35:08 UTC (rev 1905)
@@ -24,31 +24,28 @@
 /** sets up the close button */
 th_close ++= function(v)
 {
+cascade = v;
 v.action ++= function(v) { show.thisbox = null; }
-
-// no longer need this trap
 th_close --= callee;
 }
 
 /** sets up the 'next' button */
 th_next ++= function(v)
 {
+cascade = v;
 v.repeats = true;
 v.interval = 100;
 v.action ++= function(v) { th_head.x = vexi.math.max(th_head.x-10, 
th_headwrap.width-th_head.width); }
-
-// no longer need this trap
 th_next --= callee;
 }
 
 /** sets up the 'prev' button */
 th_prev ++= function(v)
 {
+casacde = v;
 v.repeats = true;
 v.interval = 100;
 v.action ++= function(v) { th_head.x = vexi.math.min(th_head.x+10, 
0); }
-
-// no longer need this trap
 th_prev --= callee;
 }
 
@@ -88,9 +85,13 @@
 }
 
 // place the tab
-th_head[v.indexof(c)] = c.v_tab;
+th_head[arguments.index] = c.v_tab;
+
+cascade = c;
 }
 
+cascade = v;
+
 /** drop tabs of exiting cards tabs *
 FIXME: reinstate
 v.ChildRemoved ++= function(c)

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tab.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tab.t   
2007-07-02 16:16:44 UTC (rev 1904)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tab.t   
2007-07-02 16:35:08 UTC (rev 1905)
@@ -34,6 +34,7 @@
 /** apply traps relating to th_content */
 static.contentFunc = function(v)
 {
+cascade = v;
 trapee.enabled ++= static.enabledFunc;
 trapee.th_content --= static.contentFunc;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi: [1903] core/branches

2007-07-02 Thread clrg
Revision: 1903
  http://svn.sourceforge.net/vexi/?rev=1903&view=rev
Author:   clrg
Date: 2007-07-02 09:11:46 -0700 (Mon, 02 Jul 2007)

Log Message:
---
Renamed remotely

Added Paths:
---
core/branches/vexi2/

Removed Paths:
-
core/branches/PRE_GRIDBOX_REMOVAL/

Copied: core/branches/vexi2 (from rev 1902, core/branches/PRE_GRIDBOX_REMOVAL)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi: [1902] widgets/trunk/org.vexi.widgets/src

2007-07-02 Thread clrg
Revision: 1902
  http://svn.sourceforge.net/vexi/?rev=1902&view=rev
Author:   clrg
Date: 2007-07-02 08:35:55 -0700 (Mon, 02 Jul 2007)

Log Message:
---
More vexi3 porting effort

Modified Paths:
--
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/option.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/combo.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/list.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/option.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02 
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02 
15:35:55 UTC (rev 1902)
@@ -129,7 +129,4 @@
 /** write textcolor information to internal text-box only */
 static.textcolorFunc = function(v) { trapee[0][trapname] = v; }
 
-/** set the colspan to the width of a word */
-static.widthFunc = function(v) { trapee.colspan = v; }
-
 

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t   
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t   
2007-07-02 15:35:55 UTC (rev 1902)
@@ -23,9 +23,10 @@
 var selectFunc = function(v) { selected = trapee; }

 /** done outside of loadData in-case data is loaded manually */
-ChildAdded ++= function(v)
+Children ++= function(v)
 {
-v.fill = (numchildren-1)%2 ? fill2 : fill1;
+cascade = v;
+v.fill = (arguments.index-1)%2 ? fill2 : fill1;
 v.Press1 ++= selectFunc;
 }


Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t   
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t   
2007-07-02 15:35:55 UTC (rev 1902)
@@ -16,8 +16,9 @@
 else cascade = v;
 }
 
-ChildAdded ++= function(c)
+Children ++= function(c)
 {
+cascade = c;
 c.Press1 ++= pressFunc;
 }
 

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
===
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t  
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t  
2007-07-02 15:35:55 UTC (rev 1902)
@@ -258,8 +258,10 @@
 thisbox.th_content ++= function(v)
 {
 /** set up table components */
-v.ChildAdded ++= function(c)
+v.Children ++= function(c)
 {
+cascade = c;
+
 /** set up column headers */
 

[Vexi-svn] SF.net SVN: vexi: [1901] widgets/trunk/org.vexi.demo/org/vexi/demo

2007-07-02 Thread clrg
Revision: 1901
  http://svn.sourceforge.net/vexi/?rev=1901&view=rev
Author:   clrg
Date: 2007-07-02 08:34:58 -0700 (Mon, 02 Jul 2007)

Log Message:
---
More vexi3 porting effort

Modified Paths:
--
widgets/trunk/org.vexi.demo/org/vexi/demo/main.t
widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t
widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t
widgets/trunk/org.vexi.demo/org/vexi/demo/text.t

Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/main.t
===
--- widgets/trunk/org.vexi.demo/org/vexi/demo/main.t2007-07-02 00:23:44 UTC 
(rev 1900)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/main.t2007-07-02 15:34:58 UTC 
(rev 1901)
@@ -11,7 +11,7 @@
 surface.revertTitle = function() { surface.titlebar = "Vexi Demo 
Application"; }
 surface.revertTitle();
 
-
+
 
 
 

Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t
===
--- widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t  2007-07-02 
00:23:44 UTC (rev 1900)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t  2007-07-02 
15:34:58 UTC (rev 1901)
@@ -6,7 +6,7 @@
 
 
 
-
+
 
 
 

Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t
===
--- widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t 2007-07-02 00:23:44 UTC 
(rev 1900)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t 2007-07-02 15:34:58 UTC 
(rev 1901)
@@ -5,7 +5,7 @@
 
 
 
-
+
 
 
 
 
-
-
-
+
+
+
 
 
-
+
 
 
-
-
+
+
+
+
 
 
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn