Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-23Bug 535964 - Move some non UI classes from jface.text to o.e.text.I20180923-1800Sebastian Ratz1-0/+45
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-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 Loskutov2-2/+2
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 Loskutov3-3/+14
Change-Id: Ia9af00f7380f72d89122cb2ae1e0f542fdb91a6a Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-09-04Bug 538531 - POM version change for 4.10 releaseY20180905-2200I20180906-1400I20180906-0005I20180905-1305I20180905-0410Sravan Kumar Lakkimsetti1-1/+1
Change-Id: I8ea72f1e990039ec24ce2930df788e2e199a9993 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 2Y20180822-2200I20180823-0100I20180822-2000Lars Vogel139-417/+834
Change-Id: Ib43818885bc5b36db7d4fc0625a125402c595b2f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-17Remove unused api_filters.Alexander Kurtakov1-41/+0
Change-Id: I718d31b5aee785132b3e57f95e997c1e8a1ba5f4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-07Bug 535964 - Move some non UI classes from jface.text to o.e.text.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000Roland Grunberg8-3/+1225
- 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-07-30Bug 109481 - [find/replace] replace doesn't work when using a regex withI20180730-2240I20180730-2000I20180730-0800Kalyan Prasad Tatavarthi1-7/+3
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-18Bug 536952 - Avoid QuickDiff re-enabling in DocumentRewriteSessionEventEtienne Reichenbach1-1/+1
* 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-06-11[Sonar] Removes dead stored variablesJonas Hungershausen1-2/+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-05Bug 535318 - Update license to EPL-2.0 for platform.text for about.htmlI20180607-2000I20180606-1020Lars Vogel1-16/+24
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 Vogel2-2/+2
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 Vogel1-1/+1
eclipse.platform.text Change-Id: I424ff63453ab620a5f4461d369a06798ef1264fd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-04-30Improve some constructs for performanceMickael Istria5-17/+17
Issues reported by SonarQube: * iterating on keySet() instead of entrySet() or values() * String += in a loop Change-Id: I3dec0e683305ab3382605168c0505d5ce2bcc35e Signed-off-by: Mickael Istria <mistria@redhat.com>
2018-03-16Bug 532557 - add line information to BadLocationExceptionI20180317-1500Andrey Loskutov1-3/+6
Change-Id: I74a18b81fe55d44e199578d481bfcc113a8db7a6 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-03-02Pick up new signing certificateDani Megert1-0/+1
2018-02-13Bug 531084 - Inefficient use of keySet iterator instead of entrySetI20180214-2000I20180213-2000Lars Vogel1-4/+3
iterator in AbstractDocument Change-Id: I8756ba5c5360feea7f2a6f575aa1bf7b5d2ada53 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-02-01Bug 528191 - Mark org.eclipse.jface.util.Assert andLars Vogel1-0/+41
org.eclipse.jface.text.Assert for deletion API filter for text repository Change-Id: I064625c70a7cc0af26f3ae3f7b5366b57472f8e3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-01-31Bug 528191 - Mark org.eclipse.jface.util.Assert andI20180201-0200I20180131-2000Lars Vogel1-0/+3
org.eclipse.jface.text.Assert for deletion Change-Id: Ic30b864955166366cc96525f40588313c344859a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-12-12Bug 528254 - [Java9] Added Automatic-Module-Name HeaderI20171215-0215I20171215-0120I20171214-2000I20171214-0120I20171213-2000I20171212-2000Karsten Thoms1-0/+1
Incremented versions for Eclipse 4.8 Photon Change-Id: I49d086cba48a4b0519cda696b4ab38d66cbd8fef Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-13Bug 109481 - [find/replace] replace doesn't work when using a regex withfingerl3-5/+9
a lookahead or boundary matchers Fixes the bug that matches of a Regular Expression containing lookarounds can't replaced. Change-Id: Ibaf347fbe88b9d9aac14240f67bf5cbb7567e82b Signed-off-by: fingerl <imelflorianingerl@gmail.com>
2017-06-22Bug 517929 - Update POMs in the master for 4.8 releaseAlexander Kurtakov1-1/+1
Point to 4.8 parent pom. Change-Id: Icedc59a139f5fce4e9fef73bb0c396109601abcd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-21Removes unnecessary @See Javadoc annotations in org.eclipse.text inI20170621-2000Lars Vogel11-144/+0
org.eclipse.text.edits package Change-Id: If34734c741547e96dd9dc446cb85a89582b99489 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21Removes training white space in org.eclipse.textLars Vogel13-17/+17
Change-Id: I4c83b262c6c6a1834d35652e06961addffd03461 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21org.eclipse.text MANIFEST.MF update for 4.8Lars Vogel2-2/+2
Change-Id: Ia8c7eae6bb449fb7804079fe08964b8118ceb430 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-06-21Bug 516535 - Replace StringBuffer with StringBuilder inLars Vogel15-31/+31
eclipse.platform.text Change-Id: Ia7089d167c24489674565e8bbb08d33773ac8445 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-02-03Bug 493304 - Prefer usage of enhanced for loop in eclipse.platform.textLars Vogel15-130/+81
repo This change is for the for org.eclipse.text plug-in Change-Id: I9a02ba945e91d7e1361627239c3617010453c571 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-02-02Bug 493306 - Inefficient use of keySet iterator instead of entrySetLars Vogel2-8/+9
iterator in eclipse.text Change-Id: I5f43ac955ca602846b2f3680b2e63023e1c23368 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-01-11Bug 510312 - Replace usage of new Integer(int) with Integer.valueOf() inLars Vogel1-1/+1
eclipse.platform.text plug-ins - Part 2 Change-Id: I3d76285a2e3333114ba56b7cd0745d13440d5a44 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-01-09Bug 510030 - Add toString() to Line and TextSelectionI20170111-0200I20170110-2000I20170109-2000Andrey Loskutov1-0/+5
Change-Id: Idc8d4bd0224d1a84932e02a9914bf1f59fe56580 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-01-05Bug 509973: Comparator errors in I20170105-0320Markus Keller2-2/+2
2016-10-14Fixed bug 505958: [implementation] ↵Y20161020-1000Y20161018-1100I20161018-0800Dani Megert1-5/+7
org.eclipse.jface.text.TextUtilities.getDefaultLineDelimiter(IDocument) can return null
2016-06-28Bug 496465: Prep for 4.7 (Oxygen) buildsMarkus Keller1-1/+1
2016-05-03Bug 492875 - Remove the "strictly compatible JRE" per-project overrideI20160504-0035I20160503-2000Lars Vogel1-2/+0
in eclipse.platform.ui project Change-Id: Ifd4b4399d620c32f3ca9e52627f7b940c58557e8 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-03-21Fixed bug 489715: [templates] Insert template does not add default valueY20160324-1000I20160322-0800Noopur Gupta1-1/+1
of word_selection and line_selection templates Change-Id: Ib798ad28e296aed6d986b242368215f3776a60a5 Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
2016-03-18Document that a document always has at least one lineDani Megert1-4/+7
2016-03-18Fixed bug 487671: [templates] Fix Javadoc for WordSelection template variableDani Megert1-2/+2
2016-02-25Added missing Javadoc for public constructorDani Megert1-3/+8
2016-02-24Bug 487901 - [templates] Create base class for adjust word_selection andLars Vogel1-43/+26
line_selection variable to avoid code duplication Change-Id: I905c56a7f59e5779f5445fc0d274cdf2189c9887 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-10Bug 487327 - [templates] Allow specifying a default value in caseI20160216-1400I20160216-0800Lars Vogel2-2/+25
the line_selection is empty Still WIP, awaiting feedback from Dani for https://bugs.eclipse.org/bugs/show_bug.cgi?id=486903#c18 Change-Id: I6868dced6122a5479d9f786be6f8955011fbec82 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-09Bug 486903 - [Templates] Clarifies the usage of word_selection defaultsLars Vogel1-1/+1
Change-Id: I51158e66bd4cf1cff947bc794cc295cdfec819e2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-09Improved word_selection descriptionDani Megert1-1/+1
2016-02-09Bug 486903 - [Templates] Allow specifying a default value in case theI20160209-0800Lars Vogel2-2/+27
word_selection is empty Change-Id: I5a5c2e77f65aa45474362838aa71fc351779dcd7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-01-27FUP to bug 486532: don't use bold inside textI20160127-0800Dani Megert1-1/+1
2016-01-26Fixed bug 486532: Provide better info for date variable proposalI20160126-2000Dani Megert1-1/+1
2016-01-25Added hint to use 'date' variable if custom formatting is desiredI20160126-0800I20160125-2000Dani Megert1-2/+2
2016-01-23Bug 75981: [templates][preferences] Allow to specify format of date variable ↵Jeremie Bresson2-4/+43
in templates https://bugs.eclipse.org/bugs/show_bug.cgi?id=75981 Change-Id: I8d1e2661d8698e47ea92963ba6caab0edaf8ab31 Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com> Signed-off-by: Jeremie Bresson <jbr@bsiag.com> Signed-off-by: Pramod Goyal <pramod.goyal@gmail.com> Signed-off-by: Thomas Reinhardt <thomas@reinhardt.com>
2016-01-20Fixes for bug 483340: ListenerList should be parameterizedMarkus Keller2-52/+33
2015-12-18Bug 478673 - made AbstractDocument methods accept wildcardsI20160105-1000I20160105-0800I20151229-0800I20151222-0800Markus Keller1-2/+2

Back to the top