Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22Bug 548250 - Javadoc problems in platform.textI20191125-1800I20191125-0600I20191124-1800I20191124-0600I20191123-1800I20191123-1115I20191123-0600I20191123-0100Paul Pazderski1-1/+1
Change-Id: I84f9f4c00e81494dc69134e660e261fcab1dc493 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-11-14Whitespace removal for test plug-ins platform.textI20191118-0600I20191117-1800I20191117-0600I20191116-1800I20191116-0600I20191115-1800I20191114-1800I20191114-0410Lars Vogel5-15/+15
Done via running the cleanup action on the code base Change-Id: I9a8d23d6d5e77fec0f845b60b99cac6bd1c2b429 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-10-09Bug 551570 - Two org.eclipse.ui.genericeditor.tests.ContextInfoTestS4_14_0_M1I20191009-1800I20191009-0600Andrey Loskutov1-6/+21
fails on Linux since I20190926-0625, part 2 Relaxed time constraints in the ContextInfoTest Change-Id: If7ad1876f3206eadd9298fa45ca42761282f83f5 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-09-20Bug 544448 - [Test] Add extension point for quickAssistantProcessorsMickael Istria1-1/+2
Automated test missing in test suite. Change-Id: Icd186012f6f079ef68719d68ce13ce11f66872f6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-09-19Bug 544448 - Add extension point for quickAssistantProcessorsI20190919-1800Andrew Obuchowicz3-8/+139
Change-Id: If9e4aab45c7389b92475e07b955c45c50bbdd251 Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2019-09-16Bug 547683 - Add non-UI Thread access to last known selectionMickael Istria2-4/+93
Adds ITextViewerExtension9.getLastKnownSelection() method that gives access to last known value for the selection without requiring UI Thread. The new Generic Editor test case shows how this can be leveraged in ContentAssistProcessors. Change-Id: I8a4831c08f7ff1ade07f2a12ad8d0d2c682a372c Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-07-18Bug 513034 - [generic editor] Provide a way for generic editor to useLakshminarayana Nekkanti2-1/+107
different icon based on content-type Change-Id: I669c1a8df2918cdecea5e12d71059e34cb2f1c3f Signed-off-by: Lakshminarayana Nekkanti <narayana.nekkanti@gmail.com>
2019-05-19Bug 547304 - [cleanup] Fix wrong space/tab indentationS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600R4_12_maintenancePaul Pazderski4-14/+14
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: I3e7b6abb69a1894c402f9123417346a44fc0992a
2019-02-13Bug 538439 - org.eclipse.ui.genericeditor.tests 4 tests fail on MacY20190213-0305Andrey Loskutov2-16/+18
Change-Id: I68e642651a1627e3544c54cc0b5825d781eb58fc Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-02-10Bug 518569 - Use StandardCharset constantsI20190210-2135I20190210-1800Karsten Thoms1-3/+4
Also: version bump for 4.11 Change-Id: I7055e6a2ceb521dbe6065888b735ac62caa73ef6 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-08-29Bug 537195 - Disable test on macOSY20180829-2200S4_9_0_RC2S4_9_0_RC1R4_9I20180906-0745I20180905-2000I20180905-0800I20180904-2000I20180904-0800I20180903-2000I20180903-1305I20180903-1125I20180903-0945I20180903-0800I20180902-2000I20180902-0800I20180901-1500I20180901-0800I20180831-2000I20180831-0815I20180830-1030I20180829-2000I20180829-0800R4_9_maintenanceMickael Istria1-4/+2
Change-Id: I3911cb72d7452c588f08dac4d22bc549a9b62672 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-08-23Bug 537195 - HoverTest fails on MacLucas Bullen1-45/+53
- Adds a hover to be created on mac before the test starts hopefully stopping the first hover test ran from failing Change-Id: Ie9b2abbad309b63ea2e0d49c61536a6ea696bad8 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-08-21Bug 530393 - EPL 2.0 update for platform.text test bundlesLars Vogel32-96/+192
Update all sources files except .exsd files, Java pref files and pom files Regex used: git checkout master git reset --hard origin/master git pull find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: Ib0696b0bfadec3d64cdc0064d35fb952e3953055 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-03Bug 520659 - [generic editor] Default Code folding for generic editorI20180803-2000angelozerr4-0/+309
should use IndentFoldingStrategy Change-Id: If023933536584f07960fcb6b99c6dedcf6f6be1c Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-08-02Bug 537195 - [Generic Editor] Disable failing hover testLucas Bullen1-0/+1
Change-Id: Ia35afed7c240cbfcd5c9d685134f830ea3b2dd58 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-08-01Bug 537195 - [Generic Editor] Failing hover test 3Y20180801-2200S4_9_0_M2I20180801-2000Lucas Bullen1-14/+7
- Wait for the hoverData to be populated before returning it Change-Id: Ie54021ff121fb371a8323fcb9c249111fdbda11c Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-07-27Bug 537195 - [Generic Editor] Failing hover test 2I20180729-2000I20180729-0800I20180728-1500I20180728-0805I20180727-2000Lucas Bullen1-1/+0
- Remove assert as it fails for unknown reason on server, tested on Linux and MacOS computers with successs Change-Id: Ie47a32c40a2ec14581cd548d9fb3037efd51122e Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-07-26Bug 537195 - [Generic Editor] Failing hover testI20180726-2000Lucas Bullen1-4/+17
- Clean before broken test - Proper wait condition for setting caret location - wait for events to be processed instead of guessing at 1 second Change-Id: I34f486e4097b06f8de4884abfaeb3d2eb172298d Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-03-27Bug 532774 - [GenericEditor] Tests for <enabledWhen> SupportI20180331-1500I20180330-2235I20180330-2000I20180329-2000I20180329-0000I20180328-2000I20180327-2000Lucas Bullen7-12/+155
- Tests for turning on and off a property that in turn enables/disables each extension point Change-Id: Idd6805d6e6677a93e822657ab7182136636078a0 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-02-01528344 - [Generic Editor] Default highlighter patterns are brokenI20180204-2000I20180203-1500I20180202-2000I20180202-0315I20180201-2325I20180201-2000Alexander Kurtakov1-3/+1
Fix warning in the test. Change-Id: I39229664aa0298b759bae79144397456972a36bb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-01-30528344 - [Generic Editor] Default highlighter patterns are brokenI20180130-2000Carsten Reckord3-16/+140
Use a single (positive) pattern definition for valid words to match both the current word and occurrences within the text Change-Id: I6d05484b9991a543c2979005deae4533cb8c2735 Signed-off-by: Carsten Reckord <reckord@yatta.de>
2017-11-21Bug 527577 - [Generic Editor] NPE in highlighterLucas Bullen1-1/+1
Confirm the sourceViewer has a textWidget when performing the getCaretOffset asynchronously Change-Id: Ieb5cdefcd8c25f1df0d2badb092c0eb90a8ed20a Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2017-11-14Bug 521382 -[generic editor]Tests for Default HighlighterI20171115-0115I20171115-0025I20171114-2000Lucas Bullen4-2/+260
Test for highlight extension point Change-Id: I9250cc635f8e897cedc9af142833f506ae880d9e Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2017-10-20Removes a "unchecked" warning from HoverTestS4_8_0_M3aS4_8_0_M3I20171106-2000I20171106-0630I20171105-2000I20171104-2025I20171104-1500I20171103-2000I20171103-1105I20171103-0715I20171103-0405I20171102-2000I20171101-2000I20171031-2000I20171030-2000I20171030-0400I20171029-2000I20171028-1500I20171027-2340I20171027-2000I20171025-2000I20171025-0800I20171024-2000I20171024-0800I20171023-2000I20171023-0800I20171022-2000I20171022-0800I20171021-1500I20171020-2000Lars Vogel1-1/+2
Change-Id: I7102e636e693beadf69b5e2be3e3970a8cac63d2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-10-11Bug 510715 - .project editor broken if test and example are checked outI20171017-0515I20171016-2000I20171015-2000I20171015-0655I20171014-1500I20171013-2000I20171012-2000Lucas Bullen3-3/+45
Replaced org.eclipse.core.runtime.text usage with a sub type to avoid overlap between tests and editor usage Change-Id: Id738b525082ed5993b94e78690cb7f3ec42e62b4 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2017-10-02Bug 512251 - Fix IllegalArgumentException in ContextInformationPopupI20171011-2000I20171011-0305I20171010-2000I20171009-2000I20171008-2000I20171007-1500I20171006-2000I20171005-2000I20171004-2000I20171004-0315I20171003-2000I20171002-2000Stephan Wahlbrink4-7/+191
Change-Id: I7c6eec0871e7f2b3a2a71c401b19e52a687f126e Signed-off-by: Stephan Wahlbrink <sw@wahlbrink.eu>
2017-09-24Bug 522255 - Filter/restart completion session only uses 1st processorI20170927-2000I20170927-0420I20170926-2000I20170925-2000Mickael Istria3-80/+96
Change-Id: Ie5697da68555f80569c870c6d54ea7f0ec94370a Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-09-15Bug 521484 - Async content-assist can freeze UI ThreadLucas Bullen3-3/+51
Added async proposal filtering to avoid defaulting to sync proposal retrieval Change-Id: Ibdc3767359e7fe6f4ff8d52d8cd895e1ddea04ae Signed-off-by: Lucas Bullen <lbullen@redhat.com> Also-By: Mickael Istria <mistria@redhat.com>
2017-09-08Bug 513321 - Aggregate mutliple hover sourcesS4_8_0_M2I20170913-2000I20170913-1120I20170913-0800I20170913-0420I20170913-0220I20170912-2255I20170912-2000I20170912-0800I20170911-2000I20170911-0800I20170911-0405I20170910-2000I20170910-1055I20170910-0800I20170909-1500I20170909-0920I20170909-0800I20170909-0510I20170908-2345I20170908-2000Mickael Istria4-13/+107
Including API fix Change-Id: Ieb35e68eef0f67ea3610645505843c5060ab3d31 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-09-08Revert "Bug 513321 - Aggregate mutliple hover sources"Mickael Istria4-107/+13
This reverts commit 55c3acdef4f74ecddae3e3f6c89fdb691c2c64ad. Change-Id: I543b5b6f4b129ec46a21f06c3045a6804f215356
2017-09-06Bug 513321 - Aggregate mutliple hover sourcesMickael Istria4-13/+107
Change-Id: I3cc1fe523f1db9f55095e587ea05a88b1f89dfaa Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-08-31Bug 521418 - [GE] support multiple reconcilers for same contentTypeI20170904-0230I20170903-2000I20170902-1500I20170901-2000I20170831-2000Lucas Bullen5-15/+104
Adds all reconcilers to the editor in ascending order of specificity Change-Id: I2abc3097b517176333a758b0a0025e12ac47a21e Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2017-08-08Bug 520685 - [Generic Editor] Sort ext. by most specialized content-typeI20170809-2000Mickael Istria6-5/+86
Factorize extensions and registry polling (can be continued). This allows most registries to return first the extension that applies to the most specialized content-types. Change-Id: Icfd5d0c2e72cd579e9fe8c034420d88c628f39a6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-07-20Bug 508829 - [Generic Editor] provide a way to customize reconcilerI20170723-2000I20170722-2000I20170722-0045I20170721-2000I20170720-2000Lucas Bullen4-1/+156
- Extension point for reconcilers added - Example of use with folding Change-Id: I966e0fa4e5711fb85aa792361184fd7ddbcf0620 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2017-06-29Bug 508677 - [Generic Editor] Extension point for auto edit strategiesMichal Niewrzal5-1/+105
Change-Id: I275a82c443e6a9e612ea8e3297b2c78f6cae8ac0 Signed-off-by: Michal Niewrzal <michal.n@zend.com>
2017-05-16Bug 505842 - Test failues in HoverTestMickael Istria1-0/+7
Better handle some more places for async Change-Id: I5714b25fa2cc71e2a896c6b3a9a3f4be6fc7e539 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-05-15Bug 516534 - Remove unnecessary dependency toLars Vogel1-1/+1
org.eclipse.ui.tests.harness from org.eclipse.ui.genericeditor.tests Change-Id: I4f434a91983beb721e9f1fab997e6e5ec916abbd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Also-By: Mickael Istria <mistria@redhat.com>
2017-05-15Bug 505842 - Minor fixes in Generic Editor testsI20170515-0910I20170515-0800Mickael Istria2-4/+25
* Handle cases of slow CI (fast completion getting long and going async) * Skip HoverTest on win32 Change-Id: I455972886563bd4a886019c4196d21f347d02272 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-03-16Bug 512525 - Editor actions in menus and Generic EditorMickael Istria6-127/+119
* Add menus so commands are accessible via shortcut and quick-assist * Add images to commands so they look nice in menus * Test enablement of wordwrap, whitesplaces, block selection in Generic Editor... Bug: 512525 Bug: 512571 Change-Id: I95345a8eae45bec98f835614156d4037e7df4431 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-03-08Bug 511101: [Generic Editor] misses quick fix on error markersMarkus Keller1-8/+23
- improved HoverTest (no endless loop, better logging) - removed dependency on platform.ui test bundle - improved ScreenshotTest
2017-02-21Bug 511101 - Enable quick fix on generic editorI20170221-2000Mickael Istria3-23/+160
* Available for Quick-Fix command (Ctrl+1) * Hover on text editor Change-Id: I6576f109d6f2a1fdc6020ed6510b645e12dcf3f6 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-01-17Bug 251156 - Asynchronous content assistMickael Istria6-22/+106
This provides a new AsyncContentAssistant, performaing computation and presentation of content assist proposals (and related operations) asynchronously whenever possible. Part of this change is also internally allowing the parent ContentAssistant to support multiple IConteantAssistProcessors (although this is not exposed through public API). The AsyncContentAssistant does expose the manipulation of multiple contentAssistProcessors though. Some fields and methods where also made more visible (usually from private to protected or package, to maximize the ability to reuse existing code from the current synchronous framework, in order to make the feature easier to write, and also to provide a consistent experience with aysnc and sync content assist. Change-Id: I3e80c6422eaababc165e955ddeb3539909bfcb9f Signed-off-by: Mickael Istria <mistria@redhat.com>
2016-10-13Bug 505842 - [generic editor] Test failure in HoverTest.testHoverY20161013-1000Mickael Istria1-6/+11
Add more pauses to let event process Change-Id: I5005c4c8879cf07d2cad0ce11aa5057849ced55e Signed-off-by: Mickael Istria <mistria@redhat.com>
2016-10-11Bug 503332 - Show pop-up for problems on text on Generic EditorMickael Istria1-7/+32
It's just a regular Hover extension with highest priority Change-Id: Ic01f765f6abae99a18dba5817e26a1a6e8d1cd7a Signed-off-by: Mickael Istria <mistria@redhat.com>
2016-10-11Bug 505447 - [generic editor] Make sure all files have copyright noticeI20161011-0800Mickael Istria1-0/+10
Change-Id: I9f3054195b6050bfa049cbc3045cee90902f8b78 Signed-off-by: Mickael Istria <mistria@redhat.com>
2016-09-26Bug 497871 - Generic and extensible text editorSopot Cela8-0/+487
This change creates a new extensible text editor, with extension points for: * contentAssist * hover * syntax highlighting Some unit tests show examples of extensions. You can load an IDE with the suggested change (including org.eclipse.ui.editors.tests) and get a syntax highlighter, a hover support and some content assist on the plain text editor. Bug: 497871 Bug: 496117 Bug: 496115 Bug: 496300 Signed-off-by: Mickael Istria <mistria@redhat.com> Signed-off-by: Sopot Cela <scela@redhat.com> Change-Id: I2eec71e4620364aa11c500ec07e54c693863cf44

    Back to the top