Permalink
Browse files

remove auto start on launch(windows)

  • Loading branch information...
1 parent 7a0886b commit b8eba90be71e8647434752dc1c6d0941b07a3199 @iptton iptton committed Aug 28, 2012
Showing with 19 additions and 19 deletions.
  1. +2 −1 deploy.bat
  2. +1 −1 mainwindow.cpp
  3. +1 −2 proxy/ryconnection.cpp
  4. +13 −13 rythem_zh_CN.ts
  5. +1 −1 ryupdatechecker.cpp
  6. +1 −1 ryupdatechecker.h
View
@@ -1,3 +1,4 @@
-
+lupdate $1/Rythem.pro
+lrelease $1/Rythem.pro
copy %1\qt_zh_CN.qm %2\release\qt_zh_CN.qm
copy %1\rythem_zh_CN.qm %2\release\rythem_zh_CN.qm
View
@@ -345,7 +345,7 @@ MainWindow::~MainWindow()
void MainWindow::checkNewVersion(){
#ifdef Q_OS_WIN
- toggleCapture();
+ //toggleCapture();
#endif
#ifdef Q_OS_MAC
int n = QSysInfo::MacintoshVersion;
View
@@ -95,7 +95,6 @@ void RyConnection::onRequestReadyRead(){
_receivingPerformance.requestBegin = QDateTime::currentMSecsSinceEpoch();
}
QByteArray newContent = _requestSocket->readAll();
- //qDebug()<<"requestReadyRead"<<newContent;
if(_isConnectTunnel){
// https隧道,直接透传不解析
// TODO: decrypt https tunnel
@@ -321,6 +320,7 @@ void RyConnection::onRequestPackageFound(){
_receivingPerformance.requestDone = QDateTime::currentMSecsSinceEpoch();
if(_receivingPipeData->method == "CONNECT"/* &&
_receivingPipeData->port != 80*/){// TODO: 80端口一定不是https?
+ qDebug()<<"is connect:"<<QString(_receivingPipeData->requestHeaderRawData());
_isConnectTunnel = true;
}
_requestState = ConnectionStatePackageFound;
@@ -518,7 +518,6 @@ void RyConnection::doRequestToNetwork(){
continue;
}
_responseSocket->setProxy(p);
- //qDebug()<<"proxy="<<p.hostName()<<p.port();
}
#endif
/*
View
@@ -145,7 +145,7 @@ Host: www.alloyteam.com
<translation type="obsolete">非windows系统需手动设置代理为 127.0.0.1:8889</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="355"/>
+ <location filename="mainwindow.cpp" line="354"/>
<source>-</source>
<translation>-</translation>
</message>
@@ -154,7 +154,7 @@ Host: www.alloyteam.com
<translation type="obsolete">请了</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="356"/>
+ <location filename="mainwindow.cpp" line="355"/>
<source>Please drag to Applications dir first
otherwise creat replace rule will cause crash on MacOS 10.8 (Mountain Lion)</source>
@@ -164,51 +164,51 @@ Host: www.alloyteam.com
否则在创建替换规则时 Rythem 会崩溃</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="364"/>
+ <location filename="mainwindow.cpp" line="363"/>
<source>&amp;File</source>
<translation>文件(&amp;F)</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="365"/>
+ <location filename="mainwindow.cpp" line="364"/>
<source>&amp;import session...</source>
<translation>导入会放(&amp;i)...</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="366"/>
+ <location filename="mainwindow.cpp" line="365"/>
<source>hide image requests</source>
<translation>隐藏图片请求</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="368"/>
+ <location filename="mainwindow.cpp" line="367"/>
<source>hide 304s</source>
<translation>隐藏304</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="370"/>
+ <location filename="mainwindow.cpp" line="369"/>
<source>show matching sessions only</source>
<translation>只显示匹配规则的请求</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="372"/>
+ <location filename="mainwindow.cpp" line="371"/>
<source>hide connect tunnels</source>
<translation>隐藏Connect遂道</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="380"/>
+ <location filename="mainwindow.cpp" line="379"/>
<source>select file to open</source>
<translation>选择文件</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="583"/>
+ <location filename="mainwindow.cpp" line="582"/>
+ <location filename="mainwindow.cpp" line="611"/>
<location filename="mainwindow.cpp" line="612"/>
- <location filename="mainwindow.cpp" line="613"/>
<source>start capture</source>
<translation>开始抓包</translation>
</message>
<message>
- <location filename="mainwindow.cpp" line="592"/>
+ <location filename="mainwindow.cpp" line="591"/>
+ <location filename="mainwindow.cpp" line="607"/>
<location filename="mainwindow.cpp" line="608"/>
- <location filename="mainwindow.cpp" line="609"/>
<source>stop capture</source>
<translation>停止抓包</translation>
</message>
View
@@ -5,7 +5,7 @@
RyUpdateChecker::RyUpdateChecker(QObject *parent) :
QObject(parent){
_isChecking = false;
- manager.setProxy(QNetworkProxy(QNetworkProxy::HttpProxy,"127.0.0.1",8889));
+ //manager.setProxy(QNetworkProxy(QNetworkProxy::HttpProxy,"127.0.0.1",8889));
}
void RyUpdateChecker::check(QString url, QString currentVersion){
View
@@ -4,7 +4,7 @@
#include <QtCore>
#include <QtNetwork>
-#define CURRENT_VERSION "0.5.08.22"
+#define CURRENT_VERSION "0.5.08.28"
#define RYTHEM_UPDATE_PREFIX "http://rythem.alloyteam.com/update.php?"
#define RYTHEM_UPDATE_URL(sys) RYTHEM_UPDATE_PREFIX # sys

0 comments on commit b8eba90

Please sign in to comment.