sdk/tools/dynamic-analyzer.git
7 years agoSPTSDKUX-1919: PreferencesDialog refactoring
Dmitriy Nikiforov [Mon, 12 Sep 2016 13:25:29 +0000 (16:25 +0300)]
SPTSDKUX-1919: PreferencesDialog refactoring

PreferencesDialog now has following layouts composition:
  * main scrolled composite still has FormLayout;
  * its content composite and content's direct children have RowLayout;
  * expandable views have GridLayout.

All spacings and margins are managed by layouts now.

'Screenshots' item is renamed to 'Screenshots feature' to emphasize that
these configurations are closely related to mentioned feature.

Change-Id: I1e1b89d7c9dcc23d42141f2f79cb1cf55f8b8be2

7 years agoSPTSDKUX-1919: Added new state to DACustomToggleButton and updated assets
Dmitriy Nikiforov [Fri, 9 Sep 2016 13:38:02 +0000 (16:38 +0300)]
SPTSDKUX-1919: Added new state to DACustomToggleButton and updated assets

DACustomToggleButton now has new state - STATE_TOGGLE_DISABLE meaning that
button was toggled previously but is disabled now.

New image assets for PreferencesDialog toggle buttons:
  STATE_DISABLED        : toggle_off_dim.png
  STATE_NORMAL          : toggle_off.png
  STATE_HOVER           : toggle_off.png
  STATE_PUSH            : toggle_off.png
  STATE_TOGGLE_DISABLED : toggle_on_dim.png
  STATE_TOGGLE          : toggle_on.png
  STATE_TOGGLE_HOVER    : toggle_on.png
  STATE_TOGGLE_PUSH     : toggle_on.png

Change-Id: I974818e430abc4fe72a4ea6fbb05f52498aedcf3

7 years ago[SPTSDKUX-1980][SRADA-1000] Resolve issues at calltrace table
jaeyong lee [Fri, 9 Sep 2016 02:35:48 +0000 (11:35 +0900)]
[SPTSDKUX-1980][SRADA-1000] Resolve issues at calltrace table

 * Enable vertical scrollbar
 * Can show the last row

Change-Id: Ib8e3dd7c46fdf6ccd745ce893b2269f18065b989

7 years agoSPTSDKUX-2048 : Support Tizen 3.0 Dlogutil output pattern
Gihun Chang [Mon, 19 Sep 2016 10:26:29 +0000 (19:26 +0900)]
SPTSDKUX-2048 : Support Tizen 3.0 Dlogutil output pattern

* Tizen 3.0 prints differnt Dlog format compare to Tizen 2.3/2.4.
* Now DA distinguishes the log patten.

Change-Id: I0ecd7ab253c3a0921874212285d80f11b0bb6f17

7 years agoSRADA-1035 Implemented popup menu for memory callstack table.
p.privalov [Mon, 12 Sep 2016 13:30:05 +0000 (16:30 +0300)]
SRADA-1035 Implemented popup menu for memory callstack  table.

Changes:
 * Memory callstack table items now contains 2 additional portions of data:
   caller address and start address.
 * These fields filled with 0 if unknown, or with their addresses.
 * RuntimeCallstackManager.makeCallstackWithoutBacktrace(..) now fills
   function start address correctly.

Note: after probing of PLT-functions It is required to check correctness of
RuntimeCallstackManager.makeCallstackWithoutBacktrace(..),
RuntimeCallstackManager.makeUserCallstack(..)
because both of them build callstack in assumption that we have probes only on
functions from specified binary.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/table/MemoryCallStackTable.java

Change-Id: I20100a5a52731685f9ac279daad1faac718b5fd0

7 years agoSRADA-1110: removed Live column in AllocationTraceTable
Vladislav Eliseev [Thu, 15 Sep 2016 13:05:40 +0000 (16:05 +0300)]
SRADA-1110: removed Live column in AllocationTraceTable

Also changed tab header for MemoryAllocationTraceTableView:
 'Allocation Trace' -> 'Persistent Allocations'

Change-Id: I1f9c3d95a477b09732cbea56e0b5c501101f6fd9

7 years agoSRADA-886 Extracted correct caller address for memory allocations.
p.privalov [Wed, 7 Sep 2016 16:00:19 +0000 (19:00 +0300)]
SRADA-886 Extracted correct caller address for memory allocations.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/data/HeapDataManager.java

Change-Id: If88852bb1ea5563b781727e4a0ce4be03dca25a1

7 years agoSRADA-886 Fixed minor issues.
p.privalov [Wed, 7 Sep 2016 13:26:37 +0000 (16:26 +0300)]
SRADA-886 Fixed minor issues.

Changes:
 * Renamed "Unknown" tab values to "<unknown>".
 * PC_Address is in lower case now in memory callstack table and in timeline
   callstack table.
 * Removed wrong address from caller function line in memory callstack table.

Change-Id: I11e10953670f3f6b503ae12f4407ff8d1034a565

7 years agoSRADA-886 Implemented callstack data loading from saved trace.
p.privalov [Wed, 7 Sep 2016 08:45:24 +0000 (11:45 +0300)]
SRADA-886 Implemented callstack data loading from saved trace.

Also:
CallStackData.getAddrs() now returns unmodifiable copy of list of addreses.
To add address to this list introduced method CallStackData.addAddr(..).

Change-Id: I7627abb2c6d4e02a671abafa5667f2821cb51b4b

7 years agoSRADA-886 Changed order of memory map and memory callstack.
p.privalov [Wed, 7 Sep 2016 13:20:46 +0000 (16:20 +0300)]
SRADA-886 Changed order of memory map and memory callstack.

Memory map data appears in runtime and memory callstack only after
appearing of memory allocation trace table.
So user can see memory map from the beginig ant turn to memory callstack
when it will be not empty.

Change-Id: Ieb62b40ab9364bb792fca1c0a97bf6d9297f9590

7 years agoSRADA-886 Fixed memory callstack table creation and other minor issues.
p.privalov [Thu, 1 Sep 2016 13:32:32 +0000 (16:32 +0300)]
SRADA-886 Fixed memory callstack table creation and other minor issues.

