sdk/tools/dynamic-analyzer.git
8 years agoSRADA-737: Added wait/notify on DAState for a preparation phase finished.
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

8 years agoSRADA-511: Fix incorrect remove of start rows in FileApiListTable.
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

8 years agoSRADA-214: implement TracingProcess#waitForCompletion method
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

8 years agoSRADA-737: added wait/notify mechanism for DAState
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

8 years agoSRADA-736: fix synchronization issues in StopTraceManager
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

8 years agoSRADA-445: implemented devices -u command for tracing devices.
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

8 years agoSRADA-445: moved TracingArgumentsParser#printHelp() in cli.utils.Help
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

8 years agoSRADA-395: add sleep time in tests before assert
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

8 years agoSRADA-395: fixed synchronization issue in TracingProcessManager#stopTracing()
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

8 years agoSRADA-395: added new unit test for TracingProcessManager
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

8 years agoSRADA-395: use AtomicInteger for atomic increment in tests
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

8 years agoSRADA-395: added new unit tests for TracingProcessManager
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

8 years agoSRADA-216: Create data managers before starting trace threads in CLI mode.
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

8 years agoSRADA-216: Implemented CliInternal startTracing() and stopTracing().
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

8 years agoSRADA-216: TracingProcess.stopTrace() stub implementation added.
Maria Guseva [Wed, 25 May 2016 08:41:03 +0000 (11:41 +0300)]
SRADA-216: TracingProcess.stopTrace() stub implementation added.

Change-Id: I105a7f6c211dbbf3a6da5694786aba7970585679

8 years agoSRADA-656: StopTraceManager.run() fixed to work in CLI mode.
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

8 years agoSRADA-820: Applied refactoring done while merging dev_cli with upstream branch.
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

8 years agoSRADA-216: TracingProcess.startTrace() stub implementation added.
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

8 years agoSRADA-629: Communicator40.serializeApplicationInst() fixed to work in CLI mode.
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

8 years agoSRADA-216: Extracted general functionality from Toolbar.onAppSelected() method.
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

8 years agoSRADA-629: AnalyzerManager.clear() fixed to work in CLI mode.
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

8 years agoSRADA-629: CommonAction.clear() fixed to work in CLI mode.
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

8 years agoSRADA-629: StartTraceManager.run() fixed to work in CLI mode.
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

8 years agoSRADA-629: StartTraceManager constructor fixed to work in CLI mode.
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

8 years agoSRADA-395: added unit test for ProcessManager#stopAll
Vladislav Eliseev [Tue, 24 May 2016 13:12:15 +0000 (16:12 +0300)]
SRADA-395: added unit test for ProcessManager#stopAll

Change-Id: Ifdc00663e93f26dae77678bd2f5156f4a54b3546

8 years agoSRADA-395: added unit tests for ProcessManager#stopTracing
Vladislav Eliseev [Tue, 24 May 2016 13:11:35 +0000 (16:11 +0300)]
SRADA-395: added unit tests for ProcessManager#stopTracing

Change-Id: I57c8d32fd147f1f575e54b147dfc2491ee6a68d4

8 years agoSRADA-583: fix ant junit task to fail in case of failure
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

8 years agoSRADA-407: Use DataManagerRegistry.createDataManagers() in GUI mode.
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

8 years agoSRADA-407: Introduce createDataManagers*() methods and use them for CLI.
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

8 years agoSRADA-407: Introduce method to get list of pages by given target and use it in BaseView.
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

8 years agoSRADA-407: Check if data manager is already registered in DataManagerRegistry.
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

8 years agoSRADA-407: Introduce method to register data managers independently from GUI.
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

8 years agoSRADA-420: Introduce PageInfoRegistry to store list of pages and use it in BaseView.
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

8 years agoSRADA-848: Fixed FlatFeature to work in CLI mode.
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

8 years agoSRADA-263: Updated build.linux and DACLI build.xml scripts for DIBS build
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

8 years agoSRADA-848: Merge branch 'dev_cli' into sdk_merge (2)
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

8 years agoSRADA-406: Introduced new setUIElements() method in UIAction interface.
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

8 years agoSRADA-406: Test for UIActionHolder class.
Maria Guseva [Tue, 26 Apr 2016 12:16:23 +0000 (15:16 +0300)]
SRADA-406: Test for UIActionHolder class.

Change-Id: I0d4c4b81f9bb58e2696b96c6339c7aeeea743157

8 years agoSRADA-406: Add harmcrest and powermock libraries into org.tizen.dynamicanalyzer.
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

