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
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
ggh1933.go [Tue, 28 Jun 2016 06:20:50 +0000 (15:20 +0900)]
[SRADA-850]FIX : when new trace, report menu items reset.
- + when feature setting OK, ReportMenu items reset.
Change-Id: Ia1b7b1cf847937cbb71306c31a31e244f2a29582
Vladislav Eliseev [Tue, 21 Jun 2016 15:59:24 +0000 (18:59 +0300)]
SRADA-688: divide TimelineChartManager
* All tracing data create/get activity was moved
to the newly created TimelineDataManager, which
was created based on TimelineChartManager.
* Register TimelineDataManager in PageInfoRegistry for TimelinePage.
* Log parsing in LifecycleLogParser turned off in non-GUI mode.
* CleanChartManager only in GUI mode.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/info/screenshot/ScreenshotView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/TimelinePage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/common/TimelineChartManager.java
Change-Id: I92ad9b35f49a316b9a7490fb766d02e6459d644b
Vladislav Eliseev [Fri, 17 Jun 2016 13:43:00 +0000 (16:43 +0300)]
SRADA-688: removed CustomData charts and related functionality
These charts already deprecated and not supported
by latest SWAP and protocol versions and not planned to be.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/logparser/CustomLogParser.java
Change-Id: Idbeaf62a6a72fe600700c9b17eef025c7836a4f5
p.privalov [Tue, 21 Jun 2016 13:45:15 +0000 (16:45 +0300)]
SRADA-821: Added check for device existance in ProcessManager.
Added test for isDeviceExist() into ProcessManagerTest.
isDeviceExist implemented to CliInternals.
Initialization of DeviceManager now called automatically.
Change-Id: If433065094e971be8a2b9765ed834e12a7ffbb53
Vladislav Eliseev [Tue, 21 Jun 2016 15:58:43 +0000 (18:58 +0300)]
SRADA-101: remove unnecessary dot in debug message
Change-Id: I2e066a451c7c3a4252ec41a346c770e373cda99a
Maria Guseva [Sun, 19 Jun 2016 14:16:26 +0000 (17:16 +0300)]
SRADA-785: Register AppStartupDataManager in CLI mode
Change-Id: Ia5c38472750ff44e6dc83e4ce93eb58b0de964d1
Maria Guseva [Mon, 20 Jun 2016 11:14:37 +0000 (14:14 +0300)]
SRADA-815: Fixed GLDataManager to be initialized properly in CLI mode.
Also enlarged TRACING_PROCESS_STOP_TIMEOUT twice which is enough to stop
tracing for OpenGL template, measured on Tizen_2.4 mobile emulator.
Change-Id: Ic76ff5ae7e8a12603cf6e71277e00d8c528c46fe
Maria Guseva [Sun, 19 Jun 2016 15:09:40 +0000 (18:09 +0300)]
SRADA-784: Get rid of switch in PageInfoRegistry.convertPageIDtoPageName().
* PageInfo.pageID, .getPageID() - new field and corresponding getter.
* PageInfo - constructor changed to init pageID value.
* PageInfoRegistry.pagesMapByID - new field.
* PageInfoRegistry - static section changed to init pagesMapByID.
Change-Id: I10c77dc6d682449348c8c5fe5b898de30b5fc420
Maria Guseva [Thu, 16 Jun 2016 16:37:18 +0000 (19:37 +0300)]
SRADA-784: Save list of pages for trace collected in CLI.
For this CLIAction.getPageNames() has to be implemented properly as it is used
in Project.savePrimitive().
* CLIAction.getPageNames() - implemented.
* CLIAction.getCurrentTargetName() - new private method.
* CLIAction.setPageBySetting() - use new private method.
* UIAction.convertPageIDtoPageName() - removed from interface.
* PageInfoRegistry.convertPageIDtoPageName() - new method,
moved from GUIAction.convertPageIDtoPageName().
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/GUIAction.java
Change-Id: I43386c26c0981c0b9c4c989dd9c388148bcb32a9
Maria Guseva [Thu, 26 May 2016 08:13:47 +0000 (11:13 +0300)]
SRADA-216: Add dependency libraries for org.tizen.dynamicanalyzer.cli project.
Change-Id: Ie59d011fff7868c57dcf32d305f910535191dfd7
Maria Guseva [Thu, 9 Jun 2016 09:10:08 +0000 (12:10 +0300)]
SRADA-781: Create temp directory before start tracing in DA CLI.
* CliInternals.startTracing() - create temp directory firstly.
* PathManager.createDATempDir() - new static method extracted from
AnalyzerPlugin.start().
Change-Id: I36773eb44032a3f2fc819e1c7bc7fb7907993ef2
Maria Guseva [Wed, 8 Jun 2016 11:22:17 +0000 (14:22 +0300)]
SRADA-772: Fixed NullPointerException in PathManager.getTizenSdkInstallPath().
The exception occured in unit tests for CLI after changes applied
in previous commit. When SDK installation is not found the
InstallPathConfig.getSDKPath() returns null but it isn't checked properly
in PathManager.getTizenSdkInstallPath(). In that case it should also return
null.
Change-Id: Ic503d836318ad2f2bbd02d5df9eaa187d79c15ba
Maria Guseva [Tue, 7 Jun 2016 16:40:07 +0000 (19:40 +0300)]
SRADA-772: Implemented save trace functionality in DA CLI.
* CliInternals.saveTrace() - new method.
* StopCommand.processCommandInternal() - fixed to print correct output path.
* TracingProcessManager.createTracingProcess() - set output file name as an
argument for starting new tracing process.
* TracingProcess.saveTrace() - new method.
* TracingProcess.performAllTasks() - do saving trace and check its result
before return.
* Project.init() - extracted the filename construction to the separate
public static method constructSaveName() to be reusable in CLI.
* TracingProcessCommunicationTest.interruptCommunication() - test fixed to
stub saveTrace with true result.
Change-Id: I6e940ca97caf137bd74ca8efaf54904384a357c8
Maria Guseva [Tue, 7 Jun 2016 17:00:48 +0000 (20:00 +0300)]
SRADA-216: Wait for start tracing finished before process stop in DA CLI.
DA is not able to stop tracing correctly while DAState is in PREPARE_START.
Due to that the blocking until the preparation finished is needed in
TracingProcess.startTrace() before return.
* ProcessManager.TRACING_PROCESS_STOP_TIMEOUT - changed to 8sec, time measured
on Tizen_2.4 mobile emulator, enough to start tracing before process stop.
* ProcessManagerTest.BASE_TIMEOUT_MS - updated correspondingly to
TRACING_PROCESS_STOP_TIMEOUT value.
* TracingProcess.startTrace() - added blocking until tracing preparation
finished.
Change-Id: I7c176e0458999b85439edfa5e855c959f6fff66c
Maria Guseva [Tue, 7 Jun 2016 16:49:19 +0000 (19:49 +0300)]
SRADA-737: Added wait/notify on DAState for a preparation phase finished.
Now DAState notifies all waiters that are waiting for DAState to be changed
to INIT, RUNNING or DONE which means that a preparation phase is finished.
Change-Id: I79c78e8886538a82007764f73c76217bf9b23521
Maria Guseva [Fri, 27 May 2016 12:17:19 +0000 (15:17 +0300)]
SRADA-511: Fix incorrect remove of start rows in FileApiListTable.
Change-Id: I0dc97d42181c846ce663af515ec3fb9801d27de1
Vladislav Eliseev [Wed, 1 Jun 2016 16:26:45 +0000 (19:26 +0300)]
SRADA-214: implement TracingProcess#waitForCompletion method
Now TracingProcess uses DAState wait/notify mechanism
Change-Id: I7c836df674f8bfc7b5227105d92e62dc0d1922ea
Vladislav Eliseev [Tue, 7 Jun 2016 08:50:33 +0000 (11:50 +0300)]
SRADA-737: added wait/notify mechanism for DAState
Now DAState notifies all waiters that are waiting
for DAState.DONE state change.
Change-Id: I43d23468de62472650bf5fbeb77e80cf77d109eb
Vladislav Eliseev [Tue, 31 May 2016 13:58:05 +0000 (16:58 +0300)]
SRADA-736: fix synchronization issues in StopTraceManager
Now DAState will not be updated after stop trace request
until actual tracing process will not be completely finished.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java
Change-Id: I0b29fe7ed51781951edc0bd07ee71b8ffb79550e
Vladislav Eliseev [Wed, 18 May 2016 08:50:52 +0000 (11:50 +0300)]
SRADA-445: implemented devices -u command for tracing devices.
Added command option parser in DeviceCommand.
Added getCurrentlyTracingDevices() method in CliInternals.
Change-Id: I5e5fabcfd879a85ce35dc0948197d592c855a688
Vladislav Eliseev [Thu, 28 Apr 2016 17:46:32 +0000 (20:46 +0300)]
SRADA-445: moved TracingArgumentsParser#printHelp() in cli.utils.Help
Change-Id: Id25ecfdf7c4f3ccfe9efdb3d6c9cf2c61dc00604
Vladislav Eliseev [Tue, 31 May 2016 14:02:43 +0000 (17:02 +0300)]
SRADA-395: add sleep time in tests before assert
Unstable synchronization causes to fail some unit tests.
Change-Id: I02dd6fd35b5f4ef6a367c14da05944baf1802bc4
Vladislav Eliseev [Mon, 23 May 2016 18:45:57 +0000 (21:45 +0300)]
SRADA-395: fixed synchronization issue in TracingProcessManager#stopTracing()
Issue was caused by blocking for indefinite time in
synchronized TracingProcessManager's method by calling
blocking #waitForCompletion().
Change-Id: If88ebb5c848a6a595bf21dbb116fa94faa65e8ce
Vladislav Eliseev [Mon, 23 May 2016 18:21:23 +0000 (21:21 +0300)]
SRADA-395: added new unit test for TracingProcessManager
This test check situation when forceStopTracing is called
from one thread while another thread is blocked by
TracingProcessManager#stopTracing(long) call.
Change-Id: I4755a007ea271fdaf9d165a5df5910061defed89
Vladislav Eliseev [Mon, 30 May 2016 08:32:46 +0000 (11:32 +0300)]
SRADA-395: use AtomicInteger for atomic increment in tests
Before was used volatile integer which is non-threadsafe
for increment operation without extra lock.
Change-Id: I0679fdb12402271ad1643486f6064a5c8d559812
Vladislav Eliseev [Tue, 24 May 2016 15:03:30 +0000 (18:03 +0300)]
SRADA-395: added new unit tests for TracingProcessManager
These tests check situation when stopTracing and forceStopTracing
are called for process with finished=true in context.
Change-Id: I3226faa7b619c0d991a15dd80b7e89aea057144d
Maria Guseva [Thu, 26 May 2016 07:30:30 +0000 (10:30 +0300)]
SRADA-216: Create data managers before starting trace threads in CLI mode.
* CliInternals.startTracing() - invoke setUIElementsBySetting() before
start DA tracing threads.
* CLIAction.setUIElementsBySetting() - add creation of CallStackInserter().
* PageInfoRegistry - disable the InteractiveDataManager as not supported for CLI
and the TimelineChartManager with FIXME comment.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
Change-Id: I3766344edba3353a78da9070d2091a1f2b4a4ea4
Maria Guseva [Tue, 24 May 2016 13:24:34 +0000 (16:24 +0300)]
SRADA-216: Implemented CliInternal startTracing() and stopTracing().
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/CommandAction.java
Change-Id: Iac4150b9e17c93a56c59767627d55d1c9ba64630
Maria Guseva [Wed, 25 May 2016 08:41:03 +0000 (11:41 +0300)]
SRADA-216: TracingProcess.stopTrace() stub implementation added.
Change-Id: I105a7f6c211dbbf3a6da5694786aba7970585679
Maria Guseva [Tue, 24 May 2016 07:44:02 +0000 (10:44 +0300)]
SRADA-656: StopTraceManager.run() fixed to work in CLI mode.
Wraped UI-related parts with Global.isGUIMode() checks.
Also fixed ReplayManager.resetStopAlarm() the same way as it is called in
StopTraceManager.run().
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java
Change-Id: Ia9c6c73fe28b05bca4a8c9060ec478e26ab4f2e6
Maria Guseva [Mon, 20 Jun 2016 13:47:30 +0000 (16:47 +0300)]
SRADA-820: Applied refactoring done while merging dev_cli with upstream branch.
These changes were applied in commit
12367c4b485f96597fc038624634b6c73c86f053
Change-Id: I155c3d7be96ddc393df5050f1d26a10bc445e755
Maria Guseva [Sun, 22 May 2016 13:59:48 +0000 (16:59 +0300)]
SRADA-216: TracingProcess.startTrace() stub implementation added.
* CliInternals - set Logger to debug mode for now while on active
implementation stage.
* CliInternals.loadConnectedDevices(), .selectApp(), .selectTemplate() - new
helper methods.
* CliInternals.startTracing(), .stopTracing() -renamed to
startTracingProcess() and stopTracingProcess().
* CliInternals.startTracing() - new method. Setting of selected device,
application and template implemented.
Change-Id: I7730d04889b5c133642c2a5b2dc915060bdd1e73
Maria Guseva [Mon, 23 May 2016 11:32:37 +0000 (14:32 +0300)]
SRADA-629: Communicator40.serializeApplicationInst() fixed to work in CLI mode.
* Communicator40.addCheckpointsToInstList() - new private method extracted from
serializeApplicationInst().
* Communicator40.serializeApplicationInst() - call addCheckpointsToInstList() only
in GUI mode.
Change-Id: I497d7ad3253c171e3eefb2c8b1133eaadd9d3568
Maria Guseva [Sun, 22 May 2016 13:01:45 +0000 (16:01 +0300)]
SRADA-216: Extracted general functionality from Toolbar.onAppSelected() method.
Exctracted funtionality is not related to the Toolbar and is supposed to be
used in both CLI and GUI modes. The extracted methods are moved to PackageInfo
class as funtionality relates to processing of PackageInfo instances.
* PackageInfo.getProcessInformation(), .getBinaryInformation() - new methods.
Change-Id: I8ce9f33448679956226697bc669f7bc0ed4d045f
Maria Guseva [Fri, 20 May 2016 17:17:46 +0000 (20:17 +0300)]
SRADA-629: AnalyzerManager.clear() fixed to work in CLI mode.
This method is called from StartTraceManager.run().
Wraped UI-related part with Global.isGUIMode() check.
Change-Id: I6ab3a6a876c61d2a91ffe3d40ceabcc55597335f
Maria Guseva [Fri, 20 May 2016 17:12:49 +0000 (20:12 +0300)]
SRADA-629: CommonAction.clear() fixed to work in CLI mode.
This method is called from StartTraceManager.run().
* CommonAction.resetGUIElements() - new private method extracted from clear().
* CommonAction.clear - call resetGUIElements() only in GUI mode.
Change-Id: I821dc75e4c52160f235dce4e814b7177ad2a2971
Maria Guseva [Fri, 20 May 2016 17:02:07 +0000 (20:02 +0300)]
SRADA-629: StartTraceManager.run() fixed to work in CLI mode.
Wraped UI-related parts with Global.isGUIMode() checks.
Also added debug print in StartTraceManager.setStageComplete().
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StartTraceManager.java
Change-Id: Ie592d8874cc50cce64e42d0928d4c69795407f90
Maria Guseva [Fri, 20 May 2016 14:15:05 +0000 (17:15 +0300)]
SRADA-629: StartTraceManager constructor fixed to work in CLI mode.
* StartTraceManager.createProgressDialog() - new private method extracted
from constructor.
* StartTraceManager - call createProgressDialog() only in GUI mode.
* StartTraceManagerTest - new JUnit test for StartTraceManager class.
For now it has one test for constructor in CLI mode.
Change-Id: I2f2614a39b3b659667050fd5f9960801d7a5aaf2
Vladislav Eliseev [Tue, 24 May 2016 13:12:15 +0000 (16:12 +0300)]
SRADA-395: added unit test for ProcessManager#stopAll
Change-Id: Ifdc00663e93f26dae77678bd2f5156f4a54b3546
Vladislav Eliseev [Tue, 24 May 2016 13:11:35 +0000 (16:11 +0300)]
SRADA-395: added unit tests for ProcessManager#stopTracing
Change-Id: I57c8d32fd147f1f575e54b147dfc2491ee6a68d4
Vladislav Eliseev [Tue, 24 May 2016 08:26:25 +0000 (11:26 +0300)]
SRADA-583: fix ant junit task to fail in case of failure
Ant junit task returned zero exit code in case
of failure earlier. Now it still runs all tests
but returns non-zero exit code if any test was failed.
Change-Id: I086a6d98a091dfeadc1c70e73707146f75bca045
Maria Guseva [Wed, 18 May 2016 14:16:30 +0000 (17:16 +0300)]
SRADA-407: Use DataManagerRegistry.createDataManagers() in GUI mode.
Now data managers are registered separately from GUI objects creation.
* BaseView.compositePages() - register needed data managers for each succesfully
created page via DataManagerRegistry.createDataManagers().
* Removed data managers registration from corresponding DAPageComposite constructors.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/FilePage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/MemoryPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/network/NetworkPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/summary/SummaryPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/thread/ThreadPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/TimelinePage.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
Change-Id: Ib6d89309279878ff34a988a3fab3302b0ec25e3e
Maria Guseva [Mon, 16 May 2016 11:31:16 +0000 (14:31 +0300)]
SRADA-407: Introduce createDataManagers*() methods and use them for CLI.
Introduce new methods createDataManagers*() in DataManagerRegistry class and
use them for implementation of setUIElements* methods of CLIAction.
* DataManagerRegistry.createDataManagers(), .createDataManagersByTarget() - new
methods.
* CLIAction.setUIElements(), .setUIElementsBySetting(), .setPageBySetting() -
implemented.
Change-Id: I7cae4fdec33c4411d1dff825ce9e9e512f67ac41
Maria Guseva [Mon, 16 May 2016 13:16:05 +0000 (16:16 +0300)]
SRADA-407: Introduce method to get list of pages by given target and use it in BaseView.
The new static method PageInfoRegistry.getPageNamesByTarget() is extracted from
BaseView.createPagesByTarget() and is supposed to be used in both GUI and CLI
modes. Intoduced also new field for PageInfo in order to store if page should
be created by default.
* BaseView.createPagesByTarget() - use getPageNamesByTarget() method.
* PageInfo - new field isDefault, corresponding getter and constructor
added, comments for fields added.
* PageInfoRegistry - set Summary and Timeliene pages as default.
* PageInfoRegistry.defaultPages - new field to store set of default pages
names.
* PageInfoRegistry.getPageNamesByTarget() - new method.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
Change-Id: I6c8e2cda5b3d21b64212299041cecef8ea361a94
Maria Guseva [Tue, 17 May 2016 13:35:15 +0000 (16:35 +0300)]
SRADA-407: Check if data manager is already registered in DataManagerRegistry.
This is optimization of DataManagerRegistry.createDataManagers() method.
* PageDataManager.getName() - use new getClassName() method, so now
getSimpleName() of class is used instead of custom parsing of full class name.
* PageDataManager.getClassName() - new static helper method.
* PageInfoRegistry.getDataManagers() - renamed to getUnregisteredDataManagers(),
add one more argument, changed to check each of manager for given page if it is
already registered.
* DataManagerRegistry.createDataManagers() - use new method
getUnregisteredDataManagers().
Change-Id: I16682bc799b3ec929753d1c2fc8e75f31f4dd59b
Maria Guseva [Mon, 16 May 2016 18:15:54 +0000 (21:15 +0300)]
SRADA-407: Introduce method to register data managers independently from GUI.
* DataManagerRegistry.createDataManagers() - new method aimed to create and
register data managers by given page name.
* PageInfo.pageDataManagers, .addDataManager(), .getDataManagers() - new field
and methods to store set of data managers for given page.
* PageInfoRegistry - set data managers for each page in static section.
* PageInfoRegistry.getDataManagers(), .getDataManagerInstance() - new methods.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/MemoryPage.java
Change-Id: I3cdb67a031e181f7fbe0e39cfa4d4e92d5d88ba2
Maria Guseva [Fri, 6 May 2016 16:48:05 +0000 (19:48 +0300)]
SRADA-420: Introduce PageInfoRegistry to store list of pages and use it in BaseView.
* PageInfo - new class to store information for each page object.
* PageInfoRegistry - new class to register all available pages in ordered list
and to provide method for their creation by given name.
* BaseView.pageOrder - static field removed as unneeded anymore.
* BaseView.compositePages(Set<String>) - use PageInfoRegistry to get list of
ordered pages.
* BaseView.compositePages(List<String>) - use PageInfoRegistry to create
DAPageComposite objects by given page names.
TODO: Add unit test for BaseView.compositePages(List<String>).
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/BaseView.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/PageInfoRegistry.java
Change-Id: Ied674a159c417b68d72e31ba99660a450c4f8cf3
Maria Guseva [Wed, 29 Jun 2016 02:36:46 +0000 (05:36 +0300)]
SRADA-848: Fixed FlatFeature to work in CLI mode.
Moved all GUI-dependent initialization into separate setter method
setResources(). In case in CLI it does nothing.
Change-Id: I4bf390e4f7379ccc1e9680798f5266cdfd639cbe
Dmitriy Nikiforov [Tue, 28 Jun 2016 07:50:50 +0000 (10:50 +0300)]
SRADA-263: Updated build.linux and DACLI build.xml scripts for DIBS build
Change-Id: I242e3024ea00ee72db631db8918076ddc9e9f16b
dongkyu6 lee [Thu, 30 Jun 2016 05:49:07 +0000 (14:49 +0900)]
[RELEASE] DA 2.3.5
Change-Id: Ibe291ddf7328368793143d4ca6985b33c65ec80e
Maria Guseva [Tue, 28 Jun 2016 09:14:14 +0000 (12:14 +0300)]
SRADA-848: Merge branch 'dev_cli' into sdk_merge (2)
Merged with dev_cli changes before PageInfoRegistry introduced.
dev_cli HEAD commit:
a4adbd42cc61963b741cb48bd7145c44fc1d7099
Conflicts:
org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/CliFrontend.java
org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/CliInternals.java
org.tizen.dynamicanalyzer/.classpath
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/DeviceManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/IDECommunicator.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/handlers/GUIAction.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/hierarchy/tree/HierarchyTreeView.java
Change-Id: I4cd5eb9fc642d1e8ed13247a1b3d3b2ab025047e
Maria Guseva [Wed, 27 Apr 2016 15:21:04 +0000 (18:21 +0300)]
SRADA-406: Introduced new setUIElements() method in UIAction interface.
Use the new method where it's applicable instead of setPages()+setCharts()
methods invocations. Removed unneeded methods from UIAction interface.
The setPageBySetting() method is left in interface as it is called in
IDECommunicator.autoStartApplication() without following charts updating.
Fixed comments in UIAction and GUIAction classes.
* UIAction.setUIElements(), setUIElementsBySetting() - new methods.
* UIAction.setChartBySetting() - method removed.
* GUIAction.setPages(), setCharts(), setChartBySetting() - methods changed
to be private.
* OpenTraceHandler.execute() - call setUIElements() instead of
setPages()+setChart().
* SettingDialog.doApply(), WelcomeDialog.doApply()- call
setUIElementsBySetting() instead of setPagesBySetting()+setChartBySetting().
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/FlatFeatureDialog.java
Change-Id: I95a7d6cfed53c9b3b46a81c7b4d9afcd33020128
Maria Guseva [Tue, 26 Apr 2016 12:16:23 +0000 (15:16 +0300)]
SRADA-406: Test for UIActionHolder class.
Change-Id: I0d4c4b81f9bb58e2696b96c6339c7aeeea743157
Maria Guseva [Tue, 26 Apr 2016 12:11:50 +0000 (15:11 +0300)]
SRADA-406: Add harmcrest and powermock libraries into org.tizen.dynamicanalyzer.
Thay are supposed to be used in unit testing, in particularly for testing of
the UIActionHolder class.
Change-Id: I7e6088962d06c1c2eb4cd2e96db222c5b4f985c1
Maria Guseva [Mon, 25 Apr 2016 13:10:53 +0000 (16:10 +0300)]
SRADA-406: UIActionHolder.getUIAction() returns UIAction depending on UI mode.
* CLIAction - new class implementing UIAction interface, stubs for now.
Change-Id: I17a23700eae055979092a71c0967a6435e47a9d6
Maria Guseva [Mon, 25 Apr 2016 13:05:56 +0000 (16:05 +0300)]
SRADA-406: Extracted methods of GUIAction class to new interface.
* UIAction - new interface introduced.
The change is autogenerated via Eclipse refactoring.
Additionally added documentation comments.
Change-Id: I77974fd2fd327b2a230290ca5c8fc833ae9db9be
Maria Guseva [Fri, 22 Apr 2016 07:45:26 +0000 (10:45 +0300)]
SRADA-406: GUIAction class is not static anymore and is acessed via holder class.
* UIActionHolder - new class introduced.
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/DeviceManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/IDECommunicator.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/FlatFeatureDialog.java
Change-Id: I46f82f6cb21b62a1e08742e908e458d72fb36206
Maria Guseva [Fri, 22 Apr 2016 07:02:02 +0000 (10:02 +0300)]
SRADA-406: Renamed UIAction class to GUIAction
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/DeviceManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/IDECommunicator.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/control/StopTraceManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/hierarchy/tree/HierarchyTreeView.java
Updated:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/page/MenuBar.java
Change-Id: I87aef04dd424273d2780681dcc674783d115cc0b
Maria Guseva [Mon, 25 Apr 2016 11:14:09 +0000 (14:14 +0300)]
SRADA-421: Moved all DA initialization into CliInternals static section.
Logger and PlatformSDK are initialized in CliInternals static section now.
Change-Id: If4d00fba402c66a047246ae05203ccb83a2722c4
Maria Guseva [Fri, 22 Apr 2016 08:36:59 +0000 (11:36 +0300)]
SRADA-421: Store current UI mode as a field in DA Global class.
* UIMode - new enum class introduced.
* Global.getCurrentUIMode(), Global.setCurrentUIMode(),
Global.isGUIMode(), Global.isCLIMode() - new public methods added.
* CliInternals - set UI mode as CLI in static section
Change-Id: I9d4bf8a1ada9c0e4f276c6caf65ba40307d6ceec
Maria Guseva [Tue, 28 Jun 2016 05:40:18 +0000 (08:40 +0300)]
SRADA-848: Merge branch 'dev_cli' into sdk_merge (1)
Merged with dev_cli changes before DA re-design commits were applied.
dev_cli HEAD commit:
886559b071470128a56d94cefa33bf2deaca9988
Change-Id: Ic30dac859e48dad042c5e220e7e8f5efdbabb572
jaeyong lee [Tue, 28 Jun 2016 06:37:03 +0000 (15:37 +0900)]
[SRADA-831] Implement logic that disable modify weight of each pages when detail mode is off
Change-Id: I4c1c945e61c211aaffe03e9e129a6d8a4052765d
ggh1933.go [Tue, 28 Jun 2016 04:49:58 +0000 (13:49 +0900)]
[SRADA-846] Make Exceptional ClickEvent disabled on timeLineChart
- Abnormal clickEvent don't have "mouseDown" event.
- Disabled Abnormal Click make range or marking table or chart.
Change-Id: I780de3a4deee92cb95d4fee29bae58848bae8685
jaeyong lee [Tue, 28 Jun 2016 03:47:26 +0000 (12:47 +0900)]
[SRADA-809] Resolve Issue at WarningDetailView
Change-Id: I839f31e08a4abbf3c2bcdb5d2ba527f58fec2be1
jaeyong lee [Mon, 27 Jun 2016 06:56:32 +0000 (15:56 +0900)]
[SRADA-809] Select DlogView when focused table removed
Change-Id: Icfcf4d21216adc6a0e7bd73b724d4f6c7b400a8a
joon.c.baek [Thu, 23 Jun 2016 07:13:58 +0000 (16:13 +0900)]
[SRADA-824] Enhance usability for search dialog
Enhance usability for search dialog
- Textbox getting focus automatically after launch
- next/prev search available with ENTER/SHIFT+ENTER key combination
Change-Id: Iaaca19f608b4661ad3d57febb540d4d5ed22f7bf
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
ggh1933.go [Fri, 24 Jun 2016 01:20:11 +0000 (10:20 +0900)]
[SRADA-786]Fix : Click Analyze Range set "dlogselection" false, DlogTable Scroll Move to Selection start time.
- Dlogtable Scroll move to Selection start time
- If click Analyze Range, make dlog selection false for fix dlogtable selection update issue.
Change-Id: I741b0d82ee8c7f390798a270620a757f8b917385
joon.c.baek [Thu, 23 Jun 2016 06:47:36 +0000 (15:47 +0900)]
[SRADA-824] Support calltrace table for search
Support calltrace table for search,
DAWindowingTable get override method to searching well.
Change-Id: I2d7075e27d6476ff7bf7d143e7ccd2e9ac08e286
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
dongkyu6 lee [Thu, 23 Jun 2016 06:49:55 +0000 (15:49 +0900)]
[SRADA-767] Fixed a issue : changing toolbar status
- If user click "OK" button, status of toolbar should be changed to runable.
Change-Id: I813727f07eb6c70f39e9dfc55c1791d332538ae3
jaeyong lee [Thu, 23 Jun 2016 05:35:22 +0000 (14:35 +0900)]
[SRADA-675] Chage colors of popup menu
Change-Id: If46cf7bcad751ede304135479c016f82bd5a5a82
jaeyong lee [Thu, 23 Jun 2016 05:33:43 +0000 (14:33 +0900)]
[SRADA-810] Implement View - Detail function
Change-Id: I2b9f5bbb18be0a9ae830bd5f0f2991749c09d535
dongkyu6 lee [Wed, 22 Jun 2016 08:58:48 +0000 (17:58 +0900)]
[SRADA-452] Changed device information
Change-Id: Id5e382bb007eea771df17beb0b5e0d9c1227dbec
joon.c.baek [Wed, 22 Jun 2016 11:54:37 +0000 (20:54 +0900)]
[SRADA-824] Enable 'search' on menubar
Enable 'search' feature on menubar
Change-Id: I120fd5def3be4ab7a3092f571edb494b5d63a133
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
joon.c.baek [Wed, 22 Jun 2016 10:15:16 +0000 (19:15 +0900)]
[SRADA-824] Support searching to tables on each pages
Support searching dialog to all of tables
on each pages.
Known issues:
'Ctrl+f' doesn't work,
Right side tables doesn't supported,
Change-Id: I294c509a8d95475122eeab0489b88f7676a46f01
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
jaeyong lee [Tue, 21 Jun 2016 08:55:38 +0000 (17:55 +0900)]
[SRADA-811] Implement View - Report function
Change-Id: Id0aa6d267f604889edcaa4cd5d331121fe1c6a77
dongkyu6 lee [Tue, 21 Jun 2016 00:54:34 +0000 (09:54 +0900)]
[SRADA-600] Adjust changed ui guide
Change-Id: I7435a31133f125161fcfb86d1d40309e60aec086
joon.c.baek [Tue, 21 Jun 2016 08:18:15 +0000 (17:18 +0900)]
[SRADA-779] Apply dropdown icon, replace custom widget
Apply dropdown icon,
Replace DA Custom widget to SWT original widget,
Remove blue color at button outline,
Add listener to check button's label,
Adjust checkbox size to 18 from 14
(Ubuntu can not show checkbox well with size 14),
Change-Id: Iff5f9ccf85de8ddda66c7aed6ca4e0e0be6c8281
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
ggh1933.go [Wed, 22 Jun 2016 06:59:49 +0000 (15:59 +0900)]
[SRADA-786]FIX:When chart selected by Analyze range click, DlogTable selection updated too like callTraceTable
Change-Id: I3da7d061fe827d0f3fd05b9f7c303d10f48a186d
dongkyu6 lee [Mon, 20 Jun 2016 08:21:06 +0000 (17:21 +0900)]
[SRADA-767] Adjust line feed
Change-Id: Ic1c786d07ca405e10afc4352a5f86c300f375d04
ggh1933.go [Wed, 22 Jun 2016 03:50:14 +0000 (12:50 +0900)]
[SRADA-XXX] Add Complex Sample test App
- show chart and datas Thread, Memory, File, OpenGL page.
- make framedrop scenario by file read, malloc.
- it's Based DA Open GL test app
Change-Id: Ic689c2605a11c98261593d15df0f92b3755c5bfb