Changes:
 * Removed call of Project.getFunctionName(..) from
MemoryCallStackTable.updateCallstackTable(..)because it is not suitable here.
 * Fixed tooltip for memoryPage.
 * Added enum with indexes for MemoryAllocationTraceTable.
 * Fixed settings in TargetDataTest after removing sync feature.
 * Fixed testApplySettingData() in TargetDataTest()
 * MemoryCallStackTable creation speed up.
 * Due to found find bugs warning ColorResources.TIMELINE_RANGE_NUMBER_COLOR
and ColorResources.TIMELINE_RANGE_NUMBER_PUSH_COLOR set to final.

Conflicts:
org.tizen.dynamicanalyzer.test/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/data/TargetDataTest.java
org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/helper/ColorResources.java

Change-Id: I7562e0b4482ff87e9f33e5b1422bc91d7a282996

7 years agoSRADA-1032 Added PID and TID column to Allocation Trace Table.
p.privalov [Wed, 17 Aug 2016 13:29:12 +0000 (16:29 +0300)]
SRADA-1032 Added PID and TID column to Allocation Trace Table.

Changes:
 * TID added MemAllocDBTable.
 * PID and TID added to MemoryAllocationTraceTable.
 * Visibility setting fixed in MemoryAllocationTraceTableView.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/table/MemoryAllocationTraceTable.java

Change-Id: Iead2578c8d962e41a308f1db4f3eb0bf1bde2a20

7 years agoSRADA-886 Memory Callstack logic implemented.
p.privalov [Thu, 4 Aug 2016 16:27:57 +0000 (19:27 +0300)]
SRADA-886 Memory Callstack logic implemented.

Memory callstack Table now able to fill itself with
callstack appended with allocation function.

Callstack is not complete yet due to lack of information.

Change-Id: I62a7695eb7a644ca72db78852f709d0da2acdeb2

7 years agoSRADA-966 Removed unused methods from CallStackView.
p.privalov [Mon, 8 Aug 2016 10:05:51 +0000 (13:05 +0300)]
SRADA-966 Removed unused methods from CallStackView.

Removed unused methods setObservingViews and getObservingViews.
Due to observingViews was always empty, method updateView() always
returned without side effects. So all unreacheable code was deleted.

Change-Id: Iac1a709a73e019f07a3a6cb6619c0b25534d702e

7 years agoSRADA-966 MemoryCallStackView tab added to MemoryPage.
p.privalov [Tue, 2 Aug 2016 08:28:05 +0000 (11:28 +0300)]
SRADA-966 MemoryCallStackView tab added to MemoryPage.

 * Right bottom view of MemoryPage is a DATabComposite now.
 * It contains CallStackView and MemoryMapView.

MemoryCallStackView redesigned.

 * Implemented MemoryCallStackView.updateView(DAViewData).
 * CallStackTable.updateCallStackTable(DASelectionData): added clause
   to work with MemoryAllocationTraceTable's items.
 * MemoryPage: added parameter allocationtraceViewID, required for
   DASelectionData specification.
 * MemoryPage: CallstackView replaced with MemoryCallStackView to specify
   behavior.
 * MemoryAllocationTraceTable: selectionListener's method
   widgetSelected(SelectionEvent) implemented analogous to those of
   CallTraceTable.
 * MemoryAllocationTraceTable: in makeTableInput() methods added type
   information to TableItems.

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/table/MemoryAllocationTraceTable.java

Change-Id: Iacf8d141741fbbb50c5b2b417e52f22881964734

7 years agoSRADA-1040: fix bug with missing Processes chart
Vladislav Eliseev [Mon, 12 Sep 2016 09:27:43 +0000 (12:27 +0300)]
SRADA-1040: fix bug with missing Processes chart

* Due to wrong synchronization Processes chart is not
  created second time.
* Bug related to the FindBugs MT_CORRECTNESS warning.
* Bug introduced in SRADA-703, commit ea27fce.

Change-Id: I87ba2ea3785e601b2e72782ffb00a4b54a5fe774

7 years agoReapply "SRADA-1011: repackaging script integrated in DIBS build"
Vladislav Eliseev [Mon, 12 Sep 2016 12:23:16 +0000 (21:23 +0900)]
Reapply "SRADA-1011: repackaging script integrated in DIBS build"

This reapplies commit 236f815.

Change-Id: Ia0f9d188647d5943b2c8b3550c58d335c36b6424

7 years agoSPTSDKUX-1992: fixed checkbox rendering in UIHV
Vladislav Eliseev [Fri, 9 Sep 2016 12:56:39 +0000 (15:56 +0300)]
SPTSDKUX-1992: fixed checkbox rendering in UIHV

* before checkbox label wasn't fully shown
  because of parent didn't give enough space
* now DACheckBox can compute size more presicely

Change-Id: I369de0e4caeab8aac785057811394a1b73440583

7 years ago[SPTSDKUX-1986] Resolve issue at source view
jaeyong lee [Tue, 6 Sep 2016 02:13:06 +0000 (11:13 +0900)]
[SPTSDKUX-1986] Resolve issue at source view

Source view popup does not dispose when focus out.
Remove that call removeFilter(SWT.FocusOut) when dispose the popup

Change-Id: If8919f4cc9cbbd7a416f407d4af10a5824919476

7 years ago[SPTSDKUX-1977] Marker can not move after trace end time
jaeyong lee [Mon, 5 Sep 2016 09:18:13 +0000 (18:18 +0900)]
[SPTSDKUX-1977] Marker can not move after trace end time

Change-Id: Ifa2e2afe48a89e822508af270290287549a85eed

7 years ago[SRADA-1095] Fix application list building fail for an empty package.
Gihun Chang [Thu, 1 Sep 2016 09:18:56 +0000 (18:18 +0900)]
[SRADA-1095] Fix application list building fail for an empty package.

* If a pakcage dosen't have any UI or SVC application inside the package
DA is failed to create application reset. Need a defence code for it.

* This patch is for Platform Dynamic Analzyer that lists whole apps on the
target.

