[Vexi-svn] SF.net SVN: vexi:[4700] branches/vexi3/org.vexi-vexi.widgets/src_main/org/ vexi/lib/widget/tabpane.t
Revision: 4700 http://sourceforge.net/p/vexi/code/4700 Author: jeffbuhrt Date: 2014-05-24 00:02:26 + (Sat, 24 May 2014) Log Message: --- Fixes memory leak in new widgets due to typo Modified Paths: -- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/tabpane.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/tabpane.t === --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/tabpane.t 2014-05-23 23:58:35 UTC (rev 4699) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/tabpane.t 2014-05-24 00:02:26 UTC (rev 4700) @@ -106,7 +106,7 @@ th_headwrap.width --= tabScrollPolicy; th_head.width --= tabScrollPolicy; show --= tabScrollPolicy; -v_content.Chdilren --= tabListPolicy; +v_content.Children --= tabListPolicy; break; case "scroll": throw "not implemented"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4699] branches/vexi3/org.vexi-vexi.demo/src_main/org/vexi /demo/feature/colorboxes.t
Revision: 4699 http://sourceforge.net/p/vexi/code/4699 Author: jeffbuhrt Date: 2014-05-23 23:58:35 + (Fri, 23 May 2014) Log Message: --- option.t doesn't have a default auto-width (think there might be a couple other places in the demo, but this one stood out during my testing) Modified Paths: -- branches/vexi3/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/colorboxes.t Modified: branches/vexi3/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/colorboxes.t === --- branches/vexi3/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/colorboxes.t 2014-05-20 13:19:14 UTC (rev 4698) +++ branches/vexi3/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/colorboxes.t 2014-05-23 23:58:35 UTC (rev 4699) @@ -10,14 +10,14 @@ - + - +
[Vexi-svn] SF.net SVN: vexi:[4374] trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ ECMADate.jpp
Revision: 4374 http://vexi.svn.sourceforge.net/vexi/?rev=4374&view=rev Author: jeffbuhrt Date: 2012-03-19 20:40:44 + (Mon, 19 Mar 2012) Log Message: --- Reverse out #65 'fix'. Added: Note/caution: ECMA uses 0-11 for months, not 1-12. This applies to the constructor as well. (get it wrong, and 2/29 to 3/1 is 3 days ;) ) Modified Paths: -- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp Modified: trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp === --- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp 2012-03-19 20:34:36 UTC (rev 4373) +++ trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp 2012-03-19 20:40:44 UTC (rev 4374) @@ -133,6 +133,7 @@ /*@PAGE(varname=ECMADate,humanname=ECMADate Object) * * The standard ECMA (or JS) date object. + * Note/caution: ECMA uses 0-11 for months, not 1-12. This applies to the constructor as well. * */ /* Returns the day of the month (1-31) * @return(Number) */ @@ -617,8 +618,8 @@ leap = (DaysInYear((int) year) == 366); yearday = java.lang.Math.floor(TimeFromYear(year) / msPerDay); -// DayFromMonth expects a 0 based month -monthday = DayFromMonth((int) month-1, leap); +// CAUTION! DayFromMonth expects a 0 based month (0=Jan for ECMA) +monthday = DayFromMonth((int) month, leap); result = yearday + monthday This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4370] trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ ECMADate.jpp
Revision: 4370 http://vexi.svn.sourceforge.net/vexi/?rev=4370&view=rev Author: jeffbuhrt Date: 2012-03-19 18:34:35 + (Mon, 19 Mar 2012) Log Message: --- Fix for #65, DayFromMonth expects a 0 based month vs 1 based! Modified Paths: -- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp Modified: trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp === --- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp 2012-03-16 22:56:34 UTC (rev 4369) +++ trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/ECMADate.jpp 2012-03-19 18:34:35 UTC (rev 4370) @@ -617,7 +617,8 @@ leap = (DaysInYear((int) year) == 366); yearday = java.lang.Math.floor(TimeFromYear(year) / msPerDay); -monthday = DayFromMonth((int) month, leap); +// DayFromMonth expects a 0 based month +monthday = DayFromMonth((int) month-1, leap); result = yearday + monthday This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4369] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_leapday2012bug.t
Revision: 4369 http://vexi.svn.sourceforge.net/vexi/?rev=4369&view=rev Author: jeffbuhrt Date: 2012-03-16 22:56:34 + (Fri, 16 Mar 2012) Log Message: --- testcase for #65 vexi.date & vexi.js.ECMADate are [kinda] broken for leap day 2012 convert to/from 2012-03-01 work fine, but the milliseconds from 1970-01-01 is broken. The core thinks there are three days from 2/29 to 3/1. Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_leapday2012bug.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_leapday2012bug.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_leapday2012bug.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_leapday2012bug.t 2012-03-16 22:56:34 UTC (rev 4369) @@ -0,0 +1,41 @@ + + + + +static.name = "March 3/1 Leapday Test"; +static.category = "Test Cases"; + + + + + var test228 = vexi.date(2012,2,28); + vexi.log.info("vexi.date(2012,2,28):" + test228.valueOf() + ", toDateString():" + test228.toDateString() + ", toString():" + test228.toString()); + + var test229 = vexi.date(2012,2,29); + vexi.log.info("vexi.date(2012,2,29):" + test229.valueOf() + ", toDateString():" + test229.toDateString() + ", toString():" + test229.toString()); + + var test31 = vexi.date(2012,3,1); + vexi.log.info("vexi.date(2012,3,1):" + test31.valueOf() + ", toDateString():" + test31.toDateString() + ", toString():" + test31.toString()); + + vexi.log.info("vexi.date(2012,2,29).valueOf() - vexi.date(2012,2,28).valueOf():" + (test229.valueOf() - test228.valueOf())); + vexi.log.info("vexi.date(2012,3,1).valueOf() - vexi.date(2012,2,28).valueOf():" + (test31.valueOf() - test228.valueOf())); + vexi.log.info("vexi.date(2012,3,1).valueOf() - vexi.date(2012,2,29).valueOf():" + (test31.valueOf() - test229.valueOf())); + + var one_day=1000*60*60*24; + var diff = test229.getTime() - test228.getTime(); + vexi.log.info("vexi.date(2012,2,29).getTime() - vexi.date(2012,2,28).getTime():" + diff + ", days:" + (diff/one_day)); + diff = test31.getTime() - test228.getTime(); + vexi.log.info("vexi.date(2012,3,1).getTime() - vexi.date(2012,2,28).getTime():" + diff + ", days:" + (diff/one_day)); + diff = test31.getTime() - test229.getTime(); + vexi.log.info("vexi.date(2012,3,1).getTime() - vexi.date(2012,2,29).getTime():" + diff + ", days:" + (diff/one_day)); + + var test228ecma = new vexi.js.ECMADate(2012,2,28); + vexi.log.info("vexi.js.ECMADate(2012,2,28).valueOf():" + test228ecma.valueOf() + ", days:" + (test228ecma.valueOf()/one_day)); + var test229ecma = new vexi.js.ECMADate(2012,2,29); + vexi.log.info("vexi.js.ECMADate(2012,2,29).valueOf():" + test229ecma.valueOf() + ", days:" + (test229ecma.valueOf()/one_day));; + var test31ecma = new vexi.js.ECMADate(2012,3,1); + vexi.log.info("vexi.js.ECMADate(2012,3,1).valueOf():" + test31ecma.valueOf() + ", days:" + (test31ecma.valueOf()/one_day)); + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4366] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_numeric_conversion.t
Revision: 4366 http://vexi.svn.sourceforge.net/vexi/?rev=4366&view=rev Author: jeffbuhrt Date: 2012-02-24 22:43:07 + (Fri, 24 Feb 2012) Log Message: --- A leading 0 needs to be in the js section, not XML. Vexi XML will convert text="001" to 1 Modified Paths: -- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t 2012-02-23 19:10:55 UTC (rev 4365) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t 2012-02-24 22:43:07 UTC (rev 4366) @@ -11,7 +11,9 @@ - + + text="05"; + $textfield.value ++= static.setContent; $textfield.text ++= static.setContent; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4365] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_grid2.t
Revision: 4365 http://vexi.svn.sourceforge.net/vexi/?rev=4365&view=rev Author: jeffbuhrt Date: 2012-02-23 19:10:55 + (Thu, 23 Feb 2012) Log Message: --- removed outer scrollpane which isn't needed in this specific testcase to repeat the problem Modified Paths: -- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t 2012-02-23 19:00:12 UTC (rev 4364) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t 2012-02-23 19:10:55 UTC (rev 4365) @@ -7,11 +7,11 @@ static.name = "Grid Layout Test Case"; static.category = "Test Cases"; - + - + @@ -46,5 +46,5 @@ cascade = v; } $switchText.action = true; - + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4364] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_grid2.t
Revision: 4364 http://vexi.svn.sourceforge.net/vexi/?rev=4364&view=rev Author: jeffbuhrt Date: 2012-02-23 19:00:12 + (Thu, 23 Feb 2012) Log Message: --- Testcase to show a grid fails to expand the grid with long text, but works fine with short text. Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid2.t 2012-02-23 19:00:12 UTC (rev 4364) @@ -0,0 +1,50 @@ + +static.name = "Grid Layout Test Case"; +static.category = "Test Cases"; + + + + + + + + + + + + + + + + + + + + + var whichText = true; + $switchText.action ++= function(v) { + shortText = "Short text"; + longText="This is some long text. If this is short, the grid will expand to fill."; + + if (whichText) { + $twocol.text = shortText; + $switchText.text = longText; + } + else { + $switchText.text = shortText; + $twocol.text = longText; + } + whichText = !whichText; + cascade = v; + } + $switchText.action = true; + + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4360] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_numeric_conversion.t
Revision: 4360 http://vexi.svn.sourceforge.net/vexi/?rev=4360&view=rev Author: jeffbuhrt Date: 2012-02-21 19:01:51 + (Tue, 21 Feb 2012) Log Message: --- testcase to demo problem with auto-convert of 01 to 1 Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_numeric_conversion.t 2012-02-21 19:01:51 UTC (rev 4360) @@ -0,0 +1,66 @@ + + + + +static.name = "Numeric Conversion Test"; +static.category = "Test Cases"; + + + + + + + + + $textfield.value ++= static.setContent; +$textfield.text ++= static.setContent; +$textfield.KeyPressed ++= static.checkNumber; + +$setval.action ++= function(v) { + vexi.log.info("setval pressed"); + $textfield.value = "05"; +cascade = v; +} + + +static.setContent = function (t) { + vexi.log.info("setContent t:" + t + ", typeof(t):" + typeof(t)); + if (t == null or t == "") { + cascade = t; + return; + } + var str = (typeof(t)=="number")?t.toString():t; + if (str != null and str != "-") { + while (trapee.maxlength > str.length) { + str = "0" + str; + } + } + vexi.log.info("setContent str:" + str + ", typeof(str):" + typeof(str)); + cascade = str; + } + +static.checkNumber = function (k) { + vexi.log.info("checkNumber trapee.maxlength = " + trapee.maxlength + ", trapee.value:" + trapee.value + ", k:" + k); + if (trapee.isnumber != true) { + cascade = k; + if (trapee.maxlength == 1) + trapee.value = trapee.value; + return; + } + + if (k.length==1 and k!=65535) { + if (('9' >= k and k >= '0') or k == '-') ; + else + k = ''; + + cascade = k; + } + else + cascade = k; + + if (trapee.maxlength == 1) + trapee.value = trapee.value; + vexi.log.info("checkNumber k:" + k); +} + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4354] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo
Revision: 4354 http://vexi.svn.sourceforge.net/vexi/?rev=4354&view=rev Author: jeffbuhrt Date: 2012-02-18 01:30:00 + (Sat, 18 Feb 2012) Log Message: --- Test case for showing blocking of frame close Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_popup_surface.t trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/inner/popup_surface.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_popup_surface.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_popup_surface.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_popup_surface.t 2012-02-18 01:30:00 UTC (rev 4354) @@ -0,0 +1,15 @@ + + + + +static.name = "Surface Popup Test"; +static.category = "Test Cases"; + + +vexi.log.info("popup new surface"); +var popup = inner.popup_surface(vexi.box); +vexi.ui.frame = popup; + + + Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/inner/popup_surface.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/inner/popup_surface.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/inner/popup_surface.t 2012-02-18 01:30:00 UTC (rev 4354) @@ -0,0 +1,41 @@ + + + + +static.name = "Popup Code"; +static.category = "Test Cases"; + + + + + + + + +var doClose = true; + +$exit.action ++= function(v) { + vexi.log.info("exit pressed"); +// Close = true; + surface.frame.Close = true; +cascade = v; +} + +$closeMode.action ++= function(v) { + doClose = !doClose; + $closeMode.text = (doClose ? "Close" : "No Close") + " Mode"; +cascade = v; +} + +surface.frame.Close ++= function(v){ + vexi.log.info("surface.frame.Close"); + if (doClose) { + vexi.log.info("Closing frame"); + cascade = v; + } + else + vexi.log.info("Not closing frame"); +} + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4292] trunk/org.vexi-library.js/src/main/java/org/ibex/js /JSON.java
Revision: 4292 http://vexi.svn.sourceforge.net/vexi/?rev=4292&view=rev Author: jeffbuhrt Date: 2011-10-25 17:54:59 + (Tue, 25 Oct 2011) Log Message: --- Cleanup to handle exceptions when running Vexi 'memory' debugger 'Assert GC' Modified Paths: -- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSON.java Modified: trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSON.java === --- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSON.java 2011-10-25 16:08:09 UTC (rev 4291) +++ trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSON.java 2011-10-25 17:54:59 UTC (rev 4292) @@ -41,17 +41,23 @@ sb.append("\":"); Scheduler sched = Scheduler.getCurrent(); if(sched==null){ +//// not in an executable context, so cannot serialize completely, return trap locations +//Trap t = value.getTrap(key); +//if (t != null && (t=t.findRead()) != null) { +//for(; t!=null; t=t.findRead()){ +//TrapHolder th = (TrapHolder)t; +//sb.append(JSU.toString(th.function())); +//sb.append("<-"); +//} +//} + // not in an executable context, so cannot serialize completely, +marshal(sb, avoidCycles, value.get(key)); // not in an executable context, so cannot serialize completely, return trap locations -Trap t = value.getTrap(key); -if (t != null && (t=t.findRead()) != null) { -for(; t!=null; t=t.findRead()){ -TrapHolder th = (TrapHolder)t; -sb.append(JSU.toString(th.function())); -sb.append("<-"); -} -} +marshal(sb, avoidCycles, value.get(key)); } -marshal(sb, avoidCycles, sched.getAndTriggerTraps(value, key)); +else { + marshal(sb, avoidCycles, sched.getAndTriggerTraps(value, key)); +} if(ks.hasNext())sb.append(","); } sb.append("}"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4291] trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/ role/tooltipmanager.t
Revision: 4291 http://vexi.svn.sourceforge.net/vexi/?rev=4291&view=rev Author: jeffbuhrt Date: 2011-10-25 16:08:09 + (Tue, 25 Oct 2011) Log Message: --- Allow GC cleanup of surfaces that use a tooltip that might have been active. Modified Paths: -- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t === --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t 2011-10-25 12:27:43 UTC (rev 4290) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t 2011-10-25 16:08:09 UTC (rev 4291) @@ -16,8 +16,18 @@ var tip = false;// 'thread in progress' flag var model = {}; -surface.tooltip ++= function() { return model; } -surface.tooltip ++= .util.common..readOnly; +getModel = function() { return model; } +surface ++= function(v) { + cascade = v; + if (v) { + surface.tooltip ++= getModel; + surface.tooltip ++= .util.common..readOnly; + } + else { + surface.tooltip --= getModel; + surface.tooltip --= .util.common..readOnly; + } +} /** drop tooltip with mouse interaction */ var pressWrite = function(v) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4234] trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/ util/date.t
Revision: 4234 http://vexi.svn.sourceforge.net/vexi/?rev=4234&view=rev Author: jeffbuhrt Date: 2011-09-20 22:36:56 + (Tue, 20 Sep 2011) Log Message: --- Now sets Year, Month, then Day... seems to be a widget (core?) problem when the last use month was a 28 or less day month, then the date is set to day 29. (Even if the underlying problem was found, it makes sense someone else's trap might expect the same thing.) [Sometimes a date in a table was fine other cases a 08/29/2011 became 08/01/2011.] Modified Paths: -- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t === --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t 2011-09-17 23:49:31 UTC (rev 4233) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t 2011-09-20 22:36:56 UTC (rev 4234) @@ -287,20 +287,20 @@ s0 = s0 ? vexi.string.parseInt(s0, 10) : d.getMonth(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getDay(); s2 = s2 ? expandYear(s2) : d.getFullYear(); -o.day = s1; o.month = s0; o.year = s2; +o.year = s2; o.month = s0; o.day = s1; break; case "MMDD": s0 = s0 ? expandYear(s0) : d.getFullYear(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getMonth(); s2 = s2 ? vexi.string.parseInt(s2, 10) : d.getDay(); -o.day = s2; o.month = s1; o.year = s0; +o.year = s0; o.month = s1; o.day = s2; break; case "DDMM": default: s0 = s0 ? vexi.string.parseInt(s0, 10) : d.getDay(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getMonth(); s2 = s2 ? expandYear(s2) : d.getFullYear(); -o.day = s0; o.month = s1; o.year = s2; +o.year = s2; o.month = s1; o.day = s0; break; } return o; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4225] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_cursor.t
Revision: 4225 http://vexi.svn.sourceforge.net/vexi/?rev=4225&view=rev Author: jeffbuhrt Date: 2011-09-14 21:21:32 + (Wed, 14 Sep 2011) Log Message: --- testcase for #58 : added remaining cursors for demo use later Modified Paths: -- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t 2011-09-14 21:14:26 UTC (rev 4224) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t 2011-09-14 21:21:32 UTC (rev 4225) @@ -8,7 +8,7 @@ static.name = "Change cursor testcase"; // Cursor only changes shape when mouse is moved static.category = "Test Cases"; -static.cursors = ["wait", "hand", "default"]; +static.cursors = ["wait", "crosshair", "text", "hand", "move", "east", "west", "north", "south", "northwest", "northeast", "southwest", "southeast", "default"]; @@ -20,8 +20,6 @@ cursorNum++; vexi.log.info("current cursor:" + cursor + ", new cursor:" + newCursor); cursor = newCursor; - - cascade = v; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4224] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_cursor.t
Revision: 4224 http://vexi.svn.sourceforge.net/vexi/?rev=4224&view=rev Author: jeffbuhrt Date: 2011-09-14 21:14:26 + (Wed, 14 Sep 2011) Log Message: --- testcase for #58 (Cursor only changes shape when mouse is moved) Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_cursor.t 2011-09-14 21:14:26 UTC (rev 4224) @@ -0,0 +1,29 @@ + + +static.name = "Change cursor testcase"; // Cursor only changes shape when mouse is moved +static.category = "Test Cases"; + +static.cursors = ["wait", "hand", "default"]; + + + + +var cursorNum = 0; + +$changeCursor.action ++= function(v) { + var newCursor = static.cursors[cursorNum % static.cursors.length]; + cursorNum++; + vexi.log.info("current cursor:" + cursor + ", new cursor:" + newCursor); + cursor = newCursor; + + + +cascade = v; +} + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4141] trunk/org.vexi-library.crypto/src/main/java/org/ ibex/crypto/DER.java
Revision: 4141 http://vexi.svn.sourceforge.net/vexi/?rev=4141&view=rev Author: jeffbuhrt Date: 2011-05-18 01:16:54 + (Wed, 18 May 2011) Log Message: --- added support for SSL DER Tag value indicating an ASN.1 "UTF8String" value (0x0c) Modified Paths: -- trunk/org.vexi-library.crypto/src/main/java/org/ibex/crypto/DER.java Modified: trunk/org.vexi-library.crypto/src/main/java/org/ibex/crypto/DER.java === --- trunk/org.vexi-library.crypto/src/main/java/org/ibex/crypto/DER.java 2011-05-17 01:15:56 UTC (rev 4140) +++ trunk/org.vexi-library.crypto/src/main/java/org/ibex/crypto/DER.java 2011-05-18 01:16:54 UTC (rev 4141) @@ -148,6 +148,7 @@ public Object readObject() throws IOException { int tag = readByte(); int length = readLength(); +//System.out.println("tag:0x" + Integer.toHexString(tag) + "(" + tag + "), length:" + length); if(length < 0) throw new Exception("Indefinite length objects not supported"); if(length > MAX_OBJECT_SIZE) throw new Exception("Object too large"); @@ -159,6 +160,7 @@ case 0x05: return Null.instance; // NULL case 0x06: return buildObjectIdentifier(length); // Object Identifier +case 0x0c: // UTF8String case 0x13: // PrintableString // It is incorrect to treat this as an IA5String but the T.61 standard is way too old and backwards // to be worth supporting This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4056] trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/ feature/testcase_grid.t
Revision: 4056 http://vexi.svn.sourceforge.net/vexi/?rev=4056&view=rev Author: jeffbuhrt Date: 2011-03-20 16:28:58 + (Sun, 20 Mar 2011) Log Message: --- Simplate testcase for #40 (https://sourceforge.net/apps/trac/vexi/ticket/40) Added Paths: --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid.t Added: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid.t === --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid.t (rev 0) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/testcase_grid.t 2011-03-20 16:28:58 UTC (rev 4056) @@ -0,0 +1,62 @@ + +static.name = "Grid exception Test Case"; +static.category = "Test Cases"; + +// + + + + + + + + + + + + + + + + + + thisbox.setDisplayRules2 = function (item_set) { + $box1.display = false; +$box3.display = false; + } + + $toggle.action ++= function (v) { + cascade = v; + setDisplayRules2(2); + } + + + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4032] trunk/org.vexi-vexi.widgets/src_main/vexi/util
Revision: 4032 http://vexi.svn.sourceforge.net/vexi/?rev=4032&view=rev Author: jeffbuhrt Date: 2011-02-10 23:37:03 + (Thu, 10 Feb 2011) Log Message: --- Allow a date to store dashes when allow_dashes=true (another state vs being just empty) Modified Paths: -- trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t trunk/org.vexi-vexi.widgets/src_main/vexi/util/digit.t Modified: trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t === --- trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t 2011-02-09 23:39:56 UTC (rev 4031) +++ trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t 2011-02-10 23:37:03 UTC (rev 4032) @@ -104,7 +104,10 @@ if (v != null) { if (trapee.allowzeroday and v == 0) { ; -} else { +} else if (trapee.allow_dashes and typeof(v)=="string" and v.charAt(0) == '-') { + ; +} +else { if (typeof(v)=="string") { v = vexi.string.parseInt(v); } @@ -184,7 +187,13 @@ /** contrains month and set monthdays */ static.monthWrite = function(v) { if (v != null) { -if (typeof(v)=="string") { +//vexi.log.info("trapee.allow_dashes=" + trapee.allow_dashes + ", typeof(v)=" + typeof(v) + " v.charAt(0)=" + v.charAt(0)); +if (trapee.allow_dashes and typeof(v)=="string" and v.charAt(0) == '-') { +trapee.monthdays = null; +cascade = v; +return; +} +else if (typeof(v)=="string") { v = vexi.string.parseInt(v); } while (v>12) { @@ -205,7 +214,10 @@ /** contrains month and set monthdays */ static.yearWrite = function(v) { -if (v != null and typeof(v)=="string") { +if (trapee.allow_dashes and typeof(v)=="string" and v.charAt(0) == '-') { +; +} +else if (v != null and typeof(v)=="string") { v = vexi.string.parseInt(v); } cascade = v; Modified: trunk/org.vexi-vexi.widgets/src_main/vexi/util/digit.t === --- trunk/org.vexi-vexi.widgets/src_main/vexi/util/digit.t 2011-02-09 23:39:56 UTC (rev 4031) +++ trunk/org.vexi-vexi.widgets/src_main/vexi/util/digit.t 2011-02-10 23:37:03 UTC (rev 4032) @@ -84,12 +84,12 @@ var f = t.fieldsize; if (v==null) { for (var i=0; f>i; i++) { -t[i].text = '-'; +t[i].text = ' '; } } else { var choff = f-v.length; if (0>choff) { -throw "Text input ("+v.length+") larger than fieldsize ("+f+")"; +throw "Text input:" + v + ", (" + v.length+") larger than fieldsize ("+f+")"; } for (var i=0; choff>i; i++) { t[i].text = '0'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4023] trunk
Revision: 4023 http://vexi.svn.sourceforge.net/vexi/?rev=4023&view=rev Author: jeffbuhrt Date: 2011-02-07 17:37:01 + (Mon, 07 Feb 2011) Log Message: --- Vexidoc cleanups (more specific vexi.system.memoryusage() details and fixed generate warning for JS.Proxy) Modified Paths: -- trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp Modified: trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp === --- trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp 2011-02-05 14:58:06 UTC (rev 4022) +++ trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp 2011-02-07 17:37:01 UTC (rev 4023) @@ -426,9 +426,9 @@ * @return(null) */ case "system.gc": return METHOD; -/* Returns Java's current: maxMemory, totalMemory, freeMemory respectively in KB +/* Returns an Object with a property for each of Java's current: maxMemory, totalMemory, freeMemory respectively in KB * @method - * @return(null) */ + * @return(Object) */ case "system.memoryusage": return METHOD; /* Logs its arguments by first passing them to stringify then formatting the resultant Modified: trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp === --- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp 2011-02-05 14:58:06 UTC (rev 4022) +++ trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JS.jpp 2011-02-07 17:37:01 UTC (rev 4023) @@ -882,10 +882,10 @@ * Placing a trap on this allows the interception of all read and writes to this * proxylist object * - * // a (range) read trap - *proxylist.Elements ++= function() { }; - *// a (range) write trap - *proxylist.Elements ++= function(v) { }; + * // a (range) read trap + * proxylist.Elements ++= function() { }; + * // a (range) write trap + * proxylist.Elements ++= function(v) { }; * * @initial_value(N/A,code=false) * @type(N/A) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4014] trunk/org.vexi-core.devtools/src/test/java/test/ TestAllDevl.java
Revision: 4014 http://vexi.svn.sourceforge.net/vexi/?rev=4014&view=rev Author: jeffbuhrt Date: 2011-02-03 15:50:45 + (Thu, 03 Feb 2011) Log Message: --- corrected so memory profiler will run Modified Paths: -- trunk/org.vexi-core.devtools/src/test/java/test/TestAllDevl.java Modified: trunk/org.vexi-core.devtools/src/test/java/test/TestAllDevl.java === --- trunk/org.vexi-core.devtools/src/test/java/test/TestAllDevl.java 2011-02-01 03:17:56 UTC (rev 4013) +++ trunk/org.vexi-core.devtools/src/test/java/test/TestAllDevl.java 2011-02-03 15:50:45 UTC (rev 4014) @@ -1,8 +1,12 @@ package test; -import junit.framework.*; +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +import org.vexi.testutil.JUnitUtil; + import test.debug.TestDebugger; -import vexi.testing.JUnitUtil; public class TestAllDevl extends TestCase{ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[4013] trunk/org.vexi-core.main/src/main/jpp/org/vexi/core /Vexi.jpp
Revision: 4013 http://vexi.svn.sourceforge.net/vexi/?rev=4013&view=rev Author: jeffbuhrt Date: 2011-02-01 03:17:56 + (Tue, 01 Feb 2011) Log Message: --- Added vexi.system.gc() and vexi.system.memoryusage() for application debugging/development use. Example usage: var mem = vexi.system.memoryusage(); vexi.log.info("mem.maxMemory:" + mem.maxMemory); vexi.log.info("mem.totalMemory:" + mem.totalMemory); vexi.log.info("mem.freeMemory:" + mem.freeMemory); vexi.system.gc(); Modified Paths: -- trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp Modified: trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp === --- trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp 2011-01-31 16:35:30 UTC (rev 4012) +++ trunk/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp 2011-02-01 03:17:56 UTC (rev 4013) @@ -314,6 +314,7 @@ case "file": return getSub(name); case "global": return getSub(name); case "thread": return getSub(name); +case "system": return getSub(name); case "net": return getSub(name); case "net.rpc": return getSub(name); case "ui": return getSub(name); @@ -407,6 +408,16 @@ * @return(null) */ case "thread.yield": return METHOD; +/* Calls JVM's gc() + * @method + * @return(null) */ +case "system.gc": return METHOD; + +/* Returns Java's current: maxMemory, totalMemory, freeMemory respectively in KB + * @method + * @return(null) */ +case "system.memoryusage": return METHOD; + /* Logs its arguments by first passing them to stringify then formatting the resultant * strings so they are human readable * @method @@ -683,6 +694,20 @@ //#switch(JSU.toString(method)) case "exit": Main.exit(); return null; case "thread.yield": Main.SCHEDULER.sleep(-1); return null; +case "system.gc": System.gc(); return null; +case "system.memoryusage": +Runtime r = Runtime.getRuntime(); + +long freeMem = r.freeMemory() / 1024; +long maxMem = r.maxMemory() / 1024; +long totalMem = r.totalMemory() / 1024; + +JS ret = new JS.Obj(); +ret.put(JSU.S("maxMemory"), JSU.N(maxMem)); +ret.put(JSU.S("totalMemory"), JSU.N(totalMem)); +ret.put(JSU.S("freeMemory"), JSU.N(freeMem)); +return ret; + //#end break; case 1: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3997] trunk/org.vexi-vexi.widgets/src_main/vexi/util/date .t
Revision: 3997 http://vexi.svn.sourceforge.net/vexi/?rev=3997&view=rev Author: jeffbuhrt Date: 2011-01-24 22:43:33 + (Mon, 24 Jan 2011) Log Message: --- changed from .getYear() to .getFullYear(), now a date of 1/1 returns 1/1/2011 vs 1/1/111 (1900 based) Modified Paths: -- trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t Modified: trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t === --- trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t 2011-01-21 13:33:36 UTC (rev 3996) +++ trunk/org.vexi-vexi.widgets/src_main/vexi/util/date.t 2011-01-24 22:43:33 UTC (rev 3997) @@ -157,13 +157,13 @@ * 1 : date is after range */ static.isDateInRange = function(d, d1, d2) { -var dY = d.getYear(); +var dY = d.getFullYear(); var dM = d.getMonth(); var dD = d.getDate(); -var d1Y = d1.getYear(); +var d1Y = d1.getFullYear(); var d1M = d1.getMonth(); var d1D = d1.getDate(); -var d2Y = d2.getYear(); +var d2Y = d2.getFullYear(); var d2M = d2.getMonth(); var d2D = d2.getDate(); if (d1Y>dY or (d1Y==dY and (d1M>dM or (d1M==dM and d1D>dD { @@ -269,11 +269,11 @@ case "MMDD": s0 = s0 ? vexi.string.parseInt(s0, 10) : d.getMonth(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getDay(); -s2 = s2 ? expandYear(s2) : d.getYear(); +s2 = s2 ? expandYear(s2) : d.getFullYear(); o.day = s1; o.month = s0; o.year = s2; break; case "MMDD": -s0 = s0 ? expandYear(s0) : d.getYear(); +s0 = s0 ? expandYear(s0) : d.getFullYear(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getMonth(); s2 = s2 ? vexi.string.parseInt(s2, 10) : d.getDay(); o.day = s2; o.month = s1; o.year = s0; @@ -282,7 +282,7 @@ default: s0 = s0 ? vexi.string.parseInt(s0, 10) : d.getDay(); s1 = s1 ? vexi.string.parseInt(s1, 10) : d.getMonth(); -s2 = s2 ? expandYear(s2) : d.getYear(); +s2 = s2 ? expandYear(s2) : d.getFullYear(); o.day = s0; o.month = s1; o.year = s2; break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3923] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/tabpane.t
Revision: 3923 http://vexi.svn.sourceforge.net/vexi/?rev=3923&view=rev Author: jeffbuhrt Date: 2010-10-19 15:19:07 + (Tue, 19 Oct 2010) Log Message: --- reverted cleanup, caused problem on reuse of tabs Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-10-19 14:11:39 UTC (rev 3922) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-10-19 15:19:07 UTC (rev 3923) @@ -198,7 +198,6 @@ _c.v_tab.selected --= tabselectWrite; _c.v_tab.width --= sumWidths; _c.v_tabitem.thisbox = null; -_c.v_tab.v_card = null; v_tabwidthtotal -= _c.v_tab.width; taborder.remove(_c); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3922] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/tabpane.t
Revision: 3922 http://vexi.svn.sourceforge.net/vexi/?rev=3922&view=rev Author: jeffbuhrt Date: 2010-10-19 14:11:39 + (Tue, 19 Oct 2010) Log Message: --- additional cleanup on tab close Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-10-18 20:08:43 UTC (rev 3921) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-10-19 14:11:39 UTC (rev 3922) @@ -198,6 +198,7 @@ _c.v_tab.selected --= tabselectWrite; _c.v_tab.width --= sumWidths; _c.v_tabitem.thisbox = null; +_c.v_tab.v_card = null; v_tabwidthtotal -= _c.v_tab.width; taborder.remove(_c); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3919] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ text/edit.t
Revision: 3919 http://vexi.svn.sourceforge.net/vexi/?rev=3919&view=rev Author: jeffbuhrt Date: 2010-10-17 00:21:26 + (Sun, 17 Oct 2010) Log Message: --- Handle exception after surface cleanup org.vexi.lib.text.field: 148: exception: org.vexi.lib.text.edit:1733 Tried to get property "numchildren" from the null object at org.vexi.lib.text.edit:1733 at org.vexi.lib.widget.textfield:168 (trap on text) at org.vexi.lib.text.field:147 (trap on value) at org.vexi.lib.role.focusmanager:173 (trap on focused) at org.vexi.lib.role.clickable:89 (trap on _Release1) at vexi.util.redirect:36 (trap on _Release1) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2010-10-15 13:28:24 UTC (rev 3918) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2010-10-17 00:21:26 UTC (rev 3919) @@ -1730,6 +1730,8 @@ // special case for first line var b = thisbox[0]; +if (b == null) + return; var n = b.numchildren; for (var j=0; n>j; j++) { ret[++k] = b[j].text; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3915] trunk/widgets/org.vexi.widgets/src/vexi/util/ shreadboxes.t
Revision: 3915 http://vexi.svn.sourceforge.net/vexi/?rev=3915&view=rev Author: jeffbuhrt Date: 2010-10-13 14:57:13 + (Wed, 13 Oct 2010) Log Message: --- Cleanup a box and all children boxes, also setting all fields to null. Calls an optional unload() function to allow cleanup of any traps set by the object. Added Paths: --- trunk/widgets/org.vexi.widgets/src/vexi/util/shreadboxes.t Added: trunk/widgets/org.vexi.widgets/src/vexi/util/shreadboxes.t === --- trunk/widgets/org.vexi.widgets/src/vexi/util/shreadboxes.t (rev 0) +++ trunk/widgets/org.vexi.widgets/src/vexi/util/shreadboxes.t 2010-10-13 14:57:13 UTC (rev 3915) @@ -0,0 +1,29 @@ + + + + +Jeff Buhrt +Cleanup a box hierarchy + + +/** Cleanup a box and all children boxes, also setting all fields to null. + * Calls an optional unload() function to allow cleanup of any traps set by the object. + */ +static.shreadBoxes = function(abox) { + if (abox.numchildren > 1) { + for (var b = abox.numchildren-1; b >= 0; b--) { + if (abox[b] != null) + shreadBoxes(abox[b]); + } + } + if (abox.unload != null) + abox.unload(); + for (var b in abox) + abox[b] = null; + abox.clear(); +} + + + + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3860] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/tabpane.t
Revision: 3860 http://vexi.svn.sourceforge.net/vexi/?rev=3860&view=rev Author: jeffbuhrt Date: 2010-07-12 01:55:46 + (Mon, 12 Jul 2010) Log Message: --- support 'disabled' tabs (hidden and don't reappear until needed) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-07-01 02:34:59 UTC (rev 3859) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-07-12 01:55:46 UTC (rev 3860) @@ -59,6 +59,10 @@ // display as many as will fit, recently displayed first var c = taborder.first; for (var cw = 0; c!=null; c = taborder.after(c)) { +if (c.v_tab.enabled == false) { +c.v_tab.display = false; +continue; +} if (cw > 0 and cw + c.v_tab.width > hw) { break; } 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3854] branches/vexi3_old_build/core/org.vexi.core/src/org /vexi/core/Surface.java
Revision: 3854 http://vexi.svn.sourceforge.net/vexi/?rev=3854&view=rev Author: jeffbuhrt Date: 2010-06-24 15:50:45 + (Thu, 24 Jun 2010) Log Message: --- Vexi was looping (internally) when a frame was minimized. The render reflow abort flag was not being cleared when a window was minimized, so Vexi would spin loop until the window was restored. Modified Paths: -- branches/vexi3_old_build/core/org.vexi.core/src/org/vexi/core/Surface.java Modified: branches/vexi3_old_build/core/org.vexi.core/src/org/vexi/core/Surface.java === --- branches/vexi3_old_build/core/org.vexi.core/src/org/vexi/core/Surface.java 2010-06-24 15:47:40 UTC (rev 3853) +++ branches/vexi3_old_build/core/org.vexi.core/src/org/vexi/core/Surface.java 2010-06-24 15:50:45 UTC (rev 3854) @@ -679,8 +679,8 @@ /** runs the pre-render() and render() pipelines in the root Box to regenerate the backbuffer, then blits it to the screen */ public synchronized void render() { scheduled = false; -// do nothing if we are minimized if (minimized) { + abort = false; return; } // make sure the root is properly sized This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3853] trunk/core/org.vexi.core/src/main/java/org/vexi/ core/Surface.java
Revision: 3853 http://vexi.svn.sourceforge.net/vexi/?rev=3853&view=rev Author: jeffbuhrt Date: 2010-06-24 15:47:40 + (Thu, 24 Jun 2010) Log Message: --- Vexi was looping (internally) when a frame was minimized. The render reflow abort flag was not being cleared when a window was minimized, so Vexi would spin loop until the window was restored. Modified Paths: -- trunk/core/org.vexi.core/src/main/java/org/vexi/core/Surface.java Modified: trunk/core/org.vexi.core/src/main/java/org/vexi/core/Surface.java === --- trunk/core/org.vexi.core/src/main/java/org/vexi/core/Surface.java 2010-06-24 13:55:09 UTC (rev 3852) +++ trunk/core/org.vexi.core/src/main/java/org/vexi/core/Surface.java 2010-06-24 15:47:40 UTC (rev 3853) @@ -678,8 +678,8 @@ /** runs the pre-render() and render() pipelines in the root Box to regenerate the backbuffer, then blits it to the screen */ public synchronized void render() { scheduled = false; -// do nothing if we are minimized if (minimized) { + abort = false; return; } // make sure the root is properly sized This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3852] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ layout/grid.t
Revision: 3852 http://vexi.svn.sourceforge.net/vexi/?rev=3852&view=rev Author: jeffbuhrt Date: 2010-06-24 13:55:09 + (Thu, 24 Jun 2010) Log Message: --- corrected exception when clearing a table that used this grid (wrong variable was cleared) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/grid.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/grid.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/grid.t 2010-06-05 10:03:03 UTC (rev 3851) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/grid.t 2010-06-24 13:55:09 UTC (rev 3852) @@ -718,8 +718,8 @@ c.maxheight --= invokePlaceHeight; c.colspan --= invokePack; c.rowspan --= invokePack; -v.colspan --= checkInt; -v.rowspan --= checkInt; +c.colspan --= checkInt; +c.rowspan --= checkInt; c.v_gridbox = null; } else { throw "should not happen"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3841] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/body.t
Revision: 3841 http://vexi.svn.sourceforge.net/vexi/?rev=3841&view=rev Author: jeffbuhrt Date: 2010-05-20 01:38:36 + (Thu, 20 May 2010) Log Message: --- Safer string compare for string sort of basic table. Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t 2010-05-20 01:10:59 UTC (rev 3840) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t 2010-05-20 01:38:36 UTC (rev 3841) @@ -122,7 +122,7 @@ } /** compares two strings */ -var compString = function(a, b) { return (a.text ? a.text.toLowerCase():null) > (b.text ? b.text.toLowerCase():null); } +var compString = function(a, b) { return ((a.text ? a.text.toLowerCase():"").compareTo(b.text ? b.text.toLowerCase():"") > 0); } /** compares two numbers */ var compNumber = function(a, b) { return a.value > b.value; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3840] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/body.t
Revision: 3840 http://vexi.svn.sourceforge.net/vexi/?rev=3840&view=rev Author: jeffbuhrt Date: 2010-05-20 01:10:59 + (Thu, 20 May 2010) Log Message: --- Fixes sort of basic table. Sort was random because it just sorted nulls. The compare function now uses .text for a string and .value for a number (like it was before). [Try the demo to see that it now works.] Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t 2010-05-12 02:12:45 UTC (rev 3839) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/body.t 2010-05-20 01:10:59 UTC (rev 3840) @@ -122,10 +122,10 @@ } /** compares two strings */ -var compString = function(a, b) { return (a?a.toLowerCase():null) > (b?b.toLowerCase():null); } +var compString = function(a, b) { return (a.text ? a.text.toLowerCase():null) > (b.text ? b.text.toLowerCase():null); } /** compares two numbers */ -var compNumber = function(a, b) { return a > b; } +var compNumber = function(a, b) { return a.value > b.value; } /** sort items in ascending order according to column index 'ind' */ thisbox.sortAscending = function(ind, datatype) { @@ -135,14 +135,14 @@ vexi.log.info("sorting: "+ind+", "+datatype+", "+n); } // robustly select comparison function -var comp = (datatype == "string") ? compString : compNumber; +var comp = (datatype != "number") ? compString : compNumber; // iterate through children for (var i=1; n > i; i++) { -if (comp(thisbox[i][ind].value, thisbox[i-1][ind].value)) { +if (comp(thisbox[i][ind], thisbox[i-1][ind])) { // [v0, ..., v[i-1], v[i] - keep current order continue; } -if (comp(thisbox[0][ind].value, thisbox[i][ind].value)) { +if (comp(thisbox[0][ind], thisbox[i][ind])) { // [vi, v0, ...] - goes at the start of the list thisbox[0] = thisbox[i]; continue; @@ -154,10 +154,10 @@ // binary search (?) do { -if (comp(thisbox[i][ind].value, thisbox[mid][ind].value)) { +if (comp(thisbox[i][ind], thisbox[mid][ind])) { // [..., vm, ..., vi, ..., vh, ...] - above mid lo = mid; -} else if (comp(thisbox[mid][ind].value, thisbox[i][ind].value)) { +} else if (comp(thisbox[mid][ind], thisbox[i][ind])) { // [..., vl, ..., vi, ..., vm, ...] - below mid hi = mid; } else { @@ -188,14 +188,14 @@ vexi.log.info("sorting: "+ind+", "+datatype+", "+n); } // robustly select comparison function -var comp = (datatype == "string") ? compString : compNumber; +var comp = (datatype != "number") ? compString : compNumber; // iterate through children for (var i=1; n>i; i++) { -if (comp(thisbox[i-1][ind].value, thisbox[i][ind].value)) { +if (comp(thisbox[i-1][ind], thisbox[i][ind])) { // [v0, ..., v[i-1], v[i] - keep current order continue; } -if (comp(thisbox[i][ind].value, thisbox[0][ind].value)) { +if (comp(thisbox[i][ind], thisbox[0][ind])) { // [vi, v0, ...] - goes at the start of the list thisbox[0] = thisbox[i]; continue; @@ -207,10 +207,10 @@ // binary search (?) do { -if (comp(thisbox[mid][ind].value, thisbox[i][ind].value)) { +if (comp(thisbox[mid][ind], thisbox[i][ind])) { // [..., vm, ..., vi, ..., vh, ...] - above mid lo = mid; -} else if (comp(thisbox[i][ind].value, thisbox[mid][ind].value)) { +} else if (comp(thisbox[i][ind], thisbox[mid][ind])) { // [..., vl, ..., vi, ..., vm, ...] - below mid hi = mid; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -
[Vexi-svn] SF.net SVN: vexi:[3813] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/testcase_creation.t
Revision: 3813 http://vexi.svn.sourceforge.net/vexi/?rev=3813&view=rev Author: jeffbuhrt Date: 2010-03-04 18:31:41 + (Thu, 04 Mar 2010) Log Message: --- average vexi.box creation and applying templates across 100 loops Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t 2010-03-04 13:49:33 UTC (rev 3812) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t 2010-03-04 18:31:41 UTC (rev 3813) @@ -8,21 +8,27 @@ static.name = "Creation Timing Test Case"; static.category = "Test Cases"; +static.iterations = 100; + createTest = function(template) { -var startdt = vexi.date(); +var startdt = vexi.date(); // vexi.log.info("createTest 1:" + vexi.date().getSeconds() + "." + vexi.date().getMilliseconds() + ", " + template); -newbox = template(vexi.box); + +for (var i = 0; static.iterations > i; i++) +newbox = template(vexi.box); + var enddt = vexi.date(); var duration = (enddt.getSeconds() - startdt.getSeconds()) * 1000; if (0 > duration) duration = 1000; // seconds rolled over duration += (enddt.getMilliseconds() - startdt.getMilliseconds()); - + // vexi.log.info("createTest 2:" + vexi.date().getSeconds() + "." + vexi.date().getMilliseconds()); -vexi.log.info("createTest " + duration + "ms, template:" + template); +vexi.log.info("createTest " + duration + "ms for " + static.iterations + +" iterations (" + (duration/static.iterations) + "ms avg), template:" + template); } $create.action ++= function(v) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3812] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/testcase_creation.t
Revision: 3812 http://vexi.svn.sourceforge.net/vexi/?rev=3812&view=rev Author: jeffbuhrt Date: 2010-03-04 13:49:33 + (Thu, 04 Mar 2010) Log Message: --- Added timing testcase for template creation. datefield.t is very slow in comparison to other widgets. Added Paths: --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_creation.t 2010-03-04 13:49:33 UTC (rev 3812) @@ -0,0 +1,126 @@ + + +static.name = "Creation Timing Test Case"; +static.category = "Test Cases"; + + + + +createTest = function(template) { +var startdt = vexi.date(); +// vexi.log.info("createTest 1:" + vexi.date().getSeconds() + "." + vexi.date().getMilliseconds() + ", " + template); +newbox = template(vexi.box); +var enddt = vexi.date(); +var duration = (enddt.getSeconds() - startdt.getSeconds()) * 1000; +if (0 > duration) +duration = 1000; // seconds rolled over +duration += (enddt.getMilliseconds() - startdt.getMilliseconds()); + +// vexi.log.info("createTest 2:" + vexi.date().getSeconds() + "." + vexi.date().getMilliseconds()); +vexi.log.info("createTest " + duration + "ms, template:" + template); +} + +$create.action ++= function(v) { + + +template = vexi..vexi.widget.button; + +createTest($test12.template); + +template = vexi..vexi.widget.check; + +createTest($test13.template); + +template = vexi..vexi.widget.button; + +createTest($test14.template); + +template = vexi..vexi.widget.combo; + +createTest($test15.template); + +template = vexi..vexi.widget.datefield; + +createTest($test16.template); + +template = vexi..vexi.widget.item; + +createTest($test17.template); + +template = vexi..vexi.widget.menuitem; + +createTest($test18.template); + +template = vexi..vexi.widget.option; + +createTest($test19.template); + +template = vexi..vexi.widget.progressbar; + +createTest($test20.template); + +template = vexi..vexi.widget.radio; + +createTest($test21.template); + +template = vexi..vexi.widget.scrollbar; + +createTest($test22.template); + +template = vexi..vexi.widget.scrollpane; + +createTest($test23.template); + +template = vexi..vexi.widget.slider; + +createTest($test24.template); + +template = vexi..vexi.widget.spin; + +createTest($test25.template); + +template = vexi..vexi.widget.splitpane; + +createTest($test26.template); + +template = vexi..vexi.widget.textarea; + +createTest($test27.template); + +template = vexi..vexi.widget.textfield; + +createTest($test28.template); + +vexi.log.info("Creation test done\n\n"); + +cascade = v; +} + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3805] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/widgets_basic.t
Revision: 3805 http://vexi.svn.sourceforge.net/vexi/?rev=3805&view=rev Author: jeffbuhrt Date: 2010-02-17 18:50:41 + (Wed, 17 Feb 2010) Log Message: --- allow using selected on a selectgroup (vs having to use a myradio.group.selected), also allow reading the group Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t 2010-02-17 18:50:23 UTC (rev 3804) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t 2010-02-17 18:50:41 UTC (rev 3805) @@ -47,10 +47,10 @@ $b1.action ++= function(v) { cascade = v; -if ($r1.group.selected and $r1.group.selected.nextselect) -$r1.group.selected.nextselect.selected = true; -else for (var i=0; $radios.numchildren > i; i++) -if ($radios[i].enabled) { $radios[i].selected = true; break; } +if ($radios.selected and $radios.selected.nextselect) +$radios.selected.nextselect.selected = true; +else + $radios.selectFirst(); } $b2.action ++= function(v) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3804] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/selectcontainer.t
Revision: 3804 http://vexi.svn.sourceforge.net/vexi/?rev=3804&view=rev Author: jeffbuhrt Date: 2010-02-17 18:50:23 + (Wed, 17 Feb 2010) Log Message: --- allow using selected on a selectgroup (vs having to use a myradio.group.selected), also allow reading the group Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectcontainer.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectcontainer.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectcontainer.t 2010-02-17 18:48:16 UTC (rev 3803) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectcontainer.t 2010-02-17 18:50:23 UTC (rev 3804) @@ -1,6 +1,6 @@ - + Charles Goodwin @@ -18,6 +18,17 @@ thisbox.v_content = thisbox; thisbox.v_listgroup; +/** access to the group */ +thisbox.group ++= function() { + return thisbox.v_listgroup; +} + +/** allow trapping/putting to selected */ +v_listgroup ++= function(v) { + cascade = v; + rdt..addRedirect(thisbox, thisbox.v_listgroup, "selected"); +} + /** select the first available item in the list */ thisbox.selectFirst = function() { var group = v_listgroup; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3803] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/popupable.t
Revision: 3803 http://vexi.svn.sourceforge.net/vexi/?rev=3803&view=rev Author: jeffbuhrt Date: 2010-02-17 18:48:16 + (Wed, 17 Feb 2010) Log Message: --- reduce leakage (GC) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupable.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupable.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupable.t 2010-02-16 01:18:40 UTC (rev 3802) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupable.t 2010-02-17 18:48:16 UTC (rev 3803) @@ -136,6 +136,7 @@ } trapee.v_popbox.Move --= static.blockEvent; trapee.v_popbox.Press1 --= static.blockEvent; +trapee.v_popmaster = null; } cascade = v; if (v) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3801] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/popupmanager.t
Revision: 3801 http://vexi.svn.sourceforge.net/vexi/?rev=3801&view=rev Author: jeffbuhrt Date: 2010-02-11 17:14:31 + (Thu, 11 Feb 2010) Log Message: --- slows leaks. I also needed an if to make handle a possible exception on Close Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 2010-02-11 13:55:40 UTC (rev 3800) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 2010-02-11 17:14:31 UTC (rev 3801) @@ -55,6 +55,7 @@ if (p.visible) { p.display = false; } +p.v_popmaster = null; } var popboxDisplay = function(v) { @@ -71,8 +72,10 @@ // use default group if none is specified var g = p.popgroup ? p.popgroup : "default"; //vexi.trace("popcount--: "+popcount+" ("+g+")"); -popforegs[g].display = false; -popgroups[g] = null; +if (popforegs[g]) + popforegs[g].display = false; +if (popgroups[g]) + popgroups[g] = null; } /** private function to pop up box 'v' */ @@ -197,14 +200,14 @@ $container[n] = fg; // simple cleanup on frame close (slowdown Vexi leaks) -surface.frame.Close ++= function(v) { -cascade = v; -popforegs[g] = null; -$container[n] = null; -} +//surface.frame.Close ++= function(v) { +//cascade = v; +//popforegs[g] = null; +//$container[n] = null; +//} } } - + /** remove a popupable box from the surface */ model.delPopBox = function(v) { var p = v.v_popbox; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3799] trunk/core/org.ibex.js/src/org/ibex/js/parse/Parser .java
Revision: 3799 http://vexi.svn.sourceforge.net/vexi/?rev=3799&view=rev Author: jeffbuhrt Date: 2010-02-10 22:26:25 + (Wed, 10 Feb 2010) Log Message: --- additional file not committed during: memory and memoryhist modes now run (again) Modified Paths: -- trunk/core/org.ibex.js/src/org/ibex/js/parse/Parser.java Modified: trunk/core/org.ibex.js/src/org/ibex/js/parse/Parser.java === --- trunk/core/org.ibex.js/src/org/ibex/js/parse/Parser.java2010-02-10 22:25:09 UTC (rev 3798) +++ trunk/core/org.ibex.js/src/org/ibex/js/parse/Parser.java2010-02-10 22:26:25 UTC (rev 3799) @@ -149,7 +149,7 @@ abstract public int toInt(Object o); static public class ScopeEntry{ - final Object slot; + public Object slot; final boolean isConst; public ScopeEntry(Object slot, boolean isConst){ this.slot = slot; @@ -163,7 +163,7 @@ int base; int end; int newScopeInsn; -Map mapping = new HashMap(); +public Map mapping = new HashMap(); ScopeInfo(){} // For the debugger. @@ -173,8 +173,8 @@ //, the function and the pc of the bytecode.. // Source file name - stored in jsfunc //(FIXME - really should be entire path, is this the case?) -Function jsfunc; // JSFunc which it belongs to -int pc; // pc where scope was created +public Function jsfunc; // JSFunc which it belongs to +public int pc; // pc where scope was created } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3798] trunk/core/org.vexi.devl/src/org/vexi/instrument/ memory/Memory.java
Revision: 3798 http://vexi.svn.sourceforge.net/vexi/?rev=3798&view=rev Author: jeffbuhrt Date: 2010-02-10 22:25:09 + (Wed, 10 Feb 2010) Log Message: --- Added button to display Java Heap information Modified Paths: -- trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/Memory.java Modified: trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/Memory.java === --- trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/Memory.java 2010-02-10 02:59:37 UTC (rev 3797) +++ trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/Memory.java 2010-02-10 22:25:09 UTC (rev 3798) @@ -1,15 +1,26 @@ package org.vexi.instrument.memory; -import java.awt.*; -import java.awt.event.*; -import java.lang.ref.*; -import java.util.*; +import java.awt.FlowLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.lang.ref.Reference; +import java.lang.ref.SoftReference; +import java.text.NumberFormat; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.HashMap; import java.util.List; +import java.util.Map; -import javax.swing.*; +import javax.swing.JButton; +import javax.swing.JFrame; -import org.ibex.js.*; -import org.ibex.util.*; +import org.ibex.js.Instr; +import org.ibex.js.JS; +import org.ibex.js.JSExn; +import org.ibex.js.JSU; +import org.ibex.util.Basket; import org.vexi.util.Log; // FIXME - move devl js implementation out of here @@ -179,23 +190,39 @@ } }); - JButton button3 = new JButton("GC"); + JButton button3 = new JButton("Memory Use"); button3.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { + Runtime r = Runtime.getRuntime(); + + long freeMem = r.freeMemory() / 1024; + long maxMem = r.maxMemory() / 1024; + long totalMem = r.totalMemory() / 1024; + +System.out.println("Memory Use " + + NumberFormat.getInstance().format(maxMem).toString() + "KB Maximum, " + + NumberFormat.getInstance().format(totalMem).toString() + "KB InUse, " + + NumberFormat.getInstance().format(freeMem).toString() + "KB Free"); +} + }); + + JButton button4 = new JButton("GC"); + button4.addActionListener(new ActionListener(){ + public void actionPerformed(ActionEvent e) { System.gc(); System.runFinalization(); } }); - JButton button4 = new JButton("Assert GC"); - button4.addActionListener(new ActionListener(){ + JButton button5 = new JButton("Assert GC"); + button5.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { assertCollection(); } }); - JButton button5 = new JButton("Reset MARKER"); - button5.addActionListener(new ActionListener(){ + JButton button6 = new JButton("Reset MARKER"); + button6.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { MARKER=new Marker(); } @@ -206,7 +233,8 @@ frame.add(button3); frame.add(button4); frame.add(button5); - frame.setSize(100,200); + frame.add(button6); + frame.setSize(100,220); frame.setVisible(true); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3797] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ demomenus.t
Revision: 3797 http://vexi.svn.sourceforge.net/vexi/?rev=3797&view=rev Author: jeffbuhrt Date: 2010-02-10 02:59:37 + (Wed, 10 Feb 2010) Log Message: --- sort demo menu items Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t 2010-02-10 01:10:02 UTC (rev 3796) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t 2010-02-10 02:59:37 UTC (rev 3797) @@ -52,21 +52,43 @@ +// sort by category, text +thisbox.sortfn = function(arg1, arg2) { +if (arg1.category > arg2.category) return -1; +else if (arg2.category > arg1.category) return 1; +else if (arg1.text > arg2.text) return -1; +else if (arg2.text > arg1.text) return 1; +else return 0; +} + +// load and sort menu items from the 'feature' subdirectory +var features = .feature; +var sortedFeatures = []; var submenus = {}; - -var features = .feature; - +var i = 0; for (var key in features) { // in case we encounter .svn if (key.charAt(0) == '.') continue; -var m = .demoitem(vexi.box); -m.load = features[key]; + +sortedFeatures[i] = .demoitem(vexi.box); +sortedFeatures[i].load = features[key]; var n = features[key]..name; -m.text = n ? n : key; -var s = features[key]..category; -if (s == "Test Cases") - m.testcase = true; -if (!s) s = "Default"; +sortedFeatures[i].text = n ? n : key; + +var cat = features[key]..category; +if (cat == "Test Cases") +sortedFeatures[i].testcase = true; +if (!cat) +cat = "Default"; +sortedFeatures[i].category = cat; +i++; +} + +sortedFeatures.sort(thisbox.sortfn); + +for(var i = 0; sortedFeatures.length > i; i++) { +var m = sortedFeatures[i]; +var s = m.category; if (!submenus[s]) { submenus[s] = wi.submenu(vexi.box); submenus[s].text = s; @@ -75,5 +97,10 @@ submenus[s][0] = m; } - +// not reference again, good style given demomenus lives until the demo is closed +features = null; +sortedFeatures = null; +submenus = null; + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3795] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/testcase_leak_surface.t
Revision: 3795 http://vexi.svn.sourceforge.net/vexi/?rev=3795&view=rev Author: jeffbuhrt Date: 2010-02-08 19:29:25 + (Mon, 08 Feb 2010) Log Message: --- layout.t was pre-applying surface, which caused tooltipmanager to leak-tastcase to show a simple leak when using the memory test Added Paths: --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_leak_surface.t Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_leak_surface.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_leak_surface.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/testcase_leak_surface.t 2010-02-08 19:29:25 UTC (rev 3795) @@ -0,0 +1,14 @@ + + + + +static.name = "Leak Demo (surface)"; +static.category = "Test Cases"; + + + +thisbox.MARKER = vexi.devl.MARKER; +vexi.log.info("surface leak test, (re-)applies surface causing tooltipmanager to leak"); + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3794] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/layout.t
Revision: 3794 http://vexi.svn.sourceforge.net/vexi/?rev=3794&view=rev Author: jeffbuhrt Date: 2010-02-08 19:28:27 + (Mon, 08 Feb 2010) Log Message: --- layout.t was pre-applying surface, which caused tooltipmanager to leak. Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/layout.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/layout.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/layout.t 2010-02-08 17:51:54 UTC (rev 3793) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/layout.t 2010-02-08 19:28:27 UTC (rev 3794) @@ -5,8 +5,7 @@ static.name = "Layout"; static.category = "Layout"; - - + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3793] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/surface.t
Revision: 3793 http://vexi.svn.sourceforge.net/vexi/?rev=3793&view=rev Author: jeffbuhrt Date: 2010-02-08 17:51:54 + (Mon, 08 Feb 2010) Log Message: --- surface demo doesn't leak now (use as baseline for our other leaking widgets)-still need to find leaks in demos: table_basic, table_dynamic, layout. Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/surface.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/surface.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/surface.t 2010-02-08 17:51:13 UTC (rev 3792) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/surface.t 2010-02-08 17:51:54 UTC (rev 3793) @@ -140,8 +140,8 @@ o.event.Release3 --= eventTrap; } -// add traps -if (s) { +// add traps (only if v=true, v=false is when we are removing a surface) +if (v and s) { // other s.event.addMoveTrap(eventTrap); s.frame.Maximized ++= maxUnmax; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3792] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ widget/tabpane.t
Revision: 3792 http://vexi.svn.sourceforge.net/vexi/?rev=3792&view=rev Author: jeffbuhrt Date: 2010-02-08 17:51:13 + (Mon, 08 Feb 2010) Log Message: --- surface demo doesn't leak now (use as baseline for our other leaking widgets)-still need to find leaks in demos: table_basic, table_dynamic, layout. Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-02-07 01:28:49 UTC (rev 3791) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/tabpane.t 2010-02-08 17:51:13 UTC (rev 3792) @@ -182,6 +182,7 @@ _c.v_tab.selected --= tabselectWrite; _c.v_tab.width --= sumWidths; _c.v_tabitem.thisbox = null; +_c.v_tab.v_card = null; v_tabwidthtotal -= _c.v_tab.width; taborder.remove(_c); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3791] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/popupmanager.t
Revision: 3791 http://vexi.svn.sourceforge.net/vexi/?rev=3791&view=rev Author: jeffbuhrt Date: 2010-02-07 01:28:49 + (Sun, 07 Feb 2010) Log Message: --- Allows option's and other popupables to be gc'd when the frame is closed. Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 2010-02-05 22:03:19 UTC (rev 3790) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t 2010-02-07 01:28:49 UTC (rev 3791) @@ -195,6 +195,13 @@ } } $container[n] = fg; + +// simple cleanup on frame close (slowdown Vexi leaks) +surface.frame.Close ++= function(v) { +cascade = v; +popforegs[g] = null; +$container[n] = null; +} } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3790] trunk/core/org.vexi.devl/src/org/vexi/instrument/ memory/GCUtil.java
Revision: 3790 http://vexi.svn.sourceforge.net/vexi/?rev=3790&view=rev Author: jeffbuhrt Date: 2010-02-05 22:03:19 + (Fri, 05 Feb 2010) Log Message: --- added static/java/JS to the end of each line to make reading the output quicker to follow Modified Paths: -- trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/GCUtil.java Modified: trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/GCUtil.java === --- trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/GCUtil.java 2010-02-05 15:28:06 UTC (rev 3789) +++ trunk/core/org.vexi.devl/src/org/vexi/instrument/memory/GCUtil.java 2010-02-05 22:03:19 UTC (rev 3790) @@ -141,7 +141,7 @@ Iterator it = act.getItem().staticRefs(); if (it.hasNext()) { Field fld = (Field)it.next(); -return fld + "->\n" + act; +return fld + "-> (from static)\n" + act; } // follow incomming @@ -209,18 +209,18 @@ public String toString() { String r = ""; if(Memory.get(obj)!=null) - r+= Memory.get(obj).firstLine() + ":"; + r+= Memory.get(obj).firstLine() + ":"; // JS object else - r+= ""; + r+= ""; // non-JS object if(obj instanceof JS){ try { - return r+=JSON.marshal((JS)obj).coerceToString(); + return r+=JSON.marshal((JS)obj).coerceToString() + " JS"; } catch (JSExn e) { return r+=obj.toString() + " (Could not stringify: "+e.getMessage()+")"; } }else{ - r+=obj.toString(); + r+=obj.toString() + " java"; } return r; //return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3788] trunk/core/org.vexi.devl
Revision: 3788 http://vexi.svn.sourceforge.net/vexi/?rev=3788&view=rev Author: jeffbuhrt Date: 2010-02-03 22:25:35 + (Wed, 03 Feb 2010) Log Message: --- memory and memoryhist modes now run (again) Modified Paths: -- trunk/core/org.vexi.devl/.classpath trunk/core/org.vexi.devl/src/org/ibex/js/ObjTree.java trunk/core/org.vexi.devl/src/org/ibex/js/RTScopeInfo.java trunk/core/org.vexi.devl/src/org/ibex/js/ScopeInfoManager.java trunk/core/org.vexi.devl/src/org/ibex/js/ThreadInfo.java trunk/core/org.vexi.devl/src/org/vexi/devl/Main.java trunk/core/org.vexi.devl/src/org/vexi/instrument/debug/DebugHandler.java trunk/core/org.vexi.devl/src/org/vexi/instrument/profile/Profile.java Modified: trunk/core/org.vexi.devl/.classpath === --- trunk/core/org.vexi.devl/.classpath 2010-02-02 20:44:47 UTC (rev 3787) +++ trunk/core/org.vexi.devl/.classpath 2010-02-03 22:25:35 UTC (rev 3788) @@ -3,12 +3,12 @@ - + Modified: trunk/core/org.vexi.devl/src/org/ibex/js/ObjTree.java === --- trunk/core/org.vexi.devl/src/org/ibex/js/ObjTree.java 2010-02-02 20:44:47 UTC (rev 3787) +++ trunk/core/org.vexi.devl/src/org/ibex/js/ObjTree.java 2010-02-03 22:25:35 UTC (rev 3788) @@ -1,8 +1,11 @@ package org.ibex.js; -import java.util.*; +import java.util.HashMap; +import java.util.Hashtable; +import java.util.Map; +import java.util.Vector; -import org.ibex.js.Parser.ScopeInfo; +import org.ibex.js.parse.Parser.ScopeInfo; /** A Tree */ class ObjTree implements org.vexi.instrument.debug.Constants{ Modified: trunk/core/org.vexi.devl/src/org/ibex/js/RTScopeInfo.java === --- trunk/core/org.vexi.devl/src/org/ibex/js/RTScopeInfo.java 2010-02-02 20:44:47 UTC (rev 3787) +++ trunk/core/org.vexi.devl/src/org/ibex/js/RTScopeInfo.java 2010-02-03 22:25:35 UTC (rev 3788) @@ -1,10 +1,12 @@ package org.ibex.js; import java.util.HashMap; -import org.ibex.js.Parser.ScopeInfo; +import org.ibex.js.parse.Function; +import org.ibex.js.parse.Parser.ScopeInfo; + /** As opposed to ScopeInfo which comes at compile time */ public class RTScopeInfo { @@ -20,11 +22,11 @@ scopeInfos.put(sikey(si.jsfunc, si.pc), si); } - static private String sikey(JSFunction jsfunc, int pc){ + static private String sikey(Function jsfunc, int pc){ return (jsfunc.definedAt() + ":" + pc); } - static public void put(Scope scope, JSFunction f, int pc){ + static public void put(Scope scope, Function f, int pc){ int lastNewScope = ScopeInfoManager.getLastNEWSCOPE(f,pc); if(scopeToRTSI.get(scope) != null) return; @@ -45,11 +47,11 @@ } - RTScopeInfo(JSFunction f, int pc){ + RTScopeInfo(Function f, int pc){ this.f = f; this.pc = pc; } -JSFunction f;// Function it belongs to +Function f;// Function it belongs to int pc; } \ No newline at end of file Modified: trunk/core/org.vexi.devl/src/org/ibex/js/ScopeInfoManager.java === --- trunk/core/org.vexi.devl/src/org/ibex/js/ScopeInfoManager.java 2010-02-02 20:44:47 UTC (rev 3787) +++ trunk/core/org.vexi.devl/src/org/ibex/js/ScopeInfoManager.java 2010-02-03 22:25:35 UTC (rev 3788) @@ -1,10 +1,15 @@ package org.ibex.js; -import java.util.*; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.Vector; -import org.ibex.js.Parser.*; +import org.ibex.js.parse.ByteCodes; +import org.ibex.js.parse.Function; +import org.ibex.js.parse.Parser.ScopeEntry; +import org.ibex.js.parse.Parser.ScopeInfo; +import org.vexi.instrument.debug.MessagePasser.IMessagePart; import org.vexi.util.Log; -import org.vexi.instrument.debug.MessagePasser.IMessagePart; public class ScopeInfoManager implements org.vexi.instrument.debug.Constants{ @@ -125,7 +130,7 @@ // Uses scopeinfo to recover var index from varname ScopeInfo si = RTScopeInfo.Map.get(rtsi); ScopeEntry entry = (ScopeEntry) si.mapping.get(varName); - if(entry!=null)return entry.slot; + if(entry!=null)return (JSNumber.I)entry.slot; // Try parent scope (ScopeInfos don't have references to their // parents) scope = scope.parent; @@ -276,20 +281,21 @@ // Returns key (name) from value (scopeslot) static String reverseLookupScopeInfo(Sco
[Vexi-svn] SF.net SVN: vexi:[3787] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ text/edit.t
Revision: 3787 http://vexi.svn.sourceforge.net/vexi/?rev=3787&view=rev Author: jeffbuhrt Date: 2010-02-02 20:44:47 + (Tue, 02 Feb 2010) Log Message: --- handle a race condition where textalign (and other properties) were ignored (sometimes) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2010-01-26 19:12:11 UTC (rev 3786) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/text/edit.t 2010-02-02 20:44:47 UTC (rev 3787) @@ -1635,7 +1635,14 @@ while (thisbox[numblocks]) thisbox[numblocks] = null; // singleline -} else thisbox[0].text = t; +} +else { +thisbox[0].text = t; +thisbox[0].font = font; +thisbox[0].fontsize = fontsize; +thisbox[0].textalign = textalign; +thisbox[0].textcolor = textcolor; +} } // reset the cursor This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3786] trunk/widgets/org.vexi.widgets/src/vexi/util/date.t
Revision: 3786 http://vexi.svn.sourceforge.net/vexi/?rev=3786&view=rev Author: jeffbuhrt Date: 2010-01-26 19:12:11 + (Tue, 26 Jan 2010) Log Message: --- added: allowzeroday="true" allows the day to be zero (for selecting a whole month (account period)) Modified Paths: -- trunk/widgets/org.vexi.widgets/src/vexi/util/date.t Modified: trunk/widgets/org.vexi.widgets/src/vexi/util/date.t === --- trunk/widgets/org.vexi.widgets/src/vexi/util/date.t 2010-01-22 13:32:46 UTC (rev 3785) +++ trunk/widgets/org.vexi.widgets/src/vexi/util/date.t 2010-01-26 19:12:11 UTC (rev 3786) @@ -30,6 +30,9 @@ * weekday the day of the week + + * allowzeroday + when true allows the day to be zero (for selecting a whole month (account period)) This date object also comes with several helper functions: @@ -90,17 +93,21 @@ /** constrain days */ static.dayWrite = function(v) { if (v != null) { -if (typeof(v)=="string") v = vexi.string.parseInt(v); -// NOTE: the order of the monthday +=/-= and month ++/-- -// is important and dependent on days surplus / shortage -while (v>trapee.monthdays) { -v -= trapee.monthdays; -trapee.month++; +if (trapee.allowzeroday and v == 0) +; + else { +if (typeof(v)=="string") v = vexi.string.parseInt(v); + // NOTE: the order of the monthday +=/-= and month ++/-- +// is important and dependent on days surplus / shortage +while (v>trapee.monthdays) { +v -= trapee.monthdays; +trapee.month++; +} +while (1>v) { +trapee.month--; +v += trapee.monthdays; +} } -while (1>v) { -trapee.month--; -v += trapee.monthdays; -} } cascade = v; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3781] trunk/widgets/org.vexi.widgets/src/org/vexi/theme/ classic/datefield.t
Revision: 3781 http://vexi.svn.sourceforge.net/vexi/?rev=3781&view=rev Author: jeffbuhrt Date: 2010-01-20 22:37:45 + (Wed, 20 Jan 2010) Log Message: --- allow empty value separator ("") and setting an empty value Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2010-01-19 16:31:36 UTC (rev 3780) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2010-01-20 22:37:45 UTC (rev 3781) @@ -316,7 +316,7 @@ } static.textRead = function() { -var s = trapee.valueseparator ? trapee.valueseparator : trapee.textseparator; +var s = trapee.valueseparator != null ? trapee.valueseparator : trapee.textseparator; var f = trapee.valueformat ? trapee.valueformat : trapee.textformat; var y = trapee.year; var m = trapee.month; @@ -351,6 +351,8 @@ static.valueRead = function() { var t = trapee.text; return t ? t : null; } static.valueWrite = function(v) { + if (v == "") + v = null; switch (typeof(v)) { case "date": trapee.date = v; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3780] trunk/widgets/org.vexi.widgets/src/org/vexi/theme/ classic/datefield.t
Revision: 3780 http://vexi.svn.sourceforge.net/vexi/?rev=3780&view=rev Author: jeffbuhrt Date: 2010-01-19 16:31:36 + (Tue, 19 Jan 2010) Log Message: --- changed to allow air theme to call without getting a core layout error Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2010-01-15 19:28:18 UTC (rev 3779) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2010-01-19 16:31:36 UTC (rev 3780) @@ -4,7 +4,9 @@ xmlns:conf="vexi.conf" xmlns:lib="org.vexi.lib" xmlns:lay="vexi.layout" -xmlns:util="vexi.util"> +xmlns:util="vexi.util" + xmlns:classic="org.vexi.theme.classic" > + Charles Goodwin @@ -14,7 +16,7 @@ - + @@ -30,12 +32,12 @@ - + - - + + - + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3774] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/widgets_datefield.t
Revision: 3774 http://vexi.svn.sourceforge.net/vexi/?rev=3774&view=rev Author: jeffbuhrt Date: 2010-01-13 17:11:51 + (Wed, 13 Jan 2010) Log Message: --- fixed duplicate id problem in testcase Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t 2010-01-12 03:26:47 UTC (rev 3773) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t 2010-01-13 17:11:51 UTC (rev 3774) @@ -13,7 +13,7 @@ - + @@ -43,8 +43,8 @@ -$datevalue.text ++= function(v) { - $date.value = $datevalue.text; +$inputdatevalue.text ++= function(v) { + $date.value = $inputdatevalue.text; } $date.text ++= function(v) { 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3772] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature
Revision: 3772 http://vexi.svn.sourceforge.net/vexi/?rev=3772&view=rev Author: jeffbuhrt Date: 2010-01-08 01:36:18 + (Fri, 08 Jan 2010) Log Message: --- renamed to be datefield specific and added more options/controls Added Paths: --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t Removed Paths: - trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t Copied: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t (from rev 3771, trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t) === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_datefield.t 2010-01-08 01:36:18 UTC (rev 3772) @@ -0,0 +1,79 @@ + + + + +static.name = "Datefield"; +static.category = "Widgets"; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +$datevalue.text ++= function(v) { + $date.value = $datevalue.text; +} + +$date.text ++= function(v) { + cascade = v; + vexi.log.info("$date.text:" + $date.text); +} +$date.value ++= function(v) { + cascade = v; + vexi.log.info("$date.value:" + $date.value); +} + +$date_textformat.value ++= function(v) { + $date.textformat = v; + cascade = v; +} + +$getdatetext.action ++= function(v) { +$datetext.text = $date.text; +cascade = v; +} + +$date_valueformat.value ++= function(v) { + $date.valueformat = v; + cascade = v; +} + +$getdatevalue.action ++= function(v) { +$datevalue.text = $date.value; +cascade = v; +} + + Deleted: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t 2010-01-07 22:39:11 UTC (rev 3771) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t 2010-01-08 01:36:18 UTC (rev 3772) @@ -1,51 +0,0 @@ - - - - -static.name = "Widgets (Misc 2)"; -static.category = "Widgets"; - - - - - - - - - - - - - - - - - - - - - - - - - -$dateformat.value ++= function(v) { - $date.textformat = v; - cascade = v; -} - -$datevalue.text ++= function(v) { - $date.value = $datevalue.text; -} - -$date.text ++= function(v) { - cascade = v; - vexi.log.info("$date.text:" + $date.text); -} -$date.value ++= function(v) { - cascade = v; - vexi.log.info("$date.value:" + $date.value); -} - - 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3771] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/widgets_misc2.t
Revision: 3771 http://vexi.svn.sourceforge.net/vexi/?rev=3771&view=rev Author: jeffbuhrt Date: 2010-01-07 22:39:11 + (Thu, 07 Jan 2010) Log Message: --- Calendar on Date Widget demo/testing. Note the text/value traps or a getter need to be reviewed. $date.text changes when manually input, but not when clicked. Added Paths: --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_misc2.t 2010-01-07 22:39:11 UTC (rev 3771) @@ -0,0 +1,51 @@ + + + + +static.name = "Widgets (Misc 2)"; +static.category = "Widgets"; + + + + + + + + + + + + + + + + + + + + + + + + + +$dateformat.value ++= function(v) { + $date.textformat = v; + cascade = v; +} + +$datevalue.text ++= function(v) { + $date.value = $datevalue.text; +} + +$date.text ++= function(v) { + cascade = v; + vexi.log.info("$date.text:" + $date.text); +} +$date.value ++= function(v) { + cascade = v; + vexi.log.info("$date.value:" + $date.value); +} + + 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3770] trunk/widgets/org.vexi.widgets/src/vexi/layout/ gridproxy.t
Revision: 3770 http://vexi.svn.sourceforge.net/vexi/?rev=3770&view=rev Author: jeffbuhrt Date: 2010-01-07 21:36:35 + (Thu, 07 Jan 2010) Log Message: --- spelling correction and hint on gridproxy usage... Noted how the boxes of the gridproxy'd template will individually become children of the grid. Added Paths: --- trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t Added: trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t === --- trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t (rev 0) +++ trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t 2010-01-07 21:36:35 UTC (rev 3770) @@ -0,0 +1,37 @@ + + + + +Charles Goodwin +Grid Proxy +For slotting templated children into a grid + +Useful for managing layout in a grid but still being able +to use templates: + +Example mytemplate.t: + + + + + + + + +Here all $A boxes are in col 1, all $B boxes in col 2: + + + + + + +Note: Three copies of the the boxes $A and $B will each appear be children of the grid vs + three mytemplates being a child of grid. [Helpful hint if you do something that walks + the children of grid like we did. -Jeff] + + + + +thisbox.v_gridcontent = thisbox; + + 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3769] trunk/widgets/org.vexi.widgets/src/vexi/layout/ gridproxy.t
Revision: 3769 http://vexi.svn.sourceforge.net/vexi/?rev=3769&view=rev Author: jeffbuhrt Date: 2010-01-07 21:34:19 + (Thu, 07 Jan 2010) Log Message: --- spelling correction and hint on gridproxy usage... Noted how the boxes of the gridproxy'd template will individually become children of the grid. Removed Paths: - trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t Deleted: trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t === --- trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t 2009-12-24 04:48:39 UTC (rev 3768) +++ trunk/widgets/org.vexi.widgets/src/vexi/layout/gridproxy.t 2010-01-07 21:34:19 UTC (rev 3769) @@ -1,33 +0,0 @@ - - - - -Charles Goodwin -Grid Proxy -For slotting templated children into a grid - -Useful for managing layout in a grid but still being able -to use templates: - -Example mytemplate.t: - - - - - - - - -Here all $A boxes are in col 1, all $B boxes in col 2: - - - - - - - - - -thisbox.v_gridcontent = thisbox; - - 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3718] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/focusmanager.t
Revision: 3718 http://vexi.svn.sourceforge.net/vexi/?rev=3718&view=rev Author: jeffbuhrt Date: 2009-10-22 21:25:06 + (Thu, 22 Oct 2009) Log Message: --- 'surface.frame.Focused' was not reading the cascaded value. Now the 1st focused field on a new surface even starts blinking (if it is a textfield). Thanks Charity for the fix! Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t 2009-10-22 10:48:05 UTC (rev 3717) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t 2009-10-22 21:25:06 UTC (rev 3718) @@ -34,7 +34,7 @@ surface.frame.Focused ++= function(v) { cascade = v; if (focus) { -if (surface.frame.Focused) { +if (v) { focus.focused = true; } else { focus.focused = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3697] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/thread_bug.t
Revision: 3697 http://vexi.svn.sourceforge.net/vexi/?rev=3697&view=rev Author: jeffbuhrt Date: 2009-09-29 19:38:15 + (Tue, 29 Sep 2009) Log Message: --- Renamed the testcase to being a 'sleep' problem (vs a race which is what I thought it was) Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t 2009-09-29 19:22:16 UTC (rev 3696) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t 2009-09-29 19:38:15 UTC (rev 3697) @@ -4,7 +4,7 @@ xmlns:util="vexi.util" > -static.name = "Thread Race Test Case"; +static.name = "Thread Sleep Test Case"; static.category = "Test Cases"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3696] trunk/widgets/org.vexi.demo/src/org/vexi/demo
Revision: 3696 http://vexi.svn.sourceforge.net/vexi/?rev=3696&view=rev Author: jeffbuhrt Date: 2009-09-29 19:22:16 + (Tue, 29 Sep 2009) Log Message: --- Added a testcase for the thread/sleep problem (also shows the 1st focus, no blink problem) and a simple way to add other 'testcases' Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/demoitem.t trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t Added Paths: --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/option_bug.t trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/demoitem.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/demoitem.t2009-09-28 13:46:09 UTC (rev 3695) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/demoitem.t2009-09-29 19:22:16 UTC (rev 3696) @@ -9,6 +9,7 @@ thisbox.load = null; thisbox.text = "Box"; +thisbox.testcase = false; thisbox.action ++= function(v) { if (load) surface.loadtab(text, load(vexi.box)); Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t 2009-09-28 13:46:09 UTC (rev 3695) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/demomenus.t 2009-09-29 19:22:16 UTC (rev 3696) @@ -64,6 +64,8 @@ var n = features[key]..name; m.text = n ? n : key; var s = features[key]..category; +if (s == "Test Cases") + m.testcase = true; if (!s) s = "Default"; if (!submenus[s]) { submenus[s] = wi.submenu(vexi.box); Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/option_bug.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/option_bug.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/option_bug.t 2009-09-29 19:22:16 UTC (rev 3696) @@ -0,0 +1,49 @@ + + +static.name = "Option Test Case"; +static.category = "Test Cases"; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t (rev 0) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/thread_bug.t 2009-09-29 19:22:16 UTC (rev 3696) @@ -0,0 +1,45 @@ + + +static.name = "Thread Race Test Case"; +static.category = "Test Cases"; + + + + + + + + + + + + + + + + + + + + +$stepone.action ++= function(b) { + $nextfocused.focused=true; + +cascade = b; +} + + $testit.action ++= function(v) + { + vexi.thread = function() { + vexi.log.info("thread/sleep testcase (you should see a 2nd message when sleep doesn't hang)"); +vexi.thread.sleep(1); +vexi.log.info("testcase worked! Sleep didn't hang."); + } + cascade = v; + } + + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your
[Vexi-svn] SF.net SVN: vexi:[3643] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/text.t
Revision: 3643 http://vexi.svn.sourceforge.net/vexi/?rev=3643&view=rev Author: jeffbuhrt Date: 2009-09-03 13:50:13 + (Thu, 03 Sep 2009) Log Message: --- Corrected button label to match the state/action Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/text.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/text.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/text.t 2009-09-03 03:00:34 UTC (rev 3642) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/text.t 2009-09-03 13:50:13 UTC (rev 3643) @@ -21,7 +21,7 @@ - + $setfs.value = $textfield.fontsize; $setfs.value ++= function(v) { $textfield.fontsize = v; cascade = v; } @@ -64,7 +64,7 @@ $enable.action ++= function(v) { enable_state = !enable_state; -$enable.text = enable_state ? "Enable" : "Disable"; +$enable.text = enable_state ? "Disable" : "Enable"; $textfield.enabled = enable_state; return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3640] trunk/widgets/org.vexi.widgets/src/vexi/widget/ radio.t
Revision: 3640 http://vexi.svn.sourceforge.net/vexi/?rev=3640&view=rev Author: jeffbuhrt Date: 2009-09-02 18:54:44 + (Wed, 02 Sep 2009) Log Message: --- re-added comment on usage of selectgroup Modified Paths: -- trunk/widgets/org.vexi.widgets/src/vexi/widget/radio.t Modified: trunk/widgets/org.vexi.widgets/src/vexi/widget/radio.t === --- trunk/widgets/org.vexi.widgets/src/vexi/widget/radio.t 2009-09-02 17:44:48 UTC (rev 3639) +++ trunk/widgets/org.vexi.widgets/src/vexi/widget/radio.t 2009-09-02 18:54:44 UTC (rev 3640) @@ -9,14 +9,16 @@ Put to the text property of a radio for a basic label, or simply wrap the radio around more complex content. -To group radios together, simply assign the group of -one to the group of another: +To group radios together, simply wrap a group of radio buttons in a selectgroup. + +The old, more complex ways is: + Assign the group of one to the group of another: - $radio2.group = $radio1.group; + $radio2.group = $radio1.group; + + Groups are generated on demand, so you want to assign + using the first widget in the group for correct order. -Groups are generated on demand, so you want to assign -using the first widget in the group for correct order. - Trap 'selected' to know when the widget is selected. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3637] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ layout/container.t
Revision: 3637 http://vexi.svn.sourceforge.net/vexi/?rev=3637&view=rev Author: jeffbuhrt Date: 2009-09-01 21:44:38 + (Tue, 01 Sep 2009) Log Message: --- spelling correction Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/container.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/container.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/container.t 2009-09-01 19:52:04 UTC (rev 3636) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/layout/container.t 2009-09-01 21:44:38 UTC (rev 3637) @@ -6,7 +6,7 @@ Container Common setup routines for containers -Post-apply container to your full contructed widget and it will +Post-apply container to your full constructed widget and it will handle common redirects and setup of common container properties. It also automatically assigns margin and padding meta properties. @@ -15,7 +15,7 @@ * v_fillbox - an optional box to target fill properties to * v_textbox - an optional box to target text properties to -Most basic implementations need only specify v_cotent, and the +Most basic implementations need only specify v_content, and the targets v_fillbox and v_textbox will be automatically assigned to v_content as well. To override v_fillbox or v_textbox, either specify them manually or set them to 'false' to opt out. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3636] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/splitpane.t
Revision: 3636 http://vexi.svn.sourceforge.net/vexi/?rev=3636&view=rev Author: jeffbuhrt Date: 2009-09-01 19:52:04 + (Tue, 01 Sep 2009) Log Message: --- made liveresize checkbox initially show selected like the action it is already taking Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/splitpane.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/splitpane.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/splitpane.t 2009-08-31 19:45:25 UTC (rev 3635) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/splitpane.t 2009-09-01 19:52:04 UTC (rev 3636) @@ -9,7 +9,7 @@ - + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3635] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/selectgroup.t
Revision: 3635 http://vexi.svn.sourceforge.net/vexi/?rev=3635&view=rev Author: jeffbuhrt Date: 2009-08-31 19:45:25 + (Mon, 31 Aug 2009) Log Message: --- allow group enable/disable Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectgroup.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectgroup.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectgroup.t 2009-08-30 16:41:45 UTC (rev 3634) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectgroup.t 2009-08-31 19:45:25 UTC (rev 3635) @@ -45,6 +45,16 @@ thisbox.v_container ++= static.containerWrite; +// allow group enable/disable +thisbox.enabled ++= function(v) { + var content = v_content; + var n = content.numchildren; +for (var i=n-1; i>=0; i--) { +content[i].enabled = v; +} + cascade = v; +} + /** applied to list items */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3634] trunk/widgets/org.vexi.demo/src/org/vexi/demo/ feature/widgets_basic.t
Revision: 3634 http://vexi.svn.sourceforge.net/vexi/?rev=3634&view=rev Author: jeffbuhrt Date: 2009-08-30 16:41:45 + (Sun, 30 Aug 2009) Log Message: --- switched to use selectgroup.t Modified Paths: -- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t === --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t 2009-08-30 00:32:13 UTC (rev 3633) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/widgets_basic.t 2009-08-30 16:41:45 UTC (rev 3634) @@ -8,12 +8,12 @@ - + - + @@ -31,9 +31,10 @@ -$r2.group = $r1.group; -$r3.group = $r1.group; -$r4.group = $r1.group; +// old way before selectgroup +//$r2.group = $r1.group; +//$r3.group = $r1.group; +//$r4.group = $r1.group; $bg.fill ++= function(v) { cascade = v; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3625] trunk/core/org.ibex.js/src/org/ibex/js/XMLRPC.jpp
Revision: 3625 http://vexi.svn.sourceforge.net/vexi/?rev=3625&view=rev Author: jeffbuhrt Date: 2009-08-26 19:05:29 + (Wed, 26 Aug 2009) Log Message: --- spelling correction Modified Paths: -- trunk/core/org.ibex.js/src/org/ibex/js/XMLRPC.jpp Modified: trunk/core/org.ibex.js/src/org/ibex/js/XMLRPC.jpp === --- trunk/core/org.ibex.js/src/org/ibex/js/XMLRPC.jpp 2009-08-26 19:03:54 UTC (rev 3624) +++ trunk/core/org.ibex.js/src/org/ibex/js/XMLRPC.jpp 2009-08-26 19:05:29 UTC (rev 3625) @@ -469,6 +469,6 @@ public void close() throws IOException { formatLine(""); super.close(); - if(logger.isDebug()) logger.debug(XMLRPC.LOG_TYPE, "recieved:\n" + read); + if(logger.isDebug()) logger.debug(XMLRPC.LOG_TYPE, "received:\n" + read); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3624] trunk/core/org.ibex.util/src/org/ibex/util/ IbexLogger.java
Revision: 3624 http://vexi.svn.sourceforge.net/vexi/?rev=3624&view=rev Author: jeffbuhrt Date: 2009-08-26 19:03:54 + (Wed, 26 Aug 2009) Log Message: --- properly handling logging an empty line Modified Paths: -- trunk/core/org.ibex.util/src/org/ibex/util/IbexLogger.java Modified: trunk/core/org.ibex.util/src/org/ibex/util/IbexLogger.java === --- trunk/core/org.ibex.util/src/org/ibex/util/IbexLogger.java 2009-08-26 14:31:30 UTC (rev 3623) +++ trunk/core/org.ibex.util/src/org/ibex/util/IbexLogger.java 2009-08-26 19:03:54 UTC (rev 3624) @@ -227,7 +227,7 @@ while (str.indexOf('\n') != -1) { String line = str.substring(0, str.indexOf('\n')); // HACK - jsexn logging uses \r\n for newlines - if(line.charAt(line.length()-1)=='\r') line = line.substring(0,line.length()-1); + if(line.length() > 0 && line.charAt(line.length()-1)=='\r') line = line.substring(0,line.length()-1); logstream.println(whereMinor + colorize(levelcolor, bright, line)); whereMinor = colorize(GRAY,false,BLANKINDENT); str = str.substring(str.indexOf('\n') + 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3623] trunk/widgets/org.vexi.widgets/src/org/vexi/lib/ role/tooltipable.t
Revision: 3623 http://vexi.svn.sourceforge.net/vexi/?rev=3623&view=rev Author: jeffbuhrt Date: 2009-08-26 14:31:30 + (Wed, 26 Aug 2009) Log Message: --- fix for missing s. from [3622] Modified Paths: -- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t === --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t 2009-08-26 14:11:24 UTC (rev 3622) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t 2009-08-26 14:31:30 UTC (rev 3623) @@ -14,14 +14,14 @@ static.enterWrite = function(v) { if (trapee.tooltip) { var s = trapee.surface; -if (s and s.tooltip) tooltip.makeRequest(trapee); +if (s and s.tooltip) s.tooltip.makeRequest(trapee); } cascade = v; } static.leaveWrite = function(v) { if (trapee.tooltip) { var s = trapee.surface; -if (s and s.tooltip) tooltip.dropRequest(trapee); +if (s and s.tooltip) s.tooltip.dropRequest(trapee); } cascade = v; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn
[Vexi-svn] SF.net SVN: vexi:[3096] branches/vexi1/core/src/org/vexi/net
Revision: 3096 http://vexi.svn.sourceforge.net/vexi/?rev=3096&view=rev Author: jeffbuhrt Date: 2008-08-23 13:22:39 + (Sat, 23 Aug 2008) Log Message: --- Core pipeling support using Apache.org's httpcore-4.0-beta2. An important XMLRPC change is keepAlive is processed after the result data is read. When the RPC receives a result the Connection: close means the next time a new socket is needed, but the current result is still fine. Modified Paths: -- branches/vexi1/core/src/org/vexi/net/RPC.java branches/vexi1/core/src/org/vexi/net/SOAP.java branches/vexi1/core/src/org/vexi/net/XMLRPC.java Modified: branches/vexi1/core/src/org/vexi/net/RPC.java === --- branches/vexi1/core/src/org/vexi/net/RPC.java 2008-08-20 17:19:55 UTC (rev 3095) +++ branches/vexi1/core/src/org/vexi/net/RPC.java 2008-08-23 13:22:39 UTC (rev 3096) @@ -116,7 +116,7 @@ protected String method; /** FIXME */ - protected HTTP http; + protected LocalHTTP http; /** FIXME */ protected String action; Modified: branches/vexi1/core/src/org/vexi/net/SOAP.java === --- branches/vexi1/core/src/org/vexi/net/SOAP.java 2008-08-20 17:19:55 UTC (rev 3095) +++ branches/vexi1/core/src/org/vexi/net/SOAP.java 2008-08-23 13:22:39 UTC (rev 3096) @@ -39,7 +39,16 @@ */ public SOAP(String url, String action, String namespace) { super(url); - http = url.startsWith("stdio:") ? HTTP.stdio : new HTTP(url); + //http = url.startsWith("stdio:") ? HTTP.stdio : new HTTP(url); + if (url.startsWith("stdio:")) + http = LocalHTTP.stdio; + else { + try { + http = new LocalHTTP(url); + } catch (IOException e) { + throw new RuntimeException(e); + } + } this.action = action; this.namespace = namespace; if (Debug.NET) { @@ -155,7 +164,8 @@ String s = new String(); stringwriter.write(s); Log.info(this, stringwriter.toString()); - java.io.InputStream inputstream = super.http.httpPOST("text/xml", "\r\n" + stringwriter.toString()); + //java.io.InputStream inputstream = super.http.httpPOST("text/xml", "\r\n" + stringwriter.toString()); + java.io.InputStream inputstream = super.http.POST("text/xml", "\r\n" + stringwriter.toString(), null, null); BufferedReader bufferedreader = Log.rpc ? new BufferedReader(new FilterReader(new InputStreamReader(inputstream)) { public int read() throws IOException { int i = super.read(); Modified: branches/vexi1/core/src/org/vexi/net/XMLRPC.java === --- branches/vexi1/core/src/org/vexi/net/XMLRPC.java2008-08-20 17:19:55 UTC (rev 3095) +++ branches/vexi1/core/src/org/vexi/net/XMLRPC.java2008-08-23 13:22:39 UTC (rev 3096) @@ -8,10 +8,36 @@ import java.io.FilterReader; import java.io.StringReader; import java.io.StringWriter; +import java.net.Socket; +import org.apache.http.ConnectionReuseStrategy; +import org.apache.http.HttpEntity; +import org.apache.http.HttpException; +import org.apache.http.HttpHost; +import org.apache.http.HttpResponse; +import org.apache.http.HttpVersion; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.DefaultConnectionReuseStrategy; +import org.apache.http.impl.DefaultHttpClientConnection; +import org.apache.http.message.BasicHttpEntityEnclosingRequest; +import org.apache.http.params.BasicHttpParams; +import org.apache.http.params.HttpParams; +import org.apache.http.params.HttpProtocolParams; +import org.apache.http.protocol.BasicHttpContext; +import org.apache.http.protocol.BasicHttpProcessor; +import org.apache.http.protocol.ExecutionContext; +import org.apache.http.protocol.HttpContext; +import org.apache.http.protocol.HttpRequestExecutor; +import org.apache.http.protocol.RequestConnControl; +import org.apache.http.protocol.RequestContent; +import org.apache.http.protocol.RequestExpectContinue; +import org.apache.http.protocol.RequestTargetHost; +import org.apache.http.protocol.RequestUserAgent; + import org.ibex.js.JS; import org.ibex.js.JSArray; import org.ibex.js.JSExn; +import org.ibex.net.SSL; import org.ibex.util.Hash; import org.ibex.util.Log; import org.ibex.util.Task; @@ -30,9 +56,9 @@ /** * Class Constructor