Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-10Bug 561990 - Remove dependency on icu from platform.textI20200411-0950I20200411-0720I20200411-0510I20200411-0300I20200410-2300I20200410-1800Alexander Kurtakov1-2/+1
JVM classes do the same for our needs. Change-Id: I4734167c5f113baf1e4fef8cceed88618857a1c4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-01-17Use lambdas where possibleY20200120-0020I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800Lars Vogel1-16/+12
Using the batch cleanup operation via Source -> Cleanup -> "Use lambdas where possible" from standard JDT. Change-Id: I609127e1d7267230c8741a155b81e4b004d7ee15 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-15Remove unnecessary array creation for varargs in bundlesI20200116-0930I20200116-0330I20200116-0310I20200115-1800Lars Vogel1-1/+1
Using the batch cleanup operation via Source -> Cleanup -> "Remove unnecessary array creation for varargs " from standard JDT. See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=559175 applying this cleanup to LinkedModeConfigurationBlock results in a syntax error Change-Id: I097502952bbb3263c8b3253efff95a0d1981acf2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-14Use isEmpty() instead of length() to check if collection is emptyI20190615-1800I20190614-1800Lars Vogel1-1/+1
Change-Id: I0106dd0c2ddfa318375877d4562068d82aa9ac5f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-18Bug 543933 - Build javadocs with Java 11Y20190225-0415Y20190222-0110Y20190220-2200S4_11_0_M3I20190227-0600I20190226-1800I20190226-1020I20190226-0715I20190226-0600I20190225-1800I20190225-0600I20190225-0200I20190224-1800I20190224-0930I20190224-0600I20190223-1800I20190223-0600I20190222-1800I20190222-0645I20190222-0440I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800Alexander Kurtakov1-1/+1
After fixing majority of Xdoclint:html issues there are warnings even with Xdoclint:none. Change-Id: I9be510daa74198061f829b73116c38c19dfd400f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-18Bug 543933 - Build javadocs with Java 11Alexander Kurtakov1-19/+19
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I361b79bda124f98380dec2c87ca41b09f4098643 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14Bug 543933 - Build javadocs with Java 11I20190215-0630I20190215-0055I20190214-1800Alexander Kurtakov1-5/+3
Fix warnings catched by java 11 javadoc. (take 3) Change-Id: I6e7fd7d2f60b67dfdfe31e89d80c871cfd6c443f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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-09-23Bug 535964 - Move some non UI classes from jface.text to o.e.text.I20180923-1800Sebastian Ratz1-36/+24
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 Ratz1-1/+4
Fix TemplatePersistenceData#equals implementation. Change-Id: Ie742ce68e685642d81f83bc9eb53a6b72e2a5516 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2018-08-22Bug 530393 - EPL 2.0 update for platform.text plug-ins - Part 1Lars Vogel4-12/+24
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-07Bug 535964 - Move some non UI classes from jface.text to o.e.text.Y20180808-2200I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000Roland Grunberg4-767/+154
- 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>
2017-07-07Bug 516535 - Replace StringBuffer with StringBuilder inLars Vogel1-2/+2
eclipse.platform.text Change-Id: Ib0b2cedee4e9fe38e19fbb8788edbe0c6d786ce1 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-03-11Bug 513517 - printStackTrace() should not be used in production codeI20170315-0500I20170314-2000I20170313-2000I20170312-2000Andrey Loskutov1-1/+1
Change-Id: I7b4a4d0a1af3979852269b1ee53fb9a8ba444e93 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-02-03Bug 493304 - Prefer usage of enhanced for loop in eclipse.platform.textLars Vogel2-26/+15
repo Part 2 for the org.eclipse.jface.text plug-in Change-Id: I183540f8ae58d1448de9607b6c462817a2f670a3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-01-11Bug 510313 - Remove unnecessary whitespace from org.eclipse.jface.textY20170112-1300Y20170112-1000I20170116-2000I20170115-2000I20170114-2000I20170113-2000I20170112-2000I20170112-0245I20170112-0200I20170111-2000Lars Vogel1-1/+1
Change-Id: I19139e6aba0aaa20eb06882a4b721298cdfe138b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2016-02-24Fixed bug 473524: template importer never throws "Duplicate template id" ↵Dani Megert2-5/+17
exception
2015-12-01Bug 478673: generify codeI20151201-1100I20151201-0800Markus Keller2-27/+27
2015-12-01Bug 478673: added @Override/@Deprecated and removed non-Javadoc boilerplateMarkus Keller1-0/+1
2012-01-10Fixed bug 321664: [templates] IOException while loading templates.xmlDani Megert1-8/+3
should indicate position
2010-03-26Fixed bug 306923: [templates] added/changed templates do not load after restartDani Megert1-5/+22
2009-09-29Fixed bug 290778: [implementation] Importing templates from wrong file ↵Dani Megert1-1/+3
writes to console
2008-12-31copyright updatesDani Megert1-1/+1
2008-09-11Removed trailing whitespace and organized the importsv20080909-ascuDani Megert3-15/+16
2008-08-29Fixed bug 130874: [templates][preferences] Java Code Templates preferences: ↵Dani Megert1-2/+29
Cancel does not work after 'Restore Defaults'
2008-05-29Updated copyright date.v20080529-0800Dani Megert2-2/+2
2008-05-13Added API tooling tags.Dani Megert2-0/+2
2007-05-29Reverted wrong copyright update.Dani Megert2-2/+2
2007-05-29Updated copyrights.Dani Megert2-2/+2
2007-05-09Updated copyright date.v20070510-0010Dani Megert2-2/+2
2006-08-31Switched to use org.eclipse.core.runtime.AssertDani Megert3-3/+7
2006-05-15doc updates and additionsteicher1-3/+1
2006-05-12Fixed copyrights.v20060512-1326Dani Megert1-1/+1
2006-04-10Fixed bug 135777: [misc] need to adopt ICU4J APIsDani Megert1-1/+1
2006-03-28Updated copyright.teicher1-1/+1
2006-02-0179805 [templates][preferences] Modified default-codetemplates.xml not taken ↵teicher1-14/+69
into account: - have TemplateStore manage its listener itself, add explicit requests to do that
2006-01-2679805 [templates][preferences] Modified default-codetemplates.xml not taken ↵teicher1-6/+11
into account
2006-01-2665284 [preferences][templates] importing template preferences does not ↵teicher1-6/+25
update the template store
2005-09-19Fixed bug 109513: Project Specific Code Templates are not persisted across ↵Dani Megert1-0/+3
sessions
2005-09-13Removed superflous $non-nls$Dani Megert1-4/+4
2005-06-21Added @since 3.1Dani Megert2-0/+4
2005-06-21SpellingDani Megert1-4/+4
2005-06-17Updated copyright date to 2005v20050617-1200Dani Megert5-5/+5
2005-06-16Fixed chkpii errorsDani Megert1-2/+4
2005-05-18fix failing test: wrong attribute writtenteicher1-1/+1
2005-05-18Bug 81701 [content assist] content assist on random text inserts method stubteicher1-1/+9
2005-04-19Removed trailing whitespace.Dani Megert4-146/+146
2005-02-25Converted from CPL to EPLDani Megert5-20/+20
2004-12-21project templatesteicher1-9/+21
- use ID to set project specific property
2004-12-17- project specific templatesteicher2-3/+50
- template access by id (bug 75806)

Back to the top