forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified the directory structure to fit to standard SVN structure (ta…
…gs, branches, trunk) git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@937 9da81c78-c036-0410-9e1f-a2b0375e4b5a
- Loading branch information
eranif
committed
Jan 16, 2008
0 parents
commit a788147
Showing
1,179 changed files
with
426,610 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<CodeLite_Workspace Name="AutoRevision" Database="./AutoRevision.tags"> | ||
<Project Name="autorev" Path="autorev/autorev.project" Active="Yes"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Debug" Selected="no"> | ||
<Project Name="autorev" ConfigName="Debug"/> | ||
</WorkspaceConfiguration> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="autorev" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Environment> | ||
<Variable Name="WorkspaceName" Value="AutoRevision"/> | ||
<Variable Name="WorkspacePath" Value="/Development/C++/LiteEditor/AutoRevision"/> | ||
</Environment> | ||
</CodeLite_Workspace> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<CodeLite_Project Name="autorev"> | ||
<VirtualDirectory Name="src"> | ||
<File Name="main.cpp"/> | ||
</VirtualDirectory> | ||
<Settings Type="Executable"> | ||
<Configuration Name="Debug" CompilerType="gnu g++" DebuggerType="GNU gdb debugger"> | ||
<General OutputFile="$(IntermediateDirectory)/$(ProjectName)d" IntermediateDirectory="./Debug" Command="$(ProjectName)d" CommandArguments="C:/Development/C++/LiteEditor/LiteEditor" WorkingDirectory="$(IntermediateDirectory)"/> | ||
<Compiler Required="yes" Options="-g"> | ||
<IncludePath Value="."/> | ||
</Compiler> | ||
<Linker Required="yes" Options=""/> | ||
<ResourceCompiler Required="no" Options=""/> | ||
<PreBuild/> | ||
<PostBuild/> | ||
<CustomBuild Enabled="no"> | ||
<CleanCommand></CleanCommand> | ||
<BuildCommand></BuildCommand> | ||
</CustomBuild> | ||
<AdditionalRules> | ||
<CustomPostBuild></CustomPostBuild> | ||
<CustomPreBuild></CustomPreBuild> | ||
</AdditionalRules> | ||
</Configuration> | ||
<Configuration Name="Release" CompilerType="gnu g++" DebuggerType="GNU gdb debugger"> | ||
<General OutputFile="../../LiteEditor/$(ProjectName)" IntermediateDirectory="./Release" Command="$(ProjectName)" CommandArguments="/home/eran/development/LiteEditor/trunk" WorkingDirectory="$(IntermediateDirectory)"/> | ||
<Compiler Required="yes" Options=""> | ||
<IncludePath Value="."/> | ||
</Compiler> | ||
<Linker Required="yes" Options="-O2"/> | ||
<ResourceCompiler Required="no" Options=""/> | ||
<PreBuild/> | ||
<PostBuild/> | ||
<CustomBuild Enabled="no"> | ||
<CleanCommand></CleanCommand> | ||
<BuildCommand></BuildCommand> | ||
</CustomBuild> | ||
<AdditionalRules> | ||
<CustomPostBuild></CustomPostBuild> | ||
<CustomPreBuild> | ||
|
||
</CustomPreBuild> | ||
</AdditionalRules> | ||
</Configuration> | ||
</Settings> | ||
<Dependencies/> | ||
</CodeLite_Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#include "stdio.h" | ||
#include "stdlib.h" | ||
#include "string.h" | ||
#ifdef _WIN32 | ||
#include "io.h" | ||
#endif | ||
#include <string> | ||
|
||
|
||
int main(int argc, char **argv){ | ||
|
||
if(argc < 2){ | ||
printf("usage: autorev <directory>\n"); | ||
return -1; | ||
} | ||
|
||
//execute the svn executable | ||
chdir(argv[1]); | ||
FILE *fp = popen("svn info", "r"); | ||
if(!fp){ | ||
printf("failed to execute svn\n"); | ||
} | ||
|
||
char line[256]; | ||
bool found(false); | ||
while(fgets(line, sizeof(line), fp)){ | ||
if(strstr(line, "Revision: ")){ | ||
found = true; | ||
break; | ||
} | ||
memset(line, 0, sizeof(line)); | ||
} | ||
|
||
//create the output file | ||
FILE *of = fopen("svninfo.cpp", "w+"); | ||
if(!of){ | ||
perror("failed to create output file"); | ||
return -1; | ||
} | ||
|
||
fprintf(of, "#define SvnRevision \""); | ||
if(found){ | ||
//we got the revision number | ||
int counter(0); | ||
char *tok = strtok(line, ":"); | ||
while(tok){ | ||
if(counter == 1){ | ||
std::string token = tok; | ||
static std::string trimString(" \r\n\t\v"); | ||
token.erase(0, token.find_first_not_of(trimString)); | ||
token.erase(token.find_last_not_of(trimString)+1); | ||
fprintf(of, "%s", token.c_str()); | ||
break; | ||
}else{ | ||
tok = strtok(NULL, ":"); | ||
} | ||
counter++; | ||
} | ||
} | ||
fprintf(of, "\"\n"); | ||
pclose(fp); | ||
fclose(of); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
//-------------------------------------------- | ||
// g++ on Linux | ||
//-------------------------------------------- | ||
The Linux build uses the makefile named: makefile.linux. | ||
|
||
To build CodeLite with the g++ on Linux, follow the following steps: | ||
0. make sure you have downloaded and installed wxWidgets | ||
(http://www.wxwidgets.org) | ||
1. make sure you have 'make' utility somewhere in your path | ||
2. make sure you have wx-config somewhere in your path, if not build it | ||
from sdk, | ||
it is required for the makefile | ||
|
||
debug: | ||
make -f makefile.linux type=debug [clean] | ||
|
||
debug unicode: | ||
make -f makefile.linux type=debug_unicode [clean] | ||
|
||
release: | ||
make -f makefile.linux type=release [clean] | ||
|
||
release unicode: | ||
make -f makefile.linux type=release_unicode [clean] | ||
|
||
//-------------------------------------------- | ||
// g++ / MinGW / wxWidgets static library (Windows) | ||
//-------------------------------------------- | ||
|
||
Before you build it using LE, make sure you have the following: | ||
1. Define a build system in LE Build->Advance Settings (set to your make.exe and set flag to '-f') | ||
2. Define two compilers: gnu g++ & gnu gcc (use the default compiler settings when pressing the 'New' Button, excpet for gcc rename | ||
the compiler name from g++ to gcc | ||
|
||
To build with mingw, I suggest downloading one of the nightly build of LiteEditor, | ||
open trunk/LiteEditor.workspace - and hit 'Ctrl+B' | ||
|
||
|
||
//---------------------------------------------- | ||
// VC71 | ||
//---------------------------------------------- | ||
|
||
1. Open the provided workspace (CodeLite.sln) | ||
2. Select the requested configuration | ||
3. Hit F7 :) | ||
|
||
-------------------------------------------------------------------------- | ||
Notes: | ||
-------------------------------------------------------------------------- | ||
- When building with VC71, will need sqlite3.dll, so set the working directory to 'Runtime' dir | ||
other builds methods uses sqlite3 as static library | ||
|
||
Enjoy, | ||
Eran | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- Add new option: Ctrl Is Down + mouse left click will display the current word as link and will jump to implementation | ||
Ctrl Is Down + mouse right clickwill display the current word as link and will jump to declaration | ||
- Add: add unimplemented methods | ||
- Import File from directory - add new filtering dialog | ||
- cscope plugin: | ||
find symbol in workspace | ||
find functions calling symbol | ||
find functions called by symbol | ||
- add SVN options to workspace tree | ||
- Colour errors with different colour | ||
- Add new 'Build General Page' to the build dialog which includes: | ||
- colour to mark errors | ||
- colour to mark warnings | ||
- F4 should skip warnings (yes/no) | ||
- rename the 'Advance' dialog to be 'Build Settings' |
Oops, something went wrong.