sdk/tools/dynamic-analyzer.git
8 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

8 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

8 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)

8 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>
8 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>
8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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)

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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

8 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>
8 years ago[SRADA-927] Apply new DA icon
jaeyong lee [Fri, 22 Jul 2016 01:03:54 +0000 (10:03 +0900)]
[SRADA-927] Apply new DA icon

Change-Id: I16909ac5c06adeb0139ab41af3f7dd4c924ce4de

8 years agoSRADA-941 Short cut Ctrl-o and Ctrl-s now opens same dialogs as menu items.
p.privalov [Wed, 20 Jul 2016 08:26:22 +0000 (11:26 +0300)]
SRADA-941 Short cut Ctrl-o and Ctrl-s now opens same dialogs as menu items.

 * In MenuBar added public void showLoadDialog(), that encapsulates all
   trace load call activity.
 * showLoadDialog() calls from ShortCutKeyBindingHandler to avoid another
   implementation of same functionality.
 * showSaveDialog is public now and calls from ShortCutKeyBindingHandler too.
 * In MenuBar added public method isMenuItemEnabled(..).
 * Check for buttons being enabled added to ShortCutKeyBindingHandler to
   make Ctrl-s and Ctrl-o enabled only if Menu button is enabled.
Change-Id: I43b4b82b3fb56dae36e8ae6ec09c276c025fdc79

8 years agoSRADA-937: Removed outdated code for CLI based on old 'Feature' format.
Maria Guseva [Thu, 21 Jul 2016 14:22:08 +0000 (17:22 +0300)]
SRADA-937: Removed outdated code for CLI based on old 'Feature' format.

As far as CLI now supports 'FlatFeature' format this code is not needed
anymore.

Change-Id: Id1197858240f4d1e1241bf54231c34e9a2638f00

8 years agoSRADA-883: Reverted commit 0e1e292866d4eed3475725852759a531630c7484
Dmitriy Nikiforov [Wed, 20 Jul 2016 18:01:11 +0000 (21:01 +0300)]
SRADA-883: Reverted commit 0e1e292866d4eed3475725852759a531630c7484

Previous change could cause several issues with Eclipse IDE but it was not
critical to overall build. So it will be reverted for now.

Change-Id: I77cbaf5f9e5a291e890a6c3ca1e079f41056a358

8 years agoSRADA-391: Added FindBugs report generation without the rest of the site
Dmitriy Nikiforov [Fri, 27 May 2016 17:18:33 +0000 (20:18 +0300)]
SRADA-391: Added FindBugs report generation without the rest of the site

Now FindBugs reports can be generated without site generation with goal
'findbugs:findbugs' :

mvn findbugs:findbugs <build_parameters>

Resulting report will be placed in target directory:
  <project>/target/findbugsXml.xml

Nice GUI with various info on each warning for each project can be
accessed with 'findbugs:gui' goal.

Change-Id: I85aac58e383fcb23446b29a305ffd760e6ac9950

8 years agoSRADA-863 Removed save actions from MenuBar.showSaveDialog().
p.privalov [Wed, 20 Jul 2016 10:25:57 +0000 (13:25 +0300)]
SRADA-863 Removed save actions from MenuBar.showSaveDialog().

project.save() and DataManagerRegistry.saveData() called from
CommandAction.saveToZip(...) for both Cli and GUI.

Change-Id: I1954e2df74232b30432af5dc4838c7218e61dfaf

8 years agoSRADA-883: Repackaged org.tizen.dynamicanalyzer dependencies into bundles
Dmitriy Nikiforov [Thu, 23 Jun 2016 15:48:23 +0000 (18:48 +0300)]
SRADA-883: Repackaged org.tizen.dynamicanalyzer dependencies into bundles

Previous dependencies still remain in lib directory to enable Eclipse build
without any changes in environment, but will not be used or packaged in
org.tizen.dynamicanalyzer plugin during Maven build.

Change-Id: I690b5f0a12f859b310f0c9cf370daa90c8620761

8 years agoSRADA-921: Removed TemplatesCommand
Dmitriy Nikiforov [Wed, 20 Jul 2016 11:33:03 +0000 (14:33 +0300)]
SRADA-921: Removed TemplatesCommand

Change-Id: Ia351ae559ecb1cd321c81040f74c1fee86826d31

