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
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
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
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
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
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
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
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
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
dongkyu6 lee [Wed, 6 Jul 2016 00:22:36 +0000 (09:22 +0900)]
[SRADA-853] Apply new string
Change-Id: I22c906180523244e388e34e4a0483e57f45db654
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
dongkyu6 lee [Wed, 6 Jul 2016 01:56:45 +0000 (10:56 +0900)]
[SRADA-869] Add expand button on memory charts
Change-Id: I6111583e2bd4072cdfaacdaf28f2a0d0aa99dcd5
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
ggh1933.go [Tue, 5 Jul 2016 05:33:27 +0000 (14:33 +0900)]
[SRADA-880]FIX : abnormal menubar disabled.
- +forced disabled.
Change-Id: Ibe542eaf4231373a7d85ee479e35fa17b604fac4
ggh1933.go [Tue, 5 Jul 2016 04:48:49 +0000 (13:48 +0900)]
[SRADA-880]FIX : resolve unpack plugins conflict.
Change-Id: Ic1b4146172b74a61e01cafee8216d47f70027c29
jaeyong lee [Tue, 5 Jul 2016 03:51:05 +0000 (12:51 +0900)]
[HOTFIX] Resolve build error
Change-Id: Ic5633801813ccbcd12bcb31e50dadd4fcd3d16d4
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
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
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
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
Gihun Chang [Thu, 2 Jun 2016 05:24:38 +0000 (14:24 +0900)]
[FIX] Remove eclipse-indigo dependency
Change-Id: I3e66a748ceea4521bc6e6de7f619d041fcf57c1e
Gihun Chang [Thu, 2 Jun 2016 04:22:13 +0000 (13:22 +0900)]
[SRADA-680] temporarly disable the unit testing until success tc is prepared
Change-Id: I79c2bef6d16363d646099e28443f040e4ad7ab4a
Gihun Chang [Thu, 2 Jun 2016 04:06:54 +0000 (13:06 +0900)]
[SRADA-680] Move flatfeature file from workbench to workbench.product
Change-Id: I51f1440a756eb8645823502d9d22dab7bbadbbc5
Dmitriy Nikiforov [Wed, 18 May 2016 15:25:22 +0000 (18:25 +0300)]
SRADA-680: Maven copies 'config' folder to built product
'config' directory contains configuration files that may be used by built
product, so they should be copied to resulting archive.
Moved this directory from 'org.tizen.dynamicanalyzer.workbench' project to
'resources' directory in 'org.tizen.dynamicanalyzer.workbench.product' and
updated product's pom.xml to copy resources.
Change-Id: Idbff6b2548576a45c315e582947c6417b7fb2014
Dmitriy Nikiforov [Wed, 18 May 2016 15:13:07 +0000 (18:13 +0300)]
SRADA-680: Separated 'org.tizen.dynamicanalyzer.test' project
Moved test sources and libs from org.tizen.dynamicanalyzer to new
org.tizen.dynamicanalyzer.test project. It is necessary to compile tests
with Maven.
Also, moved resources for SettingDataManagerTest to 'resources' folder.
Change-Id: Ia43f0e67598b31fc5d3d781debe9d6ce06265211
Dmitriy Nikiforov [Wed, 18 May 2016 14:42:56 +0000 (17:42 +0300)]
SRADA-680: Separated 'org.tizen.dynamicanalyzer.common.test' project
Moved test sources and libs from org.tizen.dynamicanalyzer.common to new
org.tizen.dynamicanalyzer.common.test project. It is necessary to compile
tests with Maven.
Change-Id: Ia8e134a59a6e49671a3dbe3c63bd5cf6764c6b09
Dmitriy Nikiforov [Fri, 13 May 2016 18:17:56 +0000 (21:17 +0300)]
SRADA-680: Updated DIBS build script to use maven
Changes:
* updated some build paths
* removed no more necessary functions:
- __copy_build_sources
- __copy_dependency_plugins
- __make_ant_properties_files
- __copy_necessary_binaries
- __unzip_plugin_pack
* added backup of product information files in __set_product_about_info
* added restoration of product information files in __restore_product_info
* modified __clean_build_environment to remove only built project
* removed copying of 'config' directory from 'packaging_bfiles'
Change-Id: I1a3fde0816c73b7bed14ae607b8b88f5fda03925
Dmitriy Nikiforov [Tue, 12 Apr 2016 18:13:01 +0000 (21:13 +0300)]
SRADA-680: Port Dynamic Analyzer to Maven build
Maven uses Tycho plugins to build and test eclipse plugins, features and
products and tycho-pomless extension automaticaly generates configurations
for subprojects based on parent pom.
Target OS, WS and architecture can be set via 'envOs', 'envWs' and 'envArch'
properties.
Build example: mvn -DenvOs=linux -DenvWs=gtk -DenvArch=x86_64 package
Changes:
* dynamicanalyzer.product with its resources was moved to separate project
'org.tizen.dynamicanalyzer.workbench.product'
* non-exsitent dependecies were removed from 'build.properties' files
* maven build configurations (pom.xml) for parent and product projects were
created
* maven extensions configuration file (.mvn/extensions.xml) was created
* modified org.tizen.dynamicanalyzer.cli/build.xml to use new product
directory
Used Tycho version: 0.24.0
Required Maven version: 3.3.+
Required Java version: 1.7.0
Note: If you have Java 8 installed Maven will use it instead of 7 without
explicitly defined JAVA_HOME.
Change-Id: Iad884b0ab7916f2905d08e3bf241f3afa5f91764
Dmitriy Nikiforov [Thu, 12 May 2016 10:21:18 +0000 (13:21 +0300)]
SRADA-374: Changed Powermock and Mockito libraries to newer versions.
powermock-mockito-1.6.3 which was added in earlier commit to
org.tizen.dynamicanalyzer depends on mockito versions 1.10.8-1.10.X.
Also, updated mockito and powermock in org.tizen.dynamicanalyzer.common to
keep consistency.
Change-Id: I143a22c124f39e28e21bb72cc5f315975a1331b0
Dmitriy Nikiforov [Thu, 28 Apr 2016 17:45:56 +0000 (20:45 +0300)]
SRADA-374: Fixed errors in Dynamic Analyzer unit tests sources.
1) Added @Ignore annotation to AnalyzerUtil tests.
These test now all fail as tested functionality is not yet implemented so
they must be ignored.
2) Fixed org.tizen.dynamicanalyzer.ui.file.data tests
Changed hardcoded pathes to Tizen-SDK to current directory with following
deletion of all created files in cleanup. For that purpose Apache Commons IO
library was added to 'test/lib' (same version as in org.tizen.common).
Added calls of SqlConnectionManager.releaseResultSet() to FileApiDBTest.
Without it test hung on SqlConnectionManager.closeConnection().
3) Fixed FileChartBoardTest from org.tizen.dynamicanalyzer.ui.file
Injected FileDataMaker mock object into FileChartBoard object to avoid
NullPointerException.
Marked test with @Ignore as it does not test anything now.
4) Fixed ExecutionCallbackManagerTest
This test relied on tests execution order which was changed in later JUnit
versions.
Tests verified number of executions of methods from the same objects. This
resulted in doubled numbers in the second test.
5) Fixed FileDataMakerTest
Changed database path to relative to current directory with cleanup after
all tests.
Change-Id: I0ffb803f1e12fdd799aa7494a99335dd27d4970c
Gihun Chang [Thu, 2 Jun 2016 03:02:10 +0000 (12:02 +0900)]
[FIX] Remove test package build
Change-Id: I56def2ee2d06438571dd648d5c578060de2d6fa8
jaeyong lee [Mon, 4 Jul 2016 04:31:29 +0000 (13:31 +0900)]
[HOTFIX] Resolve compile error
Change-Id: Ib657c8673170326a5e2f3adf32e5b393f1f97318