8 years agoSRADA-406: UIActionHolder.getUIAction() returns UIAction depending on UI mode.
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

8 years agoSRADA-406: Extracted methods of GUIAction class to new interface.
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

8 years agoSRADA-406: GUIAction class is not static anymore and is acessed via holder class.
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

8 years agoSRADA-406: Renamed UIAction class to GUIAction
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

8 years agoSRADA-421: Moved all DA initialization into CliInternals static section.
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

8 years agoSRADA-421: Store current UI mode as a field in DA Global class.
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

8 years agoSRADA-848: Merge branch 'dev_cli' into sdk_merge (1)
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

8 years ago[SRADA-809] Resolve Issue at WarningDetailView
jaeyong lee [Tue, 28 Jun 2016 03:47:26 +0000 (12:47 +0900)]
[SRADA-809] Resolve Issue at WarningDetailView

Change-Id: I839f31e08a4abbf3c2bcdb5d2ba527f58fec2be1

8 years ago[SRADA-809] Select DlogView when focused table removed
jaeyong lee [Mon, 27 Jun 2016 06:56:32 +0000 (15:56 +0900)]
[SRADA-809] Select DlogView when focused table removed

Change-Id: Icfcf4d21216adc6a0e7bd73b724d4f6c7b400a8a

8 years ago[SRADA-824] Enhance usability for search dialog
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>
8 years ago[SRADA-786]Fix : Click Analyze Range set "dlogselection" false, DlogTable Scroll...
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

8 years ago[SRADA-824] Support calltrace table for search
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>
8 years ago[SRADA-767] Fixed a issue : changing toolbar status
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

8 years ago[SRADA-675] Chage colors of popup menu
jaeyong lee [Thu, 23 Jun 2016 05:35:22 +0000 (14:35 +0900)]
[SRADA-675] Chage colors of popup menu

Change-Id: If46cf7bcad751ede304135479c016f82bd5a5a82

8 years ago[SRADA-810] Implement View - Detail function
jaeyong lee [Thu, 23 Jun 2016 05:33:43 +0000 (14:33 +0900)]
[SRADA-810] Implement View - Detail function

Change-Id: I2b9f5bbb18be0a9ae830bd5f0f2991749c09d535

8 years ago[SRADA-452] Changed device information
dongkyu6 lee [Wed, 22 Jun 2016 08:58:48 +0000 (17:58 +0900)]
[SRADA-452] Changed device information

Change-Id: Id5e382bb007eea771df17beb0b5e0d9c1227dbec

8 years ago[SRADA-824] Enable 'search' on menubar
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>
8 years ago[SRADA-824] Support searching to tables on each pages
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>
8 years ago[SRADA-811] Implement View - Report function
jaeyong lee [Tue, 21 Jun 2016 08:55:38 +0000 (17:55 +0900)]
[SRADA-811] Implement View - Report function

Change-Id: Id0aa6d267f604889edcaa4cd5d331121fe1c6a77

8 years ago[SRADA-600] Adjust changed ui guide
dongkyu6 lee [Tue, 21 Jun 2016 00:54:34 +0000 (09:54 +0900)]
[SRADA-600] Adjust changed ui guide

Change-Id: I7435a31133f125161fcfb86d1d40309e60aec086

8 years ago[SRADA-779] Apply dropdown icon, replace custom widget
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>
8 years ago[SRADA-786]FIX:When chart selected by Analyze range click, DlogTable selection update...
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

8 years ago[SRADA-767] Adjust line feed
dongkyu6 lee [Mon, 20 Jun 2016 08:21:06 +0000 (17:21 +0900)]
[SRADA-767] Adjust line feed

Change-Id: Ic1c786d07ca405e10afc4352a5f86c300f375d04

8 years ago[SRADA-XXX] Add Complex Sample test App
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

8 years ago[SRADA-796] Migrate summary page to timeline page
jaeyong lee [Mon, 20 Jun 2016 08:06:54 +0000 (17:06 +0900)]
[SRADA-796] Migrate summary page to timeline page

Change-Id: I0b149d05e4584d04eeed0e03a4b135938608c0a7

8 years ago[SRADA-786] DlogTable jump to selection time and bug fixed
ggh1933.go [Mon, 20 Jun 2016 07:45:37 +0000 (16:45 +0900)]
[SRADA-786] DlogTable jump to selection time and bug fixed

 - DlogTable set visible middle time by startRangeTime then  updateview.
 - add Dlog selection flag in ToolBar for checking where set dragTime
 - if DlogTable set dragtime by dragging cell on DlogTable, don't update cell's background.