8 years agoSRADA-929: [RELEASE] DA 2.3.6: changelog updated
Maria Guseva [Wed, 20 Jul 2016 08:24:10 +0000 (11:24 +0300)]
SRADA-929: [RELEASE] DA 2.3.6: changelog updated

Change-Id: Ia4dca935e95fd8196a85972f18cd8a4f63b89343

8 years agoSRADA-930: Fixed DIBS build on sdk branch
Dmitriy Nikiforov [Wed, 20 Jul 2016 08:20:11 +0000 (17:20 +0900)]
SRADA-930: Fixed DIBS build on sdk branch

Now common-eplugin-rcp is downloaded manually by script from advux_main repo.

Change-Id: Idfdede890834d68c234954a25f32508e16c05905

8 years agoSRADA-929: [RELEASE] DA 2.3.6
Dmitriy Nikiforov [Tue, 19 Jul 2016 13:30:05 +0000 (16:30 +0300)]
SRADA-929: [RELEASE] DA 2.3.6

Change-Id: Ia1005306073b20937ff9a6c468e259eb62c098fd

8 years agoSRADA-890: Implemented local DA settings loading
Dmitriy Nikiforov [Fri, 24 Jun 2016 16:02:25 +0000 (19:02 +0300)]
SRADA-890: Implemented local DA settings loading

Needed to load configuration files from product instead of Tizen SDK.

Changes:
 * Implemented PathManager.getConfigDir() static method
 * Added PathConstants.TEMP_SETTINGS_FOLDER_NAME static value
 * Added Apache Commons-IO library to plugin's dependencies
 * Added 'temp' to .gitignore

Note: when running within Eclipse IDE DA will copy default setting files from
      product resources to 'temp' directory in DA sources.

Change-Id: I20b6a7d5f707aa05d72957ac42d1f0eb18cc68b4

8 years agoSRADA-863 GUI Save and GUI Load dialog use PathManager.DA_SAVE_PATH as default.
p.privalov [Tue, 19 Jul 2016 13:01:08 +0000 (16:01 +0300)]
SRADA-863 GUI Save and GUI Load dialog use PathManager.DA_SAVE_PATH as default.

Change-Id: I43545ee1e512b657b340285e694ac9418c3dc060

8 years agoSRADA-933: Fixed NLS warnings in DA
Dmitriy Nikiforov [Tue, 19 Jul 2016 13:25:28 +0000 (16:25 +0300)]
SRADA-933: Fixed NLS warnings in DA

* Added missing fields in AnalyzerLabels.java.
* Removed duplicated fields in ConfigureLabels.properties.
* Added missing fields in UserErrorWarningLabels.properties.

Change-Id: Idfa75f19de2ae0a1b8164b392020d83cb17b2245

8 years agoSRADA-909: Get rid of double args parsing in start command.
Maria Guseva [Wed, 13 Jul 2016 16:49:14 +0000 (19:49 +0300)]
SRADA-909: Get rid of double args parsing in start command.

* StartCommand.parseArguments - new private field which is to be initialized
only once in checkArgs() method.

Change-Id: I370636bf4ae9c34be9632f7c9a3f5db734805ea7

8 years agoSRADA-896: Updated help message for CLI 'start' command.
Maria Guseva [Tue, 19 Jul 2016 11:40:30 +0000 (14:40 +0300)]
SRADA-896: Updated help message for CLI 'start' command.

Updated general description of 'start' command and added more detailed
description for CLI tracing features options.

* StartCommand - help message in constructor updated to mention features
instead of templates.
* TracingFeatureArgument.addDefaultFeaturesDescription() - new private method,
invoked in static section for all enum values.
* TracingFeatureArgument.updateArgsDescription() - new private method,
invoked in addFeatureValue().
* Help.width - new private final field, set to 100 now.
* Help.printHelp() - changed to print options in order they were defined.

Change-Id: I7f109124320a67d4a83dedc9c7259b3db3ee9453

8 years agoSRADA-896: Fixed selection of 'all' features in CLI.
Maria Guseva [Tue, 19 Jul 2016 11:24:32 +0000 (14:24 +0300)]
SRADA-896: Fixed selection of 'all' features in CLI.

Now 'all' may be used together with other correct values
for CLI feature selection options with arguments.