Change-Id: Ifdcfb2b0c7088ea67b65c91842cdbdeded8a81dc

7 years ago[SRADA-996][SPTSDKUX-1978] Enable UI event dialog
jaeyong lee [Tue, 30 Aug 2016 07:13:32 +0000 (16:13 +0900)]
[SRADA-996][SPTSDKUX-1978] Enable UI event dialog

 * Add detail field
 * change column index
 * without double click listener (UX is not desided yet)

Change-Id: I7b14f6e461a28df5da5f71f32f4f5d7215a22ea9

7 years ago[SPTSDKUX-1988] Fix typo error at feature dialog
joon.c.baek [Mon, 5 Sep 2016 04:18:12 +0000 (13:18 +0900)]
[SPTSDKUX-1988] Fix typo error at feature dialog

Fix type error at feature dialog,
1. recv -> receive
2. Geasture -> Gesture
3. opration -> operation

Change-Id: Ifc4e880ed94f5df8a83e333e1e507f9fb39dceb3
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years agoSRADA-1042: Fixed FindBugs warnings from category CORRECTNESS
Dmitriy Nikiforov [Wed, 31 Aug 2016 09:29:55 +0000 (12:29 +0300)]
SRADA-1042: Fixed FindBugs warnings from category CORRECTNESS

Fixed bugs:
 1) VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED in MemoryDataManager
 2) RpC_REPEATED_CONDITIONAL_TEST in GLCommonStateDataMaker

The second warning was caused by duplicated value of different OpenGL API
string constants.

Change-Id: Ic8fef30157a6c07cac2ccaac7cfb1a3d05d5dee4

7 years ago[RELEASE] DA 2.3.14
Gihun Chang [Wed, 31 Aug 2016 03:36:05 +0000 (12:36 +0900)]
[RELEASE] DA 2.3.14

* Fix JIRA defects: SPTSDKUX-1951, SPTSDKUX-1938, SPTSDKUX-1932, SPTSDKUX-1887
* Change the title font of About Dialog Bold to Normal

Change-Id: I66b792b5af8968c369a7792e3e825f04c442aa55

7 years ago[SPTSDKUX-1951] Resolve issue about highlighting dlog table
jaeyong lee [Tue, 30 Aug 2016 05:36:26 +0000 (14:36 +0900)]
[SPTSDKUX-1951] Resolve issue about highlighting dlog table

Change-Id: I971e22320dcb6fcdc4dc8c6cc034c1d52235265d

7 years ago[HOTFIX] Fixed issue with launching CLI on Windows platform
Vladislav Eliseev [Mon, 29 Aug 2016 15:37:55 +0000 (18:37 +0300)]
[HOTFIX] Fixed issue with launching CLI on Windows platform

* Defect JIRA : SPTSDKUX-1887
* issue prevents CLI to launch tracing process on device
* solution is to make classpath separator OS-dependent

Change-Id: I15a71dafcd1a78cf7da427094196e7a2550d0f8b

7 years ago[SPTSDKUX-1938] Resolve issue that can't profile 2.3.1 wearable
jaeyong lee [Mon, 29 Aug 2016 07:20:53 +0000 (16:20 +0900)]
[SPTSDKUX-1938] Resolve issue that can't profile 2.3.1 wearable

* This issue is mainly cuased from "getting root permission" for
  Platform Dynamic Analyzer even though DA is running as normal mode.
* Change the permission logic to enable only when platform DA is set
  on setting file.
* Remove deprecated function.

Change-Id: I4aa562f31ea45ba4b262fdb97a2e02112111dfea

7 years ago[SRADA-1007] Update font for about dialog
jaeyong lee [Mon, 29 Aug 2016 02:45:30 +0000 (11:45 +0900)]
[SRADA-1007] Update font for about dialog

* Change bold title to normal

Change-Id: I76f5e1e972f64faeb2f366592de26cef6a7f527b

7 years ago[SPTSDKUX-1935] Resolve issues at navigate menu
jaeyong lee [Mon, 29 Aug 2016 02:42:49 +0000 (11:42 +0900)]
[SPTSDKUX-1935] Resolve issues at navigate menu

 * Enable move function (left, right, first, end)
 * Set true to latestTracemode when move end or key 'e' pushed

Change-Id: I2dd830867140accb30e20944edb1c631d9832394

7 years ago[RELEASE] 2.3.13
Gihun Chang [Fri, 26 Aug 2016 11:58:42 +0000 (20:58 +0900)]
[RELEASE] 2.3.13

* Update About dialog with the general UI guide.
* Fix marker line missing on "process" sub-chart of CPU Usage
* Fix navigation items on menu

Change-Id: Id6c88babfbd8beb2771708a970c3e00ef918e8a5

7 years ago[SPTSDKUX-1935] Resolve issue that search is not working at Warnings view
jaeyong lee [Fri, 26 Aug 2016 12:30:31 +0000 (21:30 +0900)]
[SPTSDKUX-1935] Resolve issue that search is not working at Warnings view

Change-Id: If7215dcc819cc0dc1f50bfe7a38e9e40694cb8e6

7 years ago[SPDSDKUX-1932] resolve issue at navigate menu
jaeyong lee [Fri, 26 Aug 2016 09:37:23 +0000 (18:37 +0900)]
[SPDSDKUX-1932] resolve issue at navigate menu

Change-Id: If37b79bcd8a98c5e95862c25d91e6ef471de5714

7 years ago[SRADA-1007] Update about dialog
jaeyong lee [Fri, 26 Aug 2016 02:23:56 +0000 (11:23 +0900)]
[SRADA-1007] Update about dialog

 * add icon at about dialog
 * resize font size, height of header area
 * change image resource of header area

Change-Id: I6e49401c08cde21a3b0a42eba3bdbbcfaa28c855

7 years ago[SRADA-1019] Add marker line at process chart
jaeyong lee [Fri, 12 Aug 2016 05:26:30 +0000 (14:26 +0900)]
[SRADA-1019] Add marker line at process chart

