Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-28[minor] Fix typos in extension point description and JavadocY20181107-2200Y20181031-2200Y20181030-1100Y20181030-0940I20181107-1800I20181107-0200I20181106-1800I20181106-0125I20181105-1800I20181104-1800I20181103-1800I20181102-2120I20181102-1800I20181101-1800I20181031-1800I20181031-0550I20181031-0540I20181030-1800I20181029-1800I20181028-1800Michael Keppler5-5/+6
Change-Id: I91986fc92c2f4f366218095502e3d0d2b19c0ed3 Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2018-10-26Bug 539849 - Guard against NPE in TemplateStore.getRegistry().I20181027-1800Roland Grunberg1-0/+3
When the underlying ContextTypeRegistry is null for TemplateStoreCore.getRegistry(), it indicates that all templates should be loaded, so simply return null in TemplateStore.getRegistry(). Change-Id: I5ddf2400e4eeb68f269555f24a48dd3cfee008ba Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2018-10-23Bug 540404 - Fixed NPE - added guard conditionsY20181026-0120Y20181025-0550Y20181025-0530I20181026-1800I20181025-1800I20181024-1800Karsten Thoms1-0/+3
Change-Id: I41930aa80dadd4bf098760daa8aaa7e1e0e4dafe Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-17Bug 491273 - remove copy/pasted getClosestMonitor() implementationI20181023-1800I20181023-1200I20181023-0800I20181022-2040I20181022-1800I20181021-1800I20181020-1800I20181019-1800I20181019-0450I20181019-0330I20181018-1800Andrey Loskutov2-37/+4
Change-Id: I6dc63724761f94353dc12be8c594e3664f55f42f Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-10-17Revert "Revert "Bug 536393 - [minimap] Default location of minimap should be ↵I20181017-1800Lars Vogel1-0/+14
in the same area as Outline"" This reverts commit 169d7ded688ac6239bdf47e55d40f1ff1ae0ef52. Change-Id: Ica4cbaf86d4e6cdde5986b1a55125c72fb54916e
2018-09-25Bug 539430 - [code mining] wrong line spacing for line header annotationS4_10_0_M1I20181016-1800I20181015-1800I20181015-0255I20181014-2350I20181014-1800I20181013-1800I20181012-1800I20181010-1800I20181010-0600I20181009-1800I20181009-0600I20181008-1800I20181008-0600I20181007-1800I20181007-0600I20181006-1800I20181006-0600I20181005-1800I20181004-1800I20181003-2215I20181003-1800I20181002-1800I20181002-0205I20181001-1800I20181001-0920I20181001-0235I20180930-1800I20180929-1800I20180928-1800I20180927-1800I20180927-0135I20180927-0040I20180926-1800I20180926-0830I20180925-1800angelozerr1-1/+1
Change-Id: Idc133c1331751789c22687e796c37b6626a586af Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-09-24Bug 535752 - Performance of search viewI20180924-1800Michael Keppler1-1/+1
With many search results being available, the search view takes almost all the time for refreshing the tree in the viewer. This can be avoided since we know perfectly that there is no structural change, when calling that method (the if insertChild() return value proves that). Therefore instead of a structure refresh it is sufficient to update a single node of the viewer only. For a search with more than 500.000 results, this brings the search runtime down from 3 minutes to 3 seconds on my system. Change-Id: I9c80b9e2e0c6c9aaa8cc732c7eec2d76dfc55305 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-244.10 version increase for org.eclipse.searchLars Vogel2-2/+2
Change-Id: Ia0b21d60471b185b88eb1df4634f7cff847091e3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-09-24Bug 539338 - [code mining] Clean code mining providers doesn't removeangelozerr1-0/+3
old code mining annotations Change-Id: I8dec68fdc4a8dd29cc2d7671fbcb8c0eba7d2961 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-09-24Bug 538504 - Performance of FaceTextUtil.isShowingEntireContents()Michael Keppler1-3/+12
For huge widgets avoid calculating all line heights to see whether scrolling is necessary in the widget. Instead calculate the last visible line and decide based on its index and visibility. This reduces the costly line height calculation to a small number, completely decoupled from the line count in the document. In my profiling use case with a 42.000 lines git diff editor (which has variable line height), the runtime of the changed method dropped from 640ms to less than 10ms, as measured in Yourkit. Change-Id: I25cd71587afcf2c266ec48255cb87cb35da6cce2 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-09-23Bug 535964 - Move some non UI classes from jface.text to o.e.text.I20180923-1800Sebastian Ratz3-44/+89
Another update to the #equals() implementation. bb4abd131785dc66b2a4da321ded042fd4e37db1 broke equals() in other scenarios. A = org.eclipse.text.templates.TemplatePersistenceData B = org.eclipse.jface.text.templates.persistence.TemplatePersistenceData Properly implement equals() in the super class (A) and in the deprecated subclass (B), such that the symmetric property of equals holds: A.equals(B) B.equals(A) This is ensured by always using B as a dummy and delegating via "ref". In the super type A introduce a new dummy UUID just for equals. This simulates the previous object identity semantics for equals (there can exist multiple *different* templates with identical values). Change-Id: Ia34e7019a54464b6f4d95521eddea8e682e87bf1 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2018-09-21Bug 535964 - Move some non UI classes from jface.text to o.e.text.I20180922-1800I20180922-0245I20180922-0005I20180921-1800Sebastian Ratz5-4/+57
Fix TemplatePersistenceData#equals implementation. Change-Id: Ie742ce68e685642d81f83bc9eb53a6b72e2a5516 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2018-09-21Bug 539317: catch exception thrown by codeMiningProviderTobias Melcher1-1/+16
Change-Id: I80377ca6706013ebbf4d50da666953ff3f4d2ed1 Signed-off-by: Tobias Melcher <Tobias.Melcher@sap.com>
2018-09-21Bug 538444 - [code mining] Draw of inlined header annotation breaks theangelozerr1-3/+0
draw of the dark scrollbar/margin A side effect is the the whole line (included code mining) is highlighted when selected instead of the text part only. But discussion on the bug concludes it's better as proposed than in previous state. Change-Id: I9473fa366a286d5babcea505807a51f7f50782c9 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-09-21Bug 539199 - All proposal filtered triggers new completion requestMickael Istria2-16/+32
Change-Id: I2a70986d1a3cbc261d24682cbedf61537d8d9589 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-21Bump bundle versionsMickael Istria6-6/+6
Change-Id: Ib6a22145088ad5437abb9eb46f0824f573e85819 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-20Workaround for bug 539244: Adding an interface not handled" id="926941240I20180920-1800Dani Megert1-0/+11
2018-09-19Bug 539096 - org.eclipse.text version minor segment incrementY20180919-2200I20180920-0630I20180920-0430I20180919-1800Andrey Loskutov3-3/+3
See bug 539096 comment 3. Change-Id: I61856a39655d50974df0fcc7ce1eb98f6c7675d6 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-09-18Bug 539096 - TemplateContext should implement IAdaptableI20180918-2005I20180918-1800Andrey Loskutov4-4/+15
Change-Id: Ia9af00f7380f72d89122cb2ae1e0f542fdb91a6a Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-09-17Bug 539165 - API for ContentAssistant to ignore completion trigger charsMickael Istria4-11/+39
Change-Id: If8741d6564ab5b13940b0b656f169d1b77df3812 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-14Bug 538876 - Fix type-check warningMickael Istria1-4/+6
Change-Id: Ie89b7f07a7c16f1cadd53582f288625ebd2ce745 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-09-14Fix self comparison of field with itselfI20180914-0620Katja Zavozina1-2/+2
Change-Id: I3acf3f80f81e122c48058abc335afb693f21ce3f Signed-off-by: Katja Zavozina <ekaterina.zavozina@sap.com>
2018-09-12Bug 538876: catch exceptions thrown in AsyncCompletionProposalPopupY20180912-2200I20180913-1800I20180913-0415I20180912-2240Tobias Melcher1-5/+15
Change-Id: I456288d4e02824673ac4731ec8d54a436e3cf560 Signed-off-by: Tobias Melcher <Tobias.Melcher@sap.com>
2018-09-12Refactoring: List ref. instead of ArrayListPeter Wichers1-2/+3
Change-Id: Ia7b5fdf89577f6faab9fa560f9f5f2b4545e5152 Signed-off-by: Peter Wichers <peter.wichers@sap.com>
2018-09-12Bug 538990: Generic Editor plugins should use unix line endingsMatthias Becker2-0/+4
Change-Id: I12f8d0b889d7cc146b09417218bcd24818c9fb0f Signed-off-by: Matthias Becker <ma.becker@sap.com>
2018-09-12Fixes: Dead store to local variable in IndentFoldingStrategy.javaKatja Zavozina1-7/+3
Change-Id: I70dbf2696e6e790e39bb4a46b6941ea5ba8609a4 Signed-off-by: Katja Zavozina <ekaterina.zavozina@sap.com>
2018-09-09Adds full qualified name for the deprecation link in ContextTypeRegistryI20180912-0225I20180912-0210I20180911-1400I20180910-0310Lars Vogel1-3/+3
Without that the link points to itself Change-Id: Id16f906f7d7d0d89d72ea366f1ba70f4da3358c9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-09-094.10 update for org.eclipse.jface.textLars Vogel2-2/+2
Conflicts: org.eclipse.jface.text/pom.xml Change-Id: Ia9eba74f78193a53a9dff2a242e6a38b20c30f74
2018-09-074.10 version update for org.eclipse.ui.editorsI20180907-0855I20180907-0715I20180907-0650I20180907-0400Lars Vogel2-2/+2
Change-Id: I0d916d82d6d75ce7f714ba2f95d494aaba9c5be7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-09-07Bug 535964 - Use new API of TemplatePersistenceData, TemplateReaderWriter.Roland Grunberg3-5/+7
- Use TemplatePersistenceData, TemplateReaderWriter from org.eclipse.text and not from the deprecated org.eclispe.jface.text bundle. Change-Id: I022ec34437046a011e9c211cc7071a0af1dfc092 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2018-09-04Bug 538531 - POM version change for 4.10 releaseY20180905-2200I20180906-1400I20180906-0005I20180905-1305I20180905-0410Sravan Kumar Lakkimsetti19-21/+21
Change-Id: I8ea72f1e990039ec24ce2930df788e2e199a9993 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
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-24[Generic Editor] Create Source sub popup menuI20180828-2000I20180828-0800I20180827-2000I20180827-0800I20180826-2000I20180825-1500I20180824-2000Lucas Bullen2-1/+14
- Used by extensions of the editor to store source related commands Change-Id: I34005e44734197d174d97f1addc9e372b30eee35 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-08-24Fix warningMatthias Becker1-4/+3
Don't use EditorsPlugin.getDefault to get the preference store but use EditorsUI.getPreferenceStore() which is API. Change-Id: Id1e75981b190af221578582a55cadb23536fbf54 Signed-off-by: Matthias Becker <ma.becker@sap.com>
2018-08-24Bug 535108: HTMLPrinter should not use deprecated HTML attributesMatthias Becker1-1/+1
org.eclipse.jface.internal.text.html did declare some plugins as x-friends that (no longer) use this package. So let's remove these x-freidns. Change-Id: I301bede94bb0d07f30e3142da84256887548884f Signed-off-by: Matthias Becker <ma.becker@sap.com>
2018-08-24Bug 536207 - Minimap wrong height calculationangelozerr1-0/+5
Change-Id: I60b828e797d3b0f9172c21b6f4cd234798d2320b Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-08-24Bug 538111 - [generic editor] Extension point for ICharacterPairMatcherangelozerr1-0/+1
Fix bug with contextual menu (Refactorings, ...) which disappear. Change-Id: Idcaeb8733acb394f8ccaf83585dfce0a27cda794 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-08-24Bug 538111 - [generic editor] Extension point for ICharacterPairMatcherangelozerr15-119/+620
Change-Id: Id8fd3d0dcfc09fa8f7037dbac83de487e729f26a Signed-off-by: angelozerr <angelo.zerr@gmail.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-23Revert "Bug 536393 - [minimap] Default location of minimap should be in the ↵Y20180823-0800S4_9_0_M3I20180823-0450I20180823-0430Andrey Loskutov1-14/+0
same area as Outline" This reverts commit 20233bb70140b4eb8ede3eade458b265e36757d6.
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 2Y20180822-2200I20180823-0100I20180822-2000Lars Vogel308-954/+1873
Change-Id: Ib43818885bc5b36db7d4fc0625a125402c595b2f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 3Lars Vogel181-543/+1086
Change-Id: If633b00cd24e773039442b549f9e1698f2719578 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 1Lars Vogel556-1668/+3336
Changes genericeditor and genericeditor.examples copyright format to be the same as the rest of the platform files 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: I368ef7a7265b2c5e3db28ded634557bba2b70c48 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Removes All rights reserved. fromI20180822-0800I20180821-2000Lars Vogel1-2/+2
org.eclipse.ui.genericeditor.examples/plugin.xml Change-Id: Ifb29ad0ce26c4a45de38280379105a0616c452d2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 530393 - EPL 2.0 update for platform.text test bundlesLars Vogel171-516/+1031
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-21Bug 536393 - [minimap] Default location of minimap should be in the sameLars Vogel1-0/+14
area as Outline Change-Id: Ib1e3a682e8199fec9a95d1d8e1c95829f9c97525 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Fixes syntax error in org.eclipse.ui.genericeditor.examples/plugin.xmlLars Vogel1-6/+6
Change-Id: If7e54e2df53e05819271401c6747dbde713455bd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Use enhanced for loop in HippieCompletionTestI20180821-0800Lars Vogel1-3/+5
This is triggered by the save actions Change-Id: Iee638d9fe025ad73f08ce8921d6026f7d500701d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 530393 - EPL 2.0 update for platform.text examplesLars Vogel70-210/+420
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: I93e57d7a9e65c42913376400ed455cf27b36ca6e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-21Bug 530393 - EPL 2.0 for exsd in platform.textLars Vogel26-30/+108
Based on the following regex. find . -type f -name "*.exsd" -exec sed -i -E 's/http:\/\/www.eclipse.org\/legal\/epl-v10.html\&quot;\&gt;http:\/\/www.eclipse.org\/legal\/epl-v10.html\&lt;\/a\&gt;/https:\/\/www.eclipse.org\/legal\/epl-2.0\&quot;\&gt;https:\/\/www.eclipse.org\/legal\/epl-v20.html\&lt;\/a\&gt;\/\n\nSPDX-License-Identifier: EPL-2.0/' {} + find . -type f -name "*.exsd" | xargs sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' find . -type f -name "*.exsd" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: I5df9aa96551224ccf1921e2b21ac9b4b54832e4e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top