Forráskód Böngészése

rearranging folder structure after svn import

Andrey Konstantinov 5 éve
szülő
commit
0ca8576ba8
100 módosított fájl, 0 hozzáadás és 28995 törlés
  1. 0 5
      old/.includepath
  2. 0 17
      old/.project
  3. 0 187
      old/changelog.txt
  4. 0 15
      old/dupindex/Makefile
  5. BIN
      old/dupindex/bin/dupindex.exe
  6. 0 476
      old/dupindex/dupindex.cpp
  7. 0 20
      old/dupindex/dupindex.sln
  8. 0 197
      old/dupindex/dupindex.vcproj
  9. BIN
      old/images/logo.png
  10. BIN
      old/images/logo_project.jpg
  11. BIN
      old/images/logo_small.gif
  12. BIN
      old/images/logo_small.png
  13. 0 11
      old/index.html
  14. 0 91
      old/lib/Internal/Output.pm
  15. 0 1030
      old/lib/SWI/Appraiser.pm
  16. 0 351
      old/lib/SWI/Converter.pm
  17. 0 740
      old/lib/SWI/Launcher.pm
  18. 0 105
      old/lib/SWI/Merger.pm
  19. 0 1710
      old/lib/SWI/Processor.pm
  20. 0 324
      old/lib/String/CRC/Cksum.pm
  21. 0 3284
      old/lib/XML/Simple.pm
  22. 0 646
      old/lib/XML/Simple/FAQ.pod
  23. 0 252
      old/project.html
  24. 0 0
      old/prototype/New Text Document.txt
  25. 0 227
      old/prototype/scroll-grid.txt
  26. 0 19
      old/prototype/swi_report.xsl
  27. 0 6
      old/prototype/test.xml
  28. 0 128
      old/style.css
  29. 0 1167
      old/swi_config_sample.xml
  30. 0 130
      old/swi_main.pl
  31. BIN
      old/test/Metrics.xlsx
  32. 0 213
      old/test/swi_config_ddd.xml
  33. 0 108
      old/test/swi_config_test.xml
  34. 0 17
      releases/latest/.project
  35. 0 11
      releases/latest/.pydevproject
  36. 0 30
      releases/latest/CHANGELOG.md
  37. 0 674
      releases/latest/LICENSE
  38. 0 76
      releases/latest/LIMITATIONS.md
  39. 0 42
      releases/latest/README.md
  40. 0 1109
      releases/latest/doc/assets/css/bootstrap-responsive.css
  41. 0 6315
      releases/latest/doc/assets/css/bootstrap.css
  42. 0 1132
      releases/latest/doc/assets/css/docs.css
  43. 0 130
      releases/latest/doc/assets/css/oldstyle.css
  44. BIN
      releases/latest/doc/assets/ico/apple-touch-icon-114-precomposed.png
  45. BIN
      releases/latest/doc/assets/ico/apple-touch-icon-144-precomposed.png
  46. BIN
      releases/latest/doc/assets/ico/apple-touch-icon-57-precomposed.png
  47. BIN
      releases/latest/doc/assets/ico/apple-touch-icon-72-precomposed.png
  48. BIN
      releases/latest/doc/assets/ico/favicon.ico
  49. BIN
      releases/latest/doc/assets/ico/favicon.ico.bak
  50. BIN
      releases/latest/doc/assets/ico/favicon.png
  51. BIN
      releases/latest/doc/assets/ico/favicon.png.bak
  52. BIN
      releases/latest/doc/assets/img/Customer-Analysis-Competitive-Analysis.jpg
  53. BIN
      releases/latest/doc/assets/img/fm_logo.png
  54. BIN
      releases/latest/doc/assets/img/glyphicons-halflings-white.png
  55. BIN
      releases/latest/doc/assets/img/glyphicons-halflings.png
  56. BIN
      releases/latest/doc/assets/img/grid-baseline-20px.png
  57. BIN
      releases/latest/doc/assets/img/logo.png
  58. BIN
      releases/latest/doc/assets/img/logo_project.png
  59. BIN
      releases/latest/doc/assets/img/logo_small.gif
  60. BIN
      releases/latest/doc/assets/img/logo_small.png
  61. BIN
      releases/latest/doc/assets/img/piechart.png
  62. BIN
      releases/latest/doc/assets/img/slide-01.jpg
  63. BIN
      releases/latest/doc/assets/img/slide-02.jpg
  64. BIN
      releases/latest/doc/assets/img/slide-03.jpg
  65. BIN
      releases/latest/doc/assets/img/web_screenshot.png
  66. 0 106
      releases/latest/doc/assets/js/README.md
  67. 0 156
      releases/latest/doc/assets/js/application.js
  68. 0 117
      releases/latest/doc/assets/js/bootstrap-affix.js
  69. 0 99
      releases/latest/doc/assets/js/bootstrap-alert.js
  70. 0 105
      releases/latest/doc/assets/js/bootstrap-button.js
  71. 0 207
      releases/latest/doc/assets/js/bootstrap-carousel.js
  72. 0 167
      releases/latest/doc/assets/js/bootstrap-collapse.js
  73. 0 169
      releases/latest/doc/assets/js/bootstrap-dropdown.js
  74. 0 247
      releases/latest/doc/assets/js/bootstrap-modal.js
  75. 0 114
      releases/latest/doc/assets/js/bootstrap-popover.js
  76. 0 162
      releases/latest/doc/assets/js/bootstrap-scrollspy.js
  77. 0 144
      releases/latest/doc/assets/js/bootstrap-tab.js
  78. 0 361
      releases/latest/doc/assets/js/bootstrap-tooltip.js
  79. 0 60
      releases/latest/doc/assets/js/bootstrap-transition.js
  80. 0 335
      releases/latest/doc/assets/js/bootstrap-typeahead.js
  81. 0 2280
      releases/latest/doc/assets/js/bootstrap.js
  82. 0 6
      releases/latest/doc/assets/js/bootstrap.min.js
  83. 0 30
      releases/latest/doc/assets/js/google-code-prettify/prettify.css
  84. 0 28
      releases/latest/doc/assets/js/google-code-prettify/prettify.js
  85. 0 401
      releases/latest/doc/assets/js/holder/holder.js
  86. 0 8
      releases/latest/doc/assets/js/html5shiv.js
  87. 0 5
      releases/latest/doc/assets/js/jquery.js
  88. 0 1766
      releases/latest/doc/home.html
  89. 0 35
      releases/latest/doc/index.html
  90. 0 35
      releases/latest/doc/project.html
  91. 0 0
      releases/latest/ext/std/__init__.py
  92. 0 18
      releases/latest/ext/std/code/__init__.py
  93. 0 27
      releases/latest/ext/std/code/complexity.ini
  94. 0 92
      releases/latest/ext/std/code/complexity.py
  95. 0 27
      releases/latest/ext/std/code/cpp.ini
  96. 0 315
      releases/latest/ext/std/code/cpp.py
  97. 0 27
      releases/latest/ext/std/code/cs.ini
  98. 0 324
      releases/latest/ext/std/code/cs.py
  99. 0 27
      releases/latest/ext/std/code/java.ini
  100. 0 0
      releases/latest/ext/std/code/java.py

+ 0 - 5
old/.includepath

@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<includepath>
-  <includepathentry path="./lib" />
-</includepath>
-

+ 0 - 17
old/.project

@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>SWI</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.epic.perleditor.perlbuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.epic.perleditor.perlnature</nature>
-	</natures>
-</projectDescription>

+ 0 - 187
old/changelog.txt

@@ -1,192 +0,0 @@
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-____________________________________________
-
-
-
-       -- Date:         2010/02/18
-          Reference:    noref
-          Issue type:   improvement
-          Severity:     None
-          Module(s):    Parser
-          Description:  Algorithm of generation of >>>GLOBAL<<< function changed.
-                        Now it does not include empty lines at the end.
-
-       -- Date:         2010/02/18
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Minor
-          Module(s):    Launcher
-          Description:  Exit code is now a sum of codes from scanner and appraiser
-
-       -- Date:         2010/02/18
-          Reference:    noref
-          Issue type:   improvement
-          Severity:     None
-          Module(s):    Launcher
-          Description:  Status message added at the end of execution
-
-       -- Date:         2010/02/16
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Minor
-          Module(s):    Appraiser
-          Description:  Infinity strings changed, perl warning removed
-
-       -- Date:         2010/02/16
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Critical
-          Module(s):    Gcov bridge
-          Description:  gcov usage command corrected
-          
-       -- Date:         2010/02/15
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Minor
-          Module(s):    Parser
-          Description:  regexp for C++ function identifier corrected
-
-____________________________________________
-
-
-
-       -- Date:         2010/02/14
-          Reference:    noref
-          Issue type:   feature
-          Severity:     Major
-          Module(s):    Appraiser
-          Description:  Relative limits are possible with zero numbers
-                        Infinity/-Infinity statistics supported
-
-       -- Date:         2010/02/14
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Major
-          Module(s):    Coverage indexer
-          Description:  Empty gcov data (no calls, no branches) is processed correctly now
-
-       -- Date:         2010/02/14
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Minor
-          Module(s):    Converter
-          Description:  Duplication messages are deactivated by default
-                        However, they are always printed if there corresponding failures
-
-       -- Date:         2010/02/14
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Minor
-          Module(s):    Scanner
-          Description:  Line offset bug fixed
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Major
-          Module(s):    Processor
-          Description:  Calculation of length and crc statistics corrected for global code
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Major
-          Module(s):    Appraiser
-          Description:  Calculation of avarage data fixed
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Major
-          Module(s):    Duplication indexer
-          Description:  By default, it is now enabled
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   improvement
-          Severity:     Minor
-          Module(s):    Images
-          Description:  Logos attached to the source control system
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   improvement
-          Severity:     Minor
-          Module(s):    Parser (C++ language)
-          Description:  Excessive blank symbols are removed in names of functions-operators
-
-       -- Date:         2010/02/12
-          Reference:    noref
-          Issue type:   improvement
-          Severity:     Minor
-          Module(s):    Project description
-          Description:  Minor stylistic improvements
-
-       -- Date:         2010/02/11
-          Reference:    noref
-          Issue type:   feature
-          Severity:     Critical
-          Module(s):    Duplication indexer
-          Description:  Makefile added
-
-       -- Date:         2010/02/11
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Critical
-          Module(s):    Parser
-          Description:  C language, correction for nonamed enum, struct
-
-____________________________________________
-
-
-
-       -- Date:         2010/02/10
-          Reference:    noref
-          Issue type:   feature
-          Severity:     Major
-          Module(s):    gcov bridge
-          Description:  Collection of coverage statistic added
-
-       -- Date:         2010/01/31
-          Reference:    noref
-          Issue type:   feature
-          Severity:     Critical
-          Module(s):    Parser
-          Description:  C++ language support added
-
-       -- Date:         2010/01/10
-          Reference:    noref
-          Issue type:   fix
-          Severity:     Critical
-          Module(s):    Parser
-          Description:  C language parser becomes loyal with code formating
-
-____________________________________________
-
-
-____________________________________________
-
-

+ 0 - 15
old/dupindex/Makefile

@@ -1,15 +0,0 @@
-#
-# Note: use gmake
-#
-
-PROGRAM    = bin/dupindex.exe
-SRC_CPP    = $(wildcard *.cpp)
-OBJECTS    = $(SRC_CPP:.cpp=.o)
-
-all: clean $(PROGRAM)
-
-$(PROGRAM): $(SRC_CPP)
-	g++ -O2 -o $@ $<
-
-clean:
-	rm $(PROGRAM) || echo ""

BIN
old/dupindex/bin/dupindex.exe


+ 0 - 476
old/dupindex/dupindex.cpp

@@ -1,476 +0,0 @@
-/*
- *  Software Index, Copyright 2010, Software Index Project Team
- *  Link: http://swi.sourceforge.net
- *
- *  This file is part of Software Index Tool.
- *
- *  Software Index is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, version 3 of the License.
- *
- *  Software Index is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include <algorithm>
-#include <string>
-#include <vector>
-
-static const char SWI_EOF = '\x7'; // ASCII code 7 is used as EOF marker
-static const int  SWI_MAX_TEXT_LENGTH = 10000;
-
-/**
- * Container for sortable stuff
- * Strings are not moved, just bookmarks are sorted
- */
-struct SwiBookmark
-{
-	int         m_possition;
-	const char* m_text;
-
-	// sort algorithm requires to define this operator
-	bool operator<(const SwiBookmark& another) const
-	{
-		return strcmp(another.m_text, m_text) < 0;
-	}
-};
-
-/**
- * Container for the file/function record
- */
-struct SwiRecord
-{
-	const char* functionName;
-	const char* fileName;
-	int         end;
-};
-
-/**
- * Returns line number in intial record
- * from the begging till the symbol by offset
- */
-static int swiLineNumberGet(const char* text,
-							int         offset,
-							SwiRecord   files[],
-							int         fileIndex)
-{
-	const int start = (fileIndex == 0) ? 0 : files[fileIndex - 1].end;
-
-	int line = 1;
-	for (int i = start; i < offset; ++i)
-	{
-		if (text[i] == '\n')
-		{
-			++line;
-		}
-	}
-
-	return line;
-}
-
-/**
- * Adds a character to the processed string,
- * initializes new bookmark, and returns it
- */
-static SwiBookmark swiProcessedCharacterAdd(char c, int originalPossition, char* processedText)
-{
-	static int processedPossition;
-	SwiBookmark bookmark;
-	bookmark.m_possition  = originalPossition;
-	bookmark.m_text = processedText + processedPossition;
-	processedText[processedPossition++] = c;
-	return bookmark;
-}
-
-/**
- * Prints to stdout the found items
- * The format of stdout is strictly defined by the caller: SWI/PROCESSOR
- * Change it synchroniously with SWI/PROCESSOR code
- */
-static void swiResultPrint(SwiBookmark bookmark,
-						   SwiRecord   files[],
-						   const char* originalText,
-						   int         numOfDuplicatedSymbols)
-{
-	int recordIndex = 0;
-	while (files[recordIndex].end <= bookmark.m_possition)
-	{
-		++recordIndex;
-	}
-
-	printf("duplication: file: '%s' function: '%s' possition: '%d' size: '%d' \n",
-		files[recordIndex].fileName,
-		files[recordIndex].functionName,
-		swiLineNumberGet(originalText, bookmark.m_possition, files, recordIndex),
-		numOfDuplicatedSymbols);
-}
-
-/**
-* Returns number of symbols which are equal from the beggining
-*/
-static int swiStringsCompare(SwiBookmark bookmarkFirst,
-							 SwiBookmark bookmarkSecond)
-{
-	int pos = 0;
-	for (; bookmarkFirst.m_text[pos] == bookmarkSecond.m_text[pos]; ++pos)
-	{
-		if (bookmarkFirst.m_text[pos] == SWI_EOF)
-		{
-			break;
-		}
-	}
-	return pos;
-}
-
-/**
- * Checks if two strings are equal in the defined range of symbol's indexes:
- * from the first symbol till upperLimit
- */
-static bool swiStringsEqualCheck(SwiBookmark bookmarkFirst,
-								 SwiBookmark bookmarkSecond,
-								 int upperLimit,
-								 const char* endPos)
-{
-	if (bookmarkFirst.m_text + upperLimit >= endPos ||
-		bookmarkSecond.m_text + upperLimit >= endPos)
-	{
-		return false;
-	}
-
-	for (int i = upperLimit; i >= 0; --i)
-	{
-		if (bookmarkFirst.m_text[i] != bookmarkSecond.m_text[i])
-		{
-			return false;
-		}
-	}
-	return true;
-}
-
-/**
- * Scans the original text into a processed text, which is returned.
- * The processed string does not include the ignorable symbols
- * The list of ignorable symbols is configured (usualy spaces)
- * Bookmarks are installed for every newline
- * if it begins from the 'regular' symbol
- * The list of non-regular symbols is configred
- */
-static const char* swiOriginalStringProcess(std::string               originalText,
-											std::vector<SwiBookmark>& bookmarks,
-											const char * ignorableSymbols,
-											const char * nonregularSymbols)
-{
-	char* const processedText = new char[originalText.length()];
-	bool  isNewlineDetected = true;
-
-	for (unsigned int i = 0; i < originalText.length(); ++i)
-	{
-		const char c = originalText[i];
-		bool isIgnorable  = false;
-		bool isRegular    = true;
-
-
-		// Processed text should not include the end-null symbol
-		if (c == '\0')
-		{
-			continue;
-		}
-
-		if (c == SWI_EOF)
-		{
-			swiProcessedCharacterAdd(c, i, processedText);
-			continue;
-		}
-
-		for (int j = 0; ignorableSymbols[j] != '\0'; ++j)
-		{
-			if (ignorableSymbols[j] == c)
-			{
-				isIgnorable = true;
-			}
-		}
-
-		for (int j = 0; nonregularSymbols[j] != '\0'; ++j)
-		{
-			if (nonregularSymbols[j] == c)
-			{
-				isRegular = false;
-			}
-		}
-
-		if (!isIgnorable)
-		{
-			if (isNewlineDetected && isRegular)
-			{
-				bookmarks.push_back(swiProcessedCharacterAdd(c, i, processedText));
-			}
-			else
-			{
-				swiProcessedCharacterAdd(c, i, processedText);
-			}
-
-			isNewlineDetected = false;
-		}
-
-		if (c == '\n')
-		{
-			isNewlineDetected = true;
-		}
-	}
-	swiProcessedCharacterAdd('\0', originalText.length(), processedText);
-
-	return processedText;
-}
-
-/**
-* Removes bookmarks which are in reported area already
-* It helps to prevent the unexpected reporting of the duplicatedSymbolsCount markers more than once
-*/
-static void swiBookmarksShift(std::vector<SwiBookmark>& bookmarks)
-{
-	unsigned int indexFrom = 0;
-	for (unsigned int indexTo = 0; indexTo < bookmarks.size() - 1; ++indexTo)
-	{
-		if (bookmarks[indexTo].m_text == 0)
-		{
-			if (indexFrom <= indexTo)
-			{
-				indexFrom = indexTo + 1;
-			}
-			while (indexFrom < bookmarks.size() &&
-				bookmarks[indexFrom].m_text == 0)
-			{
-				++indexFrom;
-			}
-
-			if (indexFrom == bookmarks.size())
-			{
-				break;
-			}
-
-			bookmarks[indexTo]= bookmarks[indexFrom];
-			bookmarks[indexFrom].m_text = 0;
-		}
-	}
-}
-
-/**
- * Programm entry point
- */
-int main(int argc, char* argv[])
-{
-	std::vector<SwiRecord>  files(0);
-	std::string commonString      = "";
-	int minLength         = 100;
-	int proximityFactor   = 100;
-	char * ignorabaleSymbols = new char[SWI_MAX_TEXT_LENGTH];
-	char * nonRegularSymbols = new char[SWI_MAX_TEXT_LENGTH];
-
-	strcpy(ignorabaleSymbols, " \t\n");
-	strcpy(nonRegularSymbols, "}");
-
-	while (1)
-	{
-		char * command = new char[SWI_MAX_TEXT_LENGTH];
-		scanf("%s", command);
-
-		if (strcmp(command, "start") == 0)
-		{
-			// Continue search algorithm
-			break;
-		}
-
-		if (strcmp(command, "exit") == 0)
-		{
-			// Breaking the search
-			exit(EXIT_SUCCESS);
-		}
-
-		if (strcmp(command, "init_length") == 0)
-		{
-			scanf("%d", &minLength);
-		}
-
-		if (strcmp(command, "init_proximity") == 0)
-		{
-			scanf("%d", &proximityFactor);
-
-			if (proximityFactor < 1 || proximityFactor > 100)
-			{
-				fprintf(stderr, "error: Proximity factor must be between 1 and 100 (inclusive)\n");
-				exit(EXIT_FAILURE);
-			}
-		}
-
-		if (strcmp(command, "init_ignorable") == 0)
-		{
-			// TODO: no ways to configure newline symbol
-			scanf("%s", ignorabaleSymbols);
-		}
-
-		if (strcmp(command, "init_nonregular") == 0)
-		{
-			// TODO: no ways to configure hewline symbol
-			scanf("%s", nonRegularSymbols);
-		}
-
-		if (strcmp(command, "init_file") == 0)
-		{
-			unsigned int fileLength = 0;
-			unsigned int functionLength = 0;
-			unsigned int textLength = 0;
-
-			scanf("%d", &fileLength);
-			scanf("%d", &functionLength);
-			scanf("%d", &textLength);
-
-			char * file     = new char[fileLength + 1];
-			char * function = new char[functionLength + 1];
-			char * text     = new char[textLength + 1 + 1]; // +1 for null pointer, +1 for EOF symbol
-
-			file[fileLength] = '\0';
-			function[functionLength] = '\0';
-			text[textLength] = SWI_EOF;
-			text[textLength + 1] = '\0';
-
-			fread(file, 1, 1, stdin); // Consume one empty symbol
-			fread(file, fileLength, 1, stdin);
-			fread(function, functionLength, 1, stdin);
-			fread(text, textLength, 1, stdin);
-
-			commonString += std::string(text);
-			SwiRecord record;
-			record.end        = commonString.length();
-			record.functionName = function;
-			record.fileName = file;
-			files.push_back(record);
-
-			delete text;
-		}
-
-		delete command;
-	}
-
-	if (commonString.length() == 0)
-	{
-		fprintf(stderr, "error: No files defined or they are empty\n");
-		exit(EXIT_FAILURE);
-	}
-
-	std::vector<SwiBookmark> bookmarks;
-	const char* processedText =
-		swiOriginalStringProcess(commonString, bookmarks, ignorabaleSymbols, nonRegularSymbols);
-	const char* processedEnd  = processedText + strlen(processedText);
-
-	std::sort(bookmarks.begin(), bookmarks.end());
-
-	while(1)
-	{
-		int longestDuplication = 0;
-		int firstInstanceIndex = 0;
-
-		// Find the two bookmarks that have the longest common substring.
-		for (unsigned int bookmarkIndex = 0; bookmarkIndex < bookmarks.size() - 1; ++bookmarkIndex)
-		{
-			if (bookmarks[bookmarkIndex + 1].m_text == 0)
-			{
-				break;
-			}
-
-			if (swiStringsEqualCheck(bookmarks[bookmarkIndex], bookmarks[bookmarkIndex + 1],
-				longestDuplication, processedEnd))
-			{
-				const int duplicatedSymbolsCount = swiStringsCompare(bookmarks[bookmarkIndex],
-					bookmarks[bookmarkIndex + 1]);
-				if (duplicatedSymbolsCount > longestDuplication)
-				{
-					firstInstanceIndex = bookmarkIndex;
-					longestDuplication = duplicatedSymbolsCount;
-				}
-			}
-		}
-
-		if (longestDuplication < minLength)
-		{
-			// Do not process too short strings
-			// This is the exit from the while loop
-			break;
-		}
-
-		int numberOfInstances        = 2;
-		int almostLongestDuplication = (longestDuplication * proximityFactor) / 100;
-		int initialIndexForScan = firstInstanceIndex;
-
-		// // Search for duplicated strings before the current pair.
-		for (int i = initialIndexForScan - 1; i >= 0; --i)
-		{
-			const int duplicatedSymbolsCount =
-				swiStringsCompare(bookmarks[initialIndexForScan], bookmarks[i]);
-
-			if (duplicatedSymbolsCount < almostLongestDuplication)
-			{
-				break;
-			}
-			numberOfInstances++;
-			if (longestDuplication > duplicatedSymbolsCount)
-			{
-				longestDuplication = duplicatedSymbolsCount;
-			}
-			firstInstanceIndex = i;
-		}
-
-		// Search for duplicated strings after the current pair.
-		for (unsigned int i = initialIndexForScan + 2; i < bookmarks.size(); ++i)
-		{
-			if (bookmarks[i].m_text == 0)
-			{
-				break;
-			}
-
-			const int duplicatedSymbolsCount = swiStringsCompare(bookmarks[initialIndexForScan],
-				bookmarks[i]);
-			if (duplicatedSymbolsCount < almostLongestDuplication)
-			{
-				break;
-			}
-			numberOfInstances++;
-			if (longestDuplication > duplicatedSymbolsCount)
-			{
-				longestDuplication = duplicatedSymbolsCount;
-			}
-		}
-
-		printf("info: group_start\n");
-		for (int i = 0; i < numberOfInstances; ++i)
-		{
-			swiResultPrint(bookmarks[firstInstanceIndex + i], &files[0],
-				commonString.c_str(), longestDuplication);
-
-			// Clear bookmarks that point out to the reported area.
-			const char* reportStart =
-				bookmarks[firstInstanceIndex + i].m_text;
-
-			for (unsigned int j = 0; j < bookmarks.size() - 1; ++j)
-			{
-				if (bookmarks[j].m_text >= reportStart &&
-					bookmarks[j].m_text < reportStart + longestDuplication)
-				{
-					bookmarks[j].m_text = 0;
-				}
-			}
-		}
-		printf("\n");
-
-		swiBookmarksShift(bookmarks);
-	}
-
-	delete [] processedText;
-	return 0;
-}
-
-

+ 0 - 20
old/dupindex/dupindex.sln

@@ -1,20 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C++ Express 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dupindex", "dupindex.vcproj", "{6D7440A9-F28B-4881-914F-79BDCF355F95}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Win32 = Debug|Win32
-		Release|Win32 = Release|Win32
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{6D7440A9-F28B-4881-914F-79BDCF355F95}.Debug|Win32.ActiveCfg = Debug|Win32
-		{6D7440A9-F28B-4881-914F-79BDCF355F95}.Debug|Win32.Build.0 = Debug|Win32
-		{6D7440A9-F28B-4881-914F-79BDCF355F95}.Release|Win32.ActiveCfg = Release|Win32
-		{6D7440A9-F28B-4881-914F-79BDCF355F95}.Release|Win32.Build.0 = Release|Win32
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

+ 0 - 197
old/dupindex/dupindex.vcproj

@@ -1,197 +0,0 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="dupindex"
-	ProjectGUID="{6D7440A9-F28B-4881-914F-79BDCF355F95}"
-	RootNamespace="dupindex"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="2"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)bin"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			WholeProgramOptimization="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="2"
-				InlineFunctionExpansion="2"
-				EnableIntrinsicFunctions="true"
-				FavorSizeOrSpeed="1"
-				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
-				RuntimeLibrary="2"
-				BufferSecurityCheck="true"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="Source Files"
-			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
-			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
-			>
-			<File
-				RelativePath=".\dupindex.cpp"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="Header Files"
-			Filter="h;hpp;hxx;hm;inl;inc;xsd"
-			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
-			>
-		</Filter>
-		<Filter
-			Name="Resource Files"
-			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
-			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
-			>
-		</Filter>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

BIN
old/images/logo.png


BIN
old/images/logo_project.jpg


BIN
old/images/logo_small.gif


BIN
old/images/logo_small.png


+ 0 - 11
old/index.html

@@ -1,11 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" />
-<meta http-equiv="REFRESH" content="0;url=./project.html"></HEAD>
-<title>Index page, wait for redirect</title>
-</head>
-
-<body>
-</body>
-</html>

+ 0 - 91
old/lib/Internal/Output.pm

@@ -1,91 +0,0 @@
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-package Internal::Output;
-
-use strict;
-
-require Exporter;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $PREFERRED_PARSER);
-@ISA              = qw(Exporter);
-@EXPORT           = qw(DEBUG_ENABLED DEBUG STATUS PRINT);
-@EXPORT_OK        = qw(DEBUG_ENABLED DEBUG STATUS PRINT);
-$VERSION          = '1.0';
-$PREFERRED_PARSER = undef;
-
-#
-# Global variables
-#
-my $globalDebugEnabled = 0;
-
-#
-# Interfaces to get/set internal variables
-#
-
-sub DEBUG_ENABLED
-{
-    if (@_)
-    {
-        $globalDebugEnabled = shift();
-    }
-    return $globalDebugEnabled;
-}
-
-#
-# Interfaces to dump/print/publish the information
-#
-
-sub DEBUG
-{
-    my $text = shift();
-    if ( $globalDebugEnabled != 0 )
-    {
-        print "[SWI DEBUG  MESSAGE]: $text\n";
-    }
-}
-
-sub STATUS
-{
-    my $text = shift();
-    
-    print "[SWI STATUS MESSAGE]: $text\n";
-}
-
-sub PRINT
-{
-    my $file = shift();
-    my $line = shift();
-    my $severity = shift();
-    my $text = shift();
-    
-    $severity = lc $severity;
-    
-    if ( $severity ne 'debug' || $globalDebugEnabled != 0 )
-    {
-        if ($severity eq 'debug')
-        {
-            print STDOUT "$file:$line: $severity: $text\n";
-        }
-        elsif($severity eq 'error' || $severity eq 'warning' || $severity eq 'notice' || $severity eq 'info')
-        {
-            print STDERR "$file:$line: $severity: $text\n";
-        }
-    }
-}
-
-return 1;

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1030
old/lib/SWI/Appraiser.pm


+ 0 - 351
old/lib/SWI/Converter.pm