Change-Id: Ieabb03da3146da1ab20f95b6c02a871681a2bb47

8 years agoSRADA-885: Implemented socket communication for CliManager and TracingProcesses.
p.privalov [Wed, 6 Jul 2016 17:18:09 +0000 (20:18 +0300)]
SRADA-885: Implemented socket communication for CliManager and TracingProcesses.

Added second 'port' argument in TracingProcessManager constructor and
TracingProcessManager.createTracingProcess().

Communication performed with regular unencrypted socket.
Now TracingProcessManager can request and get tracing time from TracingProcess
TracingProcessManager also can request TracingProcess to stop, thus we don't
need to close input stream of TracingProcess to stop it, so we do not need
special listener thread for this event.
ProcessManagerTest, TracingProcessManagerTest, TracingProcessCommunicationTest
also redesigned to meet api changes and to test new communication process.

Change-Id: I257f8dbd6ef5d6e6c54938b0d4d556f55b2b16b1

8 years ago[SRADA-893] Add F5 shortcut key and resolve several issues.
jaeyong lee [Wed, 13 Jul 2016 11:56:18 +0000 (20:56 +0900)]
[SRADA-893] Add F5 shortcut key and resolve several issues.
 - SRADA-924 : Ctrl+F Shortcut key not working.
 - Disable ctrl + n when trace is running
 - Reset the report menu items when user start a new setting.
 - Chagne some constants about keycodes to SWT enum

Change-Id: I023b8975167bf06ed5ab13f5f483d6bea864e1d4

8 years ago[SRADA-536] Adjust width to resolve cutted text
joon.c.baek [Tue, 19 Jul 2016 04:34:04 +0000 (13:34 +0900)]
[SRADA-536] Adjust width to resolve cutted text

Adjust FeatureList, SelectedFeatureList width
to resolve cutted text on SelectedFeature text.
For example,
"UI Hierarchy Analysis" was cutted.

Change-Id: Ib36a1c0a91ca6d04734aaf69d51cae434fbef9e9
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-829] Highlight searched line in calltrace
joon.c.baek [Mon, 27 Jun 2016 08:33:48 +0000 (17:33 +0900)]
[SRADA-829] Highlight searched line in calltrace

Highlight searched line in calltrace table

Known issue:
The table data that exist out of screen couldn't search.
I guess that table will generated partially when need it.

Change-Id: Iecd8a47aeff97bdab697a1386990ddf12f64ff98
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoSRADA-896: Added comments for TracingFeatureArgument enum.
Maria Guseva [Mon, 18 Jul 2016 16:25:32 +0000 (19:25 +0300)]
SRADA-896: Added comments for TracingFeatureArgument enum.

Change-Id: Iaae831247014e07d2a339bc9fd6785d8a2d750ee

8 years agoSRADA-896: Fixed TracingFeatureArgument constructor.
Maria Guseva [Tue, 19 Jul 2016 06:52:16 +0000 (09:52 +0300)]
SRADA-896: Fixed TracingFeatureArgument constructor.

It didn't set any default value and results to unit tests failure.

Change-Id: Iad23c3c40db6a1cb4e8d8fd6e8ee37955d33201e

8 years agoSRADA-920 Features provided by cli enabled in da.
p.privalov [Mon, 18 Jul 2016 12:40:29 +0000 (15:40 +0300)]
SRADA-920 Features provided by cli enabled in da.

Changes:
 * Required Pages and Charts added to trace with CliInternals.selectFeatures().
 * InTracingArguments featuresList replaced with featuresSet,
   method getFeaturesList(...) replaced with getFeatures(...)
 * Implemented tests for TracingFeatureArguments, containing few possible
   combinations of selected features.
 * Implemented tests for TracingArguments.isValid for different combinations of
   specified features.

Change-Id: Ie4e3c847f5275c05b849def44a298790c5bc4032

8 years agoSRADA-921: Made features arguments required and removed templates
Dmitriy Nikiforov [Fri, 15 Jul 2016 18:08:39 +0000 (21:08 +0300)]
SRADA-921: Made features arguments required and removed templates

