Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27Bug 562456 - Show Command Line => Command Line could not be retrievedY20200428-2310Y20200428-0250Y20200428-0140Y20200427-2330I20200429-0600I20200428-2300I20200428-1800I20200428-0630I20200428-0610I20200428-0230I20200427-1800Sarika Sinha2-57/+72
Change-Id: Idf807f8684a3e444c03c6522b81252e70b7cb09b
2020-04-16Bug 562191 - External tools command line starts with superfluous blankI20200426-1800I20200425-1800I20200424-1800I20200424-0540I20200423-1800I20200422-1800I20200421-1800I20200420-1800I20200419-1800I20200418-1800I20200417-1800Michael Keppler3-3/+5
Remove the superfluous blank when creating the command line. Also bump version since this is the first change in core.externaltools for 4.16. Change-Id: Ib0243fc787d0d252aeb8be25c631d0cdb13c6dcb Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2020-04-10Bug 561983 - Remove dependnecy on icu from debug.[core|ui]I20200416-1800I20200416-0410I20200415-1800I20200415-0620I20200415-0200I20200414-1010I20200414-0630I20200413-1800I20200412-1800I20200411-1800I20200411-0950I20200411-0720I20200411-0510I20200411-0300I20200410-2300I20200410-1800Alexander Kurtakov65-132/+82
java.util classes are more than good for these bundle needs. Change-Id: Ia13b39e79d4058cdfa9b2b20cc1e7b41be4ba6f3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-04-10Bug 561919 - Remove com.ibm.icu.text from org.eclipse.ui.consoleLars Vogel3-3/+3
Change-Id: I0e5237a881efd90c67947ba56853a07c421de081 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-04-10Bump version for 4.16Alexander Kurtakov2-2/+2
Needed for https://git.eclipse.org/r/#/c/160657/ Change-Id: Ic0cf7bd36e359aea4bf0fd071ff5b85801e5bf2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-03-29Bug 559180 - Suppress false potential resource leak warningS4_16_0_M1I20200409-0200I20200408-1800I20200408-0600I20200407-1800I20200407-1210I20200407-0120I20200406-1800I20200406-0600I20200406-0350I20200406-0120I20200405-1800I20200405-0600I20200404-1800I20200404-1220I20200404-0600I20200404-0330I20200403-1800I20200402-2250I20200402-1800I20200402-0850I20200402-0410I20200401-1800I20200331-1800I20200330-1800I20200329-1800Paul Pazderski2-0/+3
And add comment why it is no leak. Change-Id: I67364abc6f2c8cc607219946e8c9bad56f8d0fc6 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-03-26Bug 561451: Call wrong UI String for quick access label/headerI20200328-1800I20200327-1800Noopur Gupta2-4/+6
Change-Id: I87fe61f223677348cf45231e7339f1b7dc025c07
2020-03-24Bug 559180 - Close stream when NullStreamMonitor finishesI20200326-1800I20200325-1800I20200324-1800Paul Pazderski1-2/+2
Change-Id: Ifb13a0609c150d2ca1f87e43957068fcec8bb271 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-03-22Bug 561338 - Random IOOB on updating breadcrumb in Debug viewI20200323-1800Andrey Loskutov1-1/+8
Do not call into JFace with invalid index. Change-Id: I62cd885cb5fae2bc6e3ca540f1b691f9ce1e113d Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-03-20Remove unnecessary whitespace in LaunchFavoriteTestsI20200322-1800I20200322-1150I20200322-0300I20200321-1800I20200321-0440Lars Vogel1-1/+1
Change-Id: Ie6f8f66a92b6c8afbf3c1fd0a4667a0c4549f71a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-03-204.16 version bump for org.eclipse.debug.testsKarsten Thoms2-2/+2
Required for https://git.eclipse.org/r/#/c/159780/ Change-Id: Ifbe341df5329658ccadeadf4b73b31ea7d69e673 Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-03-19Clean-up use method references in debug coreI20200320-1800I20200319-1800I20200319-0550Lars Vogel4-114/+57
Using the JDT cleanup action -> Use lambda where possible Simplify lambda expression and method reference syntax Change-Id: I93d3cc199321c22e96e514d0f8c601fee0a147d4 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-03-19Clean-up use method references in debug external toolsLars Vogel4-70/+38
Using the JDT cleanup action -> Use lambda where possible Simplify lambda expression and method reference syntax Change-Id: I24c897659916e472b24d6a5c71c5660f2a00d0d9 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-03-19Version increment for org.eclipse.debug.coreKarsten Thoms2-2/+2
Required for https://git.eclipse.org/r/#/c/157581/ Change-Id: I08f0c3d6f07d9ddb3484c8b2950584862098be9f Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-03-174.16 update for org.eclipse.ui.externaltoolsI20200318-1800I20200318-1400Lars Vogel2-2/+2
Required for https://git.eclipse.org/r/157582 Change-Id: Ia2bd77b0fe4bcf511cb9f6b14729698afd1312da Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-03-14Bug 560348 - Wrong toolbar debug button state with two windowsI20200318-1100I20200317-1800I20200316-1800I20200315-2240I20200315-1800I20200314-1800Simeon Andreev1-2/+31
When debugging with 2 workbench windows, sometimes the main toolbar debug buttons enabled state is incorrect. E.g. step over would be disabled in 1 window, but not in the other window. This is caused by job cancellation in DebugCommandService.postUpdateCommand(). In particular, each window will schedule an AbstractDebugCommand.UpdateJob per debug command (suspend, resume, step over, etc.) and some of those jobs are cancelled by postUpdateCommand(). A cancelled job can contain the action to update for a specific window, in UpdateActionsRequest.fActions (stored in AbstractDebugCommand.UpdateJob.request). The cancellation does not take this into account, sometimes leading to wrong main toolbar debug button states in either window. This change disables the job cancellation if there are 2 or more workbench windows. In addition, the change moves cancellation to before new UpdateJobs are triggered. This avoids cases in which updates triggered by a custom debug context provider become cancelled, but newer updates only come much later on from the Debug view context provider. Change-Id: Ic9d4f87882982e745dfa4fb41f7ed0d856533566 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2020-03-14Version bump for 4.16 changes in org.eclipse.debug.uiAndrey Loskutov2-2/+2
Required for https://git.eclipse.org/r/#/c/158082/ Change-Id: I456255c21dab3c2cef33225b3b8a6716955cd8eb Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-03-06Bug 560872 - POM and product version change for 4.16 releaseY20200309-1300Y20200308-0700Y20200308-0520X20200313-0410X20200312-1900X20200312-1530X20200312-1210X20200312-0700X20200311-2150X20200311-1900X20200311-0820X20200306-1900I20200313-1800I20200313-0810I20200312-1835I20200312-1800I20200311-1800I20200310-1800I20200310-0810I20200309-1800I20200309-0810I20200308-1800I20200307-1800I20200307-1145Mat Booth12-12/+12
Change-Id: Ifcb7805f8c4c779f434dc85604d0b8c24ad08890 Signed-off-by: Mat Booth <mat.booth@redhat.com>
2020-02-24Bug 560274 - Race condition when updating debug toolbar button statesY20200318-0540Y20200317-0225Y20200316-1300Y20200316-0820Y20200314-1405Y20200313-1100Y20200311-0915Y20200310-0525Y20200305-0600Y20200225-1040X20200306-0700X20200305-1900X20200305-0700X20200304-1900X20200304-0700X20200303-1900X20200303-0700X20200302-1900X20200302-0930X20200302-0700X20200301-1900X20200301-0700X20200229-1900X20200229-0700X20200228-1900X20200228-0700X20200228-0520X20200227-1900X20200227-0700X20200227-0130X20200226-0700X20200225-1900X20200225-0700X20200224-1900X20200224-0700S4_15_0_RC2S4_15_0_RC1R4_15I20200305-0155I20200304-1800I20200304-0600I20200303-1800I20200303-0600I20200302-1800I20200302-0600I20200301-2310I20200301-1800I20200301-0600I20200301-0030I20200229-1800I20200229-0600I20200228-1800I20200226-1800I20200226-0600I20200225-1800I20200225-0600I20200224-1800I20200224-0600Simeon Andreev1-0/+28
This change adjusts the scheduling rule when updating toolbar command enablement via "org.eclipse.debug.internal.core.commands.ForEachCommand", e.g. the suspend toolbar enabled button state. The new rule is exclusive per command, as opposed to exclusive per selection type. I.e. before, debug target updates were exclusive, stack frame updates were exclusive, etc. Now, disconnect command updates are exclusive, suspend command updates are exclusive, etc. Change-Id: Ia22232b0a55c3aba429bc980ec5a26eb238afd44 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2020-02-22Bug 560353 - Sub-option "Interpret Carriage Return ..." must be indentedX20200223-1900X20200223-0700X20200223-0250I20200223-2335I20200223-1800I20200223-0600I20200222-1800Paul Pazderski1-1/+5
Change-Id: I8f464d6e0eae9afdc7ce6506243944680a341e5f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-20Bug 560352 - Migrate debug.tests to JUnit 4X20200222-0700X20200221-1130X20200221-0700I20200222-0600I20200221-1800Alexander Kurtakov68-866/+976
Change-Id: I63e3acd4d926282e5b2c92e63d01004376c108fc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-02-17Bug 251642 - [Tests] Fix race condition in testTerminateTimeStampY20200219-1055Y20200219-0850Y20200218-1420Y20200218-1210Y20200218-0315Y20200218-0120X20200221-0440X20200221-0310X20200221-0050X20200220-1900X20200220-0700X20200219-1900X20200219-0700X20200219-0500X20200218-0510X20200217-1120S4_15_0_M3I20200219-1800I20200219-0600I20200218-1800I20200218-0600I20200217-1800Paul Pazderski1-0/+29
Process termination is recognized in a separate thread. Looking for termination timestamp without waiting for termination is a bad idea. Change-Id: I2fe934b898b689a7cfba9e2eaec4676bd97103cd Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-17Bug 251642 - [console] Shorten terminate timestamp for same dayPaul Pazderski1-9/+29
If process started and terminated at same day (the most common case for process run in IDE) do not show the day part twice. Change-Id: I6b080af23b44b3bd6db5d6301794705fb5359c56 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-16Bug 251642 - Store termination timestamp as launch and process attributeI20200217-0600I20200216-1800Paul Pazderski14-49/+191
Also show termination time in process property dialog and process console label and set launch time as process attribute for external tool launches. Change-Id: I052d280d16d8ad42d70992b0a57324a9ce2e4963 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-15Bug 345435 - [console] EOF Ctrl+Z keybinding doesn't work with twoPaul Pazderski1-10/+17
consoles up Change-Id: I1e45eb5450887c9107e1cb46b3f3894e5443d85c Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-12Bug 550195 - Reduce wait time in runtime process terminationI20200216-1145I20200215-1800I20200215-0600I20200214-1800I20200214-0620I20200213-1800I20200213-1520I20200213-1210I20200213-1100I20200213-0640I20200212-1810I20200212-1800Paul Pazderski4-5/+147
Java 8 added a waitFor method with timeout for the Process class. Using this instead of the plain Thread.sleep can reduce waiting time in some situations from 500 ms down to 10 ms. For the case that Process is not a native process and has no optimized waitFor implementation the situation still improves since the terminated check is performed every 100 ms instead every 500 ms. Change-Id: I0fc54981b53615fbae14d46a6c82a9b85d64b035 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-02-11Clean-up use lambdas and method references in ui.consoleI20200212-1420Lars Vogel3-49/+24
Using the JDT cleanup action -> - Use lambda where possible - Simplify lambda expression and method reference syntax Change-Id: Icdce7db08c100cf4eda0e9ebabf20afbe64ba36f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-02-05Bug 559814 - Shorter text for remove dialogsI20200212-0910I20200211-1800I20200210-1800I20200209-1800I20200208-1800I20200207-1800I20200206-1805I20200205-1800Lars Vogel2-5/+5
Change-Id: Ic8eb6641bce888366ac1971852a5fd3035b71099 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-02-04Use method reference instead of lambdasI20200205-0030I20200204-1800Lars Vogel3-4/+4
Method references are slightly faster than lambdas and better readable. Change-Id: I1eb012c76a425358503f171d291d6abe9a45d219 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-31Bug 559590 - "Custom" debug view is not considered inY20200204-0035I20200203-1800I20200202-1800Andrey Loskutov1-3/+12
SourceLookupService.debugContextChanged Check if the view part provided by the DebugContextProvider is shown, if the DebugContextProvider for given DebugContextEvent specifies its own part. This part is not necessarily the default Debug view. If this is the case, we also want to proceed with displaySource(). Change-Id: I1b86b3d2224c8532ddf23b4d423f211267ff3106 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-01-22Bug 553282 - [console] Handle \f and \v in console outputY20200130-0045Y20200127-1055Y20200126-2245I20200201-1800I20200131-1800I20200130-1800I20200129-1800I20200129-0935I20200129-0100I20200128-1805I20200127-1800I20200126-1800I20200126-0250I20200125-1805I20200124-1800I20200123-1800I20200123-0525I20200123-0430I20200122-1805Paul Pazderski3-14/+96
Change-Id: I8c86ad1116aa12c59ec4cbfbf2662e484c55c1c4 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-22Bug 553282 - Extract code to partition newly appended outputPaul Pazderski1-276/+309
This change is pure refactoring to simplify the diff of the actual enhancement from bug 553282. Change-Id: I36d531e9c2872b68608b8b54343220a558e4f5e7 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-20Use ArrayList instead of VectorY20200121-0055Y20200120-2315I20200121-2225I20200121-1805I20200120-1800I20200120-0715Lars Vogel2-4/+3
Vector is an outdated data structure and ArrayList should be preferred as it is faster. Change-Id: I93106bc75dfd76b9118ae607c0504efacd91ce3f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-20Use ArrayDeque in StringSubstitutionEngine instead of StackLars Vogel1-3/+4
Change-Id: I65b227abde82a39cde30834960344c9930663d20 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-204.15 update of org.eclipse.core.variablesLars Vogel2-2/+2
Required for https://git.eclipse.org/r/156114 Change-Id: Ia574a2d2941289c2cbc2cb733593d92dc194773f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-17Bug 365770 - Race condition in IOConsolePartitioner causes consoleY20200120-0020I20200120-0530I20200120-0445I20200120-0355I20200120-0115I20200119-2330I20200119-1800I20200118-1800I20200117-1800Paul Pazderski3-46/+95
output to be lost or not cleared Due to the race condition when calling outStream.print("First"); console.clearConsole(); outStream.print("Second"); from a single thread the actual console content could be "FirstSecond" or "" where only "Second" is correct. Change-Id: Ifeaed46e11652c53297c1aac3ff4fa1dd07e401b Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-17Bug 229202 - [console] Open link in console context menu gets disabledPaul Pazderski2-11/+9
when activating Consequence was that context menu showed an active menu entry to open link but nothing was opened/executed. Change-Id: Ia2db5fe2caf3f7de9735e99732c691ba9c163e85
2020-01-15Use System.lineSeparator()I20200116-1800I20200116-0930I20200116-0330I20200116-0310I20200115-1800Lars Vogel4-6/+6
Benefit of this way rather than System.getProperty("line.separator") is that there are no security checks. Change-Id: Ib14dc56626a541a2bace31952281cfbb6e0a9a00 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-14Bug 421303 - Potential deadlock in IOConsolePartitioner.streamAppendedPaul Pazderski2-3/+71
The deadlock requires that a separate thread is write large amounts of content rapidly to console and while doing this holds lock(s) with UI thread may require. An example is that both (UI and non-UI thread) write to console using the same IOConsoleOutputStream and therefore sharing the streams write lock. Change-Id: I5c72b60e765ec550928ba872f089494593475856 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-13Iterate over Map.entrySet instead of Map.keySet and value searchI20200114-1805Lars Vogel5-16/+24
Faster than first getting the keys and afterwards reading the value. Done with Autorefactor https://github.com/JnRouvignac/AutoRefactor/ batch conversion using the iterate over Map.entrySet instead of Map.keySet and value search Change-Id: I438796d7ce3abd35c5a8922559c582ef8685ed08 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-13Bug 559097 - Compile warnings in I20200113-0130Y20200114-0045I20200113-1800Paul Pazderski5-2/+6
Change-Id: I9dd25d7fe0d02a13f9cd3466756ada5a1b8a901f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-11Bug 559070 - Fix resource related compiler warnings in platform.debugPaul Pazderski9-27/+66
Change-Id: If9102e5fcd24e7888596fd33a14ed5529419acc2 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-10Use lambdas where possibleI20200113-0130I20200112-1800I20200111-1800I20200111-0325I20200111-0230I20200110-1805Lars Vogel7-131/+46
Using the batch cleanup operation via Source -> Cleanup -> "Use lambdas where possible" from standard JDT. Just a small number of changes files to make review easier. Change-Id: If684f937bd8e5f4fb2e72fc8a342ff03739ab367 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-10fixed plugin.xml example in javadoc that leads to warnings when copy&pastedChristian Dietrich1-2/+2
Change-Id: Ic134456ded541b2771601f6fe92b45ae2369d92c Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-09Bug 558991 - Value column in Environment Variable table shows nameS4_15_0_M1I20200110-0905I20200110-0200I20200109-2350Andrew Obuchowicz1-1/+1
Change-Id: If8004aaceffc522c266dda3b503cb6bc4997ae74 Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2020-01-06Remove trailing whitespace in debug repoY20200108-0435I20200108-2240I20200108-0600I20200108-0025I20200107-1800I20200107-0600I20200106-1805Lars Vogel26-40/+40
Change-Id: I845c923a09e0458fff1d960469da08404547de7f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2020-01-03Bug 558772 - [console] Remove obsolete code in IOConsolePartitionerI20200106-0600Paul Pazderski1-30/+1
The method applyStreamOutput can do the same as the removed code block. Change-Id: I090b45de41bae48376f87e0e5e67a2ff058df592 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2020-01-03Bug 558732 - Fix compile error 'closable should be managed byY20200103-2350I20200105-1800I20200105-0955I20200105-0600I20200104-1800I20200104-0625I20200104-0600I20200103-1800Paul Pazderski2-26/+28
try-with-resource' Change-Id: I82ad6831d4282e6626fd38f001ea12bd15335226 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-12-21Bug 558489 - [console] Remove unnecessary recoding in ProcessConsoleI20200102-1800I20200101-1800I20191231-1800I20191230-1800I20191229-2200I20191229-1800I20191228-1800I20191227-1800I20191226-1800I20191225-1800I20191224-1800I20191223-1800I20191222-1800I20191221-2205I20191221-1800Paul Pazderski8-82/+90
output handling Apart from removing an unnecessary string -> bytes -> string round trip it fix a potential content corruption since the source (TextConsole) encoding and target (IOConsoleOutputStream) encoding can differ. Also the stream listener implementation in ProcessConsole is simplified a lot and lost some dead code. Last but not least it replaced some usages of encoding names as strings with using the Charset class to reduce overall number of charset lookups. Change-Id: Ie94aa433e571a2f9898c950d2997f598618aca18 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-12-21Bug 552883 - Organize Favorites dialog too smallMichael Keppler1-1/+1
Enlarge dialog in both directions to deal with nowadays larger fonts. Change-Id: I5cf3428a3b4cfccf30723dfc595f5cb74e115e3a Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>

Back to the top