Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-08-20Bug 538024 - Debug Source Display has encountered a problem - Index OutI20180820-2000angelozerr1-3/+39
of Bounds Change-Id: I9ec937ae2f3807669c59b2deea50c35c6a1e4146 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-08-17Some compiler warnings in MinimapPageTest.I20180820-0800I20180819-2000I20180819-0800I20180818-1500I20180818-0800I20180817-2000Alexander Kurtakov1-5/+5
Change-Id: I517b70360ad14e13e50a00f2bbbc1da239a99eff Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-17Remove unused api_filters.Alexander Kurtakov3-73/+0
Change-Id: I718d31b5aee785132b3e57f95e997c1e8a1ba5f4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-14Bug 536207: Fix the height calculation by using the bottom index.Y20180815-2200I20180816-2000I20180815-2000I20180815-1250I20180814-2000Arne Deutsch1-22/+42
To fix the height of the displayed viewport instead of trying to calculate the height the same approach as for the top index is used. This way the height is ok for all cases including enabled word wrap. Also fixed the update behavior when the text changes and introduced a minimal height of the viewport rectangle, such that it does not shrink if content is shown completely in the text viewer. Change-Id: Ife949b9db6a7cbb46be749d082b40bc843279a79 Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-11Bug 537719 - Proper treatment of null as a return value from proposal andI20180814-0910I20180814-0900I20180813-2000I20180812-2000Christian Dietrich2-6/+18
context information providers Change-Id: Icade86ba7a772b2d3ee5ff09ed23c35e5677af74 Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-07Bug 535964 - Move some non UI classes from jface.text to o.e.text.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000Roland Grunberg15-785/+1393
- Create TemplateReaderWriter, TemplatePersistenceData, and ContextTypeRegistry in org.eclipse.text which extend the corresponding classes from org.eclipse.jface.text in order the preserve the API for the latter - Make TemplateStore extend a new class TemplateStoreCore which will be located in org.eclipse.text, and contain the non-UI functionality from TemplateStore - Introduce new constructor to the deprecated TemplatePersistenceData, that takes an org.eclipse.text.templates.TemplatePersistenceData and delegates all API calls to it, if the object was constructed in this manner. Otherwise calls are handled by the inheritted class. In some cases, even though we use the new org.eclipse.text.templates.TemplatePersistenceData, the API requires us to return the deprecated version of TemplatePersistenceData. This satisfies the requirement while also ensuring the returned object can be modified by clients (unlike a copy). Change-Id: I4315693c8c557986d922106b7c1325e23de70725 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2018-08-04Bug 520659 - [generic editor] Default Code folding for generic editorI20180807-2000I20180807-1425I20180807-0350I20180806-2000I20180806-0300I20180805-2000I20180804-1500Alexander Kurtakov1-3/+1
should use IndentFoldingStrategy Remove useless variables that just generate compile warnings. Change-Id: I98d2c0e112e4cddc4ccbc649d09b7fdf55631669 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-03Bug 520659 - [generic editor] Default Code folding for generic editorI20180803-2000angelozerr13-54/+1154
should use IndentFoldingStrategy Change-Id: If023933536584f07960fcb6b99c6dedcf6f6be1c Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-08-02Bug 321410 - [EditorMgmt][navigation] Provide Mini-map of text in editorLucas Bullen1-0/+1
- Export minimap tests package to remove the "This plug-in does not export all of its packages" error in MANIFEST.MF file Change-Id: I8507b3c9ded93b7999c1b996f30356fae24898f7 Signed-off-by: Lucas Bullen <lbullen@redhat.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-02Bug 321410 - [EditorMgmt][navigation] Provide Mini-map of text in editorangelozerr3-1/+196
Add Minimap tests. Change-Id: I989369bf649d915409f4148364cad289e061d777 Signed-off-by: angelozerr <angelo.zerr@gmail.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-31Bug 491070 - Intermittent test failures in FileBufferFunctions.* onI20180801-0820I20180801-0800I20180801-0550I20180731-2000I20180731-1305I20180731-1250I20180731-1025I20180731-0800I20180731-0340Andrey Loskutov1-40/+69
CentOS Log full test names to the log and use appropriate, better assert methods Change-Id: I7a2de4905fd6df394c5fc7af40cc8842416db497 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-30Bug 109481 - [find/replace] replace doesn't work when using a regex withI20180730-2240I20180730-2000I20180730-0800Kalyan Prasad Tatavarthi4-99/+16
a lookahead or boundary matchers :- Reverting Changes as a result of Bug 537377 Change-Id: I975d326e67f650bc2dddac6948775b3bb3fbdf5a Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.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-07-24Bug 321410 - [EditorMgmt][navigation] Provide Mini-map of text in editorY20180725-2200I20180725-2000Till Brychcy4-7/+40
Change-Id: Ieebad527d54f73ba7d61fe0754d14158f1ace8a3 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2018-07-23Bug 536952 - Add copyright header to test classY20180723-0635Y20180723-0615I20180724-2000I20180723-2000Etienne Reichenbach1-0/+10
Change-Id: I718daded36b7325b2ac400101c4a21b5bf71312f Signed-off-by: Etienne Reichenbach <etienner@gmail.com>
2018-07-18Sanitize org.eclipse.text.tests.Y20180720-0300Y20180718-2200I20180722-2000I20180721-1500I20180720-2000I20180719-2000I20180718-2000Alexander Kurtakov3-72/+55
Use proper asserts and expected exceptions. Change-Id: Ic3bbc0a8221d40b57e4698f2ed40f0806daa3194 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Sanitize LinkedPositionTest.Alexander Kurtakov1-56/+45
Use proper asserts and make sure that all the code is actually executed. Change-Id: Idbc388ea3d3c59c88a939b7f24690fed9f47d61b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18More deprecated getAverageCharWidth fixes.Alexander Kurtakov8-19/+19
Change-Id: I5a696c6973a78339afaf0323fd081e2b370d0a52 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Don't use the deprecated FontMetrics.getAverageCharWidthAlexander Kurtakov1-3/+3
There is the new getAverageCharacterWidth which returns double instead of int now. Change-Id: Id0efec3051c2992faddb9c5f172043ea9b353212
2018-07-18DisposeListener to lambda.Alexander Kurtakov11-319/+126
And other lambda conversions as picked by the quick fix. Change-Id: I83d5318444387bf74ebea7e959d688588df6a53a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Comparator to lambda.Alexander Kurtakov3-57/+27
And other lambda conversions done by the quick fix. Change-Id: Iba9da0ae5028783913f66c04eb3e7e221332b119 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Lambda conversions.Alexander Kurtakov47-1346/+802
Converting Runnable to lambda and whatever the quick fix picked in the file too. Change-Id: I0cbd8ef4a7cab89dced199b44a5be3b32b6f8195 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Try-with-resources warnings fixes in core.filebuffers.tests.Alexander Kurtakov4-33/+10
Change-Id: Ic535ad541de1e02e64a720b4624590352718f49d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-07-18Bug 536952 - Avoid QuickDiff re-enabling in DocumentRewriteSessionEventEtienne Reichenbach4-4/+180
* Only resume the DocumentLineDiffer if if was previously suspended by a DocumentRewriteSessionEvent. * Add a null check at AbstractDocument.stopRewriteSession(DocumentRewriteSession) to avoid a NullPointerException if startRewriteSession is not called before calling stopRewriteSession. The javadoc of stopRewriteSession says "This method has only any effect if startRewriteSession has been called before.", without the null-check the method had an effect if startRewriteSession was not called before, namely an NPE. Change-Id: Ia6f92c686c934e1c7cbb514e2c32ac055b557935 Signed-off-by: Etienne Reichenbach <etienner@gmail.com>
2018-07-04[Bug 536622] [genericeditor] Improve performance of default highlightY20180712-0200Y20180705-0105I20180718-0130I20180717-2000I20180717-0320I20180716-2000I20180716-0715I20180715-2000I20180714-1500I20180713-2000I20180712-2000I20180711-2000I20180710-2000I20180709-2000I20180708-2000I20180707-1500I20180706-2000I20180705-2000I20180704-2000angelozerr1-13/+18
when cursor move a lot Change-Id: I9ea187023a27c0d2d64ba780a14ea4a91f5686fe Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-07-03Reorder final plublic access modifier to Java standardI20180704-0805I20180704-0605I20180704-0545I20180703-2000Lars Vogel3-3/+3
Change-Id: I23665fe63f931b74d68197b6cb4926c805b9f58d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-29Bug 536206 - Improve minimap performance on MacI20180702-2000Till Brychcy1-2/+6
Change-Id: I7a40e2166ef460dfc201d3e713adf7f9e2eefb88 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2018-06-27Bug 536165 - Find icon for minimapY20180628-0525I20180702-0435I20180701-2000I20180630-1500I20180629-2000I20180629-0420I20180629-0400I20180628-2000I20180628-0230I20180627-2020I20180627-2000Matthias Becker2-0/+0
Change-Id: If691bc66d1c49e3d01bb02b96506eb52da72cd6d Signed-off-by: Matthias Becker <ma.becker@sap.com>
2018-06-22Bug 321410 - [EditorMgmt][navigation] Provide Mini-map of text in editorI20180625-1545angelozerr10-0/+754
Change-Id: If88c7bf0fdd81e2c3540c0cf967288a21410afc6 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-06-18Bug 535865 - Fixed y offset computationI20180621-2000Karsten Thoms1-2/+1
On macOS the GC returns the font size, not the number of pixels used to display a character. This is different on Windows. Using TextWidget#getLineHeight fixes the issue. Change-Id: I5201b1614af81d3338f97ee957acea04fd31e677 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-06-15[Sonar] Removes redundant null check of variable that can't be nullI20180618-0800I20180615-0655Jonas Hungershausen1-7/+1
see https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=175028&rule=findbugs%3ARCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE&rule_sev=CRITICAL&severity=CRITICAL Change-Id: I3b26095baa6f39647104f69d2974c0611171009b Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
2018-06-14Bug 535899 - [code mining] Remove drawing of "deleted" annotation moreI20180615-0300I20180614-2045I20180614-2000angelozerr1-18/+28
fastly Change-Id: I67e89eb137ded9c2b19635c1a5a56127d217cc19 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-06-11[Sonar] Removes dead store to widgetLineI20180613-0440I20180613-0300Jonas Hungershausen2-2/+2
see https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33541&rids%5B%5D=45869&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL and https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33541&rids%5B%5D=45869&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL Change-Id: I6010a45fe5ffa6efc94016cef6be57fc2ea8460a Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
2018-06-11[Sonar] Removes dead stored variablesJonas Hungershausen4-8/+0
see https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33542&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL Change-Id: I81091332e090cd8baa36204d25256d6df77bdf42 Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
2018-06-11[Sonar] Remove dead stored variablesJonas Hungershausen2-4/+2
see https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33537&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL and https://sonar.eclipse.org/drilldown/issues/33533?rids%5B%5D=33535&rule=findbugs%3ADLS_DEAD_LOCAL_STORE&rule_sev=CRITICAL&severity=CRITICAL Change-Id: Ie17acc3f3eefb50f7fba564585f3e41947722168 Signed-off-by: Jonas Hungershausen <jonas.hungershausen@vogella.com>
2018-06-05Bug 535318 - Update license to EPL-2.0 for platform.text for about.htmlI20180607-2000I20180606-1020Lars Vogel16-270/+381
Change-Id: Ie3055f2478633f5b854362b1ab8205ef6e6f28ab Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-014.9 version updates for eclipse.platform.text required for EPL 2.0I20180601-0915I20180601-0900Lars Vogel34-34/+34
update Change-Id: I2347c4e9fb76d947449865ebfb35caf759458f9c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-30Bug 535191 - POM version change for 4.9 releaseI20180531-2125I20180531-2000I20180531-1245I20180531-0910Lars Vogel19-21/+21
eclipse.platform.text Change-Id: I424ff63453ab620a5f4461d369a06798ef1264fd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top