Changes:
  * TracingFeatureArgument.parseFeatureOptions now throws exception if it could
    not find any feature options in given command line.
  * Implemented TracingFeatureArgument.toStringArray() static method that
    converts given TracingArguments object to its ArrayList<String>
    representation.
  * Removed '-t' option.
  * Replaced CliInternals.selectTemplate with selectFeatureList method's stub.
  * Fixed influenced tests.

Note that tracing will be disabled until CliInternals.selectFeatureList is
implemented.

Change-Id: Ibbea76d3f11a08f2e4c242384ac753b62dec8e20

8 years agoSRADA-896: Added CLI options for features selection.
Maria Guseva [Wed, 13 Jul 2016 16:50:11 +0000 (19:50 +0300)]
SRADA-896: Added CLI options for features selection.

Introduced new TracingFeatureArgument class to represent CLI options
for selecting tracing features. Use new options in TracingArgumentsParser.
TODO: Screenshots feature is not fit to new class as it has optional integer
argument, so it should be processed separately.

Change-Id: Ifa2b15550ecf4d886b2c16aadc489aa2d9a88d52

8 years agoSRADA-896 Added field to save list of features in TracingArguments.
Maria Guseva [Tue, 12 Jul 2016 13:56:16 +0000 (16:56 +0300)]
SRADA-896 Added field to save list of features in TracingArguments.

Change-Id: Idd44fa5ae1604458585b791ea40f149099ba795a

8 years agoSRADA-896: Extracted PrimitiveFeature enumeration from FlatFeature.
Maria Guseva [Tue, 12 Jul 2016 17:02:54 +0000 (20:02 +0300)]
SRADA-896: Extracted PrimitiveFeature enumeration from FlatFeature.

New enumeration represents FlatFeatures without resources so it is fully
independent from GUI.

Change-Id: I4c5b6ef0ecdbca044d60a11282bab9d7ff7eead2

8 years agoSRADA-758: Added prepare_dependencies.sh - automatical p2 repo creation
Dmitriy Nikiforov [Wed, 29 Jun 2016 13:58:38 +0000 (16:58 +0300)]
SRADA-758: Added prepare_dependencies.sh - automatical p2 repo creation

Script usage:
$ ./prepare_dependencies.sh /path/to/eclipse /path/to/common-eplugin

Example for ubuntu build:
$ ./prepare_dependencies.sh \
    ~/temp/default/eclipse-pde_3.0.2_ubuntu-64/data/eclipse-pde/eclipse \
    ~/temp/default/ide

Also, updated build.linux to use this script.

Change-Id: Iadf7ec13fc0deba2b79bd709a625ab474fbc86eb

8 years agoSRADA-758: Removed Mars dependency from Maven build
Dmitriy Nikiforov [Thu, 23 Jun 2016 14:26:04 +0000 (17:26 +0300)]
SRADA-758: Removed Mars dependency from Maven build

Now all bundle dependencies will reside in local p2-repository repackaged if
necessary into osgi-bundles to avoid packaging them inside plugins.

Creation of local p2-site can be done with p2-maven-plugin: mvn p2:site
It also automatically repackages all mentioned dependencies into osgi-bundles.

Additional artifacts can be published with FeaturesAndBundlesPublisher
application with '-append' option which was added in build.linux script to
publish all Eclipse dependencies and common-eplugin.

Eclipse Mars will be downloaded from 'advux_main' repository no matter which
repository user has specified to pkg-build tool.

Change-Id: Ib2463b512e85ea74895b6efff96713e73b7cd520

8 years agoSRADA-908: Restored CPU_CHART_TITLE value changed after merge.
Maria Guseva [Thu, 14 Jul 2016 14:27:53 +0000 (17:27 +0300)]
SRADA-908: Restored CPU_CHART_TITLE value changed after merge.

It was changed in commit 6f56355356e400e522aefa2247791b509e5b26ef
on ui_e4_migration branch. As a result the CPU Usage chart is not working
anymore for both GUI and CLI tracing.

Change-Id: If83f905a1a8dd7fd91cc36145944a75d000c9074

8 years ago[FIX] Call Unified API, AnalyzerUtil.setPlatformSDK(), to set platform DA on GUI.
Gihun Chang [Tue, 12 Jul 2016 08:09:01 +0000 (17:09 +0900)]
[FIX] Call Unified API, AnalyzerUtil.setPlatformSDK(), to set platform DA on GUI.
+ Resolve merge conflict to http://suprem.sec.samsung.net/gerrit/#/c/81867/

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java