Change-Id: I42619b4fae7f8d9832eb4a035cc60aac1811d17a

7 years ago[RELEASE] DA 2.3.12
Gihun Chang [Tue, 23 Aug 2016 00:52:42 +0000 (09:52 +0900)]
[RELEASE] DA 2.3.12

* Fix DIBS build for ubuntu-32/64 platforms.
* Fix app search problem on Ubuntu dash.
* Fix chartboard UI errors and range analysis issue on File, Network, Thread pages

Change-Id: I99bd77a299374c18ed879607b5b670419f5d1efb

7 years ago[SRADA-1009] Change naming rule of child file chart
jaeyong lee [Thu, 18 Aug 2016 08:10:34 +0000 (17:10 +0900)]
[SRADA-1009] Change naming rule of child file chart

Change-Id: I7b0482e856944a54fe0696a9e0ae9ddd12a03802

7 years ago[SRADA-1005] Redraw each chart when chart name cell clicked
jaeyong lee [Tue, 23 Aug 2016 00:10:51 +0000 (09:10 +0900)]
[SRADA-1005] Redraw each chart when chart name cell clicked

Change-Id: I7aa6d91184df7330d1440e80131cf627862642c3

7 years ago[SRADA-1060] Resolve issue that range inspection by marker not working
jaeyong lee [Mon, 22 Aug 2016 09:36:11 +0000 (18:36 +0900)]
[SRADA-1060] Resolve issue that range inspection by marker not working

this commit contains follwoing changes

 * resolve issue that range inspection by marker not working at thread, network, file page
 * modify architecture for range inspection
 * add a abstract method 'callUpdatePage' to DABaseComposite that enable overriding at several page class

Change-Id: I4eccb10d9b23dc65e6cdc23b567d1f07f99c97c7

7 years agoSRADA-1069: Amend commit for "Fix app search problem on Ubuntu dash."
Gihun Chang [Mon, 22 Aug 2016 23:56:49 +0000 (08:56 +0900)]
SRADA-1069: Amend commit for "Fix app search problem on Ubuntu dash."

Change-Id: If00d7951a42280cca10e8e49b3d9b954d3f89f95

7 years agoSRADA-1069: Fix app search problem on Ubuntu dash.
Gihun Chang [Thu, 18 Aug 2016 08:40:11 +0000 (17:40 +0900)]
SRADA-1069: Fix app search problem on Ubuntu dash.

When a user has installed Tizen SDK 2.4 or 3.0 and he newly installs a
Tizen Studio together, Ubuntu dash shows only Tizen 2.4 Dyanmic Analyzer
as a result of the search.

To separate this between 2.4/3.0 and studio, modify this.

Change-Id: I73bfa94b95779f3c2d66786fde04f7b86e745df7

7 years agoSRADA-1011: fix build in eclipse
Vladislav Eliseev [Fri, 19 Aug 2016 11:35:46 +0000 (14:35 +0300)]
SRADA-1011: fix build in eclipse

* classpath entry was not updated

Change-Id: I708720a12c6081c19628aa60fd4852f3e7538ade

7 years agoMISC: version up(2.3.11)
Yoonki Park [Wed, 17 Aug 2016 01:12:36 +0000 (10:12 +0900)]
MISC: version up(2.3.11)

- PRODUCT: Change IDE.app name to TizenStudio.app

Change-Id: I5117dab34ec816bd45b85954f3dfc448740102e1
Signed-off-by: Yoonki Park <yoonki.park@samsung.com>
7 years ago[SRADA-1018] Refactoring codes about range inspection
jaeyong lee [Fri, 12 Aug 2016 01:59:44 +0000 (10:59 +0900)]
[SRADA-1018] Refactoring codes about range inspection

Change-Id: Ifce33e539deca7b766fc2947a2d85f7443eede1c

7 years agoSRADA-1056: Fixed DIBS build for ubuntu-32/64 platforms
Dmitriy Nikiforov [Fri, 19 Aug 2016 19:10:17 +0000 (22:10 +0300)]
SRADA-1056: Fixed DIBS build for ubuntu-32/64 platforms

- Eclipse is downloaded by DIBS as build-dependency now.
- Added __unpack_eclipse function for unpacking eclipse for ubuntu platforms.
- Unpacking tool unpack200 was added into p2-deps.
- Missing bundles were added into p2-deps/plugins.
- Missing configuration for Eclipse target platform was added into
  p2-deps/configuration.

Change-Id: I2103c5a192a0b35960c08163ea70b051c49edf9b

7 years ago[HOTFIX] Fixed path to common-eplugin for macos-64 platform in DIBS script
Dmitriy Nikiforov [Thu, 18 Aug 2016 11:19:27 +0000 (14:19 +0300)]
[HOTFIX] Fixed path to common-eplugin for macos-64 platform in DIBS script

Change-Id: Id499ab22c861cd2f9eacac0f888f579e2c2bdab5

7 years agoRevert "SRADA-1011: repackaging script integrated in DIBS build"
Vladislav Eliseev [Fri, 19 Aug 2016 09:27:16 +0000 (18:27 +0900)]
Revert "SRADA-1011: repackaging script integrated in DIBS build"

This reverts commit 236f8154a4d86618411e38c2223f0271b00c7705.

Change-Id: I4528683701bee75db04a100ae690fb2b8623fed5

7 years agoSRADA-1011: repackaging script integrated in DIBS build
Vladislav Eliseev [Tue, 16 Aug 2016 17:23:09 +0000 (20:23 +0300)]
SRADA-1011: repackaging script integrated in DIBS build

* script will be launched after DA main product build
  and before DA CLI build.
* DA CLI will not longer unpack org.tizen.common
  to get it's libraries for build and runtime stages
* removed org.tizen.dynamicanalyzer transitive dependencies
  from DA CLI
* reduced overall product size

Change-Id: Ie8c321bf7684c04957f95619e1c25bc06c874eb1

7 years agoSRADA-1011: repack org.eclipse.cdt.debug.edc bundle
Vladislav Eliseev [Tue, 16 Aug 2016 17:17:52 +0000 (20:17 +0300)]
SRADA-1011: repack org.eclipse.cdt.debug.edc bundle