Change-Id: Ida75e5f73f92e456e94e5700cd946d113b864564

8 years ago[SRADA-799] Resolve some issues
jaeyong lee [Mon, 20 Jun 2016 02:43:46 +0000 (11:43 +0900)]
[SRADA-799] Resolve some issues
- Apply new chart icon
- Adjust marker, marker line
- Resizing child chart name font

Change-Id: Ib8b435d5efe7f422f9da575671895f779d8f372e

8 years ago[SRADA-786] modified Dlog range selection, Calltrace view set drag time by ToolBar...
ggh1933.go [Mon, 20 Jun 2016 01:01:28 +0000 (10:01 +0900)]
[SRADA-786] modified Dlog range selection, Calltrace view set drag time by ToolBar INSTANCE

 - FIX : change view from calltrace to dlog, Dlog table selection is not changed.
 - if changed drag time by calltrace or chart, reset all selection and redraw from new start to new end drag time.
 - calltrace set drag start, end time for sending changed time to dlog.
 - FIX : if calltrace update table by DAWindowingTableComposite, don't apply drag start and end time,
 - so, Add getter drag time from ToolBar in updateTable.

Change-Id: I094969b4f63880f01a51751c19fe012e0c652a4d

8 years ago[SRADA-779] Support search for dlog, calltrace table
joon.c.baek [Thu, 16 Jun 2016 08:45:21 +0000 (17:45 +0900)]
[SRADA-779] Support search for dlog, calltrace table

Support search dialog for dlog table,
calltrace table, UIHV properties table.

Change-Id: Icf16ec7ae923d7b5642a22d700b26f4a9025a9eb
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-675] Add marker_nor image
jaeyong lee [Fri, 17 Jun 2016 06:56:27 +0000 (15:56 +0900)]
[SRADA-675] Add marker_nor image

Change-Id: I0da6ade7516da74e141ca4de4e54b81e01caa546

8 years ago[SRADA-794] Apply new color set of lifecyclebar
jaeyong lee [Fri, 17 Jun 2016 05:01:01 +0000 (14:01 +0900)]
[SRADA-794] Apply new color set of lifecyclebar

Change-Id: I2d45db4bedf34185551346dd5782112a03e9f9e4

8 years ago[SRADA-675] Resolve issues at marker moving logic
jaeyong lee [Fri, 17 Jun 2016 01:42:05 +0000 (10:42 +0900)]
[SRADA-675] Resolve issues at marker moving logic

Change-Id: I968aa5bcf44d039c216969ad06bdb11019fb03a2

8 years ago[SRADA-675] Add marker when call stack table double clicked
jaeyong lee [Thu, 16 Jun 2016 10:19:04 +0000 (19:19 +0900)]
[SRADA-675] Add marker when call stack table double clicked

Change-Id: I039f41468aecdc78cf24aab05d7e77d8e3db5654

8 years ago[SRADA-675] Clear marker list at timeline
jaeyong lee [Thu, 16 Jun 2016 07:30:38 +0000 (16:30 +0900)]
[SRADA-675] Clear marker list at timeline

Change-Id: If4a4b1d2d24bd3d211c232f2d0ab219a9e2f7f4a

8 years ago[SRADA-779] Implements a search dialog
joon.c.baek [Thu, 9 Jun 2016 08:41:14 +0000 (17:41 +0900)]
[SRADA-779] Implements a search dialog

Implements a search dialog,
Search dialog written based on FindDialog class.

Known issues:
Not support category, Just support 'ALL',
Dropdown arrow disappeared,
Only support Startup, Calltrace table,
Checkbox color doesn't match width guide,
Contents area doesn't match with guide,