@@ -1,351 +0,0 @@
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-use strict;
-use XML::Simple;
-use FileHandle;
-use Data::Dumper;
-
-#
-# Export section
-#
-require Exporter;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $PREFERRED_PARSER);
-@ISA              = qw(Exporter);
-@EXPORT           = qw(swiConvert);
-@EXPORT_OK        = qw();
-$VERSION          = '1.0';
-$PREFERRED_PARSER = undef;
-
-#
-# Global variables
-#
-my $config = undef;
-
-#
-# Enter point
-#
-sub swiConvert
-{
-    $config = shift();
-
-    my $report   = undef;
-    my $exitCode = 0;
-
-    $report = XMLin(
-        $config->{"swi:report"}->{"swi:destination"} . "/"
-          . $config->{"swi:report"}->{"swi:xml"}->{"swi:name"},
-        ForceArray =>
-          [ "swi:module", "swi:file", "swi:function", "swi:reference" ]
-    );
-
-    # generate notification report
-    my $fh = new FileHandle(
-        $config->{"swi:report"}->{"swi:destination"} . "/"
-          . $config->{"swi:report"}->{"swi:notifications"}->{"swi:name"},
-        "w"
-      )
-      or die("Can not open output file!");
-
-    my $projectStat     = $report->{"swi:statistic"};
-    my $projectName     = $config->{"swi:info"}->{"swi:project"}->{"swi:name"};
-    my $projectLocation = $config->{"swi:report"}->{"swi:destination"};
-    my $projectDiff     = "modified";
-    $exitCode +=
-      swiNotificationPrint( $fh, $projectName, $projectLocation, undef,
-        $projectStat, $projectDiff );
-    for (
-        my $moduleId = 0 ;
-        $moduleId <= $#{ $report->{"swi:module"} } ;
-        $moduleId++
-      )
-    {
-        my $moduleStat = $report->{"swi:module"}[$moduleId]->{"swi:statistic"};
-        my $moduleName = $report->{"swi:module"}[$moduleId]->{"swi:name"};
-        my $moduleLocation =
-          $report->{"swi:module"}[$moduleId]->{"swi:location"};
-        my $moduleDiff =
-          $report->{"swi:module"}[$moduleId]->{"swi:modification"};
-        $exitCode +=
-          swiNotificationPrint( $fh, $projectName . "/" . $moduleName,
-            $moduleLocation, undef, $moduleStat, $moduleDiff );
-        for (
-            my $fileId = 0 ;
-            $fileId <= $#{ $report->{"swi:module"}[$moduleId]->{"swi:file"} } ;
-            $fileId++
-          )
-        {
-            my $fileStat =
-              $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-              ->{"swi:statistic"};
-            my $fileName =
-              $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-              ->{"swi:name"};
-            my $fileLocation =
-              $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-              ->{"swi:location"};
-            my $fileDiff =
-              $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-              ->{"swi:modification"};
-            $exitCode += swiNotificationPrint(
-                $fh, $projectName . "/" . $moduleName . "/" . $fileName,
-                $moduleLocation, $fileLocation . ":0",
-                $fileStat, $fileDiff
-            );
-            for (
-                my $functionId = 0 ;
-                $functionId <= $#{
-                    $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                      ->{"swi:function"}
-                } ;
-                $functionId++
-              )
-            {
-                my $functionRefs =
-                  $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                  ->{"swi:function"}[$functionId]->{"swi:reference"};
-                my $functionStat =
-                  $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                  ->{"swi:function"}[$functionId]->{"swi:statistic"};
-                my $functionName =
-                  $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                  ->{"swi:function"}[$functionId]->{"swi:name"};
-                my $functionLocation =
-                  $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                  ->{"swi:function"}[$functionId]->{"swi:location"};
-                my $functionDiff =
-                  $report->{"swi:module"}[$moduleId]->{"swi:file"}[$fileId]
-                  ->{"swi:function"}[$functionId]->{"swi:modification"};
-                $exitCode += swiNotificationPrint(
-                    $fh,
-                    $projectName . "/"
-                      . $moduleName . "/"
-                      . $fileName . "/"
-                      . $functionName,
-                    $moduleLocation,
-                    $functionLocation,
-                    $functionStat,
-                    $functionDiff,
-                    $functionRefs
-                );
-            }
-        }
-    }
-    $fh->close();
-
-    $fh = new FileHandle(
-        $config->{"swi:report"}->{"swi:destination"} . "/"
-          . $config->{"swi:report"}->{"swi:notifications"}->{"swi:name"},
-        "r"
-      )
-      or die("Can not open input file!");
-
-    while (<$fh>)
-    {
-        print STDERR $_;
-    }
-    $fh->close();
-
-    return $exitCode;
-}
-
-sub swiNotificationPrint
-{
-    my $file         = shift();
-    my $objName      = shift();
-    my $modLocation  = shift();
-    my $fileLocation = shift();
-    my $objStat      = shift();
-    my $objDiff      = shift();
-    my $objRefs      = shift();
-    my $returnCode   = 0;
-
-    if ( !defined($fileLocation) )
-    {
-        $fileLocation = ".";
-    }
-
-    # Print 'swi:modifications'
-    if (   $objDiff ne "unmodified"
-        && $config->{"swi:report"}->{"swi:notifications"}->{"swi:print"}
-        ->{ "swi:" . $objDiff }->{"swi:modifications"} eq "on" )
-    {
-        my $notification =
-            "$modLocation/$fileLocation: " . "info"
-          . ": Object "
-          . $objName
-          . " has been "
-          . $objDiff
-          . "\n\tObject         : "
-          . $objName . "\n";
-        print $file $notification;
-        print $file "\n";
-    }
-
-    # Print 'swi:failures'
-    my $areThereDupViolations = 0;
-    foreach my $keyStat ( keys %$objStat )
-    {
-        my $subStat = $objStat->{$keyStat};
-        foreach my $keySubStat ( keys %$subStat )
-        {
-            my $types = $objStat->{$keyStat}->{$keySubStat};
-            foreach my $type ( keys %$types )
-            {
-                my $statInfo = $objStat->{$keyStat}->{$keySubStat}->{$type};
-                if (
-                    !(
-                        $statInfo->{"swi:level"} eq $statInfo->{"swi:suppress"}
-                        || (   $statInfo->{"swi:level"} eq "regular"
-                            && $statInfo->{"swi:suppress"} eq "undefined" )
-                    )
-                  )
-                {
-                    my $notification =
-                        "$modLocation/$fileLocation: "
-                      . $statInfo->{"swi:level"}
-                      . ": Index '"
-                      . "$keyStat/$keySubStat/$type"
-                      . "' exceeds the limit"
-                      . "\n\tObject         : "
-                      . $objName
-                      . "\n\tIndex value    : "
-                      . $statInfo->{"content"}
-                      . "\n\tModification   : "
-                      . $objDiff . " / "
-                      . $statInfo->{"swi:change"}
-                      . "\n\tSeverity       : "
-                      . $statInfo->{"swi:level"}
-                      . "\n\tCriteria       : "
-                      . $statInfo->{"swi:criteria"}
-                      . "\n\tSuppress level : "
-                      . $statInfo->{"swi:suppress"} . "\n";
-
-                    if ( $config->{"swi:report"}->{"swi:notifications"}
-                        ->{"swi:print"}->{ "swi:" . $objDiff }->{"swi:failures"}
-                        eq "on" )
-                    {
-                        print $file $notification;
-                        print $file "\n";
-
-                        if (   $keyStat eq "swi:duplication"
-                            && $keySubStat eq "swi:symbols"
-                            && $type       eq 'swi:exact' )
-                        {
-                            $areThereDupViolations = 1;
-                        }
-                    }
-
-                    if ( $config->{"swi:report"}->{"swi:notifications"}
-                        ->{"swi:error"}->{ "swi:" . $objDiff } eq "on" )
-                    {
-                        $returnCode++;
-                    }
-                }
-                if (   $statInfo->{"swi:level"} eq "unresolved"
-                    || $statInfo->{"swi:suppress"} eq "unresolved" )
-                {
-                    my $notification =
-                        "$modLocation/$fileLocation: "
-                      . $statInfo->{"swi:level"}
-                      . ": The level/severity of index '"
-                      . "$keyStat/$keySubStat/$type"
-                      . "' is unresolved"
-                      . "\n\tObject         : "
-                      . $objName
-                      . "\n\tIndex value    : "
-                      . $statInfo->{"content"}
-                      . "\n\tModification   : "
-                      . $objDiff . " / "
-                      . $statInfo->{"swi:change"}
-                      . "\n\tSeverity       : "
-                      . $statInfo->{"swi:level"}
-                      . "\n\tCriteria       : "
-                      . $statInfo->{"swi:criteria"}
-                      . "\n\tSuppress level : "
-                      . $statInfo->{"swi:suppress"} . "\n\n";
-
-                    print $file $notification;
-                    $returnCode++;
-                }
-            }
-        }
-    }
-
-    # Print 'swi:duplications'
-    if (
-        $areThereDupViolations == 1
-        || $config->{"swi:report"}->{"swi:notifications"}->{"swi:print"}
-        ->{ "swi:" . $objDiff }->{"swi:duplications"} eq "on"
-      )
-    {
-        my $isPrinted = 0;
-        foreach my $dupData ( @{$objRefs} )
-        {
-            if ( $dupData->{'swi:ref:type'} eq 'dup' )
-            {
-                print $file $modLocation . "/"
-                  . $dupData->{'swi:dup:file'} . ":"
-                  . $dupData->{'swi:dup:line'}
-                  . ": warning: '"
-                  . $dupData->{'swi:dup:size'}
-                  . "' executable symbols are duplicated in '"
-                  . $dupData->{'swi:dup:function'}
-                  . "' function\n";
-                $isPrinted = 1;
-            }
-        }
-        if ($isPrinted == 1)
-        {
-            print $file "\n";
-        }
-    }
-
-    # Print 'swi:scanmessages'
-    if ( $config->{"swi:report"}->{"swi:notifications"}->{"swi:print"}
-        ->{ "swi:" . $objDiff }->{"swi:scanmessages"} eq "on" )
-    {
-        foreach my $scanData ( @{$objRefs} )
-        {
-            if (
-                $scanData->{'swi:ref:type'} eq 'scan'
-                && !(
-                    defined( $scanData->{'swi:scan:suppress'} )
-                    && $scanData->{'swi:scan:suppress'} eq 'on'
-                )
-              )
-            {
-                print $file $modLocation . "/"
-                  . $scanData->{'swi:scan:file'} . ":"
-                  . $scanData->{'swi:scan:line'}
-                  . ": warning: "
-                  . $scanData->{'swi:scan:message'}
-                  . "\n\tObject         : "
-                  . $objName
-                  . "\n\tModification   : "
-                  . $objDiff . "\n\n";
-                $returnCode++;
-            }
-        }
-    }
-
-    return $returnCode;
-}
-
-return 1;

+ 0 - 740
old/lib/SWI/Launcher.pm

@@ -1,740 +0,0 @@
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-use strict;
-use XML::Simple;
-use FileHandle;
-
-#
-# Export section
-#
-require Exporter;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $PREFERRED_PARSER);
-@ISA              = qw(Exporter);
-@EXPORT           = qw(swiLaunch);
-@EXPORT_OK        = qw();
-$VERSION          = '1.0';
-$PREFERRED_PARSER = undef;
-
-#
-# Subroutine for troubleshooting purposes
-#
-use Internal::Output;
-
-#
-# Include SWI libs
-#
-require SWI::Appraiser;
-require SWI::Converter;
-require SWI::Merger;
-require SWI::Processor;
-
-#
-# Global variables
-#
-my $config = undef;
-
-#
-# Enter point
-#
-sub swiLaunch
-{
-    my $returnCode       = 0;
-    my $rootLocation     = shift();
-    my $swiConfiguration = shift();
-
-    # $returnCode == 0 => no critical errors and warnings
-    # $returnCode >  0 => no critical errors, there are warnings
-    # $returnCode <  0 => there are critical errors
-
-    if ( $returnCode >= 0 )
-    {
-        if ( $swiConfiguration eq "" )
-        {
-            STATUS("Configuration file should be specified!");
-            $returnCode = -1;
-        }
-        else
-        {
-            STATUS("Configuration file: $swiConfiguration.");
-        }
-    }
-
-    if ( $returnCode >= 0 )
-    {
-        if ( swiConfigurationValidate($swiConfiguration) != 0 )
-        {
-            STATUS("Wrong configuration file!");
-            $returnCode = -2;
-        }
-    }
-
-    if ( $returnCode >= 0 )
-    {
-
-        # Generate report for every module separately
-        for (
-            my $i = 0 ;
-            $i <= $#{ $config->{"swi:modules"}->{"swi:module"} } ;
-            $i++
-          )
-        {
-            STATUS( "Processing module: '"
-                  . $config->{"swi:modules"}->{"swi:module"}[$i]->{"swi:name"}
-                  . "'." );
-            my $result = swiProcess( $config, $i, $rootLocation );
-            if ( $result < 0 )
-            {
-                STATUS("The are problems to report the index for the module!");
-                $returnCode = -5;
-            }
-            elsif ( $result > 0 )
-            {
-                STATUS("The are scan warnings and/or errors.");
-                $returnCode += $result;
-            }
-            else
-            {
-                STATUS("The module has been processed succesfully.");
-            }
-        }
-    }
-
-    if ( $returnCode >= 0 )
-    {
-
-        # Merge reports
-        if ( swiMerge($config) )
-        {
-            STATUS("The are problems to merge files to one report!");
-            $returnCode = -3;
-        }
-        else
-        {
-            STATUS("Merged report has been created.");
-        }
-    }
-
-    if ( $returnCode >= 0 )
-    {
-
-        # Add average/min/max/total values and generate final XML report
-        if ( swiAppraise($config) )
-        {
-            STATUS("The are problems to add average/min/max/total values!");
-            $returnCode = -4;
-        }
-        else
-        {
-            STATUS("Average/min/max/total values have been added.");
-        }
-    }
-
-    if ( $returnCode >= 0 )
-    {
-
-        # Convert results
-        my $result = swiConvert($config);
-        if ( $result < 0 )
-        {
-            STATUS("The are problems to convert the report!");
-            $returnCode = -5;
-        }
-        elsif ( $result > 0 )
-        {
-            STATUS(
-                "Report has been converted. There are exceeded limitations.");
-            $returnCode += $result;
-        }
-        else
-        {
-            STATUS("Report has been converted.");
-        }
-    }
-
-    STATUS("Execution completed with exit code '$returnCode'.");
-    return $returnCode;
-}
-
-sub swiConfigurationValidate
-{
-    my $result = 0;
-    $config =
-      XMLin( shift(),
-        ForceArray => [ "swi:module", "swi:rule", "swi:pattern" ] );
-
-    if ( !defined( $config->{'swi:info'} ) )
-    {
-        STATUS("Wrong configuration: 'swi:info' section missed.");
-        $result++;
-    }
-    else
-    {
-        if ( !defined( $config->{'swi:info'}->{'swi:version'} ) )
-        {
-            STATUS(
-                "Wrong configuration: 'swi:info/swi:version' section missed.");
-            $result++;
-        }
-        elsif ( $config->{'swi:info'}->{'swi:version'} != 1 )
-        {
-            STATUS(
-"Wrong configuration: Unsupported version of the configuration file. Check 'swi:info/swi:version' section."
-            );
-            $result++;
-        }
-
-        if ( !defined( $config->{'swi:info'}->{'swi:project'} ) )
-        {
-            STATUS(
-                "Wrong configuration: 'swi:info/swi:project' section missed.");
-            $result++;
-        }
-        else
-        {
-            if (
-                !defined(
-                    $config->{'swi:info'}->{'swi:project'}->{'swi:name'}
-                )
-              )
-            {
-                STATUS(
-"Wrong configuration: 'swi:info/swi:project/swi:name' section missed."
-                );
-                $result++;
-            }
-            elsif ( $config->{'swi:info'}->{'swi:project'}->{'swi:name'} eq "" )
-            {
-                STATUS(
-"Wrong configuration: 'swi:info/swi:project/swi:name' is empty."
-                );
-                $result++;
-            }
-        }
-    }
-
-    if ( !defined( $config->{'swi:general'} )
-        || ref( $config->{'swi:general'} ) ne 'HASH' )
-    {
-        $config->{'swi:general'} = {};
-    }
-    if ( !defined( $config->{'swi:general'}->{'swi:debug'} )
-        || ref( $config->{'swi:general'}->{'swi:debug'} ) ne 'HASH' )
-    {
-        $config->{'swi:general'}->{'swi:debug'} = {};
-    }
-    if ( !defined( $config->{'swi:general'}->{'swi:debug'}->{'swi:enabled'} ) )
-    {
-        $config->{'swi:general'}->{'swi:debug'}->{'swi:enabled'} = 'off';
-    }
-    DEBUG_ENABLED(
-        ( $config->{'swi:general'}->{'swi:debug'}->{'swi:enabled'} eq 'on' )
-        ? 1
-        : 0
-    );
-
-    if ( !defined( $config->{'swi:modules'} )
-        || ref( $config->{'swi:modules'} ) ne 'HASH' )
-    {
-        STATUS("Wrong configuration: 'swi:modules' section missed.");
-        $result++;
-    }
-    else
-    {
-        if ( !defined( $config->{'swi:modules'}->{'swi:module'} )
-            || ref( $config->{'swi:modules'}->{'swi:module'} ) ne 'ARRAY' )
-        {
-            STATUS(
-                "Wrong configuration: 'swi:modules/swi:module' section missed."
-            );
-            $result++;
-        }
-        else
-        {
-            my $moduleId = 0;
-            foreach my $module ( @{ $config->{'swi:modules'}->{'swi:module'} } )
-            {
-                if ( !defined( $module->{'swi:name'} ) )
-                {
-                    STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:name' section missed."
-                    );
-                    $result++;
-                }
-                if ( !defined( $module->{'swi:location'} ) )
-                {
-                    STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:location' section missed."
-                    );
-                    $result++;
-                }
-
-                if ( !defined( $module->{'swi:files'} )
-                    || ref( $module->{'swi:files'} ) ne 'HASH' )
-                {
-                    $module->{'swi:files'} = {};
-                }
-                if ( !defined( $module->{'swi:files'}->{'swi:include'} ) )
-                {
-                    $module->{'swi:files'}->{'swi:include'} = '.*';
-                }
-                if ( !defined( $module->{'swi:files'}->{'swi:exclude'} ) )
-                {
-                    $module->{'swi:files'}->{'swi:exclude'} = '';
-                }
-
-                if ( !defined( $module->{'swi:preprocessor'} )
-                    || ref( $module->{'swi:preprocessor'} ) ne 'HASH' )
-                {
-                    $module->{'swi:preprocessor'} = {};
-                }
-                if ( !defined( $module->{'swi:preprocessor'}->{'swi:rule'} ) )
-                {
-                    $module->{'swi:preprocessor'}->{'swi:rule'} = [];
-                }
-
-                my $ruleId = 0;
-                foreach
-                  my $rule ( @{ $module->{'swi:preprocessor'}->{'swi:rule'} } )
-                {
-                    if ( !defined( $rule->{'swi:filepattern'} )
-                        || $rule->{'swi:filepattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:preprocessor/swi:rule[$ruleId]/swi:filepattern' section missed."
-                        );
-                        $result++;
-                    }
-                    if ( !defined( $rule->{'swi:searchpattern'} )
-                        || $rule->{'swi:searchpattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:preprocessor/swi:rule[$ruleId]/swi:searchpattern' section missed."
-                        );
-                        $result++;
-                    }
-                    if ( !defined( $rule->{'swi:replacepattern'} )
-                        || $rule->{'swi:replacepattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:preprocessor/swi:rule[$ruleId]/swi:replacepattern' section missed."
-                        );
-                        $result++;
-                    }
-
-                    $ruleId++;
-                }
-
-                if ( !defined( $module->{'swi:scanner'} )
-                    || ref( $module->{'swi:scanner'} ) ne 'HASH' )
-                {
-                    $module->{'swi:scanner'} = {};
-                }
-                if ( !defined( $module->{'swi:scanner'}->{'swi:rule'} ) )
-                {
-                    $module->{'swi:scanner'}->{'swi:rule'} = [];
-                }
-
-                $ruleId = 0;
-                foreach my $rule ( @{ $module->{'swi:scanner'}->{'swi:rule'} } )
-                {
-                    if ( !defined( $rule->{'swi:filepattern'} )
-                        || $rule->{'swi:filepattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:rule[$ruleId]/swi:filepattern' section missed."
-                        );
-                        $result++;
-                    }
-                    if ( !defined( $rule->{'swi:searchpattern'} )
-                        || $rule->{'swi:searchpattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:rule[$ruleId]/swi:searchpattern' section missed."
-                        );
-                        $result++;
-                    }
-                    if ( !defined( $rule->{'swi:messagepattern'} )
-                        || $rule->{'swi:messagepattern'} eq "" )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:rule[$ruleId]/swi:messagepattern' section missed."
-                        );
-                        $result++;
-                    }
-
-                    if ( !defined( $rule->{'swi:codecontent'} )
-                        || $rule->{'swi:codecontent'} eq "" )
-                    {
-                        $rule->{'swi:codecontent'} = 'purified';
-                    }
-
-                    $ruleId++;
-                }
-
-                if ( !defined( $module->{'swi:scanner'}->{'swi:suppress'} ) )
-                {
-                    $module->{'swi:scanner'}->{'swi:suppress'} = {};
-                }
-                if (
-                    !defined(
-                        $module->{'swi:scanner'}->{'swi:suppress'}
-                          ->{'swi:pattern'}
-                    )
-                  )
-                {
-                    $module->{'swi:scanner'}->{'swi:suppress'}
-                      ->{'swi:pattern'} = [];
-                }
-
-                my $patternId = 0;
-                foreach my $pattern (
-                    @{
-                        $module->{'swi:scanner'}->{'swi:suppress'}
-                          ->{'swi:pattern'}
-                    }
-                  )
-                {
-                    if ( ref($pattern) ne 'HASH' )
-                    {
-                        STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:suppress/swi:pattern[$patternId]' section is incorrect."
-                        );
-                        $result++;
-                    }
-                    else
-                    {
-                        if ( !defined( $pattern->{'swi:message'} )
-                            || $pattern->{'swi:message'} eq "" )
-                        {
-                            STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:suppress/swi:pattern[$patternId]/swi:message' field is empty."
-                            );
-                            $result++;
-                        }
-                        if ( !defined( $pattern->{'content'} )
-                            || $pattern->{'content'} eq "" )
-                        {
-                            STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:scanner/swi:suppress/swi:pattern[$patternId]' object pattern is empty."
-                            );
-                            $result++;
-                        }
-                    }
-
-                    $patternId++;
-                }
-
-                if ( !defined( $module->{'swi:indexer:common'} )
-                    || ref( $module->{'swi:indexer:common'} ) ne 'HASH' )
-                {
-                    $module->{'swi:indexer:common'} = {};
-                }
-
-                if ( !defined( $module->{'swi:indexer:dup'} )
-                    || ref( $module->{'swi:indexer:dup'} ) ne 'HASH' )
-                {
-                    $module->{'swi:indexer:dup'} = {};
-                }
-                if (
-                    !defined(
-                        $module->{'swi:indexer:dup'}->{'swi:codecontent'}
-                    )
-                  )
-                {
-                    $module->{'swi:indexer:dup'}->{'swi:codecontent'} =
-                      'purified';
-                }
-                if ( !defined( $module->{'swi:indexer:dup'}->{'swi:enabled'} ) )
-                {
-                    $module->{'swi:indexer:dup'}->{'swi:enabled'} = 'on';
-                }
-                if ( !defined( $module->{'swi:indexer:dup'}->{'swi:minlength'} )
-                  )
-                {
-                    $module->{'swi:indexer:dup'}->{'swi:minlength'} = 100;
-                }
-                if ( $module->{'swi:indexer:dup'}->{'swi:minlength'} <= 0 )
-                {
-                    STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:indexer:dup/swi:minlength' can not be less than or equal to zero."
-                    );
-                    $result++;
-                }
-                if ( !defined( $module->{'swi:indexer:dup'}->{'swi:proximity'} )
-                  )
-                {
-                    $module->{'swi:indexer:dup'}->{'swi:proximity'} = 100;
-                }
-                if (   $module->{'swi:indexer:dup'}->{'swi:proximity'} <= 0
-                    || $module->{'swi:indexer:dup'}->{'swi:proximity'} > 100 )
-                {
-                    STATUS(
-"Wrong configuration: 'swi:modules/swi:module[$moduleId]/swi:indexer:dup/swi:proximity' should be in the range from 1 till 100."
-                    );
-                    $result++;
-                }
-                if (
-                    !defined(
-                        $module->{'swi:indexer:dup'}->{'swi:globalcode'}
-                    )
-                  )
-                {
-                    $module->{'swi:indexer:dup'}->{'swi:globalcode'} = 'off';
-                }
-
-                if ( !defined( $module->{'swi:indexer:gcov'} )
-                    || ref( $module->{'swi:indexer:gcov'} ) ne 'HASH' )
-                {
-                    $module->{'swi:indexer:gcov'} = {};
-                }
-                if ( !defined( $module->{'swi:indexer:gcov'}->{'swi:enabled'} ) )
-                {
-                    $module->{'swi:indexer:gcov'}->{'swi:enabled'} = 'off';
-                }
-                if ( !defined( $module->{'swi:indexer:gcov'}->{'swi:filepattern'} ) )
-                {
-                    $module->{'swi:indexer:gcov'}->{'swi:filepattern'} = '.*';
-                }
-                if ( !defined( $module->{'swi:indexer:gcov'}->{'swi:sourcefile'} ) )
-                {
-                    $module->{'swi:indexer:gcov'}->{'swi:sourcefile'} = '(.*)[.][cChH][pP]?[pP]?';
-                }
-                if ( !defined( $module->{'swi:indexer:gcov'}->{'swi:gcdafile'} ) )
-                {
-                    $module->{'swi:indexer:gcov'}->{'swi:gcdafile'} = '${1}.gcda';
-                }
-
-                $moduleId++;
-            }
-        }
-    }
-
-    if ( !defined( $config->{'swi:report'} )
-        || ref( $config->{'swi:report'} ) ne 'HASH' )
-    {
-        STATUS("Wrong configuration: 'swi:report' section missed.");
-        $result++;
-    }
-    else
-    {
-        if ( !defined( $config->{'swi:report'}->{'swi:destination'} ) )
-        {
-            STATUS(
-"Wrong configuration: 'swi:report/swi:destination' section missed."
-            );
-            $result++;
-        }
-
-        if ( !defined( $config->{'swi:report'}->{'swi:xml'} ) )
-        {
-            STATUS("Wrong configuration: 'swi:report/swi:xml' section missed.");
-            $result++;
-        }
-        else
-        {
-            if (
-                !defined( $config->{'swi:report'}->{'swi:xml'}->{'swi:name'} ) )
-            {
-                STATUS(
-"Wrong configuration: 'swi:report/swi:xml/swi:name' section is empty."
-                );
-                $result++;
-            }
-        }
-
-        if ( !defined( $config->{'swi:report'}->{'swi:notifications'} ) )
-        {
-            STATUS(
-"Wrong configuration: 'swi:report/swi:notifications' section missed."
-            );
-            $result++;
-        }
-        else
-        {
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}->{'swi:name'}
-                )
-              )
-            {
-                STATUS(
-"Wrong configuration: 'swi:report/swi:notifications/swi:name' section is empty."
-                );
-                $result++;
-            }
-
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}
-                )
-                || ref(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}
-                ) ne 'HASH'
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'} =
-                  {};
-            }
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}->{'swi:added'}
-                )
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'}
-                  ->{'swi:added'} = 'on';
-            }
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}->{'swi:removed'}
-                )
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'}
-                  ->{'swi:removed'} = 'on';
-            }
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}->{'swi:modified'}
-                )
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'}
-                  ->{'swi:modified'} = 'on';
-            }
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}->{'swi:cloned'}
-                )
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'}
-                  ->{'swi:cloned'} = 'on';
-            }
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:error'}->{'swi:unmodified'}
-                )
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:error'}
-                  ->{'swi:unmodified'} = 'on';
-            }
-
-            if (
-                !defined(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:print'}
-                )
-                || ref(
-                    $config->{'swi:report'}->{'swi:notifications'}
-                      ->{'swi:print'}
-                ) ne 'HASH'
-              )
-            {
-                $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'} =
-                  {};
-            }
-            swiUtilConfigFill_PrintSection($config, 'swi:added');
-            swiUtilConfigFill_PrintSection($config, 'swi:removed');
-            swiUtilConfigFill_PrintSection($config, 'swi:modified');
-            swiUtilConfigFill_PrintSection($config, 'swi:cloned');
-            swiUtilConfigFill_PrintSection($config, 'swi:unmodified');
-            
-        }
-    }
-    
-    # swi:limits section is verified in runtime
-    # no precheck currently 
-
-    DEBUG( "Configuration structure is: " . Dumper($config) );
-    return $result;
-}
-
-sub swiUtilConfigFill_PrintSection
-{
-    my $config  = shift();
-    my $modType = shift();
-
-    if (
-        !defined(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}
-        )
-        || ref(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}
-        ) ne 'HASH'
-      )
-    {
-        $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-          ->{$modType} = {};
-    }
-    
-    if (
-        !defined(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}->{'swi:failures'}
-        )
-      )
-    {
-        $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-          ->{$modType}->{'swi:failures'} = 'on';
-    }
-    if (
-        !defined(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}->{'swi:modifications'}
-        )
-      )
-    {
-        $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-          ->{$modType}->{'swi:modifications'} = 'on';
-    }
-    if (
-        !defined(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}->{'swi:duplications'}
-        )
-      )
-    {
-        $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-          ->{$modType}->{'swi:duplications'} = 'off';
-    }
-    if (
-        !defined(
-            $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-              ->{$modType}->{'swi:scanmessages'}
-        )
-      )
-    {
-        $config->{'swi:report'}->{'swi:notifications'}->{'swi:print'}
-          ->{$modType}->{'swi:scanmessages'} = 'on';
-    }
-}
-
-return 1;

+ 0 - 105
old/lib/SWI/Merger.pm

