summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* Merge of (#9940) to Vaadin 77.0.1John Ahlroos2013-02-202-0/+88
| | | | Change-Id: Ie2e53c8cdba20c8265fa04e35e9469b39b21d43e
* Imported and updated release notes builder (#10918)Artur Signell2013-02-191-0/+4
| | | | | Change-Id: Ie21d448f89d0fab6b7732a0137c80172e9da8e69 Ticket: 10918
* Properly detach old connectors for repaintAll response (#11067)Leif Åstrand2013-02-192-0/+77
| | | | Change-Id: I6491a9b30ea4c0e4ff141497b9bd78e5d1c4c98c
* Fixed NPE when TextField value is null (#11021)Artur Signell2013-02-182-0/+94
| | | | | Ticket: 11021 Change-Id: If3b99333a116e6191ba3f563738e456a07173ab4
* Properly pass the AbstractField internal value to shared state in Slider and ↵Johannes Dahlström2013-02-182-0/+91
| | | | | | | | | ProgressIndicator (#10921) * In case of a null value, 0 is stored to shared state. This is consistent with how CheckBox is already implemented. * This somewhat hacky solution should be replaced with a better one once AbstractField itself is migrated. See #11064. Change-Id: I2b313af8491a6deccdc7a509dcd1b718482cdcd4
* Merge of second part of (#10513) to Vaadin 7.Johannes Dahlström2013-02-182-0/+161
| | | | | | | | | Fix for TreeTable's indent handling & width calculations. Conflicts: client/src/com/vaadin/client/ui/table/TableConnector.java Change-Id: I94f0d84ac978045d3b79be6b3726ea6973d30b35
* Interim fix for resizing of child component in AbsoluteLayout when child is ↵John Ahlroos2013-02-182-0/+81
| | | | | | 100% and layout resized (no-merge) #10427 Change-Id: I497ecc1ac88ef1b3c07d127aff3c157827088e01
* Count instances instead of windows and also show the counterLeif Åstrand2013-02-181-4/+4
| | | | Change-Id: Ida1d0c9424d09169f3c7f76ebf70dcced5742dad
* Merge of first part of (#10513) to Vaadin 7.Johannes Dahlström2013-02-152-0/+143
| | | | | | Recalculate column widths if vertical scrollbar has been added/removed. Change-Id: I093059b8eaad8ff9f9d87db213dec806993459d5
* Merge "Merge of (#6160) and (#10470) to Vaadin 7." into 7.0Johannes Dahlström2013-02-146-66/+550
|\
| * Merge of (#6160) and (#10470) to Vaadin 7.Johannes Dahlström2013-02-146-66/+550
| | | | | | | | | | | | Cache handling update. Change-Id: I81ba74d457eb484f6f2c350629534ab284ead7b7
* | Merge "Removed invalid and unnecessary clicks from test" into 7.0Leif Åstrand2013-02-145-25/+0
|\ \
| * | Removed invalid and unnecessary clicks from testArtur Signell2013-02-135-25/+0
| | | | | | | | | | | | Change-Id: Ice4622aa2162157f9c7d6ec94051bb562a0a5b8c
* | | Fixed problem with removing the icon from a Button (#10543)Artur Signell2013-02-142-0/+110
| | | | | | | | | | | | Change-Id: Ia119b93643678494db95d36ffe031a44b76ba578
* | | Merge "Removed artifical slowdown which should no longer be needed (#11015)" ↵Leif Åstrand2013-02-145-26/+1
|\| | | | | | | | | | | into 7.0
| * | Removed artifical slowdown which should no longer be needed (#11015)Artur Signell2013-02-135-26/+1
| | | | | | | | | | | | Change-Id: I16bead52cab342fdae891134a0f1c2e82260eb63
* | | Fixed NPE in test when value is nullArtur Signell2013-02-131-2/+2
| | | | | | | | | | | | Change-Id: I04e1f365535878a46744046ee271387c21d31956
* | | Merge "Handle OutOfSync by resyncing automatically (#10780)" into 7.0Leif Åstrand2013-02-132-0/+93
|\ \ \
| * | | Handle OutOfSync by resyncing automatically (#10780)Artur Signell2013-02-112-0/+93
| | | | | | | | | | | | | | | | Change-Id: I5958d82b09519dabe9f2af792bd216d3b426c1c9
* | | | Fixed ColumnDragColumn test which was failing after fixes for #10890 (#11020)John Ahlroos2013-02-121-1/+1
| | | | | | | | | | | | | | | | Change-Id: I3d2c59d10a83b44fec1992eaec3e73328b314d63
* | | | Merge "Set the overlay container width and height to zero (#10860)" into 7.0John Ahlroos2013-02-121-0/+56
|\ \ \ \ | |_|/ / |/| | |
| * | | Set the overlay container width and height to zero (#10860)Johannes Dahlström2013-02-111-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | * Fix body scrolling in touch devices that do not honor overflow: hidden Change-Id: Ia444d3c222094b9aa83ba31d5710eed9d9e549cc
* | | | Merge "Since #10312 Table wraps a conversion exception in a ↵Leif Åstrand2013-02-121-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | CacheUpdateException" into 7.0
| * | | | Since #10312 Table wraps a conversion exception in a CacheUpdateExceptionArtur Signell2013-02-111-2/+2
| | |/ / | |/| | | | | | | | | | Change-Id: Id2772118a673555db21bb8b5f8d6126459eb688e
* / | | Redirect jetty output and logs to the results folder (#10558)Artur Signell2013-02-111-0/+4
|/ / / | | | | | | | | | Change-Id: I74445551de380d87dd03a2d14e0482e5fcb69adf
* | | Merge of comment clarification to Vaadin 7.Anna Koskinen2013-02-081-1/+1
| | | | | | | | | | | | Change-Id: I1fed736e17770580af7ccc4c49c5c3d4bb7702e2
* | | Fixed race condition in upload (#10942)Artur Signell2013-02-081-3/+18
| | | | | | | | | | | | | | | | | | Updated test to show if upload succeeds or fails Change-Id: Ia9c3a3d36a5dd163fbad59e8cc41d53aba3ccb5a
* | | Fixed middle vertical alignments in HorizontalLayout #10852John Ahlroos2013-02-072-0/+71
| |/ |/| | | | | Change-Id: I85dac7b89ec4ec670cf92e5c760090fbef5929af
* | Replaced fragile flash test with a stable one using a local swf (#10807)Artur Signell2013-02-075-8/+12
| | | | | | | | Change-Id: I4231e0fa0b53f9e6d085b7409e6ad33bb5728b61
* | Merge "Merge of (#10890) to Vaadin 7." into 7.0Johannes Dahlström2013-02-062-0/+90
|\ \
| * | Merge of (#10890) to Vaadin 7.Anna Koskinen2013-02-052-0/+90
| | | | | | | | | | | | | | | | | | | | | Fix the positioning of the drop marker when reordering Table columns by DnD. Change-Id: I853e9690d931a9bf94c61ac6e59accd1cedac15a
* | | Merge of (#10878) to Vaadin 7.Anna Koskinen2013-02-052-0/+191
|/ / | | | | | | | | | | | | Ensure unique ordering when using TableQuery with multiple primary key columns. Change-Id: I9145717d1658393b19a2bca27ac211cad075fc27
* | Merge "Merge of (#10776) test to Vaadin 7." into 7.0Johannes Dahlström2013-02-052-0/+175
|\ \
| * | Merge of (#10776) test to Vaadin 7.Anna Koskinen2013-02-042-0/+175
| |/ | | | | | | Change-Id: I05d66505ecc9d413ae34c0ae5e2fa735764d4fee
* | Merge "Merge of (#9197) to Vaadin 7." into 7.0Johannes Dahlström2013-02-051-0/+68
|\ \
| * | Merge of (#9197) to Vaadin 7.Anna Koskinen2013-02-011-0/+68
| |/ | | | | | | | | | | Fix IE memory leak when closing subwindows. Change-Id: I7205bee96d172e84906aac1456b2523c56302d3b
* | Merge "Merge of (#10766) to Vaadin 7." into 7.0Johannes Dahlström2013-02-051-0/+66
|\ \
| * | Merge of (#10766) to Vaadin 7.Anna Koskinen2013-02-011-0/+66
| |/ | | | | | | | | | | | | Fix case where ComboBox suggestion menu selects a wrong item if there are duplicate captions. Change-Id: Ia2e6502f328f5f6daca74e6b60bd3b6ffb7ad977
* | Merge of (#9548) to Vaadin 7.Anna Koskinen2013-02-051-0/+80
| | | | | | | | | | | | | | Calculate upload file size correctly when there are multibyte characters in the file name. Change-Id: I85f1053ce6ad29140d0a37fe8ab4861b0f717fc9
* | Merge "Merge of (#8238) to Vaadin 7." into 7.0Johannes Dahlström2013-02-052-1/+58
|\ \
| * | Merge of (#8238) to Vaadin 7.Anna Koskinen2013-02-012-1/+58
| |/ | | | | | | | | | | Tabsheet detach handling update. Change-Id: I037d8503a9217918e63e1cc8b6e90abcafe7516f
* | Merge "Merge of (#10312) to Vaadin 7." into 7.0Johannes Dahlström2013-02-052-0/+359
|\ \
| * | Merge of (#10312) to Vaadin 7.Anna Koskinen2013-02-012-0/+359
| |/ | | | | | | | | | | Cache update exception handling to Table. Change-Id: I882e78c3a2eb1ceaab484be748b6890ee321c290
* / Merge of (#10609) to Vaadin 7.Anna Koskinen2013-02-012-30/+233
|/ | | | | | Automated test for #9986. Change-Id: I3ce8b61ac7efd8eaa7a1b16e786ce7c2edbad0a9
* Remove unnecessary special ConnectorMap handling from VTabsheet (#10839)Johannes Dahlström2013-01-302-0/+131
| | | | | | | | VTabsheet manipulated ConnectorMap directly when detaching a removed child; this broke the hierarchy if the detached child was re-attached to another component later on. Change-Id: I18487c37b363d3fcd3984c789c7b73ed1bed5e28
* Merge "Added cookie read/write minitutorial #9644"Johannes Dahlström2013-01-231-0/+92
|\
| * Added cookie read/write minitutorial #9644John Ahlroos2013-01-231-0/+92
| | | | | | | | Change-Id: I80d7646eca9be9b8fd98ad6c933245dab724df8a
* | Merge "Disable Form tooltips, as Form shows both description and component ↵John Ahlroos2013-01-231-76/+15
|\ \ | |/ |/| | | error as a part of the layout (#10784)"
| * Disable Form tooltips, as Form shows both description and component error as ↵Johannes Dahlström2013-01-231-76/+15
| | | | | | | | | | | | a part of the layout (#10784) Change-Id: Ia5af801e099e997ae25cfcf25434c8542da75a48
* | Merge "Ensure window is closed even if close listener throws an exception ↵Leif Åstrand2013-01-232-0/+67
|\ \ | | | | | | | | | (#10779)"
le", "spinbutton" ); // button bindings this.buttons = uiSpinner.find( ".ui-spinner-button" ) .attr( "tabIndex", -1 ) .button() .removeClass( "ui-corner-all" ); // IE 6 doesn't understand height: 50% for the buttons // unless the wrapper has an explicit height if ( this.buttons.height() > Math.ceil( uiSpinner.height() * 0.5 ) && uiSpinner.height() > 0 ) { uiSpinner.height( uiSpinner.height() ); } // disable spinner if element was already disabled if ( this.options.disabled ) { this.disable(); } }, _keydown: function( event ) { var options = this.options, keyCode = $.ui.keyCode; switch ( event.keyCode ) { case keyCode.UP: this._repeat( null, 1, event ); return true; case keyCode.DOWN: this._repeat( null, -1, event ); return true; case keyCode.PAGE_UP: this._repeat( null, options.page, event ); return true; case keyCode.PAGE_DOWN: this._repeat( null, -options.page, event ); return true; } return false; }, _uiSpinnerHtml: function() { return "<span class='ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all'></span>"; }, _buttonHtml: function() { return "" + "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'>" + "<span class='ui-icon ui-icon-triangle-1-n'>&#9650;</span>" + "</a>" + "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" + "<span class='ui-icon ui-icon-triangle-1-s'>&#9660;</span>" + "</a>"; }, _start: function( event ) { if ( !this.spinning && this._trigger( "start", event ) === false ) { return false; } if ( !this.counter ) { this.counter = 1; } this.spinning = true; return true; }, _repeat: function( i, steps, event ) { i = i || 500; clearTimeout( this.timer ); this.timer = this._delay(function() { this._repeat( 40, steps, event ); }, i ); this._spin( steps * this.options.step, event ); }, _spin: function( step, event ) { var value = this.value() || 0; if ( !this.counter ) { this.counter = 1; } value = this._adjustValue( value + step * this._increment( this.counter ) ); if ( !this.spinning || this._trigger( "spin", event, { value: value } ) !== false) { this._value( value ); this.counter++; } }, _increment: function( i ) { var incremental = this.options.incremental; if ( incremental ) { return $.isFunction( incremental ) ? incremental( i ) : Math.floor( i*i*i/50000 - i*i/500 + 17*i/200 + 1 ); } return 1; }, _precision: function() { var precision = this._precisionOf( this.options.step ); if ( this.options.min !== null ) { precision = Math.max( precision, this._precisionOf( this.options.min ) ); } return precision; }, _precisionOf: function( num ) { var str = num.toString(), decimal = str.indexOf( "." ); return decimal === -1 ? 0 : str.length - decimal - 1; }, _adjustValue: function( value ) { var base, aboveMin, options = this.options; // make sure we're at a valid step // - find out where we are relative to the base (min or 0) base = options.min !== null ? options.min : 0; aboveMin = value - base; // - round to the nearest step aboveMin = Math.round(aboveMin / options.step) * options.step; // - rounding is based on 0, so adjust back to our base value = base + aboveMin; // fix precision from bad JS floating point math value = parseFloat( value.toFixed( this._precision() ) ); // clamp the value if ( options.max !== null && value > options.max) { return options.max; } if ( options.min !== null && value < options.min ) { return options.min; } return value; }, _stop: function( event ) { if ( !this.spinning ) { return; } clearTimeout( this.timer ); clearTimeout( this.mousewheelTimer ); this.counter = 0; this.spinning = false; this._trigger( "stop", event ); }, _setOption: function( key, value ) { if ( key === "culture" || key === "numberFormat" ) { var prevValue = this._parse( this.element.val() ); this.options[ key ] = value; this.element.val( this._format( prevValue ) ); return; } if ( key === "max" || key === "min" || key === "step" ) { if ( typeof value === "string" ) { value = this._parse( value ); } } this._super( key, value ); if ( key === "disabled" ) { if ( value ) { this.element.prop( "disabled", true ); this.buttons.button( "disable" ); } else { this.element.prop( "disabled", false ); this.buttons.button( "enable" ); } } }, _setOptions: modifier(function( options ) { this._super( options ); this._value( this.element.val() ); }), _parse: function( val ) { if ( typeof val === "string" && val !== "" ) { val = window.Globalize && this.options.numberFormat ? Globalize.parseFloat( val, 10, this.options.culture ) : +val; } return val === "" || isNaN( val ) ? null : val; }, _format: function( value ) { if ( value === "" ) { return ""; } return window.Globalize && this.options.numberFormat ? Globalize.format( value, this.options.numberFormat, this.options.culture ) : value; }, _refresh: function() { this.element.attr({ "aria-valuemin": this.options.min, "aria-valuemax": this.options.max, // TODO: what should we do with values that can't be parsed? "aria-valuenow": this._parse( this.element.val() ) }); }, // update the value without triggering change _value: function( value, allowAny ) { var parsed; if ( value !== "" ) { parsed = this._parse( value ); if ( parsed !== null ) { if ( !allowAny ) { parsed = this._adjustValue( parsed ); } value = this._format( parsed ); } } this.element.val( value ); this._refresh(); }, destroy: function() { this.element .removeClass( "ui-spinner-input" ) .prop( "disabled", false ) .removeAttr( "autocomplete" ) .removeAttr( "role" ) .removeAttr( "aria-valuemin" ) .removeAttr( "aria-valuemax" ) .removeAttr( "aria-valuenow" ); this._super(); this.uiSpinner.replaceWith( this.element ); }, stepUp: modifier(function( steps ) { this._stepUp( steps ); }), _stepUp: function( steps ) { this._spin( (steps || 1) * this.options.step ); }, stepDown: modifier(function( steps ) { this._stepDown( steps ); }), _stepDown: function( steps ) { this._spin( (steps || 1) * -this.options.step ); }, pageUp: modifier(function( pages ) { this._stepUp( (pages || 1) * this.options.page ); }), pageDown: modifier(function( pages ) { this._stepDown( (pages || 1) * this.options.page ); }), value: function( newVal ) { if ( !arguments.length ) { return this._parse( this.element.val() ); } modifier( this._value ).call( this, newVal ); }, widget: function() { return this.uiSpinner; } }); }( jQuery ) );