-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source repository migrate from google code to github
- Loading branch information
Showing
20 changed files
with
842 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/bin | ||
/out | ||
/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Sokit | ||
|
||
Sokit is a TCP & UDP package send/receive/transfer tool, Write in c++ with qt under Windows and Linux. | ||
|
||
|
||
|
||
|
||
|
||
License | ||
------- | ||
Sokit is licensed under GNU GPLv3 - see the ``LICENSE`` file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,122 +1,127 @@ | ||
# ---------------------------------------------------- | ||
# sokit.pro | ||
# ---------------------------------------------------- | ||
|
||
TEMPLATE = app | ||
TARGET = sokit | ||
|
||
QT += gui network | ||
CONFIG += debug_and_release build_all thread | ||
DEFINES += QT_NETWORK_LIB | ||
INCLUDEPATH += . ./../../../tmp ./../../../src/sokit | ||
DEPENDPATH += . | ||
UI_DIR += ./../../../tmp | ||
RCC_DIR += ./../../../tmp | ||
|
||
win32 { | ||
DEFINES += QT_LARGEFILE_SUPPORT | ||
CONFIG += windows qt_static | ||
|
||
QMAKE_CFLAGS_MT =-MT | ||
QMAKE_CFLAGS_MT_DBG =-MTd | ||
QMAKE_CFLAGS_MT_DLL =-MD | ||
QMAKE_CFLAGS_MT_DLLDBG =-MDd | ||
} | ||
|
||
CONFIG(debug, debug|release) { | ||
DESTDIR = ../../../bin/debug | ||
MOC_DIR += ./../../../tmp/debug | ||
OBJECTS_DIR += ./../../../tmp/debug | ||
INCLUDEPATH += ./../../../tmp/debug | ||
|
||
QMAKE_CFLAGS_DEBUG = $$unique(QMAKE_CFLAGS_DEBUG) | ||
QMAKE_CXXFLAGS_DEBUG = $$unique(QMAKE_CFLAGS_DEBUG) | ||
|
||
CONFIG(qt_static) { | ||
QMAKE_CFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CXXFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DBG | ||
} else { | ||
QMAKE_CFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CXXFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DLLDBG | ||
} | ||
} else { | ||
DESTDIR = ../../../bin/release | ||
MOC_DIR += ./../../../tmp/release | ||
OBJECTS_DIR += ./../../../tmp/release | ||
INCLUDEPATH += ./../../../tmp/release | ||
|
||
QMAKE_CFLAGS_RELEASE = $$unique(QMAKE_CFLAGS_RELEASE) | ||
QMAKE_CXXFLAGS_RELEASE = $$unique(QMAKE_CXXFLAGS_RELEASE) | ||
|
||
CONFIG(qt_static) { | ||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CFLAGS_RELEASE += $$QMAKE_CFLAGS_MT | ||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_MT | ||
} else { | ||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT | ||
QMAKE_CFLAGS_RELEASE += $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT | ||
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_MT_DLL | ||
} | ||
} | ||
|
||
HEADERS += ../../../src/sokit/resource.h \ | ||
../../../src/sokit/setting.h \ | ||
../../../src/sokit/toolkit.h \ | ||
../../../src/sokit/baseform.h \ | ||
../../../src/sokit/clientform.h \ | ||
../../../src/sokit/clientskt.h \ | ||
../../../src/sokit/helpform.h \ | ||
../../../src/sokit/logger.h \ | ||
../../../src/sokit/main.h \ | ||
../../../src/sokit/notepadform.h \ | ||
../../../src/sokit/transferskt.h \ | ||
../../../src/sokit/transferform.h \ | ||
../../../src/sokit/serverskt.h \ | ||
../../../src/sokit/serverform.h | ||
SOURCES += ../../../src/sokit/baseform.cpp \ | ||
../../../src/sokit/clientform.cpp \ | ||
../../../src/sokit/clientskt.cpp \ | ||
../../../src/sokit/helpform.cpp \ | ||
../../../src/sokit/logger.cpp \ | ||
../../../src/sokit/main.cpp \ | ||
../../../src/sokit/notepadform.cpp \ | ||
../../../src/sokit/serverform.cpp \ | ||
../../../src/sokit/serverskt.cpp \ | ||
../../../src/sokit/setting.cpp \ | ||
../../../src/sokit/toolkit.cpp \ | ||
../../../src/sokit/transferform.cpp \ | ||
../../../src/sokit/transferskt.cpp | ||
FORMS += ../../../src/sokit/clientform.ui \ | ||
../../../src/sokit/helpform.ui \ | ||
../../../src/sokit/serverform.ui \ | ||
../../../src/sokit/transferform.ui | ||
TRANSLATIONS += ../../../src/sokit/sokit.ts | ||
RESOURCES += ../../../src/sokit/icons.qrc | ||
|
||
QMAKE_PRE_LINK = lupdate ./sokit.pro | ||
QMAKE_POST_LINK = lrelease ../../../src/sokit/sokit.ts -qm $$DESTDIR/sokit.lan | ||
|
||
win32 { | ||
RC_FILE = ../../../src/sokit/sokit.rc | ||
LIBS += -lWs2_32 -lWinmm -lImm32 | ||
QMAKE_LFLAGS_DEBUG += /PDB:"$$DESTDIR/sokit.pdb" | ||
QMAKE_CFLAGS_DEBUG += /Fd"$$OBJECTS_DIR/sokit.pdb" | ||
QMAKE_CXXFLAGS_DEBUG += /Fd"$$OBJECTS_DIR/sokit.pdb" | ||
|
||
CONFIG(qt_static) { | ||
exists( $(QTDIR)/lib_s ) { | ||
QMAKE_LIBDIR_QT = $(QTDIR)/lib_s | ||
} | ||
} else { | ||
exists( $(QTDIR)/lib_d ) { | ||
QMAKE_LIBDIR_QT = $(QTDIR)/lib_d | ||
} | ||
} | ||
} | ||
|
||
# ---------------------------------------------------- | ||
# sokit.pro | ||
# ---------------------------------------------------- | ||
|
||
TEMPLATE = app | ||
TARGET = sokit | ||
|
||
QT += gui widgets network | ||
CONFIG += debug_and_release build_all thread | ||
DEFINES += QT_NETWORK_LIB | ||
INCLUDEPATH += . ./../../../tmp ./../../../src/sokit | ||
DEPENDPATH += . | ||
UI_DIR += ./../../../tmp | ||
RCC_DIR += ./../../../tmp | ||
|
||
win32 { | ||
DEFINES += QT_LARGEFILE_SUPPORT | ||
CONFIG += windows qt_static | ||
|
||
QMAKE_CFLAGS_MT =-MT | ||
QMAKE_CFLAGS_MT_DBG =-MTd | ||
QMAKE_CFLAGS_MT_DLL =-MD | ||
QMAKE_CFLAGS_MT_DLLDBG =-MDd | ||
} | ||
|
||
CONFIG(debug, debug|release) { | ||
DESTDIR = ../../../bin/debug | ||
MOC_DIR += ./../../../tmp/debug | ||
OBJECTS_DIR += ./../../../tmp/debug | ||
INCLUDEPATH += ./../../../tmp/debug | ||
|
||
QMAKE_CFLAGS_DEBUG = $$unique(QMAKE_CFLAGS_DEBUG) | ||
QMAKE_CXXFLAGS_DEBUG = $$unique(QMAKE_CFLAGS_DEBUG) | ||
|
||
CONFIG(qt_static) { | ||
QMAKE_CFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CXXFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DBG | ||
} else { | ||
QMAKE_CFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DLLDBG | ||
QMAKE_CXXFLAGS_DEBUG -= $$QMAKE_CFLAGS_MT_DBG | ||
QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_MT_DLLDBG | ||
} | ||
} else { | ||
DESTDIR = ../../../bin/release | ||
MOC_DIR += ./../../../tmp/release | ||
OBJECTS_DIR += ./../../../tmp/release | ||
INCLUDEPATH += ./../../../tmp/release | ||
|
||
QMAKE_CFLAGS_RELEASE = $$unique(QMAKE_CFLAGS_RELEASE) | ||
QMAKE_CXXFLAGS_RELEASE = $$unique(QMAKE_CXXFLAGS_RELEASE) | ||
|
||
CONFIG(qt_static) { | ||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CFLAGS_RELEASE += $$QMAKE_CFLAGS_MT | ||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_MT | ||
} else { | ||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT | ||
QMAKE_CFLAGS_RELEASE += $$QMAKE_CFLAGS_MT_DLL | ||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_MT | ||
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_MT_DLL | ||
} | ||
} | ||
|
||
HEADERS += ../../../src/sokit/resource.h \ | ||
../../../src/sokit/setting.h \ | ||
../../../src/sokit/toolkit.h \ | ||
../../../src/sokit/baseform.h \ | ||
../../../src/sokit/clientform.h \ | ||
../../../src/sokit/clientskt.h \ | ||
../../../src/sokit/helpform.h \ | ||
../../../src/sokit/logger.h \ | ||
../../../src/sokit/main.h \ | ||
../../../src/sokit/notepadform.h \ | ||
../../../src/sokit/transferskt.h \ | ||
../../../src/sokit/transferform.h \ | ||
../../../src/sokit/serverskt.h \ | ||
../../../src/sokit/serverform.h | ||
SOURCES += ../../../src/sokit/baseform.cpp \ | ||
../../../src/sokit/clientform.cpp \ | ||
../../../src/sokit/clientskt.cpp \ | ||
../../../src/sokit/helpform.cpp \ | ||
../../../src/sokit/logger.cpp \ | ||
../../../src/sokit/main.cpp \ | ||
../../../src/sokit/notepadform.cpp \ | ||
../../../src/sokit/serverform.cpp \ | ||
../../../src/sokit/serverskt.cpp \ | ||
../../../src/sokit/setting.cpp \ | ||
../../../src/sokit/toolkit.cpp \ | ||
../../../src/sokit/transferform.cpp \ | ||
../../../src/sokit/transferskt.cpp | ||
FORMS += ../../../src/sokit/clientform.ui \ | ||
../../../src/sokit/helpform.ui \ | ||
../../../src/sokit/serverform.ui \ | ||
../../../src/sokit/transferform.ui | ||
TRANSLATIONS += ../../../src/sokit/sokit.ts | ||
RESOURCES += ../../../src/sokit/icons.qrc | ||
|
||
QMAKE_PRE_LINK = lupdate $$PWD/sokit.pro | ||
QMAKE_POST_LINK = lrelease ../../../src/sokit/sokit.ts -qm $$DESTDIR/sokit.lan | ||
|
||
win32 { | ||
RC_FILE = ../../../src/sokit/sokit.rc | ||
LIBS += -lWs2_32 -lWinmm -lImm32 | ||
QMAKE_LFLAGS_DEBUG += /PDB:"$$DESTDIR/sokit.pdb" | ||
QMAKE_CFLAGS_DEBUG += /Fd"$$OBJECTS_DIR/sokit.pdb" | ||
QMAKE_CXXFLAGS_DEBUG += /Fd"$$OBJECTS_DIR/sokit.pdb" | ||
|
||
CONFIG(qt_static) { | ||
exists( $(QTDIR)/lib_s ) { | ||
QMAKE_LIBDIR_QT = $(QTDIR)/lib_s | ||
} | ||
} else { | ||
exists( $(QTDIR)/lib_d ) { | ||
QMAKE_LIBDIR_QT = $(QTDIR)/lib_d | ||
} | ||
} | ||
} | ||
|
||
OTHER_FILES += \ | ||
../../../src/sokit/sokit.ts \ | ||
../../../LICENSE \ | ||
../../../README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2015-05-07 sinpowei<[email protected]> | ||
version 1.3.1 | ||
build with QT v5.3.2 | ||
|
||
Source code repository migrated from Google Code to GitHub | ||
|
||
2011-11-30 sinpowei<[email protected]> | ||
version 1.3 | ||
build with QT v4.7.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sokit.lan is language file, if rename or delete it, then use default english UI | ||
|
||
F1 for more help or go http://code.google.com/p/sokit/ for sourcecode | ||
F1 for more help or go https://github.com/sinpolib/sokit/ for sourcecode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,8 +53,8 @@ p, li { white-space: pre-wrap; } | |
</style></head><body style=" font-weight:400; font-style:normal;"> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">sokit</span></p> | ||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">freeware version: 1.3 (GPLv3)</span></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">website: http://code.google.com/p/sokit/</span></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">freeware version: 1.3.1 (GPLv3)</span></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">website: https://github.com/sinpolib/sokit/</span></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">email: [email protected]</span></p> | ||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "></p> | ||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" ">this is a TCP / UDP package send &amp; receive &amp; transfer tool</span></p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.