@@ -1,105 +0,0 @@
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-use strict;
-use FileHandle;
-use XML::Simple;
-
-#
-# Export section
-#
-require Exporter;
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $PREFERRED_PARSER);
-@ISA              = qw(Exporter);
-@EXPORT           = qw(swiMerge);
-@EXPORT_OK        = qw();
-$VERSION          = '1.0';
-$PREFERRED_PARSER = undef;
-
-#
-# Enter point
-#
-sub swiMerge
-{
-    my $config         = shift();
-    
-    my $reportLocation =
-        $config->{"swi:report"}->{"swi:destination"} . "/"
-      . $config->{"swi:report"}->{"swi:xml"}->{"swi:name"};
-
-    my $fh = new FileHandle( $reportLocation . ".x", "w" ) or die ("Can not open output file '$reportLocation'!");
-
-    print $fh "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
-    print $fh "<swi:report>\n";
-    print $fh "\n";
-    print $fh "  <swi:info>\n";
-    print $fh "    <swi:version>1.0</swi:version>\n";
-    if (defined($ENV{USER}))
-    {
-        print $fh "    <swi:user>" . $ENV{USER} . "</swi:user>\n";
-    }
-    print $fh "    <swi:generator>SWI/MERGER</swi:generator>\n";
-    print $fh "  </swi:info>\n";
-    print $fh "\n";
-    
-    my $modulesCount = $#{ $config->{"swi:modules"}->{"swi:module"} } + 1;
-    my $filesCount = 0;
-    my $functionsCount = 0;
-
-    for ( my $i = 0 ; $i < $modulesCount ; $i++ )
-    {
-        my $modFh = new FileHandle( "$reportLocation.$i", "r" ) or die ("Can not open input file '$reportLocation.$i'!");
-        my @lines = <$modFh>;
-        $modFh->close();
-        for ( my $j = 3 ; $j < $#lines ; $j++ )
-        {
-            print $fh $lines[$j];
-            if ($lines[$j] =~ m/^[ ]*<swi:count>[ ]*$/)
-            {
-                if ($lines[$j+1] =~ m/^[ ]*<swi:files[ ]+swi:exact="([0-9]*)"[ ]*\/>[ ]*$/)
-                {
-                    my $numFilesInModule = $1;
-                    if ($lines[$j+2] =~ m/^[ ]*<swi:functions[ ]+swi:exact="([0-9]*)"[ ]*\/>[ ]*$/)
-                    {
-                        my $numFunctionsInModule = $1;
-                        $functionsCount += $numFunctionsInModule;
-                        $filesCount += $numFilesInModule;
-                    }
-                }
-            }
-        }
-    }
-
-    print $fh "  <swi:statistic>\n";
-    print $fh "    <swi:count>\n";
-    print $fh "      <swi:modules swi:exact=\"" . $modulesCount . "\" />\n";
-    print $fh "      <swi:files swi:exact=\"" . $filesCount . "\" />\n";
-    print $fh "      <swi:functions swi:exact=\"" . $functionsCount . "\" />\n";
-    print $fh "    </swi:count>\n";
-    print $fh "  </swi:statistic>\n";
-    print $fh "\n";
-
-    print $fh "</swi:report>\n";
-    
-    $fh->close();
-
-    return 0;
-}
-
-return 1;

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1710
old/lib/SWI/Processor.pm


+ 0 - 324
old/lib/String/CRC/Cksum.pm

@@ -1,324 +0,0 @@
-
-package String::CRC::Cksum;
-
-#use 5.6.1;
-use strict;
-use warnings;
-use Carp;
-
-require Exporter;
-our @ISA = qw(Exporter);
-our @EXPORT_OK = qw(cksum);
-our @EXPORT = qw();
-our $VERSION = '0.03';
-
-use fields qw(cksum size);
-
-my @crctab = (
-    0x00000000,
-    0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b, 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6,
-    0x2b4bcb61, 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7, 0x4593e01e, 0x4152fda9, 0x5f15adac,
-    0x5bd4b01b, 0x569796c2, 0x52568b75, 0x6a1936c8, 0x6ed82b7f, 0x639b0da6, 0x675a1011, 0x791d4014, 0x7ddc5da3, 0x709f7b7a,
-    0x745e66cd, 0x9823b6e0, 0x9ce2ab57, 0x91a18d8e, 0x95609039, 0x8b27c03c, 0x8fe6dd8b, 0x82a5fb52, 0x8664e6e5, 0xbe2b5b58,
-    0xbaea46ef, 0xb7a96036, 0xb3687d81, 0xad2f2d84, 0xa9ee3033, 0xa4ad16ea, 0xa06c0b5d, 0xd4326d90, 0xd0f37027, 0xddb056fe,
-    0xd9714b49, 0xc7361b4c, 0xc3f706fb, 0xceb42022, 0xca753d95, 0xf23a8028, 0xf6fb9d9f, 0xfbb8bb46, 0xff79a6f1, 0xe13ef6f4,
-    0xe5ffeb43, 0xe8bccd9a, 0xec7dd02d, 0x34867077, 0x30476dc0, 0x3d044b19, 0x39c556ae, 0x278206ab, 0x23431b1c, 0x2e003dc5,
-    0x2ac12072, 0x128e9dcf, 0x164f8078, 0x1b0ca6a1, 0x1fcdbb16, 0x018aeb13, 0x054bf6a4, 0x0808d07d, 0x0cc9cdca, 0x7897ab07,
-    0x7c56b6b0, 0x71159069, 0x75d48dde, 0x6b93dddb, 0x6f52c06c, 0x6211e6b5, 0x66d0fb02, 0x5e9f46bf, 0x5a5e5b08, 0x571d7dd1,
-    0x53dc6066, 0x4d9b3063, 0x495a2dd4, 0x44190b0d, 0x40d816ba, 0xaca5c697, 0xa864db20, 0xa527fdf9, 0xa1e6e04e, 0xbfa1b04b,
-    0xbb60adfc, 0xb6238b25, 0xb2e29692, 0x8aad2b2f, 0x8e6c3698, 0x832f1041, 0x87ee0df6, 0x99a95df3, 0x9d684044, 0x902b669d,
-    0x94ea7b2a, 0xe0b41de7, 0xe4750050, 0xe9362689, 0xedf73b3e, 0xf3b06b3b, 0xf771768c, 0xfa325055, 0xfef34de2, 0xc6bcf05f,
-    0xc27dede8, 0xcf3ecb31, 0xcbffd686, 0xd5b88683, 0xd1799b34, 0xdc3abded, 0xd8fba05a, 0x690ce0ee, 0x6dcdfd59, 0x608edb80,
-    0x644fc637, 0x7a089632, 0x7ec98b85, 0x738aad5c, 0x774bb0eb, 0x4f040d56, 0x4bc510e1, 0x46863638, 0x42472b8f, 0x5c007b8a,
-    0x58c1663d, 0x558240e4, 0x51435d53, 0x251d3b9e, 0x21dc2629, 0x2c9f00f0, 0x285e1d47, 0x36194d42, 0x32d850f5, 0x3f9b762c,
-    0x3b5a6b9b, 0x0315d626, 0x07d4cb91, 0x0a97ed48, 0x0e56f0ff, 0x1011a0fa, 0x14d0bd4d, 0x19939b94, 0x1d528623, 0xf12f560e,
-    0xf5ee4bb9, 0xf8ad6d60, 0xfc6c70d7, 0xe22b20d2, 0xe6ea3d65, 0xeba91bbc, 0xef68060b, 0xd727bbb6, 0xd3e6a601, 0xdea580d8,
-    0xda649d6f, 0xc423cd6a, 0xc0e2d0dd, 0xcda1f604, 0xc960ebb3, 0xbd3e8d7e, 0xb9ff90c9, 0xb4bcb610, 0xb07daba7, 0xae3afba2,
-    0xaafbe615, 0xa7b8c0cc, 0xa379dd7b, 0x9b3660c6, 0x9ff77d71, 0x92b45ba8, 0x9675461f, 0x8832161a, 0x8cf30bad, 0x81b02d74,
-    0x857130c3, 0x5d8a9099, 0x594b8d2e, 0x5408abf7, 0x50c9b640, 0x4e8ee645, 0x4a4ffbf2, 0x470cdd2b, 0x43cdc09c, 0x7b827d21,
-    0x7f436096, 0x7200464f, 0x76c15bf8, 0x68860bfd, 0x6c47164a, 0x61043093, 0x65c52d24, 0x119b4be9, 0x155a565e, 0x18197087,
-    0x1cd86d30, 0x029f3d35, 0x065e2082, 0x0b1d065b, 0x0fdc1bec, 0x3793a651, 0x3352bbe6, 0x3e119d3f, 0x3ad08088, 0x2497d08d,
-    0x2056cd3a, 0x2d15ebe3, 0x29d4f654, 0xc5a92679, 0xc1683bce, 0xcc2b1d17, 0xc8ea00a0, 0xd6ad50a5, 0xd26c4d12, 0xdf2f6bcb,
-    0xdbee767c, 0xe3a1cbc1, 0xe760d676, 0xea23f0af, 0xeee2ed18, 0xf0a5bd1d, 0xf464a0aa, 0xf9278673, 0xfde69bc4, 0x89b8fd09,
-    0x8d79e0be, 0x803ac667, 0x84fbdbd0, 0x9abc8bd5, 0x9e7d9662, 0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf,
-    0xa2f33668, 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4
-);
-
-
-sub new {
-    my $class = shift;
-    my String::CRC::Cksum $self = fields::new(ref $class || $class);
-    return $self->reset;
-}   # new
-
-
-sub reset {
-    my String::CRC::Cksum $self = shift;
-    $self->{cksum} = $self->{size} = 0;
-    return $self;
-}   # reset
-
-
-sub add {
-    use integer;
-    my String::CRC::Cksum $self = shift;
-    my $cksum = $self->{cksum};
-    my $size = $self->{size};
-
-    while(@_) {
-        my $n = length $_[0];
-
-        for(my $i = 0; $i < $n; ++$i) {
-            my $c = unpack 'C', substr $_[0], $i, 1;
-            $cksum = ($cksum << 8) ^ $crctab[($cksum >> 24) ^ $c];
-            ++$size;
-        }
-
-    }
-    continue { shift }
-
-    $self->{cksum} = $cksum;
-    $self->{size} = $size;
-
-    return $self;
-}   # add
-
-
-sub addfile {
-    my String::CRC::Cksum $self = shift;
-    my $stat;
-
-    local $_;
-    while(my $ifd = shift) {
-        $self->add($_) while $stat = read $ifd, $_, 4096;
-
-        if(! defined $stat) {
-            croak "error reading from filehandle: $!";
-        }
-    }
-
-    return $self;
-}   # addfile
-
-
-sub peek {
-    use integer;
-    my String::CRC::Cksum $self = shift;
-    my $cksum = $self->{cksum};
-    my $size = $self->{size};
-
-    # Extend with the length of the data
-    while($size != 0) {
-        my $c = $size & 0377;
-        $size >>= 8;
-        $cksum = ($cksum << 8) ^ $crctab[($cksum >> 24) ^ $c];
-    }
-    $cksum = ~ $cksum;
-
-    no integer;
-    my $crc = $cksum;
-    $crc += 4294967296 if $crc < 0;
-
-    return wantarray ? ($crc, $self->{size}) : $crc;
-
-}   # addfile
-
-
-sub result {
-    my String::CRC::Cksum $self = shift;
-    my ($cksum, $size) = $self->peek;
-    $self->reset;
-    return wantarray ? ($cksum, $size) : $cksum;
-}   # result
-
-
-sub cksum(@) {
-    my $sum = String::CRC::Cksum->new;
-
-    while(@_) {
-        if(ref $_[0])
-            { $sum->addfile($_[0]) }
-        else
-            { $sum->add($_[0]) }
-    }
-    continue { shift }
-
-    return $sum->result;
-}   # cksum
-
-1;
-
-__END__
-
-=head1 NAME
-
-String::CRC::Cksum - Perl extension for calculating checksums
-in a manner compatible with the POSIX cksum program.
-
-=head1 SYNOPSIS
-
-B<OO style>:
-  use String::CRC::Cksum;
-
-  $cksum = String::CRC::Cksum->new;
-  $cksum1 = $cksum->new;     # clone (clone is reset)
-
-  $cksum->add("string1");
-  $cksum->add("string2");
-  $cksum->add("string3", "string4", "string5", ...);
-  ...
-  ($cksum, $size) = $cksum->peek;
-  $cksum->add("string6", ...);
-  ...
-  ($cksum, $size) = $cksum->result;
-
-  $cksum1->addfile(\*file1);     # note: adding many files
-  $cksum1->addfile(\*file2);     # is probably a silly thing
-  $cksum1->addfile(\*file3);     # to do, but you *could*...
-  ...
-
-B<Functional style>:
-  use String::CRC::Cksum qw(cksum);
-
-  $cksum = cksum("string1", "string2", ...);
-
-  ($cksum, $size) = cksum("string1", "string2", ...);
-
-  $cksum = cksum(\*FILE);
-
-  ($cksum, $size) = cksum(\*FILE);
-
-=head1 DESCRIPTION
-
-The String::CRC::Cksum module calculates a 32 bit CRC,
-generating the same CRC value as the POSIX cksum program.
-If called in a list context, returns the length of the data
-object as well, which is useful for fully emulating
-the cksum program. The returned checksum will always be
-a non-negative integral number in the range 0..2^32-1.
-
-Despite its name, this module is able to compute the
-checksum of files as well as of strings.
-Just pass in a reference to a filehandle,
-or a reference to any object that can respond to
-a read() call and eventually return 0 at "end of file".
-
-Beware: consider proper use of binmode()
-if you are on a non-UNIX platform
-or processing files derived from other platforms.
-
-The object oriented interface can be used
-to progressively add data into the checksum
-before yielding the result.
-
-The functional interface is a convenient way
-to get a checksum of a single data item.
-
-None of the routines make local copies of passed-in strings
-so you can safely Cksum large strings safe in the knowledge
-that there won't be any memory issues.
-
-Passing in multiple files is acceptable,
-but perhaps of questionable value.
-However I don't want to hamper your creativity...
-
-=head1 FUNCTIONS                                                        
-
-The following functions are provided
-by the "String::CRC::Cksum" module.
-None of these functions are exported by default.
-
-=over 4
-
-=item B<new()>
-
-Creates a new String::CRC::Cksum object
-which is in a reset state, ready for action.
-If passed an existing String::CRC::Cksum object,
-it takes only the class -
-ie yields a fresh, reset object.
-
-=item B<reset()>
-
-Resets the Cksum object to the intialized state.
-An interesting phenomenom is,
-the CRC is not zero but 0xFFFFFFFF
-for a reset Cksum object.
-The returned size of a reset item will be zero.
-
-=item B<add("string", ...)>
-
-Progressively inject data into the Cksum object
-prior to requesting the final result.
-
-=item B<addfile(\*FILE, ...)>
-
-Progressively inject all (remaining) data from the file
-into the Cksum object prior to requesting the final result.
-The file handle passed in
-need only respond to the read() function to be usable,
-so feel free to pass in IO handles as needed.
-[hmmm - methinks I should have a test for that]
-
-=item B<peek($)>
-
-Yields the CRC checksum
-(and optionally the total size in list context)
-but does not reset the Cksum object.
-Repeated calls to peek() may be made
-and more data may be added.
-
-=item B<result($)>
-
-Yields the CRC checksum
-(and optionally the total size in list context)
-and then resets the Cksum object.
-
-=item B<cksum(@)>
-
-A convenient functional interface
-that may be passed a list of strings and filehandles.
-It will instantiate a Cksum object,
-apply the data and return the result
-in one swift, sweet operation.
-See how much I'm looking after you?
-
-NOTE: the filehandles must be passed as \*FD
-because I'm detecting a file handle using the ref() function.
-Therefore any blessed IO handle will also satisfy ref()
-and be interpreted as a file handle.
-
-=back
-
-=head2 EXPORT
-
-None by default.
-
-=head1 SEE ALSO
-
-manpages: cksum(1) or cksum(C) depending on your flavour of UNIX.
-
-http://www.opengroup.org/onlinepubs/007904975/utilities/cksum.html
-
-=head1 AUTHOR
-
-Andrew Hamm, E<lt>ahamm@cpan.orgE<gt>.
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright disclaimed 2003 by Andrew Hamm
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-Since I collected the algorithm
-from the Open Group web pages,
-they might have some issues but I doubt it.
-Let better legal minds than mine
-determine the issues if you need.
-[hopefully the CPAN and PAUSE administrators and/or testers
-will understand the issues better,
-and will replace this entire section
-with something reasonable - hint hint.]
-
-=cut

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 3284
old/lib/XML/Simple.pm


+ 0 - 646
old/lib/XML/Simple/FAQ.pod

@@ -1,646 +0,0 @@
-package XML::Simple::FAQ;
-1;
-
-__END__
-
-=head1 Frequently Asked Questions about XML::Simple
-
-
-=head1 Basics
-
-
-=head2 What is XML::Simple designed to be used for?
-
-XML::Simple is a Perl module that was originally developed as a tool for
-reading and writing configuration data in XML format.  You can use it for
-many other purposes that involve storing and retrieving structured data in
-XML.
-
-You might also find XML::Simple a good starting point for playing with XML
-from Perl.  It doesn't have a steep learning curve and if you outgrow its
-capabilities there are plenty of other Perl/XML modules to 'step up' to.
-
-
-=head2 Why store configuration data in XML anyway?
-
-The many advantages of using XML format for configuration data include:
-
-=over 4
-
-=item *
-
-Using existing XML parsing tools requires less development time, is easier
-and more robust than developing your own config file parsing code
-
-=item *
-
-XML can represent relationships between pieces of data, such as nesting of
-sections to arbitrary levels (not easily done with .INI files for example)
-
-=item *
-
-XML is basically just text, so you can easily edit a config file (easier than
-editing a Win32 registry)
-
-=item *
-
-XML provides standard solutions for handling character sets and encoding
-beyond basic ASCII (important for internationalization)
-
-=item *
-
-If it becomes necessary to change your configuration file format, there are
-many tools available for performing transformations on XML files
-
-=item *
-
-XML is an open standard (the world does not need more proprietary binary
-file formats)
-
-=item *
-
-Taking the extra step of developing a DTD allows the format of configuration
-files to be validated before your program reads them (not directly supported
-by XML::Simple)
-
-=item *
-
-Combining a DTD with a good XML editor can give you a GUI config editor for
-minimal coding effort
-
-=back
-
-
-=head2 What isn't XML::Simple good for?
-
-The main limitation of XML::Simple is that it does not work with 'mixed
-content' (see the next question).  If you consider your XML files contain
-marked up text rather than structured data, you should probably use another
-module.
-
-If you are working with very large XML files, XML::Simple's approach of
-representing the whole file in memory as a 'tree' data structure may not be
-suitable.
-
-
-=head2 What is mixed content?
-
-Consider this example XML:
-
-  <document>
-    <para>This is <em>mixed</em> content.</para>
-  </document>
-
-This is said to be mixed content, because the E<lt>paraE<gt> element contains
-both character data (text content) and nested elements.
-
-Here's some more XML:
-
-  <person>
-    <first_name>Joe</first_name>
-    <last_name>Bloggs</last_name>
-    <dob>25-April-1969</dob>
-  </person>
-
-This second example is not generally considered to be mixed content.  The
-E<lt>first_nameE<gt>, E<lt>last_nameE<gt> and E<lt>dobE<gt> elements contain
-only character data and the  E<lt>personE<gt> element contains only nested
-elements.  (Note: Strictly speaking, the whitespace between the nested
-elements is character data, but it is ignored by XML::Simple).
-
-
-=head2 Why doesn't XML::Simple handle mixed content?
-
-Because if it did, it would no longer be simple :-)
-
-Seriously though, there are plenty of excellent modules that allow you to
-work with mixed content in a variety of ways.  Handling mixed content
-correctly is not easy and by ignoring these issues, XML::Simple is able to
-present an API without a steep learning curve.
-
-
-=head2 Which Perl modules do handle mixed content?
-
-Every one of them except XML::Simple :-)
-
-If you're looking for a recommendation, I'd suggest you look at the Perl-XML
-FAQ at:
-
-  http://perl-xml.sourceforge.net/faq/
-
-
-=head1 Installation
-
-
-=head2 How do I install XML::Simple?
-
-If you're running ActiveState Perl, you've probably already got XML::Simple 
-(although you may want to upgrade to version 1.09 or better for SAX support).
-
-If you do need to install XML::Simple, you'll need to install an XML parser
-module first.  Install either XML::Parser (which you may have already) or
-XML::SAX.  If you install both, XML::SAX will be used by default.
-
-Once you have a parser installed ...
-
-On Unix systems, try:
-
-  perl -MCPAN -e 'install XML::Simple'
-
-If that doesn't work, download the latest distribution from
-ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM , unpack it and run these
-commands:
-
-  perl Makefile.PL
-  make
-  make test
-  make install
-
-On Win32, if you have a recent build of ActiveState Perl (618 or better) try
-this command:
-
-  ppm install XML::Simple
-
-If that doesn't work, you really only need the Simple.pm file, so extract it
-from the .tar.gz file (eg: using WinZIP) and save it in the \site\lib\XML 
-directory under your Perl installation (typically C:\Perl).
-
-
-=head2 I'm trying to install XML::Simple and 'make test' fails
-
-Is the directory where you've unpacked XML::Simple mounted from a file server
-using NFS, SMB or some other network file sharing?  If so, that may cause
-errors in the the following test scripts:
-
-  3_Storable.t
-  4_MemShare.t
-  5_MemCopy.t
-
-The test suite is designed to exercise the boundary conditions of all
-XML::Simple's functionality and these three scripts exercise the caching
-functions.  If XML::Simple is asked to parse a file for which it has a cached
-copy of a previous parse, then it compares the timestamp on the XML file with
-the timestamp on the cached copy.  If the cached copy is *newer* then it will
-be used.  If the cached copy is older or the same age then the file is
-re-parsed.  The test scripts will get confused by networked filesystems if
-the workstation and server system clocks are not synchronised (to the
-second).
-
-If you get an error in one of these three test scripts but you don't plan to
-use the caching options (they're not enabled by default), then go right ahead
-and run 'make install'.  If you do plan to use caching, then try unpacking
-the distribution on local disk and doing the build/test there.
-
-It's probably not a good idea to use the caching options with networked
-filesystems in production.  If the file server's clock is ahead of the local
-clock, XML::Simple will re-parse files when it could have used the cached
-copy.  However if the local clock is ahead of the file server clock and a
-file is changed immediately after it is cached, the old cached copy will be
-used.
-
-Is one of the three test scripts (above) failing but you're not running on
-a network filesystem?  Are you running Win32?  If so, you may be seeing a bug
-in Win32 where writes to a file do not affect its modfication timestamp.
-
-If none of these scenarios match your situation, please confirm you're
-running the latest version of XML::Simple and then email the output of
-'make test' to me at grantm@cpan.org
-
-=head2 Why is XML::Simple so slow?
-
-If you find that XML::Simple is very slow reading XML, the most likely reason
-is that you have XML::SAX installed but no additional SAX parser module.  The
-XML::SAX distribution includes an XML parser written entirely in Perl.  This is
-very portable but not very fast.  For better performance install either
-XML::SAX::Expat or XML::LibXML.
-
-
-=head1 Usage
-
-=head2 How do I use XML::Simple?
-
-If you had an XML document called /etc/appconfig/foo.xml you could 'slurp' it
-into a simple data structure (typically a hashref) with these lines of code:
-
-  use XML::Simple;
-
-  my $config = XMLin('/etc/appconfig/foo.xml');
-
-The XMLin() function accepts options after the filename.
-
-
-=head2 There are so many options, which ones do I really need to know about?
-
-Although you can get by without using any options, you shouldn't even
-consider using XML::Simple in production until you know what these two
-options do:
-
-=over 4
-
-=item *
-
-forcearray
-
-=item *
-
-keyattr
-
-=back
-
-The reason you really need to read about them is because the default values
-for these options will trip you up if you don't.  Although everyone agrees
-that these defaults are not ideal, there is not wide agreement on what they
-should be changed to.  The answer therefore is to read about them (see below)
-and select values which are right for you.
-
-
-=head2 What is the forcearray option all about?
-
-Consider this XML in a file called ./person.xml:
-
-  <person>
-    <first_name>Joe</first_name>
-    <last_name>Bloggs</last_name>
-    <hobbie>bungy jumping</hobbie>
-    <hobbie>sky diving</hobbie>
-    <hobbie>knitting</hobbie>
-  </person>
-
-You could read it in with this line:
-
-  my $person = XMLin('./person.xml');
-
-Which would give you a data structure like this:
-
-  $person = {
-    'first_name' => 'Joe',
-    'last_name'  => 'Bloggs',
-    'hobbie'     => [ 'bungy jumping', 'sky diving', 'knitting' ]
-  };
-
-The E<lt>first_nameE<gt> and E<lt>last_nameE<gt> elements are represented as
-simple scalar values which you could refer to like this:
-
-  print "$person->{first_name} $person->{last_name}\n";
-
-The E<lt>hobbieE<gt> elements are represented as an array - since there is
-more than one.  You could refer to the first one like this:
-
-  print $person->{hobbie}->[0], "\n";
-
-Or the whole lot like this:
-
-  print join(', ', @{$person->{hobbie}} ), "\n";
-
-The catch is, that these last two lines of code will only work for people
-who have more than one hobbie.  If there is only one E<lt>hobbieE<gt>
-element, it will be represented as a simple scalar (just like
-E<lt>first_nameE<gt> and E<lt>last_nameE<gt>).  Which might lead you to write
-code like this:
-
-  if(ref($person->{hobbie})) {
-    print join(', ', @{$person->{hobbie}} ), "\n";
-  }
-  else {
-    print $person->{hobbie}, "\n";
-  }
-
-Don't do that.
-
-One alternative approach is to set the forcearray option to a true value:
-
-  my $person = XMLin('./person.xml', forcearray => 1);
-
-Which will give you a data structure like this:
-
-  $person = {
-    'first_name' => [ 'Joe' ],
-    'last_name'  => [ 'Bloggs' ],
-    'hobbie'     => [ 'bungy jumping', 'sky diving', 'knitting' ]
-  };
-
-Then you can use this line to refer to all the list of hobbies even if there
-was only one:
-
-  print join(', ', @{$person->{hobbie}} ), "\n";
-
-The downside of this approach is that the E<lt>first_nameE<gt> and
-E<lt>last_nameE<gt> elements will also always be represented as arrays even
-though there will never be more than one:
-
-  print "$person->{first_name}->[0] $person->{last_name}->[0]\n";
-
-This might be OK if you change the XML to use attributes for things that
-will always be singular and nested elements for things that may be plural:
-
-  <person first_name="Jane" last_name="Bloggs">
-    <hobbie>motorcycle maintenance</hobbie>
-  </person>
-
-On the other hand, if you prefer not to use attributes, then you could
-specify that any E<lt>hobbieE<gt> elements should always be represented as
-arrays and all other nested elements should be simple scalar values unless
-there is more than one:
-
-  my $person = XMLin('./person.xml', forcearray => [ 'hobbie' ]);
-
-The forcearray option accepts a list of element names which should always
-be forced to an array representation:
-
-  forcearray => [ qw(hobbie qualification childs_name) ]
-
-See the XML::Simple manual page for more information.
-
-
-=head2 What is the keyattr option all about?
-
-Consider this sample XML:
-
-  <catalog>
-    <part partnum="1842334" desc="High pressure flange" price="24.50" />
-    <part partnum="9344675" desc="Threaded gasket"      price="9.25" />
-    <part partnum="5634896" desc="Low voltage washer"   price="12.00" />
-  </catalog>
-
-You could slurp it in with this code:
-
-  my $catalog = XMLin('./catalog.xml');
-
-Which would return a data structure like this:
-
-  $catalog = {
-      'part' => [
-          {
-            'partnum' => '1842334',
-            'desc'    => 'High pressure flange',
-            'price'   => '24.50'
-          },
-          {
-            'partnum' => '9344675',
-            'desc'    => 'Threaded gasket',
-            'price'   => '9.25'
-          },
-          {
-            'partnum' => '5634896',
-            'desc'    => 'Low voltage washer',
-            'price'   => '12.00'
-          }
-      ]
-  };
-
-Then you could access the description of the first part in the catalog
-with this code:
-
-  print $catalog->{part}->[0]->{desc}, "\n";
-
-However, if you wanted to access the description of the part with the
-part number of "9344675" then you'd have to code a loop like this:
-
-  foreach my $part (@{$catalog->{part}}) {
-    if($part->{partnum} eq '9344675') {
-      print $part->{desc}, "\n";
-      last;
-    }
-  }
-
-The knowledge that each E<lt>partE<gt> element has a unique partnum attribute
-allows you to eliminate this search.  You can pass this knowledge on to
-XML::Simple like this:
-
-  my $catalog = XMLin($xml, keyattr => ['partnum']);
-
-Which will return a data structure like this:
-
-  $catalog = {
-    'part' => {
-      '5634896' => { 'desc' => 'Low voltage washer',   'price' => '12.00' },
-      '1842334' => { 'desc' => 'High pressure flange', 'price' => '24.50' },
-      '9344675' => { 'desc' => 'Threaded gasket',      'price' => '9.25'  }
-    }
-  };
-
-XML::Simple has been able to transform $catalog->{part} from an arrayref to
-a hashref (keyed on partnum).  This transformation is called 'array folding'.
-
-Through the use of array folding, you can now index directly to the
-description of the part you want:
-
-  print $catalog->{part}->{9344675}->{desc}, "\n";
-
-The 'keyattr' option also enables array folding when the unique key is in a
-nested element rather than an attribute.  eg:
-
-  <catalog>
-    <part>
-      <partnum>1842334</partnum>
-      <desc>High pressure flange</desc>
-      <price>24.50</price>
-    </part>
-    <part>
-      <partnum>9344675</partnum>
-      <desc>Threaded gasket</desc>
-      <price>9.25</price>
-    </part>
-    <part>
-      <partnum>5634896</partnum>
-      <desc>Low voltage washer</desc>
-      <price>12.00</price>
-    </part>
-  </catalog>
-
-See the XML::Simple manual page for more information.
-
-
-=head2 So what's the catch with 'keyattr'?
-
-One thing to watch out for is that you might get array folding even if you
-don't supply the keyattr option.  The default value for this option is:
-
-  [ 'name', 'key', 'id']
-
-Which means if your XML elements have a 'name', 'key' or 'id' attribute (or
-nested element) then they may get folded on those values.  This means that
-you can take advantage of array folding simply through careful choice of
-attribute names.  On the hand, if you really don't want array folding at all,
-you'll need to set 'key attr to an empty list:
-
-  my $ref = XMLin($xml, keyattr => []);
-
-A second 'gotcha' is that array folding only works on arrays.  That might
-seem obvious, but if there's only one record in your XML and you didn't set
-the 'forcearray' option then it won't be represented as an array and
-consequently won't get folded into a hash.  The moral is that if you're
-using array folding, you should always turn on the forcearray option.
-
-You probably want to be as specific as you can be too.  For instance, the
-safest way to parse the E<lt>catalogE<gt> example above would be:
-
-  my $catalog = XMLin($xml, keyattr => { part => 'partnum'},
-                            forcearray => ['part']);
-
-By using the hashref for keyattr, you can specify that only E<lt>partE<gt>
-elements should be folded on the 'partnum' attribute (and that the
-E<lt>partE<gt> elements should not be folded on any other attribute).
-
-By supplying a list of element names for forcearray, you're ensuring that
-folding will work even if there's only one E<lt>partE<gt>.  You're also
-ensuring that if the 'partnum' unique key is supplied in a nested element
-then that element won't get forced to an array too.
-
-
-=head2 How do I know what my data structure should look like?
-
-The rules are fairly straightforward:
-
-=over 4
-
-=item *
-
-each element gets represented as a hash
-
-=item *
-
-unless it contains only text, in which case it'll be a simple scalar value
-
-=item *
-
-or unless there's more than one element with the same name, in which case
-they'll be represented as an array
-
-=item *
-
-unless you've got array folding enabled, in which case they'll be folded into
-a hash
-
-=item *
-
-empty elements (no text contents B<and> no attributes) will either be
-represented as an empty hash, an empty string or undef - depending on the value
-of the 'suppressempty' option.
-
-=back
-
-If you're in any doubt, use Data::Dumper, eg:
-
-  use XML::Simple;
-  use Data::Dumper;
-  
-  my $ref = XMLin($xml);
-
-  print Dumper($ref);
-
-
-=head2 I'm getting 'Use of uninitialized value' warnings
-
-You're probably trying to index into a non-existant hash key - try
-Data::Dumper.
-
-
-=head2 I'm getting a 'Not an ARRAY reference' error
-
-Something that you expect to be an array is not.  The two most likely causes
-are that you forgot to use 'forcearray' or that the array got folded into a
-hash - try Data::Dumper.
-
-
-=head2 I'm getting a 'No such array field' error
-
-Something that you expect to be a hash is actually an array.  Perhaps array
-folding failed because one element was missing the key attribute - try
-Data::Dumper.
-
-
-=head2 I'm getting an 'Out of memory' error
-
-Something in the data structure is not as you expect and Perl may be trying
-unsuccessfully to autovivify things - try Data::Dumper.
-
-If you're already using Data::Dumper, try calling Dumper() immediately after
-XMLin() - ie: before you attempt to access anything in the data structure.
-
-
-=head2 My element order is getting jumbled up
-
-If you read an XML file with XMLin() and then write it back out with
-XMLout(), the order of the elements will likely be different.  (However, if
-you read the file back in with XMLin() you'll get the same Perl data
-structure).
-
-The reordering happens because XML::Simple uses hashrefs to store your data
-and Perl hashes do not really have any order.
-
-It is possible that a future version of XML::Simple will use Tie::IxHash
-to store the data in hashrefs which do retain the order.  However this will
-not fix all cases of element order being lost.
-
-If your application really is sensitive to element order, don't use
-XML::Simple (and don't put order-sensitive values in attributes).
-
-
-=head2 XML::Simple turns nested elements into attributes
-
-If you read an XML file with XMLin() and then write it back out with
-XMLout(), some data which was originally stored in nested elements may end up
-in attributes.  (However, if you read the file back in with XMLin() you'll
-get the same Perl data structure).
-
-There are a number of ways you might handle this:
-
-=over 4
-
-=item *
-
-use the 'forcearray' option with XMLin()
-
-=item *
-
-use the 'noattr' option with XMLout()
-
-=item *
-
-live with it
-
-=item *
-
-don't use XML::Simple
-
-=back
-
-
-=head2 Why does XMLout() insert E<lt>nameE<gt> elements (or attributes)?
-
-Try setting keyattr => [].
-
-When you call XMLin() to read XML, the 'keyattr' option controls whether arrays
-get 'folded' into hashes.  Similarly, when you call XMLout(), the 'keyattr'
-option controls whether hashes get 'unfolded' into arrays.  As described above,
-'keyattr' is enabled by default.
-
-=head2 Why are empty elements represented as empty hashes?
-
-An element is always represented as a hash unless it contains only text, in
-which case it is represented as a scalar string.
-
-If you would prefer empty elements to be represented as empty strings or the
-undefined value, set the 'suppressempty' option to '' or undef respectively.
-
-=head2 Why is ParserOpts deprecated?
-
-The C<ParserOpts> option is a remnant of the time when XML::Simple only worked
-with the XML::Parser API.  Its value is completely ignored if you're using a
-SAX parser, so writing code which relied on it would bar you from taking
-advantage of SAX.
-
-Even if you are using XML::Parser, it is seldom necessary to pass options to
-the parser object.  A number of people have written to say they use this option
-to set XML::Parser's C<ProtocolEncoding> option.  Don't do that, it's wrong,
-Wrong, WRONG!  Fix the XML document so that it's well-formed and you won't have
-a problem.
-
-Having said all of that, as long as XML::Simple continues to support the
-XML::Parser API, this option will not be removed.  There are currently no plans
-to remove support for the XML::Parser API.
-
-=cut
-
-

+ 0 - 252
old/project.html

@@ -1,252 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<!--
-
-    Software Index, Copyright 2010, Software Index Project Team
-    Link: http://swi.sourceforge.net
-    
-    This file is part of Software Index Tool.
-    
-    Software Index is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, version 3 of the License.
-    
-    Software Index is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-
--->
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" />
-<title>Software Index Project</title>
-<link href="style.css" rel="stylesheet" type="text/css" />
-</head>
-
-<body>
-<table border="0" align="center" cellpadding="0" cellspacing="0" width="1000">
-  <tr>
-    <td>&nbsp;</td>
-    <td valign="middle">&nbsp;</td>
-  </tr>
-  <tr>
-    <td width="350"><img src="images/logo_project.jpg" alt="Software Index Project Page" width="350" height="128" /></td>
-    <td valign="bottom">      <div align="right">
-      <p><a href="http://sourceforge.net/projects/swi"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=275605&amp;type=10" alt="Get Software Index at SourceForge.net. Fast, secure and Free Open Source software downloads" width="80" height="15" border="0" /></a></p>
-      <p>&nbsp;</p>
-      <p><a href="#Description">Overview</a> | <a href="#Download">Download &amp; Installation </a> | <a href="#License">License</a> | <a href="#Documentation">Documentation</a> | <a href="#Getsupport">Get support </a>| <a href="#Fordevelopers">For developers</a></p>
-    </div></td>
-  </tr>
-  <tr>
-    <td colspan="2"><hr></td>
-  </tr>  <tr>
-    <td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
-      
-      <tr>
-        <td valign="top"><h3><a id="Description"></a>Overview</h3>
-          <p><span class="normalImportance">Software Index </span>measures, reports and validates software statistic,
-            searches for duplications, scans for errors, 'coding style' violations
-            and occasions of broken design patterns which are defined by your design team.</p>
-          <h4>The list of collected statistics:</h4>
-          <ul>
-                <li>Number of <span class="normalImportance">executable symbols</span> and <span class="normalImportance">lines</span> </li>
-                <li>Number of <span class="normalImportance">symbols</span> and <span class="normalImportance">lines in comments</span></li>
-                <li>Number of <span class="normalImportance">symbols</span> and<span class="normalImportance"> lines in initial source file</span></li>
-                <li>Number of <span class="normalImportance">lines in specific comments</span><br />
-                (header descriptions before functions)  </li>
-                <li>Number of <span class="normalImportance">symbols in name</span> of a function </li>
-                <li>Number of <span class="normalImportance">blocks</span></li>
-                <li>Maximum <span class="normalImportance">indent level</span> (depth level) </li>
-                <li><span class="normalImportance">Cyclomatic complexity</span> (McCabe's / Myer's) index </li>
-                <li>Number of <span class="normalImportance">functions, files, modules</span></li>
-                <li>Number of symbols in <span class="normalImportance">duplicated fragments</span></li>
-                <li><span class="normalImportance">Code coverage</span> indexes<br />
-                (line coverage, branch coverage and entry/exit coverage data from external gcov tool) </li>
-          </ul>
-          <h4>Parsing, scaning and searching can be performed for the different content:</h4>
-          <ul>
-            <li><span class="normalImportance">initial</span>         - the initial source content</li>
-            <li> <span class="normalImportance">code</span>            - the initial code (without comments)</li>
-            <li> <span class="normalImportance">comments</span>        - comments only (no code)</li>
-            <li> <span class="normalImportance">no preprocessor</span>  - preprocessor strings excluded (without comments and preprocessor)</li>
-            <li> <span class="normalImportance">no strings</span>       - strings excluded (without comments and strings)</li>
-            <li> <span class="normalImportance">purified</span>        - strings and preprocessor excluded (without comments, strings and preprocessor)</li>
-            <li> <span class="normalImportance">comment header</span>   - comments before function's header</li>
-            <li> <span class="normalImportance">function's name</span>    - name of a function</li>
-            <li> <span class="normalImportance">function's head</span>    - purified function's header, no body</li>
-            <li> <span class="normalImportance">function's body</span>    - purified function's body, no header</li>
-            </ul>
-          <h4>Every counter is collected per:</h4>
-          <ul>
-            <li>function</li>
-            <li> file</li>
-            <li>module</li>
-            <li>project</li>
-            </ul>
-          <h4>Single indexes and indexes for distributions are collected:</h4>
-          <ul>
-            <li><span class="normalImportance">exact</span> value</li>
-            <li> <span class="normalImportance">average</span> value within a distribution</li>
-            <li> <span class="normalImportance">minimum</span> value within a distribution</li>
-            <li> <span class="normalImportance">maximum</span> value within a distribution</li>
-            <li><span class="normalImportance">sum</span> of values within a distribution</li>
-            </ul>
-          <h4>Validation rules can be applied to the different content:</h4>
-          <ul>
-            <li><span class="normalImportance">added</span> functions (objects)</li>
-            <li> <span class="normalImportance">removed</span> functions (objects)</li>
-            <li> <span class="normalImportance">modified</span> functions (objects)</li>
-            <li><span class="normalImportance">cloned</span> functions (objects)</li>
-            <li><span class="normalImportance">unmodified</span> functions (objects)</li>
-          </ul>
-          <h4>Internal tools helps to adapt Software Index for your specific needs:</h4>
-          <ul>
-            <li><span class="normalImportance">code preprocessor</span>: simplifies the code parsing and scaning with preprocessor definitions</li>
-            <li> <span class="normalImportance">code scanner</span>: similar 'grep' tool, helps to find occasion of 'bad' coding style/formating and detect broken  rules which defined by your design team, has flexible suppress methods </li>
-            <li><span class="normalImportance">code indexer</span>: collect the statistics, there 3 levels of severity (info, notice, warning) for limits which are easily configurable, has flexible suppress methods</li>
-            <li><span class="normalImportance">searcher of duplicated fragments</span>: helps to find and reduce duplication in your source code</li>
-            <li><span class="normalImportance">report converter</span>: processes the final report in XML format, filters the information according configuration and dumps the info messages, notices, warnings and erros to file and stderr stream</li>
-            </ul>
-          <h4>Supported languages:</h4>
-          <ul>
-            <li>C (stable version) </li>
-            <li>C++ (beta version) </li>
-            </ul>
-          <h4>Limitations:</h4>
-          <ul>
-            <li>Parser does not detect functions (C language) with declarations of local variables outside of function's body. However, it is not a problem for a major part of software products. The example below demostrates problematic formatting/style:</li>
-            </ul>
-          <table width="80%" border="0" align="center" cellpadding="2" cellspacing="2">
-            <tr>
-              <td width="50%">This function is <span class="highImportance">not detectable</span> by Software Index. </td>
-              <td width="50%">This function is <span class="normalImportance">parsable</span>. </td>
-            </tr>
-            <tr>
-              <td><pre>int <strong>getMax</strong>(int* array, int length)
-<span class="highImportance">    int i = 0;
-    int curMax;</span>
-<strong>{</strong>
-    /* ... */
-<strong>}</strong></pre>                </td>
-              <td><pre>int <strong>getMax</strong>(int* array, int length)
-<strong>{</strong>
-<span class="normalImportance">    int i = 0;
-    int curMax;</span>
-    /* ... */
-<strong>}</strong></pre>
-              </td>
-            </tr>
-          </table>
-          <ul>
-            <li>Comments inside preprocessor strings are not acceptable (C/C++ languages). Otherwise, some code can be unrecognizable by Software Index.<br />
-            </li>
-            </ul>
-          <table width="80%" border="0" align="center" cellpadding="2" cellspacing="2">
-            <tr>
-              <td width="50%">This code is <span class="highImportance">not recognizable </span> by Software Index. </td>
-              <td width="50%">This code is <span class="normalImportance">parsable</span>.</td>
-            </tr>
-            <tr>
-              <td><pre>#define <strong>GET_MAX</strong>(a, b)       \
-<span class="highImportance">    /*                      \
-     * This macros returns  \
-     * maximum from a and b \
-     */                     \
-</span>    ((a &gt; b) ? a : b)</pre>
-              </td>
-              <td><pre><span class="normalImportance">/*
- * This macros returns
- * maximum from a and b
- */
-</span>#define <strong>GET_MAX</strong>(a, b) \
-    ((a &gt; b) ? a : b)</pre>
-              </td>
-            </tr>
-          </table>
-          <ul>
-            <li>Interface with gcov tool is not tested for C++ language.</li>
-            </ul>
-          <h3><a id="Download"></a>Download &amp; Installation</h3>
-          <p>For the installation of the <span class="normalImportance">Software Index</span> <a href="http://sourceforge.net/projects/swi/files/">download</a> the archive with all required modules and unpack it to some folder. Also, you have got an option to get the <a href="http://swi.svn.sourceforge.net/viewvc/swi/">source code</a> from the version conrol sytem.</p>
-          <p><em class="highImportance">Warning:</em> <span class="normalImportance">Software Index</span> has an internal tool (dupindex) which should be compiled for the target platform.
-            By default, the distributable archive includes the compiled binary for PC Windows (x86) platform.
-            Recompile it if you need (only one file: dupindex.cpp), using g++ or some other C++ compiler for your specific platform. There is a project configuration file for users of Microsoft Visual Studio 2008. There is Makefile for users of gmake and g++ tools. </p>
-          <h4>Prerequisites:</h4>
-          <ul>
-            <li>Perl Runtime Environment (version 5.6.x or later)</li>
-            <li>Perl modules (usualy, they are all included to the standard installation package of Perl engine):
-              <ul>
-                <li>Cwd</li>
-                <li>Pod::Usage</li>
-                <li> Data::Dumper</li>
-                <li> FileHandle</li>
-                <li>IPC::Open3</li>
-                <li> XML::Simple (included to the distributable archive with <span class="normalImportance">Software Index</span>)</li>
-                <li> String::CRC::Cksum (included to the distributable archive with <span class="normalImportance">Software Index</span>)</li>
-                </ul>
-            </li>
-            <li>gcov (optional, it is needed if you like to collect coverage statistic)</li>
-          </ul>
-          <h3><a name="License" id="Download"></a>License</h3>
-          <p> This program is free software; you can redistribute it and/or modify 
-            it under the terms of the GNU General Public License as published by 
-            the Free Software Foundation; version 3 of the License.</p>
-          <p> This program is distributed in the hope that it will be useful,
-            but WITHOUT ANY WARRANTY; without even the implied warranty of
-            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-            GNU General Public License for more details.</p>
-          <p> You should have received a copy of the GNU General Public License along
-            with the <span class="normalImportance">Software Index</span>; if not, contact <a href="mailto:avkonst@users.sourceforge.net">Project Administrator</a> and write to the Free Software Foundation, Inc.,
-            51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</p>
-          <h3><a id="Documentation"></a>Documentation</h3>
-          <p>The context help is available by:</p>
-          <pre>&gt; perl swi_main.pl --help</pre>
-          <p>The sample/description of the configuration file is available by link:</p>
-		  <pre><a href="http://swi.svn.sourceforge.net/viewvc/swi/swi_config_sample.xml?view=markup" target="_blank">http://swi.svn.sourceforge.net/viewvc/swi/swi_config_sample.xml?view=markup</a></pre>
-          <p> In the command line context, it is accessable by:</p>
-          <pre>&gt; perl swi_main.pl --sample</pre>
-          <h3><a id="Getsupport"></a>Get support</h3>
-          <p>The best way to get help is by <a href="https://sourceforge.net/tracker/?func=add&amp;group_id=275605&amp;atid=1170878">creating a new item</a> in the 'Request Tracker'.</p>
-          <h4>Alternatives</h4>
-          <p>If you  believe the project may  have a different support resource that would be better for submitting the  particular issue, please consider the following alternatives:</p>
-          <ul>
-                <li><a href="mailto:avkonst@users.sourceforge.net">Mail to the Administrator</a> </li>
-            <li><a href="https://sourceforge.net/sendmessage.php?touser=2608471">Mail to the Administrator using WEB form</a></li>
-            <li><a href="https://sourceforge.net/tracker/?func=add&amp;group_id=275605&amp;atid=1170877">Create new bug report </a></li>
-            <li><a href="https://sourceforge.net/tracker/?func=add&amp;group_id=275605&amp;atid=1170880">Create new  feature request</a></li>
-          </ul>
-          <h4>Our time response</h4>
-          <p><span class="normalImportance">Software Index</span> is used in real, time critical software development projects. It profiles software products which should work stably 24 hours a day, 7 days a week. As a result, we catch major portion of bugs ourself before the official release of new version of the <span class="normalImportance">Software Index</span>.</p>
-          <p>In addition to this, please, notice that it is developed by enthusiasts in their free time. Thus, we can not guarantee the immediate response. However, we always try to process bug reports and support requests as soon as possible, prioritizing the support activities.</p>
-          <h3><a id="Fordevelopers"></a>For developers</h3>
-          <p>If you have troubleshooted the problem, prepared the correction and believe that it should be included to the official distributive, please create <a href="https://sourceforge.net/tracker/?func=add&amp;group_id=275605&amp;atid=1170879">new patch review request</a> and attach the Patch to the tracker.</p>
-          <p><em>Note:</em> Patch files are  simply Unified-Diff files showing the differences between your working copy and  the base revision.</p>
-          <h4>Join this project:</h4>
-          <p>In order to participate in development activities,  join this project:<br /> 
-            please, contact the project administrators of this project, as shown on the <a href="http://sourceforge.net/projects/swi/"> project summary page</a>. </p>
-          <h4> Get the source code:</h4>
-          <p> Source code for this project may be available as <a href="http://sourceforge.net/projects/swi/files/">downloads</a> or through the  Subversion SCM <a href="http://swi.svn.sourceforge.net/viewvc/swi/">repository</a> used by the project. </p>
-          <h4>Beta testing:</h4>
-          <p>You are very welcome to <a href="http://sourceforge.net/projects/swi/files/">download</a> beta versions and provide your feedback, reporting proposals and new issues in <a href="https://sourceforge.net/tracker/?group_id=275605&amp;atid=1170877">bug tracker</a> system used by the project.</p>
-          <p>If you requested a feature, we are happy to deliver it to you firstly for beta testing before including to the  final release version. </p>
-          <h4>Update project web pages:</h4>
-          <p> If you are a web page developer interested in this project, please consider reaching out to the project <a href="https://sourceforge.net/sendmessage.php?touser=2608471">Administrator</a> (per the &quot;Join this project&quot; section, above) to offer your assistance.</p></td>
-      </tr>
-    </table>
-        <hr></td>
-  </tr>
-  <tr>
-    <td colspan="2"><div align="center">      
-      <p align="right">Copyright <strong>&copy; </strong>2009 - 2010<br />  
-        <a href="mailto:avkonst@users.sourceforge.net"><span class="normalImportance">Software Index</span> Project</a></p>
-      <p align="right">License: <a href="http://www.gnu.org/licenses/gpl.txt">GPL</a></p>
-      <h3 align="right"></h3>
-    </div></td>
-  </tr>
-</table>
-<p></p>
-</body>
-</html>

+ 0 - 0
old/prototype/New Text Document.txt


+ 0 - 227
old/prototype/scroll-grid.txt

@@ -1,227 +0,0 @@
-
-<html>

-

-<!--

-

-copyright pavan

-http://fixed-header-using-jquery.blogspot.com/2009/05/scrollable-table-with-fixed-header-and.html

-

--->

-

-<head>

-<!--<script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"></script>-->

-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

-<script>

-

-$(document).ready(function(){

-  fnAdjustTable();

-});

-

-fnAdjustTable = function(){

-

-  var colCount = $('#firstTr>td').length; //get total number of column

-

-  var m = 0;

-  var n = 0;

-  var brow = 'mozilla';

-  

-  jQuery.each(jQuery.browser, function(i, val) {

-    if(val == true){

-      brow = i.toString();

-    }

-  });

-  

-  $('.tableHeader').each(function(i){

-    if (m < colCount){

-

-      if (brow == 'mozilla'){

-        $('#firstTd').css("width",$('.tableFirstCol').innerWidth());//for adjusting first td

-        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());//for assigning width to table Header div

-      }

-      else if (brow == 'msie'){

-        $('#firstTd').css("width",$('.tableFirstCol').width());

-        $(this).css('width',$('#table_div td:eq('+m+')').width()-2);//In IE there is difference of 2 px

-      }

-      else if (brow == 'safari'){

-        $('#firstTd').css("width",$('.tableFirstCol').width());

-        $(this).css('width',$('#table_div td:eq('+m+')').width());

-      }

-      else {

-        $('#firstTd').css("width",$('.tableFirstCol').width());

-        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());

-      }

-    }

-    m++;

-  });

-

-  $('.tableFirstCol').each(function(i){

-    if(brow == 'mozilla'){

-      $(this).css('height',$('#table_div td:eq('+colCount*n+')').outerHeight());//for providing height using scrollable table column height

-    }

-    else if(brow == 'msie'){

-      $(this).css('height',$('#table_div td:eq('+colCount*n+')').innerHeight()-2);

-    }

-    else {

-      $(this).css('height',$('#table_div td:eq('+colCount*n+')').height());

-    }

-    n++;

-  });

-

-}