Change-Id: Ib24265ce63efdc656f77b3a710bd25b1e91e7c81
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-786]Sync TimeLine RangeMarker and DlogTable, Apply multi selection on table.
ggh1933.go [Thu, 16 Jun 2016 01:26:37 +0000 (10:26 +0900)]
[SRADA-786]Sync TimeLine RangeMarker and DlogTable, Apply multi selection on table.

 - Double Click on DlogTable, add or delete TimeLine Marker, changed Cell Color YELLOW
 - If DoubleClick delete Marker from Dlog on Chart, Dlog table selection cell color changed too.
 - + delete changing cell color
 - + delete DlogTable remove markers function (it's needless)
 - Apply MultiSelection on DlogTable
 - get chart drag selection time from TimeLineChartMouseEventListener
 - TimeLineChart Listener send dragtime to ToolBar and get DlogTable dragtime from ToolBar
 - + delete don't used code and import

Change-Id: I1caa8737166efdfadb9b22afb0afb24e74539fa9

8 years ago[SRAADA-800] Adjust chartBoard to timeline
jaeyong lee [Wed, 15 Jun 2016 01:56:23 +0000 (10:56 +0900)]
[SRAADA-800] Adjust chartBoard to timeline

Change-Id: Iaf411dda57ae5cfdde1eda689abb64c465ae54a9

8 years ago[SRADA-742] Apply #008aee tooltip outline
joon.c.baek [Wed, 15 Jun 2016 00:51:22 +0000 (09:51 +0900)]
[SRADA-742] Apply #008aee tooltip outline

Apply #008aee tooltip outline,
Replace round rectangle to rectangle.

Change-Id: I12035d4fd4f6523643efcdc0ba566273a2899ad8
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-767] Implement Target dialog
dongkyu6 lee [Wed, 8 Jun 2016 06:03:26 +0000 (15:03 +0900)]
[SRADA-767] Implement Target dialog

Change-Id: Ic63eb0a2953d914007f5d8d6de4899eeb098f77c

8 years ago[SRADA-750] Resolve a empty tooltip defect in Win.
joon.c.baek [Mon, 13 Jun 2016 12:43:06 +0000 (21:43 +0900)]
[SRADA-750] Resolve a empty tooltip defect in Win.

Resolve a empty tooltip defect in windows.

Change-Id: Ib3e759400fd5a1726c89e699791023ecffdef3c4
Signed-off-by: 백창준/SE Lab(S/W센터)/S4(선임)/삼성전자 <joon.c.baek@corp.samsungelectronics.net>
8 years ago[SRADA-675] Resolve some issues at RangeDataMaanger
jaeyong lee [Tue, 14 Jun 2016 09:44:45 +0000 (18:44 +0900)]
[SRADA-675] Resolve some issues at RangeDataMaanger
- Sometimes incorrect range was analyzed
- Range analysis doesn't work when only one marker exists

Change-Id: I9eee76de62caa1ff189e38f14cf8ae23fcc4d17c

8 years ago[SRADA-794] Chage color, height of timeline
jaeyong lee [Tue, 14 Jun 2016 07:16:54 +0000 (16:16 +0900)]
[SRADA-794] Chage color, height of timeline

Change-Id: Ica89f8922a05e3457f26206819947b8578508d58

8 years ago[SRADA-793] Adjust marker, marker line position
jaeyong lee [Tue, 14 Jun 2016 07:16:29 +0000 (16:16 +0900)]
[SRADA-793] Adjust marker, marker line position

Change-Id: Ieb520fc49c26aed36a8ac7b7bc1f35d6723711a8

8 years ago[SRADA-676] Change colors of Heap Allocation chart
jaeyong lee [Tue, 14 Jun 2016 04:05:54 +0000 (13:05 +0900)]
[SRADA-676] Change colors of Heap Allocation chart

Change-Id: Ia6d72050b0221b9eb8ef850016c59b273f2e66dd

8 years ago[SRADA-675] Clear markerlist when start trace button clicked
jaeyong lee [Tue, 14 Jun 2016 00:17:42 +0000 (09:17 +0900)]
[SRADA-675] Clear markerlist when start trace button clicked

Change-Id: I3e405df406297d1e2f398a4b39b28424d4849396

8 years ago[SRADA-675] Enable Range Analysis at memory page
jaeyong lee [Mon, 13 Jun 2016 08:55:52 +0000 (17:55 +0900)]
[SRADA-675] Enable Range Analysis at memory page

Change-Id: Idc867179c779de1ed6f97d5effde059e8dbe4efa

8 years ago[SRADA-742] Change tooltip outline color
joon.c.baek [Thu, 9 Jun 2016 05:47:39 +0000 (14:47 +0900)]
[SRADA-742] Change tooltip outline color

Remove round rectangle,
Apply outline #008aee,

Change-Id: Ib6040266544d8cbab0c712bc3429cdf72375ccc4
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-675] Implement Range Analysis (beta ver)
jaeyong lee [Fri, 10 Jun 2016 07:00:32 +0000 (16:00 +0900)]
[SRADA-675] Implement Range Analysis (beta ver)
- Draw markers on timeline when double click the chart
- Draw marker lines on chart when double click the chart
- Move markers, marker lines when drag and drop ther marker
- Remove markers, marker lines when double click the marker
- Sync markers, marker lines between pages
- Perform range analysis when popup menu clicked