Change-Id: Ie5349dc04ea4b60d739738e0f5dbcd779e43ef4c

8 years agoMerge "SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_mer...
Maria Guseva [Thu, 14 Jul 2016 13:36:07 +0000 (22:36 +0900)]
Merge "SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'" into sdk_merge

8 years agoSRADA-756: Fixed DIBS multibuild error
Dmitriy Nikiforov [Wed, 13 Jul 2016 18:29:31 +0000 (21:29 +0300)]
SRADA-756: Fixed DIBS multibuild error

Changed Unicode-specific double quotes to escaped standard double quotes
in one of StartCommand's user messages.

Change-Id: I3dc102fe3beee56dc21eacab0540a44be86587ca
Signed-off-by: Dmitriy Nikiforov <d.nikiforov@partner.samsung.com>
8 years agoSRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'
jaeyong lee [Thu, 14 Jul 2016 06:25:45 +0000 (15:25 +0900)]
SRADA-908: Merge remote-tracking branch 'origin/ui_e4_migration' into 'sdk_merge'

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/UIAction.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/nl/UserErrorWarningLabels.properties
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/shortcut/ShortCutKeyBindingHandler.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/SettingDialog.java

Change-Id: I9c779c07cf946a97962e8c7c90e94a60cb626ac8

8 years agoSRADA-863: Fixed saving of page list in CLI mode.
Maria Guseva [Wed, 13 Jul 2016 12:38:30 +0000 (15:38 +0300)]
SRADA-863: Fixed saving of page list in CLI mode.

In CLI mode FlatFeatures are not supported yet. Thus page list must be defined
based on selected Features, not FlatFeatures as in GUI. Also restored
selecting template removed in previous commit.

Change-Id: I9ddcc663c00f68c8e7f997696a21ab0723a52a02

8 years agoSRADA-863 Cli saves in zip now. GUI save\load functions use default file path.
p.privalov [Tue, 5 Jul 2016 11:19:14 +0000 (14:19 +0300)]
SRADA-863 Cli saves in zip now. GUI save\load functions use default file path.

1) Cli saves trace to zip with standart name in standart save folder
 This trace is in same format as GUI trace, it can be opened in GUI.
2) Updated 'feature' configuration file in order to support chart lists.
3) GUI saves dialog and open dialog now opens at default location
tizen-sdk-data/dynamic-analyzer/save.
4) project.save() and DataManagerRegistry.saveData() activity moved to
CommandAction.saveToZip().

Change-Id: I2a3cdd965d25a6d30de977851da37c58004a8da4

8 years ago[SRADA-893] Add shortcut feature
jaeyong lee [Tue, 12 Jul 2016 06:43:51 +0000 (15:43 +0900)]
[SRADA-893] Add shortcut feature

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java

Change-Id: Ic0ec8a4c9e42e3646ec87a297df0287b31254d9d

8 years ago[FIX]Fix windows locked long time when Launching from IDE and Duplicated ToolBar...
ggh1933.go [Thu, 7 Jul 2016 02:39:50 +0000 (11:39 +0900)]
[FIX]Fix windows locked long time when Launching from IDE and Duplicated ToolBar updating skip.

Change-Id: If948b9bb5c033ec0325889d7d11942a2ff870533

8 years ago[SRADA-880]Fix : Add jdt.core plugin for debug in mars Eclipse
ggh1933.go [Wed, 6 Jul 2016 00:42:05 +0000 (09:42 +0900)]
[SRADA-880]Fix : Add jdt.core plugin for debug in mars Eclipse

Change-Id: I71edfc2bb24c14e2c8243b323da2f587c64f29c3

8 years agoSRADA-903: Removed '-c custom template' CLI option as not planned to be supported.
Maria Guseva [Tue, 12 Jul 2016 11:02:18 +0000 (14:02 +0300)]
SRADA-903: Removed '-c custom template' CLI option as not planned to be supported.

TracingArgumentsTest and TracingArgumentsParserTest updated correspondingly.
TracingArgumentsTest.isValid_ExclusiveOpts test removed as unrelevant anymore.

Change-Id: Iaa03813be3cee772564738b6925333272f42c910