-

-//function to support scrolling of title and first column

-fnScroll = function(){

-  $('#divHeader').scrollLeft($('#table_div').scrollLeft());

-  $('#firstcol').scrollTop($('#table_div').scrollTop());

-}

-

-</script>

-</head>

-

-

-

-

-

-<body>

-<table cellspacing="0" cellpadding="0" border="0" >

-  <tr>

-    <td id="firstTd">

-    </td>

-    <td>

-      <div id="divHeader" style="overflow:hidden;width:284px;">

-        <table cellspacing="0" cellpadding="0" border="1" >

-          <tr>

-            <td>

-              <div class="tableHeader">Title1</div>

-            </td>

-            <td>

-              <div class="tableHeader">Title2</div>

-            </td>

-            <td>

-              <div class="tableHeader">Title3</div>

-            </td>

-            <td>

-              <div class="tableHeader">Title4</div>

-            </td>

-            <td>

-              <div class="tableHeader">Title5</div>

-            </td>

-          </tr>

-        </table>

-      </div>

-    </td>

-  </tr>

-  <tr>

-  

-    <td valign="top">

-      <div id="firstcol" style="overflow: hidden;height:80px">

-        <table width="200px" cellspacing="0" cellpadding="0" border="1" >

-          <tr>

-            <td class="tableFirstCol">First Col row1 </td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row2</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row3</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row4</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row5</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row6</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row7</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row8</td>

-          </tr>

-          <tr>

-            <td class="tableFirstCol">First Col row9</td>

-          </tr>

-        </table>

-      </div>

-    </td>

-    

-    <td valign="top">

-      <div id="table_div" style="overflow: scroll;width:300px;height:100px;position:relative" onscroll="fnScroll()" >

-        <table width="500px" cellspacing="0" cellpadding="0" border="1" >

-          <tr id='firstTr'>

-            <td>Row1Col1</td>

-            <td>Row1Col2</td>

-            <td>Row1Col3</td>

-            <td>Row1Col4</td>

-            <td>Row1Col5</td>

-          </tr>

-          <tr>

-            <td>Row2Col1</td>

-            <td>Row2Col2</td>

-            <td>Row2Col3</td>

-            <td>Row2Col4</td>

-            <td>Row3Col5</td>

-          </tr>

-          <tr>

-            <td>Row3Col1</td>

-            <td>Row3Col2</td>

-            <td>Row3Col3</td>

-            <td>Row3Col4</td>

-            <td>Row3Col5</td>

-          </tr>

-          <tr>

-            <td>Row4Col1</td>

-            <td>Row4Col2</td>

-            <td>Row4Col3</td>

-            <td>Row4Col4</td>

-            <td>Row4Col5</td>

-          </tr>

-          <tr>

-            <td>Row5Col1</td>

-            <td>Row5Col2</td>

-            <td>Row5Col3</td>

-            <td>Row5Col4</td>

-            <td>Row5Col5</td>

-          </tr>

-          <tr>

-            <td>Row6Col1</td>

-            <td>Row6Col2</td>

-            <td>Row6Col3 is both wider and<br />taller than surrounding cells, yet<br />fixed elements still line up correctly</td>

-            <td>Row6Col4</td>

-            <td>Row6Col5</td>

-          </tr>

-          <tr>

-            <td>Row7Col1</td>

-            <td>Row7Col2</td>

-            <td>Row7Col3</td>

-            <td>Row7Col4</td>

-            <td>Row7Col5</td>

-          </tr>

-          <tr>

-            <td>Row8Col1</td>

-            <td>Row8Col2</td>

-            <td>Row8Col3</td>

-            <td>Row8Col4</td>

-            <td>Row8Col5</td>

-          </tr>

-          <tr>

-            <td>Row9Col1</td>

-            <td>Row9Col2</td>

-            <td>Row9Col3</td>

-            <td>Row9Col4</td>

-            <td>Row9Col5</td>

-          </tr>

-        </table>

-      </div>

-    </td>

-  </tr>

-</table>

-

-<p><a href="http://fixed-header-using-jquery.blogspot.com/2009/05/scrollable-table-with-fixed-header-and.html">Pavan's original post</a></p>

-<p><a href="http://snipt.org/loz">Formatted source code</p>

-  

-</body>

-

-</html>

+ 0 - 19
old/prototype/swi_report.xsl

@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="WINDOWS-1251" ?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
-<xsl:template match="/">
-<table border="1">
-<tr bgcolor="#CCCCCC">
-<td align="center"><strong>Function</strong></td>
-<td align="center"><strong>Change</strong></td>
-<td align="center"><strong>Checksum</strong></td>
-</tr>
-<xsl:for-each select="swi:report/swi:module/swi:file/swi:function">
-<tr bgcolor="#F5F5F5">
-<td><xsl:value-of select="swi:name"/></td>
-<td align="right"><xsl:value-of select="swi:modification"/></td>
-<td><xsl:value-of select="swi:statistic/swi:checksum/swi:source/swi:exact"/></td>
-</tr>
-</xsl:for-each>
-</table>
-</xsl:template>
-</xsl:stylesheet>

+ 0 - 6
old/prototype/test.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<?xml-stylesheet type='text/xsl' href='swi_report.xsl'?>
-<swi:tutorial>
-<swi:title></swi:title>
-<swi:author></swi:author>
-</swi:tutorial>

+ 0 - 128
old/style.css

