Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-02-03Preserve the actual text selection valueIvan Furnadjiev1-2/+18
When a verify listener is attached to the Text the selection value is preserved manually - see TextLCAUtil#readTextAndSelection. When client sends invalid selection (selectionStart is bigger than text length) the server adjusted the value in Text#setSelection(). To avoid rendering of this adjusted value back, the LCA should preserve the actual value and not the one sent by the client. 424118: [Text] Cursor reset to first character when typing fast https://bugs.eclipse.org/bugs/show_bug.cgi?id=424118 Change-Id: If8c72e196b3b64b6ad1038f900e1651c90c04d4d
2014-02-03Always use adapter method to set the text sent by the clientIvan Furnadjiev1-1/+32
The adapter method is now responsible for setting the text only. Selection is set in TextLCA after the text. 424118: [Text] Cursor reset to first character when typing fast https://bugs.eclipse.org/bugs/show_bug.cgi?id=424118 Change-Id: I6ce0f31ad3ed7d275eb05103fb9ea9dfa0a24592
2014-01-29Invalidate focus when shell is activated from the clientIvan Furnadjiev1-1/+24
Setting active shell from the client will change (restore) the focus control. As readData is executed before preserveValues the new focus control will be preserved and will not be rendered back. 418893: Keylisteners do not fire under certain circumstances https://bugs.eclipse.org/bugs/show_bug.cgi?id=418893
2014-01-29Do not preserve/render selection listener for separator ToolItemIvan Furnadjiev1-1/+15
Separator ToolItem does not fire selection event. Thus, to preserve/render of selection listener is not needed. 422104: [ToolItem] JavaScript error when adding selection listener to separator https://bugs.eclipse.org/bugs/show_bug.cgi?id=422104
2014-01-29Unregister servlets after ApplicationContext is stoppedRalf Sternberg1-5/+20
The servlet bridge blocks the calling thread while unregistering servlets with standing requests. This lead to a lock state when trying to undeploy an application that has waiting push requests. Since the contract of HttpService.unregister() does not make any statement about this, we must assume that other HttpService implementations expose the same problem. Stopping the application releases these push requests. The RWTServlet will not accept requests after ApplicationContext.deactivate has been called. After this point, the servlet will return HTTP 503 (Service Unavailable). A 5xx return code is used instead 4xx to indicate that this is not a client error. See bug 407371: Tomcat hangs during shutdown https://bugs.eclipse.org/bugs/show_bug.cgi?id=407371 Change-Id: Ie52455cdb8099321571f4c27d13b78b8a487a1a5
2014-01-21Update RAP Runtime to RAP 2.1.2Markus Knauer2-4/+4
- Update version numbers in pom.xml, MANIFEST.MF, feature.xml - Update dependencies in feature.xml and category.xml - Adjust copyright headers where appropriate
2014-01-21Revert wrong commitMarkus Knauer5-80/+0
This reverts commit 78400ab1b94edc8d5328926b987a5155e84bfa5d.
2013-10-25MSG msg-cumulative-2.1.patchMarkus Knauer5-0/+80
2013-09-02Update RAP Runtime bundle versions and package exports to 2.1.1Markus Knauer2-2/+2
2013-08-19Change Focus/Traverse events order in EventTypes#EVENT_ORDERIvan Furnadjiev1-0/+33
413453: Listener execution order different between SWT and RWT https://bugs.eclipse.org/bugs/show_bug.cgi?id=413453
2013-08-09Does not send event if folder is in disposeIvan Furnadjiev1-0/+16
410024: [TabFolder] Sends unwanted selection events when disposed https://bugs.eclipse.org/bugs/show_bug.cgi?id=410024
2013-08-05Add content type check before processing the POST requestIvan Furnadjiev1-0/+21
413668: Cross Site Request Forgery vulnerability (aka CSRF/XSRF) https://bugs.eclipse.org/bugs/show_bug.cgi?id=413668
2013-08-05Remove ampersand control characters in WidgetLCAUtil#renderToolTipIvan Furnadjiev2-33/+39
Move tooltip tests in WidgetLCAUtil_Test. 413876: [Tooltip] - Filter out & https://bugs.eclipse.org/bugs/show_bug.cgi?id=413876
2013-07-02Update features and build artifacts from 2.1.0 to 2.1.1 for Kepler SR1Markus Knauer1-1/+2
2013-06-11Revert "Set httpOnly flag to setting store cookie"2.1.0-RC42.1.0-RRalf Sternberg1-1/+0
This reverts commit 76fa8878b14f0bc1dba6f1934a4bc4e64b23bda4. Cookie-setHttpOnly() is only available in javax.servlet 3.0, while RWT requires only 2.5. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=408656
2013-06-07Set response headers to prevent cachingIvan Furnadjiev1-0/+11
410157: [ServerPush] ServerPush requests always return immediately in IE https://bugs.eclipse.org/bugs/show_bug.cgi?id=410157
2013-06-05Update copyright headersRalf Sternberg10-10/+10
Bulk update for all files that changed in 2013
2013-05-23Set httpOnly flag to setting store cookieIvan Furnadjiev1-0/+1
408656: HttpOnly flag for settingStore cookie https://bugs.eclipse.org/bugs/show_bug.cgi?id=408656
2013-05-17Add ClientMessages service for client messages localizationIvan Furnadjiev5-8/+188
Render localized client messages in startup JSON message (for WebClient only). When locale is changed the localized messages will be updated on the client. Shutdown dummy UI session created in the GET request after processing it.
2013-05-15Allow for re-sending requestsRalf Sternberg2-67/+93
In a case of a timeout, clients should be able to abort and send the same request again. There can be cases when the previous request had already been processed by the server but the response got lost on the way back. In these cases, the server will receive the previous request once again. This case is now handled in LifeCycleServiceHandler by checking the request counter. When a request is received with the previous request counter, this request will not be processed but the previous response will be returned. Clients are responsible for choosing a reasonable timeout and aborting the old request before sending it again. See bug 383397: Supporting unreliable networks by adding a request timeout handling https://bugs.eclipse.org/bugs/show_bug.cgi?id=383397
2013-05-15Pickup minimal-json update that makes JsonValue serializableRalf Sternberg10-22/+83
Use the default serial UIDs in order to prevent the risk of forgetting to update a serialVersionUID field after an incompatible change. Do not include the hash lookup table in JsonObject in the serialized dump. This data structure is only used to speed up lookups and can be re-created after deserialization.
2013-05-15Get list item padding height from themingIvan Furnadjiev2-2/+2
408113: [Combo][CCombo] List items text is not centered vertically https://bugs.eclipse.org/bugs/show_bug.cgi?id=408113
2013-05-14Update selection on create/destroy itemIvan Furnadjiev2-109/+240
Split tests to TabFolder_Test and TabItem_Test. Small code cleanup. 407882: [TabFolder] Shows wrong tab when tab added/disposed https://bugs.eclipse.org/bugs/show_bug.cgi?id=407882
2013-05-13Change test bundles to depend on mockito-allRalf Sternberg1-2/+1
We recently had a lot of trouble with the mockito bundle from Orbit which has a dependency on hamcrest that conflicts with JUnit's use of hamcrest (for details see bug 403676). These problems do not occur with the mockito-all bundle from Maven. This bundle also includes objenesis, so that we get rid of this extra dependency. * Change test bundles to Require-Bundle mockito-all 1.9.5 * Change pom to use the newly created extra-dependencies repository for 2.1 which includes mockito-all 1.9.5 from Maven
2013-05-13Clear cached values for item/header height in tree resizeIvan Furnadjiev1-0/+13
407561: [Tree] GridRow height incorrect on first session https://bugs.eclipse.org/bugs/show_bug.cgi?id=407561
2013-05-09Add equals/hashCode to Message classIvan Furnadjiev1-0/+24
2013-05-09Write JSON message directly to response writerIvan Furnadjiev4-41/+20
2013-05-07Render destroy operation regardless it's control (parent)Ivan Furnadjiev1-3/+14
407397: ControlDecorator is not disposed when decorated control is disposed https://bugs.eclipse.org/bugs/show_bug.cgi?id=407397
2013-05-06Update RAP package exports/imports and dependencies to version 2.1.0Markus Knauer1-5/+5
2013-05-06Add EventLCAUtil.isListening(Widget, int) methodIvan Furnadjiev2-0/+57
This method filters ClientListeners and must be used in all LCAs instead of Widget.isListening(int).
2013-05-05Pick up change from minimal-json: JsonObject copy constructorRalf Sternberg1-4/+10
2013-05-05Cleanup JsonUtil.createJsonArray(...) methodsRalf Sternberg1-2/+42
As the name says, createJsonArray() methods should create a JSON array, not a JSON null. These methods should fail for null input. Where JSON null is a permissible value in the protocol, it should be written explicitly. Checking all callers of these methods, I didn't find a single one that would call createJsonArray() with a null pointer.
2013-05-04Replace Map and Object in RemoteObject API with JSON typesRalf Sternberg54-541/+416
The untyped parameters in RemoteObject and OperationHandler are replaced with the new JSON types JsonValue and JsonObject. With this change, the remote API is now typesafe and flexible. The framework does not need to try to convert untyped objects, arrays, and maps to JSON and back again anymore. The API in org.eclipse.rap.remote id no longer marked as provisional. RemoteObject: set( String, Object ) -> ( String, JsonValue ) call( String, Map<String, Object> ) -> ( String, JsonObject ) OperationHandler, AbstractOperationHandler: handleSet( Map<String, Object> properties ) -> ( JsonObject ) handleCall( String, Map<String, Object> ) -> ( String, JsonObject ) handleNotify( String, Map<String, Object> ) -> ( String, JsonObject )
2013-05-03Move JSON parser into public packageRalf Sternberg68-139/+164
JsonValue and subtypes must be public API in order to allow for custom JSON values (such as nested JSON arrays and objects) in the RemoteObject API. Since the JSON parser is not related to RWT, the package is called org.eclipse.rap.json. We may consider to move the parser into a separate bundle at some point in the future.
2013-05-01Replace Object with JsonValue in message and operation wrappersRalf Sternberg59-602/+679
Currently, most values from incoming messages are first transformed to Java Objects, Object[], and Map<String, Object> and sometimes converted again to target types later on. The needless type conversions, creation of HashMaps and Arrays iterations slow down the message processing and also blur the code. We must rework all code that reads and writes properties as Objects, Object[] and Maps in favor of JsonValues.
2013-05-01Remove deprecated method from ClientObject, code cleanupRalf Sternberg7-69/+80
* Use Lists instead of Arrays to avoid needless toArray conversions * Use JsonValue instead of Object for head parameters
2013-05-01Remove set method with Object type from ClientObjectRalf Sternberg1-30/+12
2013-04-30Add GC.drawPath( Path ) and GC.fillPath( Path )Ivan Furnadjiev4-2/+495
406778: [GC] Add support for drawing paths https://bugs.eclipse.org/bugs/show_bug.cgi?id=406778
2013-04-26Use JsonValue instead of Object for operations (part 2)Ralf Sternberg2-103/+38
ClientObject: * remove setProperty( String, int[] ) * deprecate set( String, Object ) * Adjust LCA utils * Adjust some first LCAs
2013-04-26Use JsonValue instead of Object for operations (part 1)Ralf Sternberg7-163/+220
ProtocolMessageWriter: * eliminate appendSet( String, object ) ClientObject: * change call( String, Map<String, Object> ) to call( String, JsonObject ) * introduce set( String, JsonValue )
2013-04-26Refacoring: PostDeserializationRalf Sternberg1-19/+19
Use list instead of array, code cleanup
2013-04-25Decouple selection property and selection event for tool itemsIvan Furnadjiev1-53/+61
With client to server protocol we send selection property and notify operation separately.
2013-04-24Merge multi-tab feature branchIvan Furnadjiev1-0/+10
Rebuild client.js
2013-04-24Remove uiSession head parameter from protocolfeatures/multi-tabIvan Furnadjiev1-34/+0
Since the connection id is used to distinguish multiple connections in the same HttpSession, the uiSession parameter is not needed anymore.
2013-04-24Adjust cluster support to the multi tab changesIvan Furnadjiev1-1/+45
The UI session and request counter attributes now respect the connection id
2013-04-24Include connection id in custom service handler urlIvan Furnadjiev1-3/+17
2013-04-23Maintain different request counters for different connectionsIvan Furnadjiev2-3/+41
Keep backward compatibility with clients that do not send connection id
2013-04-23Respect "cid" request parameter in RWTServletIvan Furnadjiev1-0/+52
2013-04-23Render List item dimension with clientArea width if possibleTim Buschtöns1-0/+10
If no H_SCROLL style was given, all items now have the same width, which allows Markup to use relative width values. See Bug 405472 - [List] Content not shown correctly if markup is enabled
2013-04-23Include connection id when building the UI sessionIvan Furnadjiev2-0/+34
Read connection id from a request parameter and pass it to UI Session constructor.

Back to the top