aboutsummaryrefslogtreecommitdiffstats
path: root/tcf
AgeCommit message (Collapse)Author
2011-03-18Eclipse: Add timeout mechanism for unsubscribe streamsLiping Ke
Sometimes, if target shutdown unexpectedly, the TCF client side need to unsubsribe all its streams. However, if we use wait style, it will never receive response and go back. So we use Timeout, if 1s passes, it will raise an Timeout Exception. It will fix Bug #893. Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Lianhao Lu<lianhao.lu@intel.com>
2010-10-15Set File Subsystem to be unix styleLiping Ke
We need to set TCF RSE file system to be unix style for us. Otherwise, all filters related string will be wrong. This is a upstream bug, I will submit the patch to the upstream too. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-09-26Made the agent copyright headers consistent.Lianhao Lu
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-09-26Add license header for TCFTerminalInputStreamLiping Ke
Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-09-15Add license header filesLiping Ke
This patch is to add lic files and small very small cleanup. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-09-08Cleanup & fix tcf terminal agent/plugin.Lianhao Lu
1. Added support of encoding into tcf terminal agent. 2. Added copyright header to tcf agent/plugin source code. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-09-08Small code clean and fixLiping Ke
This patch is a small clean and fix, remove blank lines, etc. And add one missed error handling. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-08-12Support copy a diretory with TCF RSE File Serviceliping ke
Current TCF File service implementation does not support copy folders with files. So we add this recursive copy implementation for supporting copy folders since it's a common and essential requirement. Signed-off-by: Liping Ke<liping.ke@intel.com>
2010-08-12Support delete non empty DIR with TCF service RSEliping ke
The original implementation of deleting directories does not support recursively delete an non empty directories. This patch fix this defect and now we can support delete an non-empty folders in the target. And also, we add cancel support so that user can have cancel operation chances when ops wrongly. It's useful when especially when wrongly deletes a very big folder. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-08-11Workaround for undetected abnormal server disconnectionliping ke
For solving the abnormal tcf connection server down, such as closing qemu rudely, the TCF channel is undetected the server down. With netstat, we can see the TCF channel is still alive since the TCF connection timeout is 2 hours! So the workaround here is that we give the shell service one time retry if meeting connection error. It will suppose that connection is destroyed and we need to re- subscribe the stream service. So that we have a chance of success. It will improve the user experience that even after shutdown qemu and restart qemu again, we can still debugging without meeting connection failed error(we need not manually disconnect the TCF connection in RSE view any more). And also, improve the error message so that user will not be messed up by the incorrect error messge. Signed-off-by: Liping ke<liping.ke@intel.com> Signed-off-by: Lianhao Lu<lianhao.lu@intel.com>
2010-08-05Remove redundent src in org.eclipse.tm.tcf.terminals source building.Lianhao Lu
Singed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-08-04Fix bug #182. Remove incorrect annotation @overfide.Lianhao Lu
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-07-26Still fix multiple login problemLiping Ke
We need to use only one connector service for shells. terminals, files and processes services. Yet we need to register it as ITCFSubSystem type. Actually I only remove ITCFService.java, and modify four TCF*SubSystemConfiguration.java file, yet svn diff several other files. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-07-23Bug fixing for multiple password dialog promptingLiping Ke
This is a small bug fix for solving password dialog jumping out several times. For the same service type, it should use the command connector service. So for files, process, shells, terminals, we should register same service type ITCFService, so that they will only one one connector service. In that case, dialogbox will not jump out for several times. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-07-23Modified the Makefile of the terminal agent for poky integration.Lianhao Lu
<Signed-off-by>: Lianhao Lu <lianhao.lu@intel.com>
2010-07-19rebase rse tcf integration code to tcf 0.3.0 releaseLiping Ke
This patch is for the rebase of tcf 0.3.0, making tcf rse integration working on the new tcf release. It has been tested under eclipse 3.6 helios. Signed-off-by: Liping Ke<liping.ke@intel.com>
2010-07-19Rebase TCF agent & terminals.plugin to TCF version 0.3.0.Lianhao Lu
Note: This commit could only be working after rebasing RSE plugin to 0.3.0. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-06-28Make target login properties configurable.Liping Ke
Target Login properties varies, such as login prompt, password needed or not, login required or not, etc. All those properties should be configurable as connector service properites. Signed-off-by: Liping Ke<liping.ke@intel.com> Reviewed-by: Lianhao Lu<lianhao.lu@intel.com>
2010-06-25Modify the tcf/readme file.Lianhao Lu
- Added notes about setting -XX:MaxPermSize to avoid PermGen out of space. - Added notes about the TCF connection service properites. - Added known limitations about using cdt.remote.debug plug-in with OSEL SDK project.
2010-06-24Merge branch 'llu_working'Lianhao Lu
2010-06-24Remove SSL dependency in agent. Split the agent patches into 2.Lianhao Lu
Split the r979_agent_lianhao into 2 seperate patches. Remove the SSL in terminal agent. Only enable those required services. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-06-24Some system like default qemu login need no password.Liping Ke
This is a small fix for solving no password prompt command line problem on some systems as default qemu. After prompting input username, it need no password and directly entering command prompt line. User must set whether need password in the configuration file. This is might to be a temporary solution. Project settings should do the thing instead of writing into the .properites file. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-06-21Small fix for current LoginThread.Liping Ke
Remove sleep before verifying command prompt. As well as a small fix for array index. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-06-21Added readme for TCF agent and TCF RSE integration patches.Lianhao Lu
Signed-off-by: LianHao Lu <lianhao.lu@intel.com>
2010-06-21TCF agent and TCF RSE integration code base.Liping Ke
This patch is applied on TCF svn version 979. Please first download tcf svn 979 and then applied this patch. Detailed README file is in the changeset after this one. Signed-off-by: LianHao Lu <lianhao.lu@intel.com> Signed-off-by: Liping Ke <liping.ke@intel.com>