@@ -1,128 +0,0 @@
-/*
-
-    Software Index, Copyright 2010, Software Index Project Team
-    Link: http://swi.sourceforge.net
-    
-    This file is part of Software Index Tool.
-    
-    Software Index is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, version 3 of the License.
-    
-    Software Index is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
- 
-*/
-
-/***********************************************/
-/* HTML tag styles                             */
-/***********************************************/ 
-
-body{
-	font-family: Arial, sans-serif;
-	color: #333333;
-	line-height: 1.166;
-	margin: 0px;
-	padding: 10px;
-	font-size: 14px;
-}
-
-pre{
-    font-size: 100%;
-    padding-left: 50;
-}
-td{
-	background-position: left;
-	background-repeat: no-repeat;
-}
-
-a{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:link{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:visited{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:hover{
-	color: #FF9933;
-	text-decoration: underline;
-}
-
-h1{
- font-family: Verdana,Arial,sans-serif;
- font-size: 130%;
- color: #116633;
- margin: 0px;
- padding: 0px;
-}
-
-h2{
- font-family: Arial,sans-serif;
- font-size: 120%;
- color: #330099;
- margin: 0px;
- padding: 0px;
-}
-
-h3{
- font-family: Arial, sans-serif;
- font-size: 120%;
- color: #AA0033;
- margin: 0px;
- padding: 0px;
-}
-
-h4{
- font-family: Verdana,Arial,sans-serif;
- font-size: 100%;
- color: #334d55;
- margin: 0px;
- padding: 0px;
-}
-
-h5{
- margin: 0px;
- padding: 0px;
- font-family: Verdana,Arial,sans-serif;
- font-size: 100%;
- color: #334d55;
-}
-
-ul{
- list-style-type: disc;
-}
-
-ul ul{
- list-style-type: circle;
-}
-
-ul ul ul{
- list-style-type: disc;
-}
-
-label{
-	font-family: Arial, sans-serif;
-	font-size: 100%;
-	color: #116633;
-}
-
-.highImportance {
-	color: #FF0000
-}
-
-.normalImportance {
-	color: #009900}
-

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1167
old/swi_config_sample.xml


+ 0 - 130
old/swi_main.pl

@@ -1,130 +0,0 @@
-#!/usr/bin/perl
-#
-#    Software Index, Copyright 2010, Software Index Project Team
-#    Link: http://swi.sourceforge.net
-#
-#    This file is part of Software Index Tool.
-#
-#    Software Index is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#
-#    Software Index is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-=head1 OVERVIEW
-
-Software Index measures, reports and validates software statistic,
-searches for duplications, scans for errors, 'coding style' violations
-and occasions of broken design patterns which are defined by your design team.
-
-More information available at 'http://swi.sourceforge.net'.
-
-=head1 SYNOPSIS
-
-In order to get the context help (this text):
-
-    perl swi_main.pl -h
-    perl swi_main.pl -help
-    perl swi_main.pl --help
-    
-In order to get the sample configuration file and it's description:
-
-    perl swi_main.pl -s
-    perl swi_main.pl -sample
-    perl swi_main.pl --sample
-
-In order to launch the tool with the prepared configuration file:
-
-    perl swi_main.pl </path/to/configuration/file.xml>
-
-=head1 OPTIONS
-
-=over 4
-
-=item -h, -help, --help
-
-Prints this help page.
-
-=item -s, -sample, --sample
-
-Prints the example of configuration file and it's description.
-The sample explains every section in details and gives several usage examples.
-Use this as a start up framework for your initial configs.
-For example:
-
-    > perl swi_main.pl -sample > my_config.xml
-
-=item </path/to/configuration/file.xml>
-
-Full or relative path to the configuration file for the tool. 
-
-=back
-
-=head1 ENVIRONMENT
-
-The tool requires Perl Runtime Environment. Required Perl version is 5.6.x or later.
-
-=head1 COPYRIGHT 
-
-Software Index, Copyright 2009, 2010, Software Index Project Team,
-Link: http://swi.sourceforge.net
-
-=head1 LICENSE
-
-Software Index is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, version 3 of the License.
-
-Software Index is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Software Index.  If not, see <http://www.gnu.org/licenses/>.
-
-=cut
-
-use strict;
-use Cwd qw(abs_path);
-use Pod::Usage;
-
-$0 =~ m/(.*)swi_main.pl$/;
-my $globalRootDirectory = abs_path($1);
-
-push( @INC, "$globalRootDirectory/lib" );
-require SWI::Launcher;
-
-if (   !defined( $ARGV[0] )
-    || $ARGV[0] eq "-help"
-    || $ARGV[0] eq "--help"
-    || $ARGV[0] eq "-h" )
-{
-    pod2usage( -exitstatus => 0, -verbose => 2 );
-    exit 0;
-}
-
-if (   $ARGV[0] eq "-sample"
-    || $ARGV[0] eq "--sample"
-    || $ARGV[0] eq "-s" )
-{
-    my $fh = new FileHandle( "$globalRootDirectory/swi_config_sample.xml", "r" )
-      or die(
-        "Can not open input file '$globalRootDirectory/swi_config_sample.xml'!"
-      );
-
-    while (<$fh>)
-    {
-        print $_;
-    }
-    exit 0;
-}
-
-exit swiLaunch( $globalRootDirectory, @ARGV );

BIN
old/test/Metrics.xlsx


+ 0 - 213
old/test/swi_config_ddd.xml

@@ -1,213 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<swi:configuration>
-  
-  <swi:info>
-    <swi:version>1</swi:version>
-    <swi:project>
-      <swi:name>DDD</swi:name>
-    </swi:project>
-    <swi:history>
-      <swi:revision>
-        <swi:name>ALFA</swi:name>
-        <swi:user>USER</swi:user>
-        <swi:comment>Configuration for DDD project</swi:comment>
-      </swi:revision>
-    </swi:history>
-  </swi:info>
-  
-  <swi:general>
-    <swi:debug>
-       <swi:enabled>off</swi:enabled>
-    </swi:debug>
-  </swi:general>
-  
-  <swi:modules>
-    <swi:module>
-      <swi:name>DDD-SOURCES</swi:name>
-      <swi:location>../GNU-SRC/ddd/ddd</swi:location>
-      <swi:files>
-        <swi:include>^.*[chCH]$</swi:include>
-        
-        <!--
-          Excluding the following files:
-          FILE:             - REASON:
-          
-          ddd.info.txt.gz.C - just too big file
-          vsl-lex.C         - brackets mismatch without preprocessor work
-          rxscan.C          - undefined block start without preprocessor work
-          vsl-gramma.C      - definition of local variables in old style
-        -->
-        <swi:exclude>ddd.info.txt.gz.C|vsl-lex.C|rxscan.C|vsl-gramma.C</swi:exclude>
-      </swi:files>
-      
-      <swi:preprocessor>
-        <swi:rule>
-          <swi:filepattern>^PrintGC.h$</swi:filepattern>
-          <swi:searchpattern>([^_a-zA-Z0-9])(DECLARE_TYPE_INFO)([^_a-zA-Z0-9])</swi:searchpattern>
-          <swi:replacepattern>$1$2;$3</swi:replacepattern>
-        </swi:rule>
-        <swi:rule>
-          <swi:filepattern>.*</swi:filepattern>
-          <swi:searchpattern>(\s+)(union\s*)({)</swi:searchpattern>
-          <swi:replacepattern>$1$2 _noname_ $3</swi:replacepattern>
-        </swi:rule>
-      </swi:preprocessor>
-      
-      <swi:scanner>
-      	<!--
-      	    The codecontent option defines the content for scanner, it can be:
-      	    
-      	    initial         - the initial source content
-      	    code            - the initial code (without comments)
-      	    comments        - comments only (no code)
-      	    nopreprocessor  - preprocessor strings excluded (without comments and preprocessor)
-      	    nostrings       - strings excluded (without comments and strings)
-      	    purified        - strings and preprocessor excluded (without comments, strings and preprocessor)
-      	    
-      	    By default, the 'purified' content is scanned
-      	-->
-        <swi:rule>
-          <swi:filepattern>.*</swi:filepattern>
-          <swi:searchpattern>(\s+)((union)|(enum)|(struct))(\s*{)</swi:searchpattern>
-          <swi:messagepattern>Noname '$2' detected.</swi:messagepattern>
-          <swi:codecontent>purified</swi:codecontent>
-          
-        </swi:rule>
-
-        <swi:suppress>
-          <swi:pattern swi:message="Noname 'struct'">.*</swi:pattern>
-          <swi:pattern swi:message="Noname 'useless'">.*</swi:pattern>
-        </swi:suppress>
-
-      </swi:scanner>
-      
-      <swi:indexer:common>
-        <!-- No settings currently available -->
-      </swi:indexer:common>
-      
-      <swi:indexer:dup>
-      	<!--
-      	    The codecontent option defines the content for scanner, it can be:
-      	    
-      	    initial         - the initial source content
-      	    code            - the initial code (without comments)
-      	    comments        - comments only (no code)
-      	    nopreprocessor  - preprocessor strings excluded (without comments and preprocessor)
-      	    nostrings       - strings excluded (without comments and strings)
-      	    purified        - strings and preprocessor excluded (without comments, strings and preprocessor)
-      	    
-      	    By default, the 'purified' content is scanned
-      	-->
-      	<swi:codecontent>purified</swi:codecontent>
-        <swi:enabled>on</swi:enabled>
-        <swi:minlength>100</swi:minlength>
-        <swi:proximity>100</swi:proximity>
-        <swi:globalcode>on</swi:globalcode>
-      </swi:indexer:dup>
-
-      <swi:indexer:gcov>
-        <swi:enabled>on</swi:enabled>
-        <swi:filepattern>^.*[.][cC][pP]?[pP]?$</swi:filepattern>
-        <swi:sourcefile>(.*)[.][cC][pP]?[pP]?</swi:sourcefile>
-        <swi:gcdafile>${1}.gcda</swi:gcdafile>
-      </swi:indexer:gcov>
-    </swi:module>
- 
-  </swi:modules>
-  
-  <swi:report>
-    <swi:destination>.</swi:destination>
-    <swi:xml>
-      <swi:name>swi_report_ddd.xml</swi:name>
-    </swi:xml>
-    <swi:notifications>
-      <swi:name>swi_report_ddd.log</swi:name>
-      <swi:error>
-        <swi:added>on</swi:added>
-        <swi:removed>on</swi:removed>
-        <swi:modified>on</swi:modified>
-        <swi:cloned>on</swi:cloned>
-        <swi:unmodified>on</swi:unmodified>
-      </swi:error>
-      <swi:print>
-        <swi:added>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-          <swi:duplications>off</swi:duplications>
-          <swi:scanmessages>on</swi:scanmessages>
-        </swi:added>
-        <swi:removed>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-          <swi:duplications>off</swi:duplications>
-          <swi:scanmessages>on</swi:scanmessages>
-        </swi:removed>
-        <swi:modified>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-          <swi:duplications>off</swi:duplications>
-          <swi:scanmessages>on</swi:scanmessages>
-        </swi:modified>
-        <swi:cloned>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-          <swi:duplications>off</swi:duplications>
-          <swi:scanmessages>on</swi:scanmessages>
-        </swi:cloned>
-        <swi:unmodified>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-          <swi:duplications>off</swi:duplications>
-          <swi:scanmessages>on</swi:scanmessages>
-        </swi:unmodified>
-      </swi:print>
-    </swi:notifications>
-  </swi:report>
-  
-  <swi:limits>
-    
-    <swi:lines>
-      <swi:comment:header>
-        <swi:exact>
-          <swi:info>5</swi:info>
-          <swi:notice>3</swi:notice>
-          <swi:warning>1</swi:warning>
-	  
-          <swi:suppress>
-              <swi:pattern swi:level="warning">.*</swi:pattern>
-          </swi:suppress>
-	  
-        </swi:exact>
-      </swi:comment:header>
-    </swi:lines>
-
-    <swi:duplication>
-      <swi:symbols>
-        <swi:exact swi:relation="swi:length/swi:executable/swi:exact">
-          <swi:info>0.28</swi:info>
-          <swi:notice>0.40</swi:notice>
-          <swi:warning>0.60</swi:warning>
-          
-          
-          <swi:suppress>
-              <swi:pattern swi:level="warning">Useless pattern</swi:pattern>
-          </swi:suppress>
-          
-        </swi:exact>
-      </swi:symbols>
-    </swi:duplication>
-    
-    
-    <swi:coverage>
-      <swi:gcov:lines>
-        <swi:exact swi:relation="swi:coverage/swi:gsum:lines/swi:exact">
-          <swi:info>0.99</swi:info>
-          <swi:notice>0.9</swi:notice>
-          <swi:warning>0.84</swi:warning>
-        </swi:exact>
-      </swi:gcov:lines>
-    </swi:coverage>
-
-    </swi:limits>
-
-</swi:configuration>

+ 0 - 108
old/test/swi_config_test.xml

@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<swi:configuration>
-  
-  <swi:info>
-    <swi:version>1</swi:version>
-    <swi:project>
-      <swi:name>DDD</swi:name>
-    </swi:project>
-    <swi:history>
-      <swi:revision>
-        <swi:name>ALFA</swi:name>
-        <swi:user>avkonst</swi:user>
-        <swi:comment>Configuration for TEST project</swi:comment>
-      </swi:revision>
-    </swi:history>
-  </swi:info>
-      
-  <swi:modules>
-    <swi:module>
-      <swi:name>TEST_FOLDER</swi:name>
-      <swi:location>test</swi:location>
-      <swi:files>
-        <swi:include>.*[chCH]</swi:include>
-        <swi:exclude></swi:exclude>
-      </swi:files>
-      
-      <swi:dupfinder>
-        <swi:enabled>on</swi:enabled>
-      </swi:dupfinder>
-      
-    </swi:module>
- 
-  </swi:modules>
-  
-  <swi:report>
-    <swi:destination>.</swi:destination>
-    <swi:xml>
-      <swi:name>swi_report_test.xml</swi:name>
-    </swi:xml>
-    <swi:notifications>
-      <swi:name>swi_report_test.log</swi:name>
-      <swi:stdout>on</swi:stdout>
-      <swi:error>
-        <swi:added>on</swi:added>
-        <swi:removed>on</swi:removed>
-        <swi:modified>on</swi:modified>
-        <swi:cloned>on</swi:cloned>
-        <swi:unmodified>on</swi:unmodified>
-      </swi:error>
-      <swi:print>
-        <swi:added>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-        </swi:added>
-        <swi:removed>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-        </swi:removed>
-        <swi:modified>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-        </swi:modified>
-        <swi:cloned>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-        </swi:cloned>
-        <swi:unmodified>
-          <swi:failures>on</swi:failures>
-          <swi:modifications>off</swi:modifications>
-        </swi:unmodified>
-      </swi:print>
-    </swi:notifications>
-    <swi:dup>
-      <swi:name>swi_report_ddd.dup</swi:name>
-    </swi:dup>
-  </swi:report>
-  
-  <swi:limits>
-    <swi:lines>
-    
-      <swi:comment:header>
-        <swi:exact>
-          <swi:info>5</swi:info>
-          <swi:notice>3</swi:notice>
-          <swi:warning>1</swi:warning>
-	  
-          <swi:suppress>
-              <swi:pattern swi:level="info">.*</swi:pattern>
-          </swi:suppress>
-	  
-        </swi:exact>
-      </swi:comment:header>
-    </swi:lines>
-
-
-    <swi:duplication>
-      <swi:symbols>
-        <swi:exact swi:relation="swi:length/swi:executable/swi:exact">
-          <swi:info>0.28</swi:info>
-          <swi:notice>0.40</swi:notice>
-          <swi:warning>0.60</swi:warning>
-        </swi:exact>
-      </swi:symbols>
-    </swi:duplication>
-
-  </swi:limits>
-
-</swi:configuration>

+ 0 - 17
releases/latest/.project

@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>Metrix++</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.python.pydev.PyDevBuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.python.pydev.pythonNature</nature>
-	</natures>
-</projectDescription>

+ 0 - 11
releases/latest/.pydevproject

@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse-pydev version="1.0"?>
-
-<pydev_project>
-<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
-<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
-<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
-<path>/Metrix++</path>
-<path>/Metrix++/ext</path>
-</pydev_pathproperty>
-</pydev_project>

+ 0 - 30
releases/latest/CHANGELOG.md

@@ -1,30 +0,0 @@
-## 1.3 (August, 2013)
-- Deprecated and dropped support for callback based implementation of advanced counters
-(use MetricPluginMixin.*Counter classes instead)
-- New metric: std.code.todo:comments - number of todo markers in comments.
-- New metric: std.code.todo:strings - number of todo markers in strings.
-- Defect fixed: critical performance issue for iterative runs
-- Defect fixed: fixed counting of magic numbers
-
-## 1.2 (August, 2013)
-- **Feature** suppressions capability for limit tool
-- **Feature** distribution tables and graphs in viewer
-- **Feature** export tool (exproting of data files to csv format)
-- **Feature** unified stdout output format for all tools
-- **New metric plugin** std.code.magic:numbers: Counts number of magic numbers per region.
-- **New metric plugin** std.code.lines: Counts number of lines of code, comments, preprocessor,
-etc.
-- **New metric plugin** std.code.length: Counts number of symbols per region.
-- **New metric plugin** std.code.complexity:maxindend: Measures maximum level of indented blocks per function.
-- **New metric plugin** std.general:size: Measures file size in bytes.
-- **New documentation**: Explains code regions concepts, available metrics, workflow,
-plugin development.
-- **Re-factoring**: better Metrix++ api for plugin development.
-- **Major bug-fixing**: application to real commercial software and use cases.
-
-## 1.1 (March, 2013)
-- **Extension point for post analysis tools** added. All tools are merged
-  to one 'metrix++.py' with plugable actions, like collect, limit, etc:
-  run 'python metrix++.py' to get the list of actions supported.
-- fixed Java parser (fixed false match of attributes as functions)
-

+ 0 - 674
releases/latest/LICENSE

@@ -1,674 +0,0 @@
-                    GNU GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.  We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors.  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-  To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights.  Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received.  You must make sure that they, too, receive
-or can get the source code.  And you must show them these terms so they
-know their rights.
-
-  Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
-  For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software.  For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
-  Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so.  This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software.  The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable.  Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products.  If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
-  Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary.  To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                       TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-  No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-  When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-  4. Conveying Verbatim Copies.
-
-  You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-  You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-  5. Conveying Modified Source Versions.
-
-  You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified
-    it, and giving a relevant date.
-
-    b) The work must carry prominent notices stating that it is
-    released under this License and any conditions added under section
-    7.  This requirement modifies the requirement in section 4 to
-    "keep intact all notices".
-
-    c) You must license the entire work, as a whole, under this
-    License to anyone who comes into possession of a copy.  This
-    License will therefore apply, along with any applicable section 7
-    additional terms, to the whole of the work, and all its parts,
-    regardless of how they are packaged.  This License gives no
-    permission to license the work in any other way, but it does not
-    invalidate such permission if you have separately received it.
-
-    d) If the work has interactive user interfaces, each must display
-    Appropriate Legal Notices; however, if the Program has interactive
-    interfaces that do not display Appropriate Legal Notices, your
-    work need not make them do so.
-
-  A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-  6. Conveying Non-Source Forms.
-
-  You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by the
-    Corresponding Source fixed on a durable physical medium
-    customarily used for software interchange.
-
-    b) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by a
-    written offer, valid for at least three years and valid for as
-    long as you offer spare parts or customer support for that product
-    model, to give anyone who possesses the object code either (1) a
-    copy of the Corresponding Source for all the software in the
-    product that is covered by this License, on a durable physical
-    medium customarily used for software interchange, for a price no
-    more than your reasonable cost of physically performing this
-    conveying of source, or (2) access to copy the
-    Corresponding Source from a network server at no charge.
-
-    c) Convey individual copies of the object code with a copy of the
-    written offer to provide the Corresponding Source.  This
-    alternative is allowed only occasionally and noncommercially, and
-    only if you received the object code with such an offer, in accord
-    with subsection 6b.
-
-    d) Convey the object code by offering access from a designated
-    place (gratis or for a charge), and offer equivalent access to the
-    Corresponding Source in the same way through the same place at no
-    further charge.  You need not require recipients to copy the
-    Corresponding Source along with the object code.  If the place to
-    copy the object code is a network server, the Corresponding Source
-    may be on a different server (operated by you or a third party)
-    that supports equivalent copying facilities, provided you maintain
-    clear directions next to the object code saying where to find the
-    Corresponding Source.  Regardless of what server hosts the
-    Corresponding Source, you remain obligated to ensure that it is
-    available for as long as needed to satisfy these requirements.
-
-    e) Convey the object code using peer-to-peer transmission, provided
-    you inform other peers where the object code and Corresponding
-    Source of the work are being offered to the general public at no
-    charge under subsection 6d.
-
-  A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-  A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-  "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-  If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-  The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-  Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-  7. Additional Terms.
-
-  "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-  When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-  Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the
-    terms of sections 15 and 16 of this License; or
-
-    b) Requiring preservation of specified reasonable legal notices or
-    author attributions in that material or in the Appropriate Legal
-    Notices displayed by works containing it; or
-
-    c) Prohibiting misrepresentation of the origin of that material, or
-    requiring that modified versions of such material be marked in
-    reasonable ways as different from the original version; or
-
-    d) Limiting the use for publicity purposes of names of licensors or
-    authors of the material; or
-
-    e) Declining to grant rights under trademark law for use of some
-    trade names, trademarks, or service marks; or
-
-    f) Requiring indemnification of licensors and authors of that
-    material by anyone who conveys the material (or modified versions of
-    it) with contractual assumptions of liability to the recipient, for
-    any liability that these contractual assumptions directly impose on
-    those licensors and authors.
-
-  All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-  If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-  Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-  8. Termination.
-
-  You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-  However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-  Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-  Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-  9. Acceptance Not Required for Having Copies.
-
-  You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-  10. Automatic Licensing of Downstream Recipients.
-
-  Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-  An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-  You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-  11. Patents.
-
-  A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's "contributor version".
-
-  A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-  Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-  In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-  If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
-  If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-  A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-  Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-  12. No Surrender of Others' Freedom.
-
-  If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-  13. Use with the GNU Affero General Public License.
-
-  Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work.  The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
-  14. Revised Versions of this License.
-
-  The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-  Each version is given a distinguishing version number.  If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-  If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-  Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-  15. Disclaimer of Warranty.
-
-  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. Limitation of Liability.
-
-  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
-  17. Interpretation of Sections 15 and 16.
-
-  If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-                     END OF TERMS AND CONDITIONS
-
-            How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-  If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
-    <program>  Copyright (C) <year>  <name of author>
-    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
-  You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
-  The GNU General Public License does not permit incorporating your program
-into proprietary programs.  If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.  But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ 0 - 76
releases/latest/LIMITATIONS.md

@@ -1,76 +0,0 @@
-# Known Limitations 
-
-+ C/C++, C# and Java parsers do not recognise definition of functions or overloaded operators
-in case of embeded comments after identifier name and before the list of arguments.
-
-	- This function is not detected by Metrix++:
-	
-			int getMax /* undesarable comment */ (int* array, int length)
-			{
-				/* ... */
-			}
-	  
-	- This function is detected:
-	
-			int getMax(int* array, int length) /* here is fine */
-			{
-				/* ... */
-			}
-
-+ C/C++ parser does not recognise comments within preprocessor statements.
-These comments are considered to be parts of a define.
-
-	- This comment is not recognized by Metrix++:
-	
-			#define GET_MAX(a, b)	   \
-				/*					  \
-				 * This macros returns  \
-				 * maximum from a and b \
-				 */					 \
-				((a > b) ? a : b)
-	
-	- This comment is recognised:
-	
-			/*
-			 * This macro returns maximum from a and b
-			 */
-			#define GET_MAX(a, b) \
-				((a > b) ? a : b)
-
-+ C# parser does not recognise getters/setters for properties, if there is a comment before a block.
-  
-	- This function is not detected by Metrix++: | :
-
-			get /* undesarable comment */
-			{
-				/* ... */
-			}
-
-	- This function is detected:
-
-			get
-			{	/* here comment is fine */
-				/* ... */
-			}
-
-
-+ Java parser does not recognise anonymous inner classes.
-
-+ C/C++, C# and Java parsers do not recognise definition of classes/structs/namespaces/interface)
-in case of embeded comments after keyword and identifier name.
-
-	- This class is not detected by Metrix++
-
-			class /* comment */ MyClass
-			{
-				/* ... */
-			}
-
-	- This class is detected:
-
-			class MyClass /* here is fine */
-			{
-				/* ... */
-			}
-
-+ Java parser does not support parsing of identifiers which have got unicode symbols in name.

+ 0 - 42
releases/latest/README.md