* removed libraries inside that bundle because of
  bundle is used as simple jar library (not OSGi-bundle)
* also updated bundle manifest as follows:
  ** new bundles to require:
    - org.eclipse.cdt.core,
    - org.eclipse.cdt.dsf
  ** removed all Bundle-Classpath entries

Change-Id: Ia58d772d34aa578587a70da733d844e2ee4b4e35

7 years agoSRADA-1011: upgrade org.eclipse.draw2d library
Vladislav Eliseev [Tue, 16 Aug 2016 17:12:11 +0000 (20:12 +0300)]
SRADA-1011: upgrade org.eclipse.draw2d library

* upgrade version 3.7.2 -> 3.10.1 from GEF
* previous library has bad version range for
  com.ibm.icu library in manifest

Change-Id: Ieb082441a49e5158723273dca52f58a8c3740edc

7 years agoSRADA-1011: added bundle repackaging script
Vladislav Eliseev [Thu, 11 Aug 2016 16:06:19 +0000 (19:06 +0300)]
SRADA-1011: added bundle repackaging script

* added script that repackages specified bundle
  to make them similar to simple jar library:
  - extract embedded libraries and wrap them into bundles
  - remove unused libraries and other embedded libraries
  - clear Bundle-Classpath header
  - update Require-Bundle header
  - remove Bundle-Activator from embedded bundles
  - remove signature files
* added bnd tool v. 3.3.0
  - build from sources https://github.com/bndtools/bnd

Change-Id: I96f344addd7edfcc922f047ceabfb400b55ce3bd

7 years ago[SRADA-1015] Change page name of NetworkIO
joon.c.baek [Tue, 16 Aug 2016 01:51:51 +0000 (10:51 +0900)]
[SRADA-1015] Change page name of NetworkIO

Change page name of Network IO from 'Network' to 'Timeline'

Change-Id: Iff3c344eb0961d32f1ae4e4ae0023958dbd928fa
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years agoSRADA-964: Removed Sync Analysis feature from Dynamic Analyzer
Dmitriy Nikiforov [Thu, 11 Aug 2016 12:07:23 +0000 (15:07 +0300)]
SRADA-964: Removed Sync Analysis feature from Dynamic Analyzer

Change-Id: Ib3e10473b2a2ccba7c447a846e2872ee7f71fdd3

7 years ago[SRADA-1010] Add marker when GLAPI table double clicked
jaeyong lee [Thu, 11 Aug 2016 08:38:18 +0000 (17:38 +0900)]
[SRADA-1010] Add marker when GLAPI table double clicked

Change-Id: Ibc6d1ee6db8fec8d54c00e90b7bf5297834a147c

7 years agoSRADA-1016: Fixed DIBS build for macos64.
Maria Guseva [Thu, 11 Aug 2016 14:49:05 +0000 (17:49 +0300)]
SRADA-1016: Fixed DIBS build for macos64.

In macos case the common-eplugin is unpacked in another directory:
IDE.app/Contents/Eclipse.

Change-Id: I7c8c23464738c11900b5bc7372dc9a931f6e2044

7 years agoSRADA-1016: [RELEASE] DA 2.3.10
Maria Guseva [Thu, 11 Aug 2016 11:40:20 +0000 (14:40 +0300)]
SRADA-1016: [RELEASE] DA 2.3.10

Change-Id: I5461a2514700d0d474b3ee665e2466d3b8a0dd1f

7 years agoSRADA-1014: Fixed unneeded division by cores number for CPU load values.
Maria Guseva [Thu, 11 Aug 2016 10:40:38 +0000 (13:40 +0300)]
SRADA-1014: Fixed unneeded division by cores number for CPU load values.

* SystemData.getTotalCPULoad() - fixed to return scaled CPU load in range 0-100.
* CPUChart.inputChartSeries() - fixed calculation of appLoadSeries data:
removed unneeded division by cores number.
* Comments added/updated to specify CPU load value range.

Change-Id: Ie939e1b14899a9215a25b7a1e99467894742dada

7 years agoSRADA-964: Removed Sync Analysis feature from DACLI
Dmitriy Nikiforov [Thu, 11 Aug 2016 11:26:19 +0000 (14:26 +0300)]
SRADA-964: Removed Sync Analysis feature from DACLI

Removed --sync/-Y=sync option and changed option for Thread Analysis to
-T/--thread-analysis.

Change-Id: Iefcc9a6acc02ace1b57fc9af390a2b861547f28c

7 years ago[SRADA-1010] Remove unused popupMenu at GLtable
jaeyong lee [Thu, 11 Aug 2016 07:53:15 +0000 (16:53 +0900)]
[SRADA-1010] Remove unused popupMenu at GLtable

Change-Id: Ib121b563083aa9d13f45828cc30227a52dba5eb0

7 years agoAdd marker when thread, network table double clicked
jaeyong lee [Thu, 11 Aug 2016 07:13:13 +0000 (16:13 +0900)]
Add marker when thread, network table double clicked

 * related JIRA issues : SRADA-1008, SRADA-1009

Change-Id: If9b28f197495dac765fa1229e79632863d23c08f

7 years ago[SRADA-1008] Remove gradation at network chart
jaeyong lee [Thu, 11 Aug 2016 06:29:25 +0000 (15:29 +0900)]
[SRADA-1008] Remove gradation at network chart

Change-Id: I6a857ef5ca3315bb05fa2937563d0f44b9454094

7 years agoAdjust background color of expand button at chart with chartNameCell
jaeyong lee [Thu, 11 Aug 2016 04:23:59 +0000 (13:23 +0900)]
Adjust background color of expand button at chart with chartNameCell

 * related JIRA issues : SRADA-1005, SRADA-1008, SRADA-1009, SRADA-1010

Change-Id: Id5d0a140a866fb058e5a4f8f114c5cf88ff2fd39

