Skip to content

Commit

Permalink
Added Layout to ant builds. Migrated 4 of 7 Layout examples. host que…
Browse files Browse the repository at this point in the history
…ry string updates for the remainder of the Button examples.
  • Loading branch information
lsmith committed Aug 5, 2009
1 parent 9cd2f04 commit 618ca8d
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 17 deletions.
48 changes: 46 additions & 2 deletions build.felix.xml
Expand Up @@ -273,6 +273,15 @@
<arg value="${build}/resize.vo.js" />
</exec>
</target>
<target name="layout" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
<arg value="${yui2.build}/layout/layout.js" />
<arg value="-o" />
<arg value="${build}/layout.vo.js" />
</exec>
</target>

<target name="core" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
Expand Down Expand Up @@ -817,11 +826,44 @@
</exec>
</target>

<target name="layout1_ex" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
<arg value="${example}/page_layout_clean.html" />
<arg value="-o" />
<arg value="${build}/layout1_example.vo.js" />
</exec>
</target>
<target name="layout2_ex" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
<arg value="${example}/panel_layout_clean.html" />
<arg value="-o" />
<arg value="${build}/layout2_example.vo.js" />
</exec>
</target>
<target name="layout3_ex" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
<arg value="${example}/nested_layout_clean.html" />
<arg value="-o" />
<arg value="${build}/layout3_example.vo.js" />
</exec>
</target>
<target name="layout4_ex" depends="init">
<exec dir="." executable="${caja.cajoler}" >
<arg value="-i" />
<arg value="${example}/menu_layout_clean.html" />
<arg value="-o" />
<arg value="${build}/layout4_example.vo.js" />
</exec>
</target>

<target name="all"
depends="init, yui, gadgets, yuitests, examples" />

<target name="yui"
depends="init, utilities, yahoo-dom-event, yahoo, dom, event, connection, dragdrop, animation, element, yuitest, json, treeview, resize, yuitest, selector, cookie, profiler, datasource, tabview, autocomplete, button, calendar, carousel, colorpicker, imagecropper, datatable, logger, menu, paginator, editor, slider, stylesheet, container" />
depends="init, utilities, yahoo-dom-event, yahoo, dom, event, connection, dragdrop, animation, element, yuitest, json, treeview, resize, yuitest, selector, cookie, profiler, datasource, tabview, autocomplete, button, calendar, carousel, colorpicker, imagecropper, datatable, logger, menu, paginator, editor, slider, stylesheet, container, layout" />

<target name="patch"
depends="patch-utilities" />
Expand All @@ -833,7 +875,7 @@
depends="init, yahoo_test, animation_test, dd_test, dom_test, selector_test, yuitest_test, connection_test, cookie_test, profiler_test, datasource_test, tabview_test, autocomplete_test, menu_test, slider_test, module_test, config_test, calendar_test, datemath_test, colorpicker_test, paginator_test, json_test" />

<target name="examples"
depends="init, core, example_data, autocomplete_examples, connection_examples, event_examples, container_examples, button_examples"/>
depends="init, core, example_data, autocomplete_examples, connection_examples, event_examples, container_examples, button_examples, layout_examples"/>

<target name="autocomplete_examples"
depends="init, core, autocomplete_basic_array_ex" />
Expand All @@ -850,5 +892,7 @@
<target name="button_examples"
depends="init, core, button1_ex, button2_ex, button3_ex, button4_ex, button5_ex, button6_ex, button7_ex, button8_ex, button9_ex, button10_ex, button11_ex, button12_ex, button13_ex, button14_ex, button-aria_ex, button-menu-select_ex, button-menu-swap_ex" />

<target name="layout_examples"
depends="init, core, layout1_ex, layout2_ex, layout3_ex, layout4_ex" />
</project>

6 changes: 3 additions & 3 deletions tests/js/data.js
Expand Up @@ -56,10 +56,10 @@ YAHOO.namespace('caja').data = {
cajoled: true, yuitest: 'test=stylesheet', examples: 0, tests : [0,0,0] },

{ module:'resize', status: 'pending',
cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] },
cajoled: true, yuitest: false, examples: 7, tests : [0,0,0] },

{ module:'layout', status: 'pending',
cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] },
{ module:'layout', status: 'wip',
cajoled: true, yuitest: false, examples: 7, tests : [0,0,0] },

