Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-27Bug 560580 - Port ua performance test suites to JUnit 4.xX20200302-0930X20200302-0700X20200301-1900X20200301-0700X20200229-1900X20200229-0700X20200228-1900X20200228-0700X20200228-0520I20200302-0600I20200301-2310I20200301-1800I20200301-0600I20200301-0030I20200229-1800I20200229-0600I20200228-1800Alexander Kurtakov7-84/+11
Change-Id: I36cf6a3cf41bdd22f7549880667b6562d1906348 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-17Remove unnecessary override and use super directlyLars Vogel4-20/+0
Avoid overriding and implementing the same method as super as this blows up the code. Change-Id: I2dfb671c758d683b8410bafb7014ff1e4a4a47d6 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-02-14Bug 559396 - Search engine doesn't recognize html5 meta charsetRolf Theunissen1-6/+17
attribute Change-Id: Ia388fef1de406551052bb05423dda99d8c957157 Signed-off-by: Rolf Theunissen <rolf.theunissen@gmail.com>
2020-01-23Bug 559252 - Update platform.ua to Lucene 8.4.1I20200123-0525I20200123-0430Alexander Kurtakov1-98/+23
Adjust code as needed. Drop tests for ancient index versions - if major differs they are treated equally so there is no point in keeping them. Change-Id: I2d4b98ad90505a67c1329fb293da1fbb11a89d55 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-01-08Avoid unnecessary semicolonsLars Vogel1-2/+2
Done via batch cleanup with Source -> Clean-up -> Remove redundant semicolons Change-Id: I84fdb2b42b2ce16a16ff5216ecb4fa89ea007046 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-12-12Use .isEmpty() instead of .size()==0 or .equals("")Carsten Hammer1-1/+1
Change-Id: I795082af563324917ba37929eb8a4dbc74ed7ce8 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-12-10Remove unnecessary type specificationsCarsten Hammer7-7/+7
Since Java 7 the diamond operator can be used instead of explicit type parameters. Change-Id: I09b387aae76e2bed342456edccbc83c1bf006dac Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-09-17Bug 546446 - buildhelpIndex ant task not reporting which file breaksAlexander Kurtakov1-1/+12
indexing Make sure that IndexAssembler doesn't accept broken xml. Change-Id: I67bdf6d9ceb3439a7f366a293548d5947162bad5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-24Bug 547304 - [cleanup] Fix wrong space/tab indentationI20190626-0720I20190625-1800I20190625-0535I20190624-1800Paul Pazderski79-851/+851
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: Ie21edf6dba7384276d834e9fd10805b1f304403f
2019-06-21Use String.contains instead of indexOfLars Vogel2-2/+2
Change-Id: I5126c0ac5a7897a7033d65935fcb5c7db461f798 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-19Removes redundant semicolonsLars Vogel4-32/+32
Change-Id: Ib1df421973d20b6675656b7f63083390ee5a4234 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-05-17Bug 546588 - Remove help.webadd basic modeAlexander Kurtakov1-11/+0
It's so ancient that it's almost an insult to show smth like that to users. And I would bet that no one actually seen it lately as it was enabled for e.g. IE older than 5.5, Opera older than 9 and similar. Change-Id: I5ae61c75598e02a3517ca62800641fe71990d315 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-04-10Bug 545395 - Update platform.ua to Lucene 8.0I20190415-0300I20190414-1800I20190414-0210I20190413-1800I20190412-1800I20190412-0520Alexander Kurtakov1-8/+20
Change-Id: I2d4135cf79d60bb503677c44c27ff4b26be242df Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-12Varargs reflection methods and try-with-resources.Alexander Kurtakov1-9/+7
Change-Id: Ib1f5311b9a5f7fde578129b96613fbeacfe0a0c0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-21Bug 535802 - License update to EPL-2.0 in platform.uaY20180823-0800Y20180822-2200S4_9_0_M3I20180823-0450I20180823-0430I20180823-0100I20180822-2000I20180822-0800I20180821-2000I20180821-0800Lars Vogel171-513/+1026
Updates all files except exsd and pom files to EPL 2.0 This repos does not include JDT templates for new Java files. Also fixed manually /org.eclipse.help.base/doc/book.css Regex used: 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: Ic868435cfed4d834b36b51fc3f1b936ceaaec84d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-30Bug 535106 - Help topics with space in names no longer work with PhotonI20180531-2125I20180531-2000I20180531-1245I20180531-0910Lucas Bullen2-1/+82
- Remove the double URL encoding Change-Id: Iec61341cea76bcb846411c1019fc68b708b0cf2a Signed-off-by: Lucas Bullen <lbullen@redhat.com>
2018-01-17Bug 529828 - [sonar] Resolve "Possible null pointer dereference"S4_8_0_M5I20180124-2000I20180124-0800I20180123-2000I20180123-1010I20180123-0800I20180122-2000I20180122-0800I20180121-2000I20180121-0800I20180120-1500I20180120-0800I20180119-2000I20180119-0110I20180118-2000René Purrio2-3/+18
Change-Id: Iddfb24c63e3454c3de9e539db25c379c7775f06c Signed-off-by: René Purrio <rpurrio@itemis.de>
2017-11-14Bug 525267 - Update platform.ua to Lucene 7I20171114-2000Sopot Cela1-4/+25
This migrates platform code to be compatible with Lucene 7. Added tests to support compatibility scenarios. All search tests succeed. Change-Id: Ied949b34b25fac9ef8a6f381c1c095f80bee05e4 Signed-off-by: Sopot Cela <scela@redhat.com>
2017-09-10Bug 522095 - Fix info warnings in platform.uaI20170910-2000I20170910-1055I20170910-0800Alexander Kurtakov1-1/+2
* Use Class.cast instead of cast operator. * Silence unlikely-arg-type warning in tests. Change-Id: Icf3798bc9534a2bd376d91891a00cb5848c4017f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-09-09Bug 520255 - Replace StringBuffer with StringBuilder inAlexander Kurtakov9-22/+20
eclipse.platform.ua Change-Id: Id1b13e8bb510dfdd4e4b8ff2f1f466f6b89fd513 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-11-21[Help] Fix JSON generation to create conformant JSONY20161229-1000Y20161223-1030Y20161222-1000Y20161215-1200Y20161208-1000Y20161201-1000Y20161124-1000S4_7_0_M4I20170101-2000I20161231-2000I20161230-2000I20161229-2000I20161228-2000I20161227-2000I20161226-2000I20161225-2000I20161224-2000I20161223-2000I20161223-0615I20161222-2000I20161221-2000I20161221-0400I20161220-2000I20161220-0530I20161219-2000I20161219-0145I20161218-2000I20161217-2000I20161216-2000I20161215-2000I20161215-0915I20161215-0830I20161215-0730I20161215-0130I20161214-2000I20161214-1005I20161213-2000I20161213-0600I20161213-0300I20161212-2000I20161211-2000I20161210-2000I20161208-0830I20161208-0730I20161207-2000I20161207-1340I20161207-0800I20161207-0515I20161206-2000I20161206-0800I20161205-2000I20161205-0800I20161204-2000I20161203-2000I20161202-2000I20161201-2000I20161201-0800I20161130-2000I20161129-2330I20161129-2000I20161128-2000I20161128-0600I20161128-0330I20161127-2000I20161127-1300I20161126-2000I20161126-0815I20161125-2000I20161124-2000I20161123-2000I20161122-2000Brian de Alwis2-1/+19
Change-Id: I5ac232360beff296d1c256a14a759912d9218cb7
2016-11-09Bug 466829 - Upgrade platform.ua to Lucene 6.1.0I20161114-2000I20161114-0355I20161113-2000I20161112-2000I20161112-0405I20161111-2000I20161111-1220I20161111-0900I20161111-0740I20161111-0510Sopot Cela1-19/+63
Note that for exact analyzer use (wildcard and exact searches using quotes) the number of results will not match because of a bug in the old code. The files added under folders .../indexXYZ are needed for compatibility tests which I added. See PrebuiltIndexCompatibility.java changes. Change-Id: Id18cdb387ada7f2c30eecbe59b726d3bf6dd00c1 Signed-off-by: Sopot Cela <scela@redhat.com>
2016-07-08Bug 497548 - Make use of StandardCharsetsI20160708-1700Alexander Kurtakov1-4/+2
All the various places defining and using different UTF-8 charset name constants is too error prone. Let's stick to StandardCharsets.UTF-8 which even saves the string lookup too. Change-Id: Idcb356d0293cd2d0d0148de4e1f2e131584d09c4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-04-16Bug 491847 - Start using StandardCharsets Y20160421-1000I20160419-0800I20160417-1112Alexander Kurtakov2-2/+4
For bundles that are at Java 1.7+ level we can start using StandardCharsets to eliminate the need to handle UnsupportedEncodingExceoption, reduce risk of mistyping encoding, mark the strings as non-nls and etc. Change-Id: I57b45096b934ef4f1a99fad4bb88a8a9ce019005 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-04-08Bug 491265 - Generify org.eclipse.ui.intro*Brian de Alwis3-11/+12
Move org.eclipse.ui.intro.universal to JavaSE-1.8 Fix leaked resources Change-Id: I831a65808709853459129c20244c42a84dd6bf02
2016-02-22Bug 488193 - Use try-with-resources in o.e.help.baseAlexander Kurtakov1-5/+4
Ensuring all resources are freed when no longer used is always good practice. This warning is enabled and after the move to Java 1.7 codebase has to be cleaned. Change-Id: I38103ad47605a48c9491f44d0bb492303324dae6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-02-19Bug 488072 - Move o.e.ua.tests to Java 8 Alexander Kurtakov56-358/+337
Fix all the new warnings: * try-with-resources * useless type definitions Change-Id: Ib03065e19467d1ce094fe2345ee391f2a987b781 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-02-08Bug 485922 - Remove trailing white spaces in org.eclipse.ua.testsI20160209-0800Alexander Kurtakov60-341/+341
Mass remove in all java files. Change-Id: I51b8600fb0e80bb12f326c882e48328900a721d7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-21Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov22-392/+592
Migrate preferences, other and util Change-Id: I94c608ca0b8ad4c3b554a46ce6f31d13be2a1696 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-21Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov22-316/+464
Migrate help remote, webapp/service, index and scope Change-Id: Ie3373d6819f7c2371ee1bf04d59184576eadb4a1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-20Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov20-359/+573
Migrate webapp tests. Change-Id: I75ea7f3a761fced338b35630666ae312ce2a2a16 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-19Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4I20160119-0800Alexander Kurtakov16-267/+441
Migrate AllSearchTests. Change-Id: Ib45af1a5c4f4e05be2726f83186f587e7dcd8618 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-19Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov9-117/+212
Migrate AllTocTests. Change-Id: I8c7cda49eea5dd8d055e9679d3bd2546afabcc79 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-18Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov6-75/+141
Migrate AddDynamicTests and AllScopeTests. Change-Id: I13def7673fbda0e0054b3a0802509d5b9347fa21 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-18Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov5-76/+121
Migrate AllCriteriaTests suite. Change-Id: I736731622f592ca34a0dddd3d863ce54ce879dd2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-16Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4Alexander Kurtakov1-28/+26
Port GetContentUsingRemoteHelp which depends on fixed test ordering that was not applied with JUnit 4. Change-Id: If6f4562a37a9883563f18394fd5b0935d67df302 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-01-15Bug 485918 - Convert org.eclipse.ua.tests to JUnit 4 Alexander Kurtakov48-678/+269
Convert TestSuites. Change-Id: Ia8df70474f30634c8a2130b56f4bb854d12abd6c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-12-02Bug 483477 - Run "Fix Copyrights" on all plug-ins of platform.uaI20151213-2000I20151209-2300I20151209-2000I20151209-0800I20151208-2000I20151208-0800I20151207-2000I20151207-0800I20151206-2000I20151203-1230I20151203-0800Lars Vogel95-96/+96
Change-Id: Id7609d660eace6b8f9ac8a2f8bc02ce02b685842 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2015-02-26Bug 460787 - Do not use deprecated Lucene 3.5 methods/classesAlexander Kurtakov1-2/+4
Moves from deprecated methods/classes to newer ones by simply redoing what the deprecated methods were doing in Lucene 3.5 itself using the newer APIs. This is preliminalry work for updating to Lucene 4.x/5.x where these deprecated ones are actually removed. Change-Id: I96937e00a251630a6927130efb88cc1652080cb9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-01-15Move to JavaSE-1.6 (triggered by bug 457396)I20150203-1300I20150203-0800I20150129-1830I20150128-2000I20150128-0900I20150127-2000I20150127-0900I20150126-2000I20150126-0930I20150126-0800I20150125-2000I20150120-0800I20150116-1000Markus Keller109-222/+556
2014-10-08Bug 401784 - Support jetty 9I20141029-2000I20141029-0800I20141028-2000I20141028-0800I20141027-2000I20141027-0800I20141026-2100I20141021-0800I20141014-0800Thomas Watson2-2/+23
- updates to help to support servlet 3.1 Change-Id: I6a2f395c43a2e47eaf785e4f198835fd2c78706a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2013-09-04Replaced deprecated junit.framework.AssertDani Megert7-21/+30
2013-05-14Updated copyright dateI20130514-2000Dani Megert1-1/+1
2012-07-25Fixed resource leaksv20120725-083315I20120725-1800Dani Megert1-9/+35
2012-07-24Bug 383586 - Test failure caused by new German stemmer in Lucene 3.5John Arthorne1-2/+8
2012-07-24Removed test based on removed lucene extension pointJohn Arthorne2-71/+0
2012-07-24Bug 350103 - [Help] Remove extension point luceneSearchParticipantsJohn Arthorne5-208/+6
2012-02-07Bug 369828 - Test failures on JRE 7kmoir1-1/+0
2012-02-05Bug 369828 - Test failures on JRE 7Kim Moir1-9/+6
2012-02-03Bug 370329 - GetContentUsingRemoteHelp randomly fails on JRE 7 due toKim Moir1-2/+2
wrong test order

Back to the top