Vladislav Eliseev [Fri, 22 Apr 2016 13:56:33 +0000 (16:56 +0300)]
SRADA-215: implemented tracing management and start command
Now ProcessManager offers high level interface to start and stop
tracing processes and refresh and answer their states.
Change-Id: I678597b1316fb0fdf82ab57aa845eb3c3ea5e09a
Vladislav Eliseev [Fri, 22 Apr 2016 13:54:12 +0000 (16:54 +0300)]
SRADA-215: introduced manager for single tracing process
This manager will be used to a higher level by ProcessManager.
Change-Id: Ifaf2ec386885bdf4ae294a06ef08a18cd6d1e630
Vladislav Eliseev [Fri, 22 Apr 2016 13:52:06 +0000 (16:52 +0300)]
SRADA-215: implemented TracingProcess communication interface
TracingProcess is now able to receive requests to shut down.
Change-Id: Ifd0546906224d1406dd8dc10d0065a8f27979a29
Vladislav Eliseev [Wed, 20 Apr 2016 07:03:24 +0000 (10:03 +0300)]
SRADA-233: get rid of DA Logger usage in arguments parser
Logger shouldn't be used in such utilitary classes.
Parser should simply throw exceptions and caller should
take responsibility to handle them.
Change-Id: I313bbcc7f57e01ac90a677ee1acffa62e937daee
Vladislav Eliseev [Wed, 20 Apr 2016 06:43:22 +0000 (09:43 +0300)]
SRADA-215: make DAResult instances serializable.
It is needed to pass them through RMI protocol.
Change-Id: Ifdfa92620849ba1c87c2211a7ef68463dbe88c87
Vladislav Eliseev [Wed, 20 Apr 2016 06:50:42 +0000 (09:50 +0300)]
SRADA-215: make TracingArguments cloneable and serializable.
TracingArguments should be serializabe in order to be
passed through RMI protocol.
Change-Id: Ie6402b0a8716dd774944a9a1222bffef09c42434
Vladislav Eliseev [Wed, 20 Apr 2016 07:04:03 +0000 (10:04 +0300)]
SRADA-306: add junit, mockito and powermock libraries
Previously for "junit" target was used library from PDE.
Now will be used our own libraries which are newer
than in org.tizen.common.
Also added javassist library needed by powermock to
modify java byte code in runtime.
Change-Id: I858351e04854b14bfde7edef9214487697316980
Dmitriy Nikiforov [Thu, 14 Apr 2016 16:09:59 +0000 (19:09 +0300)]
SRADA-233: Fixed TracingArgumentsParser.parse() to throw all exceptions
Before this commit TracingArgumentsParser.parse() in sometimes threw exceptions
and sometimes just returned null in case of error. Now it always throws
exceptions.
And added some additional tests for TracingArguments and TracingArgumentsParser.
Change-Id: I17b6aeed0f55f355af93e8f25e43e5f0f04ec9bc
Maria Guseva [Wed, 13 Apr 2016 15:49:34 +0000 (00:49 +0900)]
Merge "SRADA-233: Implemented tracing arguments parsing" into dev_cli
Dmitriy Nikiforov [Fri, 1 Apr 2016 17:20:44 +0000 (20:20 +0300)]
SRADA-234: Added .svace-dir to .gitignore
Change-Id: I0f46bf120a85198e9688ee0b299a48e3c70800ee
Dmitriy Nikiforov [Fri, 1 Apr 2016 16:58:04 +0000 (19:58 +0300)]
SRADA-233: Implemented tracing arguments parsing
Implemented TracingArgumentsParser functionality:
* parse()
* toStringArray()
Both methods are tested by TracingArgumentsParserTest.
TracingArguments.isValid() was reimplemented to generate error message
which can be accessed by getErrorMessage() method. Also, all setters
now return this object to allow chained methods execution.
TracingArguments.isValid() is tested by TracingArgumentsTest.
Change-Id: I8ce848821bebac08c8b0660b2a907a0c3760b4b1
Maria Guseva [Tue, 12 Apr 2016 08:23:57 +0000 (17:23 +0900)]
Merge "SRADA-286: Added unit tests cleaning into ant 'clean' target" into dev_cli
Maria Guseva [Tue, 12 Apr 2016 08:20:44 +0000 (17:20 +0900)]
Merge "SRADA-286: Changed JUnit report format from plain to xml" into dev_cli
Maria Guseva [Mon, 11 Apr 2016 10:40:06 +0000 (13:40 +0300)]
Merge branch 'upstream' into dev_cli
Change-Id: I22462a9e299b294fb8cf221b6f596005d52e9b28
Maria Guseva [Mon, 11 Apr 2016 08:09:19 +0000 (17:09 +0900)]
Revert empty commit "SRADA-310: Fixed dacli.jar dependency on org.tizen.common libs."
This reverts commit
9a9ab79b79c68d59afdb8d75c5f17be5f15af57a.
That was empty commit due to Gerrit issue.
Change-Id: I5c9632564c238ce458f37110036cf126c6239c72
Maria Guseva [Mon, 4 Apr 2016 08:51:55 +0000 (11:51 +0300)]
SRADA-310: Fixed dacli.jar dependency on org.tizen.common libs.
The dacli.jar is dependent on org.tizen.common libs which are actually
located outside the dynamic-analyzer/build_result directory.
So final dacli.jar could not be launched outside the build directory if no
org.tizen.common libs are available there.
In order to fix it the dependent org.tizen.common libs are copied to
plugins/org.tizen.common subdirectory and MANIFEST file fixed correspondingly.
Change-Id: Ib285455588a6c5c83c657cdf6e56b70cae44f8a0
Dmitriy Nikiforov [Fri, 1 Apr 2016 15:35:38 +0000 (18:35 +0300)]
SRADA-286: Added unit tests cleaning into ant 'clean' target
Change-Id: If85d50e8e60c7f26a471f5e5166d8738daf706eb
Dmitriy Nikiforov [Thu, 7 Apr 2016 10:24:24 +0000 (13:24 +0300)]
SRADA-286: Changed JUnit report format from plain to xml
Jenkins JUnit plugin parses XML-reports to analyze and publish test results.
Change-Id: Id618ca3428e2495562d27742159625f098515cc4
Maria Guseva [Mon, 4 Apr 2016 08:51:55 +0000 (11:51 +0300)]
SRADA-310: Fixed dacli.jar dependency on org.tizen.common libs.
The dacli.jar is dependent on org.tizen.common libs which are actually
located outside the dynamic-analyzer/build_result directory.
So final dacli.jar could not be launched outside the build directory if no
org.tizen.common libs are available there.
In order to fix it the dependent org.tizen.common libs are copied to
plugins/org.tizen.common subdirectory and MANIFEST file fixed correspondingly.
Change-Id: Ib285455588a6c5c83c657cdf6e56b70cae44f8a0
Dmitriy Nikiforov [Wed, 30 Mar 2016 19:25:44 +0000 (22:25 +0300)]
SRADA-286: Added 'junit' target to DA-CLI build configuration
Now all JUnit tests can be ran by 'ant junit' command (note that you may need
to install additional ant package with ant-junit.jar).
* Tests source location: test/src
* Tests classes location: test/bin/classes
* Tests report location: test/report
Change-Id: I5fae6566fd1bb782d7f19406bad0454610a33da8
Dmitriy Nikiforov [Wed, 30 Mar 2016 15:08:02 +0000 (18:08 +0300)]
SRADA-233: Updated DA-CLI 'start' command help message
Now StartCommand uses TracingArgumentsParser.printHelp() to generate help
message for it's arguments.
Also, updated whole DA-CLI help message format.
Change-Id: I356a36fa467b0aea2be30267232fd807d64d858d
Dmitriy Nikiforov [Tue, 22 Mar 2016 18:08:09 +0000 (21:08 +0300)]
SRADA-233: Implemented parser for DA-CLI 'start' command
Introduced classes:
* TracingArguments - stores tracing information
* TracingArgumentsParser - parsing utilities
StartParser functionality:
* printHelp() - prints help message for 'start' command
Not implemented yet:
* parse() - parses given arguments and returns TracingContext object
* toStringArray() - converts given TracingContext object to String[]
Change-Id: Ibec0a9d13cd54ac742f7fb0ab16dd8f273596eab
dongkyu6 lee [Fri, 1 Apr 2016 05:52:54 +0000 (14:52 +0900)]
Hide memory profiling page
- in the future, we can see it.
Change-Id: Ifc5f2fbf03363467d0be5a218ed22290351b67bb
dongkyu6 lee [Fri, 1 Apr 2016 05:29:33 +0000 (14:29 +0900)]
Merged from ui_enhancement
Merge remote-tracking branch 'origin/ui_enhancement' into upstream
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/hierarchy/tree/HierarchyTreeView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/hierarchy/tree/tool/HierarchyTreeExporter.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLPage.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/api/GLAPIListView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/state/GLContextTableView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/state/GLProgramTableView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/state/GLRedundantTableView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/state/GLStatisticsTableView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/table/state/GLTextureTableView.java
Change-Id: I9739fb4c2ddc308286fa0e45e54b6ca06b02f561
Gihun Chang [Fri, 1 Apr 2016 04:16:57 +0000 (13:16 +0900)]
Merge remote-tracking branch 'remotes/spin_tizen_sdk/tizen_sdk' into upstream
Dmitriy Nikiforov [Tue, 22 Mar 2016 16:30:16 +0000 (19:30 +0300)]
SRADA-233: Added Commons CLI 1.3.1 Apache library to DA-CLI
Commons CLI is a library for command line arguments parsing. It will be used
in DA-CLI parsing utilities.
DA-CLI libraries now will be placed in org.tizen.dynamicanalyzer.cli/lib
directory. Ant will copy it to
build_result/N.da/{platform}/plugins/org.tizen.dynamicanalyzer.cli/lib before
DA-CLI compilation.
Change-Id: I182981b226e7177da6391d16d24f8b1cc58d547a
Maria Guseva [Thu, 31 Mar 2016 08:39:15 +0000 (11:39 +0300)]
SPESRR-98: Fixed incorrect output for 'templates' command.
Change-Id: I83a3af819001d2f030ecf21a458d16a6896d03c3
Maria Guseva [Fri, 18 Mar 2016 12:53:17 +0000 (15:53 +0300)]
SRADA-98: Implemented DA-CLI 'templates' command.
Read available tracing templates from setting file and output the name and
the description for each available template except Custom one.
Implemented in TemplatesCommand using CliInternals to get list of available
templates.
New helper method added to CliInternals:
* getTemplates() - read available templates from SDK setting file via
DA SettingDataManager. SettingDataManager is initialized in CliInternals
static initialization section.
Change-Id: I41500a32160ea67a3a00d258b3e613dfb21914c7
Maria Guseva [Wed, 30 Mar 2016 13:44:20 +0000 (16:44 +0300)]
SRADA-264: Fixed Svace warnings in AppsCommand, CliFrontend, Command, DevicesCommand.
HASH:
89f2ba88a1c65c19c7e1efafbb60234a9e88ce73
STATUS: Confirmed
CLASS: FB.VA_FORMAT_STRING_USES_NEWLINE
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/commands/AppsCommand.java:40
MESSAGE: Format string should use %n rather than \\\\\\\\\\\\\\\\n in org.tizen.dynamicanalyzer.cli.commands.AppsCommand.printApps(Map)
HASH:
026a7e097bb573ae2bbed8c6e5d4b0f7e9e34af3
STATUS: Confirmed
CLASS: FB.VA_FORMAT_STRING_USES_NEWLINE
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/CliFrontend.java:31
MESSAGE: Format string should use %n rather than \\\\\\\\\\\\\\\\n in org.tizen.dynamicanalyzer.cli.CliFrontend.printHelp()
HASH:
b4ea155876a1b5732097774ccab51da23adfd858
STATUS: Confirmed
CLASS: FB.VA_FORMAT_STRING_USES_NEWLINE
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/commands/Command.java:49
MESSAGE: Format string should use %n rather than \\\\\\\\\\\\\\\\n in org.tizen.dynamicanalyzer.cli.commands.Command.checkArgs(String[])
HASH:
734ecf6ed651943de14de3235dc082c059168561
STATUS: Confirmed
CLASS: FB.VA_FORMAT_STRING_USES_NEWLINE
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/commands/DevicesCommand.java:34
MESSAGE: Format string should use %n rather than \\\\\\\\\\\\\\\\n in org.tizen.dynamicanalyzer.cli.commands.DevicesCommand.printDevices()
Change-Id: I84d6044055f2af397d85bd0f9bc2ba2c811b3a72
Maria Guseva [Wed, 30 Mar 2016 13:23:57 +0000 (16:23 +0300)]
SRADA-264: Fixed Svace warning in ProcessManagerAgent.
HASH:
05c1eb1dd6b9e6aef533f0539c8bd248d60c2d3d
STATUS: Confirmed
CLASS: FB.DM_EXIT
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/manager/ProcessManagerAgent.java:31
MESSAGE: new org.tizen.dynamicanalyzer.cli.manager.ProcessManagerAgent() invokes System.exit(...), which shuts down the entire virtual machine
Change-Id: I49c995e13ff8d7d234c91063caecf8258486e184
Maria Guseva [Wed, 30 Mar 2016 13:09:12 +0000 (16:09 +0300)]
SRADA-264: Fixed Svace warning in Command.
HASH:
b98e9f747add3a811c619002be1251127498d774
STATUS: Confirmed
CLASS: FB.DM_STRING_VOID_CTOR
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/commands/Command.java:38
MESSAGE: new org.tizen.dynamicanalyzer.cli.commands.Command(String, int, String) invokes inefficient new String() constructor
Change-Id: Ib439d5439a64a14c1d340780b4bd0d091d726193
dongkyu6 lee [Wed, 30 Mar 2016 04:11:35 +0000 (13:11 +0900)]
[SRADA-177] Implement memory map table
- Fill data in table
- Remove unnecessary code
Change-Id: Ifcf3424e0dee2b05d9216f656171fd9b6ea04306
Maria Guseva [Tue, 29 Mar 2016 14:36:57 +0000 (17:36 +0300)]
SRADA-264: Fixed Svace warning in CliInternals.
HASH:
1203d8db6e388d60af0457a2a85d093d285a3c37
STATUS: Confirmed
CLASS: DEREF_OF_NULL.RET.USER
LOCATION: /home/mguseva/Tizen/Suprem/dynamic-analyzer/org.tizen.dynamicanalyzer.cli/src/org/tizen/dynamicanalyzer/cli/CliInternals.java:145
MESSAGE: Pointer returned from function 'org.tizen.dynamicanalyzer.communicator.DACommunicator.updateAppListFromTarget(DeviceInfo)Map' at CliInternals.java:141 may be null, and it is dereferenced at CliInternals.java:145
Change-Id: I2777f4b315c1d495b21b14a6952418a88e37c2e1
jaeyong lee [Mon, 28 Mar 2016 07:17:05 +0000 (16:17 +0900)]
[SRADA-209] Disable expand button at memory chart
Change-Id: If980124a2aa0f02bd211619eba09cd63b6a4a8d6
dongkyu6 lee [Mon, 28 Mar 2016 01:35:43 +0000 (10:35 +0900)]
Merge "[SRADA-238] Replace TimelineChartManager to MemoryDataManager" into ui_enhancement
jaeyong lee [Fri, 25 Mar 2016 00:32:49 +0000 (09:32 +0900)]
[SRADA-238] Replace TimelineChartManager to MemoryDataManager
Change-Id: I7c3afb1b37d468aa66e49694f63f0943a7af2d87
jaeyong lee [Fri, 25 Mar 2016 00:32:49 +0000 (09:32 +0900)]
[SRADA-238] Replace TimelineChartaManager to MemoryDataManager
Change-Id: I7c3afb1b37d468aa66e49694f63f0943a7af2d87
dongkyu6 lee [Fri, 25 Mar 2016 00:15:18 +0000 (09:15 +0900)]
Merge "[SRADA-177] Add license message and remove unused import" into ui_enhancement
dongkyu6 lee [Thu, 24 Mar 2016 08:27:50 +0000 (17:27 +0900)]
Merge "[SRADA-244]Implementation LogExport Class" into ui_enhancement
ggh1933.go [Tue, 22 Mar 2016 02:43:44 +0000 (11:43 +0900)]
[SRADA-244]Implementation LogExport Class
- Make LogExportClass, Add exportDaemonLog to custompath method in DAcomm.
- this class function is exporting(or copy to customPath ) DA Console Log, daemon Log, data Log, control Log
- dataLog, controlLog are enabled by setting 'Debug Print | true' in DA Setting config file
- there is 'setting file' in "SDK_PATH/tools/dynamic-analyzer/config/setting"
- When add console message, DA ConsoleLog updated too. so, need to find latest DA Console logfile.
- add Logs compress function, Button, FileExplorer..
- Modified UI_Action, DADialog..etc for add LogExport Listener.
- 1. popup ErrorMessage -> 2. click "exportLogs" button -> 3. popup "exportPath" Dialog
4. select path and click "Ok" -> 5. export Logs to "DALogs_(current date&time).zip" in path.
- Modified DebugLog for always enable Data and Control Log Exported
Change-Id: Ice70c8872c21b38c7272800eba1399d85e52577e
dongkyu6 lee [Thu, 24 Mar 2016 07:56:22 +0000 (16:56 +0900)]
[SRADA-177] Add license message and remove unused import
Change-Id: I7614ae4b0cf0726dd8721cea919d34a94818ee4d
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
jaeyong lee [Wed, 23 Mar 2016 05:15:07 +0000 (14:15 +0900)]
[SRADA-255] Resolve issue that latestTraceMode is not working
Change-Id: I9ed338e5a221614e3028282cb952086e3b9ff494
dongkyu6 lee [Tue, 22 Mar 2016 10:43:56 +0000 (19:43 +0900)]
[SRADA-177] Implement about selection range
- If user selects specific range, DA displays special data in each tables
Change-Id: Ie94b1cb579c59b9f7183ce38f5c214d78c54aac0
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
jaeyong lee [Tue, 22 Mar 2016 09:53:09 +0000 (18:53 +0900)]
[SRADA-209] Fixed issue (chart selection start point was incorrect)
Change-Id: Ia072b08b60ceaf37ed3a92fa067eb295568437fd
dongkyu6 lee [Tue, 22 Mar 2016 08:48:49 +0000 (17:48 +0900)]
[SRADA-177] Fixed Detail table issue
- If DB has no data, function in MemoryDetailsTable return null.
Change-Id: I9c4aa4ca0d92bc28995898374695a8bc57d58fdc
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
dongkyu6 lee [Tue, 22 Mar 2016 08:21:44 +0000 (17:21 +0900)]
[SRADA-177] Implement Detail table
- Implement MemoryDetailsTable
Change-Id: Id084d20ee7ae885ce78c35e3acd03a180758b612
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
jaeyong lee [Tue, 22 Mar 2016 08:16:02 +0000 (17:16 +0900)]
[SRADA-209] Fixed issue (can't make floating memory info ui at heap, process memory chart)
Change-Id: Ic229c0e54bd870b2fdaac1a2bb6bfb220631851f
jaeyong lee [Mon, 21 Mar 2016 05:18:21 +0000 (14:18 +0900)]
[SRADA-209] Implement memory chart ui
Change-Id: Iba144c0f0f321dc7c4e5c0af9bd2b7842ae1cc24
ggh1933.go [Mon, 21 Mar 2016 07:58:07 +0000 (16:58 +0900)]
[SRADA-243]When StopTrace, delete ProgressBar popup
- progressBar don't need for StopTrace.
- When StopTrace, progressBar make "NullPointException" sometimes.. so Better delete that.
Change-Id: I66f09b68e18fd9240664444ace33e85f0eed080a
dongkyu6 lee [Mon, 21 Mar 2016 05:26:55 +0000 (14:26 +0900)]
Merge "[SRADA-242]Disable forced to change Page, when Start or Stop" into ui_enhancement
ggh1933.go [Mon, 21 Mar 2016 01:12:08 +0000 (10:12 +0900)]
[SRADA-242]Disable forced to change Page, when Start or Stop
- When Start or Stop, DA force to change current page to TimeLine or Summary page.
- this commit disable forcing changing page.User don't want to change page forced..
Change-Id: I2f669040749303eafeb136b67cf2b896cd3d6162
dongkyu6 lee [Mon, 21 Mar 2016 03:02:19 +0000 (12:02 +0900)]
[SRADA-226] Fixed issue (can't sometimes connect device)
- It is intialize issue about DeviceManager in thread.
- Put DeviceManager.init() out from thread.
Change-Id: I6e9d7930a3ac423ad9e8a0c6236b4d0231703888
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
Vladislav Eliseev [Thu, 10 Mar 2016 12:39:35 +0000 (15:39 +0300)]
SRADA-101: implemented skeleton for process manager.
StartCommand supposed to start process manager
and delegate start message to it.
Communication between CliFrontend and ProcessManager
processes implemented using JMX technology:
* JMX server in JVM is listening on some port
for connections to the MBean Server
* ProcessManager implements specific MBean interface;
* ProcessManager methods are called using JMX RMI
Change-Id: I6e19ac1b9feedfc75f7c0a086a88adcb6002876a
dongkyu6 lee [Fri, 18 Mar 2016 05:21:56 +0000 (14:21 +0900)]
Merge "[SRADA-177] Modified DB and table" into ui_enhancement
dongkyu6 lee [Fri, 18 Mar 2016 05:12:16 +0000 (14:12 +0900)]
Merge "[SRADA-203]When StopTrace, quickly shows the result data" into ui_enhancement
ggh1933.go [Thu, 17 Mar 2016 09:25:18 +0000 (18:25 +0900)]
[SRADA-203]When StopTrace, quickly shows the result data
- Make Thread running, when "stopNormal" progress
- thread.join take long times in stopNormal
- ToolBar disabled, while Datathreads join completed.
- Thread Progress changed.
- "stopForce" make Thread running too.
- change Boolean type and make synchronized "stopThreadCompleted" used each thread.
Change-Id: I26436c72b41088ce43745b32e7412a9199ea2887
dongkyu6 lee [Thu, 17 Mar 2016 02:03:37 +0000 (11:03 +0900)]
[SRADA-177] Modified DB and table
- add function "extractDataFromResultSet" in DB
- Modifed query in MemoryDataManager
- MemoryAllocationTraceTable can be displayed data
- MemoryStatisticsTable can be displayed data
- Fixed "null point exceptions"
Change-Id: I80842a0bf8f28ad70649798c3a5dd960a0dade24
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
dongkyu6 lee [Wed, 16 Mar 2016 23:29:56 +0000 (08:29 +0900)]
Merge "[SRADA-211]Horizontal Scroll Key short-cut 1. Changing from if to switch on TimeLineChartKeyListener 2. Adding 'a' and 'd' for Horizontal Scrolling 3. Adding 'q' and 'e' move start or end on timeline 4. double changeScroll = (120 / Math.pow(2, zoom_val)) - Fomula for Visible timeLine's width, Depending on changing of zoom_index" into ui_enhancement
dongkyu6 lee [Wed, 16 Mar 2016 23:29:51 +0000 (08:29 +0900)]
Merge "[SRADA-136] Add supported device checker" into ui_enhancement
Vladislav Eliseev [Wed, 16 Mar 2016 13:50:05 +0000 (16:50 +0300)]
SRADA-46: replaced spaces indentation with tabs
In Dynamic Analyzer packages tabs indentation accepted.
Let's do the same for DA CLI packages.
Change-Id: Ie4f7aca5afdec306cda13e397f3a457e966f2155
ggh1933.go [Wed, 16 Mar 2016 08:57:17 +0000 (17:57 +0900)]
[SRADA-211]Horizontal Scroll Key short-cut
1. Changing from if to switch on TimeLineChartKeyListener
2. Adding 'a' and 'd' for Horizontal Scrolling
3. Adding 'q' and 'e' move start or end on timeline
4. double changeScroll = (120 / Math.pow(2, zoom_val))
- Fomula for Visible timeLine's width, Depending on changing of zoom_index
# patch 1 : After change scale, update changed zoomIndex to zoom_val.
Change-Id: Ie3d4d2119d422c386d4b00bf6e5e3654231d6701
joon.c.baek [Thu, 10 Mar 2016 10:42:44 +0000 (19:42 +0900)]
[SRADA-136] Add supported device checker
Add supported device checker at Connect(), BaseCommunicator.
Pop-up shown when not supported device connected.
This patch is going to check
'/usr/bin/profile_command' file on target.
If this file doesn't exist, InputStream will be empty.
at that time, Stopping connect(), Make a popup.
Change-Id: Iabf55d9a3d31c203c0d80a1186474081692ebad1
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
dongkyu6 lee [Tue, 15 Mar 2016 06:41:14 +0000 (15:41 +0900)]
[SRADA-177] Add one DB file and modify some files
They ard not fixed files.
Change-Id: Id9c10dc3bd80f31dc6dae7314d89a3a1b5fb0d2a
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
[SRADA-177] Add one DB file and modify some files
-Modified MemoryDataManager.java
Change-Id: I7082fabab88937db8650f61335c26e8ba232cf06
[SRADA-177] Add one DB file and modify some files
They ard not fixed files.
Change-Id: Id9c10dc3bd80f31dc6dae7314d89a3a1b5fb0d2a
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
[SRADA-177] Add one DB file and modify some files
-Modified MemoryDataManager.java
Change-Id: I7082fabab88937db8650f61335c26e8ba232cf06
Maria Guseva [Tue, 15 Mar 2016 09:32:18 +0000 (12:32 +0300)]
SRADA-96: Fixed CLI "devices" and "apps" commands to not setup swap connection.
In order to get list of connected devices and installed applications there is no
actual need to setup connection to swap manager. So there were added new
methods into DACommunicator and DeviceManager to support this functionality and
there were skipped unneeded steps for DevicesCommand and AppsCommand.
The following changes done:
* CliInternals.initDevices() - skipped unneeded actions.
* CliInternals.getDevices() - use newly added DeviceManager.getDevicesOnSdb()
to avoid unneeded connection to swap manager.
* CliInternals.getPackageList() - changed to get IDevice object as a parameter.
* DACommunicator.updateAppListFromTarget(DeviceInfo) - new overloaded method to
process any DeviceInfo object instead of current device from Global.
* DACommunicator.updateAppListFromTarget() - changed to call
updateAppListFromTarget(DeviceInfo).
* DeviceManager.getDevicesOnSdb() - new method to get list of devices connected
via sdb.
Change-Id: I6e17a763b42a8e6d9b8a67488c8c780cd9d24cab
dongkyu6 lee [Wed, 16 Mar 2016 06:04:08 +0000 (15:04 +0900)]
Merge "[SRADA-204]it is replacing an existing error code to the new code - New Errorcode give more useful information and detail descriptions than old - Sync Error Formats Change-Id: I7e316887952993b3af3b3ca82a0fb25e3f5ef62f" into ui_enhancement
ggh1933.go [Wed, 16 Mar 2016 01:42:46 +0000 (10:42 +0900)]
[SRADA-204]it is replacing an existing error code to the new code
- New Errorcode give more useful information and detail descriptions than old
- Sync Error Formats
Change-Id: I7e316887952993b3af3b3ca82a0fb25e3f5ef62f
dongkyu6 lee [Wed, 16 Mar 2016 04:14:22 +0000 (13:14 +0900)]
Merge "[SRADA-177] Added view files" into ui_enhancement
ggh1933.go [Tue, 15 Mar 2016 05:46:26 +0000 (14:46 +0900)]
[SRADA-202]Make Connect Port Forward & UnFoward each Thread.
- Port Forward & UnForward take time about 2 secs.
- delete sleep(1 sec it's too long) time and when createSocket failed, retry after sleep(defenseCode).
- Make Unforward thread. so, don't need wait 1 sec.
Change-Id: I7b8093c13c800d67492038f184c5ed43de7569c3
Maria Guseva [Mon, 14 Mar 2016 08:02:31 +0000 (11:02 +0300)]
SRADA-96: Implemented DA-CLI 'devices' command.
For each connected device it's name and serial number are outputed in the
following format:
<Device Name> (<Serial Number>)
If no connected devices found the corresponding message is printed out.
Implemented in DeviceCommand using CliInternals to init DA DeviceManager and
to load a list of connected devices.
New helper methods added to CliInternals:
* getDevices(),
* getDeviceName(DeviceInfo),
* getSerialNumber(DeviceInfo).
Change-Id: I81a797e2445aaba761ccd324870f278982111aa4
v garbuzov [Tue, 15 Mar 2016 17:00:39 +0000 (02:00 +0900)]
Merge "SRADA-97: Added header for 'apps' command output." into dev_cli
Dmitriy Nikiforov [Mon, 14 Mar 2016 17:55:25 +0000 (20:55 +0300)]
SRADA-97: Now 'apps' command gets a serial number as an argument instead of a
device name.
Device name can be duplicated. So to avoid any collisions it is better to use
a serial number.
Serial numbers of connected targets can be obtained through dacli or sdb
'devices' command.
Change-Id: I3d455c419d08adfb2e637346555b4841536ba6ac
Dmitriy Nikiforov [Mon, 14 Mar 2016 13:38:14 +0000 (16:38 +0300)]
SRADA-97: Added header for 'apps' command output.
Change-Id: Ida97f5e2eb3769fd45500e0cd125a0ca2c2e4df0
dongkyu6 lee [Thu, 10 Mar 2016 03:13:39 +0000 (12:13 +0900)]
[SRADA-177] Added view files
Change-Id: I96ffd41755f38cdbc59a1c09a7c4d9884f36d5e2
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
[SRADA-177] Added memory source files (Data, Table)
Change-Id: I41377555499a23bdd353f1109450e73713eceb28
Signed-off-by: dongkyu6 lee <dongkyu6.lee@samsung.com>
Dmitriy Nikiforov [Fri, 4 Mar 2016 17:04:31 +0000 (20:04 +0300)]
SRADA-97: Implemented DA-CLI 'apps' command.
CliInternals class is implemented as an abstraction layer for DA routines and
other DA-CLI utilities.
AppsCommand uses CliInternals to parse device name/ip and establish connection
to found device. After that CliInternals.getPackageList() is used to get list
of all installed packages with its' applications.
Note that in order to view installed native applications you have to install
Platform IDE for Tizen SDK.
Change-Id: I47c6a879da4d762d6effb32cb8e5fad76925d122
Dmitriy Nikiforov [Wed, 9 Mar 2016 17:09:33 +0000 (20:09 +0300)]
SRADA-99: Added logging initialization in DA CLI.
Soon DA CLI will be dependent on Dynamic Analyzer parts that utilize
org.tizen.dynamicanalyzer.Logger and org.slf4j.LoggerFactory.
Logger now initialized in CliFrontend and LoggerFactory is initialized with
log4j.xml configuration file.
Change-Id: If1421025ea87142dc55f6fc8e986dd857982a00f
Dmitriy Nikiforov [Fri, 4 Mar 2016 11:39:41 +0000 (14:39 +0300)]
SRADA-110: Improved dacli building configuration.
Now ant generates jar manifest classpath based on compilation classpath
'dep.path'. New dependencies can be added or removed through modification of
dep.path.
Jar itself is generated in build_result/N.da/*/da directory.
Also, modified .gitignore to not track build_result, org.tizen.common and
org.tizen.common.sdblib.
Note: org.eclipse.core.runtime was excluded from dependencies as it needs
proper initialization before usage and DA CLI does not really depends on it.
Change-Id: I0fe39136a2c4f7554e56cad2944d5925c6d29089
ggh1933.go [Thu, 10 Mar 2016 00:57:03 +0000 (09:57 +0900)]
[SRADA-104]Delete snapshot view on memory page + add memoryCallStack to Rightform
Change-Id: I053b004046cd6b44c8e5b247e574df52055f1622
dongkyu6 lee [Thu, 10 Mar 2016 02:37:27 +0000 (11:37 +0900)]
Merge "[SRADA-129] Implementation check RunningProcess Invalid + Cutting Needless Argument on process + Comparing by "MapKey" + If Result is null, Avoid NullPointException and close explorer" into ui_enhancement
ggh1933.go [Wed, 9 Mar 2016 06:44:24 +0000 (15:44 +0900)]
[SRADA-129] Implementation check RunningProcess Invalid
+ Cutting Needless Argument on process
+ Comparing by "MapKey"
+ If Result is null, Avoid NullPointException and close explorer
Change-Id: Id21297fc6bfe6e4c5755c97e10d7049f183a46e2
jaeyong lee [Fri, 4 Mar 2016 01:36:39 +0000 (10:36 +0900)]
[SRADA-103] Create memory page when 'Memory allocation' selected
Change-Id: I558423ce8ccf15d721b3a545762fcc06fe5c0794
woojin [Wed, 9 Mar 2016 07:16:29 +0000 (16:16 +0900)]
update version and changelog
Change-Id: I0542b843930ff81172ae3104f8ce0ae3e8f23f3d
Signed-off-by: woojin <woojin2.jung@samsung.com>
woojin [Wed, 9 Mar 2016 07:13:20 +0000 (16:13 +0900)]
Merge branch 'tizen' into tizen_sdk
woojin [Wed, 9 Mar 2016 07:04:45 +0000 (16:04 +0900)]
About : modify contents of About dialog
1. change name of items to follow SDK common convention
2. remove DA version
3. add tizen developer site link
Change-Id: I774d9bf87a7ed9fd03d85408db32cc500e2fefc0
Signed-off-by: woojin <woojin2.jung@samsung.com>
woojin Jung [Wed, 9 Mar 2016 05:36:16 +0000 (14:36 +0900)]
Merge "common: remove the license button in the about dialog" into tizen
HyunJong Park [Wed, 9 Mar 2016 05:19:22 +0000 (14:19 +0900)]
common: remove the license button in the about dialog
Change-Id: I659c03d3d1e9a78060dfd33391fc2e25b11e8d9d
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
jungwook.ryu [Wed, 9 Mar 2016 05:22:59 +0000 (14:22 +0900)]
Update description : Tizen Dynamic Analyzer -> Dynamic Analyzer
Change-Id: Id2e12333db27aa2e94831a66a898addf9e984500
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
heeyoung [Tue, 8 Mar 2016 09:34:03 +0000 (18:34 +0900)]
Setting : resize setting dialog height
Change-Id: Ia357ee3086c492b384989ba1778958a819cd71bf
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
joon.c.baek [Tue, 8 Mar 2016 08:20:06 +0000 (17:20 +0900)]
[SRADA-171] Add progress dialog to toolbar
Add progress dialog to toolbar.
This dialog show progress of getting binary from device.
Dialog location, Appcombo toolip and severa thing will be change later.
Change-Id: I8c9cf6b6771f81afea6e69d86899bcfbc7e7d729
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
woojin [Tue, 8 Mar 2016 06:02:11 +0000 (15:02 +0900)]
change widget name DAText -> DATextBox
Change-Id: I582cca9cda71ee8049ee36de077efd9dba8bc48f
Signed-off-by: woojin <woojin2.jung@samsung.com>
(cherry picked from commit
ef41d41d3af6dacc98c6664e7c1870da0130dde5)
woojin [Tue, 8 Mar 2016 06:02:11 +0000 (15:02 +0900)]
change widget name DAText -> DATextBox
Change-Id: I582cca9cda71ee8049ee36de077efd9dba8bc48f
Signed-off-by: woojin <woojin2.jung@samsung.com>
woojin [Tue, 8 Mar 2016 05:30:25 +0000 (14:30 +0900)]
update version and changelog
Change-Id: I9a8411b1fdb110fbee25fafd0012f64ef8f7111f
Signed-off-by: woojin <woojin2.jung@samsung.com>
woojin [Tue, 8 Mar 2016 04:54:56 +0000 (13:54 +0900)]
resolve merge conflict
Change-Id: If5a44bfabbc27d15c125a9234c7cb0b44fa85008
Signed-off-by: woojin <woojin2.jung@samsung.com>
woojin [Tue, 8 Mar 2016 04:40:19 +0000 (13:40 +0900)]
resolve merge conflict
Change-Id: I4db916a0cda87b3580e8ee1897e72e7801041794
Signed-off-by: woojin <woojin2.jung@samsung.com>
Dmitriy Nikiforov [Mon, 29 Feb 2016 13:55:15 +0000 (16:55 +0300)]
SRADA-99: Implemented basic CLI front-end functionality.
CLI front-end is implented as
- CliFronted as a main class
- Command as base class for all CLI commands
Command class declarates common methods for all commands:
1) checkArgs() - validation method
2) printHelp() - prints help message
3) processCommand() - executes command
CliFrontend class registers all commands and checks arguments on known command
names. If it finds one, it calls Command.checkArgs() and
Command.processCommand().
Command.printHelp() is used in CliFrontend.printHelp() to print 'Usage' message.
Packages:
org.tizen.dynamicanalyzer.cli - base package
org.tizen.dynamicanalyzer.cli.commands - commands package
Change-Id: Ica335673a32458fb5b4e9ba9d7dacee9cd4fc022
greatim [Mon, 15 Feb 2016 06:23:09 +0000 (15:23 +0900)]
[COMM] add protocol 3.0a and change the way to determine root availability
add protocol 3.0a (for root-removed 2.3.1 device)
change the way to determine root availability
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/protocol/Protocol.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/FunctionBodyInstrumentData.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/model/data/ProfileData.java
Change-Id: I0f30e5b85b7ac94abb4ca544791ced23afc03c6d
Signed-off-by: greatim <jaewon81.lim@samsung.com>
(cherry picked from commit
b89a63fcd4d88e5bf55cb4669fd1b7a62b5f42d0)
jaeyong lee [Mon, 29 Feb 2016 12:03:08 +0000 (21:03 +0900)]
[SRADA-26] Add memory page
Change-Id: I1b6121969f2998ceee78b65e82aa26ecb542b15d
jaeyong lee [Mon, 29 Feb 2016 11:34:48 +0000 (20:34 +0900)]
[SRADA-26] Add memory page
Change-Id: If791f5dcc528fe5e5519fb3144be17738d0e5666
gihun chang [Fri, 26 Feb 2016 09:57:05 +0000 (18:57 +0900)]
Merge "[SRADA-89] When loading trace data, process combo box isn't displayed." into ui_enhancement
gihun chang [Fri, 26 Feb 2016 09:56:55 +0000 (18:56 +0900)]
Merge "[SRADA-90] Fixed UI hanging until device is ready issue" into ui_enhancement
jaeyong lee [Thu, 25 Feb 2016 01:06:52 +0000 (10:06 +0900)]
[SRADA-90] Fixed UI hanging until device is ready issue
Change-Id: I6c64b97a3ed289c74ce46e88f57c39a8ec1a792b