{ module:'history', status: 'pending',
cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] },
Expand Down
26 changes: 16 additions & 10 deletions tests/js/examples.js
Expand Up @@ -21,17 +21,17 @@ YAHOO.namespace('caja').examples = {
"[[suffix=example&include=button&test=button4]Radio Buttons]",
"[[suffix=example&include=button&test=button5]Submit Buttons]",
"[[suffix=example&include=button&test=button6]Reset Buttons]",
"[[suffix=example&include=button&test=button7]Menu Buttons]",
"[[suffix=example&include=button&test=button8]Split Buttons]",
"[[suffix=example&include=button,calendar&test=button9]Calendar Menu Button]",
"[[suffix=example&include=button,calendar&test=button10]Calendar Menu Button with Date on face]",
"[[suffix=example&include=button,slider,colorpicker&test=button11]ColorPicker Button]",
"[[suffix=example&include=button,menu&test=button12]Fixed width Menu Button]",
"[[suffix=example&include=container,menu,button&test=button7]Menu Buttons]",
"[[suffix=example&include=container,menu,button&test=button8]Split Buttons]",
"[[suffix=example&include=button,container,calendar&test=button9]Calendar Menu Button]",
"[[suffix=example&include=button,container,calendar&test=button10]Calendar Menu Button with Date on face]",
"[[suffix=example&include=button,container,menu,slider,colorpicker&test=button11]ColorPicker Button]",
"[[suffix=example&include=button,container,menu&test=button12]Fixed width Menu Button]",
"[[suffix=example&include=button&test=button13]Glowing Button]",
"[[suffix=example&include=button,slider&test=button14]Slider Button]",
"[[suffix=example&include=button&test=button-aria]Using a Button ARIA plugin]",
"[[suffix=example&include=button&test=button-menu-select]Using Button to replace a select element]",
"[[suffix=example&include=button&test=button-menu-swap]Replacing the contents of a Button's menu]"
"[[suffix=example&include=button,container,menu,slider&test=button14]Slider Button]",
"[[suffix=example&include=button,container,menu&test=button-aria]Using a Button ARIA plugin]",
"[[suffix=example&include=button,container,menu&test=button-menu-select]Using Button to replace a select element]",
"[[suffix=example&include=button,container,menu&test=button-menu-swap]Replacing the contents of a Button's menu]"
],
connection: [
'[[suffix=gadget&test=connectio]Basic asyncRequest]',
Expand All @@ -56,6 +56,12 @@ YAHOO.namespace('caja').examples = {
json: [
'[[suffix=gadget&test=json]Simple test]'
],
layout: [
'[[suffix=example&css=reset-fonts-grids&include=button,resize,layout&test=layout1]Full page Layout]',
'[[suffix=example&css=reset-fonts-grids&include=container,button,resize,layout&test=layout2]Resizable Panel Layout]',
'[[suffix=example&css=reset-fonts-grids&include=resize,layout&test=layout3]Nested Layout]',
'[[suffix=example&css=reset-fonts-grids&include=container,menu,resize,layout&test=layout4]Layout with Menu controls]'
],
yuitest: [
'[[suffix=gadget&test=yuitest]Simple suite to test that YUI Test cajoles]'
],
Expand Down
16 changes: 14 additions & 2 deletions tests/js/notes.js
@@ -1,11 +1,20 @@
YAHOO.namespace('caja').notes = {
animation: ['Tests appear to be passing before the animations complete. But the animations are completing'],
animation: [
'Tests appear to be passing before the animations complete. But the animations are completing',
'Glowing Button example uses ColorAnim. Not working.'
],
autocomplete: [
'Bug #1074 el.appendChild(el2) return undefined (fixed)',
'Bug #1075 focus/blur listeners not executed (fixed?) (workaround found n tests/examples/ac_basic_array_clean.html)'
],
button: [
"Glowing button example isn't glowing. ColorAnim is pesent and no errors are thrown.",
"Slider in Slider Button example isn't interactive. Throws an odd error",
"ARIA example menu button throwing an error. Likely related to [[#1092]parentNode of off DOM elements reporting null]. This bug is marked fixed. Not in Felix's port yet?"
],
calendar: [
'YUI Test suite stopped several times at the debugger statement in domita (or was that in cajita?)'
'YUI Test suite stopped several times at the debugger statement in domita (or was that in cajita?)',
'[[#1095]link.blur() throws an error] which kills cell click callback operation'
],
connection: [
'[[suffix=gadget&test=connection]Simple example] as test works',
Expand Down Expand Up @@ -38,6 +47,9 @@ YAHOO.namespace('caja').notes = {
json: [
"Parse won't work because it uses eval. Caja exposes a JSON object, so if it could [[#1086]report 'object JSON' to the Miller device], JSON util would work unmodified"
],
layout: [
"Full page layout and Layout with Menus examples are displaying as a blank page. The DOM is there, but some elements are sized height: 0. Investigation pending."
],
profiler: [
"Should work except for passing eval strings to registerFunction etc"
],
Expand Down

0 comments on commit 618ca8d

Please sign in to comment.