Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-06-15tmf: Bug 468867: Time graph listener notifier interference from ext syncPatrick Tasse4-50/+72
Change-Id: I2099016a56c4a13ce1661c6a84d8168486be15a0 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/50146 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2015-06-12tmf: Bug 452415: Remember last location for Open TraceMarc-Andre Laperle2-0/+20
Change-Id: Iffe079c1d292705c624701853c7374b602463ff1 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/50106 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2015-06-12Revert "tmf: Bug 468867: Time graph listener notifier interference from ext ↵Alexandre Montplaisir1-61/+41
sync" This reverts commit 3ad34c5d3fbfeee1eeeda5c4fe2afa02d3bc6b2a. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=468867#c4 . Change-Id: Ia8815c6ca51172ce9166324fc1833361e7b58317 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/50142 Reviewed-by: Hudson CI
2015-06-11tmf: Add Copy to Clipboard in TmfEventsTablePatrick Tasse6-10/+239
Change-Id: Ic2ca73787e294ba69fcaa4b111e5a21ff66bb9a1 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/49834 Reviewed-by: Hudson CI
2015-06-11tmf.ui: make hiding column menu in the displayed orderMatthew Khouzam3-24/+31
Change-Id: Ibd9622e89ecb615c279e66f7dcca925500f8f049 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/49518 Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-by: Hudson CI
2015-06-10tmf: Bug 469809: Invalid thread access closing editors in non-UI threadPatrick Tasse4-8/+32
Change-Id: Ia692b41efe429b96c995ba7bf7ed749d25ceff12 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49949 Reviewed-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-10tmf: Fix synchronization between raw viewer and event tablePatrick Tasse1-19/+39
The selected event can now be kept in synchronization even after using the raw viewer scroll bar. Change-Id: I1924cd65d79279266842c1bd4f7697e1c3bdbbef Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49456 Reviewed-by: Hudson CI
2015-06-10tmf: Periodically refresh raw viewer while scroll bar is draggedPatrick Tasse1-4/+97
Change-Id: Ifd5b3a4f751a75b223cf498defb23a1118c2c260 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49394 Reviewed-by: Hudson CI
2015-06-10tmf: Periodically refresh virtual table while scroll bar is draggedPatrick Tasse1-5/+54
Change-Id: I9f0f93fa37c53f73cab6e203e6af0945a4fb58fb Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49138 Reviewed-by: Hudson CI
2015-06-10tmf: Bug 468867: Time graph listener notifier interference from ext syncPatrick Tasse1-41/+61
Change-Id: Ibf072ff1bcd322dedcd3479cb2d08d051c332d50 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49009 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-09tmf.ui: Bug 469644: Clear axises of chart when trace is closedMatthew Khouzam2-0/+12
It should be investigated if people would rather have NO axises when they are cleared. Change-Id: I566ba5abe15ad9cc5f7f2df5ed7ed74589e1cebb Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/49049 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-08tmf: Add color preferences for event raw viewer highlight and selectionPatrick Tasse3-6/+61
The color settings can be changed in Window > Preferences > General > Appearance > Colors and Fonts > Tracing. Descriptions are added for all the Tracing font and color preferences. The default trace event table font is changed to the system font instead of the dialog font, which more accurately reflects the widget default. Change-Id: Ia422655c2acd4b15b7ee9b01e07e80bbce5ea900 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49409 Reviewed-by: Hudson CI Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-06-08tmf: Bug 469655: Virtual table column resize not working on LinuxPatrick Tasse1-17/+1
Change-Id: I1186cb17a83a78210e85db06d763ceea7e8960cc Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/49696 Reviewed-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-06tmf.ui: make columns hideable.Matthew Khouzam3-5/+99
Change-Id: Ia23182dc74f05fac21570a718758e050b8881155 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48704 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-06-05tmf.ui: make GzipFile call super.finalize()Matthew Khouzam1-0/+1
Change-Id: I5cbffffb23a1d06134295bb17d5fa3fa5329d9f6 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48897 Reviewed-by: Hudson CI
2015-06-03Fix file leak in Gzip supportMarc-Andre Laperle1-2/+7
Change-Id: Ie14143f5be809a8c7e54fc7bc5f7f639d6da4ece Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/49269 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-06-02tmf.ui: GzipEntry remove magic numbersMatthew Khouzam1-4/+6
Change-Id: I30db829944632f20923401f4f3e0724e4ca7c8e7 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48898 Reviewed-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-02tmf.ui: clarify exception handling in ImportTraceWizardPageMatthew Khouzam1-1/+3
Also avoid an NPE that doesn't happen yet because of validation, not design. Change-Id: I4a1e5918dea4343250150952974f9286c3ccb177 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48896 Reviewed-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-28swtbot: Add Control Flow view testsPatrick Tasse1-1/+13
Tests involving shift-clicking a tool bar button are commented out until this is supported by the SWTBot framework. Change-Id: I82071d50828db282a0f5f8afa4b8974b9daf83c1 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/48502 Reviewed-by: Hudson CI
2015-05-28tmf.ui: make fields staticMatthew Khouzam1-4/+4
Change-Id: Ie87294e64410656d0afaada8705e786b7a8f5a94 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48856 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-28tmf: bug 468542: Fix toggle of search/filter in table using the mouseBernd Hufmann1-2/+2
Change-Id: I5e1f849272c9ac89e9c15564f9f6a133562fdc1d Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48816 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-27tmf: Bug 468074: Fix selection bucket index calculationBernd Hufmann3-46/+56
Additional fixes: - Fix HOME and END key to ignore bucket event counts - Fix calculation of bucket timestamp to consider half bucket offset - Fix bounding of mouse event x-coord to the bounds of the histogram - Fix AIOOBException on mouse hover during drag outside of bounds - Fix some mouse events not working with single timestamp trace - Fix some mouse events not working when range has no events - Fix tooltip bucket range string Change-Id: Ie89dd6b50ab03e8eeeb7ec8e2addc449945af3e7 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/48496 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-27tmf: Bug 467751: Partial workaround for XY chart concurrency issueBernd Hufmann1-3/+1
This change will remove the usage of the TmfUIRefreshHandler which delays the clearing of the chart. However, it is still not thread-safe and it might fail. To fix it correctly, the whole API of XY charts would have to looked at and this won't be done for Mars. Change-Id: Ib838864fd8fb7086391b44f0b3dbf0558617f5f2 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48320 Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-by: Hudson CI
2015-05-26tmf.swtbot: add swtbot test for gzipped importMatthew Khouzam1-1/+2
Change-Id: I743830381774801be33699076bb510e735529fef Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48271 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-26tmf: Add support for importing Gzip (non-Tar)Marc-Andre Laperle4-8/+425
Change-Id: I25271514449ecbfb7da2f56ee3036949b077ec07 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/48552 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-20tmf: Fix IllegalStateException in HistogramDataModelPatrick Tasse2-6/+12
It should be allowed to have a last bucket set to 0 in the histogram data model. This can happen if all trace events have the same timestamp. The histogram time range is fixed to display even if the start and end times are equal, as long as there is at least one event in the model. The scaling is updated to make sure that these single-timestamp events are spread over the whole width of the histogram. The scaled model will have a bucket duration of 0 when it represents a single timestamp. Change-Id: I5341aa6a158a3b4c1b3d4edee982ed67558e8a51 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/48224 Reviewed-by: Hudson CI Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-05-19tmf: Fix set focus on SWT Chart viewersPatrick Tasse2-2/+21
Views should give focus to the SWT chart control on setFocus(). The SWT chart control should give focus to the plot area on setFocus(). The SWT chart control should give focus to the plot area on mouse down. Change-Id: Ic442d7c75c834c281de2c37d0c01363cd319bf27 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/47980 Reviewed-by: Hudson CI
2015-05-19tmf: Use OSString for the supplementary files folder propertyAlexandre Montplaisir1-1/+1
On Windows, getLocationURI().getPath() returns a string that starts with "/C:/...". This does not get parsed correctly by utilities like java.nio.file.Path. Using getLocation().toOSString() instead solves this problem. Change-Id: I7c5d6d43cd21fd9c0021105884f61fb32bd133d5 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/47932 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-15tmf: Update mouse drag for xy charts to work with time aligmmentBernd Hufmann1-1/+6
Change-Id: I6d94c4922bddae43ff9bcee3dfea118c7be446cf Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47957 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-15tmf: Update calculation of offset and available width in XY chartBernd Hufmann1-7/+12
During window range updates the window start and end time of the xy chart viewer used to be inconsistent with the corresponding x-Series values. This lead to incorrect values when calculating the point offset and available width for the time alignment during the period of inconsistency. With this patch the offset and width is calculated using the first and last time in the x-Series array. Change-Id: I70eee0c08777c4b6797e2d6bbc41dd19fff05f64 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47944 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-15tmf: Fix calculation of time axis offsetPatrick Tasse3-11/+4
Calculate the time axis offset based on the control sizes instead of using the sash weight ratios which can introduce small rounding errors. Change-Id: Iff8deabd45981913e5209b9d2d4f33b922a5d6d4 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/47923 Reviewed-by: Hudson CI
2015-05-15tmf: Fix calculation of sash weights in performAlignPatrick Tasse3-11/+9
This ensures that the sash width is taken into account when calculating the sash weights when trying to align to a specific offset. There can still be some drifting by 1 pixel, but this is caused by integer trimming in the computations inside SashForm and SashLayout. Change-Id: I742dc99e90e3eb4c9f95b1bac3da286f3187af3e Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/47884 Reviewed-by: Hudson CI
2015-05-15tmf: Don't subtract of 1 when getting the pixel coordinate from xAxisBernd Hufmann1-3/+4
For small time ranges this subtraction caused invalid coordinates which lead to invalid time alignment when zooming in to very small time range Also, make sure that getPixelCoordinate is only called when Y-values are abailable when calculating the the point area offset. Change-Id: Iaa623a406a91ac94e681bf610169892ee8149555 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47885 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-13tmf: Fix calculation of available alignment width in TimeGraphComboBernd Hufmann1-1/+2
Before the fix the vertical scroll bar was not considered when calculating the avalible alignment width. To observe the impact of the incorrect aligment value open just HistogramView and ControlFlowView for a kernel trace without the fix. Then the right margin of the Histogram view is not correct. Change-Id: Ia54e2c3f03fcc22def4706b778518353515c7897 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47852 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-13tmf: Set window start and end time of TmfTimeViewer in one method.Bernd Hufmann1-18/+8
Now both values have to be set at the same time instead of calling 2 set methods. Change-Id: I8b76dfdf9d6d5c4d4e00b440b8ae493307e5bd7e Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47812 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-13tmf: Set selection begin and end time of TmfTimeViewer in one method.Bernd Hufmann1-18/+11
Now both values have to be set at the same time instead of calling 2 set methods. Change-Id: I66d7e564609d83cba7f85bcad3649c39e34cc0eb Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47762 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-13tmf: Set selection end time when opening XY chart viewsBernd Hufmann1-3/+4
Change-Id: I7b283f4492c00bc0a0fc6e716bd78aacf2751a4a Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47760 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-13Update default weight for the SashForm in time-aligned viewsBernd Hufmann2-3/+4
Change-Id: Ie345adad7836116e38a18d4b08d6ab1071e298cc Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47759 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-12Tmf.Ui: fix Multithreaded correctness - Call to static DateFormatMatthew Khouzam1-38/+114
The problem has been very well explained here: http://fahdshariff.blogspot.ca/2010/08/dateformat-with-multiple-threads.html As this code may be used in multi-threaded environments, not making it thread safe will result in sporadically mangled dates. This patch fixes it by synchronizing each access with the list of all items. More performance would be had by using a threadlocal scheme where setting the timezone resets the structure, but the legibility of the class would greatly suffer. Change-Id: If8e9b118b3db15a2a0c088d4ebb2fa7c20839885 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/46792 Reviewed-by: Hudson CI
2015-05-11tmf: Remove nullcheck before an instanceofFrance Lapointe Nguyen1-7/+3
Change-Id: Ia1f5b9d7c77046bb6baa7c8950dbe8acd000ab5e Signed-off-by: France Lapointe Nguyen <francelap@gmail.com> Reviewed-on: https://git.eclipse.org/r/47504 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-05-11Use equals and equalsNullable method instead of ==France Lapointe Nguyen1-1/+1
Change-Id: I3dcc6c0a60f88b0ffcf92dd6f3d17a831403dbb8 Signed-off-by: France Lapointe Nguyen <francelap@gmail.com> Reviewed-on: https://git.eclipse.org/r/47535 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-05-11tmf: Remove repeated conditional testFrance Lapointe Nguyen2-10/+3
Change-Id: Ia77d9ed5463e790a4526625e8f111946c470d891 Signed-off-by: France Lapointe Nguyen <francelap@gmail.com> Reviewed-on: https://git.eclipse.org/r/47537 Reviewed-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2015-05-11tmf: Adjust xAxis range after mouse drag operation in XY chart viewerBernd Hufmann1-0/+1
This will provide correct values for x-Axis alignment. Change-Id: Ic98423582b6c361f1fefc79e837dc919aaaad038 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47178 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-11tmf: Align the time-axis for time range histogramBernd Hufmann3-39/+221
Change-Id: Ie1dfb34e9ffdbe881bb477622398dce44546529d Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47077 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-by: Hudson CI
2015-05-11tmf: Allow shift key to extend selection in time graphPatrick Tasse2-81/+147
- Extend the selection range when shift key is pressed while pressing left or right keys. - Extend the selection range when shift key is pressed while running the next event, previous event, follow arrow fwd, follow arrow bwd actions. - Update status line when the above actions modify the selection. - Make sure the selection end time is visible when modifying the selection range. - Show status line when time graph control has focus with mouse outside of the control bounds, but without displaying the cursor time. - Highlight the selected state at the selection end time instead of the selection start time. - Remove the margin factor that made 'ensure visible' change the time range when the selection was near the left or right margin. Change-Id: Iee1dbbbc56e052de1a48bc638355e0c7dc126c2a Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/47381 Reviewed-by: Hudson CI
2015-05-11tmf: Allow negative time range selectionPatrick Tasse3-39/+41
This patch allows the selection end time to be lower than the selection start time, better representing the user selection. It will help to correctly update the end boundary using atomic operations (keyboard or button) that extend a selection to the left of the selection start. The status line message delta is updated to allow a negative value. Change-Id: I5228441cb049487783d4b0fdcba7ef766077677f Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/47380
2015-05-11tmf.ui: add percent of selection to timechart viewMatthew Khouzam3-5/+36
This allows us to know how much time is being used by one entry in a timechart. Applies to Control flow view, resource view and the call stack view Change-Id: If7052553473ca53929aafaba7fc5831883e4e087 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/46271 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-11tmf: Add sash for time range histogram and time controlsBernd Hufmann1-59/+90
Change-Id: I127751cc998e56cd47afae7922099e2861028e61 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47075 Reviewed-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2015-05-11tmf.ui: make histogram use entire range of plot areaMatthew Khouzam4-113/+149
This feature will help view alignment but has an issue with beat aliasing due to sampling periods not being harmonics. Change-Id: Iff033f90f68e0614a9f56a402400b9385108107d Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/46593 Reviewed-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
2015-05-09tmf: Fix time scale not visible at first in Control Flow view (GTK3)Marc-Andre Laperle2-4/+19
Bug 466791 Change-Id: Ide2431eb9a48f5430e04f53bd3d76c28c03577d3 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/47505 Reviewed-by: Hudson CI

Back to the top