7 years agoRemove popupMenus about range analysis at table view
jaeyong lee [Thu, 11 Aug 2016 04:03:30 +0000 (13:03 +0900)]
Remove popupMenus about range analysis at table view

 * realted JiRA issues : SRADA-1005, SRADA-1008, SRADA-1009

Change-Id: Id75d15cdba5102baf01988b9108561c4517ee677

7 years ago[SRADA-1005] Remove grdation at selected chart item
jaeyong lee [Thu, 11 Aug 2016 02:37:18 +0000 (11:37 +0900)]
[SRADA-1005] Remove grdation at selected chart item

Change-Id: Ic93c3ab9faeee264e05d5e5010d444f7e491d6df

7 years ago[SRADA-1005] Some improvement at Thread page
jaeyong lee [Thu, 11 Aug 2016 01:58:21 +0000 (10:58 +0900)]
[SRADA-1005] Some improvement at Thread page

 * remove toggle swtich due to we'll merge  Thread feature & Sync Feature into one, Thread Analysis
 * align PID/TID in a line
 * insert marker line into 'mutex' sub-chart
 * create marker by double-clicking on Thread API list table

Change-Id: I08068d3eace4e8cc2b15c789e0ab62ab4adba65d

7 years agoSRADA-952, SRADA-954: Fixed data saving in PageDataManagers
Dmitriy Nikiforov [Wed, 10 Aug 2016 13:25:30 +0000 (16:25 +0300)]
SRADA-952, SRADA-954: Fixed data saving in PageDataManagers

Added closing and reestablishing connection to database before and after
actual saving in filesystem. This is needed to ensure that all queries are
executed before saving.

Change-Id: If3ab44163d5f34bb2a812caac57fcbc8c693ee7b
(cherry picked from commit 3c32339605f08b29996a1e26c53f1f864caa787c)

7 years ago[SRADA-1006] Update feature description in dialog
joon.c.baek [Wed, 10 Aug 2016 08:22:41 +0000 (17:22 +0900)]
[SRADA-1006] Update feature description in dialog

The feature description in feature dialog was updated as
http://suprem.sec.samsung.net/confluence/display/SRADAC/Feature+Definition

Change-Id: I535b9d4fa3bddd161e6d86953b84618a408869a9
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years ago[SRADA-1006] Remove 'Sync analysis' in feature dialog
joon.c.baek [Wed, 10 Aug 2016 02:12:29 +0000 (11:12 +0900)]
[SRADA-1006] Remove 'Sync analysis' in feature dialog

Remove 'Sync analysis' in feature dialog.
This feature is very similar with 'Thread analysis'

It removed on setting file only,
FlatFeature object or related codes is remained.

Change-Id: I8e7b1dc921344c3a9a9c72b4d8127c97495bbc3f
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years ago[SRADA-1001] Popup a yes/no dialog when user presses ctrl+n with tracing data
jaeyong lee [Wed, 10 Aug 2016 04:52:28 +0000 (13:52 +0900)]
[SRADA-1001] Popup a yes/no dialog when user presses ctrl+n with tracing data

Change-Id: Ifc7af1f443e2e8f4eccbfe51f9e7b776a702f983

7 years ago[SRADA-999] Remove deprecated funtionality on CallTrace popupmenu
jaeyong lee [Tue, 9 Aug 2016 08:16:00 +0000 (17:16 +0900)]
[SRADA-999] Remove deprecated funtionality on CallTrace popupmenu

Change-Id: I3d4a7fd37f7800c85e2e0a42d172016217f2b195

7 years ago[SRADA-997][SRADA-998] Improve Dlog table popupmenu
jaeyong lee [Tue, 9 Aug 2016 07:04:57 +0000 (16:04 +0900)]
[SRADA-997][SRADA-998] Improve Dlog table popupmenu

 * add new filtering rule (pid, tid)
 * fix 'Filter by selected level' fucntion
 * apply new flat style
 * code refactoring

Change-Id: I5a3b5c2ee5067735b3c8504a26b70f8791891edc

7 years ago[SRADA-1002] Adjust tooltip horizontal coordinate.
joon.c.baek [Tue, 9 Aug 2016 04:27:16 +0000 (13:27 +0900)]
[SRADA-1002] Adjust tooltip horizontal coordinate.

Actually, tooltip horizontal coordinate should be
adjust to fit each OS, Mac, Ubuntu, Win.

However, '-620' will acceptable for all OS.

Change-Id: I555dcd0a3d1019105e55af0065050ff9435b568a
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years ago[SRADA-1002] Remove debug logs in feature dialog
joon.c.baek [Tue, 9 Aug 2016 02:52:46 +0000 (11:52 +0900)]
[SRADA-1002] Remove debug logs in feature dialog

This log shows feature selection states for debugging,
FeatureList, SelectedFeatureList generate that messages.
However, No more need it.

And, Remove whitespace.

Change-Id: Iadc7690235dd36b9fee2c7176742677573a935fe
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years ago[SRADA-1002] Resolve pixel noise on Feature dialog
joon.c.baek [Tue, 9 Aug 2016 02:41:47 +0000 (11:41 +0900)]
[SRADA-1002] Resolve pixel noise on Feature dialog

When clicking target toggle button on feature dialog,
Some pixel noise shown around mouse cursor.
It's caused by feature list page's tooltip.
Tooltip created twice, then first tooltip's shadow is
remained beside cursor.

Remove duplicated creation of tooltip.

Change-Id: I2a2128edde09d1868fc2025830a16ba3bbeff12f
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
7 years agoSRADA-988 Tracing time now in microseconds in both GUI and CLI tracing.
p.privalov [Fri, 5 Aug 2016 09:18:42 +0000 (12:18 +0300)]
SRADA-988 Tracing time now in microseconds in both GUI and CLI tracing.

Changes:
 * TracingProcess now count tracing time in microseconds.
 * On open trace action in GUI Toolbar set time of TimerClock in milliseconds.
 * HumanReadableTimeFormat constructor(long) updated to count time correctly
   from microseconds.

Change-Id: I83e64514b73f8f65d0a4c5ba79db3f528505a397
(cherry picked from commit ad6bf771b0290a8e2de04b2ba92780f86239357c)

