]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoImproved server-side Grid class javadoc (#13334)
Henrik Paul [Mon, 4 Aug 2014 12:38:26 +0000 (15:38 +0300)]
Improved server-side Grid class javadoc (#13334)

Change-Id: Ifafc4c0ca5f7508d4abc4a539d14bc834e4e9593

10 years agoRemove deprecated header/footer API (#13334)
Henrik Paul [Mon, 4 Aug 2014 09:51:37 +0000 (12:51 +0300)]
Remove deprecated header/footer API (#13334)

Change-Id: I9bddef300a817fd31054515e97bc6924370d3475

10 years agoRemoved deprecated header and footer renderers #13334
John Ahlroos [Wed, 30 Jul 2014 12:03:11 +0000 (15:03 +0300)]
Removed deprecated header and footer renderers #13334

Removed header and footer renderers as well as some other deprecated
setters which has been replaced with direct access to the header cells.

Change-Id: Ibaec4b098ebddd4b6ba74c96827e55f9808828d8

10 years agoFixes setting width before adding column to grid #13334
John Ahlroos [Thu, 31 Jul 2014 12:34:58 +0000 (15:34 +0300)]
Fixes setting width before adding column to grid #13334

Change-Id: Iddc16a9b84b2d52b39d44280b3d73a656c971fd0

10 years agoRefactor GridConnector to remove RowKeyHelper (#13334)
Teemu Suo-Anttila [Wed, 23 Jul 2014 12:15:28 +0000 (15:15 +0300)]
Refactor GridConnector to remove RowKeyHelper (#13334)

Change-Id: I4c2fec5b46b15eea456d4b0347b2a686943ad113

10 years agoAdd server side API for Headers and Footers (#13334)
Teemu Suo-Anttila [Tue, 29 Jul 2014 14:19:28 +0000 (17:19 +0300)]
Add server side API for Headers and Footers (#13334)

Change-Id: I52f282089cc55b1f281b9aeb934886442b0c34f3

10 years agoFix SelectionModelSingle when updating from server (#13334)
Teemu Suo-Anttila [Mon, 28 Jul 2014 09:25:32 +0000 (12:25 +0300)]
Fix SelectionModelSingle when updating from server (#13334)

Change-Id: I4ae1411b3833387e83c8951f9b08528cf1ba97b9

10 years agoRemoved ColumnGroup implementation from client side Grid #13334
John Ahlroos [Wed, 30 Jul 2014 11:29:33 +0000 (14:29 +0300)]
Removed ColumnGroup implementation from client side Grid #13334

The ColumnGroup concept was depracated in favour of directly
manipulating the header/footer cell colspans. This changeset removes the
old dead code no longer in use.

Change-Id: I444e3b91a9419c4b20f2fcc119d625f1fad90b6a

10 years agoUse GridBasicFeatures variable COLUMNS instead of hardcoded value
Teemu Suo-Anttila [Wed, 30 Jul 2014 07:19:48 +0000 (10:19 +0300)]
Use GridBasicFeatures variable COLUMNS instead of hardcoded value

Change-Id: Ide8c50c98ac86653cbc5ab7614465b7d26c10c81

10 years agoAdd multi column sorting test for Grid
Teemu Suo-Anttila [Mon, 28 Jul 2014 11:16:41 +0000 (14:16 +0300)]
Add multi column sorting test for Grid

Change-Id: I3ff10c66fd4133ec794cc23c259e3fb6dc6ebec0

10 years agoAllow merging header and footer cells again #13334
John Ahlroos [Mon, 28 Jul 2014 13:26:01 +0000 (16:26 +0300)]
Allow merging header and footer cells again #13334

This changeset adds the possibility to merge header and footer cells by
using HeaderRow.join().

Note: Currently this does not support hidden columns, support for it
should be added in a later changeset.

Change-Id: I42e089ef2ac6eea304e355423b274159a79baa89

10 years agoClient-side Grid header/footer rewrite: add default header support (#13334)
Johannes Dahlström [Wed, 16 Jul 2014 08:16:38 +0000 (11:16 +0300)]
Client-side Grid header/footer rewrite: add default header support (#13334)

Currently supported:
* Adding and removal of header and footer rows
* Header is single-row by default
* Footer is zero-row by default
* Text captions
* Showing and hiding the whole header or footer
* Default header rows for sorting UI

TODO:
* Column spanning
* HTML content
* Widget content
* Component content
* Server side API
* Shared state handling

Change-Id: I3d6a2b75fad87780f83238ab792bbbcfe99a48fd

10 years agoGrid header/footer rewrite: add partial shared state support (#13334)
Johannes Dahlström [Fri, 18 Jul 2014 12:33:55 +0000 (15:33 +0300)]
Grid header/footer rewrite: add partial shared state support (#13334)

Currently supported:
* Adding and removal of header and footer rows
* Header is single-row by default
* Footer is zero-row by default
* Text captions
* Showing and hiding the whole header or footer
* Passing captions and visibility in shared state

TODO:
* Column spanning
* HTML content
* Widget content
* Component content
* Sorting/Indicators
* Server side API
* Rest of shared state handling

Change-Id: Iddd1a596597c3b11ead50bd7d5d7011cd81e2c83

10 years agoAdd minimal Header/Footer visibility support to GridConnector (#13334)
Teemu Suo-Anttila [Wed, 23 Jul 2014 11:05:29 +0000 (14:05 +0300)]
Add minimal Header/Footer visibility support to GridConnector (#13334)

Change-Id: If1bc760d7237d77217fa40a6d91a43d6111e956a

10 years agoUse NumberFormat instead of DecimalFormat for NumberRenderer (#13334)
Leif Åstrand [Wed, 23 Jul 2014 10:02:04 +0000 (13:02 +0300)]
Use NumberFormat instead of DecimalFormat for NumberRenderer (#13334)

Change-Id: I3f3b2b7d036fc53fd3466a9fe5e8b8fe03cf4204

10 years agoImprove GridBasicClientFeaturesTest menu handling on some browsers
Teemu Suo-Anttila [Wed, 23 Jul 2014 08:27:38 +0000 (11:27 +0300)]
Improve GridBasicClientFeaturesTest menu handling on some browsers

Change-Id: Ie044d4872a6f3dbed11a7baad7c5e23e603103e5

10 years agoClient-side Grid header/footer rewrite: add section setVisible (#13334)
Johannes Dahlström [Fri, 18 Jul 2014 12:33:55 +0000 (15:33 +0300)]
Client-side Grid header/footer rewrite: add section setVisible (#13334)

Currently supported:
* Adding and removal of header and footer rows
* Header is single-row by default
* Footer is zero-row by default
* Text captions
* Showing and hiding the whole header or footer

TODO:
* Column spanning
* HTML content
* Widget content
* Component content
* Sorting/Indicators
* Server side API
* Shared state handling

Change-Id: I9708f6f5dd7e9212e9ba5f1e462b55ca619c3df0

10 years agoImplement Tab navigation for Grid (#13334)
Teemu Suo-Anttila [Fri, 18 Jul 2014 08:18:58 +0000 (11:18 +0300)]
Implement Tab navigation for Grid (#13334)

Change-Id: If2c1f3db23247355439360def983dba714979a48

10 years agoMove the scroll area, if pointer starts inside (#13334)
Henrik Paul [Wed, 2 Jul 2014 11:36:23 +0000 (14:36 +0300)]
Move the scroll area, if pointer starts inside (#13334)

Change-Id: I41549e2c85742fe7a1dfef14e84647609dbf9a71

10 years agoImplement keyboard navigation between containers (#13334)
Teemu Suo-Anttila [Thu, 17 Jul 2014 13:43:25 +0000 (16:43 +0300)]
Implement keyboard navigation between containers (#13334)

Change-Id: I1592582eb20d46bac6ef6f5a6e995a6b3a73098b

10 years agoMerge branch 'master' into grid
Leif Åstrand [Tue, 22 Jul 2014 09:59:14 +0000 (12:59 +0300)]
Merge branch 'master' into grid

Change-Id: I6878b3c64eb5c98174537f4e5864e2ff2cb1863f

10 years agoSimulate @RunLocally using eclipse-run-selected-test.properties (#14272)
Leif Åstrand [Tue, 22 Jul 2014 07:24:57 +0000 (10:24 +0300)]
Simulate @RunLocally using eclipse-run-selected-test.properties (#14272)

Change-Id: I4eb9409629f64c17f39b1560062e763270f1f582

10 years agoClient-side Grid header/footer rewrite: add add/remove rows support (#13334)
Johannes Dahlström [Tue, 15 Jul 2014 17:44:59 +0000 (20:44 +0300)]
Client-side Grid header/footer rewrite: add add/remove rows support (#13334)

Currently supported:
* Adding and removal of header and footer rows
* Header is single-row by default
* Footer is zero-row by default
* Text captions

TODO:
* Column spanning
* HTML content
* Widget content
* Component content
* Sorting/Indicators
* Server side API
* Shared state handling

Change-Id: I54b5062f31e38e872ca64394dfa02f866a1af202

10 years agoRemove obsolete TB2 tooltip test, update TB4 test (#14019)
Juuso Valli [Mon, 21 Jul 2014 06:14:06 +0000 (09:14 +0300)]
Remove obsolete TB2 tooltip test, update TB4 test (#14019)

Change-Id: I02b68886b888ee0a0d99b41138755f0ea6e2a53d

10 years agoImproves performance of VaadinService.requestEnd(). (#14218)
Fabian Lange [Fri, 11 Jul 2014 22:00:41 +0000 (00:00 +0200)]
Improves performance of VaadinService.requestEnd(). (#14218)

Doing two times session.accessSynchronously is unnecessary effort in
multiple aspects:
* The session will be locked twice.
* CurrentInstances are set twice.
* CurrentInstances are restored twice.
* VaadinSession being checked for being the current via
  VaadinService.verifyNoOtherSessionLocked(this);

When we leave requestEnd we unset all CurrentInstances. There is no need
to just restore them before doing so.
When we are in requestEnd, VaadinSession is set to "current" by
PushHandler.callWithUi() or VaadinService.handleRequest().
Also, the cleanupSession code does not need any of these thread locals,
so not having them set would also not hurt.
having an extra accessSynchronously call for just setting the duration
does not make a lot of sense. While it somehow wants to make the previous
accessSynchronously call to be counted completely into the duration it
invests an the same time that would have been left out additionally.

VaadinService removeClosedUIs is a cleanup which also locks and sets
CurrentInstances just to figure out that the UI it is checking is not
closing. This change moves that check out of ui.accessSynchronously.

In the end, the resulting code is a tiny bit less robust, however it
eliminates over 50% response time on trivial push request/responses.

Change-Id: If71d1dbbae5d1fd57d3d4e735c592fd263261a81

10 years agoFixed javadoc for Upload class (#14266)
Heikki Ohinmaa [Mon, 21 Jul 2014 10:20:31 +0000 (13:20 +0300)]
Fixed javadoc for Upload class (#14266)

Change-Id: Ib16d4b8922a139b37d551797ada163b6d6b5e720

10 years agoOptimize ActiveCellHandler.updateActiveCellStyle (#13334)
Teemu Suo-Anttila [Mon, 21 Jul 2014 09:06:23 +0000 (12:06 +0300)]
Optimize ActiveCellHandler.updateActiveCellStyle (#13334)

Change-Id: I7477726c33931d5d52597d37f7c586bb034543a3

10 years agoClient-side Grid header/footer rewrite: add simple footer support (#13334)
Johannes Dahlström [Tue, 15 Jul 2014 16:35:31 +0000 (19:35 +0300)]
Client-side Grid header/footer rewrite: add simple footer support (#13334)

Currently supported:
* A single-row hard-coded header
* A zero-row hard-coded footer
* Text captions

TODO:
* 0..n headers and footers
* Column spanning
* HTML content
* Widget content
* Component content
* Sorting/Indicators
* Server side API
* Shared state handling

Change-Id: Ic85051b16ef77791f1fdae78fca47a0729e1c43d

10 years agoFix web.xml element order issue (#14257)
Juuso Valli [Fri, 18 Jul 2014 07:34:25 +0000 (10:34 +0300)]
Fix web.xml element order issue (#14257)

In some servlet definitions async-supported was before init-param
Change-Id: I2d4886a0aa4c37bad3b0385e25b51e91d59a4c31

10 years agoOmit BOM when parsing issue list for release notes
Juuso Valli [Fri, 18 Jul 2014 11:23:46 +0000 (14:23 +0300)]
Omit BOM when parsing issue list for release notes

Change-Id: If241edbb79fecd3d99939a53f70c7c6d78f74e40

10 years agoImplement active cell keyboard navigation for Grid (#13334)
Teemu Suo-Anttila [Wed, 16 Jul 2014 12:44:27 +0000 (15:44 +0300)]
Implement active cell keyboard navigation for Grid (#13334)

Change-Id: I38b759f24fa35432d5bc330b06a64caaa7ef3c9e

10 years agoExplain what to do if chrome.driver.path is needed but missing (#14231)
Leif Åstrand [Tue, 15 Jul 2014 08:35:04 +0000 (11:35 +0300)]
Explain what to do if chrome.driver.path is needed but missing (#14231)

Change-Id: Ibd6f890136d62a3b19f8c60158b4aa1397454f7e

10 years agoStart rewrite of client-side Grid header/footer API (#13334)
Johannes Dahlström [Tue, 15 Jul 2014 11:36:01 +0000 (14:36 +0300)]
Start rewrite of client-side Grid header/footer API (#13334)

The old API is marked as deprecated and does not work anymore.

Currently supported:
* A single hard-coded header
* Text captions

TODO:
* Footers
* 0..n headers and footers
* Column spanning
* HTML content
* Widget content
* Component content
* Sorting/Indicators
* Server side API
* Shared state handling

Change-Id: I0448c36c8406807037b5e21e2db205a2ee24bc8a

10 years agoAdd pure client-side test application for Grid (#13334)
Patrik Lindström [Tue, 15 Jul 2014 23:57:20 +0000 (02:57 +0300)]
Add pure client-side test application for Grid (#13334)

Change-Id: I853a91c20e80361ef5daeb31024597200acad1d9

10 years agoAdd asserts checking for negative container sizes (#14232)
Leif Åstrand [Tue, 15 Jul 2014 13:11:40 +0000 (16:11 +0300)]
Add asserts checking for negative container sizes (#14232)

Change-Id: I5b6298be367e4fe820320a5e3fd6bf5aaa7e2047

10 years agoFixes memory leak in VScrollTable (#14159)
Dmitrii Rogozin [Thu, 10 Jul 2014 14:13:30 +0000 (17:13 +0300)]
Fixes memory leak in VScrollTable (#14159)

Change-Id: I59596630b71f5a6b78c13bc5dbeaf7ef5dfaccf9

10 years agoGenerate type data for AbstractRendererConnector.decode (#13334)
Johannes Dahlström [Thu, 10 Jul 2014 16:28:14 +0000 (19:28 +0300)]
Generate type data for AbstractRendererConnector.decode (#13334)

The presentation type parameter is stored so that decode works
without implementers having to implement a getType method.

Change-Id: Ia2b9f977f2bf6ed006379cda5eeb61674dd92ee0

10 years agoUpdate Atmosphere runtime to 2.1.2.vaadin3 (#13971)
Sauli Tähkäpää [Wed, 9 Jul 2014 11:11:39 +0000 (14:11 +0300)]
Update Atmosphere runtime to 2.1.2.vaadin3 (#13971)

Atmosphere 2.1.2.vaadin3 includes fix for:
https://github.com/Atmosphere/atmosphere/issues/1643

Change-Id: I67c07dc3b32ebb3b0eed634bf143bac9a7e5efe2

10 years agoAdd GridRowElement and GridCellElement (#13334)
Teemu Suo-Anttila [Mon, 14 Jul 2014 15:50:35 +0000 (18:50 +0300)]
Add GridRowElement and GridCellElement (#13334)

Change-Id: Ia0fbc8e0a54089f826659969fa281ec8a79b6d87

10 years agoRefactor GridKeyboardNavigationTest
Teemu Suo-Anttila [Tue, 15 Jul 2014 11:36:26 +0000 (14:36 +0300)]
Refactor GridKeyboardNavigationTest

GridKeyboardNavigationTest is now a subclass of GridBasicFeaturesTest.

Change-Id: Ibb169526a035fb77a66024a5170996d9a0607b02

10 years agoSplit GridBasicFeaturesTest to sub tests
Teemu Suo-Anttila [Thu, 10 Jul 2014 13:54:22 +0000 (16:54 +0300)]
Split GridBasicFeaturesTest to sub tests

Change-Id: I17f2c9e289cd08f583fcccfbd2852d38afeda180

10 years agoImplement active cell painting and mouse interaction (#13334)
Teemu Suo-Anttila [Mon, 14 Jul 2014 13:40:30 +0000 (16:40 +0300)]
Implement active cell painting and mouse interaction (#13334)

Change-Id: Iecb9db0fe6ea9ef0409e2ac0a294ac3508277251

10 years agoImprove error message if @RunLocally is committed (#14216)
Leif Åstrand [Fri, 11 Jul 2014 15:26:51 +0000 (18:26 +0300)]
Improve error message if @RunLocally is committed (#14216)

Change-Id: Ic35b71a01b207ff87072d2e46f34f171ec581fe0

10 years agoMention Date serialization in javadocs related to JavaScript (#14143)
Leif Åstrand [Fri, 4 Jul 2014 07:36:39 +0000 (10:36 +0300)]
Mention Date serialization in javadocs related to JavaScript (#14143)

Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac

10 years agoRename scrollToItem to scrollTo (#13334)
Leif Åstrand [Tue, 15 Jul 2014 09:53:02 +0000 (12:53 +0300)]
Rename scrollToItem to scrollTo (#13334)

Change-Id: Ib2e9415a40ec1664ea0b9881437f1c33eaf0bc09

10 years agoRemove csrfToken if disable-xsrf-protection is true (#14111)
Bogdan Udrescu [Wed, 9 Jul 2014 15:40:26 +0000 (18:40 +0300)]
Remove csrfToken if disable-xsrf-protection is true (#14111)

If the server sends no token and the client value remains "init" then
it's not sent back to the server.

Change-Id: I74fc470c5c22d57c4a48eab3e4476ae4cc2dd242

10 years agoAllow customizing DeploymentConfiguration for test UIs (#14215)
Leif Åstrand [Fri, 11 Jul 2014 14:59:57 +0000 (17:59 +0300)]
Allow customizing DeploymentConfiguration for test UIs (#14215)

Change-Id: I4a9db58e65b94ec0e46e849e6856817986bd750e

10 years agoFix Tabsheet scrollbutton by css position in Chameleon theme (#12154)
Johannes Tuikkala [Wed, 9 Jul 2014 11:44:03 +0000 (14:44 +0300)]
Fix Tabsheet scrollbutton by css position in Chameleon theme (#12154)

Change-Id: Icd38631f8802fc86949fa29dd517f1aca0499c33

10 years agoAdds a scrollbar to table column drop down (#14156).
Felype Santiago Ferreira [Mon, 7 Jul 2014 14:25:48 +0000 (17:25 +0300)]
Adds a scrollbar to table column drop down (#14156).

Change-Id: I7ce7c61f842a09af1842a14fedec3412120944c7

10 years agoOptimizes initial sizes of frequently used Collections. (#14223)
Fabian Lange [Sat, 12 Jul 2014 19:44:09 +0000 (21:44 +0200)]
Optimizes initial sizes of frequently used Collections. (#14223)

There are a few places in frequently used core classes which could
initialize collection classes with the correct (or slightly oversized)
length.
Maps are initialized with 2x the size due to its load factor.

Change-Id: I3aee5a60602937a8550ca5a200ec2a529ff36fe9

10 years agoOptimize CurrentInstance.set(UI) and .set(VaadinSession). (#14220)
Fabian Lange [Sat, 12 Jul 2014 19:09:32 +0000 (21:09 +0200)]
Optimize CurrentInstance.set(UI) and .set(VaadinSession). (#14220)

This change reduces the amount of intermediate steps taken to initialize
the thread locals for a given ui or vaadin session.
It mainly takes advantage of reusing the old values from the map in set()
instead of creating new ones to put into the "old" map which is returned.

Change-Id: I4dbaff973f46e73f8f3a0c285b14c97603f2d5a4

10 years agoremoves extra VaadinSession.setCurrent() from PushHandler. (#14222)
Fabian Lange [Fri, 11 Jul 2014 21:43:03 +0000 (23:43 +0200)]
removes extra VaadinSession.setCurrent() from PushHandler. (#14222)

The setCurrent call on VaadinSession is not needed. the one extra call
can be saved because service.findVaadinSession will already set it.
Added a comment like it is done for UI (service.findUI will also set the
UI).

Change-Id: Ic24d922554d1316aae310813ef5d00a0bbfd418a

10 years agoFix for drag-and-drop text to TextField in Firefox (#14056)
Anthony Guerreiro [Mon, 7 Jul 2014 07:57:17 +0000 (10:57 +0300)]
Fix for drag-and-drop text to TextField in Firefox (#14056)

Couldn't created an automated test in selenium - can't get it to drag text.

Change-Id: I1a0beab97840401423e3b446015ff0c729bc2ca2

10 years agoAdd TestCategory annotation for GridClientRenderers test
Teemu Suo-Anttila [Thu, 10 Jul 2014 13:57:48 +0000 (16:57 +0300)]
Add TestCategory annotation for GridClientRenderers test

Change-Id: I239947c9538a2f2c2b937f50d863e7fb612fe5a2

10 years agoGenerate type data for AbstractRendererConnector.createRenderer (#13334)
Johannes Dahlström [Thu, 10 Jul 2014 13:26:01 +0000 (16:26 +0300)]
Generate type data for AbstractRendererConnector.createRenderer (#13334)

The declared return type of the most-derived getRenderer method is stored
to make the default createRenderer implementation work. This is identical
to the way AbstractComponentConnector getWidget and createWidget work.

Change-Id: I879e9e6739e366bd81773a1e65195336e0cdac6d

10 years agoServer-side programmatic sort updates sort indicators in the UI (#13334)
Leif Åstrand [Thu, 10 Jul 2014 12:41:24 +0000 (15:41 +0300)]
Server-side programmatic sort updates sort indicators in the UI (#13334)

Change-Id: Ia4bae5d88d265250d1bf4daa8d23561edb757872

10 years agoAdd server-side SortOrderChangeEvent support (#13334)
Leif Åstrand [Thu, 10 Jul 2014 05:57:21 +0000 (08:57 +0300)]
Add server-side SortOrderChangeEvent support (#13334)

Change-Id: Ia250909edccf9a838414994ee24eb5326f49478a

10 years agoGridConnector sends user sort events to the server (#13334)
Leif Åstrand [Wed, 9 Jul 2014 16:20:19 +0000 (19:20 +0300)]
GridConnector sends user sort events to the server (#13334)

Change-Id: Ic5b1462ecf2e5a5cef6b08bea7a4c00a09c39c9a

10 years agoUpdate sorting indicators when sorting through the API (#13334)
Leif Åstrand [Wed, 9 Jul 2014 18:29:49 +0000 (21:29 +0300)]
Update sorting indicators when sorting through the API (#13334)

Change-Id: I34e56a731ee7263cee6b79588993f27e92e1aa5f

10 years agoRemove extra shadow from combobox popup for IE9 and IE10.(#14195)
Dmitrii Rogozin [Wed, 9 Jul 2014 13:59:04 +0000 (16:59 +0300)]
Remove extra shadow from combobox popup for IE9 and IE10.(#14195)

Change-Id: I733f21f5fc0795633ed3a658b6b19681d8f26b22

10 years agoFix overwrite mechanism for web.xml atmosphere init params (#14196).
Fabian Lange [Wed, 9 Jul 2014 14:23:43 +0000 (16:23 +0200)]
Fix overwrite mechanism for web.xml atmosphere init params (#14196).

Non obvious problem before. "config" is a property of AtmosphereFramework
which also has getInitParameter(String) method. So it compiles but does
not do what is intended: to check against the user defined web.xml
servlet init-prams.
(the variableName servletConfig has the same problem :-))

Change-Id: Ib02f0b94312327d482775456c2d63a904b1e8104

10 years agoPosition sorting indicators correctly in both Chrome and FF (#13334)
Leif Åstrand [Wed, 9 Jul 2014 18:28:37 +0000 (21:28 +0300)]
Position sorting indicators correctly in both Chrome and FF (#13334)

Change-Id: Icfbb9c6a4a52db0c55a5244f2dfdb24a86379397

10 years agoCache sass output compiled on the fly by VaadinServlet (#9532)
Leif Åstrand [Wed, 9 Jul 2014 15:45:37 +0000 (18:45 +0300)]
Cache sass output compiled on the fly by VaadinServlet (#9532)

Change-Id: I5ce36a5c3beffe7b686a8754b6f7311d83b00f87

10 years agoFix modifying rows in GridBasicFeatures
Teemu Suo-Anttila [Thu, 10 Jul 2014 08:56:40 +0000 (11:56 +0300)]
Fix modifying rows in GridBasicFeatures

Change-Id: If19200b02720a7fe3a0b2bd1e944f21aa12bdb98

10 years agoServer-side sorting updates data on client-side (#13334)
Teemu Suo-Anttila [Wed, 9 Jul 2014 08:03:08 +0000 (11:03 +0300)]
Server-side sorting updates data on client-side (#13334)

Change-Id: If4576ed8605c4795d6edaa2f6d36cdb2eb9e8440

10 years agoImplement Grid server-side Sorting API (#13334)
Patrik Lindström [Mon, 23 Jun 2014 07:58:54 +0000 (10:58 +0300)]
Implement Grid server-side Sorting API (#13334)

Change-Id: Ie85cdaab8b942ed1bb60edac6b20bc1b9c47b445

10 years agoFix unpinning in DataProviderKeyMapper (#13334)
Teemu Suo-Anttila [Wed, 9 Jul 2014 11:33:21 +0000 (14:33 +0300)]
Fix unpinning in DataProviderKeyMapper (#13334)

Change-Id: I485f262a4e44de10f207c804b91efe2f7ccf7670

10 years agoBox and unbox long values in state fields (#14176)
Leif Åstrand [Tue, 8 Jul 2014 15:19:28 +0000 (18:19 +0300)]
Box and unbox long values in state fields (#14176)

We actually want to pass around the primitive long values emulated by
GWT even though JavaScript code can't do anything with the values.
Skipping the unboxing caused long fields to always be 0 since that's how
JavaScript converts an object into a number.

This patch also makes the test assert that the expected state values are
received and updates those values to actually make sense in some
situations.

Change-Id: Id9c3696d699593bd9e59e249c5daf077873b85fc

10 years agoSome general Grid maintenance (JavaDocs mostly) (#13334)
Henrik Paul [Wed, 9 Jul 2014 07:55:51 +0000 (10:55 +0300)]
Some general Grid maintenance (JavaDocs mostly) (#13334)

Change-Id: I6724ae2433b742b620d43cb564798d59be805545

10 years agoFix box shadow bug with resizing elements in IE9 and IE10.(#14173)
Dmitrii Rogozin [Tue, 8 Jul 2014 09:28:20 +0000 (12:28 +0300)]
Fix box shadow bug with resizing elements in IE9 and IE10.(#14173)

Change-Id: I513340db4123c40bba0832f8af77ec5e725c24e6

10 years agoRemoves the version number from @since in Grid classes (#13334)
Henrik Paul [Tue, 8 Jul 2014 09:04:56 +0000 (12:04 +0300)]
Removes the version number from @since in Grid classes (#13334)

Change-Id: I36192c46b359b8307c5bb1faf71c3b9a20e77fb8

10 years agoFix regression in notification for chameleon caused by 13885.(#14172)
Dmitrii Rogozin [Mon, 7 Jul 2014 14:54:22 +0000 (17:54 +0300)]
Fix regression in notification for chameleon caused by 13885.(#14172)

Change-Id: I33d70c54b9118e85c9542e56b917b993516ae213

10 years agoMerge remote-tracking branch 'origin/master' into grid
Teemu Suo-Anttila [Tue, 8 Jul 2014 08:32:54 +0000 (11:32 +0300)]
Merge remote-tracking branch 'origin/master' into grid

Conflicts:
WebContent/release-notes.html

Change-Id: I7f97cb771665485dbc9130a3c9b0365185615fc5

10 years agoIncrease simulated latency in GridClientRenderers test
Teemu Suo-Anttila [Mon, 7 Jul 2014 12:48:00 +0000 (15:48 +0300)]
Increase simulated latency in GridClientRenderers test

Change-Id: I53bc77a1ba36eadee7c1c08f8eaffcece00e81fc

10 years agoCall setup on cells in CellIterator.rawPeekNext
Johannes Dahlström [Mon, 7 Jul 2014 11:16:02 +0000 (14:16 +0300)]
Call setup on cells in CellIterator.rawPeekNext

Colspan handling requires cells to have elements associated.

Change-Id: I28b9c989507b952f4a3549413bff18f39c394cfb

10 years ago Fix background color in chameleon theme after removing shadow divs (#14145)
Dmitrii Rogozin [Fri, 4 Jul 2014 12:46:55 +0000 (15:46 +0300)]
 Fix background color in chameleon theme after removing shadow divs (#14145)

Change-Id: I9b0566070af58afda7693936943237e70cea4a2f

10 years agoUse Sass compiler version 0.9.8
Henri Sara [Mon, 7 Jul 2014 10:00:16 +0000 (13:00 +0300)]
Use Sass compiler version 0.9.8

Change-Id: I04996df90cbbb449d54e54c3affc74ff40fddeeb

10 years agoFix shadow bug with menu in runo theme (#14162)
Dmitrii Rogozin [Mon, 7 Jul 2014 08:47:57 +0000 (11:47 +0300)]
Fix shadow bug with menu in runo theme (#14162)

Change-Id: I9f6486597c45180ef7f748ba128f3f287d28bd97

10 years agoReturn a value on __gwtStatsEvent in Profiler (#11709)
Bogdan Udrescu [Fri, 4 Jul 2014 13:23:26 +0000 (16:23 +0300)]
Return a value on __gwtStatsEvent in Profiler (#11709)

Calling GWT RPC throw an exception when __gwtStatsEvent doesn't return
a boolean. This was in the Profiler.ensureNoLogger where the function
assigned was empty.

Change-Id: If97e15eb3c2c6512e80f3bde81ba180b8c95c947

10 years agoFix GridSingleColumnTest & CustomRendererTest
Teemu Suo-Anttila [Mon, 7 Jul 2014 09:07:43 +0000 (12:07 +0300)]
Fix GridSingleColumnTest & CustomRendererTest

Change-Id: Ifa789542441e2560a57afe372c6b94d5d9e6b7e6

10 years agoFix GridClientColumnRenderers test (#13334)
Teemu Suo-Anttila [Fri, 4 Jul 2014 13:34:18 +0000 (16:34 +0300)]
Fix GridClientColumnRenderers test (#13334)

Change-Id: Icca020d2a0478ac385932d3ff1aedd5df9c530b4

10 years agoFix setting SelectionMode on application start (#13334)
Teemu Suo-Anttila [Fri, 4 Jul 2014 11:37:48 +0000 (14:37 +0300)]
Fix setting SelectionMode on application start (#13334)

Change-Id: I7993a1e7c0ecfc1f75adfe0c156cd41528fea329

10 years agoModified test case to work around bug preventing popup to close in IE (#14086)
Anthony Guerreiro [Tue, 1 Jul 2014 07:38:00 +0000 (10:38 +0300)]
Modified test case to work around bug preventing popup to close in IE (#14086)

Change-Id: Icb47d8a0c737e27a3d88078b4162c633ba08739c

10 years agoAdds key-related helper methods to Renderers. (#13334)
Henrik Paul [Tue, 1 Jul 2014 13:56:03 +0000 (16:56 +0300)]
Adds key-related helper methods to Renderers. (#13334)

Change-Id: Ic7b1ece8b88126323acc2e216acdebe636091b98

10 years agoAdds the ability to swap between the three client side selection models (#13334)
Henrik Paul [Mon, 30 Jun 2014 15:18:32 +0000 (18:18 +0300)]
Adds the ability to swap between the three client side selection models (#13334)

So, this means when the selection model is modified on the server side,
the client side changes accordingly.

Change-Id: I3c7e3802cecdf9dfd64f5296c48fca5dfc58787d

10 years agoAvoid object creation in getAllChildrenIterable in most cases. (#14142)
Fabian Lange [Thu, 3 Jul 2014 21:52:05 +0000 (23:52 +0200)]
Avoid object creation in getAllChildrenIterable in most cases. (#14142)

API change from:
    public static Iterable<ClientConnector> getAllChildrenIterable(final ClientConnector connector)
to
    public static Iterable<? extends ClientConnector> getAllChildrenIterable(final ClientConnector connector)

avoids creating wrappers in case the component has either no subcomponents
or no extensions. This covers the vast majority of components.

Change-Id: I48ffd2f26f09c265fae6e1aaabdbaa655d52ffb8

10 years agoRemove unused VWindowOverlay (#14055)
Artur Signell [Mon, 23 Jun 2014 17:10:50 +0000 (20:10 +0300)]
Remove unused VWindowOverlay (#14055)

Change-Id: I3125dec887106e746b95c220f587a8d3e39be0f0

10 years agoMake Grid scroll as the selection drag happens near an edge. (#13334)
Henrik Paul [Wed, 4 Jun 2014 10:54:41 +0000 (13:54 +0300)]
Make Grid scroll as the selection drag happens near an edge. (#13334)

Change-Id: Id5188cc090e181deb2128933236d39d7b418c16a

10 years agoRemove shadow div for Overlay elements except IE8 (#9303).
Henri Sara [Thu, 3 Jul 2014 05:43:44 +0000 (08:43 +0300)]
Remove shadow div for Overlay elements except IE8 (#9303).

Change-Id: I7bdaf849e79191183013ca05e7420e10411f0b2e

10 years agoRevert "Allow changing theme on the fly (#2874)"
Henri Sara [Thu, 3 Jul 2014 11:02:14 +0000 (14:02 +0300)]
Revert "Allow changing theme on the fly (#2874)"

This reverts commit 1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 as
well as the related changes to @since, release notes etc.

Conflicts:

client/src/com/vaadin/client/ResourceLoader.java
client/src/com/vaadin/client/communication/TranslatedURLReference.java
client/src/com/vaadin/client/ui/ui/UIConnector.java
server/src/com/vaadin/ui/UI.java
shared/src/com/vaadin/shared/ui/ui/UIState.java
uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java

Change-Id: Id882dc730f51055f6d17200964bcaf8a1f87a35f

10 years agoClient now recognizes server-side selection model changes. (#13334)
Henrik Paul [Mon, 30 Jun 2014 14:37:51 +0000 (17:37 +0300)]
Client now recognizes server-side selection model changes. (#13334)

Change-Id: Ic42e0e96871620fde6b9ce17dd5b487b1d6b8370

10 years agoClean up test code for selection column (#13334)
Henrik Paul [Fri, 27 Jun 2014 09:55:45 +0000 (12:55 +0300)]
Clean up test code for selection column (#13334)

Change-Id: I98963a367f05c39ad6e185ebf8a1d903efa686a2

10 years agoAdd missing @since 7.3 to javadoc
Henri Sara [Wed, 2 Jul 2014 06:39:09 +0000 (09:39 +0300)]
Add missing @since 7.3 to javadoc

Change-Id: I62610ef647fbbb5a7cfae25ac5c7628f78f2c6ff

10 years agoAdd missing @since 7.2.4 in javadoc
Henri Sara [Thu, 3 Jul 2014 05:43:44 +0000 (08:43 +0300)]
Add missing @since 7.2.4 in javadoc

Change-Id: I48c37a377d6764333b83512dc613798aaf39423c

10 years agoFix PushConfigurationLongPollingTest.
Sauli Tähkäpää [Fri, 27 Jun 2014 07:52:01 +0000 (10:52 +0300)]
Fix PushConfigurationLongPollingTest.

Change-Id: I49516f311315d3c84a177ec6bd937e1241e67351

10 years agoDisabled shadow divs. Instead use css box-shadow (#13885)
Dmitrii Rogozin [Tue, 24 Jun 2014 12:29:40 +0000 (15:29 +0300)]
Disabled shadow divs. Instead use css box-shadow (#13885)

Change-Id: Ibf8888de795b08aed0446607165d7318f94ee6f4

10 years agoRefactor GridLayout tests (#14044)
Dmitrii Rogozin [Tue, 17 Jun 2014 13:24:22 +0000 (16:24 +0300)]
Refactor GridLayout tests (#14044)

Change-Id: If297591d46979ce991921f9545ed04a0c2c92e41

10 years agoImplement Grid client-side ListSorter (#13334)
Patrik Lindström [Mon, 30 Jun 2014 12:53:04 +0000 (15:53 +0300)]
Implement Grid client-side ListSorter (#13334)

Change-Id: I51e6b56a00ac45185be98d6c62c3b0ee7494c8f4

10 years agoReading properties of components should not set state to dirty (#14060).
Fabian Lange [Tue, 1 Jul 2014 11:31:08 +0000 (13:31 +0200)]
Reading properties of components should not set state to dirty (#14060).

Fixed issue with SplitPanels which were not marking sets as dirty.

Change-Id: I23bb8bfca87a825aef132f249e05871cf7b36a34

10 years agoMerge remote-tracking branch 'origin/master' into grid
Teemu Suo-Anttila [Tue, 1 Jul 2014 10:32:29 +0000 (13:32 +0300)]
Merge remote-tracking branch 'origin/master' into grid

Conflicts:
WebContent/release-notes.html

Change-Id: I515edf75b3ba2eb0bf94fa0d747cadbce2c79a21