8 years agoSRADA-903: Disabled '-i tracing duration' CLI option as not supported yet.
Maria Guseva [Tue, 12 Jul 2016 10:00:37 +0000 (13:00 +0300)]
SRADA-903: Disabled '-i tracing duration' CLI option as not supported yet.

TracingArgumentsTest and TracingArgumentsParserTest updated correspondingly.
InvalidDuration tests set as Ignore until option is added.

Change-Id: If80f8c174845c073796b18305c25fe211500f1cf

8 years agoSRADA-784: Added unit test for PageInfoRegistry.convertPageIDtoPageName().
Maria Guseva [Mon, 20 Jun 2016 07:44:54 +0000 (10:44 +0300)]
SRADA-784: Added unit test for PageInfoRegistry.convertPageIDtoPageName().

Change-Id: I0678731e8ef4c311a0dedbf1dfcabe42c0bcd2f3

8 years ago[HOTFIX] enable Platform DA
dongkyu6 lee [Tue, 12 Jul 2016 07:27:57 +0000 (16:27 +0900)]
[HOTFIX] enable Platform DA

 - enable string : Platform Dynamic Analyzer|Y (config/setting)

Change-Id: I3ff2b06d947b014ddb4c3ec4e4db1c33ea2999e9

8 years agoSRADA-848: Restore unit tests sources missed after merge commit.
Maria Guseva [Mon, 11 Jul 2016 16:14:14 +0000 (19:14 +0300)]
SRADA-848: Restore unit tests sources missed after merge commit.

Tests were unintentionally deleted with merge commit:
fdef1eee000746e9eccbe71a80bbf7501407cad0

Change-Id: I8a32bfe857d0ca552b087c94fc3cb57737e862bd

8 years ago[SRADA-801] Add dimension switch button at OpenGL, Thread page and change some image...
jaeyong lee [Tue, 5 Jul 2016 04:14:03 +0000 (13:14 +0900)]
[SRADA-801] Add dimension switch button at OpenGL, Thread page and change some image resources

Change-Id: I56c3acb0bb42229eb7ffe110374c94d27a8f5609

8 years agoSRADA-889: Unified the way to check if DA is in platform mode.
Maria Guseva [Thu, 7 Jul 2016 13:25:21 +0000 (16:25 +0300)]
SRADA-889: Unified the way to check if DA is in platform mode.

* AnalyzerUtil.setPlatformSDK() - new method extracted from AnalyzerPlugin.start()
* CliInternals - use AnalyzerUtil.setPlatformSDK() in static section after
UI mode is set.

Change-Id: Ib168a9051c2a7bdafabaf98a23f242af389fe5c5

8 years agoSRADA-680: Added missing 'flatfeature' configuration in DA tests
Dmitriy [Thu, 7 Jul 2016 17:35:23 +0000 (20:35 +0300)]
SRADA-680: Added missing 'flatfeature' configuration in DA tests

Also, fixed:
  * org.tizen.dynamicanalyzer classpath for Eclipse build
  * SettingDataManagerTest to work in CliMode

Change-Id: I623b4ba090f230304b292ee3967142f9bc4511c7

8 years agoSRADA-759: Removed unnecessary artifacts from Maven build
Dmitriy Nikiforov [Thu, 9 Jun 2016 14:20:57 +0000 (17:20 +0300)]
SRADA-759: Removed unnecessary artifacts from Maven build

Part of files is removed by Maven executing instructions from
dynamicanalyzer.p2.inf file. And other part that cannot be removed by Maven
is deleted by build.linux script in __cleanup function.

Change-Id: I093af51fa48948cb8fd1c920340ca949aff5aba1

8 years agoMerge "SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD...
Maria Guseva [Fri, 8 Jul 2016 13:50:41 +0000 (22:50 +0900)]
Merge "SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD" into sdk_merge

8 years agoSRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD
Dmitriy [Thu, 7 Jul 2016 12:18:17 +0000 (15:18 +0300)]
SRADA-848: Merge remote-tracking branch 'origin/ui_e4_migration' into HEAD

Change-Id: Id6da5e718b89f293fdfe45684740e1e37a433696