Change-Id: I917ee3c61b98a6618aed74a595e84f91e4ae233a

8 years ago[SRADA-XXX] Fixed link in Menu and About Dialog
dongkyu6 lee [Wed, 8 Jun 2016 07:25:06 +0000 (16:25 +0900)]
[SRADA-XXX] Fixed link in Menu and About Dialog

Change-Id: I8c2e89a9465e7f80e5e281544233f25a45e7d170

8 years ago[RELEASE] release DA 2.3.4
dongkyu6 lee [Thu, 9 Jun 2016 10:59:35 +0000 (19:59 +0900)]
[RELEASE] release DA 2.3.4

Change-Id: I3bbb4a9c909f53b80e85730939030ac90eca3140

8 years ago[HOTFIX] fixed : dependency of org.tizen.common
dongkyu6 lee [Thu, 9 Jun 2016 08:43:59 +0000 (17:43 +0900)]
[HOTFIX] fixed : dependency of org.tizen.common

Change-Id: Ie67f938392e03e29641ac5206b35f8cb4e3ee83e

8 years ago[HOTFIX] running error
dongkyu6 lee [Thu, 9 Jun 2016 08:07:09 +0000 (17:07 +0900)]
[HOTFIX] running error

Change-Id: I3b2428ba7b10b82f6d9b0f5e1ad1c25b794fd4fc

8 years ago[RELEASE] release DA 2.3.3
dongkyu6 lee [Thu, 9 Jun 2016 07:25:05 +0000 (16:25 +0900)]
[RELEASE] release DA 2.3.3

Change-Id: I89f232d02e45ac36c698878571a21e06930ff5b1

8 years ago[SRADA-XXX] Bug : dlog selection
dongkyu6 lee [Wed, 8 Jun 2016 09:21:10 +0000 (18:21 +0900)]
[SRADA-XXX] Bug : dlog selection

Change-Id: I054358badc1dee5740a39938d4caa275322e2895

8 years ago[SRADA-732] Changed TextBoxes to ComboBoxes
dongkyu6 lee [Wed, 1 Jun 2016 06:50:21 +0000 (15:50 +0900)]
[SRADA-732] Changed TextBoxes to ComboBoxes

 - Adjust scroll

Change-Id: Ia78085d2d536b85d7bdae145b71b2ffc9c5ce9af

8 years ago[SRADA-XXX] Fixed total data is not on top in Memory' statistics tab
dongkyu6 lee [Thu, 2 Jun 2016 03:05:32 +0000 (12:05 +0900)]
[SRADA-XXX] Fixed total data is not on top in Memory' statistics tab

Change-Id: I3a197c2438499be4ce6a3fac81707a75c74b25dc

8 years ago[SRADA-676] Apply new color set to chart graph
jaeyong lee [Thu, 2 Jun 2016 06:27:02 +0000 (15:27 +0900)]
[SRADA-676] Apply new color set to chart graph

Change-Id: I99c1bba2b2565614ccea50854c4d7beb9a830b4e

8 years ago[SRADA-514] Specify not supported device name, serial
joon.c.baek [Thu, 2 Jun 2016 07:10:33 +0000 (16:10 +0900)]
[SRADA-514] Specify not supported device name, serial

Specify not supported device name, serial to warning dialog.
In case of, Multiple device was connected,
One of not supported device makes warning dialog.
It cause confusing to user that all of device doesn't supported.
Specifying name, serial will reduce confusing.

Change-Id: I88924a6c517e889d476d1a7c2ee20bf345d974a5
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoApply feature dialog title
joon.c.baek [Thu, 2 Jun 2016 04:32:37 +0000 (13:32 +0900)]
Apply feature dialog title

Apply feature dialog title "Select feature to analyze".
It located faeture dialog title bar.
In default,
Ubuntu, Window show the string as left align.
However Mac show that as center align.
This code followed OS default.

Change-Id: I0b72d3894d2e31d3ab0295431740d8e8ee0e25c8
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years ago[SRADA-741]fix AppCombo update
ggh1933.go [Thu, 2 Jun 2016 03:03:35 +0000 (12:03 +0900)]
[SRADA-741]fix AppCombo update

Change-Id: If687511d1d7b253dd9fb5c8bf5c8a0e1fbb52ddd

8 years ago[SRADA-676] Set page background color to white
jaeyong lee [Thu, 2 Jun 2016 02:14:39 +0000 (11:14 +0900)]
[SRADA-676] Set page background color to white

Change-Id: Ia0f0df6a57badcfdd1bcfbad22e991cb4571d3d4