Thu, 20 Oct 2011 14:13:56 +0200
Changed author comments + added signatures for upcomming bfile heuristics
1.1 --- a/.cproject Sun Oct 16 12:20:52 2011 +0200 1.2 +++ b/.cproject Thu Oct 20 14:13:56 2011 +0200 1.3 @@ -51,15 +51,6 @@ 1.4 <storageModule moduleId="refreshScope" versionNumber="1"> 1.5 <resource resourceType="PROJECT" workspacePath="/cline"/> 1.6 </storageModule> 1.7 - <storageModule moduleId="scannerConfiguration"> 1.8 - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> 1.9 - <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base.587980711;cdt.managedbuild.tool.gnu.cpp.compiler.input.1604468143"> 1.10 - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/> 1.11 - </scannerConfigBuildInfo> 1.12 - <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.c.compiler.mingw.base.40840995;cdt.managedbuild.tool.gnu.c.compiler.input.1426829237"> 1.13 - <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> 1.14 - </scannerConfigBuildInfo> 1.15 - </storageModule> 1.16 <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"> 1.17 <buildTargets> 1.18 <target name="all" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder"> 1.19 @@ -80,4 +71,13 @@ 1.20 </target> 1.21 </buildTargets> 1.22 </storageModule> 1.23 + <storageModule moduleId="scannerConfiguration"> 1.24 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> 1.25 + <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.cpp.compiler.mingw.base.587980711;cdt.managedbuild.tool.gnu.cpp.compiler.input.1604468143"> 1.26 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/> 1.27 + </scannerConfigBuildInfo> 1.28 + <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.mingw.base.1677102573;cdt.managedbuild.toolchain.gnu.mingw.base.1677102573.925482417;cdt.managedbuild.tool.gnu.c.compiler.mingw.base.40840995;cdt.managedbuild.tool.gnu.c.compiler.input.1426829237"> 1.29 + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> 1.30 + </scannerConfigBuildInfo> 1.31 + </storageModule> 1.32 </cproject>
2.1 --- a/arguments.c Sun Oct 16 12:20:52 2011 +0200 2.2 +++ b/arguments.c Thu Oct 20 14:13:56 2011 +0200 2.3 @@ -2,7 +2,7 @@ 2.4 * arguments.c 2.5 * 2.6 * Created on: 15.09.2011 2.7 - * Author: beckermi 2.8 + * Author: Mike 2.9 */ 2.10 2.11 #include "arguments.h"
3.1 --- a/arguments.h Sun Oct 16 12:20:52 2011 +0200 3.2 +++ b/arguments.h Thu Oct 20 14:13:56 2011 +0200 3.3 @@ -2,7 +2,7 @@ 3.4 * arguments.h 3.5 * 3.6 * Created on: 15.09.2011 3.7 - * Author: beckermi 3.8 + * Author: Mike 3.9 */ 3.10 3.11 #ifndef ARGUMENTS_H_
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/bfile_heuristics.c Thu Oct 20 14:13:56 2011 +0200 4.3 @@ -0,0 +1,22 @@ 4.4 +/* 4.5 + * bfile_heuristics.c 4.6 + * 4.7 + * Created on: 20.10.2011 4.8 + * Author: Mike 4.9 + */ 4.10 + 4.11 + 4.12 +#include "bfile_heuristics.h" 4.13 + 4.14 +bfile_heuristics *new_bfile_heuristics(int level) { 4.15 + bfile_heuristics *ret = malloc(sizeof(bfile_heuristics)); 4.16 + ret->level = level; 4.17 + memset(ret->ccount, 0, sizeof(int)*256); 4.18 + return ret; 4.19 +} 4.20 + 4.21 +bool bfile_check(bfile_heuristics *def, int next_char) { 4.22 + bool ret = false; 4.23 + 4.24 + return ret; 4.25 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/bfile_heuristics.h Thu Oct 20 14:13:56 2011 +0200 5.3 @@ -0,0 +1,30 @@ 5.4 +/* 5.5 + * bfile_heuristics.h 5.6 + * 5.7 + * Created on: 20.10.2011 5.8 + * Author: Mike 5.9 + */ 5.10 + 5.11 +#ifndef BFILE_HEURISTICS_H_ 5.12 +#define BFILE_HEURISTICS_H_ 5.13 + 5.14 +#include "stdinc.h" 5.15 +#include "settings.h" 5.16 + 5.17 +#ifdef _cplusplus 5.18 +extern "C" { 5.19 +#endif 5.20 + 5.21 +typedef struct { 5.22 + int level; 5.23 + int ccount[256]; 5.24 +} bfile_heuristics; 5.25 + 5.26 +bfile_heuristics *new_bfile_heuristics(int level); 5.27 +bool bfile_check(bfile_heuristics *def, int next_char); 5.28 + 5.29 +#ifdef _cplusplus 5.30 +} 5.31 +#endif 5.32 + 5.33 +#endif /* BFILE_HEURISTICS_H_ */ 5.34 \ No newline at end of file
6.1 --- a/cline.c Sun Oct 16 12:20:52 2011 +0200 6.2 +++ b/cline.c Thu Oct 20 14:13:56 2011 +0200 6.3 @@ -2,7 +2,7 @@ 6.4 * cline.c 6.5 * 6.6 * Created on: 23.05.2011 6.7 - * Author: beckermi 6.8 + * Author: Mike 6.9 */ 6.10 6.11 #include "cline.h"
7.1 --- a/cline.h Sun Oct 16 12:20:52 2011 +0200 7.2 +++ b/cline.h Thu Oct 20 14:13:56 2011 +0200 7.3 @@ -2,7 +2,7 @@ 7.4 * cline.h 7.5 * 7.6 * Created on: 23.05.2011 7.7 - * Author: beckermi 7.8 + * Author: Mike 7.9 */ 7.10 7.11 #ifndef CLINE_H_
8.1 --- a/scanner.c Sun Oct 16 12:20:52 2011 +0200 8.2 +++ b/scanner.c Thu Oct 20 14:13:56 2011 +0200 8.3 @@ -1,8 +1,8 @@ 8.4 /* 8.5 - * functions.c 8.6 + * scanner.c 8.7 * 8.8 * Created on: 23.05.2011 8.9 - * Author: beckermi 8.10 + * Author: Mike 8.11 */ 8.12 8.13
9.1 --- a/scanner.h Sun Oct 16 12:20:52 2011 +0200 9.2 +++ b/scanner.h Thu Oct 20 14:13:56 2011 +0200 9.3 @@ -1,8 +1,8 @@ 9.4 /* 9.5 - * functions.h 9.6 + * scanner.h 9.7 * 9.8 * Created on: 23.05.2011 9.9 - * Author: beckermi 9.10 + * Author: Mike 9.11 */ 9.12 9.13 #ifndef SCANNER_H_
10.1 --- a/settings.c Sun Oct 16 12:20:52 2011 +0200 10.2 +++ b/settings.c Thu Oct 20 14:13:56 2011 +0200 10.3 @@ -2,7 +2,7 @@ 10.4 * settings.c 10.5 * 10.6 * Created on: 15.09.2011 10.7 - * Author: beckermi 10.8 + * Author: Mike 10.9 */ 10.10 10.11 #include "settings.h"
11.1 --- a/settings.h Sun Oct 16 12:20:52 2011 +0200 11.2 +++ b/settings.h Thu Oct 20 14:13:56 2011 +0200 11.3 @@ -2,7 +2,7 @@ 11.4 * settings.h 11.5 * 11.6 * Created on: 15.09.2011 11.7 - * Author: beckermi 11.8 + * Author: Mike 11.9 */ 11.10 11.11 #ifndef SETTINGS_H_
12.1 --- a/stdinc.h Sun Oct 16 12:20:52 2011 +0200 12.2 +++ b/stdinc.h Thu Oct 20 14:13:56 2011 +0200 12.3 @@ -2,7 +2,7 @@ 12.4 * stdinc.h 12.5 * 12.6 * Created on: 15.09.2011 12.7 - * Author: beckermi 12.8 + * Author: Mike 12.9 */ 12.10 12.11 #ifndef STDINC_H_
13.1 --- a/stream.c Sun Oct 16 12:20:52 2011 +0200 13.2 +++ b/stream.c Thu Oct 20 14:13:56 2011 +0200 13.3 @@ -2,7 +2,7 @@ 13.4 * stream.c 13.5 * 13.6 * Created on: 20.09.2011 13.7 - * Author: beckermi 13.8 + * Author: Mike 13.9 */ 13.10 13.11 #include "stream.h"
14.1 --- a/stream.h Sun Oct 16 12:20:52 2011 +0200 14.2 +++ b/stream.h Thu Oct 20 14:13:56 2011 +0200 14.3 @@ -2,7 +2,7 @@ 14.4 * stream.h 14.5 * 14.6 * Created on: 20.09.2011 14.7 - * Author: beckermi 14.8 + * Author: Mike 14.9 */ 14.10 14.11 #ifndef STREAM_H_
15.1 --- a/string_list.c Sun Oct 16 12:20:52 2011 +0200 15.2 +++ b/string_list.c Thu Oct 20 14:13:56 2011 +0200 15.3 @@ -2,7 +2,7 @@ 15.4 * string_list.c 15.5 * 15.6 * Created on: 15.09.2011 15.7 - * Author: beckermi 15.8 + * Author: Mike 15.9 */ 15.10 15.11 #include "string_list.h"
16.1 --- a/string_list.h Sun Oct 16 12:20:52 2011 +0200 16.2 +++ b/string_list.h Thu Oct 20 14:13:56 2011 +0200 16.3 @@ -2,7 +2,7 @@ 16.4 * string_list.h 16.5 * 16.6 * Created on: 15.09.2011 16.7 - * Author: beckermi 16.8 + * Author: Mike 16.9 */ 16.10 16.11 #ifndef STRING_LIST_H_
17.1 --- a/suffix_fnc.c Sun Oct 16 12:20:52 2011 +0200 17.2 +++ b/suffix_fnc.c Thu Oct 20 14:13:56 2011 +0200 17.3 @@ -2,7 +2,7 @@ 17.4 * suffix_fnc.c 17.5 * 17.6 * Created on: 15.09.2011 17.7 - * Author: beckermi 17.8 + * Author: Mike 17.9 */ 17.10 17.11 #include "suffix_fnc.h"
18.1 --- a/suffix_fnc.h Sun Oct 16 12:20:52 2011 +0200 18.2 +++ b/suffix_fnc.h Thu Oct 20 14:13:56 2011 +0200 18.3 @@ -2,7 +2,7 @@ 18.4 * suffix_fnc.h 18.5 * 18.6 * Created on: 15.09.2011 18.7 - * Author: beckermi 18.8 + * Author: Mike 18.9 */ 18.10 18.11 #ifndef SUFFIX_FNC_H_