@@ -1,42 +0,0 @@
-# [Metrix++](http://metrixplusplus.sourceforge.net)
-
-Metrix++ is an extendable tool for code metrics collection and analysis.
-Check projects documentation for additional information:
-
-* [http://metrixplusplus.sourceforge.net](http://metrixplusplus.sourceforge.net)
-* ./doc folder within the distributive
-
-Thank you for using the tool!
-
-
-
-## Versioning
-
-Releases are numbered with the following format:
-
-`<major>.<minor>.<revision>`
-
-And constructed with the following guidelines:
-
-* Major is stepped up and minor is reset in case of release with non-backward compatible changes in the API
-* Minor is stepped up at any release
-* Revision corresponds to mainline branch revision number in the svn, never reset
-
-
-
-## Issue tracker and feedback 
-
-Have a bug or a feature request or any feedback?
-[Please submit a ticket](https://sourceforge.net/p/metrixplusplus/tickets/new/).
-
-
-
-## Copyright and license
-
-Copyright 2009-2013 Metrix++ Project.
-
-This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of the License.
-
-This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along with the Metrix++; if not, contact [Project Administrator](mailto:mailto:avkonst@users.sourceforge.net)

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1109
releases/latest/doc/assets/css/bootstrap-responsive.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 6315
releases/latest/doc/assets/css/bootstrap.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1132
releases/latest/doc/assets/css/docs.css


+ 0 - 130
releases/latest/doc/assets/css/oldstyle.css

@@ -1,130 +0,0 @@
-/*
-
-    Metrix++, Copyright 2009-2013, Metrix++ Project
-    Link: http://metrixplusplus.sourceforge.net
-    
-    This file is a part of Metrix++ Tool.
-    
-    Metrix++ is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, version 3 of the License.
-    
-    Metrix++ is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-body{
-	font-family: Arial, sans-serif;
-	color: #333333;
-	line-height: 1.166;
-	margin: 0px;
-	padding: 10px;
-	font-size: 14px;
-}
-
-pre{
-    font-size: 100%;
-    padding-left: 50px;
-    font-family:Courier;
-}
-
-td{
-	background-position: left;
-	background-repeat: no-repeat;
-}
-
-a{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:link{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:visited{
-	color: #AA0033;
-	text-decoration: none;
-}
-
-a:hover{
-	color: #FF9933;
-	text-decoration: underline;
-}
-
-h1{
- font-family: Verdana,Arial,sans-serif;
- font-size: 130%;
- color: #116633;
- margin: 0px;
- padding: 0px;
-}
-
-h2{
- font-family: Arial,sans-serif;
- font-size: 120%;
- color: #330099;
- margin: 0px;
- padding: 0px;
-}
-
-h3{
- font-family: Arial, sans-serif;
- font-size: 120%;
- color: #AA0033;
- margin: 0px;
- padding: 0px;
-}
-
-h4{
- font-family: Verdana,Arial,sans-serif;
- font-size: 100%;
- color: #334d55;
- margin: 0px;
- padding: 0px;
-}
-
-h5{
- margin: 0px;
- padding: 0px;
- font-family: Verdana,Arial,sans-serif;
- font-size: 100%;
- color: #334d55;
-}
-
-ul{
- list-style-type: disc;
-}
-
-ul ul{
- list-style-type: circle;
-}
-
-ul ul ul{
- list-style-type: disc;
-}
-
-label{
-	font-family: Arial, sans-serif;
-	font-size: 100%;
-	color: #116633;
-}
-
-.highImportance {
-	color: #FF0000
-}
-
-.normalImportance {
-	color: #009900
-}
-
-.lowImportance{
-    color: #999999;
-}

BIN
releases/latest/doc/assets/ico/apple-touch-icon-114-precomposed.png


BIN
releases/latest/doc/assets/ico/apple-touch-icon-144-precomposed.png


BIN
releases/latest/doc/assets/ico/apple-touch-icon-57-precomposed.png


BIN
releases/latest/doc/assets/ico/apple-touch-icon-72-precomposed.png


BIN
releases/latest/doc/assets/ico/favicon.ico


BIN
releases/latest/doc/assets/ico/favicon.ico.bak


BIN
releases/latest/doc/assets/ico/favicon.png


BIN
releases/latest/doc/assets/ico/favicon.png.bak


BIN
releases/latest/doc/assets/img/Customer-Analysis-Competitive-Analysis.jpg


BIN
releases/latest/doc/assets/img/fm_logo.png


BIN
releases/latest/doc/assets/img/glyphicons-halflings-white.png


BIN
releases/latest/doc/assets/img/glyphicons-halflings.png


BIN
releases/latest/doc/assets/img/grid-baseline-20px.png


BIN
releases/latest/doc/assets/img/logo.png


BIN
releases/latest/doc/assets/img/logo_project.png


BIN
releases/latest/doc/assets/img/logo_small.gif


BIN
releases/latest/doc/assets/img/logo_small.png


BIN
releases/latest/doc/assets/img/piechart.png


BIN
releases/latest/doc/assets/img/slide-01.jpg


BIN
releases/latest/doc/assets/img/slide-02.jpg


BIN
releases/latest/doc/assets/img/slide-03.jpg


BIN
releases/latest/doc/assets/img/web_screenshot.png


+ 0 - 106
releases/latest/doc/assets/js/README.md

@@ -1,106 +0,0 @@
-## 2.0 BOOTSTRAP JS PHILOSOPHY
-These are the high-level design rules which guide the development of Bootstrap's plugin apis.
-
----
-
-### DATA-ATTRIBUTE API
-
-We believe you should be able to use all plugins provided by Bootstrap purely through the markup API without writing a single line of javascript.
-
-We acknowledge that this isn't always the most performant and sometimes it may be desirable to turn this functionality off altogether. Therefore, as of 2.0 we provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
-
-    $('body').off('.data-api')
-
-To target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:
-
-    $('body').off('.alert.data-api')
-
----
-
-### PROGRAMMATIC API
-
-We also believe you should be able to use all plugins provided by Bootstrap purely through the JS API.
-
-All public APIs should be single, chainable methods, and return the collection acted upon.
-
-    $(".btn.danger").button("toggle").addClass("fat")
-
-All methods should accept an optional options object, a string which targets a particular method, or null which initiates the default behavior:
-
-    $("#myModal").modal() // initialized with defaults
-    $("#myModal").modal({ keyboard: false }) // initialized with now keyboard
-    $("#myModal").modal('show') // initializes and invokes show immediately afterqwe2
-
----
-
-### OPTIONS
-
-Options should be sparse and add universal value. We should pick the right defaults.
-
-All plugins should have a default object which can be modified to effect all instance's default options. The defaults object should be available via `$.fn.plugin.defaults`.
-
-    $.fn.modal.defaults = { … }
-
-An options definition should take the following form:
-
-    *noun*: *adjective* - describes or modifies a quality of an instance
-
-examples:
-
-    backdrop: true
-    keyboard: false
-    placement: 'top'
-
----
-
-### EVENTS
-
-All events should have an infinitive and past participle form. The infinitive is fired just before an action takes place, the past participle on completion of the action.
-
-    show | shown
-    hide | hidden
-
----
-
-### CONSTRUCTORS
-
-Each plugin should expose it's raw constructor on a `Constructor` property -- accessed in the following way:
-
-
-    $.fn.popover.Constructor
-
----
-
-### DATA ACCESSOR
-
-Each plugin stores a copy of the invoked class on an object. This class instance can be accessed directly through jQuery's data API like this:
-
-    $('[rel=popover]').data('popover') instanceof $.fn.popover.Constructor
-
----
-
-### DATA ATTRIBUTES
-
-Data attributes should take the following form:
-
-- data-{{verb}}={{plugin}} - defines main interaction
-- data-target || href^=# - defined on "control" element (if element controls an element other than self)
-- data-{{noun}} - defines class instance options
-
-examples:
-
-    // control other targets
-    data-toggle="modal" data-target="#foo"
-    data-toggle="collapse" data-target="#foo" data-parent="#bar"
-
-    // defined on element they control
-    data-spy="scroll"
-
-    data-dismiss="modal"
-    data-dismiss="alert"
-
-    data-toggle="dropdown"
-
-    data-toggle="button"
-    data-toggle="buttons-checkbox"
-    data-toggle="buttons-radio"

+ 0 - 156
releases/latest/doc/assets/js/application.js

@@ -1,156 +0,0 @@
-// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
-// IT'S ALL JUST JUNK FOR OUR DOCS!
-// ++++++++++++++++++++++++++++++++++++++++++
-
-!function ($) {
-
-  $(function(){
-
-    var $window = $(window)
-
-    // Disable certain links in docs
-    $('section [href^=#]').click(function (e) {
-      e.preventDefault()
-    })
-
-    // side bar
-    setTimeout(function () {
-      $('.bs-docs-sidenav').affix({
-        offset: {
-          top: function () { return $window.width() <= 980 ? 290 : 210 }
-        , bottom: 270
-        }
-      })
-    }, 100)
-
-    // make code pretty
-    window.prettyPrint && prettyPrint()
-
-    // add-ons
-    $('.add-on :checkbox').on('click', function () {
-      var $this = $(this)
-        , method = $this.attr('checked') ? 'addClass' : 'removeClass'
-      $(this).parents('.add-on')[method]('active')
-    })
-
-    // add tipsies to grid for scaffolding
-    if ($('#gridSystem').length) {
-      $('#gridSystem').tooltip({
-          selector: '.show-grid > [class*="span"]'
-        , title: function () { return $(this).width() + 'px' }
-      })
-    }
-
-    // tooltip demo
-    $('.tooltip-demo').tooltip({
-      selector: "a[data-toggle=tooltip]"
-    })
-
-    $('.tooltip-test').tooltip()
-    $('.popover-test').popover()
-
-    // popover demo
-    $("a[data-toggle=popover]")
-      .popover()
-      .click(function(e) {
-        e.preventDefault()
-      })
-
-    // button state demo
-    $('#fat-btn')
-      .click(function () {
-        var btn = $(this)
-        btn.button('loading')
-        setTimeout(function () {
-          btn.button('reset')
-        }, 3000)
-      })
-
-    // carousel demo
-    $('#myCarousel').carousel()
-
-    // javascript build logic
-    var inputsComponent = $("#components.download input")
-      , inputsPlugin = $("#plugins.download input")
-      , inputsVariables = $("#variables.download input")
-
-    // toggle all plugin checkboxes
-    $('#components.download .toggle-all').on('click', function (e) {
-      e.preventDefault()
-      inputsComponent.attr('checked', !inputsComponent.is(':checked'))
-    })
-
-    $('#plugins.download .toggle-all').on('click', function (e) {
-      e.preventDefault()
-      inputsPlugin.attr('checked', !inputsPlugin.is(':checked'))
-    })
-
-    $('#variables.download .toggle-all').on('click', function (e) {
-      e.preventDefault()
-      inputsVariables.val('')
-    })
-
-    // request built javascript
-    $('.download-btn .btn').on('click', function () {
-
-      var css = $("#components.download input:checked")
-            .map(function () { return this.value })
-            .toArray()
-        , js = $("#plugins.download input:checked")
-            .map(function () { return this.value })
-            .toArray()
-        , vars = {}
-        , img = ['glyphicons-halflings.png', 'glyphicons-halflings-white.png']
-
-    $("#variables.download input")
-      .each(function () {
-        $(this).val() && (vars[ $(this).prev().text() ] = $(this).val())
-      })
-
-      $.ajax({
-        type: 'POST'
-      , url: /\?dev/.test(window.location) ? 'http://localhost:3000' : 'http://bootstrap.herokuapp.com'
-      , dataType: 'jsonpi'
-      , params: {
-          js: js
-        , css: css
-        , vars: vars
-        , img: img
-      }
-      })
-    })
-  })
-
-// Modified from the original jsonpi https://github.com/benvinegar/jquery-jsonpi
-$.ajaxTransport('jsonpi', function(opts, originalOptions, jqXHR) {
-  var url = opts.url;
-
-  return {
-    send: function(_, completeCallback) {
-      var name = 'jQuery_iframe_' + jQuery.now()
-        , iframe, form
-
-      iframe = $('<iframe>')
-        .attr('name', name)
-        .appendTo('head')
-
-      form = $('<form>')
-        .attr('method', opts.type) // GET or POST
-        .attr('action', url)
-        .attr('target', name)
-
-      $.each(opts.params, function(k, v) {
-
-        $('<input>')
-          .attr('type', 'hidden')
-          .attr('name', k)
-          .attr('value', typeof v == 'string' ? v : JSON.stringify(v))
-          .appendTo(form)
-      })
-
-      form.appendTo('body').submit()
-    }
-  }
-})
-
-}(window.jQuery)

+ 0 - 117
releases/latest/doc/assets/js/bootstrap-affix.js

@@ -1,117 +0,0 @@
-/* ==========================================================
- * bootstrap-affix.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#affix
- * ==========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* AFFIX CLASS DEFINITION
-  * ====================== */
-
-  var Affix = function (element, options) {
-    this.options = $.extend({}, $.fn.affix.defaults, options)
-    this.$window = $(window)
-      .on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
-      .on('click.affix.data-api',  $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
-    this.$element = $(element)
-    this.checkPosition()
-  }
-
-  Affix.prototype.checkPosition = function () {
-    if (!this.$element.is(':visible')) return
-
-    var scrollHeight = $(document).height()
-      , scrollTop = this.$window.scrollTop()
-      , position = this.$element.offset()
-      , offset = this.options.offset
-      , offsetBottom = offset.bottom
-      , offsetTop = offset.top
-      , reset = 'affix affix-top affix-bottom'
-      , affix
-
-    if (typeof offset != 'object') offsetBottom = offsetTop = offset
-    if (typeof offsetTop == 'function') offsetTop = offset.top()
-    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
-
-    affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
-      false    : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
-      'bottom' : offsetTop != null && scrollTop <= offsetTop ?
-      'top'    : false
-
-    if (this.affixed === affix) return
-
-    this.affixed = affix
-    this.unpin = affix == 'bottom' ? position.top - scrollTop : null
-
-    this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
-  }
-
-
- /* AFFIX PLUGIN DEFINITION
-  * ======================= */
-
-  var old = $.fn.affix
-
-  $.fn.affix = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('affix')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('affix', (data = new Affix(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.affix.Constructor = Affix
-
-  $.fn.affix.defaults = {
-    offset: 0
-  }
-
-
- /* AFFIX NO CONFLICT
-  * ================= */
-
-  $.fn.affix.noConflict = function () {
-    $.fn.affix = old
-    return this
-  }
-
-
- /* AFFIX DATA-API
-  * ============== */
-
-  $(window).on('load', function () {
-    $('[data-spy="affix"]').each(function () {
-      var $spy = $(this)
-        , data = $spy.data()
-
-      data.offset = data.offset || {}
-
-      data.offsetBottom && (data.offset.bottom = data.offsetBottom)
-      data.offsetTop && (data.offset.top = data.offsetTop)
-
-      $spy.affix(data)
-    })
-  })
-
-
-}(window.jQuery);

+ 0 - 99
releases/latest/doc/assets/js/bootstrap-alert.js

@@ -1,99 +0,0 @@
-/* ==========================================================
- * bootstrap-alert.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#alerts
- * ==========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* ALERT CLASS DEFINITION
-  * ====================== */
-
-  var dismiss = '[data-dismiss="alert"]'
-    , Alert = function (el) {
-        $(el).on('click', dismiss, this.close)
-      }
-
-  Alert.prototype.close = function (e) {
-    var $this = $(this)
-      , selector = $this.attr('data-target')
-      , $parent
-
-    if (!selector) {
-      selector = $this.attr('href')
-      selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
-    }
-
-    $parent = $(selector)
-
-    e && e.preventDefault()
-
-    $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())
-
-    $parent.trigger(e = $.Event('close'))
-
-    if (e.isDefaultPrevented()) return
-
-    $parent.removeClass('in')
-
-    function removeElement() {
-      $parent
-        .trigger('closed')
-        .remove()
-    }
-
-    $.support.transition && $parent.hasClass('fade') ?
-      $parent.on($.support.transition.end, removeElement) :
-      removeElement()
-  }
-
-
- /* ALERT PLUGIN DEFINITION
-  * ======================= */
-
-  var old = $.fn.alert
-
-  $.fn.alert = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('alert')
-      if (!data) $this.data('alert', (data = new Alert(this)))
-      if (typeof option == 'string') data[option].call($this)
-    })
-  }
-
-  $.fn.alert.Constructor = Alert
-
-
- /* ALERT NO CONFLICT
-  * ================= */
-
-  $.fn.alert.noConflict = function () {
-    $.fn.alert = old
-    return this
-  }
-
-
- /* ALERT DATA-API
-  * ============== */
-
-  $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
-
-}(window.jQuery);

+ 0 - 105
releases/latest/doc/assets/js/bootstrap-button.js

@@ -1,105 +0,0 @@
-/* ============================================================
- * bootstrap-button.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#buttons
- * ============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* BUTTON PUBLIC CLASS DEFINITION
-  * ============================== */
-
-  var Button = function (element, options) {
-    this.$element = $(element)
-    this.options = $.extend({}, $.fn.button.defaults, options)
-  }
-
-  Button.prototype.setState = function (state) {
-    var d = 'disabled'
-      , $el = this.$element
-      , data = $el.data()
-      , val = $el.is('input') ? 'val' : 'html'
-
-    state = state + 'Text'
-    data.resetText || $el.data('resetText', $el[val]())
-
-    $el[val](data[state] || this.options[state])
-
-    // push to event loop to allow forms to submit
-    setTimeout(function () {
-      state == 'loadingText' ?
-        $el.addClass(d).attr(d, d) :
-        $el.removeClass(d).removeAttr(d)
-    }, 0)
-  }
-
-  Button.prototype.toggle = function () {
-    var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
-
-    $parent && $parent
-      .find('.active')
-      .removeClass('active')
-
-    this.$element.toggleClass('active')
-  }
-
-
- /* BUTTON PLUGIN DEFINITION
-  * ======================== */
-
-  var old = $.fn.button
-
-  $.fn.button = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('button')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('button', (data = new Button(this, options)))
-      if (option == 'toggle') data.toggle()
-      else if (option) data.setState(option)
-    })
-  }
-
-  $.fn.button.defaults = {
-    loadingText: 'loading...'
-  }
-
-  $.fn.button.Constructor = Button
-
-
- /* BUTTON NO CONFLICT
-  * ================== */
-
-  $.fn.button.noConflict = function () {
-    $.fn.button = old
-    return this
-  }
-
-
- /* BUTTON DATA-API
-  * =============== */
-
-  $(document).on('click.button.data-api', '[data-toggle^=button]', function (e) {
-    var $btn = $(e.target)
-    if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
-    $btn.button('toggle')
-  })
-
-}(window.jQuery);

+ 0 - 207
releases/latest/doc/assets/js/bootstrap-carousel.js

@@ -1,207 +0,0 @@
-/* ==========================================================
- * bootstrap-carousel.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#carousel
- * ==========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* CAROUSEL CLASS DEFINITION
-  * ========================= */
-
-  var Carousel = function (element, options) {
-    this.$element = $(element)
-    this.$indicators = this.$element.find('.carousel-indicators')
-    this.options = options
-    this.options.pause == 'hover' && this.$element
-      .on('mouseenter', $.proxy(this.pause, this))
-      .on('mouseleave', $.proxy(this.cycle, this))
-  }
-
-  Carousel.prototype = {
-
-    cycle: function (e) {
-      if (!e) this.paused = false
-      if (this.interval) clearInterval(this.interval);
-      this.options.interval
-        && !this.paused
-        && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
-      return this
-    }
-
-  , getActiveIndex: function () {
-      this.$active = this.$element.find('.item.active')
-      this.$items = this.$active.parent().children()
-      return this.$items.index(this.$active)
-    }
-
-  , to: function (pos) {
-      var activeIndex = this.getActiveIndex()
-        , that = this
-
-      if (pos > (this.$items.length - 1) || pos < 0) return
-
-      if (this.sliding) {
-        return this.$element.one('slid', function () {
-          that.to(pos)
-        })
-      }
-
-      if (activeIndex == pos) {
-        return this.pause().cycle()
-      }
-
-      return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
-    }
-
-  , pause: function (e) {
-      if (!e) this.paused = true
-      if (this.$element.find('.next, .prev').length && $.support.transition.end) {
-        this.$element.trigger($.support.transition.end)
-        this.cycle(true)
-      }
-      clearInterval(this.interval)
-      this.interval = null
-      return this
-    }
-
-  , next: function () {
-      if (this.sliding) return
-      return this.slide('next')
-    }
-
-  , prev: function () {
-      if (this.sliding) return
-      return this.slide('prev')
-    }
-
-  , slide: function (type, next) {
-      var $active = this.$element.find('.item.active')
-        , $next = next || $active[type]()
-        , isCycling = this.interval
-        , direction = type == 'next' ? 'left' : 'right'
-        , fallback  = type == 'next' ? 'first' : 'last'
-        , that = this
-        , e
-
-      this.sliding = true
-
-      isCycling && this.pause()
-
-      $next = $next.length ? $next : this.$element.find('.item')[fallback]()
-
-      e = $.Event('slide', {
-        relatedTarget: $next[0]
-      , direction: direction
-      })
-
-      if ($next.hasClass('active')) return
-
-      if (this.$indicators.length) {
-        this.$indicators.find('.active').removeClass('active')
-        this.$element.one('slid', function () {
-          var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
-          $nextIndicator && $nextIndicator.addClass('active')
-        })
-      }
-
-      if ($.support.transition && this.$element.hasClass('slide')) {
-        this.$element.trigger(e)
-        if (e.isDefaultPrevented()) return
-        $next.addClass(type)
-        $next[0].offsetWidth // force reflow
-        $active.addClass(direction)
-        $next.addClass(direction)
-        this.$element.one($.support.transition.end, function () {
-          $next.removeClass([type, direction].join(' ')).addClass('active')
-          $active.removeClass(['active', direction].join(' '))
-          that.sliding = false
-          setTimeout(function () { that.$element.trigger('slid') }, 0)
-        })
-      } else {
-        this.$element.trigger(e)
-        if (e.isDefaultPrevented()) return
-        $active.removeClass('active')
-        $next.addClass('active')
-        this.sliding = false
-        this.$element.trigger('slid')
-      }
-
-      isCycling && this.cycle()
-
-      return this
-    }
-
-  }
-
-
- /* CAROUSEL PLUGIN DEFINITION
-  * ========================== */
-
-  var old = $.fn.carousel
-
-  $.fn.carousel = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('carousel')
-        , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option)
-        , action = typeof option == 'string' ? option : options.slide
-      if (!data) $this.data('carousel', (data = new Carousel(this, options)))
-      if (typeof option == 'number') data.to(option)
-      else if (action) data[action]()
-      else if (options.interval) data.pause().cycle()
-    })
-  }
-
-  $.fn.carousel.defaults = {
-    interval: 5000
-  , pause: 'hover'
-  }
-
-  $.fn.carousel.Constructor = Carousel
-
-
- /* CAROUSEL NO CONFLICT
-  * ==================== */
-
-  $.fn.carousel.noConflict = function () {
-    $.fn.carousel = old
-    return this
-  }
-
- /* CAROUSEL DATA-API
-  * ================= */
-
-  $(document).on('click.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
-    var $this = $(this), href
-      , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
-      , options = $.extend({}, $target.data(), $this.data())
-      , slideIndex
-
-    $target.carousel(options)
-
-    if (slideIndex = $this.attr('data-slide-to')) {
-      $target.data('carousel').pause().to(slideIndex).cycle()
-    }
-
-    e.preventDefault()
-  })
-
-}(window.jQuery);

+ 0 - 167
releases/latest/doc/assets/js/bootstrap-collapse.js

@@ -1,167 +0,0 @@
-/* =============================================================
- * bootstrap-collapse.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#collapse
- * =============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* COLLAPSE PUBLIC CLASS DEFINITION
-  * ================================ */
-
-  var Collapse = function (element, options) {
-    this.$element = $(element)
-    this.options = $.extend({}, $.fn.collapse.defaults, options)
-
-    if (this.options.parent) {
-      this.$parent = $(this.options.parent)
-    }
-
-    this.options.toggle && this.toggle()
-  }
-
-  Collapse.prototype = {
-
-    constructor: Collapse
-
-  , dimension: function () {
-      var hasWidth = this.$element.hasClass('width')
-      return hasWidth ? 'width' : 'height'
-    }
-
-  , show: function () {
-      var dimension
-        , scroll
-        , actives
-        , hasData
-
-      if (this.transitioning || this.$element.hasClass('in')) return
-
-      dimension = this.dimension()
-      scroll = $.camelCase(['scroll', dimension].join('-'))
-      actives = this.$parent && this.$parent.find('> .accordion-group > .in')
-
-      if (actives && actives.length) {
-        hasData = actives.data('collapse')
-        if (hasData && hasData.transitioning) return
-        actives.collapse('hide')
-        hasData || actives.data('collapse', null)
-      }
-
-      this.$element[dimension](0)
-      this.transition('addClass', $.Event('show'), 'shown')
-      $.support.transition && this.$element[dimension](this.$element[0][scroll])
-    }
-
-  , hide: function () {
-      var dimension
-      if (this.transitioning || !this.$element.hasClass('in')) return
-      dimension = this.dimension()
-      this.reset(this.$element[dimension]())
-      this.transition('removeClass', $.Event('hide'), 'hidden')
-      this.$element[dimension](0)
-    }
-
-  , reset: function (size) {
-      var dimension = this.dimension()
-
-      this.$element
-        .removeClass('collapse')
-        [dimension](size || 'auto')
-        [0].offsetWidth
-
-      this.$element[size !== null ? 'addClass' : 'removeClass']('collapse')
-
-      return this
-    }
-
-  , transition: function (method, startEvent, completeEvent) {
-      var that = this
-        , complete = function () {
-            if (startEvent.type == 'show') that.reset()
-            that.transitioning = 0
-            that.$element.trigger(completeEvent)
-          }
-
-      this.$element.trigger(startEvent)
-
-      if (startEvent.isDefaultPrevented()) return
-
-      this.transitioning = 1
-
-      this.$element[method]('in')
-
-      $.support.transition && this.$element.hasClass('collapse') ?
-        this.$element.one($.support.transition.end, complete) :
-        complete()
-    }
-
-  , toggle: function () {
-      this[this.$element.hasClass('in') ? 'hide' : 'show']()
-    }
-
-  }
-
-
- /* COLLAPSE PLUGIN DEFINITION
-  * ========================== */
-
-  var old = $.fn.collapse
-
-  $.fn.collapse = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('collapse')
-        , options = $.extend({}, $.fn.collapse.defaults, $this.data(), typeof option == 'object' && option)
-      if (!data) $this.data('collapse', (data = new Collapse(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.collapse.defaults = {
-    toggle: true
-  }
-
-  $.fn.collapse.Constructor = Collapse
-
-
- /* COLLAPSE NO CONFLICT
-  * ==================== */
-
-  $.fn.collapse.noConflict = function () {
-    $.fn.collapse = old
-    return this
-  }
-
-
- /* COLLAPSE DATA-API
-  * ================= */
-
-  $(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) {
-    var $this = $(this), href
-      , target = $this.attr('data-target')
-        || e.preventDefault()
-        || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
-      , option = $(target).data('collapse') ? 'toggle' : $this.data()
-    $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
-    $(target).collapse(option)
-  })
-
-}(window.jQuery);

+ 0 - 169
releases/latest/doc/assets/js/bootstrap-dropdown.js

@@ -1,169 +0,0 @@
-/* ============================================================
- * bootstrap-dropdown.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#dropdowns
- * ============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* DROPDOWN CLASS DEFINITION
-  * ========================= */
-
-  var toggle = '[data-toggle=dropdown]'
-    , Dropdown = function (element) {
-        var $el = $(element).on('click.dropdown.data-api', this.toggle)
-        $('html').on('click.dropdown.data-api', function () {
-          $el.parent().removeClass('open')
-        })
-      }
-
-  Dropdown.prototype = {
-
-    constructor: Dropdown
-
-  , toggle: function (e) {
-      var $this = $(this)
-        , $parent
-        , isActive
-
-      if ($this.is('.disabled, :disabled')) return
-
-      $parent = getParent($this)
-
-      isActive = $parent.hasClass('open')
-
-      clearMenus()
-
-      if (!isActive) {
-        if ('ontouchstart' in document.documentElement) {
-          // if mobile we we use a backdrop because click events don't delegate
-          $('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
-        }
-        $parent.toggleClass('open')
-      }
-
-      $this.focus()
-
-      return false
-    }
-
-  , keydown: function (e) {
-      var $this
-        , $items
-        , $active
-        , $parent
-        , isActive
-        , index
-
-      if (!/(38|40|27)/.test(e.keyCode)) return
-
-      $this = $(this)
-
-      e.preventDefault()
-      e.stopPropagation()
-
-      if ($this.is('.disabled, :disabled')) return
-
-      $parent = getParent($this)
-
-      isActive = $parent.hasClass('open')
-
-      if (!isActive || (isActive && e.keyCode == 27)) {
-        if (e.which == 27) $parent.find(toggle).focus()
-        return $this.click()
-      }
-
-      $items = $('[role=menu] li:not(.divider):visible a', $parent)
-
-      if (!$items.length) return
-
-      index = $items.index($items.filter(':focus'))
-
-      if (e.keyCode == 38 && index > 0) index--                                        // up
-      if (e.keyCode == 40 && index < $items.length - 1) index++                        // down
-      if (!~index) index = 0
-
-      $items
-        .eq(index)
-        .focus()
-    }
-
-  }
-
-  function clearMenus() {
-    $('.dropdown-backdrop').remove()
-    $(toggle).each(function () {
-      getParent($(this)).removeClass('open')
-    })
-  }
-
-  function getParent($this) {
-    var selector = $this.attr('data-target')
-      , $parent
-
-    if (!selector) {
-      selector = $this.attr('href')
-      selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
-    }
-
-    $parent = selector && $(selector)
-
-    if (!$parent || !$parent.length) $parent = $this.parent()
-
-    return $parent
-  }
-
-
-  /* DROPDOWN PLUGIN DEFINITION
-   * ========================== */
-
-  var old = $.fn.dropdown
-
-  $.fn.dropdown = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('dropdown')
-      if (!data) $this.data('dropdown', (data = new Dropdown(this)))
-      if (typeof option == 'string') data[option].call($this)
-    })
-  }
-
-  $.fn.dropdown.Constructor = Dropdown
-
-
- /* DROPDOWN NO CONFLICT
-  * ==================== */
-
-  $.fn.dropdown.noConflict = function () {
-    $.fn.dropdown = old
-    return this
-  }
-
-
-  /* APPLY TO STANDARD DROPDOWN ELEMENTS
-   * =================================== */
-
-  $(document)
-    .on('click.dropdown.data-api', clearMenus)
-    .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
-    .on('click.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
-    .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
-
-}(window.jQuery);

+ 0 - 247
releases/latest/doc/assets/js/bootstrap-modal.js

@@ -1,247 +0,0 @@
-/* =========================================================
- * bootstrap-modal.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#modals
- * =========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================= */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* MODAL CLASS DEFINITION
-  * ====================== */
-
-  var Modal = function (element, options) {
-    this.options = options
-    this.$element = $(element)
-      .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
-    this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
-  }
-
-  Modal.prototype = {
-
-      constructor: Modal
-
-    , toggle: function () {
-        return this[!this.isShown ? 'show' : 'hide']()
-      }
-
-    , show: function () {
-        var that = this
-          , e = $.Event('show')
-
-        this.$element.trigger(e)
-
-        if (this.isShown || e.isDefaultPrevented()) return
-
-        this.isShown = true
-
-        this.escape()
-
-        this.backdrop(function () {
-          var transition = $.support.transition && that.$element.hasClass('fade')
-
-          if (!that.$element.parent().length) {
-            that.$element.appendTo(document.body) //don't move modals dom position
-          }
-
-          that.$element.show()
-
-          if (transition) {
-            that.$element[0].offsetWidth // force reflow
-          }
-
-          that.$element
-            .addClass('in')
-            .attr('aria-hidden', false)
-
-          that.enforceFocus()
-
-          transition ?
-            that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) :
-            that.$element.focus().trigger('shown')
-
-        })
-      }
-
-    , hide: function (e) {
-        e && e.preventDefault()
-
-        var that = this
-
-        e = $.Event('hide')
-
-        this.$element.trigger(e)
-
-        if (!this.isShown || e.isDefaultPrevented()) return
-
-        this.isShown = false
-
-        this.escape()
-
-        $(document).off('focusin.modal')
-
-        this.$element
-          .removeClass('in')
-          .attr('aria-hidden', true)
-
-        $.support.transition && this.$element.hasClass('fade') ?
-          this.hideWithTransition() :
-          this.hideModal()
-      }
-
-    , enforceFocus: function () {
-        var that = this
-        $(document).on('focusin.modal', function (e) {
-          if (that.$element[0] !== e.target && !that.$element.has(e.target).length) {
-            that.$element.focus()
-          }
-        })
-      }
-
-    , escape: function () {
-        var that = this
-        if (this.isShown && this.options.keyboard) {
-          this.$element.on('keyup.dismiss.modal', function ( e ) {
-            e.which == 27 && that.hide()
-          })
-        } else if (!this.isShown) {
-          this.$element.off('keyup.dismiss.modal')
-        }
-      }
-
-    , hideWithTransition: function () {
-        var that = this
-          , timeout = setTimeout(function () {
-              that.$element.off($.support.transition.end)
-              that.hideModal()
-            }, 500)
-
-        this.$element.one($.support.transition.end, function () {
-          clearTimeout(timeout)
-          that.hideModal()
-        })
-      }
-
-    , hideModal: function () {
-        var that = this
-        this.$element.hide()
-        this.backdrop(function () {
-          that.removeBackdrop()
-          that.$element.trigger('hidden')
-        })
-      }
-
-    , removeBackdrop: function () {
-        this.$backdrop && this.$backdrop.remove()
-        this.$backdrop = null
-      }
-
-    , backdrop: function (callback) {
-        var that = this
-          , animate = this.$element.hasClass('fade') ? 'fade' : ''
-
-        if (this.isShown && this.options.backdrop) {
-          var doAnimate = $.support.transition && animate
-
-          this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
-            .appendTo(document.body)
-
-          this.$backdrop.click(
-            this.options.backdrop == 'static' ?
-              $.proxy(this.$element[0].focus, this.$element[0])
-            : $.proxy(this.hide, this)
-          )
-
-          if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
-
-          this.$backdrop.addClass('in')
-
-          if (!callback) return
-
-          doAnimate ?
-            this.$backdrop.one($.support.transition.end, callback) :
-            callback()
-
-        } else if (!this.isShown && this.$backdrop) {
-          this.$backdrop.removeClass('in')
-
-          $.support.transition && this.$element.hasClass('fade')?
-            this.$backdrop.one($.support.transition.end, callback) :
-            callback()
-
-        } else if (callback) {
-          callback()
-        }
-      }
-  }
-
-
- /* MODAL PLUGIN DEFINITION
-  * ======================= */
-
-  var old = $.fn.modal
-
-  $.fn.modal = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('modal')
-        , options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)
-      if (!data) $this.data('modal', (data = new Modal(this, options)))
-      if (typeof option == 'string') data[option]()
-      else if (options.show) data.show()
-    })
-  }
-
-  $.fn.modal.defaults = {
-      backdrop: true
-    , keyboard: true
-    , show: true
-  }
-
-  $.fn.modal.Constructor = Modal
-
-
- /* MODAL NO CONFLICT
-  * ================= */
-
-  $.fn.modal.noConflict = function () {
-    $.fn.modal = old
-    return this
-  }
-
-
- /* MODAL DATA-API
-  * ============== */
-
-  $(document).on('click.modal.data-api', '[data-toggle="modal"]', function (e) {
-    var $this = $(this)
-      , href = $this.attr('href')
-      , $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
-      , option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data())
-
-    e.preventDefault()
-
-    $target
-      .modal(option)
-      .one('hide', function () {
-        $this.focus()
-      })
-  })
-
-}(window.jQuery);

+ 0 - 114
releases/latest/doc/assets/js/bootstrap-popover.js

@@ -1,114 +0,0 @@
-/* ===========================================================
- * bootstrap-popover.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#popovers
- * ===========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * =========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* POPOVER PUBLIC CLASS DEFINITION
-  * =============================== */
-
-  var Popover = function (element, options) {
-    this.init('popover', element, options)
-  }
-
-
-  /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
-     ========================================== */
-
-  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
-
-    constructor: Popover
-
-  , setContent: function () {
-      var $tip = this.tip()
-        , title = this.getTitle()
-        , content = this.getContent()
-
-      $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
-      $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
-
-      $tip.removeClass('fade top bottom left right in')
-    }
-
-  , hasContent: function () {
-      return this.getTitle() || this.getContent()
-    }
-
-  , getContent: function () {
-      var content
-        , $e = this.$element
-        , o = this.options
-
-      content = (typeof o.content == 'function' ? o.content.call($e[0]) :  o.content)
-        || $e.attr('data-content')
-
-      return content
-    }
-
-  , tip: function () {
-      if (!this.$tip) {
-        this.$tip = $(this.options.template)
-      }
-      return this.$tip
-    }
-
-  , destroy: function () {
-      this.hide().$element.off('.' + this.type).removeData(this.type)
-    }
-
-  })
-
-
- /* POPOVER PLUGIN DEFINITION
-  * ======================= */
-
-  var old = $.fn.popover
-
-  $.fn.popover = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('popover')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('popover', (data = new Popover(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.popover.Constructor = Popover
-
-  $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
-    placement: 'right'
-  , trigger: 'click'
-  , content: ''
-  , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
-  })
-
-
- /* POPOVER NO CONFLICT
-  * =================== */
-
-  $.fn.popover.noConflict = function () {
-    $.fn.popover = old
-    return this
-  }
-
-}(window.jQuery);