8 years ago[SRADA-854][SRADA-862] Add a Save popup window and adjust UX guide on DADialog
dongkyu6 lee [Tue, 5 Jul 2016 07:19:22 +0000 (16:19 +0900)]
[SRADA-854][SRADA-862] Add a Save popup window and adjust UX guide on DADialog

 - Refactoring DADialog
 - Change icon, size, color on DADialog
 - Add a dailog when there is unsaved data

Change-Id: Iec991ea9f26b00b921f80a7fcd5d8eac63e4081e

8 years ago[SRADA-853] Apply new string
dongkyu6 lee [Wed, 6 Jul 2016 00:22:36 +0000 (09:22 +0900)]
[SRADA-853] Apply new string

Change-Id: I22c906180523244e388e34e4a0483e57f45db654

8 years agoSRADA-782: Tracing time is calculated by TracingProcess.
p.privalov [Fri, 24 Jun 2016 13:41:21 +0000 (16:41 +0300)]
SRADA-782: Tracing time is calculated by TracingProcess.

Tracing time printed by StopCommand.
TimerClock now works with milliseconds.

Change-Id: I41cb26d7623a9a18887462ff571122dfaa211014

8 years ago[SRADA-869] Add expand button on memory charts
dongkyu6 lee [Wed, 6 Jul 2016 01:56:45 +0000 (10:56 +0900)]
[SRADA-869] Add expand button on memory charts

Change-Id: I6111583e2bd4072cdfaacdaf28f2a0d0aa99dcd5

8 years ago[SRADA-865]Fix : Dlog set range by Analysis clicked between markers, don't scroll...
ggh1933.go [Thu, 30 Jun 2016 07:44:07 +0000 (16:44 +0900)]
[SRADA-865]Fix : Dlog set range by Analysis clicked between markers, don't scroll move shortly.

 - Before, updateTable by super, make setting scroll to Selection Start time. so updated Scroll shortly.
 - fix : return loop when get Set Scroll index, duplicated logics delete.

Change-Id: I1e4dcc89e00bd516284f331b44aebdeb6275d6a7

8 years ago[SRADA-880]FIX : abnormal menubar disabled.
ggh1933.go [Tue, 5 Jul 2016 05:33:27 +0000 (14:33 +0900)]
[SRADA-880]FIX : abnormal menubar disabled.
 - +forced disabled.
Change-Id: Ibe542eaf4231373a7d85ee479e35fa17b604fac4

8 years ago[SRADA-880]FIX : resolve unpack plugins conflict.
ggh1933.go [Tue, 5 Jul 2016 04:48:49 +0000 (13:48 +0900)]
[SRADA-880]FIX : resolve unpack plugins conflict.

Change-Id: Ic1b4146172b74a61e01cafee8216d47f70027c29

8 years ago[HOTFIX] Resolve build error
jaeyong lee [Tue, 5 Jul 2016 03:51:05 +0000 (12:51 +0900)]
[HOTFIX] Resolve build error

Change-Id: Ic5633801813ccbcd12bcb31e50dadd4fcd3d16d4

8 years ago[SRADA-880] Merge MAVEN,RCP4 with Latest ui_e4_migration
ggh1933.go [Tue, 5 Jul 2016 02:00:07 +0000 (11:00 +0900)]
[SRADA-880] Merge MAVEN,RCP4 with Latest ui_e4_migration
 - FIX : macos build, don't reference old version

Change-Id: I74becbf8c6f60937ac2a8812600f9b0dada2989d

8 years agoMerge "Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge" into...
Maria Guseva [Mon, 4 Jul 2016 13:32:09 +0000 (22:32 +0900)]
Merge "Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge" into sdk_merge

8 years agoMerge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge
Gihun Chang [Fri, 1 Jul 2016 09:51:06 +0000 (18:51 +0900)]
Merge remote-tracking branch 'origin/ui_e4_migration' into sdk_merge

Change-Id: If6764c8f26c818d500744209261c8b0d95376b05

8 years agoSRADA-848: Fix StartTraceManager to work in CLI mode.
Maria Guseva [Thu, 30 Jun 2016 05:21:52 +0000 (08:21 +0300)]
SRADA-848: Fix StartTraceManager to work in CLI mode.

Issue occured after merge with ui_e4_migration branch.

Change-Id: Iad6cb81d83832c6bb3b8744199c2e11f57910a77