7 years ago[SRADA-987] Hide "Recodring" option on Preference dialog.
jaeyong lee [Mon, 8 Aug 2016 07:42:45 +0000 (16:42 +0900)]
[SRADA-987] Hide "Recodring" option on Preference dialog.

Change-Id: I8c81b127a11648374db24aac59b9d6eece7cb43c

7 years ago[SRADA-994] Remove double open search dialog
jaeyong lee [Fri, 5 Aug 2016 06:22:23 +0000 (15:22 +0900)]
[SRADA-994] Remove double open search dialog

Change-Id: Icd7ade8ab0d13dad37967f3eff0af6053fbf173f

7 years ago[SRADA-940] Expand the width of export button and resize font
jaeyong lee [Fri, 5 Aug 2016 05:49:50 +0000 (14:49 +0900)]
[SRADA-940] Expand the width of export button and resize font

Change-Id: If94dbbf1adb9a8fba57449a2b1f150879dcd696f

7 years ago[SRADA-991] Improve resize logic about weight between chart and table
jaeyong lee [Fri, 5 Aug 2016 01:17:33 +0000 (10:17 +0900)]
[SRADA-991] Improve resize logic about weight between chart and table

Page's weight will be changed dynamically for fixed table height when window is resized

Change-Id: Id3fdf82a58f7de883cb767afff781dff4cd5473a

7 years ago[SRADA-871][SRADA-928] Implement logic that adjust tab width
jaeyong lee [Thu, 4 Aug 2016 01:54:33 +0000 (10:54 +0900)]
[SRADA-871][SRADA-928] Implement logic that adjust tab width

Tab width will be adjusted at DA window size when resize DA and add report tab.
Max limit is 190 pixel and there is no min limit.

Change-Id: Ib7f25eca5ae3b2b4c626f1e8b713b6564223bb94

7 years agoSRADA-985: partly revert commit 6a304b
Vladislav Eliseev [Thu, 4 Aug 2016 13:28:18 +0000 (16:28 +0300)]
SRADA-985: partly revert commit 6a304b

Cleared feature.xml content.
Decreased final product size.

Change-Id: I4e43a4eaeb11508b4fee690ab7ec686fb4ddeded

7 years agoSRADA-906: fix broken UI by forcible relayout whole window
Vladislav Eliseev [Thu, 4 Aug 2016 16:12:27 +0000 (19:12 +0300)]
SRADA-906: fix broken UI by forcible relayout whole window

Change-Id: Iece49398eebc38ff281702decbd23f6826d72456

7 years agoSRADA-990: Partly revert "SRADA-930: Fixed DIBS build on sdk branch"
Maria Guseva [Wed, 3 Aug 2016 11:45:53 +0000 (14:45 +0300)]
SRADA-990: Partly revert "SRADA-930: Fixed DIBS build on sdk branch"

This partly reverts commit 5e208c0ce2144ebf827303d37bb126fc6bb75889.
The path to commmon-eplugin was hard-coded in this patch so not the most recent
version was used for DA build. Now it is changed back to auto-download by DIBS.

Change-Id: Idd7bfb0f2934002ded4d4d626cad62e98f88dee4
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
(cherry picked from commit 0388270d8616f72b6a8876ce3f0f1c13cf9eee97)

7 years agoSRADA-982 SelectedFlatFeatures cleared by CliInternals.selectFeatures().
p.privalov [Mon, 1 Aug 2016 11:08:10 +0000 (14:08 +0300)]
SRADA-982 SelectedFlatFeatures cleared by CliInternals.selectFeatures().

Implemented setSelectedFlatFeatures(Set<FlatFeature>) in TargetData.

Change-Id: I4463cdf613b8c85fd6f4a3d8c749b69bce5cb8d3

7 years agoSRADA-929: [RELEASE] DA 2.3.9
Maria Guseva [Fri, 29 Jul 2016 14:22:38 +0000 (17:22 +0300)]
SRADA-929: [RELEASE] DA 2.3.9

Change-Id: I3e719c3960bfc317befb92d37447619452b4b254
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
8 years ago[SRADA-938] Fixed FindBugs warnings appeared after previous patches.
Maria Guseva [Fri, 29 Jul 2016 11:48:40 +0000 (14:48 +0300)]
[SRADA-938] Fixed FindBugs warnings appeared after previous patches.

Fixed warnings:
GLChartMouseListener.java:55, URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
PopupRangeAnalysisMenuItemOnChartListener.java:32, BC_UNCONFIRMED_CAST_OF_RETURN_VALUE

Change-Id: Ic37be9bf4b1d6b5c334d5c591426c834dafd6f07
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
8 years ago[SRADA-938] Fix Range Analysis does not work.
jaeyong lee [Thu, 28 Jul 2016 07:57:49 +0000 (16:57 +0900)]
[SRADA-938] Fix Range Analysis does not work.

* PopupRangeAnalysisMenuItemOnChartListener - new class to implement the range
analysis listener for charts.

The new range analysis listeners added to charts: FileChartBoard, MemoryChart,
MemoryChartBoard, NetworkChartBoard, GLChart, SyncChartBoard, ThreadChartBoard
and TimelineChart.

Change-Id: I5a4d0e9afe62d2be7a9941435c764a6c809ca32a
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
8 years ago[SRADA-938][SRADA-939] Toolbar.getTime() now returns time in microseconds.
jaeyong lee [Thu, 28 Jul 2016 04:47:20 +0000 (13:47 +0900)]
[SRADA-938][SRADA-939] Toolbar.getTime() now returns time in microseconds.

This change is required to fix Range Analysis and LifeCyclebar
which are not working now.
The getTime() method was supposed to return microsecs, but was change
mistakenly for CLI. Now it is not used in CLI case.  So it could be reverted
without any additional changes.

Change-Id: Id470f3f1418fab00a3e136c93323ed9e406a7fe7
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
8 years agoSRADA-972,SRADA-971 StopCommand output contains ErrorCode.
p.privalov [Thu, 28 Jul 2016 16:43:05 +0000 (19:43 +0300)]
SRADA-972,SRADA-971 StopCommand output contains ErrorCode.