+ 0 - 162
releases/latest/doc/assets/js/bootstrap-scrollspy.js

@@ -1,162 +0,0 @@
-/* =============================================================
- * bootstrap-scrollspy.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#scrollspy
- * =============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* SCROLLSPY CLASS DEFINITION
-  * ========================== */
-
-  function ScrollSpy(element, options) {
-    var process = $.proxy(this.process, this)
-      , $element = $(element).is('body') ? $(window) : $(element)
-      , href
-    this.options = $.extend({}, $.fn.scrollspy.defaults, options)
-    this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)
-    this.selector = (this.options.target
-      || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
-      || '') + ' .nav li > a'
-    this.$body = $('body')
-    this.refresh()
-    this.process()
-  }
-
-  ScrollSpy.prototype = {
-
-      constructor: ScrollSpy
-
-    , refresh: function () {
-        var self = this
-          , $targets
-
-        this.offsets = $([])
-        this.targets = $([])
-
-        $targets = this.$body
-          .find(this.selector)
-          .map(function () {
-            var $el = $(this)
-              , href = $el.data('target') || $el.attr('href')
-              , $href = /^#\w/.test(href) && $(href)
-            return ( $href
-              && $href.length
-              && [[ $href.position().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]] ) || null
-          })
-          .sort(function (a, b) { return a[0] - b[0] })
-          .each(function () {
-            self.offsets.push(this[0])
-            self.targets.push(this[1])
-          })
-      }
-
-    , process: function () {
-        var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
-          , scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
-          , maxScroll = scrollHeight - this.$scrollElement.height()
-          , offsets = this.offsets
-          , targets = this.targets
-          , activeTarget = this.activeTarget
-          , i
-
-        if (scrollTop >= maxScroll) {
-          return activeTarget != (i = targets.last()[0])
-            && this.activate ( i )
-        }
-
-        for (i = offsets.length; i--;) {
-          activeTarget != targets[i]
-            && scrollTop >= offsets[i]
-            && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
-            && this.activate( targets[i] )
-        }
-      }
-
-    , activate: function (target) {
-        var active
-          , selector
-
-        this.activeTarget = target
-
-        $(this.selector)
-          .parent('.active')
-          .removeClass('active')
-
-        selector = this.selector
-          + '[data-target="' + target + '"],'
-          + this.selector + '[href="' + target + '"]'
-
-        active = $(selector)
-          .parent('li')
-          .addClass('active')
-
-        if (active.parent('.dropdown-menu').length)  {
-          active = active.closest('li.dropdown').addClass('active')
-        }
-
-        active.trigger('activate')
-      }
-
-  }
-
-
- /* SCROLLSPY PLUGIN DEFINITION
-  * =========================== */
-
-  var old = $.fn.scrollspy
-
-  $.fn.scrollspy = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('scrollspy')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.scrollspy.Constructor = ScrollSpy
-
-  $.fn.scrollspy.defaults = {
-    offset: 10
-  }
-
-
- /* SCROLLSPY NO CONFLICT
-  * ===================== */
-
-  $.fn.scrollspy.noConflict = function () {
-    $.fn.scrollspy = old
-    return this
-  }
-
-
- /* SCROLLSPY DATA-API
-  * ================== */
-
-  $(window).on('load', function () {
-    $('[data-spy="scroll"]').each(function () {
-      var $spy = $(this)
-      $spy.scrollspy($spy.data())
-    })
-  })
-
-}(window.jQuery);

+ 0 - 144
releases/latest/doc/assets/js/bootstrap-tab.js

@@ -1,144 +0,0 @@
-/* ========================================================
- * bootstrap-tab.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#tabs
- * ========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ======================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* TAB CLASS DEFINITION
-  * ==================== */
-
-  var Tab = function (element) {
-    this.element = $(element)
-  }
-
-  Tab.prototype = {
-
-    constructor: Tab
-
-  , show: function () {
-      var $this = this.element
-        , $ul = $this.closest('ul:not(.dropdown-menu)')
-        , selector = $this.attr('data-target')
-        , previous
-        , $target
-        , e
-
-      if (!selector) {
-        selector = $this.attr('href')
-        selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
-      }
-
-      if ( $this.parent('li').hasClass('active') ) return
-
-      previous = $ul.find('.active:last a')[0]
-
-      e = $.Event('show', {
-        relatedTarget: previous
-      })
-
-      $this.trigger(e)
-
-      if (e.isDefaultPrevented()) return
-
-      $target = $(selector)
-
-      this.activate($this.parent('li'), $ul)
-      this.activate($target, $target.parent(), function () {
-        $this.trigger({
-          type: 'shown'
-        , relatedTarget: previous
-        })
-      })
-    }
-
-  , activate: function ( element, container, callback) {
-      var $active = container.find('> .active')
-        , transition = callback
-            && $.support.transition
-            && $active.hasClass('fade')
-
-      function next() {
-        $active
-          .removeClass('active')
-          .find('> .dropdown-menu > .active')
-          .removeClass('active')
-
-        element.addClass('active')
-
-        if (transition) {
-          element[0].offsetWidth // reflow for transition
-          element.addClass('in')
-        } else {
-          element.removeClass('fade')
-        }
-
-        if ( element.parent('.dropdown-menu') ) {
-          element.closest('li.dropdown').addClass('active')
-        }
-
-        callback && callback()
-      }
-
-      transition ?
-        $active.one($.support.transition.end, next) :
-        next()
-
-      $active.removeClass('in')
-    }
-  }
-
-
- /* TAB PLUGIN DEFINITION
-  * ===================== */
-
-  var old = $.fn.tab
-
-  $.fn.tab = function ( option ) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('tab')
-      if (!data) $this.data('tab', (data = new Tab(this)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.tab.Constructor = Tab
-
-
- /* TAB NO CONFLICT
-  * =============== */
-
-  $.fn.tab.noConflict = function () {
-    $.fn.tab = old
-    return this
-  }
-
-
- /* TAB DATA-API
-  * ============ */
-
-  $(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
-    e.preventDefault()
-    $(this).tab('show')
-  })
-
-}(window.jQuery);

+ 0 - 361
releases/latest/doc/assets/js/bootstrap-tooltip.js

@@ -1,361 +0,0 @@
-/* ===========================================================
- * bootstrap-tooltip.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#tooltips
- * Inspired by the original jQuery.tipsy by Jason Frame
- * ===========================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
- /* TOOLTIP PUBLIC CLASS DEFINITION
-  * =============================== */
-
-  var Tooltip = function (element, options) {
-    this.init('tooltip', element, options)
-  }
-
-  Tooltip.prototype = {
-
-    constructor: Tooltip
-
-  , init: function (type, element, options) {
-      var eventIn
-        , eventOut
-        , triggers
-        , trigger
-        , i
-
-      this.type = type
-      this.$element = $(element)
-      this.options = this.getOptions(options)
-      this.enabled = true
-
-      triggers = this.options.trigger.split(' ')
-
-      for (i = triggers.length; i--;) {
-        trigger = triggers[i]
-        if (trigger == 'click') {
-          this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
-        } else if (trigger != 'manual') {
-          eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
-          eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
-          this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
-          this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
-        }
-      }
-
-      this.options.selector ?
-        (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
-        this.fixTitle()
-    }
-
-  , getOptions: function (options) {
-      options = $.extend({}, $.fn[this.type].defaults, this.$element.data(), options)
-
-      if (options.delay && typeof options.delay == 'number') {
-        options.delay = {
-          show: options.delay
-        , hide: options.delay
-        }
-      }
-
-      return options
-    }
-
-  , enter: function (e) {
-      var defaults = $.fn[this.type].defaults
-        , options = {}
-        , self
-
-      this._options && $.each(this._options, function (key, value) {
-        if (defaults[key] != value) options[key] = value
-      }, this)
-
-      self = $(e.currentTarget)[this.type](options).data(this.type)
-
-      if (!self.options.delay || !self.options.delay.show) return self.show()
-
-      clearTimeout(this.timeout)
-      self.hoverState = 'in'
-      this.timeout = setTimeout(function() {
-        if (self.hoverState == 'in') self.show()
-      }, self.options.delay.show)
-    }
-
-  , leave: function (e) {
-      var self = $(e.currentTarget)[this.type](this._options).data(this.type)
-
-      if (this.timeout) clearTimeout(this.timeout)
-      if (!self.options.delay || !self.options.delay.hide) return self.hide()
-
-      self.hoverState = 'out'
-      this.timeout = setTimeout(function() {
-        if (self.hoverState == 'out') self.hide()
-      }, self.options.delay.hide)
-    }
-
-  , show: function () {
-      var $tip
-        , pos
-        , actualWidth
-        , actualHeight
-        , placement
-        , tp
-        , e = $.Event('show')
-
-      if (this.hasContent() && this.enabled) {
-        this.$element.trigger(e)
-        if (e.isDefaultPrevented()) return
-        $tip = this.tip()
-        this.setContent()
-
-        if (this.options.animation) {
-          $tip.addClass('fade')
-        }
-
-        placement = typeof this.options.placement == 'function' ?
-          this.options.placement.call(this, $tip[0], this.$element[0]) :
-          this.options.placement
-
-        $tip
-          .detach()
-          .css({ top: 0, left: 0, display: 'block' })
-
-        this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
-
-        pos = this.getPosition()
-
-        actualWidth = $tip[0].offsetWidth
-        actualHeight = $tip[0].offsetHeight
-
-        switch (placement) {
-          case 'bottom':
-            tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2}
-            break
-          case 'top':
-            tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2}
-            break
-          case 'left':
-            tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth}
-            break
-          case 'right':
-            tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width}
-            break
-        }
-
-        this.applyPlacement(tp, placement)
-        this.$element.trigger('shown')
-      }
-    }
-
-  , applyPlacement: function(offset, placement){
-      var $tip = this.tip()
-        , width = $tip[0].offsetWidth
-        , height = $tip[0].offsetHeight
-        , actualWidth
-        , actualHeight
-        , delta
-        , replace
-
-      $tip
-        .offset(offset)
-        .addClass(placement)
-        .addClass('in')
-
-      actualWidth = $tip[0].offsetWidth
-      actualHeight = $tip[0].offsetHeight
-
-      if (placement == 'top' && actualHeight != height) {
-        offset.top = offset.top + height - actualHeight
-        replace = true
-      }
-
-      if (placement == 'bottom' || placement == 'top') {
-        delta = 0
-
-        if (offset.left < 0){
-          delta = offset.left * -2
-          offset.left = 0
-          $tip.offset(offset)
-          actualWidth = $tip[0].offsetWidth
-          actualHeight = $tip[0].offsetHeight
-        }
-
-        this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
-      } else {
-        this.replaceArrow(actualHeight - height, actualHeight, 'top')
-      }
-
-      if (replace) $tip.offset(offset)
-    }
-
-  , replaceArrow: function(delta, dimension, position){
-      this
-        .arrow()
-        .css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
-    }
-
-  , setContent: function () {
-      var $tip = this.tip()
-        , title = this.getTitle()
-
-      $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
-      $tip.removeClass('fade in top bottom left right')
-    }
-
-  , hide: function () {
-      var that = this
-        , $tip = this.tip()
-        , e = $.Event('hide')
-
-      this.$element.trigger(e)
-      if (e.isDefaultPrevented()) return
-
-      $tip.removeClass('in')
-
-      function removeWithAnimation() {
-        var timeout = setTimeout(function () {
-          $tip.off($.support.transition.end).detach()
-        }, 500)
-
-        $tip.one($.support.transition.end, function () {
-          clearTimeout(timeout)
-          $tip.detach()
-        })
-      }
-
-      $.support.transition && this.$tip.hasClass('fade') ?
-        removeWithAnimation() :
-        $tip.detach()
-
-      this.$element.trigger('hidden')
-
-      return this
-    }
-
-  , fixTitle: function () {
-      var $e = this.$element
-      if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
-        $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
-      }
-    }
-
-  , hasContent: function () {
-      return this.getTitle()
-    }
-
-  , getPosition: function () {
-      var el = this.$element[0]
-      return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
-        width: el.offsetWidth
-      , height: el.offsetHeight
-      }, this.$element.offset())
-    }
-
-  , getTitle: function () {
-      var title
-        , $e = this.$element
-        , o = this.options
-
-      title = $e.attr('data-original-title')
-        || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)
-
-      return title
-    }
-
-  , tip: function () {
-      return this.$tip = this.$tip || $(this.options.template)
-    }
-
-  , arrow: function(){
-      return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
-    }
-
-  , validate: function () {
-      if (!this.$element[0].parentNode) {
-        this.hide()
-        this.$element = null
-        this.options = null
-      }
-    }
-
-  , enable: function () {
-      this.enabled = true
-    }
-
-  , disable: function () {
-      this.enabled = false
-    }
-
-  , toggleEnabled: function () {
-      this.enabled = !this.enabled
-    }
-
-  , toggle: function (e) {
-      var self = e ? $(e.currentTarget)[this.type](this._options).data(this.type) : this
-      self.tip().hasClass('in') ? self.hide() : self.show()
-    }
-
-  , destroy: function () {
-      this.hide().$element.off('.' + this.type).removeData(this.type)
-    }
-
-  }
-
-
- /* TOOLTIP PLUGIN DEFINITION
-  * ========================= */
-
-  var old = $.fn.tooltip
-
-  $.fn.tooltip = function ( option ) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('tooltip')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.tooltip.Constructor = Tooltip
-
-  $.fn.tooltip.defaults = {
-    animation: true
-  , placement: 'top'
-  , selector: false
-  , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
-  , trigger: 'hover focus'
-  , title: ''
-  , delay: 0
-  , html: false
-  , container: false
-  }
-
-
- /* TOOLTIP NO CONFLICT
-  * =================== */
-
-  $.fn.tooltip.noConflict = function () {
-    $.fn.tooltip = old
-    return this
-  }
-
-}(window.jQuery);

+ 0 - 60
releases/latest/doc/assets/js/bootstrap-transition.js

@@ -1,60 +0,0 @@
-/* ===================================================
- * bootstrap-transition.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#transitions
- * ===================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================================================== */
-
-
-!function ($) {
-
-  "use strict"; // jshint ;_;
-
-
-  /* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
-   * ======================================================= */
-
-  $(function () {
-
-    $.support.transition = (function () {
-
-      var transitionEnd = (function () {
-
-        var el = document.createElement('bootstrap')
-          , transEndEventNames = {
-               'WebkitTransition' : 'webkitTransitionEnd'
-            ,  'MozTransition'    : 'transitionend'
-            ,  'OTransition'      : 'oTransitionEnd otransitionend'
-            ,  'transition'       : 'transitionend'
-            }
-          , name
-
-        for (name in transEndEventNames){
-          if (el.style[name] !== undefined) {
-            return transEndEventNames[name]
-          }
-        }
-
-      }())
-
-      return transitionEnd && {
-        end: transitionEnd
-      }
-
-    })()
-
-  })
-
-}(window.jQuery);

+ 0 - 335
releases/latest/doc/assets/js/bootstrap-typeahead.js

@@ -1,335 +0,0 @@
-/* =============================================================
- * bootstrap-typeahead.js v2.3.2
- * http://twitter.github.com/bootstrap/javascript.html#typeahead
- * =============================================================
- * Copyright 2012 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============================================================ */
-
-
-!function($){
-
-  "use strict"; // jshint ;_;
-
-
- /* TYPEAHEAD PUBLIC CLASS DEFINITION
-  * ================================= */
-
-  var Typeahead = function (element, options) {
-    this.$element = $(element)
-    this.options = $.extend({}, $.fn.typeahead.defaults, options)
-    this.matcher = this.options.matcher || this.matcher
-    this.sorter = this.options.sorter || this.sorter
-    this.highlighter = this.options.highlighter || this.highlighter
-    this.updater = this.options.updater || this.updater
-    this.source = this.options.source
-    this.$menu = $(this.options.menu)
-    this.shown = false
-    this.listen()
-  }
-
-  Typeahead.prototype = {
-
-    constructor: Typeahead
-
-  , select: function () {
-      var val = this.$menu.find('.active').attr('data-value')
-      this.$element
-        .val(this.updater(val))
-        .change()
-      return this.hide()
-    }
-
-  , updater: function (item) {
-      return item
-    }
-
-  , show: function () {
-      var pos = $.extend({}, this.$element.position(), {
-        height: this.$element[0].offsetHeight
-      })
-
-      this.$menu
-        .insertAfter(this.$element)
-        .css({
-          top: pos.top + pos.height
-        , left: pos.left
-        })
-        .show()
-
-      this.shown = true
-      return this
-    }
-
-  , hide: function () {
-      this.$menu.hide()
-      this.shown = false
-      return this
-    }
-
-  , lookup: function (event) {
-      var items
-
-      this.query = this.$element.val()
-
-      if (!this.query || this.query.length < this.options.minLength) {
-        return this.shown ? this.hide() : this
-      }
-
-      items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source
-
-      return items ? this.process(items) : this
-    }
-
-  , process: function (items) {
-      var that = this
-
-      items = $.grep(items, function (item) {
-        return that.matcher(item)
-      })
-
-      items = this.sorter(items)
-
-      if (!items.length) {
-        return this.shown ? this.hide() : this
-      }
-
-      return this.render(items.slice(0, this.options.items)).show()
-    }
-
-  , matcher: function (item) {
-      return ~item.toLowerCase().indexOf(this.query.toLowerCase())
-    }
-
-  , sorter: function (items) {
-      var beginswith = []
-        , caseSensitive = []
-        , caseInsensitive = []
-        , item
-
-      while (item = items.shift()) {
-        if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
-        else if (~item.indexOf(this.query)) caseSensitive.push(item)
-        else caseInsensitive.push(item)
-      }
-
-      return beginswith.concat(caseSensitive, caseInsensitive)
-    }
-
-  , highlighter: function (item) {
-      var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&')
-      return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
-        return '<strong>' + match + '</strong>'
-      })
-    }
-
-  , render: function (items) {
-      var that = this
-
-      items = $(items).map(function (i, item) {
-        i = $(that.options.item).attr('data-value', item)
-        i.find('a').html(that.highlighter(item))
-        return i[0]
-      })
-
-      items.first().addClass('active')
-      this.$menu.html(items)
-      return this
-    }
-
-  , next: function (event) {
-      var active = this.$menu.find('.active').removeClass('active')
-        , next = active.next()
-
-      if (!next.length) {
-        next = $(this.$menu.find('li')[0])
-      }
-
-      next.addClass('active')
-    }
-
-  , prev: function (event) {
-      var active = this.$menu.find('.active').removeClass('active')
-        , prev = active.prev()
-
-      if (!prev.length) {
-        prev = this.$menu.find('li').last()
-      }
-
-      prev.addClass('active')
-    }
-
-  , listen: function () {
-      this.$element
-        .on('focus',    $.proxy(this.focus, this))
-        .on('blur',     $.proxy(this.blur, this))
-        .on('keypress', $.proxy(this.keypress, this))
-        .on('keyup',    $.proxy(this.keyup, this))
-
-      if (this.eventSupported('keydown')) {
-        this.$element.on('keydown', $.proxy(this.keydown, this))
-      }
-
-      this.$menu
-        .on('click', $.proxy(this.click, this))
-        .on('mouseenter', 'li', $.proxy(this.mouseenter, this))
-        .on('mouseleave', 'li', $.proxy(this.mouseleave, this))
-    }
-
-  , eventSupported: function(eventName) {
-      var isSupported = eventName in this.$element
-      if (!isSupported) {
-        this.$element.setAttribute(eventName, 'return;')
-        isSupported = typeof this.$element[eventName] === 'function'
-      }
-      return isSupported
-    }
-
-  , move: function (e) {
-      if (!this.shown) return
-
-      switch(e.keyCode) {
-        case 9: // tab
-        case 13: // enter
-        case 27: // escape
-          e.preventDefault()
-          break
-
-        case 38: // up arrow
-          e.preventDefault()
-          this.prev()
-          break
-
-        case 40: // down arrow
-          e.preventDefault()
-          this.next()
-          break
-      }
-
-      e.stopPropagation()
-    }
-
-  , keydown: function (e) {
-      this.suppressKeyPressRepeat = ~$.inArray(e.keyCode, [40,38,9,13,27])
-      this.move(e)
-    }
-
-  , keypress: function (e) {
-      if (this.suppressKeyPressRepeat) return
-      this.move(e)
-    }
-
-  , keyup: function (e) {
-      switch(e.keyCode) {
-        case 40: // down arrow
-        case 38: // up arrow
-        case 16: // shift
-        case 17: // ctrl
-        case 18: // alt
-          break
-
-        case 9: // tab
-        case 13: // enter
-          if (!this.shown) return
-          this.select()
-          break
-
-        case 27: // escape
-          if (!this.shown) return
-          this.hide()
-          break
-
-        default:
-          this.lookup()
-      }
-
-      e.stopPropagation()
-      e.preventDefault()
-  }
-
-  , focus: function (e) {
-      this.focused = true
-    }
-
-  , blur: function (e) {
-      this.focused = false
-      if (!this.mousedover && this.shown) this.hide()
-    }
-
-  , click: function (e) {
-      e.stopPropagation()
-      e.preventDefault()
-      this.select()
-      this.$element.focus()
-    }
-
-  , mouseenter: function (e) {
-      this.mousedover = true
-      this.$menu.find('.active').removeClass('active')
-      $(e.currentTarget).addClass('active')
-    }
-
-  , mouseleave: function (e) {
-      this.mousedover = false
-      if (!this.focused && this.shown) this.hide()
-    }
-
-  }
-
-
-  /* TYPEAHEAD PLUGIN DEFINITION
-   * =========================== */
-
-  var old = $.fn.typeahead
-
-  $.fn.typeahead = function (option) {
-    return this.each(function () {
-      var $this = $(this)
-        , data = $this.data('typeahead')
-        , options = typeof option == 'object' && option
-      if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
-      if (typeof option == 'string') data[option]()
-    })
-  }
-
-  $.fn.typeahead.defaults = {
-    source: []
-  , items: 8
-  , menu: '<ul class="typeahead dropdown-menu"></ul>'
-  , item: '<li><a href="#"></a></li>'
-  , minLength: 1
-  }
-
-  $.fn.typeahead.Constructor = Typeahead
-
-
- /* TYPEAHEAD NO CONFLICT
-  * =================== */
-
-  $.fn.typeahead.noConflict = function () {
-    $.fn.typeahead = old
-    return this
-  }
-
-
- /* TYPEAHEAD DATA-API
-  * ================== */
-
-  $(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
-    var $this = $(this)
-    if ($this.data('typeahead')) return
-    $this.typeahead($this.data())
-  })
-
-}(window.jQuery);

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 2280
releases/latest/doc/assets/js/bootstrap.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 6
releases/latest/doc/assets/js/bootstrap.min.js


+ 0 - 30
releases/latest/doc/assets/js/google-code-prettify/prettify.css

