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
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
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
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
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
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
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
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>
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
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
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
Maria Guseva [Thu, 11 Aug 2016 11:40:20 +0000 (14:40 +0300)]
SRADA-1016: [RELEASE] DA 2.3.10
Change-Id: I5461a2514700d0d474b3ee665e2466d3b8a0dd1f
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
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
jaeyong lee [Thu, 11 Aug 2016 07:53:15 +0000 (16:53 +0900)]
[SRADA-1010] Remove unused popupMenu at GLtable
Change-Id: Ib121b563083aa9d13f45828cc30227a52dba5eb0
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
jaeyong lee [Thu, 11 Aug 2016 06:29:25 +0000 (15:29 +0900)]
[SRADA-1008] Remove gradation at network chart
Change-Id: I6a857ef5ca3315bb05fa2937563d0f44b9454094
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
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
jaeyong lee [Thu, 11 Aug 2016 02:37:18 +0000 (11:37 +0900)]
[SRADA-1005] Remove grdation at selected chart item
Change-Id: Ic93c3ab9faeee264e05d5e5010d444f7e491d6df
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
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)
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>
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>
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
jaeyong lee [Tue, 9 Aug 2016 08:16:00 +0000 (17:16 +0900)]
[SRADA-999] Remove deprecated funtionality on CallTrace popupmenu
Change-Id: I3d4a7fd37f7800c85e2e0a42d172016217f2b195
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
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>
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>
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>
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)
jaeyong lee [Mon, 8 Aug 2016 07:42:45 +0000 (16:42 +0900)]
[SRADA-987] Hide "Recodring" option on Preference dialog.
Change-Id: I8c81b127a11648374db24aac59b9d6eece7cb43c
jaeyong lee [Fri, 5 Aug 2016 06:22:23 +0000 (15:22 +0900)]
[SRADA-994] Remove double open search dialog
Change-Id: Icd7ade8ab0d13dad37967f3eff0af6053fbf173f
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
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
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
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
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
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)
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
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>
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>
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>
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>
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
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
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
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
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
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
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
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
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>
jaeyong lee [Mon, 25 Jul 2016 08:19:49 +0000 (17:19 +0900)]
[HOXFIX] modify install script
Change-Id: I4b0a210a31e320484cb80aec9cbcbdb6a70a2956
Maria Guseva [Fri, 22 Jul 2016 12:07:18 +0000 (15:07 +0300)]
SRADA-929: [RELEASE] DA 2.3.7
Change-Id: Iae5628b9f4b88e992352a4d1f205a7fe340693df
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>
jaeyong lee [Fri, 22 Jul 2016 01:03:54 +0000 (10:03 +0900)]
[SRADA-927] Apply new DA icon
Change-Id: I16909ac5c06adeb0139ab41af3f7dd4c924ce4de
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
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
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
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
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
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
Dmitriy Nikiforov [Wed, 20 Jul 2016 11:33:03 +0000 (14:33 +0300)]
SRADA-921: Removed TemplatesCommand
Change-Id: Ia351ae559ecb1cd321c81040f74c1fee86826d31
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
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
Dmitriy Nikiforov [Tue, 19 Jul 2016 13:30:05 +0000 (16:30 +0300)]
SRADA-929: [RELEASE] DA 2.3.6
Change-Id: Ia1005306073b20937ff9a6c468e259eb62c098fd
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
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
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
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
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
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
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
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
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>
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>
Maria Guseva [Mon, 18 Jul 2016 16:25:32 +0000 (19:25 +0300)]
SRADA-896: Added comments for TracingFeatureArgument enum.
Change-Id: Iaae831247014e07d2a339bc9fd6785d8a2d750ee
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
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
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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
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
Maria Guseva [Mon, 20 Jun 2016 07:44:54 +0000 (10:44 +0300)]
SRADA-784: Added unit test for PageInfoRegistry.convertPageIDtoPageName().
Change-Id: I0678731e8ef4c311a0dedbf1dfcabe42c0bcd2f3
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