If error occured during application selection in Cli mode  TracingProcess
will be stopped and stop command output will contain error description.

Changes:
 * TracingProcess now able to send message to tracingProcessManager in case of
   error occured during startTrace() execution. New message type introduced.
 * CliInternals.selectApp now returns ErrorCode.
 * PackageInfo.getBinaryInformation() now returns ErrorCode.
 * Imlemented method getErrorCode(int) in ErrorCode - to get error code by it's
   number.
 * in stop command now checked case if TracingProcess is already stopped.

In case of wrong application "dacli devices -u" will not show specified device.

Change-Id: I73b58b411daa5064294eebf92f67a987841ef10e

8 years agoSRADA-827 Added tests for screenshot feature selection from CLI.
p.privalov [Tue, 26 Jul 2016 13:38:16 +0000 (16:38 +0300)]
SRADA-827 Added tests for screenshot feature selection from CLI.

 * Added tests for TracingArguments.isValid(..).
 * Added tests for TracingArgumentsParser.parse(..).
 * Added tests for TracingArguments.toStringArray(..).

 * Fixed problem: fail on non numeric format of screenshot period.

Change-Id: I034e41e70496a40e14f4f34e57c3fc98971449e5

8 years agoSRADA-965 Removed unneeded charts in da.
p.privalov [Tue, 26 Jul 2016 10:51:05 +0000 (13:51 +0300)]
SRADA-965 Removed unneeded charts in da.

Chart set in UILayoutDataManager should be rewritten according to features set
specified in CLI.

Change-Id: I3cd226a9cc6435873e70b44a12e14af51255086e

8 years agoSRADA-782 Implemented method to store time in pretty format.
p.privalov [Tue, 19 Jul 2016 13:24:07 +0000 (16:24 +0300)]
SRADA-782 Implemented method to store time in pretty format.

Duration renamed into HumanReadableTimeFormat.
Duration and TracingTime stored in HumanReadableTimeFormat.
HumanReadableTimeFormat implements Serializable.

Change-Id: I2fc0d789007ee75bef991d807353ec9985906b00

8 years agoSRADA-782 Tracing time value now is got directly from TracingProcessManager.
p.privalov [Mon, 11 Jul 2016 09:10:37 +0000 (12:10 +0300)]
SRADA-782 Tracing time value now is got directly from TracingProcessManager.

Now tracing time is got without unzip of zipped trace.
In TracingProcess unneeded comment deleted.

In TracingProcessManager and TracingProcess implemented communication threads.
To that moment there are 4 types of messages
 * STOP_TRACING message - is sent from TracingProcessManager to TracingProcess
   to stop it.
 * STOP_DONE message - TracingProcess sends this message to inform that it is
   stopped successfully.
 * REQUEST_TRACING_TIME message - TracingProcessManager requests for tracing
   time value.
 * INFO_TRACING_TIME message - message that contains tracing time value.
List of message types may be extended further.

Change-Id: I43c0f49414d13c141dbc8714ca5eb1a174e7ec34

8 years agoSRADA-827 Added Screenshots support from Cli
p.privalov [Tue, 5 Jul 2016 10:48:16 +0000 (13:48 +0300)]
SRADA-827 Added Screenshots support from Cli

 * Now it's possible to specify parameteres for screenshot period
   with -S or --screenshot <value>, where value is a positive integer number
   of seconds in period between screenshots. If empty or 0 then
   onSceneTransition option enables.
 * Added CliInternals.selectScreenshotFeature(..) that enables screenshot
   onSceneTransition or periodically.
 * In CliInternals.selectFeatures(..) simplified.

Change-Id: I3d3e514b30f3b09a073703554e7e2d0dda78bf24

8 years agoSRADA-884 Check for application existance added to startTracing().
p.privalov [Fri, 22 Jul 2016 09:22:23 +0000 (12:22 +0300)]
SRADA-884 Check for application existance added to startTracing().

Changes:
 * New method CliInternals.isApplicationInstalled(..).
 * added check to ProcessManager.startTracing(..) for application existance.
 * added test for uninstalled application to TracingProcessManagerTest.
   setup for other tests updated to pass check in
   ProcessManager.startTracing(..).

Change-Id: I70eb82129054c080c9b02e2cda2b7b0ac2d4a18f

8 years agoSRADA-782 StopCommand output format updated
p.privalov [Tue, 19 Jul 2016 13:26:56 +0000 (16:26 +0300)]
SRADA-782 StopCommand output format updated

 * "Duration" replaced with "Total time".
 * Deleted indentation before "Output ..".
 * Values alligned by left side in StopCommand output.

Change-Id: I3d7f114b276e4422d63e3c63014f1c4cc0d84697

8 years agoSRADA-929: [RELEASE] DA 2.3.8
Maria Guseva [Mon, 25 Jul 2016 09:18:12 +0000 (12:18 +0300)]
SRADA-929: [RELEASE] DA 2.3.8

Change-Id: I3d2a12ae3f0524ae7be24c4f8088e473ccd925a0
Signed-off-by: Maria Guseva <m.guseva@samsung.com>
8 years ago[HOXFIX] modify install script
jaeyong lee [Mon, 25 Jul 2016 08:19:49 +0000 (17:19 +0900)]
[HOXFIX] modify install script

Change-Id: I4b0a210a31e320484cb80aec9cbcbdb6a70a2956

8 years agoSRADA-929: [RELEASE] DA 2.3.7
Maria Guseva [Fri, 22 Jul 2016 12:07:18 +0000 (15:07 +0300)]
SRADA-929: [RELEASE] DA 2.3.7

Change-Id: Iae5628b9f4b88e992352a4d1f205a7fe340693df

8 years ago[SRADA-950] Fix the cut word in feature dialog.
joon.c.baek [Fri, 22 Jul 2016 07:33:29 +0000 (16:33 +0900)]
[SRADA-950] Fix the cut word in feature dialog.

Change-Id: I4aa175629d48e53e42572785d3447964e72c51d6
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>