@@ -1,30 +0,0 @@
-.com { color: #93a1a1; }
-.lit { color: #195f91; }
-.pun, .opn, .clo { color: #93a1a1; }
-.fun { color: #dc322f; }
-.str, .atv { color: #D14; }
-.kwd, .prettyprint .tag { color: #1e347b; }
-.typ, .atn, .dec, .var { color: teal; }
-.pln { color: #48484c; }
-
-.prettyprint {
-  padding: 8px;
-  background-color: #f7f7f9;
-  border: 1px solid #e1e1e8;
-}
-.prettyprint.linenums {
-  -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-     -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-          box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-}
-
-/* Specify class=linenums on a pre to get line numbering */
-ol.linenums {
-  margin: 0 0 0 33px; /* IE indents via margin-left */
-}
-ol.linenums li {
-  padding-left: 12px;
-  color: #bebec5;
-  line-height: 20px;
-  text-shadow: 0 1px 0 #fff;
-}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 28
releases/latest/doc/assets/js/google-code-prettify/prettify.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 401
releases/latest/doc/assets/js/holder/holder.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 8
releases/latest/doc/assets/js/html5shiv.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 5
releases/latest/doc/assets/js/jquery.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1766
releases/latest/doc/home.html


+ 0 - 35
releases/latest/doc/index.html

@@ -1,35 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
-
-    Metrix++, Copyright 2009-2013, Metrix++ Project
-    Link: http://metrixplusplus.sourceforge.net
-    
-    This file is part of Metrix++ Tool.
-    
-    Metrix++ is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, version 3 of the License.
-    
-    Metrix++ is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="cache-control" content="max-age=0" />
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="expires" content="0" />
-<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" />
-<meta http-equiv="REFRESH" content="0;url=./home.html">
-<title>Metrix++ Index Page</title>
-</head>
-<body>
-</body>
-</html>

+ 0 - 35
releases/latest/doc/project.html

@@ -1,35 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
-
-    Metrix++, Copyright 2009-2013, Metrix++ Project
-    Link: http://metrixplusplus.sourceforge.net
-    
-    This file is part of Metrix++ Tool.
-    
-    Metrix++ is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, version 3 of the License.
-    
-    Metrix++ is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-    GNU General Public License for more details.
-    
-    You should have received a copy of the GNU General Public License
-    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="cache-control" content="max-age=0" />
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="expires" content="0" />
-<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" />
-<meta http-equiv="REFRESH" content="0;url=./home.html">
-<title>Metrix++ Index Page</title>
-</head>
-<body>
-</body>
-</html>

+ 0 - 0
releases/latest/ext/std/__init__.py


+ 0 - 18
releases/latest/ext/std/code/__init__.py

@@ -1,18 +0,0 @@
-#
-#    Metrix++, Copyright 2009-2013, Metrix++ Project
-#    Link: http://metrixplusplus.sourceforge.net
-#    
-#    This file is a part of Metrix++ Tool.
-#    
-#    Metrix++ is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#    
-#    Metrix++ is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#    
-#    You should have received a copy of the GNU General Public License
-#    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-#

+ 0 - 27
releases/latest/ext/std/code/complexity.ini

@@ -1,27 +0,0 @@
-;
-;    Metrix++, Copyright 2009-2013, Metrix++ Project
-;    Link: http://metrixplusplus.sourceforge.net
-;    
-;    This file is a part of Metrix++ Tool.
-;    
-;    Metrix++ is free software: you can redistribute it and/or modify
-;    it under the terms of the GNU General Public License as published by
-;    the Free Software Foundation, version 3 of the License.
-;    
-;    Metrix++ is distributed in the hope that it will be useful,
-;    but WITHOUT ANY WARRANTY; without even the implied warranty of
-;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;    GNU General Public License for more details.
-;    
-;    You should have received a copy of the GNU General Public License
-;    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-;
-
-[Plugin]
-version: 1.1
-package: std.code
-module:  complexity
-class:   Plugin
-depends: None
-actions: collect
-enabled: True

+ 0 - 92
releases/latest/ext/std/code/complexity.py

@@ -1,92 +0,0 @@
-#
-#    Metrix++, Copyright 2009-2013, Metrix++ Project
-#    Link: http://metrixplusplus.sourceforge.net
-#    
-#    This file is a part of Metrix++ Tool.
-#    
-#    Metrix++ is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#    
-#    Metrix++ is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#    
-#    You should have received a copy of the GNU General Public License
-#    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-import mpp.api
-
-import re
-
-class Plugin(mpp.api.Plugin, mpp.api.MetricPluginMixin, mpp.api.Child, mpp.api.IConfigurable):
-    
-    def declare_configuration(self, parser):
-        parser.add_option("--std.code.complexity.cyclomatic", "--sccc", action="store_true", default=False,
-                         help="Enables collection of cyclomatic complexity metric (McCabe) [default: %default]")
-        parser.add_option("--std.code.complexity.maxindent", "--sccmi", action="store_true", default=False,
-                         help="Enables collection of maximum indent level metric [default: %default]")
-    
-    def configure(self, options):
-        self.is_active_cyclomatic = options.__dict__['std.code.complexity.cyclomatic']
-        self.is_active_maxindent = options.__dict__['std.code.complexity.maxindent']
-        
-    # cyclomatic complexity pattern
-    # - C/C++
-    pattern_cpp = re.compile(r'''([^0-9A-Za-z_]((if)|(case)|(for)|(while)|(catch))[^0-9A-Za-z_])|[&][&]|[|][|]|[?]''')
-    # - C#
-    #   supports Null-coalescing '??' and conditional '?:'
-    pattern_cs = re.compile(r'''([^0-9A-Za-z_]((if)|(case)|(for)|(foreach)|(while)|(catch))[^0-9A-Za-z_])|[&][&]|[|][|]|[?][?]?''')
-    # - Java
-    pattern_java = re.compile(r'''([^0-9A-Za-z_]((if)|(case)|(for)|(while)|(catch))[^0-9A-Za-z_])|[&][&]|[|][|]|[?]''')
-
-    pattern_indent = re.compile(r'''[}{]''')
-
-    def initialize(self):
-        self.declare_metric(self.is_active_cyclomatic,
-                            self.Field('cyclomatic', int),
-                            {
-                                'std.code.cpp': self.pattern_cpp,
-                                'std.code.cs': self.pattern_cs,
-                                'std.code.java': self.pattern_java
-                            },
-                            marker_type_mask=mpp.api.Marker.T.CODE,
-                            region_type_mask=mpp.api.Region.T.FUNCTION)
-        self.declare_metric(self.is_active_maxindent,
-                            self.Field('maxindent', int),
-                            {
-                                'std.code.cpp': (self.pattern_indent, self.MaxIndentCounter),
-                                'std.code.cs': (self.pattern_indent, self.MaxIndentCounter),
-                                'std.code.java': (self.pattern_indent, self.MaxIndentCounter),
-                            },
-                            marker_type_mask=mpp.api.Marker.T.CODE,
-                            region_type_mask=mpp.api.Region.T.FUNCTION)
-        
-        super(Plugin, self).initialize(fields=self.get_fields())
-        
-        if self.is_active() == True:
-            self.subscribe_by_parents_names([
-                'std.code.cpp',
-                'std.code.cs',
-                'std.code.java'
-            ])
-
-    class MaxIndentCounter(mpp.api.MetricPluginMixin.IterAssignCounter):
-        
-        def __init__(self, plugin, alias, data, region):
-            super(Plugin.MaxIndentCounter, self).__init__(plugin, alias, data, region)
-            self.current_level = 0
-            
-        def assign(self, match):
-            result = self.result
-            if match.group(0) == '{':
-                self.current_level += 1
-                if self.current_level > self.result:
-                    result = self.current_level
-            elif match.group(0) == '}':
-                self.current_level -= 1
-            else:
-                assert False
-            return result

+ 0 - 27
releases/latest/ext/std/code/cpp.ini

@@ -1,27 +0,0 @@
-;
-;    Metrix++, Copyright 2009-2013, Metrix++ Project
-;    Link: http://metrixplusplus.sourceforge.net
-;    
-;    This file is a part of Metrix++ Tool.
-;    
-;    Metrix++ is free software: you can redistribute it and/or modify
-;    it under the terms of the GNU General Public License as published by
-;    the Free Software Foundation, version 3 of the License.
-;    
-;    Metrix++ is distributed in the hope that it will be useful,
-;    but WITHOUT ANY WARRANTY; without even the implied warranty of
-;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;    GNU General Public License for more details.
-;    
-;    You should have received a copy of the GNU General Public License
-;    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-;
-
-[Plugin]
-version: 1.1
-package: std.code
-module:  cpp
-class:   Plugin
-depends: None
-actions: collect
-enabled: True

+ 0 - 315
releases/latest/ext/std/code/cpp.py

@@ -1,315 +0,0 @@
-#
-#    Metrix++, Copyright 2009-2013, Metrix++ Project
-#    Link: http://metrixplusplus.sourceforge.net
-#    
-#    This file is a part of Metrix++ Tool.
-#    
-#    Metrix++ is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#    
-#    Metrix++ is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#    
-#    You should have received a copy of the GNU General Public License
-#    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-
-import re
-import binascii
-
-import mpp.api
-import mpp.cout
-
-class Plugin(mpp.api.Plugin, mpp.api.Parent, mpp.api.IParser, mpp.api.IConfigurable, mpp.api.ICode):
-    
-    def declare_configuration(self, parser):
-        parser.add_option("--std.code.cpp.files", default="*.c,*.h,*.cpp,*.hpp,*.cc,*.hh,*.cxx,*.hxx",
-                         help="Enumerates filename extensions to match C/C++ files [default: %default]")
-    
-    def configure(self, options):
-        self.files = options.__dict__['std.code.cpp.files'].split(',')
-        self.files.sort() # sorted list goes to properties
-        
-    def initialize(self):
-        mpp.api.Plugin.initialize(self, properties=[
-            self.Property('files', ','.join(self.files))
-        ])
-        self.get_plugin('std.tools.collect').register_parser(self.files, self)
-        
-    def process(self, parent, data, is_updated):
-        is_updated = is_updated or self.is_updated
-        count_mismatched_brackets = 0
-        if is_updated == True:
-            count_mismatched_brackets = CppCodeParser().run(data)
-        #else:
-        #    data.load_regions()
-            #data.load_markers()
-        self.notify_children(data, is_updated)
-        # TODO: if not updated number of parser errors is zero, should read from the prev database
-        # but reading of number of errors from the database will slow the process
-        # maybe it is better to return zero always?
-        return count_mismatched_brackets
-            
-class CppCodeParser(object):
-    
-    regex_cpp = re.compile(r'''
-                   /([\\](?:\n|\r\n|\r))*/(?=\n|\r\n|\r)              # Match C++ style comments (empty comment line)
-                |  /([\\](?:\n|\r\n|\r))*/.*?[^\\](?=\n|\r\n|\r)      # Match C++ style comments
-                                                                      # NOTE: end of line is NOT consumed
-                                                                      # NOTE: ([\\](?:\n|\r\n|\r))* for new line separators,
-                                                                      # Need to support new line separators in expense of efficiency?
-                | /\*\*/                                              # Match C style comments (empty comment line)
-                | /([\\](?:\n|\r\n|\r))*\*.*?\*([\\](?:\n|\r\n|\r))*/ # Match C style comments
-                | \'(?:\\.|[^\\\'])*\'                                # Match quoted strings
-                | "(?:\\.|[^\\"])*"                                   # Match double quoted strings
-                | (((?<=\n|\r)|^)[ \t]*[#].*?[^\\](?=\n|\r\n|\r))     # Match preprocessor
-                                                                      # NOTE: end of line is NOT consumed
-                                                                      # NOTE: beginning of line is NOT consumed
-                | (?P<fn_name>
-                      (operator(                                      # Match C++ operator ...
-                         (\s+[_a-zA-Z][_a-zA-Z0-9]*(\s*\[\s*\])?)     # - cast, new and delete operators
-                       | (\s*\[\s*\])                                 # - operator []
-                       | (\s*\(\s*\))                                 # - operator ()
-                       | (\s*[+-\\*/=<>!%&^|~,?.]{1,3})               # - other operators (from 1 to 3 symbols)
-                      ))                                               
-                    | ([~]?[_a-zA-Z][_a-zA-Z0-9]*)                    # ... or function or constructor
-                  )\s*[(]                                             # LIMITATION: if there are comments after function name
-                                                                      # and before '(', it is not detected
-                                                                      # LIMITATION: if there are comments within operator definition,
-                                                                      # if may be not detected
-                | ((?P<block_type>class|struct|namespace)             # Match C++ class or struct
-                    (?P<block_name>((\s+[a-zA-Z_][a-zA-Z0-9_]*)|(?=\s*[{])))) # noname is supported, symbol '{' is not consumed
-                                                                      # LIMITATION: if there are comments between keyword and name,
-                                                                      # it is not detected
-                | [<>{};:]                                            # Match block start/end, brackets and statement separator
-                | ((?:\n|\r\n|\r)\s*(?:\n|\r\n|\r))                   # Match double empty line
-            ''',
-            re.DOTALL | re.MULTILINE | re.VERBOSE
-        )
-    
-    # \r\n goes before \r in order to consume right number of lines on Unix for Windows files
-    regex_ln = re.compile(r'(\n)|(\r\n)|(\r)')
-
-    def run(self, data):
-        self.__init__() # Go to initial state if it is called twice
-        return self.parse(data)
-        
-    def finalize_block(self, text, block, block_end):
-        if block['type'] != '__global__':
-            # do not trim spaces for __global__region
-            space_match = re.match('^\s*', text[block['start']:block_end], re.MULTILINE)
-            block['start'] += space_match.end() # trim spaces at the beginning
-        block['end'] = block_end
-
-        start_pos = block['start']
-        crc32 = 0
-        for child in block['children']:
-            # exclude children
-            crc32 = binascii.crc32(text[start_pos:child['start']], crc32)
-            start_pos = child['end']
-        block['checksum'] = binascii.crc32(text[start_pos:block['end']], crc32) & 0xffffffff # to match python 3
-        
-    def add_lines_data(self, text, blocks):
-        def add_lines_data_rec(self, text, blocks):
-            for each in blocks:
-                # add line begin
-                self.total_current += len(self.regex_ln.findall(text, self.total_last_pos, each['start']))
-                each['line_begin'] = self.total_current
-                self.total_last_pos = each['start']
-                # process enclosed
-                add_lines_data_rec(self, text, each['children'])
-                # add line end
-                self.total_current += len(self.regex_ln.findall(text, self.total_last_pos, each['end']))
-                each['line_end'] = self.total_current
-                self.total_last_pos = each['end']
-        self.total_last_pos = 0
-        self.total_current = 1
-        add_lines_data_rec(self, text, blocks)
-
-    def add_regions(self, data, blocks):
-        # Note: data.add_region() internals depend on special ordering of regions
-        # in order to identify enclosed regions efficiently
-        def add_regions_rec(self, data, blocks):
-            def get_type_id(data, named_type):
-                if named_type == "function":
-                    return mpp.api.Region.T.FUNCTION
-                elif named_type == "class":
-                    return mpp.api.Region.T.CLASS
-                elif named_type == "struct":
-                    return mpp.api.Region.T.STRUCT
-                elif named_type == "namespace":
-                    return mpp.api.Region.T.NAMESPACE
-                elif named_type == "__global__":
-                    return mpp.api.Region.T.GLOBAL
-                else:
-                    assert(False)
-            for each in blocks:
-                data.add_region(each['name'], each['start'], each['end'],
-                                each['line_begin'], each['line_end'], each['cursor'],
-                                get_type_id(data, each['type']), each['checksum'])
-                add_regions_rec(self, data, each['children'])
-        add_regions_rec(self, data, blocks)
-        
-    def parse(self, data):
-        
-        def reset_next_block(start):
-            return {'name':'', 'start':start, 'cursor':0, 'type':'', 'confirmed':False}
-        
-        count_mismatched_brackets = 0
-        
-        text = data.get_content()
-        indent_current = 0;
-        
-        blocks = [{'name':'__global__', 'start':0, 'cursor':0, 'type':'__global__', 'indent_start':indent_current, 'children':[]}]
-        curblk = 0
-        
-        next_block = reset_next_block(0)
-        
-        cursor_last_pos = 0
-        cursor_current = 1
-        
-        for m in re.finditer(self.regex_cpp, text):
-            # Comment
-            if text[m.start()] == '/':
-                data.add_marker(m.start(), m.end(), mpp.api.Marker.T.COMMENT)
-            
-            # String
-            elif text[m.start()] == '"' or text[m.start()] == '\'':
-                data.add_marker(m.start() + 1, m.end() - 1, mpp.api.Marker.T.STRING)
-            
-            # Preprocessor (including internal comments)
-            elif text[m.start()] == ' ' or text[m.start()] == '\t' or text[m.start()] == '#':
-                data.add_marker(m.start(), m.end(), mpp.api.Marker.T.PREPROCESSOR)
-
-            # Statement end
-            elif text[m.start()] == ';':
-                # Reset next block name and start
-                next_block['name'] = ""
-                next_block['start'] = m.end() # potential region start
-
-            # Template argument closing bracket
-            elif text[m.start()] == '>':
-                # Reset next block name (in order to skip class names in templates), if has not been confirmed before
-                if next_block['confirmed'] == False and (next_block['type'] == 'class' or next_block['type'] == 'struct'):
-                    next_block['name'] = ""
-                    
-            # Template argument opening bracket or after class inheritance specification
-            elif text[m.start()] == ':' or text[m.start()] == '<':
-                # .. if goes after calss definition
-                if next_block['type'] == 'class' or next_block['type'] == 'struct':
-                    next_block['confirmed'] = True
-
-            # Double end line
-            elif text[m.start()] == '\n' or text[m.start()] == '\r':
-                # Reset next block start, if has not been named yet
-                if next_block['name'] == "":
-                    next_block['start'] = m.end() # potential region start
-
-            # Block start...
-            elif text[m.start()] == '{':
-                # shift indent right
-                indent_current += 1
-                
-                # ... if name detected previously
-                if next_block['name'] != '': # - Start of enclosed block
-                    blocks.append({'name':next_block['name'],
-                                   'start':next_block['start'],
-                                   'cursor':next_block['cursor'],
-                                   'type':next_block['type'],
-                                   'indent_start':indent_current,
-                                   'children':[]})
-                    next_block = reset_next_block(m.end())
-                    curblk += 1
-                # ... reset next block start, otherwise
-                else: # - unknown type of block start
-                    next_block['start'] = m.end() # potential region start
-            
-            # Block end...
-            elif text[m.start()] == '}':
-                # ... if indent level matches the start
-                if blocks[curblk]['indent_start'] == indent_current:
-                    next_block = reset_next_block(m.end())
-                    if curblk == 0:
-                        mpp.cout.notify(data.get_path(),
-                                         cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, m.start())),
-                                         mpp.cout.SEVERITY_WARNING,
-                                         "Non-matching closing bracket '}' detected.")
-                        count_mismatched_brackets += 1
-                        continue
-                    
-                    self.finalize_block(text, blocks[curblk], m.end())
-                    assert(blocks[curblk]['type'] != '__global__')
-                    
-                    curblk -= 1
-                    assert(curblk >= 0)
-                    blocks[curblk]['children'].append(blocks.pop())
-
-                # shift indent left
-                indent_current -= 1
-                if indent_current < 0:
-                    mpp.cout.notify(data.get_path(),
-                                     cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, m.start())),
-                                     mpp.cout.SEVERITY_WARNING,
-                                     "Non-matching closing bracket '}' detected.")
-                    count_mismatched_brackets += 1
-                    indent_current = 0
-
-            # Potential namespace, struct, class
-            elif m.group('block_type') != None:
-                if next_block['name'] == "":
-                    # - 'name'
-                    next_block['name'] = m.group('block_name').strip()
-                    if next_block['name'] == "":
-                        next_block['name'] = '__noname__'
-                    # - 'cursor'
-                    cursor_current += len(self.regex_ln.findall(text, cursor_last_pos, m.start('block_name')))
-                    cursor_last_pos = m.start('block_name')
-                    next_block['cursor'] = cursor_current
-                    # - 'type'
-                    next_block['type'] = m.group('block_type').strip()
-                    # - 'start' detected earlier
-
-            # Potential function name detected...
-            elif m.group('fn_name') != None:
-                # ... if outside of a function (do not detect enclosed functions, unless classes are matched)
-                # wander why 'or next_block['type'] != 'function'' is in the condition?
-                # - remove it, run the tests and will see
-                if blocks[curblk]['type'] != 'function' and (next_block['name'] == "" or next_block['type'] != 'function'):
-                    # - 'name'
-                    next_block['name'] = m.group('fn_name').strip()
-                    # - 'cursor'
-                    cursor_current += len(self.regex_ln.findall(text, cursor_last_pos, m.start('fn_name')))
-                    cursor_last_pos = m.start('fn_name')
-                    # NOTE: cursor could be collected together with line_begin, line_end,
-                    # but we keep it here separately for easier debugging of file parsing problems
-                    next_block['cursor'] = cursor_current
-                    # - 'type'
-                    next_block['type'] = 'function'
-                    # - 'start' detected earlier
-            else:
-                assert(len("Unknown match by regular expression") == 0)
-
-        while indent_current > 0:
-            # log all
-            mpp.cout.notify(data.get_path(),
-                             cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, len(text))),
-                             mpp.cout.SEVERITY_WARNING,
-                             "Non-matching opening bracket '{' detected.")
-            count_mismatched_brackets += 1
-            indent_current -= 1
-
-        for (ind, each) in enumerate(blocks):
-            each = each # used
-            block = blocks[len(blocks) - 1 - ind]
-            self.finalize_block(text, block, len(text))
-
-        self.add_lines_data(text, blocks)
-        self.add_regions(data, blocks)
-        
-        return count_mismatched_brackets
-
-            

+ 0 - 27
releases/latest/ext/std/code/cs.ini

@@ -1,27 +0,0 @@
-;
-;    Metrix++, Copyright 2009-2013, Metrix++ Project
-;    Link: http://metrixplusplus.sourceforge.net
-;    
-;    This file is a part of Metrix++ Tool.
-;    
-;    Metrix++ is free software: you can redistribute it and/or modify
-;    it under the terms of the GNU General Public License as published by
-;    the Free Software Foundation, version 3 of the License.
-;    
-;    Metrix++ is distributed in the hope that it will be useful,
-;    but WITHOUT ANY WARRANTY; without even the implied warranty of
-;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;    GNU General Public License for more details.
-;    
-;    You should have received a copy of the GNU General Public License
-;    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-;
-
-[Plugin]
-version: 1.0
-package: std.code
-module:  cs
-class:   Plugin
-depends: None
-actions: collect
-enabled: True

+ 0 - 324
releases/latest/ext/std/code/cs.py

@@ -1,324 +0,0 @@
-#
-#    Metrix++, Copyright 2009-2013, Metrix++ Project
-#    Link: http://metrixplusplus.sourceforge.net
-#    
-#    This file is a part of Metrix++ Tool.
-#    
-#    Metrix++ is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, version 3 of the License.
-#    
-#    Metrix++ is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#    GNU General Public License for more details.
-#    
-#    You should have received a copy of the GNU General Public License
-#    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-
-import re
-import binascii
-
-import mpp.api
-import mpp.cout
-
-class Plugin(mpp.api.Plugin, mpp.api.Parent, mpp.api.IParser, mpp.api.IConfigurable, mpp.api.ICode):
-    
-    def declare_configuration(self, parser):
-        parser.add_option("--std.code.cs.files", default="*.cs",
-                         help="Enumerates filename extensions to match C# files [default: %default]")
-    
-    def configure(self, options):
-        self.files = options.__dict__['std.code.cs.files'].split(',')
-        self.files.sort() # sorted list goes to properties
-        
-    def initialize(self):
-        mpp.api.Plugin.initialize(self, properties=[
-            self.Property('files', ','.join(self.files))
-        ])
-        self.get_plugin('std.tools.collect').register_parser(self.files, self)
-        
-    def process(self, parent, data, is_updated):
-        is_updated = is_updated or self.is_updated
-        count_mismatched_brackets = 0
-        if is_updated == True:
-            count_mismatched_brackets = CsCodeParser().run(data)
-        self.notify_children(data, is_updated)
-        return count_mismatched_brackets
-            
-class CsCodeParser(object):
-    
-    regex_cpp = re.compile(r'''
-                   //(?=\n|\r\n|\r)                                   # Match C# style comments (empty comment line)
-                |  //.*?(?=\n|\r\n|\r)                                # Match C# style comments
-                                                                      # NOTE: end of line is NOT consumed
-                                                                      # NOTE: it is slightly different in C++
-                | /\*\*/                                              # Match C style comments (empty comment line)
-                                                                      # NOTE: it is slightly different in C++
-                | /\*.*?\*/                                           # Match C style comments
-                                                                      # NOTE: it is slightly different in C++
-                | \'(?:\\.|[^\\\'])*\'                                # Match quoted strings
-                | "(?:\\.|[^\\"])*"                                   # Match double quoted strings
-                | (((?<=\n|\r)|^)[ \t]*[#].*?(?=\n|\r\n|\r))          # Match preprocessor
-                                                                      # NOTE: end of line is NOT consumed
-                                                                      # NOTE: beginning of line is NOT consumed
-                                                                      # NOTE: C# does not support backslashing as C++ does
-                | (?P<fn_name>
-                      (operator(                                      # Match C# operator ...
-                         (\s+[_a-zA-Z][_a-zA-Z0-9]*(\s*\[\s*\])?)     # - cast, true, false operators
-                       | (\s*\[\s*\])                                 # - operator []
-                       | (\s*\(\s*\))                                 # - operator ()
-                       | (\s*[+-\\*/=<>!%&^|~,?.]{1,3})               # - other operators (from 1 to 3 symbols)
-                                                                      #   NOTE: maybe dot and ? should not be in the list...
-                      ))                                               
-                    | (([~]\s*)?[_a-zA-Z][_a-zA-Z0-9]*
-                       ([.][a-zA-Z_][a-zA-Z0-9_]*)*)                  # ... or function or constructor
-                                                                      # NOTE: C# destructor can have spaces in name after ~
-                                                                      # NOTE: explicit interface implementation method has got a dot
-                    | (?P<prop_setget>get|set)                        # ... or property setter/getter
-                  )\s*(?(prop_setget)(?=[{])|[(<])
-                                                                      # LIMITATION: if there are comments after function name
-                                                                      # and before '(', it is not detected
-                                                                      # LIMITATION: if there are comments within operator definition,
-                                                                      # if may be not detected
-                                                                      # LIMITATION: if there are comments after set|get keyword,
-                                                                      # if may be not detected
-                | ((?P<block_type>class|struct|namespace|interface)   # Match class or struct or interface or namespace
-                    (?P<block_name>(\s+[a-zA-Z_][a-zA-Z0-9_]*)([.][a-zA-Z_][a-zA-Z0-9_]*)*))
-                                                                      # NOTE: noname instances are impossible in C#
-                                                                      # NOTE: names can have sub-names separated by dots
-                                                                      # LIMITATION: if there are comments between keyword and name,
-                                                                      # it is not detected
-                | [\[\]{};]                                               # Match block start/end and statement separator
-                                                                      # NOTE: C++ parser includes processing of <> and : 
-                                                                      #       to handle template definitions, it is easier in C#
-                | ((?:\n|\r\n|\r)\s*(?:\n|\r\n|\r))                   # Match double empty line
-            ''',
-            re.DOTALL | re.MULTILINE | re.VERBOSE
-        )
-
-    # \r\n goes before \r in order to consume right number of lines on Unix for Windows files
-    regex_ln = re.compile(r'(\n)|(\r\n)|(\r)')
-
-    def run(self, data):
-        self.__init__() # Go to initial state if it is called twice
-        return self.parse(data)
-        
-    def finalize_block(self, text, block, block_end):
-        if block['type'] != '__global__':
-            # do not trim spaces for __global__region
-            space_match = re.match('^\s*', text[block['start']:block_end], re.MULTILINE)
-            block['start'] += space_match.end() # trim spaces at the beginning
-        block['end'] = block_end
-
-        start_pos = block['start']
-        crc32 = 0
-        for child in block['children']:
-            # exclude children
-            crc32 = binascii.crc32(text[start_pos:child['start']], crc32)
-            start_pos = child['end']
-        block['checksum'] = binascii.crc32(text[start_pos:block['end']], crc32) & 0xffffffff # to match python 3
-        
-    def add_lines_data(self, text, blocks):
-        def add_lines_data_rec(self, text, blocks):
-            for each in blocks:
-                # add line begin
-                self.total_current += len(self.regex_ln.findall(text, self.total_last_pos, each['start']))
-                each['line_begin'] = self.total_current
-                self.total_last_pos = each['start']
-                # process enclosed
-                add_lines_data_rec(self, text, each['children'])
-                # add line end
-                self.total_current += len(self.regex_ln.findall(text, self.total_last_pos, each['end']))
-                each['line_end'] = self.total_current
-                self.total_last_pos = each['end']
-        self.total_last_pos = 0
-        self.total_current = 1
-        add_lines_data_rec(self, text, blocks)
-
-    def add_regions(self, data, blocks):
-        # Note: data.add_region() internals depend on special ordering of regions
-        # in order to identify enclosed regions efficiently
-        def add_regions_rec(self, data, blocks):
-            def get_type_id(data, named_type):
-                if named_type == "function":
-                    return mpp.api.Region.T.FUNCTION
-                elif named_type == "class":
-                    return mpp.api.Region.T.CLASS
-                elif named_type == "struct":
-                    return mpp.api.Region.T.STRUCT
-                elif named_type == "namespace":
-                    return mpp.api.Region.T.NAMESPACE
-                elif named_type == "interface":
-                    return mpp.api.Region.T.INTERFACE
-                elif named_type == "__global__":
-                    return mpp.api.Region.T.GLOBAL
-                else:
-                    assert(False)
-            for each in blocks:
-                data.add_region(each['name'], each['start'], each['end'],
-                                each['line_begin'], each['line_end'], each['cursor'],
-                                get_type_id(data, each['type']), each['checksum'])
-                add_regions_rec(self, data, each['children'])
-        add_regions_rec(self, data, blocks)
-        
-    def parse(self, data):
-        
-        def reset_next_block(start):
-            return {'name':'', 'start':start, 'cursor':0, 'type':'', 'inside_attribute':False}
-        
-        count_mismatched_brackets = 0
-        
-        text = data.get_content()
-        indent_current = 0;
-        
-        blocks = [{'name':'__global__', 'start':0, 'cursor':0, 'type':'__global__', 'indent_start':indent_current, 'children':[]}]
-        curblk = 0
-        
-        next_block = reset_next_block(0)
-        
-        cursor_last_pos = 0
-        cursor_current = 1
-        
-        for m in re.finditer(self.regex_cpp, text):
-            # Comment
-            if text[m.start()] == '/':
-                data.add_marker(m.start(), m.end(), mpp.api.Marker.T.COMMENT)
-            
-            # String
-            elif text[m.start()] == '"' or text[m.start()] == '\'':
-                data.add_marker(m.start() + 1, m.end() - 1, mpp.api.Marker.T.STRING)
-            
-            # Preprocessor (including internal comments)
-            elif text[m.start()] == ' ' or text[m.start()] == '\t' or text[m.start()] == '#':
-                data.add_marker(m.start(), m.end(), mpp.api.Marker.T.PREPROCESSOR)
-
-            # Statement end
-            elif text[m.start()] == ';':
-                # Reset next block name and start
-                next_block['name'] = ""
-                next_block['start'] = m.end() # potential region start
-
-            # Block openned by '[' bracket...
-            elif text[m.start()] == '[':
-                # ... may include attributes, so do not capture function names inside
-                next_block['inside_attribute'] = True
-
-            # Block closed by ']' bracket...
-            # note: do not care about nesting for simplicity -
-            #       because attribute's statement can not have symbol ']' inside 
-            elif text[m.start()] == ']':
-                # ... may include attributes, so do not capture function names inside
-                next_block['inside_attribute'] = False
-
-            # Double end line
-            elif text[m.start()] == '\n' or text[m.start()] == '\r':
-                # Reset next block start, if has not been named yet
-                if next_block['name'] == "":
-                    next_block['start'] = m.end() # potential region start
-
-            # Block start...
-            elif text[m.start()] == '{':
-                # shift indent right
-                indent_current += 1
-                
-                # ... if name detected previously
-                if next_block['name'] != '': # - Start of enclosed block
-                    blocks.append({'name':next_block['name'],
-                                   'start':next_block['start'],
-                                   'cursor':next_block['cursor'],
-                                   'type':next_block['type'],
-                                   'indent_start':indent_current,
-                                   'children':[]})
-                    next_block = reset_next_block(m.end())
-                    curblk += 1
-                # ... reset next block start, otherwise
-                else: # - unknown type of block start
-                    next_block['start'] = m.end() # potential region start
-            
-            # Block end...
-            elif text[m.start()] == '}':
-                # ... if indent level matches the start
-                if blocks[curblk]['indent_start'] == indent_current:
-                    next_block = reset_next_block(m.end())
-                    if curblk == 0:
-                        mpp.cout.notify(data.get_path(),
-                                         cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, m.start())),
-                                         mpp.cout.SEVERITY_WARNING,
-                                         "Non-matching closing bracket '}' detected.")
-                        count_mismatched_brackets += 1
-                        continue
-                    
-                    self.finalize_block(text, blocks[curblk], m.end())
-                    assert(blocks[curblk]['type'] != '__global__')
-                    
-                    curblk -= 1
-                    assert(curblk >= 0)
-                    blocks[curblk]['children'].append(blocks.pop())
-
-                # shift indent left
-                indent_current -= 1
-                if indent_current < 0:
-                    mpp.cout.notify(data.get_path(),
-                                     cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, m.start())),
-                                     mpp.cout.SEVERITY_WARNING,
-                                     "Non-matching closing bracket '}' detected.")
-                    count_mismatched_brackets += 1
-                    indent_current = 0
-
-            # Potential namespace, struct, class, interface
-            elif m.group('block_type') != None:
-                if next_block['name'] == "":
-                    # - 'name'
-                    next_block['name'] = m.group('block_name').strip()
-                    # - 'cursor'
-                    cursor_current += len(self.regex_ln.findall(text, cursor_last_pos, m.start('block_name')))
-                    cursor_last_pos = m.start('block_name')
-                    next_block['cursor'] = cursor_current
-                    # - 'type'
-                    next_block['type'] = m.group('block_type').strip()
-                    # - 'start' detected earlier
-
-            # Potential function name detected...
-            elif m.group('fn_name') != None:
-                # ... if outside of a function
-                #     (do not detect functions enclosed directly in a function, i.e. without classes)
-                # ... and other name before has not been matched 
-                if blocks[curblk]['type'] != 'function' and (next_block['name'] == "") \
-                       and next_block['inside_attribute'] == False:
-                    # - 'name'
-                    next_block['name'] = m.group('fn_name').strip()
-                    # - 'cursor'
-                    cursor_current += len(self.regex_ln.findall(text, cursor_last_pos, m.start('fn_name')))
-                    cursor_last_pos = m.start('fn_name')
-                    # NOTE: cursor could be collected together with line_begin, line_end,
-                    # but we keep it here separately for easier debugging of file parsing problems
-                    next_block['cursor'] = cursor_current
-                    # - 'type'
-                    next_block['type'] = 'function'
-                    # - 'start' detected earlier
-            else:
-                assert(len("Unknown match by regular expression") == 0)
-
-        while indent_current > 0:
-            # log all
-            mpp.cout.notify(data.get_path(),
-                             cursor_current + len(self.regex_ln.findall(text, cursor_last_pos, len(text))),
-                             mpp.cout.SEVERITY_WARNING,
-                             "Non-matching opening bracket '{' detected.")
-            count_mismatched_brackets += 1
-            indent_current -= 1
-
-        for (ind, each) in enumerate(blocks):
-            each = each # used
-            block = blocks[len(blocks) - 1 - ind]
-            self.finalize_block(text, block, len(text))
-
-        self.add_lines_data(text, blocks)
-        self.add_regions(data, blocks)
-        
-        return count_mismatched_brackets
-
-            

+ 0 - 27
releases/latest/ext/std/code/java.ini

@@ -1,27 +0,0 @@
-;
-;    Metrix++, Copyright 2009-2013, Metrix++ Project
-;    Link: http://metrixplusplus.sourceforge.net
-;    
-;    This file is a part of Metrix++ Tool.
-;    
-;    Metrix++ is free software: you can redistribute it and/or modify
-;    it under the terms of the GNU General Public License as published by
-;    the Free Software Foundation, version 3 of the License.
-;    
-;    Metrix++ is distributed in the hope that it will be useful,
-;    but WITHOUT ANY WARRANTY; without even the implied warranty of
-;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;    GNU General Public License for more details.
-;    
-;    You should have received a copy of the GNU General Public License
-;    along with Metrix++.  If not, see <http://www.gnu.org/licenses/>.
-;
-
-[Plugin]
-version: 1.1
-package: std.code
-module:  java
-class:   Plugin
-depends: None
-actions: collect
-enabled: True

+ 0 - 0
releases/latest/ext/std/code/java.py


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott