Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-07-05Bug 529651 - Add unit test for 'no build before group launch'Paul Pazderski2-4/+91
Change-Id: Ifeb288c9088b9d7ea0b37a78ef86465e0ee75424 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-29Bug 548356 - [console] Fix input handling in IOConsoleI20190702-0930I20190702-0610I20190701-1805Paul Pazderski2-1/+97
Existing IOConsole and especially IOConsolePartitioner have various problems with user input handling e.g. if existing input surrounded by output is modified or a character composition is started inside an output partition. Change-Id: I3ea4f19553d6363e0d3cdc5280b577be57b45bd9 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-21Lamba optimizationLars Vogel1-1/+1
Use method references if possible Remove unnecessary brackets Change-Id: I82c219171f7b3e459d4e2f70ae916d44d25fdc11 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-20Small String optimizationI20190620-1800Lars Vogel4-9/+9
Useless toString call in String concatenation Using String.valueOf instead of ""+ Use faster indexof('') version Change-Id: Iec383bd1b6af03a40af735f9ec878689caf4fb23 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-18Use addAll, deleteAll instead of looping through a collectionI20190620-0130I20190619-1820I20190619-1800I20190618-1805Lars Vogel2-18/+8
Change-Id: I9c95900ed1b6e8823bb30c4ded37f214a92deffc Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-17Bug 547064 - [console] Unnecessary linear search in IOConsolePartitionerI20190617-1800Paul Pazderski1-0/+1
getPartition can use binary search like computePartitioning already does. Also computePartitioning fails if no partitions available or requested range is behind known partitions. Change-Id: I54b120e91a696412bf9466f5a2f10d7bac154b0c Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-06-17Remove redundant blockLars Vogel1-27/+25
Change-Id: Ic7b908b1e823d854b13c7fd4d882a98aef730c8d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-14Bug 547304 - [cleanup] Fix wrong space/tab indentationI20190616-1800I20190615-1800I20190614-1800Paul Pazderski45-4471/+4471
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: I95f385f1587b72776aee5d955b66e82539dedc3c
2019-06-13Use StringBuilder instead of StringBuffer where possible.Carsten Hammer4-7/+7
Change-Id: I990721405fb7e486fc93ef2b22e56e81ed4a78c8 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-12Use isEmpty() instead of size()==0 where possibleCarsten Hammer1-1/+1
Change-Id: Iba492570def0a381d0c4a06a5ad3b7c8c8a3419e Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-124.13 version updateKarsten Thoms2-2/+2
Updates for bundles - org.eclipse.debug.core - org.eclipse.debug.examples.memory - org.eclipse.debug.tests Required for https://git.eclipse.org/r/#/c/142755/ Change-Id: I688962782924fe02be0252096a7263678aae32c7 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseI20190610-1800I20190610-0135I20190608-0140I20190607-1345I20190607-1000I20190607-0725Niraj Modi1-1/+1
Change-Id: I2d875884ed291c9180439959c4d2940a75fd0803 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-05-18Explicit set encoding for charset sensitive testI20190518-1800Paul Pazderski1-2/+5
Change-Id: I76bd8f54134fb15e3bf88d61f99bb4400aae2d15 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-05-14Bug 545769 - [console] UTF-8 content read or send to process can beI20190517-1800I20190516-1800Paul Pazderski3-1/+148
corrupted With some bad luck the ProcessConsole may disrupt multibyte UTF-8 characters read from input source (usually user input or file) due to incorrect stream reading / buffer handling. The same problem exist for reading the processes output streams. Change-Id: I8d52d1973f3739e2c510a8a4c48b44f345c33dfe Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-05-14Bug 546641 - [console] IOConsoleInputStream throws unwanted IOExceptionsI20190516-1405I20190516-1335I20190516-1250I20190516-1200I20190516-1055I20190515-1800I20190515-0205Paul Pazderski1-5/+25
If IOConsoleInputStream methods are called in some particular sequences they throw unwanted exceptions. Change-Id: I0a3dcd2f8dd6c77b31cf3f693122bf06f5ae123a Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-05-07Bug 547063 - [console] Tests for IOConsoleI20190508-0450I20190508-0150Paul Pazderski3-0/+999
Especially tests for IOConsolePartitioner and IOConsoleViewer. Change-Id: I7d2f9a76cea6529b344a51e22aa3f623659fb900 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-05-02Bug 544970 - [console] Tests for ConsoleDocumentAdapterI20190507-1800I20190507-0155I20190506-1800I20190505-1800I20190504-1800I20190503-1800I20190502-1800Paul Pazderski1-0/+963
Many test cases for fixed calculation of TextChangingEvents. Change-Id: Ifc23e7b3371b6d96cefa6303447ab90ac219d500 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-04-28Bug 546710 - [console] Race condition on process console creationI20190501-1800I20190501-0525I20190430-1800I20190429-1800I20190429-0240I20190428-1800Paul Pazderski4-4/+166
Change-Id: I473f4fa1296cbbc823f6d2b6ad6827957816d64c Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-04-24Bug 546641 - [console] ProcessConsole InputReadJob is not cancelableI20190425-0030I20190424-1800Paul Pazderski3-0/+300
Change-Id: I453380da668bc5d04e2f90469a16d2ce37d1e90d Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de> Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-04-22Revert "Bug 307309 - [console] IOConsoleInputStream throws unwantedAndrey Loskutov1-25/+5
IOExceptions" This reverts commit e5b4f42c768864837d6f15b5b2db8861d35f7829, which caused regression, see bug 307309 comment 19. Change-Id: Id399ccdc46235b7529415ba7473b777309a7f12d Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-04-16Bug 307309 - [console] IOConsoleInputStream throws unwanted IOExceptionsI20190422-1800I20190421-1800I20190420-1800I20190419-1800I20190418-1800I20190417-1800I20190416-1800Paul Pazderski1-5/+25
If IOConsoleInputStream methods are called in some particular sequences they throw unwanted exceptions. Change-Id: I42f8237ceda47634ce94e98fe4c5d8894cf8d86a Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-03-20Remove useless non-javadoc see comments.Alexander Kurtakov3-14/+0
Handled by Override annotation. Change-Id: Icd0334c0b57bb3021693117877a9af5fcda571d7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-16Bug 544969 - [console] ConsoleDocumentAdapter.setText does not set textI20190318-1800Paul Pazderski4-5/+311
Change-Id: Ib12b38b964891bb13bd933bb1f9d74fb39421471 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de> Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseI20190314-1800I20190312-1800I20190312-0340I20190311-1800I20190311-0410I20190309-1830I20190308-1830I20190308-1525I20190308-1055I20190308-0740Niraj Modi1-1/+1
Change-Id: Ic2a42e91bdc21b9d41a4d1036b67a71bdd433eb6 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-12-07Bug 541822 - POM and product version change for 4.11 releaseI20181212-0230I20181211-1800I20181211-0230I20181210-1800I20181210-0755I20181210-0535Niraj Modi1-1/+1
Change-Id: Ic13c9d1d503e49d1e1ac30968c733b8c650b2495 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-10-11Bug 307309 - [console] Some uses of IOConsoleInputStream.available()I20181017-1800Sarika Sinha3-3/+16
throw IOException for no good reason Change-Id: Iaa7ad7e96bb602532ed7af4c02e35911d26a7e3f
2018-09-04Bug 538531 - POM version change for 4.10 releaseY20180905-2200I20180907-0855I20180907-0715I20180907-0650I20180907-0400I20180906-1400I20180906-0005I20180905-1305I20180905-0410Sravan Kumar Lakkimsetti1-1/+1
Change-Id: I05159d79d261e80ffc94a2bf3abccc6ec3b46243 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-21Bug 535802 - EPL-2.0 for platform.debug testsLars Vogel87-261/+522
Commands used for this conversion: 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: I6106979d3335c00b9b9afba17f5397b9507bf6ab Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-07-19Bug 521038 - [refactoring] Replace anonymous Runnable classes by lambdaAlexander Kurtakov4-99/+60
expression Changed some formatters to Eclipse so there is some formatting happening as the debug one is not clear where to get from and it's unrealistic to expect random contributors to do it. Change-Id: I731410854f9a4ac0c9fc18bcf3ad3dcf7d941c9a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-12Bug 534681 - Remove redundant modifiers in org.eclipse.debug.testsKarsten Thoms1-26/+26
Change-Id: I1d275e99c6f3081d73d272b02dc9e9ffd0da11ea Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-06-05Bug 535318 - Update license to EPL-2.0 for platform.debug in about.htmlI20180606-1020Lars Vogel1-16/+24
Change-Id: Ide949707f61f88a56527c56610c1dfeb551a1db9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-01Version 4.9 update in plaform.debug as prep for the EPL 2.0 updateI20180601-0915I20180601-0900Lars Vogel2-2/+2
Change-Id: I0780d35d66fd25b70bbf7618979672bcbd2a559e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-05-30Bug 535191 - POM version change for 4.9 releaseI20180531-2125I20180531-2000I20180531-1245I20180531-0910Alexander Kurtakov1-1/+1
Change-Id: Ic421012d21e951ef7763a6be83c2f2a42eed5c15 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-09Bug 533788 - Use StandardCharsetsI20180509-0800Alexander Kurtakov1-12/+2
Another bunch of such changes. Change-Id: I4012772607b8f7c165156b8d03fbd5bcbee4b581 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-24Remove useless throws.Alexander Kurtakov1-2/+2
Change-Id: I54b08e46ecc260dbb7cfe292e939808acad4baf9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-04-13Bug 268608 - find/replace action disabled on first opening of consoleI20180417-2000I20180416-2000I20180416-0305I20180415-2000I20180414-1500I20180413-2000Simeon Andreev1-4/+42
Whenever a new console page is opened in the Console View, a FindReplaceAction is registered for this console page. The target of this action is set before the new console page is set as active by the PageBookView. This results in either a disabled find/edit action, if there was no previous console page, or an action which targets the previously active console page. I.e. the user either cannot search in the new console page, or searches in an old one. This is also true when switching between consoles, or when closing the Console View and re-opening it. Two points are important here. First, global actions of TextConsolePage pages are only updated on creation of the action, or if the selection in the console's text widget changes. And second, PageBookView.showPageRec will set the current page only after the SWT control of the new page is created (i.e. only after the new actions are updated). Therefore the target of the global find/replace action is updated only when a new console page is created, and its updated with the wrong current page. This change ensures that the FindReplaceAction has the correct target page and its enabled state is correct, both when switching pages and when opening new ones. Namely, the selection of a TestConsolePage is "reset" after the new page is created and shown. Change-Id: I22c368acce902d12f83274c6df12e013fb7afaa3 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-03-29Bug 533055 - Remove redundant type argumentsI20180403-2000I20180402-2000I20180401-2000I20180331-1500I20180330-2235I20180330-2000I20180329-2000Alexander Kurtakov15-161/+76
Change-Id: I6f62094af1b4ad2c679e78cc635641918f958fb4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-03-21Bug 390052 - Viewer update listener timed outI20180329-0000I20180328-2000I20180327-2000I20180327-0805I20180327-0630I20180326-2000I20180325-2000I20180324-1500I20180323-2000I20180323-0355I20180322-2000I20180322-0645I20180322-0225I20180321-2000Sarika Sinha1-0/+1
Change-Id: I51fabdeb3ebf9c98761140012a5cbafa7d852b42
2018-02-19Reverted fix for bug 268608: [console] find/replace action in MessageConsole ↵I20180225-2000I20180224-1500I20180223-2000I20180222-2000I20180221-2000I20180220-2000I20180219-2000Dani Megert1-43/+5
disabled on first opening of console view
2018-02-15Bug 435731 - [Tests] Listener not finished: Viewer Update ListenerI20180217-1500I20180216-2000I20180216-0415I20180215-2000Sarika Sinha1-0/+3
Change-Id: I6c8ce911bfcb53d5d07a433b4090b1a54b894ca3
2018-02-14Bug 435731 - [Tests] Listener not finished: Viewer Update Listener I20180214-2000Sarika Sinha2-2/+7
Change-Id: I818a80bc18315a264ddb720b8cc3ffee32e8ca61
2017-12-11Bug 41353 - Launch configuration prototypesI20171211-2000Axel Richard1-1/+207
First implementation of the launch configuration prototypes mechanism. Change-Id: I21a2a97b83aa9cb1be79153bbc4b72171cc6be20 Signed-off-by: Axel Richard <axel.richard@obeo.fr>
2017-12-08Bug 390052 - Viewer update listener timed outI20171210-2000I20171209-1500I20171209-1020I20171208-2000Sarika Sinha1-1/+3
Change-Id: I18582e6ea64a0319e55e799d1255622e86fdfca0
2017-12-01Bug 527939 - Add Automatic-Module-Name to MANIFEST.MF in Platform DebugI20171201-0345Sarika Sinha1-0/+1
Change-Id: I74fe40f0bf1d1d07c0612e3b4e6f786e14f38a50 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-11-05Bug 526058 - test should wait for job trigered by AbstractModelProxyI20171108-2000I20171107-2000I20171106-2000I20171106-0630I20171105-2000Andrey Loskutov1-4/+7
This seem to fix the instability of the ContentTests.testLabelUpdatesCompletedOutOfSequence* tests. Change-Id: Ib3b414c4f65076095ba7a9d5fc9c29dc33d8a795 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-10-25Bug 526058 - [Tests]S4_8_0_M3aS4_8_0_M3I20171104-2025I20171104-1500I20171103-2000I20171103-1105I20171103-0715I20171103-0405I20171102-2000I20171101-2000I20171031-2000I20171030-2000I20171030-0400I20171029-2000I20171028-1500I20171027-2340I20171027-2000I20171025-2000Andrey Loskutov1-1/+1
ContentTests.testLabelUpdatesCompletedOutOfSequence2 is unstable Changed the test order to avoid instability of test testLabelUpdatesCompletedOutOfSequence2 which, if executed after testLabelUpdatesCompletedOutOfSequence1 sometimes fail (on my Windows machine it failed always). Change-Id: Ib4a5b5351de05a0b1f8171390fb19339fa9edca6 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-10-03Bug 439017 - use timeout while waiting on conditionI20171008-2000I20171007-1500I20171006-2000I20171005-2000I20171004-2000I20171004-0315I20171003-2000Andrey Loskutov24-1978/+662
Introduced TestUtil.waitWhile() and AbstractDebugTest.waitWhile() methods to allow tests to fail if some condition does not change after a given timeout. This should give some hints about test failures without crashing (DNF) entire test suite. Also introduced AbstractViewerModelTest to remove lot of copy/paste code from related tests. Change-Id: I435872c74482f86e87a42f286834200ef3b45bfe Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-09-13Bug 268608 - find/replace action disabled on first opening of consoleI20170915-1030Simeon Andreev1-0/+40
Whenever a new console page is opened, a FindReplaceAction is registered for this console page. The target of this action is set before the new console page is set as active. This results in either a disabled find/edit action, if there was no previous console page, or an action which targets the previously active console page. I.e. the user either cannot search in the new console page, or searches in an old one. This change ensures that the created FindReplaceAction has the correct target page: the target page is updated once the console page is activated by the ConsoleView. This fixes the bug. Change-Id: Ib59be79b361b91949e7ace4f4e1803b4039cad95 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2017-09-08Revert "Bug 521038 - Replaced anonymous Runnable classes by lambda expression"Alexander Kurtakov4-51/+81
This reverts commit d8621eaf55a1e95ff894dda0a241af08cc6111fe. Change-Id: I30777d3cf90d9a14f5de5e599b8a0ceefe1c8292
2017-09-06Bug 521038 - Replaced anonymous Runnable classes by lambda expressionI20170906-2000I20170906-0815Karsten Thoms4-81/+51
Change-Id: Ia0d3478be72f514cce6e57cb679fa60668bdb23f Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>

Back to the top