Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2017-06-13Update build configuration for RAP Runtime 3.2.0 RC4 (Oxygen RC4a)3.2.0-RC43.2.0-Rstreams/3.2-maintenanceMarkus Knauer3-3/+3
- Use Eclipse Platform build S-4.7RC4a-201706120950 Change-Id: I3b3af97c26eedd0ea8a592dc2d26ca4afa03532b Signed-off-by: Markus Knauer <>
2017-06-13[e4] Remove old RAP e3 workbench related bundles from e4 featuresMarkus Knauer2-70/+0
Remove the following RAP e3 related bundles and their source bundle counterparts in order to have a clean separation between the e3 and the e4 world. - org.eclipse.rap.ui - org.eclipse.rap.ui.cheatsheets - org.eclipse.rap.ui.forms - org.eclipse.rap.ui.views - org.eclipse.rap.ui.workbench Change-Id: I5a324ce4ec3b3426180d80b2c15ec13ae0201c27 Signed-off-by: Markus Knauer <>
2017-06-10Update build configuration for RAP Runtime 3.2.0 RC4 (Oxygen RC4)Markus Knauer3-4/+4
- Use Eclipse Platform build S-4.7RC4-201706080530 - Switch to Eclipse Orbit release URL R20170516192513 Change-Id: I85fd7b50a7c7ac54124884c4ca25cafbab5fceb7 Signed-off-by: Markus Knauer <>
2017-06-09[e4] Minor fixes in feature dependencies3.2.0-RC3aMarkus Knauer2-1/+15
- Include org.eclipse.rap.e4.feature instead of org.eclipse.rap.feature in the RAP E4 SKD feature. - Add org.eclipse.equinox.ds as additional dependency to the RAP Basic E4 Equinox Target feature because it seems to be required via capabilities from the di.extensions.supplier bundle. Change-Id: I38ce32a73a5569c3ef42eb9bb79c8c89930e8728 Signed-off-by: Markus Knauer <>
2017-06-09Add JsDoc for Client, Slider and ScrolledComposite scriptingIvan Furnadjiev3-6/+30
Change-Id: Ic6fd0e4878710c79be15d611db3a0c7a022127dd
2017-06-09Update e4 Demo launch configurationIvan Furnadjiev2-84/+42
Move the e4 Demo launch configuration in "launch" folder similar to other demos. Leave only single launch configuration. Change-Id: Icb20193c70ee0ed165ed7a2f6594a2662887cd3f
2017-06-09[e4] Remove "org.eclipse.equinox.ds" from MANIFEST.MFIvan Furnadjiev1-1/+0
The "org.eclipse.equinox.ds" has been replaced with "org.apache.felix.scr" and is not part from the target platform anymore. Change-Id: If0377df117d26f5e79644f9aa412e2dcdc13dfa5
2017-06-08[e4] Create corresponding features for RAP e4Markus Knauer32-788/+1989
Remove the migrated RAP Incubator features org.eclipse.rap.e4.base.feature and from the build and from the Git repository. Replace them with new ones that match the existing RAP naming conventions: - org.eclipse.rap.e4.feature: All RAP e4 specific bundles from the RAP project. - org.eclipse.rap.e4.sdk.feature: Source bundles for above bundles. - All 3rd party bundles that are required to build and to run a basic RAP e4 based application. - org.eclipse.rap.e4.examples.feature: RAP e4 example project(s) Change-Id: I7cc4b48372ae24d6cfb68e6dea6c3b294894118f Signed-off-by: Markus Knauer <>
2017-06-08[e4] Prepare RAP e4 demo project for build integrationMarkus Knauer4-11/+42
Increment the version of the RAP e4 demo project, align the MANIFEST.MF data with that of other bundles Add an initial pom.xml for build integration to the plugin, and add the new module for building to the top-level pom.xml. Change-Id: I9b8c88c431aa2ede006003e201228920e73ab691 Signed-off-by: Markus Knauer <>
2017-06-07Prepare RAP e4 components for release and increment version3.2.0-RC3Markus Knauer27-133/+927
- Increment version to 3.2.0 for migrated RAP e4 components - Harmonize RAP e4 features (include legal files, order and content of feature.xml, p2.inf, ...) - Externalize strings, fix copyright. - Prepend version qualifier of forked bundles with 'rap-' Change-Id: Iefa8bcbb199a985cafc44ae9a20a98627a3221b5 Signed-off-by: Markus Knauer <>
2017-06-07Upgrade RAP Runtime build to Eclipse Tycho 1.0.0Markus Knauer1-1/+11
Upgrade Eclipse Tycho for building to version 1.0 following the old tradition of using the latest published build for building which brings it to the same level as the Eclipse Platform build for Oxygen. The release notes do *not* list any incompatibilities that would affect the RAP Tools build: One advantage is the usage of checksums especially for external bundles. In order to minimize the risk of this upgrade, keep the old default settings and do not take the project specific compiler settings into account. This setting should be revised at a later time. Change-Id: I0c99dbd8db5e02c22e521a76f1ddbc0164ec4d40 Signed-off-by: Markus Knauer <>
2017-06-06Improve RAP e4 p2 repository structure and outputMarkus Knauer3-4/+18
- Create a separate category for RAP e4 artifacts in the p2 repository. - Use rap-e4 prefix for RAP e4 archive file name. - Automatically create entries for statistical p2 data in all p2 repos. Change-Id: I3d9bed171c59b8ac55e82348c33efb6d64b65487 Signed-off-by: Markus Knauer <>
2017-06-06Update build configuration for RAP Runtime 3.2.0 RC3 (Oxygen RC3)Markus Knauer2-2/+2
- Use Eclipse Platform build S-4.7RC3-201705312000 Change-Id: If4e855d503ae12e3c93a8d2b160ec7b81bee9be2 Signed-off-by: Markus Knauer <>
2017-05-31Update build configuration for RAP Runtime 3.2.0 RC2 (Oxygen RC2)3.2.0-RC2Markus Knauer2-2/+2
- Use Eclipse Platform build S-4.7RC2-201705242000 Change-Id: I4afe023ce82f6555b85e4535a37dd40d55ab2cb9 Signed-off-by: Markus Knauer <>
2017-05-24Update build configuration for RAP Runtime 3.2.0 RC1 (Oxygen RC1)3.2.0-RC1Markus Knauer2-3/+3
- Use Eclipse Platform build S-4.7RC1-201705181030 - Use Eclipse Orbit build S20170516192513 Change-Id: I42b9dbc2e6ec2ec1282f5b57bf9f82e78dcaf1c1 Signed-off-by: Markus Knauer <>
2017-05-16[e4] Create new RAP e4 p2 repository3.2.0-M7Markus Knauer3-0/+151
Create a new separate p2 repository with all the content from the standard RAP Runtime build *and* the newly included features from the RAP e4 Incubator project after its move to the RAP Runtime project. Change-Id: I51661f48c82bbd6d950252614fd4148b698bdf71 Signed-off-by: Markus Knauer <>
2017-05-16[e4] Integrate e4 artifacts into Tycho buildMarkus Knauer10-45/+131
Ajdust the existing pom.xml files of the new e4 artifacts (bundles and features) and add them as modules to the main RAP Runtime build. Prepend version qualifier of forked bundles with 'rap-' Change-Id: I067ba092af6f91e753d6867d026e365121cd3f8f Signed-off-by: Markus Knauer <>
2017-05-16[e4] Add required p2 repositories to RAP e4 featuresMarkus Knauer2-0/+36
For building the RAP e4 features they need access to a number of external p2 repositories in order to resolve the defined dependencies. Make Eclipse Platform, Jetty, and Orbit p2 repositories accessible during build time of the features. Change-Id: I52fb236e2c968d912ebe624087063c8a8009a1ae Signed-off-by: Markus Knauer <>
2017-05-15[e4] Fix compile problems for Eclipse OxygenMarkus Knauer4-4/+5
- Use 0.15 of org.eclipse.e4.core.di.extensions - Add org.eclipse.e4.core.di.extensions.supplier bundle - Update EventUtils package name - Remove version constraint from org.w3c.dom.css Change-Id: Ife41e1b1ec629eeed55183a31ad3f6253c5433f1 Signed-off-by: Markus Knauer <>
2017-05-15[e4] Move RAP e4 incubator project to main RAP Runtime projectMarkus Knauer383-0/+57504
Use commit 594b007f1f564cdcf7b77b947affea8f58999c94 from the RAP e4 Incubator Git repository [1] and move the bundles, features, and demo/example projects into the matching directories of the main RAP Runtime repository. The tooling projects remain in the incubator Git repository for the time being. The releng projects won't be migrated as they will be replaced with new ones during the migration process. [1] Change-Id: Id2290c781dfc81dcb2f72f1e375eb1e45197a445 Signed-off-by: Markus Knauer <>
2017-05-14Update build configuration for RAP Runtime 3.2.0 M7 (Oxygen M7)Markus Knauer2-4/+4
- Use Eclipse Platform build S-4.7M7-201705120500 - Use Eclipse Orbit build S20170505151127 - Use Jetty 9.4.5.v20170502 Change-Id: Iad6b6f9745ce1842627dd29e24e5d2cb1b93abb3 Signed-off-by: Markus Knauer <>
2017-05-04Remove ClientTest#testRunsLocally testIvan Furnadjiev1-8/+1
As RAP is always runnnig from server, Client.getRunsLocally() function has been removed. Change-Id: I786c9986dc6ff2c075034574f44fcfc958ecc0ee
2017-05-04Don't use cached item widths after TSD repackIvan Furnadjiev3-4/+27
TextSizeRecalculation#clearLayoutBuffers calls Composite#changed to ensure that no cache data are used after real text sizes are available. In Tree widget the cached item text widths are correctly cleared, but not in Table. Align the implementation with Tree widget - clear cashed item widths in "changed" method. 515247: Table column is packed correctly only after two calls to pack() Change-Id: Iada27dee4d83f67285658413c77c1e4d2b050b8b
2017-04-26Add ScrolledComposite to the list of controls that should not take focusIvan Furnadjiev2-2/+46
In SWT ScrolledComposite is not focusable by tab regardless NO_FOCUS style flag. 515153: ScrolledComposite should not take focus Change-Id: Ie1ac5fcec59127a983335e737968f8df78dfe9f9
2017-04-21Expose Client class in client APIIvan Furnadjiev3-11/+102
The Client class we use to identify browser and available features could be highly useful for custom widget developer. 415810: [WebClient] make Client class public Change-Id: I14a57be9a57d442cfde5a90b869ee17a6e7f579e
2017-04-10Add SWT version to resources.js pathIvan Furnadjiev1-3/+6
Now the workbench JS resource file is registered at: "rwt-resources/<swt version>/resources.js" similar to "rap-client.js". The SWT version is obtained by SWT.getVersion(). 503150: Version resource.js file to prevent caching issues Change-Id: I17c728ad72980ad8b6658fb1eee2e8170d82136a
2017-04-07Extend Slider client scripting capabilitiesIvan Furnadjiev6-10/+86
Ad support for Selection client listener. Expose scripting getSelection/getMinimum/getMaximum methods in SliderHandler.js. 512382: Client-side Selection listener is not invoked for Slider widget Change-Id: Icb8f99b0e8c2c7ce989283de25b4d2c8de077249
2017-04-06Fix CTabFolder top-right control layoutIvan Furnadjiev5-7/+23
RAP is using very old implementation of the server-side CTabFolder control. In order to be used in e4, the widget was completely rewriten by the SWT team. To avoid some layouting problems of the top-right CTabFolder control, add missing redraw call to recalculate it's bounds. Increase CTabItem top/bottom padding a little in default theme to avoid the top-right control cut-off. 435499: CTabFolder#setTopRight does not layout appropriately when modified 512943: [e4] Rendering of toolbar broken after switching parts Change-Id: I38c99d6bc7027bcf95279f19888981af6bd0d197
2017-04-03Update DropDown position after the popup height is setIvan Furnadjiev1-2/+2
DropDown#renderPosition depends on popup height when it's rendered above the text field. Change-Id: I46d1ab8ec086ed6f4a1dad40ef9eae58c7301b5f
2017-03-21Create a safe-copy of min/max date in setters and gettersIvan Furnadjiev2-14/+62
To avoid min/max date manipulation outside the DateTime widget, the min/max setters and getters should create a safe-copy of the Date object. Change-Id: I19705fd401e91b5b1f3b6c60e0f26a05184dbd58
2017-03-21Implement min/max-value support for DateTime widgetElshad Seyidmammadov16-51/+789
DateTime widget represents wide range of date or time data that is selectable by users. However, in some cases, range of data or time must be limited with according minimum and maximum values. The limitation has to be highlighted in the calendar and prevent users to select a value that is before the defined minimum or after the defined maximum date. Implement min/max-value support for date, time and calendar instances of DateTime widget. 431122: [DateTime] Enable min/max-Value Support for DateTime widget Change-Id: I1bdf12b53354bec1082c648f907f84cfad71a26d Signed-off-by: Elshad Seyidmammadov <>
2017-03-20Implement get/setOrigin() Client-API for ScrolledCompositeIvan Furnadjiev2-4/+37
Change-Id: I0d7f4785fc432ea42a62d7a82095b10b04606663 Signed-off-by: Clemens Eisserer <>
2017-03-14Update build configuration for RAP Runtime 3.2.0 M6 (Oxygen M6)3.2.0-M6Markus Knauer2-2/+2
- Use Eclipse Platform build S-4.7M6-201703082000 Change-Id: I9b2a9e28403a55c91d6fcc828eaee0616ae29ef7 Signed-off-by: Markus Knauer <>
2017-02-23Don't send ServerPush requests with a timerIvan Furnadjiev2-14/+8
The timer for sending ServerPush requests has been introduced as a workaround for bug 353819. All recent (supported by RAP) WebKit browsers (including iOS Safary) now have this issue fixed. Remove the workaround as it's not needed anymore. 508727: Consider not using a Timer to send ServerPush Change-Id: I3ea830d62c1f45528ea8d2d46517037b6c8f74c1
2017-02-14Ensure that the Grid custom variant is applied to splitted containersIvan Furnadjiev2-1/+23
Change-Id: I18a1a6bdf0cd5fdf5355f3b176bf30288150a919
2017-02-10Add JS tests for custom variant inheritance in GridIvan Furnadjiev3-18/+117
Change-Id: I7200aececac0102fd23b6772ef0fadc633100412
2017-02-09Render ServerPush deactivation when display is disposedIvan Furnadjiev4-9/+26
We should deactivate active server push session on the client when display is disposed. Otherwize, the client will continue sending server push request non-stop in some cases. Also deactivate server push on the client before sending shutdown request as server renders empty response in this case. 510553: Add possibility to stop a ServerPushSession even if there are still Runnables to process Change-Id: I20ddc1a50ebf244fb5a8d94a8bebe0447cbd96e2
2017-02-09Set Content-Type response header of server push requestsIvan Furnadjiev1-1/+2
According to the RFC 2616 [1], responses without Content-Type header should treat it as type "application/octet-stream". There is a bug in latest Firefox versions that responses with no Content-Type header default to "xml", which leads to error. [1] Change-Id: I5fbee04aefc6cda5ed59bec6680c0446781663bc
2017-02-06Ensure that the Tree/Table custom variant is applied to the grid linesIvan Furnadjiev3-4/+10
Change-Id: I72c59a8f843db99d5fbae6c4d46084bbc48e9d99
2017-02-06Ensure that the Grid custom variant is applied to the sort indicatorIvan Furnadjiev2-2/+5
Change-Id: I84dec79c43df05631957b7ab8acfda309268380e
2017-02-06Ensure that the Grid custom variant is applied to the cell paddingIvan Furnadjiev1-2/+6
Change-Id: Ie49672e06ce120af3b7ca791cbfa405ba59ea9a0
2017-02-06Let GridItems and GridColumns inherit the custom variant from GridIvan Furnadjiev4-8/+25
Client changes only, no server changes necessary. Partial fix for Bug 324721 - Items should inherit custom variants Change-Id: Ib54c544aca895d18f43bfcb530f5358d908976a0
2017-02-06Use Java 8 for "org.eclipse.rap.jface"Ivan Furnadjiev3-5/+5
In Oxygen platform, bundle "org.eclipse.equinox.common" requires Java 8. To avoid compilation error we have to rise the execution environment of org.eclipse.rap.jface to Java 8 too. 511612: Use Java 8 for org.eclipse.rap.jface Change-Id: I54bc5e2ae0beff6c97bbd3fd49743815a8564ff5
2017-02-03Adapt cluster testfixture to Jetty 9.4.xIvan Furnadjiev11-178/+194
In Jetty 9.4.x some API used by cluster testfixture have changed, which leads to compile errors. As SessionManager has been removed and most of the functionality delegated to SessionHandler, rename all related classes from xxxSessionManagerxxx to xxxSessionHandlerxxx. Use DefaultSessionIdManager in both cluster and single instance scenarios. Use UISessionListener in SessionTimeoutEntryPoint to ensure the session invalidation, which better fits in the context of the test. Bug: Change-Id: Idd1a825382f6ded4504970ced6bda75ce6678477 Signed-off-by: Ivan Furnadjiev <>
2017-02-01Replace Eclipse Equinox DS with Apache Felix SCR3.2.0-M5Markus Knauer10-43/+43
Eclipse Equinox DS development is being discontinued and the Equinox team decided to replace this by the corresponding Apache Felix SCR implementation. Remove the org.eclipse.equinox.ds bundle and replace it with its org.apache.felix.scr counterpart. Remove the old DS requirement org.eclipse.equinox.util, and add the new org.eclipse.osgi.util which provides the now required packages org.osgi.util.function and org.osgi.util.promise. Bug: Change-Id: I52b4a50534dcad2cd163ba88c80681d537a21392 Signed-off-by: Markus Knauer <>
2017-02-01Update build configuration for RAP Runtime 3.2.0 M5 (Oxygen M5)Markus Knauer7-23/+28
- Adjust feature copyright date to 2017 - Use Eclipse Platform build S-4.7M5-201701261030 - Use Orbit build S20170120205402 - Provide Jetty version 9.3.9.v20160517 for cluster tests because 9.4.0.v20161208 requires additional updates for incompatible changes which will be part of a future commit. See bug 511450 for further details. Bug: Change-Id: I4dcebf3138d08e41d2c8e85a531d502b0a661436 Signed-off-by: Markus Knauer <>
2017-01-26Fix client crash on ToolTip parent disposalIvan Furnadjiev2-2/+16
The Tooltip widget is added to the destroyableChildren list of its parent in ToolTipHandler.js, but it's never removed as "protocolParent" is not set (see HandlerUtil.js#_widgetDestructor). When disposing the ToolTip widget first and then its parent, a client crash occures, because the disposed (removed from ObjectRegistry) ToolTip is still available in the destroyableChildren list. Set ToolTip "protocolParent" user data in ToolTipHandler. 511037: Error due to explicit creation of a ToolTip widget Change-Id: I3b42ac516b20cbcc3dbd5d1d46e45e2610ebbe53
2017-01-19Fix NPE in ServerPushManager when UI session is shutdownIvan Furnadjiev2-6/+20
In some rare cases it's possible to call isSessionExpired on already destroyed UI session. Return true immediately in this case. Change-Id: Ic461fb4d84499ca6221c111ccb456975ef2cba67
2016-12-13Update build configuration for RAP Runtime 3.2.0 M4 (Oxygen M4)3.2.0-M4Markus Knauer2-3/+3
- Use Eclipse Platform build S-4.7M4-201612080830 - Use Orbit build S20161205183421 Change-Id: I4bc7325f2563d9cecb70dae0a1bc2e38121c11d3 Signed-off-by: Markus Knauer <>
2016-11-29Fix columns not shown in DropDownIvan Furnadjiev2-0/+10
This regression has been introduced with commit cfe70d8069207475927824a4241f8878f9cbe2a4. GridRow renders column cell labels only if their width is greater than 0. To compute the cellWidth a valid cellOrder config property is needed. DropDown manually creates the grid config cellOrder property in DropDown#setColumns function, but it is overrided in Grid#_updateColumns when Grid#flushWidgetQueue is called. Replace Grid#setColumnOrder function with empty implementation in DropDown#setColumns to protect the manually created grid config cellOrder property. 508049: [AutoSuggest] No columns shown in AutoSuggest with ColumnDataProvider Change-Id: Ie1e98f0f62f1c5e50f8bb6a1f902dbe7ed13d332

Back to the top