build: renaming to sourcetrail

This commit is contained in:
Andreas Stallinger
2017-04-07 13:19:09 +02:00
parent 8391a6da57
commit 045a259b2e
224 changed files with 885 additions and 4271 deletions
+9 -16
View File
@@ -2,24 +2,13 @@
/distr/
/deps/
/bin/app/Debug/
/bin/app/Release/
/bin/app/data/projects/ignored/
/bin/app/data/java/
/bin/app/user/log/
/bin/app/user/ApplicationSettings.xml
/bin/app/user/window_settings.ini
/bin/app/*.log
/bin/lib/
/bin/lib_gui/
/bin/lib_parser/
/bin/lib_license/
/bin/license_generator/Debug/
/bin/license_generator/Release/
/bin/test/Debug/
/bin/test/Release/
/bin/test/data/log/
/bin/test/data/temp.xml
/bin/test/data/TestSettings.xml
@@ -32,21 +21,25 @@
.DS_Store
.idea
/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/bin
/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/obj
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailPlugin/bin
/ide_plugins/vs/vs2015/SourcetrailPlugin/SourcetrailPlugin/obj
*.coatidb
*.srctrldb
*.suo
*.vcxproj.user
*.sqlite
*.pch
*.swp
*.swo
.clang_complete
.ycm_extra_conf.py
.ycm_extra_conf.pyc
coati.coatiproject
sourcetrail.srctrlprj
compile_commands.json
Makefile
/__pycache__/
@@ -56,4 +49,4 @@ Makefile
/deployment/windows/wixSetup/CustomActions/UninstallRemoveLogFolder/obj
/deployment/windows/wixSetup/Setup/build/Setup/Release
/deployment/windows/wixSetup/Setup/build/Setup/x64
/deployment/windows/wixSetup/Setup/build/Setup.VC.db
/deployment/windows/wixSetup/Setup/build/Setup.VC.db
+16 -16
View File
@@ -1,5 +1,5 @@
Linux64:
image: st4ll1/coati_linux_64
image: st4ll1/sourcetrail_linux_64
stage: deploy
only:
- master
@@ -8,16 +8,16 @@ Linux64:
- ./script/setup.sh
- ./script/buildonly.sh all
- ./script/buildonly.sh package
- ./build/Release/app/Coati --licenseFile ./setup/license.txt
- ./build/Release/app/Sourcetrail --licenseFile ./setup/license.txt
- cd ./bin/test
- ../../build/Release/test/Coati_test
- ../../build/Release/test/Sourcetrail_test
artifacts:
paths:
- distr/Coati*.tar.gz
- distr/Sourcetrail*.tar.gz
expire_in: 3 days
Linux64_tagged:
image: st4ll1/coati_linux_64
image: st4ll1/sourcetrail_linux_64
stage: deploy
only:
- tags
@@ -25,15 +25,15 @@ Linux64_tagged:
- ./script/setup.sh
- ./script/buildonly.sh all
- ./script/buildonly.sh package
- ./build/Release/app/Coati --licenseFile ./setup/license.txt
- ./build/Release/app/Sourcetrail --licenseFile ./setup/license.txt
- cd ./bin/test
- ../../build/Release/test/Coati_test
- ../../build/Release/test/Sourcetrail_test
artifacts:
paths:
- distr/Coati*.tar.gz
- distr/Sourcetrail*.tar.gz
Linux32:
image: st4ll1/coati_linux_32
image: st4ll1/sourcetrail_linux_32
stage: deploy
only:
- master
@@ -42,16 +42,16 @@ Linux32:
- ./script/setup.sh
- ./script/buildonly.sh all
- ./script/buildonly.sh package
- ./build/Release/app/Coati --licenseFile ./setup/license.txt
- ./build/Release/app/Sourcetrail --licenseFile ./setup/license.txt
- cd ./bin/test
- ../../build/Release/test/Coati_test
- ../../build/Release/test/Sourcetrail_test
artifacts:
paths:
- distr/Coati*.tar.gz
- distr/Sourcetrail*.tar.gz
expire_in: 3 days
Linux32_tag:
image: st4ll1/coati_linux_32
image: st4ll1/sourcetrail_linux_32
stage: deploy
only:
- tags
@@ -59,9 +59,9 @@ Linux32_tag:
- ./script/setup.sh
- ./script/buildonly.sh all
- ./script/buildonly.sh package
- ./build/Release/app/Coati --licenseFile ./setup/license.txt
- ./build/Release/app/Sourcetrail --licenseFile ./setup/license.txt
- cd ./bin/test
- ../../build/Release/test/Coati_test
- ../../build/Release/test/Sourcetrail_test
artifacts:
paths:
- distr/Coati*.tar.gz
- distr/Sourcetrail*.tar.gz
+11 -8
View File
@@ -13,7 +13,7 @@ include(cmake/setWinXxBits.cmake)
# Variables --------------------------------------------------------------------
set(PROJECT_NAME Coati)
set(PROJECT_NAME Sourcetrail)
set(APP_PROJECT_NAME "${PROJECT_NAME}")
set(LIB_LICENSE_PROJECT_NAME "${PROJECT_NAME}_lib_license")
@@ -113,13 +113,15 @@ find_package(Boost 1.59 COMPONENTS system program_options filesystem date_time R
# Botan -------------------------------------------------------------------------
set(BOTAN_VERSION "botan-1.11")
set(BOTAN_VERSION "botan-1.11" "botan-2")
if(APPLE)
find_library(BOTAN ${BOTAN_VERSION} $ENV{BOTAN_DIR}/release NO_DEFAULT_PATH)
find_library(BOTAN_D ${BOTAN_VERSION} $ENV{BOTAN_DIR}/debug NO_DEFAULT_PATH)
elseif(UNIX)
find_library(BOTAN ${BOTAN_VERSION} "$ENV{BOTAN_DIR}/lib")
find_library(BOTAN
NAMES ${BOTAN_VERSION}
HINTS "$ENV{BOTAN_DIR}/lib")
else()
if(${WINXXBITS} STREQUAL "Win32")
find_library(BOTAN botan "$ENV{BOTAN_DIR}/win32/release")
@@ -390,7 +392,7 @@ configure_file(
${CMAKE_BINARY_DIR}/src/lib_gui/version.h
)
# configure public key for the coati version
# configure public key for the sourcetrail version
include(cmake/publicKey.cmake)
set(CMAKE_AUTOMOC OFF)
@@ -412,13 +414,13 @@ add_subdirectory(src/app)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if (WIN32)
file(WRITE ${CMAKE_BINARY_DIR}/Coati.rc
file(WRITE ${CMAKE_BINARY_DIR}/Sourcetrail.rc
"// Icon with lowest ID value placed first to ensure application icon\n"
"// remains consistent on all systems.\n"
"IDI_ICON1 ICON \"${CMAKE_BINARY_DIR}/coati.ico\"\n"
"IDI_ICON1 ICON \"${CMAKE_BINARY_DIR}/sourcetrail.ico\"\n"
)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CMAKE_BINARY_DIR}/Coati.rc)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CMAKE_BINARY_DIR}/Sourcetrail.rc)
# hide the console when running a release build.
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE /DEBUG:FASTLINK")
@@ -427,7 +429,7 @@ if (WIN32)
set_target_properties(${APP_PROJECT_NAME} PROPERTIES COMPILE_DEFINITIONS_RELWITHDEBINFO "_CONSOLE")
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_RELEASE "/ENTRY:\"mainCRTStartup\" /SUBSYSTEM:WINDOWS /DEBUG")
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
# generate pdb for release build
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
else ()
@@ -628,6 +630,7 @@ if(UNIX AND NOT APPLE)
"${CMAKE_SOURCE_DIR}/bin/app/data ->"
"${CMAKE_BINARY_DIR}/app/data")
execute_process(
COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" "${CMAKE_BINARY_DIR}/app"
COMMAND "${CMAKE_COMMAND}"
"-E" "create_symlink"
"${CMAKE_SOURCE_DIR}/bin/app/data"
+5 -6
View File
@@ -1,4 +1,4 @@
## Coati
## Sourcetrail
### Setup
@@ -85,7 +85,7 @@ $ ./script/setup.sh
#### App
* create release build
* make sure it uses the Coati icon
* make sure it uses the Sourcetrail icon
* obfuscate the executable using upx
#### Data folder
@@ -93,11 +93,10 @@ $ ./script/setup.sh
* add empty log folder
* add working tictactoe.xml project to /projects/tictactoe with sources in /projects/tictactoe/src
* add empty app settings with one recent project tictactoe.xml
* leave window_settings.ini with correct Coati start layout
* leave window_settings.ini with correct Sourcetrail start layout
#### Package
* add app
* add web/coati_manual.pdf to package
#### Updating Clang on UNIX
@@ -132,10 +131,10 @@ $ git push --tags
### Loader gif creation from png sequence
// from png sequence
convert -delay 3 -loop 0 coati_*.png coati.gif
convert -delay 3 -loop 0 souretrail_*.png souretrail.gif
// less colors
gifsicle --colors 255 coati.gif > color.gif
gifsicle --colors 255 souretrail.gif > color.gif
// crop size
gifsicle --crop 0,5+0x-5 color.gif > crop.gif
@@ -9,9 +9,9 @@
</indexing>
<user>
<recent_projects>
<recent_project>./projects/tutorial/tutorial.coatiproject</recent_project>
<recent_project>./projects/tictactoe/tictactoe.coatiproject</recent_project>
<recent_project>./projects/javaparser/javaparser.coatiproject</recent_project>
<recent_project>./projects/tutorial/tutorial.srctrlprj</recent_project>
<recent_project>./projects/tictactoe/tictactoe.srctrlprj</recent_project>
<recent_project>./projects/javaparser/javaparser.srctrlprj</recent_project>
</recent_projects>
</user>
<version>1</version>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

+7 -7
View File
@@ -76,7 +76,7 @@ thorEmailDisplayName}\proptype30{\staticval Rae, Marika}{\propname _ReviewingToo
{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}
{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar
\ql \li0\ri0\widctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3763068 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang2057\langfe1033\cgrid\langnp2057\langfenp1033 {\rtlch\fcs1 \af37 \ltrch\fcs0
\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 Coati
\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 Sourcetrail
\par Software License Agreement}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid15234004\charrsid5327097 (}{\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1033\langfe1033\langnp1033\insrsid15234004\charrsid5327097 \'93}{\rtlch\fcs1 \af37
\ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid15234004\charrsid5327097 Agreement}{\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1033\langfe1033\langnp1033\insrsid15234004\charrsid5327097 \'94}{\rtlch\fcs1 \af37 \ltrch\fcs0
\f37\lang1033\langfe1033\langnp1033\insrsid15234004\charrsid5327097 )}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097
@@ -90,15 +90,15 @@ BECOMING A PARTY TO, AND ARE CONSENTING TO BE BOUND BY, THIS AGREEMENT. IF YOU D
\par }{\rtlch\fcs1 \ab\af37 \ltrch\fcs0 \b\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 DEFINITIONS}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097
\par "Software" means:
\par {\pntext\pard\plain\ltrpar \rtlch\fcs1 \af37\afs22 \ltrch\fcs0 \f3\fs22\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault{\*\pn
\pnlvlblt\ilvl0\ls1\pnrnot0\pnf3 {\pntxtb \'b7}}\faauto\ls1\rin0\lin720\itap0\pararsid3763068 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 A major version of Coati in executable form. The major
version is defined by the leading number of the version string (e.g. th}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid9331093\charrsid5327097 e major version of Coati 1.x.x}{\rtlch\fcs1 \af37 \ltrch\fcs0
\pnlvlblt\ilvl0\ls1\pnrnot0\pnf3 {\pntxtb \'b7}}\faauto\ls1\rin0\lin720\itap0\pararsid3763068 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 A major version of Sourcetrail in executable form. The major
version is defined by the leading number of the version string (e.g. th}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid9331093\charrsid5327097 e major version of Sourcetrail 1.x.x}{\rtlch\fcs1 \af37 \ltrch\fcs0
\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 is version 1);
\par {\pntext\pard\plain\ltrpar \rtlch\fcs1 \af37\afs22 \ltrch\fcs0 \f3\fs22\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault{\*\pn
\pnlvlblt\ilvl0\ls1\pnrnot0\pnf3 {\pntxtb \'b7}}\faauto\ls1\rin0\lin720\itap0\pararsid3763068 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 documentation for that major version of Coati;
\pnlvlblt\ilvl0\ls1\pnrnot0\pnf3 {\pntxtb \'b7}}\faauto\ls1\rin0\lin720\itap0\pararsid3763068 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 documentation for that major version of Sourcetrail;
\par {\pntext\pard\plain\ltrpar \rtlch\fcs1 \af37\afs22 \ltrch\fcs0 \f3\fs22\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault{\*\pn
\pnlvlblt\ilvl0\ls1\pnrnot0\pnf3 {\pntxtb \'b7}}\faauto\ls1\rin0\lin720\itap0\pararsid9175821 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097
minor updates included in software maintenance which are indicated by an increase in the numbers that follow the major version number (e.}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid9331093\charrsid5327097
g. the update from Coati 1.0.0 to Coati 1.1.0}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 ).
g. the update from Sourcetrail 1.0.0 to Sourcetrail 1.1.0}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 ).
\par }\pard \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault{\*\pn \pnlvlcont\ilvl0\ls0\pnrnot0\pndec }\faauto\rin0\lin0\itap0\pararsid9175821 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097
"Licensor" means:
\par {\pntext\pard\plain\ltrpar \rtlch\fcs1 \af37\afs22 \ltrch\fcs0 \f3\fs22\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard \ltrpar\ql \fi-360\li720\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault{\*\pn
@@ -246,7 +246,7 @@ ol of, or a national or resident of any restricted country or on any such list.
\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 between the parties and supersedes all prior agreements and representations between them. It may
be amended only in writing executed by both parties. Coati Software OG reserves the exclusive right to periodically update this }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid8353839 Agreement}{\rtlch\fcs1 \af37 \ltrch\fcs0
\f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 at its discretion at any time, with reasonable notice to you by posting the new }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid8353839 Agreement}{\rtlch\fcs1
\af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 at the following URL: }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\ul\cf2\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 <http://www.coati.io/>}{\rtlch\fcs1
\af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 at the following URL: }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\ul\cf2\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097 <http://www.sourcetrail.com/>}{\rtlch\fcs1
\af37 \ltrch\fcs0 \f37\lang1033\langfe1033\langnp1033\insrsid3763068\charrsid5327097
. Any action arising out of or relating to this Agreement may be brought exclusively in Salzburg, Austria, and Coati Software OG and you irrevocably consent to the jurisdiction of such courts and venue in Salzburg, Austria.
\par
@@ -259,7 +259,7 @@ be amended only in writing executed by both parties. Coati Software OG reserves
\par }{\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1031\langfe1033\langnp1031\insrsid3763068\charrsid8353839 Austria
\par }\pard\plain \ltrpar\ql \li0\ri0\sa200\sl276\slmult1\widctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid3763068 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \f31506\fs22\lang2057\langfe1033\cgrid\langnp2057\langfenp1033 {\rtlch\fcs1 \af37
\ltrch\fcs0 \f37\lang1031\langfe1033\langnp1031\insrsid3763068
\par }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1031\langfe1033\langnp1031\insrsid3232479 support@coati.io}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1031\langfe1033\langnp1031\insrsid3232479\charrsid8353839
\par }{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1031\langfe1033\langnp1031\insrsid3232479 support@sourcetrail.com}{\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\lang1031\langfe1033\langnp1031\insrsid3232479\charrsid8353839
\par }\pard \ltrpar\ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\rtlch\fcs1 \af31507 \ltrch\fcs0 \lang1033\langfe1033\langnp1033\insrsid9832860\charrsid5327097
\par }{\*\themedata 504b030414000600080000002100828abc13fa0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb6ac3301045f785fe83d0b6d8
72ba28a5d8cea249777d2cd20f18e4b12d6a8f843409c9df77ecb850ba082d74231062ce997b55ae8fe3a00e1893f354e9555e6885647de3a8abf4fbee29bbd7
+6 -6
View File
@@ -1,4 +1,4 @@
Coati
Sourcetrail
Software License Agreement (“Agreement”)
Effective 15.2.2017
@@ -8,9 +8,9 @@ BY INSTALLING OR USING THIS SOFTWARE, YOU ARE BECOMING A PARTY TO, AND ARE CONSE
DEFINITIONS
"Software" means:
• A major version of Coati in executable form. The major version is defined by the leading number of the version string (e.g. the major version of Coati 1.x.x is version 1);
• documentation for that major version of Coati;
• minor updates included in software maintenance which are indicated by an increase in the numbers that follow the major version number (e.g. the update from Coati 1.0.0 to Coati 1.1.0).
• A major version of Sourcetrail in executable form. The major version is defined by the leading number of the version string (e.g. the major version of Sourcetrail 1.x.x is version 1);
• documentation for that major version of Sourcetrail;
• minor updates included in software maintenance which are indicated by an increase in the numbers that follow the major version number (e.g. the update from Sourcetrail 1.0.0 to Sourcetrail 1.1.0).
"Licensor" means:
• Coati Software OG, having a place of business at Jakob-Haringer-Straße 1/127, 5020 Salzburg, Austria.
"Licensee" means:
@@ -83,7 +83,7 @@ Portions of the Software utilize or include third party software and other copyr
ENTIRE AGREEMENT
This Agreement represents the complete agreement concerning this Software between the parties and supersedes all prior agreements and representations between them. It may be amended only in writing executed by both parties. Coati Software OG reserves the exclusive right to periodically update this Agreement at its discretion at any time, with reasonable notice to you by posting the new Agreement at the following URL: <http://www.coati.io/>. Any action arising out of or relating to this Agreement may be brought exclusively in Salzburg, Austria, and Coati Software OG and you irrevocably consent to the jurisdiction of such courts and venue in Salzburg, Austria.
This Agreement represents the complete agreement concerning this Software between the parties and supersedes all prior agreements and representations between them. It may be amended only in writing executed by both parties. Coati Software OG reserves the exclusive right to periodically update this Agreement at its discretion at any time, with reasonable notice to you by posting the new Agreement at the following URL: <http://www.sourcetrail.com/>. Any action arising out of or relating to this Agreement may be brought exclusively in Salzburg, Austria, and Coati Software OG and you irrevocably consent to the jurisdiction of such courts and venue in Salzburg, Austria.
CONTACT
@@ -94,4 +94,4 @@ Jakob-Haringer-Straße 1/127
5020 Salzburg
Austria
support@coati.io
support@sourcetrail.com
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 27 KiB

+1
View File
@@ -19,4 +19,5 @@ QTextEdit {
background-color: rgba(255, 255, 255, 200);
border-radius: 10px;
border: 1px solid lightgrey;
color: black;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 166 KiB

+8
View File
@@ -6,6 +6,14 @@ QLabel, QCheckBox {
color: black;
}
QCheckBox::indicator {
color: black;
}
QCheckBox:disabled {
color: gray;
}
#title {
font-size: 16px;
font-weight: bold;
@@ -76,7 +76,7 @@
<network>
<plugin_port><!-- INTEGER: port the plugin listens to, standard is 6666 --></plugin_port>
<coati_port><!-- INTEGER: port coati is listening to, standard is 6667 --></coati_port>
<sourcetrail_port><!-- INTEGER: port sourcetrail is listening to, standard is 6667 --></sourcetrail_port>
</network>
<controls>
@@ -43,7 +43,7 @@ void deep_thought()
//------------------------------------------------------------------------------
//
// 2 - CONTEXT
// We just talked about Coati providing context to the important lines of code.
// We just talked about Sourcetrail providing context to the important lines of code.
// But it feels like something is missing here. What is "the_question"? And
// where does it come from?
//
@@ -51,7 +51,7 @@ void deep_thought()
// Do you see the first line of this snippet? I mean the one that has just two
// dots as line number and reads "deep_thought". Actually that's the name of
// the function's scope that encapsulates the snippet. By clicking that line
// you can tell Coati to expand the view to show the entire scope.
// you can tell Sourcetrail to expand the view to show the entire scope.
// Give it a try!
//
//------------------------------------------------------------------------------
@@ -32,16 +32,16 @@ void function_with_snippets()
//------------------------------------------------------------------------------
//
// 8 - YOU FOUND THE HIDDEN COMMENT
// Well done! As you see Coati merged the two snippets from before because
// Well done! As you see Sourcetrail merged the two snippets from before because
// expanding a scope would have caused them to overlap. That's all for the code
// view tutorial.
//
// 9 - EDIT YOUR CODE
// In case you wondered if you can edit your code using Coati: You can't. Coati
// In case you wondered if you can edit your code using Sourcetrail: You can't. Sourcetrail
// is designed for code exploration, not as a text editor or an IDE. But there
// is a chance that Coati can talk to your favorite editor (that you already
// is a chance that Sourcetrail can talk to your favorite editor (that you already
// know how to operate) via plugin. For more information about available
// plugins please take a look at Coati's documentation.
// plugins please take a look at Sourcetrail's documentation.
//
// We hope you enjoyed this tutorial. You can follow the call below to get back
// to the central hub.
@@ -8,7 +8,7 @@
//------------------------------------------------------------------------------
//
// 1 - THE GRAPH TUTORIAL
// In Coati's default window layout the graph is shown to the left, next to the
// In Sourcetrail's default window layout the graph is shown to the left, next to the
// code. It displays the structure of your project where all named symbols are
// nodes and all relations are edges. Like the code view it shows only the
// currently active symbol and all the incoming and outgoing dependencies.
@@ -10,7 +10,7 @@
// 3 - WELL DONE
// You activated a node and both, the graph and the code view have been updated
// accordingly.
// Note that even though Coati provides a graph view it does not remove the
// Note that even though Sourcetrail provides a graph view it does not remove the
// need for reading code. The graph view is great for gaining a quick overview
// on relations and navigating code, but once you found something you are
// interested in you should still consider the code view to actually read up on
@@ -38,7 +38,7 @@ public:
{
}
void coati_uses_different_colors()
void sourcetrail_uses_different_colors()
{
}
@@ -21,9 +21,9 @@ public:
// an element with a hatched background please call us. It's a runaway!
// Just kidding. Those are elements that are used within your code, but have no
// definition anywhere in your source folder (like the "int" symbol on the
// right hand side of the graph). So if you click them, Coati will display
// right hand side of the graph). So if you click them, Sourcetrail will display
// all the relations for the element, but the code view won't show a
// definition. If you want to learn more about Coati, go back to the central
// definition. If you want to learn more about Sourcetrail, go back to the central
// hub. It is called in the function below but you can also try to get there
// using only the graph.
//
@@ -21,9 +21,9 @@ public:
//------------------------------------------------------------------------------
//
// 6 - FOCUSING EDGES
// Even though Coati doesn't allow to activate an edge, you can still focus on
// Even though Sourcetrail doesn't allow to activate an edge, you can still focus on
// edges. This doesn't change the currently active symbol (which would cause
// Coati to hide everything but the edge). Instead Coati just highlights the
// Sourcetrail to hide everything but the edge). Instead Sourcetrail just highlights the
// relation's location in the code and scrolls you there, so you don't lose
// context.
// Try to activate an edge that comes from the "ProducerOfTheLastMember" class.
@@ -8,19 +8,19 @@
//------------------------------------------------------------------------------
//
// WHAT JUST HAPPENED?
// Coati uses the concept of an "active" symbol. You just changed the active
// Sourcetrail uses the concept of an "active" symbol. You just changed the active
// symbol by clicking on the name of a function.
//
// OK, BUT WHAT IS AN ACTIVE SYMBOL?
// Coati doesn't show your entire code base on a single screen. Even for
// Sourcetrail doesn't show your entire code base on a single screen. Even for
// relatively small projects that would be pointless - trust me on that. So
// instead of showing everything at once, Coati keeps a strongly focused view
// instead of showing everything at once, Sourcetrail keeps a strongly focused view
// on your code. This focus only includes the currently active symbol and its
// direct relations. Nothing more. By changing the active symbol as you just
// did, Coati allows you to jump through the code base on your own.
// did, Sourcetrail allows you to jump through the code base on your own.
//
// I THINK I GOT IT!
// Now that you understand Coati's central concept you are ready to activate
// Now that you understand Sourcetrail's central concept you are ready to activate
// the "my_next_step()" symbol below.
//
//------------------------------------------------------------------------------
@@ -9,7 +9,7 @@
//
// 1 - THE SEARCH TUTORIAL
// If you haven't messed up anything yet, you'll find the search bar to the
// upper left of Coati's user interface. Initially it shows the name of the
// upper left of Sourcetrail's user interface. Initially it shows the name of the
// currently active symbol.
// Use the shortcut "CTRL/CMD + F" to focus the search bar. You can also just
// click it. Try that now and enter the string "find_me_if_you_can" to search
@@ -9,10 +9,10 @@
//
// 2 - THE AUTOCOMPLETION
// I hope you have been lazy enough to not enter the whole string from start to
// finish. So you already noticed Coati's autocompletion box.
// While you enter your search request Coati already tries to find a subset of
// finish. So you already noticed Sourcetrail's autocompletion box.
// While you enter your search request Sourcetrail already tries to find a subset of
// matching symbols to help you get where you want pretty fast.
// But that's not all Coati does. Keep an eye on the search bar while entering
// But that's not all Sourcetrail does. Keep an eye on the search bar while entering
// the string "aux" and activate the symbol showing up.
//
//------------------------------------------------------------------------------
@@ -13,10 +13,10 @@
// Here comes the bad news: Even though this tutorial contains some code that
// would compile, the code doesn't make much sense. So trying to explore this
// project any further would be rather unproductive.
// The good news is: In addition to this tutorial Coati also ships with a real
// The good news is: In addition to this tutorial Sourcetrail also ships with a real
// example project that implements the game Tic-Tac-Toe! You can open the
// project via the "Project -> Recent Projects" menu.
// You can also start exploring your own projects by creating a new Coati
// You can also start exploring your own projects by creating a new Sourcetrail
// project where you can add all your source and include paths.
//
//------------------------------------------------------------------------------
@@ -11,9 +11,9 @@
//------------------------------------------------------------------------------
//
// THE HUB
// This is the central hub of Coati's tutorial. From here you can embark on
// short trips to explore the different parts of Coati. Most important: You
// will get to know how all the different parts of Coati interact.
// This is the central hub of Sourcetrail's tutorial. From here you can embark on
// short trips to explore the different parts of Sourcetrail. Most important: You
// will get to know how all the different parts of Sourcetrail interact.
// The function below references all the available tutorials. So pick one and
// jump right to action.
//
@@ -2,12 +2,12 @@
<config>
<description>
WHAT IS THIS?\n
\tThis is a tutorial and it is one of the fastest ways to get to know Coati.\n
\tThis is a tutorial and it is one of the fastest ways to get to know Sourcetrail.\n
\n
WHERE AM I?\n
\tYou're looking at Coati's Code View which usually displays source code,\n
\tYou're looking at Sourcetrail's Code View which usually displays source code,\n
\tbut every time a new project is loaded it gives a quick summary to\n
\testimate the project's size. This is a fairly small project. It only\n
\testimate the project's size. This is a fairly small project. It only\n
\tcontains a few hundred lines of code as you can see by the numbers below.\n
\n
LET'S GET STARTED!\n
File diff suppressed because one or more lines are too long
@@ -1,143 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ALL_BUILD", "ALL_BUILD.vcxproj", "{DA1883F0-4E0B-4AFF-9F5F-CE775864A478}"
ProjectSection(ProjectDependencies) = postProject
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE} = {1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B} = {4C93DA19-9044-4CC2-B882-8BE3179BBC1B}
{CD5FE56F-D1AC-484E-9C6F-A36E77775749} = {CD5FE56F-D1AC-484E-9C6F-A36E77775749}
{59DBE515-BC0B-4FA1-9884-66C42732BAD1} = {59DBE515-BC0B-4FA1-9884-66C42732BAD1}
{FFEFE870-CA3B-41FB-8F26-808556BADFEC} = {FFEFE870-CA3B-41FB-8F26-808556BADFEC}
{DCB116BC-2AB9-40CC-969F-F282CB18F370} = {DCB116BC-2AB9-40CC-969F-F282CB18F370}
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36} = {B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati", "Coati.vcxproj", "{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}"
ProjectSection(ProjectDependencies) = postProject
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B} = {4C93DA19-9044-4CC2-B882-8BE3179BBC1B}
{CD5FE56F-D1AC-484E-9C6F-A36E77775749} = {CD5FE56F-D1AC-484E-9C6F-A36E77775749}
{59DBE515-BC0B-4FA1-9884-66C42732BAD1} = {59DBE515-BC0B-4FA1-9884-66C42732BAD1}
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati_lib", "Coati_lib.vcxproj", "{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}"
ProjectSection(ProjectDependencies) = postProject
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati_lib_gui", "Coati_lib_gui.vcxproj", "{CD5FE56F-D1AC-484E-9C6F-A36E77775749}"
ProjectSection(ProjectDependencies) = postProject
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36} = {B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati_lib_parser", "Coati_lib_parser.vcxproj", "{59DBE515-BC0B-4FA1-9884-66C42732BAD1}"
ProjectSection(ProjectDependencies) = postProject
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati_test", "Coati_test.vcxproj", "{FFEFE870-CA3B-41FB-8F26-808556BADFEC}"
ProjectSection(ProjectDependencies) = postProject
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B} = {4C93DA19-9044-4CC2-B882-8BE3179BBC1B}
{59DBE515-BC0B-4FA1-9884-66C42732BAD1} = {59DBE515-BC0B-4FA1-9884-66C42732BAD1}
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Coati_trial", "Coati_trial.vcxproj", "{DCB116BC-2AB9-40CC-969F-F282CB18F370}"
ProjectSection(ProjectDependencies) = postProject
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B} = {4C93DA19-9044-4CC2-B882-8BE3179BBC1B}
{CD5FE56F-D1AC-484E-9C6F-A36E77775749} = {CD5FE56F-D1AC-484E-9C6F-A36E77775749}
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZERO_CHECK", "ZERO_CHECK.vcxproj", "{1ED030FB-B3D6-42D3-A1A0-265176C455DB}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "versionnumber", "versionnumber.vcxproj", "{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}"
ProjectSection(ProjectDependencies) = postProject
{1ED030FB-B3D6-42D3-A1A0-265176C455DB} = {1ED030FB-B3D6-42D3-A1A0-265176C455DB}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
MinSizeRel|Win32 = MinSizeRel|Win32
RelWithDebInfo|Win32 = RelWithDebInfo|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DA1883F0-4E0B-4AFF-9F5F-CE775864A478}.Debug|Win32.ActiveCfg = Debug|Win32
{DA1883F0-4E0B-4AFF-9F5F-CE775864A478}.Release|Win32.ActiveCfg = Release|Win32
{DA1883F0-4E0B-4AFF-9F5F-CE775864A478}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{DA1883F0-4E0B-4AFF-9F5F-CE775864A478}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.Debug|Win32.ActiveCfg = Debug|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.Debug|Win32.Build.0 = Debug|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.Release|Win32.ActiveCfg = Release|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.Release|Win32.Build.0 = Release|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{1F32D55F-217E-4DA3-9FC7-6D6928AAB0DE}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.Debug|Win32.ActiveCfg = Debug|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.Debug|Win32.Build.0 = Debug|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.Release|Win32.ActiveCfg = Release|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.Release|Win32.Build.0 = Release|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{4C93DA19-9044-4CC2-B882-8BE3179BBC1B}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.Debug|Win32.ActiveCfg = Debug|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.Debug|Win32.Build.0 = Debug|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.Release|Win32.ActiveCfg = Release|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.Release|Win32.Build.0 = Release|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{CD5FE56F-D1AC-484E-9C6F-A36E77775749}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.Debug|Win32.ActiveCfg = Debug|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.Debug|Win32.Build.0 = Debug|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.Release|Win32.ActiveCfg = Release|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.Release|Win32.Build.0 = Release|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{59DBE515-BC0B-4FA1-9884-66C42732BAD1}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.Debug|Win32.ActiveCfg = Debug|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.Debug|Win32.Build.0 = Debug|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.Release|Win32.ActiveCfg = Release|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.Release|Win32.Build.0 = Release|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{FFEFE870-CA3B-41FB-8F26-808556BADFEC}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.Debug|Win32.ActiveCfg = Debug|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.Debug|Win32.Build.0 = Debug|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.Release|Win32.ActiveCfg = Release|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.Release|Win32.Build.0 = Release|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{DCB116BC-2AB9-40CC-969F-F282CB18F370}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.Debug|Win32.ActiveCfg = Debug|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.Debug|Win32.Build.0 = Debug|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.Release|Win32.ActiveCfg = Release|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.Release|Win32.Build.0 = Release|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{1ED030FB-B3D6-42D3-A1A0-265176C455DB}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.Debug|Win32.ActiveCfg = Debug|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.Debug|Win32.Build.0 = Debug|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.Release|Win32.ActiveCfg = Release|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.Release|Win32.Build.0 = Release|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.MinSizeRel|Win32.ActiveCfg = MinSizeRel|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.MinSizeRel|Win32.Build.0 = MinSizeRel|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.RelWithDebInfo|Win32.ActiveCfg = RelWithDebInfo|Win32
{B5918FF6-3CD0-4CB2-9DDB-456F7318CD36}.RelWithDebInfo|Win32.Build.0 = RelWithDebInfo|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+22 -22
View File
@@ -3,7 +3,7 @@ function(InstallQtModule module qtversion componentName)
get_filename_component(realpath $ENV{QT_DIR}/lib/libQt5${module}.so.${qtversion} REALPATH)
INSTALL(FILES
${realpath}
DESTINATION Coati/lib
DESTINATION Sourcetrail/lib
COMPONENT ${componentName}
RENAME libQt5${module}.so.${qtversion}
)
@@ -26,7 +26,7 @@ function(GetAndInstallLibrary libraryName componentName)
else()
INSTALL(FILES
${realPath}
DESTINATION Coati/lib
DESTINATION Sourcetrail/lib
COMPONENT ${componentName}
RENAME ${SHORTER}
)
@@ -45,7 +45,7 @@ endfunction(InstallQt)
function(AddSharedToComponent componentName)
INSTALL(DIRECTORY
${CMAKE_SOURCE_DIR}/bin/app/data
DESTINATION Coati
DESTINATION Sourcetrail
COMPONENT ${componentName}
PATTERN "log/*" EXCLUDE
PATTERN "data/src" EXCLUDE
@@ -59,7 +59,7 @@ function(AddSharedToComponent componentName)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/bin/app/data/gui/installer/EULA.txt
COMPONENT ${componentName}
DESTINATION Coati
DESTINATION Sourcetrail
)
InstallQt(5 ${componentName})
@@ -99,24 +99,24 @@ function(AddSharedToComponent componentName)
INSTALL(DIRECTORY
$ENV{QT_DIR}/plugins/platforms
DESTINATION Coati/lib
DESTINATION Sourcetrail/lib
COMPONENT ${componentName}
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/bin/app/data/fallback/ApplicationSettings.xml
COMPONENT ${componentName}
DESTINATION Coati/user
DESTINATION Sourcetrail/user
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/bin/app/data/fallback/window_settings.ini
COMPONENT ${componentName}
DESTINATION Coati/user
DESTINATION Sourcetrail/user
)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/user
DESTINATION Coati
DESTINATION Sourcetrail
COMPONENT ${componentName}
PATTERN "ApplicationSettings.xml" EXCLUDE
PATTERN "ApplicationSettings_for_package.xml" EXCLUDE
@@ -132,21 +132,21 @@ AddSharedToComponent(FULL)
INSTALL(DIRECTORY
${CMAKE_SOURCE_DIR}/ide_plugins/
DESTINATION Coati/plugin
DESTINATION Sourcetrail/plugin
COMPONENT FULL
PATTERN "vs" EXCLUDE
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/setup/Linux/README
DESTINATION Coati
DESTINATION Sourcetrail
COMPONENT FULL
)
INSTALL(FILES
${CMAKE_SOURCE_DIR}/setup/Linux/coati.desktop
${CMAKE_SOURCE_DIR}/setup/Linux/coati-mime.xml
DESTINATION Coati/setup
${CMAKE_SOURCE_DIR}/setup/Linux/sourcetrail.desktop
${CMAKE_SOURCE_DIR}/setup/Linux/sourcetrail-mime.xml
DESTINATION Sourcetrail/setup
COMPONENT FULL
)
@@ -154,19 +154,19 @@ INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/install.sh
${CMAKE_SOURCE_DIR}/setup/Linux/deinstall.sh
${CMAKE_SOURCE_DIR}/setup/Linux/removeConfigs.sh
DESTINATION Coati/setup
DESTINATION Sourcetrail/setup
COMPONENT FULL
)
INSTALL(PROGRAMS
${CMAKE_SOURCE_DIR}/setup/Linux/Coati.sh
DESTINATION Coati
${CMAKE_SOURCE_DIR}/setup/Linux/Sourcetrail.sh
DESTINATION Sourcetrail
COMPONENT FULL
)
INSTALL(TARGETS
${APP_PROJECT_NAME}
DESTINATION Coati
DESTINATION Sourcetrail
COMPONENT FULL
)
@@ -188,11 +188,11 @@ else()
set(VERSION_NUMBER "${VERSION_MAJOR}_${VERSION_MINOR}_${VERSION_COMMIT}")
endif()
SET(CPACK_PACKAGE_NAME "Coati")
SET(CPACK_PACKAGE_NAME "Sourcetrail")
SET(CPACK_PACKAGING_INSTALL_PREFIX "")
SET(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
#SET(CPACK_TOPLEVEL_TAG "Coati")
SET(CPACK_PACKAGING_INSTALL_DIRECTORY "Coati")
#SET(CPACK_TOPLEVEL_TAG "Sourcetrail")
SET(CPACK_PACKAGING_INSTALL_DIRECTORY "Sourcetrail")
SET(CPACK_PACKAGE_VERSION ${VERSION_NUMBER})
SET(CPACK_PACKAGE_VENDOR "Coati Software")
SET(CPACK_INSTALL_SCRIPT "${CMAKE_SOURCE_DIR}/cmake/pre_install_linux.cmake")
@@ -201,8 +201,8 @@ if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
else()
SET(CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}_32bit")
endif()
SET(CPACK_PACKAGE_FILE_NAME "Coati_${VERSION_NUMBER}_${CPACK_SYSTEM_NAME}")
SET(CPACK_STRIP_FILES "Coati/coati")
SET(CPACK_PACKAGE_FILE_NAME "Sourcetrail_${VERSION_NUMBER}_${CPACK_SYSTEM_NAME}")
SET(CPACK_STRIP_FILES "Sourcetrail/sourcetrail")
SET(CPACK_PACKAGE_CONTACT "astallinger@coati.io")
INCLUDE(CPack)
+1 -1
View File
@@ -7,7 +7,7 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE
)
set(EXTERNAL_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/../Coati_External")
set(EXTERNAL_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/../Sourcetrail_External")
set(EXTERNAL_SRC "${EXTERNAL_ROOT}/src")
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(EXTERNAL_BUILD "${EXTERNAL_ROOT}/${SYSSTRING}/Debug")
+14 -14
View File
@@ -11,22 +11,22 @@ function(Run)
)
endfunction()
# upx
set(upxPath ${CMAKE_CURRENT_LIST_DIR}/../build/Release/app)
set(binPath ${CMAKE_CURRENT_LIST_DIR}/../build/Release/app/Sourcetrail)
set(projPath ${CMAKE_CURRENT_LIST_DIR}/../bin/app/user/projects)
execute_process(
COMMAND ${upxPath}/Coati -z ${CMAKE_CURRENT_LIST_DIR}/../setup/license.txt
)
execute_process(
COMMAND ${binPath} -z ${CMAKE_CURRENT_LIST_DIR}/../setup/license.txt
)
execute_process(
COMMAND ${upxPath}/Coati -f -d ${CMAKE_CURRENT_LIST_DIR}/../bin/app/user/projects/tictactoe/tictactoe.coatiproject
)
execute_process(
COMMAND ${binPath} -f -d ${projPath}/tictactoe/tictactoe.srctrlprj
)
execute_process(
COMMAND ${upxPath}/Coati -f -d ${CMAKE_CURRENT_LIST_DIR}/../bin/app/user/projects/tutorial/tutorial.coatiproject
)
execute_process(
COMMAND ${binPath} -f -d ${projPath}/tutorial/tutorial.srctrlprj
)
execute_process(
COMMAND ${upxPath}/Coati -f -d ${CMAKE_CURRENT_LIST_DIR}/../bin/app/user/projects/javaparser/javaparser.coatiproject
)
execute_process(
COMMAND ${binPath} -f -d ${projPath}/javaparser/javaparser.srctrlprj
)
+3 -3
View File
@@ -1,8 +1,8 @@
# searching for public key file of the Coati version in setup/RSA_keys
# searching for public key file of the Sourcetrail version in setup/RSA_keys
# if found the file will be put into a const string into the PubicKeh.h file
string(REGEX REPLACE "^([0-9]+)\\..*" "\\1" VERSION_MAJOR "${GIT_VERSION_NUMBER}")
message(STATUS "Get Public Key for Coati version: ${VERSION_MAJOR}")
message(STATUS "Get Public Key for Sourcetrail version: ${VERSION_MAJOR}")
# message(STATUS "${CMAKE_SOURCE_DIR}/setup/RSA_keys/public-${VERSION_MAJOR}.pem")
message(STATUS "${CMAKE_SOURCE_DIR}/setup/RSA_keys/public-0.pem") # explain in Readme.md how to get this to work first
@@ -18,7 +18,7 @@ if(EXISTS ${pubKeyFile})
STRING(REGEX REPLACE "\n" "\\\\n\"\n\t\"" KEY "${KEY}")
# message(STATUS "key: ${KEY}")
else()
message(WARNING "public keyfile for this version of Coati not found")
message(WARNING "public keyfile for this version of Sourcetrail not found")
endif()
configure_file(
+3 -3
View File
@@ -1,9 +1,9 @@
#ifndef COATI_VERSION_H
#define COATI_VERSION_H
#ifndef SOURCETRAIL_VERSION_H
#define SOURCETRAIL_VERSION_H
#define GIT_BRANCH "@GIT_BRANCH@"
#define GIT_VERSION_NUMBER "@GIT_VERSION_NUMBER@"
#define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@"
#define GIT_COMMIT_TIME "@GIT_COMMIT_TIME@"
#endif // COATI_VERSION_H
#endif // SOURCETRAIL_VERSION_H
@@ -35,34 +35,34 @@ namespace SetupAppSettings
private static void RemoveLogFolder()
{
// remove logs
string path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati\\log";
string path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Sourcetrail\\log";
if (Directory.Exists(path))
{
Directory.Delete(path, true);
}
// remove sample projects
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati\\projects\\tutorial";
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Sourcetrail\\projects\\tutorial";
if(Directory.Exists(path))
{
Directory.Delete(path, true);
}
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati\\projects\\tictactoe";
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Sourcetrail\\projects\\tictactoe";
if (Directory.Exists(path))
{
Directory.Delete(path, true);
}
// remove projects folder if empty (avoid deleting user generated files)
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati\\projects";
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Sourcetrail\\projects";
if (Directory.Exists(path) && !Directory.EnumerateFileSystemEntries(path).Any())
{
Directory.Delete(path, true);
}
// remove coati folder if empty (may not be empty if user stored stuff in here)
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Coati";
// remove sourcetrail folder if empty (may not be empty if user stored stuff in here)
path = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software\\Sourcetrail";
if (Directory.Exists(path) && !Directory.EnumerateFileSystemEntries(path).Any())
{
Directory.Delete(path, true);
@@ -74,9 +74,9 @@ namespace SetupAppSettings
Directory.Delete(path, true);
}
//string coatiPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software";
//string sourcetrailPath = Environment.GetEnvironmentVariable("APPDATA") + "\\..\\local\\Coati Software";
//Directory.Delete(coatiPath, true);
//Directory.Delete(sourcetrailPath, true);
}
}
}
@@ -5,22 +5,22 @@ int main()
{
HKEY hKey;
#ifdef WIN64
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Coati 64-bit\\coatiSoftwareAppData"), 0, KEY_READ, &hKey);
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Sourcetrail 64-bit\\sourcetrailAppData"), 0, KEY_READ, &hKey);
#else
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Coati\\coatiSoftwareAppData"), 0, KEY_READ, &hKey);
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Sourcetrail\\sourcetrailAppData"), 0, KEY_READ, &hKey);
#endif
if (lResult == ERROR_SUCCESS)
{
std::cout << "Coati found" << std::endl;
std::cout << "Sourcetrail found" << std::endl;
std::cout << "Performing upgrade" << std::endl;
}
else
{
std::cout << "Coati not found" << std::endl;
std::cout << "Sourcetrail not found" << std::endl;
std::cout << "Performing initial installation" << std::endl;
}
system("msiexec /i coati.msi");
system("msiexec /i sourcetrail.msi");
return 0;
}
+11 -11
View File
@@ -8,7 +8,7 @@
<?endif ?>
<Fragment>
<DirectoryRef Id='CoatiAppData'>
<DirectoryRef Id='SourcetrailAppData'>
<Directory Id="SampleProjects" Name="projects">
<Component Id="SampleProjects" Guid="12F6C3BE-CE83-441A-8A5D-E49EA1483F24" Win64="$(var.Win64)">
@@ -17,14 +17,14 @@
</Component>
<Directory Id="SampleProjectTictactoe" Name="tictactoe">
<Component Id="TictactoeCoatiproject" Guid="E353FD02-79FD-4409-9874-3282B038DD12" Win64="$(var.Win64)">
<Component Id="TictactoeSourcetrailproject" Guid="E353FD02-79FD-4409-9874-3282B038DD12" Win64="$(var.Win64)">
<CreateFolder />
<RemoveFolder Id='SampleProjectTictactoe' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\tictactoeProjectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='TictactoeDb' Name='tictactoe.coatidb' DiskId='1' Source='./../../../bin/app/user/projects/tictactoe/tictactoe.coatidb' KeyPath='no' />
<File Id='TictactoeProject' Name='tictactoe.coatiproject' DiskId='1' Source='./../../../bin/app/user/projects/tictactoe/tictactoe.coatiproject' KeyPath='no' />
<File Id='TictactoeDb' Name='tictactoe.srctrldb' DiskId='1' Source='./../../../bin/app/user/projects/tictactoe/tictactoe.srctrldb' KeyPath='no' />
<File Id='TictactoeProject' Name='tictactoe.srctrlprj' DiskId='1' Source='./../../../bin/app/user/projects/tictactoe/tictactoe.srctrlprj' KeyPath='no' />
</Component>
<Directory Id="TictactoeSrc" Name="src">
@@ -59,14 +59,14 @@
</Directory>
<Directory Id="SampleProjectTutorial" Name="tutorial">
<Component Id="TutorialCoatiproject" Guid="D7976D20-0447-4628-942B-0C8BE49E190E" Win64="$(var.Win64)">
<Component Id="TutorialSourcetrailproject" Guid="D7976D20-0447-4628-942B-0C8BE49E190E" Win64="$(var.Win64)">
<CreateFolder />
<RemoveFolder Id='SampleProjectTutorial' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\tutorialProjectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='TutorialDb' Name='tutorial.coatidb' DiskId='1' Source='./../../../bin/app/user/projects/tutorial/tutorial.coatidb' KeyPath='no' />
<File Id='TutorialProject' Name='tutorial.coatiproject' DiskId='1' Source='./../../../bin/app/user/projects/tutorial/tutorial.coatiproject' KeyPath='no' />
<File Id='TutorialDb' Name='tutorial.srctrldb' DiskId='1' Source='./../../../bin/app/user/projects/tutorial/tutorial.srctrldb' KeyPath='no' />
<File Id='TutorialProject' Name='tutorial.srctrlprj' DiskId='1' Source='./../../../bin/app/user/projects/tutorial/tutorial.srctrlprj' KeyPath='no' />
</Component>
<Directory Id="TutorialSrc" Name="src">
@@ -101,14 +101,14 @@
</Directory>
<Directory Id="SampleProjectJavaparser" Name="javaparser">
<Component Id="JavaparserCoatiproject" Guid="39B413EF-C9F4-4B06-BF91-028C7D931303" Win64="$(var.Win64)">
<Component Id="JavaparserSourcetrailproject" Guid="39B413EF-C9F4-4B06-BF91-028C7D931303" Win64="$(var.Win64)">
<CreateFolder />
<RemoveFolder Id='SampleProjectJavaparser' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\JavaparserCoatiprojectKey" Root="HKCU" >
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\JavaparserSourcetrailprojectKey" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<File Id='JavaparserDb' Name='javaparser.coatidb' DiskId='1' Source='./../../../bin/app/user/projects/javaparser/javaparser.coatidb' KeyPath='no' />
<File Id='JavaparserProject' Name='javaparser.coatiproject' DiskId='1' Source='./../../../bin/app/user/projects/javaparser/javaparser.coatiproject' KeyPath='no' />
<File Id='JavaparserDb' Name='javaparser.srctrldb' DiskId='1' Source='./../../../bin/app/user/projects/javaparser/javaparser.srctrldb' KeyPath='no' />
<File Id='JavaparserProject' Name='javaparser.srctrlprj' DiskId='1' Source='./../../../bin/app/user/projects/javaparser/javaparser.srctrlprj' KeyPath='no' />
</Component>
<Directory Id="SampleProjectJavaparserSrc" Name="src">
<Component Id="SampleProjectJavaparserSrcFolder" Guid="560AEF91-AE8A-485B-BC69-928D3584EE05" Win64="$(var.Win64)">
+3 -3
View File
@@ -32,10 +32,10 @@ OUTPUT_DIR=bin/$WIN_ARCH
rm -rf $OUTPUT_DIR
mkdir $OUTPUT_DIR
candle.exe -dProductVersion="$VERSION_STRING" -dProductGuid="$PRODUCT_GUID" -arch $X_ARCH coati.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
light.exe -ext WixUIExtension build/coati.wixobj build/customActions.wixobj build/dialogShortcuts.wixobj build/installDir.wixobj build/appDataDir.wixobj -out build/coati.msi > build/linkLog.txt
candle.exe -dProductVersion="$VERSION_STRING" -dProductGuid="$PRODUCT_GUID" -arch $X_ARCH sourcetrail.wxs customActions.wxs dialogShortcuts.wxs installDir.wxs appDataDir.wxs -out build/ > build/compileLog.txt
light.exe -ext WixUIExtension build/sourcetrail.wixobj build/customActions.wixobj build/dialogShortcuts.wixobj build/installDir.wixobj build/appDataDir.wixobj -out build/sourcetrail.msi > build/linkLog.txt
cp -u -r build/coati.msi $OUTPUT_DIR
cp -u -r build/sourcetrail.msi $OUTPUT_DIR
cp -u -r build/Setup.exe $OUTPUT_DIR
cp -u -r lib/$WIN_ARCH/* $OUTPUT_DIR
cp -u -r readme.txt $OUTPUT_DIR
@@ -11,7 +11,7 @@
<Text>{\DlgTitleFont}Create shortcuts</Text>
</Control>
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
<Text>Do you want to create shortcuts for Coati?</Text>
<Text>Do you want to create shortcuts for Sourcetrail?</Text>
</Control>
<Control Id="DesktopShortcutCheckBox" Type="CheckBox" X="25" Y="50" Width="290" Height="17"
+11 -8
View File
@@ -13,17 +13,20 @@
<DirectoryRef Id='INSTALLDIR'>
<Component Id='MainExecutable' Guid='A6136907-B3C5-4393-88D7-2ACF63E138A8' Win64="$(var.Win64)">
<File Id='CoatiEXE' Name='Coati.exe' DiskId='1' Source='$(var.PlatformSourceFolder)/Coati.exe' KeyPath='yes' />
<File Id='SourcetrailEXE' Name='Sourcetrail.exe' DiskId='1' Source='$(var.PlatformSourceFolder)/Sourcetrail.exe' KeyPath='yes' />
<!-- File association -->
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\[ProductName].Document" Name="projectfile" Value="Coati project file" Type="string" />
<ProgId Id='Coati.coatiprojectfile' Description='Coati project file' Advertise='yes' Icon='Project.ico'>
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\[ProductName].Document" Name="projectfile" Value="Sourcetrail project file" Type="string" />
<ProgId Id='Sourcetrail.sourcetrailprojectfile' Description='Sourcetrail project file' Advertise='yes' Icon='Project.ico'>
<Extension Id='srctrlprj'> <!-- ContentType='application/sourcetrailproject' Advertise='no' -->
<Verb Id='open' Command='Open' Argument='"%1"' />
<MIME Advertise='yes' ContentType='application/sourcetrailproject' Default='yes' />
</Extension>
<Extension Id='coatiproject'> <!-- ContentType='application/coatiproject' Advertise='no' -->
<Verb Id='open' Command='Open' Argument='"%1"' />
<MIME Advertise='yes' ContentType='application/coatiproject' Default='yes' />
</Extension>
</ProgId>
</Component>
<Component Id='Qt5CoreDll' Guid='0C899A49-DE40-4D35-A0E9-9B64E330BCFA' Win64="$(var.Win64)">
@@ -283,8 +286,8 @@
<Component Id='LogoAwsPng' Guid='B20C4EB0-1782-4575-A653-F48DE9D9C4B8' Win64="$(var.Win64)">
<File Id='LogoAws' Name='logo_aws.png' DiskId='1' Source='./../../../bin/app/data/gui/about/logo_aws.png' KeyPath='yes' />
</Component>
<Component Id='LogoCoatiPng' Guid='3ACD90D9-6099-4E95-AD99-AF7CD695BEB9' Win64="$(var.Win64)">
<File Id='LogoCoati' Name='logo_coati.png' DiskId='1' Source='./../../../bin/app/data/gui/about/logo_coati.png' KeyPath='yes' />
<Component Id='LogoSourcetrailPng' Guid='3ACD90D9-6099-4E95-AD99-AF7CD695BEB9' Win64="$(var.Win64)">
<File Id='LogoSourcetrail' Name='logo_sourcetrail.png' DiskId='1' Source='./../../../bin/app/data/gui/about/logo_sourcetrail.png' KeyPath='yes' />
</Component>
<Component Id='LogoFhsPng' Guid='1CEBF789-6E41-4E33-A04B-5B809343C665' Win64="$(var.Win64)">
<File Id='LogoFhs' Name='logo_fhs.png' DiskId='1' Source='./../../../bin/app/data/gui/about/logo_fhs.png' KeyPath='yes' />
@@ -438,8 +441,8 @@
<Component Id='Cdb_icon_Png' Guid='BFEF4175-69DA-49E3-A650-9C5995A3E8E7' Win64="$(var.Win64)">
<File Id='Cdb_icon' Name='cdb_icon.png' DiskId='1' Source='./../../../bin/app/data/gui/icon/cdb_icon.png' KeyPath='yes' />
</Component>
<Component Id='CoatiIco' Guid='9D65B057-EA87-4251-8898-9FAD23AD3371' Win64="$(var.Win64)">
<File Id='Coati' Name='coati.ico' DiskId='1' Source='./../../../bin/app/data/gui/icon/coati.ico' KeyPath='yes' />
<Component Id='SourcetrailIco' Guid='9D65B057-EA87-4251-8898-9FAD23AD3371' Win64="$(var.Win64)">
<File Id='Sourcetrail' Name='sourcetrail.ico' DiskId='1' Source='./../../../bin/app/data/gui/icon/sourcetrail.ico' KeyPath='yes' />
</Component>
<Component Id='Cpp_icon_Png' Guid='B9EB2C3F-6256-4F54-9F8C-7DC338424839' Win64="$(var.Win64)">
<File Id='Cpp_icon' Name='cpp_icon.png' DiskId='1' Source='./../../../bin/app/data/gui/icon/cpp_icon.png' KeyPath='yes' />
+1 -1
View File
@@ -1 +1 @@
msiexec /i coati.msi REINSTALL=ALL REINSTALLMODE=vomus /l*v installLog.txt
msiexec /i sourcetrail.msi REINSTALL=ALL REINSTALLMODE=vomus /l*v installLog.txt
+5 -9
View File
@@ -1,12 +1,8 @@
===============
||Coati Setup||
===============
=====================
||Sourcetrail Setup||
=====================
To install Coati simply run 'Setup.exe'
To install Sourcetrail simply run 'Setup.exe'
If you have a previous version installed, Setup.exe will attempt to upgrade*.
If you have a previous version installed, Setup.exe will attempt to upgrade.
Your previous application specific settings will be maintained.
*Upgrades work for Coati versions newer than 0.9.0
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<?define ProductName = "Coati" ?>
<?define ProductName = "Sourcetrail" ?>
<?define ProductAuthor = "Coati Software OG" ?>
<?define ProductAppFolder = "InstallLocation" ?>
@@ -74,7 +74,7 @@
Description="Remove $(var.ProductDisplayName) from your computer"
Target="[INSTALLDIR]uninstall.bat" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\CoatiUninstall" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\SourcetrailUninstall" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
</Component>
@@ -84,9 +84,9 @@
Name="$(var.ProductDisplayName)"
Description="The Source Explorer"
Target="[INSTALLDIR]Coati.exe"
Target="[INSTALLDIR]Sourcetrail.exe"
WorkingDirectory="INSTALLDIR"/>
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\CoatiShortcut" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\SourcetrailShortcut" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</Directory>
</Directory>
@@ -98,17 +98,17 @@
<Shortcut Id="ApplicationDesktopShortcut"
Name="$(var.ProductDisplayName)"
Description="Source Explorer"
Target="[INSTALLDIR]Coati.exe"
Target="[INSTALLDIR]Sourcetrail.exe"
WorkingDirectory="INSTALLDIR"/>
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\CoatiDesktop" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\SourcetrailDesktop" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</Directory>
<!-- Application Folder -->
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='COMPANYDIR' Name='Coati Software'>
<Directory Id='INSTALLDIR' Name='Coati' />
<Directory Id='INSTALLDIR' Name='Sourcetrail' />
</Directory>
</Directory>
@@ -120,16 +120,16 @@
<Component Id="CoatiSoftwareAppDataDummy" Guid="E57CFAEC-B3E7-45EB-8B94-F50EBDA1355C" Win64="$(var.Win64)">
<CreateFolder />
<RemoveFolder Id='CoatiSoftwareAppData' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\coatiSoftwareAppData" Root="HKCU" >
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\sourcetrailSoftwareAppData" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
<Directory Id="CoatiAppData" Name="$(var.ProductDisplayName)">
<Component Id="CoatiAppDataDummy" Guid="93024EB9-ED47-4D0D-B790-1028E10F8015" Win64="$(var.Win64)">
<Directory Id="SourcetrailAppData" Name="$(var.ProductDisplayName)">
<Component Id="SourcetrailAppDataDummy" Guid="93024EB9-ED47-4D0D-B790-1028E10F8015" Win64="$(var.Win64)">
<CreateFolder />
<RemoveFolder Id='CoatiAppData' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\coatiAppData" Root="HKCU" >
<RemoveFolder Id='SourcetrailAppData' On='uninstall' />
<RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\sourcetrailAppData" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
</Component>
@@ -211,7 +211,7 @@
<ComponentRef Id='AboutCss'/>
<ComponentRef Id='IconClosePng'/>
<ComponentRef Id='LogoAwsPng'/>
<ComponentRef Id='LogoCoatiPng'/>
<ComponentRef Id='LogoSourcetrailPng'/>
<ComponentRef Id='LogoFhsPng'/>
<ComponentRef Id='BookmarkViewCss'/>
@@ -259,7 +259,7 @@
<ComponentRef Id='C_icon_Png'/>
<ComponentRef Id='Cdb_icon_Png'/>
<ComponentRef Id='CoatiIco'/>
<ComponentRef Id='SourcetrailIco'/>
<ComponentRef Id='Cpp_icon_Png'/>
<ComponentRef Id='Empty_icon_Png'/>
<ComponentRef Id='Java_icon_Png'/>
@@ -328,7 +328,7 @@
<!-- AppData Folder Stuff -->
<ComponentRef Id='CoatiSoftwareAppDataDummy'/>
<ComponentRef Id='CoatiAppDataDummy'/>
<ComponentRef Id='SourcetrailAppDataDummy'/>
<!-- </Feature> -->
@@ -336,13 +336,13 @@
<!-- <Feature Id='SampleCode' Title='Samples' Description='Tutorial and Sample Project' Level='1000'> -->
<ComponentRef Id='SampleProjects'/>
<ComponentRef Id='TictactoeCoatiproject'/>
<ComponentRef Id='TictactoeSourcetrailproject'/>
<ComponentRef Id='TictactoeCode'/>
<ComponentRef Id='TutorialCoatiproject'/>
<ComponentRef Id='TutorialSourcetrailproject'/>
<ComponentRef Id='TutorialCode'/>
<ComponentRef Id='JavaparserCoatiproject'/>
<ComponentRef Id='JavaparserSourcetrailproject'/>
<ComponentRef Id='SampleProjectJavaparserSrcFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainFolder'/>
<ComponentRef Id='SampleProjectJavaparserSrcMainJavaFolder'/>
@@ -393,7 +393,7 @@
<UIRef Id="WixUI_ErrorProgressText" />
<Icon Id="Coati.ico" SourceFile="./../../../bin/app/data/gui/icon/coati.ico" />
<Icon Id="Sourcetrail.ico" SourceFile="./../../../bin/app/data/gui/icon/sourcetrail.ico" />
<Icon Id="Project.ico" SourceFile="./../../../bin/app/data/gui/icon/project.ico" />
<WixVariable Id="WixUILicenseRtf" Value="./../../../bin/app/data/gui/installer/EULA.rtf" />
+10 -10
View File
@@ -9,13 +9,13 @@ Build the installer
- http://wixtoolset.org/releases/
-I used stable version 3.10.3 for development
-make sure the WiX directory is in you OS path variable ('..\WiX Toolset v3.10\bin')
-Coati has to be built with the 'deploy' flag
-installer would still build if the deploy flag wasnt set, but the Coati wont run properly on a user machine
-Sourcetrail has to be built with the 'deploy' flag
-installer would still build if the deploy flag wasnt set, but the Sourcetrail wont run properly on a user machine
-Execute build.bat
-This will build coati.msi file, all needed custom action dlls and the setup.exe file
-setup.exe and coati.msi are needed to install
-setup.exe checks whether coati is installed and will either start the initial installation or the upgrade installation
-This will build sourcetrail.msi file, all needed custom action dlls and the setup.exe file
-setup.exe and sourcetrail.msi are needed to install
-setup.exe checks whether sourcetrail is installed and will either start the initial installation or the upgrade installation
---------------------
@@ -65,16 +65,16 @@ Add new file to the installation directory (installDir.wxs)
Add new file to the user folder (appDataDir.wxs)
-files that will be changed by coati or the user should be put here
-files that will be changed by sourcetrail or the user should be put here
-needs a RegistryKey element within the component element to provide the KeyPath
- <RegistryKey Action="none" Key="Software\[Manufacturer]\[ProductName]\>yourKeyNameHere<" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
Not quite done yet! (coati.wxs)
Not quite done yet! (sourcetrail.wxs)
-components need to be added to a feature (a feature is part of a software, consisting of components, that may or may not be installed during setup)
-right now we only have the Complete/Program feature, so no part of coati is optional right now
-right now we only have the Complete/Program feature, so no part of sourcetrail is optional right now
-to add a component to a feature use the <ComponentRef> tag
-Id: id of the component you want to refere to
@@ -89,14 +89,14 @@ Version Number
-candle.exe -dprojectVersion="0.7.0" ...
-replace 0.7.0 with the desired version number
Minor upgrage (coati.wxs)
Minor upgrage (sourcetrail.wxs)
-for when only a few files are to be updated
-update the version number in build.bat script
-do NOT change the product GUID
-the package GUID has to change, that happens automatically though so don't worry 'bout it
Major upgrade (coati.wxs)
Major upgrade (sourcetrail.wxs)
-for big changes, like a new major version
-update the version number in build.bat script
-DO change the product GUID
+2 -2
View File
@@ -1,5 +1,5 @@
#atom-coati
#atom-sourcetrail
The Atom plugin is hosted at Github.
Link to the repository: [atom-coati](https://github.com/CoatiSoftware/atom-coati).
Link to the repository: [atom-sourcetrail](https://github.com/CoatiSoftware/atom-sourcetrail).
+2 -2
View File
@@ -1,5 +1,5 @@
#eclipse-coati
#eclipse-sourcetrail
The Eclipse plugin is hosted at Github.
Link to the repository: [eCoati](https://github.com/CoatiSoftware/eCoati).
Link to the repository: [eSourcetrail](https://github.com/CoatiSoftware/eSourcetrail).
+2 -2
View File
@@ -1,5 +1,5 @@
#emacs-coati
#emacs-sourcetrail
The Emacs plugin is hosted at Github.
Link to the repository: [emacs-coati](https://github.com/CoatiSoftware/emacs-coati).
Link to the repository: [emacs-sourcetrail](https://github.com/CoatiSoftware/emacs-sourcetrail).
+2 -2
View File
@@ -1,5 +1,5 @@
#idea-coati
#idea-sourcetrail
The CLion/IntelliJ plugin is hosted at Github.
Link to the repository: [idea-coati](https://github.com/CoatiSoftware/idea-coati).
Link to the repository: [idea-sourcetrail](https://github.com/CoatiSoftware/idea-sourcetrail).
@@ -1,85 +0,0 @@
import sublime
import sublime_plugin
import threading
import socket
import os.path
import encodings.idna
try: # use this for Sublime Text 2
import SocketServer
except ImportError: # use this for Sublime Text 3
import socketserver as SocketServer
MESSAGE_SPLIT_STRING = ">>"
# Handling Coati to Sublime communication
def setCursorPosition(filePath, row, col):
if (os.path.exists(filePath)):
sublime.active_window().open_file(filePath + ":" + str(row) + ":" + str(col), sublime.ENCODED_POSITION)
else:
sublime.error_message("Coati is trying to jump to a file that does not exist: " + filePath)
class ConnectionHandler(SocketServer.BaseRequestHandler): # This class is instantiated once per connection to the server
def handle(self):
data = self.request.recv(1024).strip()
text = data.decode('utf-8')
eom_index = text.find("<EOM>")
if (not eom_index == 0):
message_string = text[0:eom_index]
message_fields = message_string.split(MESSAGE_SPLIT_STRING)
if (message_fields[0] == "moveCursor"):
sublime.set_timeout(lambda: setCursorPosition(message_fields[1], int(message_fields[2]), int(message_fields[3]) + 1), 0)
class ServerThreadHandler(threading.Thread):
def __init__ (self, ip, port):
self.ip = ip
self.port = port
threading.Thread.__init__(self)
def run(self):
server = SocketServer.TCPServer((self.ip, self.port), ConnectionHandler)
server.serve_forever()
class ServerStartupListener(sublime_plugin.EventListener):
def __init__(self):
self.running = False
def on_activated(self, view):
if (not self.running):
self.running = True
settings = sublime.load_settings('CoatiPlugin.sublime-settings')
host_ip = settings.get('host_ip')
coati_to_plugin_port = settings.get('coati_to_sublime_port')
networkListener = ServerThreadHandler(host_ip, coati_to_plugin_port)
networkListener.start()
# Handling Sublime to Coati communication
class SetActiveTokenCommand(sublime_plugin.TextCommand):
def run(self, edit):
filePath = self.view.file_name();
selectionPos = self.view.sel()[0].begin()
(row, col) = self.view.rowcol(selectionPos)
col += 1 # cols returned by rowcol() are 0-based.
row += 1 # rows returned by rowcol() are 0-based.
text = "setActiveToken" + MESSAGE_SPLIT_STRING + filePath + MESSAGE_SPLIT_STRING + str(row) + MESSAGE_SPLIT_STRING + str(col) + "<EOM>"
data = text.encode()
settings = sublime.load_settings('CoatiPlugin.sublime-settings')
host_ip = settings.get('host_ip')
plugin_to_coati_port = settings.get('sublime_to_coati_port')
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host_ip, plugin_to_coati_port))
s.send(data)
s.close()
@@ -1,5 +0,0 @@
{
"host_ip": "localhost",
"coati_to_sublime_port": 6666,
"sublime_to_coati_port": 6667
}
@@ -1,4 +0,0 @@
[
{ "caption": "-", "id": "coati" },
{ "command": "set_active_token", "caption": "Coati - Set active Token" }
]
+5
View File
@@ -0,0 +1,5 @@
#sublime-sourcetrail
The Sublime plugin is hosted at Github.
Link to the repository: [sublime-sourcetrail](https://github.com/CoatiSoftware/sublime-sourcetrail).
-5
View File
@@ -1,5 +0,0 @@
How to Install:
Just copy and past this "CoatiPlugin" folder into your Packages folder of Sublime Text. (You can find
that folder from within Sublime via the menu: Preferences -> Browse Packages...). Restart Sublime before
starting to use the plugin.
+2 -2
View File
@@ -1,5 +1,5 @@
#vim-coati
#vim-sourcetrail
The Vim plugin is hosted at Github.
Link to the repository: [vim-coati](https://github.com/CoatiSoftware/vim-coati).
Link to the repository: [vim-sourcetrail](https://github.com/CoatiSoftware/vim-sourcetrail).
+6 -6
View File
@@ -2,7 +2,7 @@
-Start VS and load a C/C++ solution (best mixed with multiple projects)
-Check all projects are loaded in Solution Explorer
-Check Plugin Logging and Obfuscation is off
-VS Menu Bar -> Tools -> Options -> Coati -> Logging & Obfuscation is off
-VS Menu Bar -> Tools -> Options -> Sourcetrail -> Logging & Obfuscation is off
-Delete log file and dictionary for current VS session if present
-delete log file for current session at ..AppData/Local/Coati Software/Plugin/VS if present
-delete dictionary file for current session at ..AppData/Local/Coati Software/Plugin/VS if present
@@ -38,10 +38,10 @@
-Check ..AppData/Local/Coati Software/Plugin/VS for no new log created
-Check ..AppData/Local/Coati Software/Plugin/VS for no new dictionary created
-Turn on Logging
-VS Menu Bar -> Tools -> Options -> Coati -> Logging ON & Obfuscation OFF
-VS Menu Bar -> Tools -> Options -> Sourcetrail -> Logging ON & Obfuscation OFF
-Enable VS Output Window
-VS Menu Bar -> View -> Output
-In Output Window, show Coati log (Show Output from: Coati Log)
-In Output Window, show Sourcetrail log (Show Output from: Sourcetrail Log)
-Create CDB from solution again
-Check location and name is the same as last time
-Check dialogue asking whether to overwrite old file or not
@@ -58,7 +58,7 @@
-Check ..AppData/Local/Coati Software/Plugin/VS for new log created
-Check ..AppData/Local/Coati Software/Plugin/VS for no new dictionary created
-Turn on Obfuscation
-VS Menu Bar -> Tools -> Options -> Coati -> Logging ON & Obfuscation ON
-VS Menu Bar -> Tools -> Options -> Sourcetrail -> Logging ON & Obfuscation ON
-Create CDB from solution again
-Check unloaded project is not in the listed projects in the dialogue
-Check location and name is the same as first time
@@ -84,7 +84,7 @@
-Click Create
-Close Progress Bar before CDB is finished
-Check no new CDB was created
-Switch to Coati
-Switch to Sourcetrail
-Keep Visual Studio running
-Open the 'New Project From Visual Studio Solution'
-Click 'Create CDB' button
@@ -92,5 +92,5 @@
-Create a new CDB with Settings of your choice
-Wait for CDB to be finished
-Click 'Yes' in the 'CDB finished' dialog
-Switch back to Coati
-Switch back to Sourcetrail
-Check prefilled data is correct
@@ -1,14 +0,0 @@
// Guids.cs
// MUST match guids.h
using System;
namespace CoatiSoftware.CoatiPlugin
{
static class GuidList
{
public const string guidCoatiPluginPkgString = "acf15780-03b5-440e-a41e-db79b7043fc2";
public const string guidCoatiPluginCmdSetString = "0efb005b-715c-4a62-8a9b-1e5a870e6c34";
public static readonly Guid guidCoatiPluginCmdSet = new Guid(guidCoatiPluginCmdSetString);
};
}
@@ -1,15 +0,0 @@
// PkgCmdID.cs
// MUST match PkgCmdID.h
using System;
namespace CoatiSoftware.CoatiPlugin
{
static class PkgCmdIDList
{
public const uint cmdidCoatiSetActiveToken = 0x104;
public const uint cmdidCoatiCreateProject = 0x105;
public const uint cmdidCoatiCreateCDB = 0x106;
public const uint cmdidCoatiOpenLogFolder = 0x107;
};
}
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoatiPlugin", "CoatiPlugin\CoatiPlugin.csproj", "{A585A530-E120-4C74-934E-D57ED12A7DA9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourcetrailPlugin", "SourcetrailPlugin\SourcetrailPlugin.csproj", "{A585A530-E120-4C74-934E-D57ED12A7DA9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -0,0 +1,14 @@
// Guids.cs
// MUST match guids.h
using System;
namespace CoatiSoftware.SourcetrailPlugin
{
static class GuidList
{
public const string guidSourcetrailPluginPkgString = "acf15780-03b5-440e-a41e-db79b7043fc2";
public const string guidSourcetrailPluginCmdSetString = "0efb005b-715c-4a62-8a9b-1e5a870e6c34";
public static readonly Guid guidSourcetrailPluginCmdSet = new Guid(guidSourcetrailPluginCmdSetString);
};
}
@@ -1,12 +1,12 @@
using System;
using System.Collections.Generic;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
class FileLogger : ILogger
{
private static string _directory = "";
private static string _fileNamePrefix = "Log_CoatiPlugin_";
private static string _fileNamePrefix = "Log_SourcetrailPlugin_";
private static string _fileNameSufix = ".txt";
private string _fileName = "";
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
public interface ILogger
{
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
public class LogManager
{
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
public class LogMessage
{
@@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
public class Logging
{
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace CoatiSoftware.CoatiPlugin.Logging.Obfuscation
namespace CoatiSoftware.SourcetrailPlugin.Logging.Obfuscation
{
class NameObfuscator
{
@@ -14,7 +14,7 @@ namespace CoatiSoftware.CoatiPlugin.Logging.Obfuscation
int _currentInt = 0;
private static string _directory = "";
private static string _fileNamePrefix = "Dictionary_CoatiPlugin_";
private static string _fileNamePrefix = "Dictionary_SourcetrailPlugin_";
private static string _fileNameSufix = ".txt";
private string _fileName = "";
@@ -5,7 +5,7 @@ using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.Diagnostics;
namespace CoatiSoftware.CoatiPlugin.Logging
namespace CoatiSoftware.SourcetrailPlugin.Logging
{
class VSOutputLogger : ILogger
{
@@ -19,17 +19,17 @@ namespace CoatiSoftware.CoatiPlugin.Logging
public void LogMessage(LogMessage message)
{
if (message.MessageType == CoatiPlugin.Logging.LogMessage.LogMessageType.INFO)
if (message.MessageType == SourcetrailPlugin.Logging.LogMessage.LogMessageType.INFO)
{
Debug.WriteLine(message.Message, "Info");
WriteToOutputWindow("Info: " + message.Message);
}
if (message.MessageType == CoatiPlugin.Logging.LogMessage.LogMessageType.WARNING)
if (message.MessageType == SourcetrailPlugin.Logging.LogMessage.LogMessageType.WARNING)
{
Debug.WriteLine(message.Message, "Warning");
WriteToOutputWindow("Warning: " + message.Message);
}
if (message.MessageType == CoatiPlugin.Logging.LogMessage.LogMessageType.ERROR)
if (message.MessageType == SourcetrailPlugin.Logging.LogMessage.LogMessageType.ERROR)
{
Debug.WriteLine(message.Message, "Error");
WriteToOutputWindow("Error: " + message.Message);
@@ -38,7 +38,7 @@ namespace CoatiSoftware.CoatiPlugin.Logging
private void WriteToOutputWindow(string message)
{
string paneName = "Coati Log";
string paneName = "Sourcetrail Log";
if (_dte.Windows.Count > 0)
{
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
// based on: https://msdn.microsoft.com/en-us/library/system.threading.tasks.taskscheduler(v=vs.110).aspx
namespace CoatiSoftware.CoatiPlugin.Multitasking
namespace CoatiSoftware.SourcetrailPlugin.Multitasking
{
class LimitedThreadsTaskScheduler : TaskScheduler
{
@@ -0,0 +1,15 @@
// PkgCmdID.cs
// MUST match PkgCmdID.h
using System;
namespace CoatiSoftware.SourcetrailPlugin
{
static class PkgCmdIDList
{
public const uint cmdidSourcetrailSetActiveToken = 0x104;
public const uint cmdidSourcetrailCreateProject = 0x105;
public const uint cmdidSourcetrailCreateCDB = 0x106;
public const uint cmdidSourcetrailOpenLogFolder = 0x107;
};
}
@@ -7,11 +7,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CoatiPlugin")]
[assembly: AssemblyTitle("SourcetrailPlugin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Coati Software")]
[assembly: AssemblyProduct("CoatiPlugin")]
[assembly: AssemblyProduct("SourcetrailPlugin")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace CoatiSoftware.CoatiPlugin {
namespace CoatiSoftware.SourcetrailPlugin {
using System;
@@ -39,7 +39,7 @@ namespace CoatiSoftware.CoatiPlugin {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CoatiSoftware.CoatiPlugin.Resources", typeof(Resources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CoatiSoftware.SourcetrailPlugin.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
@@ -1,5 +1,5 @@

namespace CoatiSoftware.CoatiPlugin.SolutionParser
namespace CoatiSoftware.SourcetrailPlugin.SolutionParser
{
public class CommandObject
{
@@ -6,7 +6,7 @@ using System.IO;
using System.Threading;
using System;
namespace CoatiSoftware.CoatiPlugin.SolutionParser
namespace CoatiSoftware.SourcetrailPlugin.SolutionParser
{
public class CompilationDatabase
{
@@ -8,7 +8,7 @@ using System.Collections;
using System.IO;
using System.Diagnostics;
namespace CoatiSoftware.CoatiPlugin.SolutionParser
namespace CoatiSoftware.SourcetrailPlugin.SolutionParser
{
class SolutionParser
{
@@ -19,8 +19,8 @@
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CoatiSoftware.CoatiPlugin</RootNamespace>
<AssemblyName>coati_plugin_vs</AssemblyName>
<RootNamespace>CoatiSoftware.SourcetrailPlugin</RootNamespace>
<AssemblyName>sourcetrail_plugin_vs</AssemblyName>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
@@ -153,7 +153,7 @@
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="CoatiPluginPackage.cs">
<Compile Include="SourcetrailPluginPackage.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
@@ -227,7 +227,7 @@
<None Include="Key.snk" />
</ItemGroup>
<ItemGroup>
<VSCTCompile Include="CoatiPlugin.vsct">
<VSCTCompile Include="SourcetrailPlugin.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<SubType>Designer</SubType>
</VSCTCompile>
@@ -236,7 +236,7 @@
<Resource Include="Resources\favicon_16x16.png" />
</ItemGroup>
<ItemGroup>
<Content Include="coati.ico">
<Content Include="sourcetrail.ico">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
@@ -25,28 +25,28 @@
<!--The Commands section is where we the commands, menus and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidCoatiPluginPkg">
<Commands package="guidSourcetrailPluginPkg">
<Bitmaps>
<Bitmap guid="icon" href="Resources\favicon_16x16.png" usedList="icon0"/>
</Bitmaps>
<Groups>
<Group guid="guidCoatiPluginCmdSet" id="ContextMenuGroup" priority="0x0600">
<Group guid="guidSourcetrailPluginCmdSet" id="ContextMenuGroup" priority="0x0600">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/>
</Group>
<Group guid="guidCoatiPluginCmdSet" id="TopLevelMenu" priority="0x0600">
<Group guid="guidSourcetrailPluginCmdSet" id="TopLevelMenu" priority="0x0600">
<Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_MAINMENU"/>
</Group>
<Group guid="guidCoatiPluginCmdSet" id="SubMenu" priority="0x0600">
<Parent guid="guidCoatiPluginCmdSet" id="TopLevelMenu"/>
<Group guid="guidSourcetrailPluginCmdSet" id="SubMenu" priority="0x0600">
<Parent guid="guidSourcetrailPluginCmdSet" id="TopLevelMenu"/>
</Group>
<!--
<Group guid="guidCoatiPluginCmdSet" id="HelpMenu" priority="0x0600">
<Parent guid="guidCoatiPluginCmdSet" id="TopLevelMenu"/>
<Group guid="guidSourcetrailPluginCmdSet" id="HelpMenu" priority="0x0600">
<Parent guid="guidSourcetrailPluginCmdSet" id="TopLevelMenu"/>
</Group>
-->
@@ -54,32 +54,32 @@
<Buttons>
<Button guid="guidCoatiPluginCmdSet" id="cmdidCoatiSetActiveToken" priority="0x0100" type="Button">
<Parent guid="guidCoatiPluginCmdSet" id="ContextMenuGroup" />
<Button guid="guidSourcetrailPluginCmdSet" id="cmdidSourcetrailSetActiveToken" priority="0x0100" type="Button">
<Parent guid="guidSourcetrailPluginCmdSet" id="ContextMenuGroup" />
<Icon guid="icon" id="icon0" />
<Strings>
<ButtonText>Set active Token</ButtonText>
</Strings>
</Button>
<Button guid="guidCoatiPluginCmdSet" id="cmdidCoatiCreateCDB" priority="0x0100" type="Button">
<Parent guid="guidCoatiPluginCmdSet" id="SubMenu" />
<Button guid="guidSourcetrailPluginCmdSet" id="cmdidSourcetrailCreateCDB" priority="0x0100" type="Button">
<Parent guid="guidSourcetrailPluginCmdSet" id="SubMenu" />
<Icon guid="icon" id="icon0" />
<Strings>
<ButtonText>Create CDB</ButtonText>
</Strings>
</Button>
<Button guid="guidCoatiPluginCmdSet" id="cmdidCoatiOpenLogFolder" priority="0x0100" type="Button">
<Parent guid="guidCoatiPluginCmdSet" id="SubMenu" />
<Button guid="guidSourcetrailPluginCmdSet" id="cmdidSourcetrailOpenLogFolder" priority="0x0100" type="Button">
<Parent guid="guidSourcetrailPluginCmdSet" id="SubMenu" />
<Strings>
<ButtonText>Open Log Directory</ButtonText>
</Strings>
</Button>
<!--
<Button guid="guidCoatiPluginCmdSet" id="cmdidCoatiHelp" priority="0x0100" type="Button">
<Parent guid="guidCoatiPluginCmdSet" id="HelpMenu" />
<Button guid="guidSourcetrailPluginCmdSet" id="cmdidSourcetrailHelp" priority="0x0100" type="Button">
<Parent guid="guidSourcetrailPluginCmdSet" id="HelpMenu" />
<Strings>
<ButtonText>Online Help</ButtonText>
</Strings>
@@ -90,20 +90,20 @@
<Menus>
<Menu guid="guidCoatiPluginCmdSet" id="TopLevelMenu" priority="0x700" type="Menu">
<Menu guid="guidSourcetrailPluginCmdSet" id="TopLevelMenu" priority="0x700" type="Menu">
<Parent guid="guidSHLMainMenu" id="IDG_VS_MM_TOOLSADDINS"/>
<Strings>
<ButtonText>Coati</ButtonText>
<CommandName>Coati</CommandName>
<ButtonText>Sourcetrail</ButtonText>
<CommandName>Sourcetrail</CommandName>
</Strings>
</Menu>
<!--
<Menu guid="guidCoatiPluginCmdSet" id="HelpMenu" priority="0x700" type="Menu">
<Parent guid="guidCoatiPluginCmdSet" id="TopLevelMenu"/>
<Menu guid="guidSourcetrailPluginCmdSet" id="HelpMenu" priority="0x700" type="Menu">
<Parent guid="guidSourcetrailPluginCmdSet" id="TopLevelMenu"/>
<Strings>
<ButtonText>Coati Help</ButtonText>
<CommandName>Coati Help</CommandName>
<ButtonText>Sourcetrail Help</ButtonText>
<CommandName>Sourcetrail Help</CommandName>
</Strings>
</Menu>
-->
@@ -118,24 +118,24 @@
<Symbols>
<!-- This is the package guid. -->
<GuidSymbol name="guidCoatiPluginPkg" value="{acf15780-03b5-440e-a41e-db79b7043fc2}" />
<GuidSymbol name="guidSourcetrailPluginPkg" value="{acf15780-03b5-440e-a41e-db79b7043fc2}" />
<!-- This is the guid used to group the menu commands together -->
<GuidSymbol name="guidCoatiPluginCmdSet" value="{0efb005b-715c-4a62-8a9b-1e5a870e6c34}">
<GuidSymbol name="guidSourcetrailPluginCmdSet" value="{0efb005b-715c-4a62-8a9b-1e5a870e6c34}">
<IDSymbol name="ContextMenuGroup" value="0x1020" />
<IDSymbol name="cmdidCoatiPing" value="0x0100" />
<IDSymbol name="cmdidCoatiFile" value="0x0101"/>
<IDSymbol name="cmdidCoatiGetActiveFileName" value="0x0102"/>
<IDSymbol name="cmdidCoatiGetActiveLineNumber" value="0x0103"/>
<IDSymbol name="cmdidCoatiSetActiveToken" value="0x0104"/>
<IDSymbol name="cmdidCoatiCreateProject" value="0x0105"/>
<IDSymbol name="cmdidCoatiCreateCDB" value="0x0106"/>
<IDSymbol name="cmdidCoatiOpenLogFolder" value="0x0107"/>
<IDSymbol name="cmdidSourcetrailPing" value="0x0100" />
<IDSymbol name="cmdidSourcetrailFile" value="0x0101"/>
<IDSymbol name="cmdidSourcetrailGetActiveFileName" value="0x0102"/>
<IDSymbol name="cmdidSourcetrailGetActiveLineNumber" value="0x0103"/>
<IDSymbol name="cmdidSourcetrailSetActiveToken" value="0x0104"/>
<IDSymbol name="cmdidSourcetrailCreateProject" value="0x0105"/>
<IDSymbol name="cmdidSourcetrailCreateCDB" value="0x0106"/>
<IDSymbol name="cmdidSourcetrailOpenLogFolder" value="0x0107"/>
<IDSymbol name="TopLevelMenu" value="0x1021"/>
<IDSymbol name="SubMenu" value="0x1022"/>
<IDSymbol name="HelpMenu" value="0x1023"/>
<IDSymbol name="cmdidCoatiHelp" value="0x1024"/>
<IDSymbol name="cmdidSourcetrailHelp" value="0x1024"/>
</GuidSymbol>
@@ -11,7 +11,7 @@ using System.IO;
using EnvDTE;
using System.Windows.Forms;
namespace CoatiSoftware.CoatiPlugin
namespace CoatiSoftware.SourcetrailPlugin
{
public class OptionPageGrid : DialogPage
{
@@ -28,7 +28,7 @@ namespace CoatiSoftware.CoatiPlugin
public static Callback _obfuscationToggled = null;
public static Callback _threadCountChanged = null;
[Category("Coati")]
[Category("Sourcetrail")]
[DisplayName("VS Port")]
[Description("The port on which Visual Studio will receive messages")]
public uint ServerPort
@@ -44,9 +44,9 @@ namespace CoatiSoftware.CoatiPlugin
}
}
[Category("Coati")]
[DisplayName("Coati Port")]
[Description("The port on which Coati will receive messages")]
[Category("Sourcetrail")]
[DisplayName("Sourcetrail Port")]
[Description("The port on which Sourcetrail will receive messages")]
public uint ClientPort
{
get { return _clientPort; }
@@ -60,7 +60,7 @@ namespace CoatiSoftware.CoatiPlugin
}
}
[Category("Coati")]
[Category("Sourcetrail")]
[DisplayName("File Logging")]
[Description("Enables or disables file logging for the plugin")]
public bool LoggingEnabled
@@ -76,7 +76,7 @@ namespace CoatiSoftware.CoatiPlugin
}
}
[Category("Coati")]
[Category("Sourcetrail")]
[DisplayName("Log Obfuscation")]
[Description("Names will be obfuscated in log files. Note that already logged data will not be obfuscated retroactively. A dictionary file will be created that you can use to make sense of obfuscated logs. Keep this dictionary to yourself!")]
public bool ObfuscateLogging
@@ -92,7 +92,7 @@ namespace CoatiSoftware.CoatiPlugin
}
}
[Category("Coati")]
[Category("Sourcetrail")]
[DisplayName("Thread Count")]
[Description("The maximum number of threads that will be used while building Compilation Databases")]
public uint ThreadCount
@@ -116,11 +116,11 @@ namespace CoatiSoftware.CoatiPlugin
[PackageRegistration(UseManagedResourcesOnly = true)]
[InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)]
[ProvideMenuResource("Menus.ctmenu", 1)]
[Guid(GuidList.guidCoatiPluginPkgString)]
[Guid(GuidList.guidSourcetrailPluginPkgString)]
[ProvideAutoLoad(Microsoft.VisualStudio.Shell.Interop.UIContextGuids80.NoSolution)]
[ProvideOptionPage(typeof(OptionPageGrid), "Coati", "Coati Settings", 0, 0, true)]
[ProvideOptionPage(typeof(OptionPageGrid), "Sourcetrail", "Sourcetrail Settings", 0, 0, true)]
public sealed class CoatiPluginPackage : Package
public sealed class SourcetrailPluginPackage : Package
{
private MenuCommand _menuItemSetActiveToken = null;
private MenuCommand _menuItemCreateProject = null;
@@ -182,7 +182,7 @@ namespace CoatiSoftware.CoatiPlugin
public CoatiPluginPackage()
public SourcetrailPluginPackage()
{}
protected override void Initialize()
@@ -204,10 +204,10 @@ namespace CoatiSoftware.CoatiPlugin
OleMenuCommandService mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;
if ( null != mcs )
{
CommandID setActiveTokenCommandID = new CommandID(GuidList.guidCoatiPluginCmdSet, (int)PkgCmdIDList.cmdidCoatiSetActiveToken);
CommandID createProjectID = new CommandID(GuidList.guidCoatiPluginCmdSet, (int)PkgCmdIDList.cmdidCoatiCreateProject);
CommandID createCDBID = new CommandID(GuidList.guidCoatiPluginCmdSet, (int)PkgCmdIDList.cmdidCoatiCreateCDB);
CommandID openLogDirID = new CommandID(GuidList.guidCoatiPluginCmdSet, (int)PkgCmdIDList.cmdidCoatiOpenLogFolder);
CommandID setActiveTokenCommandID = new CommandID(GuidList.guidSourcetrailPluginCmdSet, (int)PkgCmdIDList.cmdidSourcetrailSetActiveToken);
CommandID createProjectID = new CommandID(GuidList.guidSourcetrailPluginCmdSet, (int)PkgCmdIDList.cmdidSourcetrailCreateProject);
CommandID createCDBID = new CommandID(GuidList.guidSourcetrailPluginCmdSet, (int)PkgCmdIDList.cmdidSourcetrailCreateCDB);
CommandID openLogDirID = new CommandID(GuidList.guidSourcetrailPluginCmdSet, (int)PkgCmdIDList.cmdidSourcetrailOpenLogFolder);
_menuItemSetActiveToken = new MenuCommand(MenuItemCallback, setActiveTokenCommandID);
_menuItemCreateProject = new MenuCommand(MenuItemCallback, createProjectID);
@@ -243,7 +243,7 @@ namespace CoatiSoftware.CoatiPlugin
try
{
// the coati ui should only be enabled when the solution contains C/C++ projects
// the sourcetrail ui should only be enabled when the solution contains C/C++ projects
DTE dte = (DTE)GetService(typeof(DTE));
List<String> languages = Utility.SolutionUtility.GetSolutionLanguages(dte);
@@ -386,7 +386,7 @@ namespace CoatiSoftware.CoatiPlugin
if (menuCommand != null)
{
if (menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidCoatiSetActiveToken)
if (menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidSourcetrailSetActiveToken)
{
string fileName = Utility.FileUtility.GetActiveDocumentName(dte);
string filePath = Utility.FileUtility.GetActiveDocumentPath(dte);
@@ -398,21 +398,21 @@ namespace CoatiSoftware.CoatiPlugin
Utility.AsynchronousClient.Send(message);
}
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidCoatiCreateCDB)
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidSourcetrailCreateCDB)
{
CreateCompilationDatabase(dte);
}
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidCoatiCreateProject)
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidSourcetrailCreateProject)
{
// show hint to use CDB methad (only for CDB beta) and create project on ok
Wizard.WindowMessage windowMessage = new Wizard.WindowMessage();
windowMessage.Title = "Hint";
windowMessage.Message = "Consider using 'Create CDB' if errors arise during Coati's indexing. This will become standard in the future.";
windowMessage.OnOK = CreateCoatiProjectOld;
windowMessage.Message = "Consider using 'Create CDB' if errors arise during Sourcetrail's indexing. This will become standard in the future.";
windowMessage.OnOK = CreateSourcetrailProjectOld;
windowMessage.RefreshWindow();
windowMessage.ShowDialog();
}
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidCoatiOpenLogFolder)
else if(menuCommand.CommandID.ID == (int)PkgCmdIDList.cmdidSourcetrailOpenLogFolder)
{
Utility.SystemUtility.OpenWindowsExplorerAtDirectory(Utility.DataUtility.GetStandardFolderDirectory());
}
@@ -420,7 +420,7 @@ namespace CoatiSoftware.CoatiPlugin
}
// will be removed once the CDB project creation is fully integrated
private void CreateCoatiProjectOld()
private void CreateSourcetrailProjectOld()
{
DTE dte = (DTE)GetService(typeof(DTE));
@@ -444,7 +444,7 @@ namespace CoatiSoftware.CoatiPlugin
}
else
{
DisplayMessage("Coati", "Can not create a Coati Project. Please check whether your VS solution is a valid C or C++ solution and is saved.");
DisplayMessage("Sourcetrail", "Can not create a Sourcetrail Project. Please check whether your VS solution is a valid C or C++ solution and is saved.");
}
}
@@ -457,7 +457,7 @@ namespace CoatiSoftware.CoatiPlugin
Utility.NetworkProtocolUtility.CursorPosition cursorPosition = Utility.NetworkProtocolUtility.ParseSetCursorMessage(message);
if (cursorPosition.Valid)
{
cursorPosition.ColumnNumber += 1; // VS counts columns starting at 1, coati starts at 0
cursorPosition.ColumnNumber += 1; // VS counts columns starting at 1, sourcetrail starts at 0
DTE dte = (DTE)GetService(typeof(DTE));
if (Utility.FileUtility.OpenSourceFile(dte, cursorPosition.FilePath))
{
@@ -485,13 +485,13 @@ namespace CoatiSoftware.CoatiPlugin
private void OnNetworkErrorCallback(string message)
{
Logging.Logging.LogError("Network Error: " + message.ToString());
DisplayMessage("Coati Network Error", message);
DisplayMessage("Sourcetrail Network Error", message);
}
private void OnFileUtilityError(string message)
{
Logging.Logging.LogError("File Error: " + message.ToString());
DisplayMessage("Coati File Error", message);
DisplayMessage("Sourcetrail File Error", message);
}
private void OnServerPortChanged()
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
class CompilationDatabaseList
{
@@ -1,11 +1,11 @@
using System;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
class DataUtility
{
static private string _standardFolder = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Coati Software\\Plugins\\VS\\";
static private string _standardFileName = "cdbs.coatidata";
static private string _standardFileName = "cdbs.sourcetraildata";
static private DataUtility _instance = null;
@@ -1,7 +1,7 @@
using System;
using EnvDTE;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
class FileUtility
{
@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
class NetworkProtocolUtility
{
@@ -5,7 +5,7 @@ using System.Threading;
using System.Net.Sockets;
using System.Net;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
public class StateObject
{
@@ -6,7 +6,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
namespace CoatiSoftware.CoatiPlugin.Utility
namespace CoatiSoftware.SourcetrailPlugin.Utility
{
public class ProjectUtility
{

Some files were not shown because too many files have changed in this diff Show More