Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-05-28Bug 535162 - Necessary pom updateLars Vogel2-2/+2
Change-Id: Iafc3128c1a62cf113a84723af32ed1a1acee4401 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-27Bug 535162 - [content assist] Possible NPE during async computeFilteredProposalsDawid Pakuła1-1/+1
Change-Id: I7a323704706b10d8dde1e3e0fc75e1293d337e92 Signed-off-by: Dawid Pakuła <zulus@w3des.net>
2018-05-22Bug 534930 - [code mining] Inlined annotation is not drawn whenS4_8_0_RC2I20180527-2250I20180527-2000I20180527-0800I20180526-1500I20180526-0800I20180525-2000I20180524-0900I20180523-2000I20180523-0800I20180522-2000angelozerr1-6/+28
StyledText is resized Change-Id: Ib97f2f6ca0f03c50259686ef674eefa9df710330 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
2018-05-22Bug 534395 - [content assist] Prefix autocompletion not work in async modeDawid Pakuła2-63/+117
Change-Id: I967d74001e8a07295946b43e41e99167aa1760c2 Signed-off-by: Dawid Pakuła <zulus@w3des.net>
2018-05-16Bug 534387 - Auto-insert randomly work with async completionS4_8_0_RC1I20180522-0800I20180521-2000I20180521-0800I20180520-2000I20180520-0800I20180519-1500I20180519-0800I20180518-2000I20180516-2000Dawid Pakuła1-6/+18
Change-Id: If52b8960ae1be26045ea715eb4726d80dbdfe05a Signed-off-by: Dawid Pakuła <zulus@w3des.net>
2018-05-16Bug 534402 - ContentAssistant#setStatusMessage isn't safe in async modeI20180516-0800Mickael Istria2-2/+3
Change-Id: I05ede1415ca42e6b39f38bed1856b71b43c6cca4 Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-05-13Bug 532258 - Memory leaksI20180515-2000I20180515-1755I20180515-1620I20180515-1440I20180515-1300I20180515-0950I20180515-0800I20180514-2000Dawid Pakuła1-1/+1
Make sure line rules are already disposed before recreate on mac Signed-off-by: Dawid Pakuła <zulus@w3des.net>
2018-05-12Bug 534597 - Unanticipated comparator errors in I20180511-2000I20180514-0800I20180513-2000I20180513-0800I20180512-1500I20180512-0830Sravan Kumar Lakkimsetti2-0/+2
Change-Id: I695f319c1eb88fb9797db390d71f5b468cdbe205 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-05-07Bug 479244 - New icons for quick-fixable infos and info decoratorsS4_8_0_M7I20180511-2000I20180509-2000I20180509-0800I20180508-2000I20180508-0800I20180507-2205I20180507-2000I20180507-0810I20180507-0800Matthias Becker4-0/+0
- Improve high resolution icons (rendered from SVG) for quick_fix_info_obj.png Change-Id: Ib2da0db0aa7f6aae3b37d7f6eca5ab27487cb944 Signed-off-by: Matthias Becker <ma.becker@sap.com>
2018-05-04Bug 534310 - [content assist] NPE in ↵I20180506-2000I20180506-0800Dawid Pakuła1-1/+3
AsyncCompletionProposalPopup#computeProposals Change-Id: I8840503fcfd2303658d38dacf45551e36536b8a1 Signed-off-by: Dawid Pakuła <zulus@w3des.net>
2018-05-04Bug 534325 - Generic editor shows 2 "highlight" buttons in toolbarI20180505-1500I20180504-2000Mickael Istria1-9/+1
It seems like the actionSet do persist a lot of state about buttons, so the commands that are added in the actionSet toolbar with the previous "hack" lead to having buttons persisted in the actionSet state and added as part of it, then added again by the command framework, and again and again, once per startup of the IDE. To improve this situation, work should happen in bug 527007 and in Platform to replace the actionSet by regular commands and menu contributions, that are much more flexible and do not persist buttons. Change-Id: Ic57a478795e6b5d1df8c1551f2d786b1808b3c8f Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-05-03Bug 534324 - Search never stops on high file countsI20180503-2000Andrey Loskutov1-1/+1
Fixed calculation of filesPerJob to schedule >= jobs as jobCount specified for the job group. This ensures that the jobGroup.join() returns (and does not wait on a job that is never scheduled). Change-Id: Id78d5e096928f480b6563c4817f645c9f0a6b50c Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-05-03Bug 534328 - [code mining] Avoid delay to click on inlined annotationazerr1-29/+2
Change-Id: I73927a6593effb919910c144f274109c7f474be2 Change-Id: I6666dc7da2aa9fa79f1554ba58dff14114469a9d Signed-off-by: azerr <angelo.zerr@gmail.com>
2018-05-03Bug 534318 - [code mining] Redraw of character has wrong y location forazerr1-1/+1
line header annotation Change-Id: Id076e383be92833b1add1ae02ea39d0b8bad9ef7 Signed-off-by: azerr <angelo.zerr@gmail.com>

Back to the top